8a1f2c65f9
Tighten the types for _normalize_token; include werkzeug wrappers.
2018-01-15 18:39:40 -08:00
ec4b5b014b
Oops, fix missing return statement.
...
That would cause problems.
2018-01-13 16:14:01 -08:00
57f007d595
Don't use from etiquette import
.
2018-01-13 16:12:52 -08:00
d84fc037fe
Use urandom instead of uuid for session id.
2018-01-13 15:49:14 -08:00
c049b97bc6
Replace etiquette_flask.py with endpoints package.
...
Split the object types' endpoints into separate files and group
them better. Should be much easier to navigate and expand.
2018-01-11 19:40:56 -08:00
fe88cdc413
Add decorator catch_etiquette_exception.
...
To reduce the number of 500 errors and provide 400 instead.
2018-01-09 21:21:15 -08:00
3d8aeec484
Add API endpoints for add/remove photo from album.
2017-12-16 14:19:00 -08:00
f59f94cae9
Fix required_fields looking at wrong jsonify file.
2017-12-16 12:25:01 -08:00
0d0354f4da
Rename normalize_filepath to remove_path_badchars.
...
Because the function does not do any resolving or converting
to an absolute path, I feel the name 'normalize' is inaccurate
and could be misleading when read. This is more clear.
2017-12-07 21:15:10 -08:00
bb5fa816d8
Cleanup: Rename GroupableMixin.add to add_child for clarity.
...
Especially since for albums it might sound like you're adding a photo.
2017-11-11 22:41:26 -08:00
3f69a2c240
Cleanup: Replace "objectid" with "object_id" in the Python portions.
2017-11-11 22:38:51 -08:00
4836efcf23
HTTP redirect /tag/synonym to /tag/master.
2017-09-18 14:16:33 -07:00
f4ee7ddd9e
Include werkzeug Response type in typecheck.
2017-09-18 14:10:25 -07:00
4fc203634c
Add new config "enable_login".
2017-07-20 23:25:23 -07:00
9f45f0851a
Allow renaming the tag via /tag/x/edit.
2017-07-16 17:28:44 -07:00
22c0163f5b
Add /bookmark/id/edit and /bookmark/id.json endpoints.
2017-07-13 23:02:57 -07:00
533970f248
Add more stuff to the to-do list.
2017-07-09 15:48:47 -07:00
a2906db06a
Let /refresh_metadata try to generate a thumbnail.
2017-07-09 15:45:10 -07:00
57355cb032
Add /userid/id redirect to /user/name
2017-06-19 17:03:07 -07:00
e58c50c94f
Return 400 instead of 500 for /albums/create_album errors.
2017-06-16 02:24:57 -07:00
1b9f7608b1
Send more jsonified exceptions instead of just 500.
2017-06-14 22:48:50 -07:00
d208a254a9
Add /tag/abcd/edit endpoint, no interface yet.
2017-06-14 12:31:39 -07:00
fa176fdfb8
Redirect /tags/abcde to /tag/abcde
2017-06-14 12:31:17 -07:00
6cb13c7835
Order endpoints by URL instead of by name.
...
That way, gets and posts of same type can be together.
2017-06-12 20:59:01 -07:00
8a0bbbcc56
Add /bookmarks/create_bookmark endpoint. No interface yet.
2017-06-12 20:15:02 -07:00
821a5f3371
Move export functions to their own module.
2017-06-11 22:55:45 -07:00
1ad83937b4
Add 'Create Album' endpoint and interface.
2017-05-13 16:13:26 -07:00
a4a278c173
Give Tags a description field.
2017-05-12 17:31:17 -07:00
f8a78c6ee7
Minor cosmetics
2017-05-06 17:04:42 -07:00
1c30ef5785
Further separate front & back; Create frontends folder
...
New frontends folder will hold all front-end interfaces for etiquette. Existing flask site moved here and refers to itself as a package with external launcher. etiquette_site renamed to etiquette_flask
2017-05-01 21:49:28 -07:00