voussoir
779eff1761
Don't show the registration form if registration is disabled.
2021-10-24 22:17:50 -07:00
voussoir
91cf08efde
Match renamed flasktools.json_response.
2021-10-01 23:05:46 -07:00
voussoir
d4025e865b
Move cached_endpoint, required_fields to flasktools.
2021-09-03 12:45:07 -07:00
voussoir
82a6103d8d
Fix leftover imports.
2021-06-08 16:04:20 -07:00
voussoir
f003f55fca
Move make_json_response to voussoirkit.flasktools.
2021-06-04 21:49:45 -07:00
voussoir
d4f5a196b9
Add Unauthorized exception.
...
This should start to see more use as I continue to build up the user
profile features.
2021-01-09 15:42:51 -08:00
voussoir
ca74e2e1d4
Use request.path instead of url for endswith conditions.
...
Because of the query string
2021-01-07 23:04:10 -08:00
voussoir
e303b934f7
Add UI for editing user's display name.
2021-01-01 19:46:31 -08:00
voussoir
8ecf594945
Move jsonify methods into the objects instead of separate file.
2021-01-01 17:02:01 -08:00
voussoir
adb1d0ef39
Replace all double blank lines with single, improve hash headers.
...
There was always some semblance that two blank lines has some kind of
meaning or structure that's different from single blank lines, but
in reality it was mostly arbitrary and I can't stand to look at it
any more.
2020-09-19 03:13:23 -07:00
voussoir
838982b6c3
Let login take username.
...
This cuts back on unnecessary sql selects.
2020-09-17 21:02:55 -07:00
voussoir
42d4b7fafb
Add give_token, catch_etiquette_exception to all endpoints at once.
2020-09-12 11:43:25 -07:00
voussoir
4a193d228c
Add commit=True to frontend where necessary.
2020-02-20 00:34:28 -08:00
voussoir
854fa4db51
Rename PDB.register_user -> new_user.
...
I was treating User a little bit special here, but I prefer to
have the more consistent terminology.
2020-02-20 00:18:40 -08:00
voussoir
7ecfeca96c
Allow setting display name during registration.
2019-08-26 14:32:51 -07:00
voussoir
d7307a6c44
Centralize flask.render_template calls to simplify common args.
2019-08-14 13:40:52 -07:00
voussoir
6e312bd287
Rename the etiquette_flask backend package to backend.
...
Alright, I got tired of confusing myself with the same-named
outer and inner package.
Keep in mind that every frontend implementation is supposed to be
its own independent project where etiquette is nothing but a
dependency. So the name backend is not ambiguous with the etiquette
backend.
2018-11-04 19:45:23 -08:00