Commit graph

1538 commits

Author SHA1 Message Date
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
564518f4d8 Add early author search; Load Photo.mimetype on instantiation 2016-12-23 19:49:51 -08:00
5038d92b93 Make login page javascript-based instead of html form (sorry) 2016-12-21 01:11:50 -08:00
36acf79bbe Move specific functions out of common.js 2016-12-20 21:53:59 -08:00
69443d7a8c general cleanup; move binding_filler helper 2016-12-20 21:33:14 -08:00
af40f24dd8 Include album info as txt in zip; fix normalize_filepath bugs 2016-12-20 19:53:06 -08:00
e992b76db0 Prevent recursive grouping of albums/tags
How did I not catch this before
2016-12-20 18:31:09 -08:00
b5294431aa Greatly improve zip endpoint with python-zipstream 2016-12-20 17:44:22 -08:00
d5bc65c8f2 Allow templates to get objects instead of json 2016-12-20 16:33:40 -08:00
232f8231e0 Add author column to photos 2016-12-20 14:54:23 -08:00
f53b089b79 Clean up some long lines 2016-12-20 14:23:05 -08:00
c843f444e7 very early session and registration support 2016-12-18 05:12:14 -08:00
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
0160af57dd Fix bugs from moving variables 2016-12-16 19:08:34 -08:00
a1894edcca Create json-based config system, move out of constants.py
datadir\config.json will be created automatically with the default values.
2016-12-16 18:53:12 -08:00
a47cdaaf04 misc cleanup 2016-12-16 17:59:43 -08:00
1c7b736b1a Add early support for user accounts 2016-12-16 15:45:46 -08:00
785cf9f687 add some tailing newlines 2016-12-16 03:27:39 -08:00
d704b960cc database moved into datadir. filename no longer an option. 2016-12-16 01:53:51 -08:00
6a96bc4ada remove trailing comma for kw-only args until 3.6 2016-12-16 01:37:15 -08:00
7e9c78bb19 Convert many arguments to keyword-only 2016-12-14 15:10:24 -08:00
693fce0d34 add binding_filler to simplify some inserts 2016-12-14 14:36:58 -08:00
1e7aff5cfd Display album description 2016-12-14 13:26:42 -08:00
1ecd1f979e create exceptions.py and move more constants 2016-12-12 19:49:36 -08:00
2b34854910 Move files to top of repository 2016-11-28 20:19:31 -08:00
2d4b07c10f Add database upgrader script 2016-11-28 20:18:44 -08:00
45a8a8ccc5 checkpoint 2016-11-27 01:06:11 -08:00
df028c2354 checkpoint 2016-11-07 21:06:28 -08:00
58eb50dfb2 list view 2016-11-06 18:00:30 -08:00
5de1736347 checkpoint 2016-11-05 21:24:43 -07:00
7ad6160d38 album .tar 2016-11-05 17:58:37 -07:00
c493362520 add override filename 2016-10-30 14:42:09 -07:00
9a327e6082 checkpoint 2016-10-30 14:20:46 -07:00
25a4b69cd8 checkpoint 2016-10-29 18:46:23 -07:00
198900c990 checkpoint 2016-10-20 20:15:24 -07:00
de60770d20 checkpoint 2016-10-17 22:13:12 -07:00
0b85c309f8 checkpoint 2016-10-09 20:50:13 -07:00
6c5580c1bc checkpoint 2016-09-18 01:33:46 -07:00