Commit graph

1428 commits

Author SHA1 Message Date
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
41b03f46b9 Use more class=panel throughout ui. 2020-11-03 16:25:04 -08:00
615242c680 Remove unnecessary "event" from generate_thumbnail form. 2020-11-03 16:08:15 -08:00
0fccfc562a Rearrange some functions and add headers. 2020-11-03 15:49:50 -08:00
1c0f50a4a6 Move refresh metadata button above the download links. 2020-11-03 15:34:41 -08:00
9e23aacae7 Add id=photo_filename to the h3. 2020-11-03 15:34:28 -08:00
cc8053f8fd Alert response if set searchhidden fails. 2020-11-03 15:33:59 -08:00
fbaa7843da Add missing semicolon. 2020-11-03 15:33:33 -08:00
d2b6aebee5 Add init, set/unset searchhidden, add_tag commands. 2020-11-03 00:07:29 -08:00
272bd471ff Fix positioning of photo_viewer under the new CSS rules. 2020-11-03 00:05:21 -08:00
44952b4b05 Add some docstrings to the request code. 2020-11-03 00:03:48 -08:00
776376200d Add argument --dont-create to etiquette_repl. 2020-10-28 14:58:32 -07:00
1b221ce8be Add innertext_safe if you want to avoid escaping. 2020-10-25 20:24:06 -07:00