Commit graph

1390 commits

Author SHA1 Message Date
6a98631f2d Add sql_executescript. 2021-01-01 17:01:59 -08:00
8e964e2888 Add get_albums_within_directory. 2021-01-01 17:01:52 -08:00
017633331b Fix yield photo should only happen when not exception. 2020-12-30 15:50:29 -08:00
023c540dbf Fix init command, should create _etiquette directory. 2020-12-30 15:50:29 -08:00
aa3bc2d100 Rename purge_deleted_photos -> purge_deleted_files. 2020-12-30 15:50:23 -08:00
f9e7049424 Change allowed_orderby_columns from list to set; alphabetize. 2020-12-29 16:06:43 -08:00
a4a1f39ede Fix response.json_ok -> response.meta.json_ok. 2020-12-26 13:22:19 -08:00
8f9b4142a6 Improve UI performance of selecting / deselecting photo cards.
Move save_clipboard into a 0-timeout. Check checkboxes immediately
instead of relying on apply_check_all / update_pagestate to make a
redundant loop through everything.
2020-12-26 13:21:06 -08:00
7f2d463062 Hide the photo card holder when there are no photos.
I didn't like the narrow sliver of div that was left.
2020-12-26 12:14:42 -08:00
33b4799268 Only log "needed but not received" if there are any. 2020-12-26 12:13:54 -08:00
cdfa0531a2 Add Mirrors header. 2020-12-23 19:56:15 -08:00
5bab0b8972 Add codeberg to mirror list. 2020-12-15 23:11:12 -08:00
a91366149b Transition calls to getpermission to interactive. 2020-12-07 00:54:53 -08:00
a604cfa5cd Add alias tag-breplace. 2020-11-27 15:40:13 -08:00
1cf6e64bfa Add remove_tag command. 2020-11-27 15:39:58 -08:00
f09115d1b8 Add to do item for search results RSS. 2020-11-20 17:54:38 -08:00
ac51608472 Update contributing.md to deprioritize discord. 2020-11-20 16:31:26 -08:00
01f85d41b6 Use voussoirkit.stringtools for remove_characters. 2020-11-16 00:13:35 -08:00
4988f6dbdd Fix missing parameters for get_users_by_sql. 2020-11-15 22:20:36 -08:00
6fe3cecead Remove old import for logging. 2020-11-15 22:20:36 -08:00
469103e0ac Use voussoirkit.stringtools for comma_space_split. 2020-11-15 22:20:36 -08:00
98b6d93094 Use voussoirkit.stringtools for collapse_whitespace. 2020-11-15 22:20:36 -08:00
9ca40c6ae7 Use voussoirkit.gentools for chunk_generator. 2020-11-15 22:20:36 -08:00
7d454a03ac Incorporate __name__ into photodb's logger. 2020-11-15 22:20:36 -08:00
9e6f8041fb Use voussoirkit.stringtools for pascal_to_loudsnakes. 2020-11-15 22:20:36 -08:00
f08df6266f Add github/gitlab link at bottom of readme. 2020-11-15 22:20:36 -08:00
f112a3d041 Add support for file glob patterns in add_tag command. 2020-11-15 22:20:30 -08:00
a1fd6c26c5 Add show_associated_directories command. 2020-11-15 17:49:28 -08:00
1a6abf00b9 Use voussoirkit hms instead of local function. 2020-11-15 17:44:10 -08:00
9e322c18d4 Fix pascal_to_loudsnakes to handle repeated caps as single term. 2020-11-09 16:20:03 -08:00
8e3bcbc1af Promote some logs from debug to info, and add punctuation. 2020-11-08 21:29:56 -08:00
d653317907 Let sql_execute log as LOUD. 2020-11-08 20:21:40 -08:00
010c92cb73 Set photodb log_level from argv. 2020-11-08 20:20:04 -08:00
de2f1caa42 Don't use log_level from config -- pass it in to constructor.
The problem with the log_level config was twofold. First, there is some
work to be done before the config is be loaded, and so we must hardcode
the log level for that. I was using debug. Secondly, I have realized
that log levels should be pushed as close to the front of the UI code
as possible, not the backend code.
2020-11-08 20:09:16 -08:00
12ee2adedf Add alertresponse to a lot of callback functions. 2020-11-06 22:50:05 -08:00
0a31dad196 Rewrite these default callbacks as alertresponse. 2020-11-06 22:34:01 -08:00
bf9223bf67 Move response.completed into the meta. 2020-11-06 22:27:41 -08:00
99e64e358e Add missing semicolon. 2020-11-06 22:22:41 -08:00
68b27fced2 Add refresh_or_alert so errors aren't missed. 2020-11-06 21:42:28 -08:00
8d7f97a996 Fix etq repl starting in '.' instead of '.\_etiquette'. 2020-11-06 00:19:14 -08:00
5792c3bdcf Let set_searchhidden take no params, and simplify duplicate checks. 2020-11-05 18:22:19 -08:00
e80f27e1fd Fix excplicit yield_photos, yield_albums in search_in_cwd. 2020-11-05 18:21:33 -08:00
843e8d6743 Oops, put photos_holder rule in etiquette.css, not common. 2020-11-04 17:35:54 -08:00
387a9e7b81 Fix vertical centering of wide videos on narrowish viewport. 2020-11-04 17:21:19 -08:00
867d1c34a4 Use class=panel for message_area on /login. 2020-11-04 17:20:59 -08:00
7770f7640a Add class photos_holder which is centers photos in narrow mode.
In narrow mode, it's very possible to wind up with only 1 photo per row,
and it looks silly when they are left-justified. Centered looks a little
more natural to me in this case.
2020-11-04 17:11:48 -08:00
d536974025 Add class=panel to /clipboard #left. 2020-11-04 16:57:41 -08:00
a0207c52f2 Reduce grid-row-gap from 30px to 8px. 2020-11-04 16:56:24 -08:00
52e0ebc5f9 Remove the browser's default margin-top from tags_on_this_page ul. 2020-11-03 16:38:33 -08:00
c9eacbef2f Teeny tiny whitespace tweaks. 2020-11-03 16:35:53 -08:00