Commit graph

22 commits

Author SHA1 Message Date
ce30077013 First attempt at online permissions. 2023-02-04 13:49:42 -08:00
e78a667ee3 Move the session into requests.session for universal access. 2023-02-01 22:04:44 -08:00
de2bf6a81a
Move login code over to User object. 2022-11-06 22:59:12 -08:00
1e5fc81019
Rename endpoint function logout -> post_logout. 2022-10-01 14:24:36 -07:00
0e00a1e981
Use new worms version. 2022-07-20 19:03:25 -07:00
779eff1761
Don't show the registration form if registration is disabled. 2021-10-24 22:17:50 -07:00
91cf08efde
Match renamed flasktools.json_response. 2021-10-01 23:05:46 -07:00
d4025e865b
Move cached_endpoint, required_fields to flasktools. 2021-09-03 12:45:07 -07:00
82a6103d8d
Fix leftover imports. 2021-06-08 16:04:20 -07:00
f003f55fca
Move make_json_response to voussoirkit.flasktools. 2021-06-04 21:49:45 -07:00
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
ca74e2e1d4 Use request.path instead of url for endswith conditions.
Because of the query string
2021-01-07 23:04:10 -08:00
e303b934f7 Add UI for editing user's display name. 2021-01-01 19:46:31 -08:00
8ecf594945 Move jsonify methods into the objects instead of separate file. 2021-01-01 17:02:01 -08:00
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
838982b6c3 Let login take username.
This cuts back on unnecessary sql selects.
2020-09-17 21:02:55 -07:00
42d4b7fafb Add give_token, catch_etiquette_exception to all endpoints at once. 2020-09-12 11:43:25 -07:00
4a193d228c Add commit=True to frontend where necessary. 2020-02-20 00:34:28 -08:00
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
7ecfeca96c Allow setting display name during registration. 2019-08-26 14:32:51 -07:00
d7307a6c44 Centralize flask.render_template calls to simplify common args. 2019-08-14 13:40:52 -07:00
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
Renamed from frontends/etiquette_flask/etiquette_flask/endpoints/user_endpoints.py (Browse further)