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
901020781c
Use error messages provided by exception class for P_wrapper
2017-03-04 20:07:30 -08:00
b9b1879179
Make /tags.json return tag objects instead of just easybake text
2017-03-04 19:59:16 -08:00
93b878bb3e
Fix remove_tag_button gap on search mmf
2017-03-04 19:34:10 -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
fd914051aa
Add word-wrap:break-word to various elements
2017-03-03 22:30:57 -08:00
73835e2a7a
Separate concerns: updating given parameters vs rendering dict to param string
2017-03-03 22:11:29 -08:00
8856a2fe69
Include the user's nonstandard limit parameter in the dropdown box
2017-03-03 21:56:29 -08:00
c3a4fa443b
Rename variable 'row_tuple' to 'db_row'; Improve some docstrings
2017-03-03 21:15:31 -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
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
8b05a26ff7
checkpoint
...
Add Bookmark class; Add user.html; Add more commit loggers; Fix warning_bag attributeerror when it was None
2017-02-04 18:30:02 -08:00
109d5feef1
Separate cursors for every transaction
2017-01-29 17:47:59 -08:00
13ae208a06
Add trailing comma to kw-only args
...
Welcome to the present!
2017-01-06 18:10:19 -08:00
76523db2b6
checkpoint
2017-01-06 18:08:22 -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
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