Commit graph

1423 commits

Author SHA1 Message Date
24b6970617 Move default DB filename etc. to constants 2017-04-20 18:26:15 -07:00
241d1466eb Fix tag expression bugs, move work to searchhelpers
Fix handling of bad tags, bad syntax, empty expression. Remove unnecessary warning_bag from matcher builder
2017-03-31 21:52:49 -07:00
884b1a1aa5 Make ?view param follow you to parent / children 2017-03-31 21:48:27 -07:00
6d8fc799c0 Put blank div in place of tags div to maintain space-between
After removing the tags div for photos without tags, I realized the space-between was lost leaving the metadata on the left instead of the right
2017-03-30 19:36:32 -07:00
57e8579a17 Better organize CSS properties by type 2017-03-30 19:34:39 -07:00
8dd5f9e718 Don't split metadata across lines
Fix Photo Card CSS so the metadata appears on a single line instead of getting split, without giving filename the same luxury
2017-03-30 19:03:33 -07:00
3243f87837 Remove broken and also unnecessary justification 2017-03-30 19:01:58 -07:00
81f59ec3d3 Add link to grid or list view 2017-03-30 18:56:27 -07:00
0580a7f162 Only generate tags T div if photo has tags 2017-03-30 18:54:18 -07:00
791172e073 Support extension=* search, to filter extensionless files 2017-03-23 15:49:55 -07:00
5ee6062cad Use None check instead of general falsey for minmax 2017-03-23 15:17:19 -07:00
b69ef8ea00 Cleanup some pylint 2017-03-23 15:11:28 -07:00
dcb946f3df Add _uncache to objects 2017-03-23 00:04:44 -07:00
d52143e283 Add nullcheck to associated directory upgrader 2017-03-22 23:56:58 -07:00
0bfbc789ca Use more pathclass.Path 2017-03-22 23:35:14 -07:00
d35011c083 Add Photo.relocate for fixing external renames 2017-03-22 23:18:09 -07:00
fc5c33c918 Fix traceback not being shown on general exceptions 2017-03-22 22:54:44 -07:00
13040d559b Cache objects for faster re-access; Cache album.sum_bytes result 2017-03-22 22:54:17 -07:00
55ed6a6d28 Give each PDBMixin an init and a cache. Not used yet 2017-03-22 21:24:53 -07:00
2ecf2e3d81 Add Overall Bitrate to metadata bar 2017-03-22 18:20:50 -07:00
e62aa2f740 Make condition look better 2017-03-22 18:06:02 -07:00
fd1673328f Add PDBAlbumMixin.get_root_albums to simplify elsewhere 2017-03-19 18:48:41 -07:00
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
467d5a2626 Add basic project description to readme 2017-03-17 15:24:59 -07:00
8ef6007772 Remove sample image files 2017-03-17 14:04:43 -07:00
e610eafb21 Add demo link to readme 2017-03-17 14:03:15 -07:00
3a01285f09 Catch exceptions during photo metadata reload 2017-03-17 14:02:33 -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
96e530e190 Apply BSD 2-Clause License 2017-03-17 02:48:11 -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
590da64836 Add GitHub link to root page 2017-03-17 01:03:19 -07:00
f0447b9318 Update to-do list on readme 2017-03-17 00:26:55 -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