Commit graph

257 commits

Author SHA1 Message Date
97400a448b Fix bug which left album dir associations after deleting album 2017-03-19 18:48:12 -07:00
8793d9ff41 Fix docstrings over 80 characters 2017-03-19 17:34:19 -07:00
df32b0c11d Fix NameError during forbids 2017-03-17 14:02:03 -07:00
80a861deee Add 'enable_photo_reload_metadata' and '...generate_thumbnail' 2017-03-17 14:01:39 -07:00
019c0d727d Use metaclass to automate exc error_type; Remove needless inheritance 2017-03-17 02:30:02 -07:00
85d91310bc When new options are added, save them to user config file 2017-03-17 01:28:29 -07:00
0bac643f2d Add jsonify.exception 2017-03-17 01:13:42 -07:00
6912a1a56e Fix login form using old error response 2017-03-17 01:08:51 -07:00
f222ae7182 Add 'enable_photo_add_remove_tag' config 2017-03-17 00:10:33 -07:00
efa930f4a8 Make associated_directory its own table so albums can have multiple
Also renamed a bunch of indices
2017-03-16 23:57:31 -07:00
440941077f Replace more direct sql commits with PhotoDB commits 2017-03-16 21:44:49 -07:00
8692d826c5 Add 'enable_new_...' config options. Decent until actual permission system 2017-03-16 19:54:12 -07:00
db628d158e Shorten lines longer than 100 characters 2017-03-14 21:18:42 -07:00
defa23eff3 Add Album.@display_name to remove duplicate logic elsewhere 2017-03-10 17:08:38 -08:00
f797e3fb55 Fix exceptions.RecursiveGrouping not being formatted. 2017-03-10 15:33:45 -08:00
bff5ee9986 Don't raise GroupExists when adding to the same group anyway. 2017-03-10 15:27:40 -08:00
afe7085702 Make photo.duration_string a @property 2017-03-10 15:07:34 -08:00
d7cd1e9748 Add more docstrings; Remove unused code 2017-03-10 15:01:12 -08:00
3be8813a0a Photo.add_tag returns the added tag; site displays the normalized name instead of user input 2017-03-10 14:04:50 -08:00
70f284d413 Fix album_group indices being added to the wrong table. 2017-03-10 05:49:18 -08:00
1fc098a37f Fix on_commit_queue action for rename_file; Fix tag sorting 2017-03-10 05:18:49 -08:00
072e9a7430 Fix NoSuchUser being raised with None due to username/id 2017-03-09 23:54:45 -08:00
b3da21bf33 Small cleanups
Comment and sql linewrapping; move Add Tag box to top of ul instead of bottom to stay in view better
2017-03-07 20:20:12 -08:00
2deff86e13 Fix broken registration: missing cur and wronge exc 2017-03-05 05:00:57 -08:00
c04b5a6db0 Remove unnecessary warning_bag code from normalize_tagname 2017-03-05 04:54:58 -08:00
e413e996d9 Fix appearance of easybake errors; more exception improvements
New class EasyBakeException helps distinguish whether or not it should be displayed to the user; Exception class `error_type` attributes are now applied to the class via decorator instead of to the instance via init; Fixed easybake errors looking for the old json response format; Fixed incorrect error bubble when deleting a synonym after the tag has already been deleted
2017-03-04 22:27:24 -08:00
888c3b48cd Completely revise exception message formatting technique 2017-03-04 21:56:23 -08:00
b9b1879179 Make /tags.json return tag objects instead of just easybake text 2017-03-04 19:59:16 -08:00
edc2ae2768 Give thumbnails a checkerboard bg for transparent images 2017-03-04 19:27:03 -08:00
83408aca4a Give Albums their own ID counter, own group rel table 2017-03-04 01:13:22 -08:00
415d858e20 Fix toplevel albums not getting digest children; prefix album zips with 'album ' 2017-03-03 23:44:43 -08:00
92880ba3eb Rearrange mimetype-icon dict for clarity 2017-03-03 22:50:36 -08:00
73835e2a7a Separate concerns: updating given parameters vs rendering dict to param string 2017-03-03 22:11:29 -08:00
c3a4fa443b Rename variable 'row_tuple' to 'db_row'; Improve some docstrings 2017-03-03 21:15:31 -08:00
75ee476abf minor visual fixes 2017-03-02 16:56:18 -08:00
9ba1a88174 Fix bug in which only the last photo of a digest was added; Improve mimetype usage by not deleting the subtype 2017-02-27 23:39:06 -08:00
c6615284e0 Improve Photo Card CSS: Filename hover and metadata font 2017-02-27 23:05:43 -08:00
fcc671a617 Move many errors + warnings to properties of Exception classes 2017-02-26 01:04:07 -08:00
5d1c2dfc40 Use URL to indicate POST action
Instead of passing 'action' as a field like a dummy.
2017-02-26 00:33:26 -08:00
5404a1d411 checkpoint
fix bug in which renaming photo causes os.remove even when it's an in-place rename on case-insensitive systems; incorporate expressionmatch for filename search; minor comment cleanup
2017-02-25 22:47:20 -08:00
c80e2003ff checkpoint
add photo and search css for narrow screens; incorporate new expressionmatch kit; entry_with_history cursor moves to end; albums indicate total filesize; etc
2017-02-24 22:07:59 -08:00
80cb66b825 Rename phototagger.py to photodb.py 2017-02-04 20:01:03 -08:00
c84acca6c9 Move modules into an actual package 2017-02-04 19:55:13 -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