Commit Graph

11 Commits (76523db2b653d8a0ac2e8efdbada33ca3b4e7742)

Author SHA1 Message Date
voussoir 76523db2b6 checkpoint 2017-01-06 18:08:22 -08:00
voussoir a305350f5f Fix handling of unicode filename downloads
Add photo attribute dot_extension

Fix bug using unnormalized offset in calculations
2016-12-24 18:34:34 -08:00
voussoir 0d0431edff Centralize and unify search parameter normalization
Create searchhelpers.py which normalize incoming search parameters.

Add argument give_back_parameters so we can more effectively return the normalized parameters to the user to learn from their mistakes.

Create objects.WarningBag and stop using the warnings module with the unclear warning-catcher.

Fix handling of photos without extensions (still needs improvement).

Adopt use of pathclass.Path in more places and keep thumbnail paths relative so that the entire _etiquette dir can be moved and still work right away.

Probably some other things
2016-12-24 17:13:45 -08:00
voussoir 564518f4d8 Add early author search; Load Photo.mimetype on instantiation 2016-12-23 19:49:51 -08:00
voussoir 69443d7a8c general cleanup; move binding_filler helper 2016-12-20 21:33:14 -08:00
voussoir af40f24dd8 Include album info as txt in zip; fix normalize_filepath bugs 2016-12-20 19:53:06 -08:00
voussoir e992b76db0 Prevent recursive grouping of albums/tags
How did I not catch this before
2016-12-20 18:31:09 -08:00
voussoir d5bc65c8f2 Allow templates to get objects instead of json 2016-12-20 16:33:40 -08:00
voussoir 232f8231e0 Add author column to photos 2016-12-20 14:54:23 -08:00
voussoir f53b089b79 Clean up some long lines 2016-12-20 14:23:05 -08:00
voussoir 91fcbb7101 Create objects.py
Move Album, Photo, Tag, User to objects.py; Move SQL_COLUMNS variables to constants.py so they can be shared; Move more shared helpers to helpers.py
2016-12-16 20:02:08 -08:00