Commit graph

35 commits

Author SHA1 Message Date
83b9adbd61 Add more uncache points to help with stale data 2017-05-01 21:16:10 -07:00
06522ee372 Minor cleanup 2017-05-01 20:49:59 -07:00
43bc1e74fc Add method Album.add_associated_directory 2017-05-01 20:43:45 -07:00
09f209719b Add decorators.@required_feature to centralize FeatureDisabled exc. 2017-05-01 20:41:56 -07:00
af6785cead Add decorators.@transaction to rollback sql upon exception 2017-05-01 20:23:58 -07:00
6ea3e67d86 Add method associated_directories. 2017-04-22 21:39:07 -07:00
82ca1a08da Add superinit to the objects. 2017-04-22 21:16:30 -07:00
cc0c847eb5 Make sure easybake uses the normalized name in return notes. 2017-04-20 18:28:11 -07:00
dcb946f3df Add _uncache to objects 2017-03-23 00:04:44 -07:00
d35011c083 Add Photo.relocate for fixing external renames 2017-03-22 23:18:09 -07:00
13040d559b Cache objects for faster re-access; Cache album.sum_bytes result 2017-03-22 22:54:17 -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
80a861deee Add 'enable_photo_reload_metadata' and '...generate_thumbnail' 2017-03-17 14:01:39 -07:00
f222ae7182 Add 'enable_photo_add_remove_tag' config 2017-03-17 00:10:33 -07:00
440941077f Replace more direct sql commits with PhotoDB commits 2017-03-16 21:44:49 -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
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
1fc098a37f Fix on_commit_queue action for rename_file; Fix tag sorting 2017-03-10 05:18:49 -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
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
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
c3a4fa443b Rename variable 'row_tuple' to 'db_row'; Improve some docstrings 2017-03-03 21:15:31 -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
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
c84acca6c9 Move modules into an actual package 2017-02-04 19:55:13 -08:00
Renamed from objects.py (Browse further)