Commit graph

21 commits

Author SHA1 Message Date
defa23eff3 Add Album.@display_name to remove duplicate logic elsewhere 2017-03-10 17:08:38 -08:00
afe7085702 Make photo.duration_string a @property 2017-03-10 15:07:34 -08:00
aa6ed364a9 Rename variable 'link' to 'file_link' for clarity 2017-03-07 21:03:46 -08:00
4838b26f3b Make photo info panel work better when it gets too big
Redo CSS so the left panel continues down the page instead of the background color just getting cut off; Keep the message_area from getting pinched into nothingness; improve narrow-screen CSS
2017-03-07 21:01:50 -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
fd914051aa Add word-wrap:break-word to various elements 2017-03-03 22:30:57 -08:00
d71d7b03c2 Add photo/refresh_metadata endpoint and button 2017-03-02 17:38:15 -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
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
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
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
d5bc65c8f2 Allow templates to get objects instead of json 2016-12-20 16:33:40 -08:00
c843f444e7 very early session and registration support 2016-12-18 05:12:14 -08:00
2b34854910 Move files to top of repository 2016-11-28 20:19:31 -08:00
Renamed from etiquette/templates/photo.html (Browse further)