Commit Graph

1387 Commits (adb691405c30ec43f20c31575006abbda714af12)

Author SHA1 Message Date
voussoir 1c0f50a4a6 Move refresh metadata button above the download links. 2020-11-03 15:34:41 -08:00
voussoir 9e23aacae7 Add id=photo_filename to the h3. 2020-11-03 15:34:28 -08:00
voussoir cc8053f8fd Alert response if set searchhidden fails. 2020-11-03 15:33:59 -08:00
voussoir fbaa7843da Add missing semicolon. 2020-11-03 15:33:33 -08:00
voussoir d2b6aebee5 Add init, set/unset searchhidden, add_tag commands. 2020-11-03 00:07:29 -08:00
voussoir 272bd471ff Fix positioning of photo_viewer under the new CSS rules. 2020-11-03 00:05:21 -08:00
voussoir 44952b4b05 Add some docstrings to the request code. 2020-11-03 00:03:48 -08:00
voussoir 776376200d Add argument --dont-create to etiquette_repl. 2020-10-28 14:58:32 -07:00
voussoir 1b221ce8be Add innertext_safe if you want to avoid escaping. 2020-10-25 20:24:06 -07:00
voussoir c9fcb51247 When normalizing tag names, collapse whitespace to 1 space. 2020-10-25 20:21:52 -07:00
voussoir 51fa9aac46 Alphabetize p_tag_breplace. 2020-10-25 20:21:27 -07:00
voussoir 5f91554198 Don't break the mmf inputs when autocomplete init failed. 2020-10-25 20:20:40 -07:00
voussoir ca3540670c On specific tag pages, use unlink buttons for immediate children. 2020-10-25 20:19:38 -07:00
voussoir 40d369e2bb Fix handling of root drive path as within_directory. 2020-10-25 20:18:56 -07:00
voussoir dd581a8274 Add easybake command. 2020-10-17 19:18:25 -07:00
voussoir a463e5451b Move tag_breplace_argparse to alphabetical order. 2020-10-17 19:12:22 -07:00
voussoir 881ce5e3ae With specific tag, start the export with the children.
This prevents the specific tag from being included in the results in
the first place, and has the knock-on effect that the descendants'
lines won't all start with the parent tag's name.
2020-10-17 18:23:38 -07:00
voussoir fccd682eac Instead of tags.remove, just filter on the upcoming for loop. 2020-10-17 18:17:23 -07:00
voussoir 6b71af307c Let Slate be the default theme.
Hooray for dark mode. Sorry classic turquoise.
2020-10-17 18:12:42 -07:00
voussoir 90e7f6b6e1 Rewrite tag_export.easybake as a generator. 2020-10-17 17:56:21 -07:00
voussoir c278f3e0af Let Tag objects be sortable using their name. 2020-10-17 17:55:36 -07:00
voussoir 938f8239c7 Rearrange common.js and add headers. 2020-10-17 17:32:19 -07:00
voussoir 7715e10b12 Trade padding for bigger font on remove_tag_button.
Primarily affects the "unlink" / "delete" buttons on /tags.
Without the padding we can get an extra pt of font size, and these
buttons are somewhat of a readability struggle.
2020-10-17 17:28:32 -07:00
voussoir c146e0d1b9 Rename instances of Editor variables to clarify what they are. 2020-10-17 17:26:07 -07:00
voussoir 45acdce74b Let bookmark_card input have width 100%. 2020-10-13 10:56:38 -07:00
voussoir adddba6c97 Simplify this bindable def by reversing the if/def nest.
Instead of defining the function with an internal if that will always
pick the same path, let's use that if to instead define a
straightforward function that just does what we want.
2020-10-13 10:53:56 -07:00
voussoir af4f2bcdaa Link tags on photo page to the /tag/info url. 2020-10-13 10:41:47 -07:00
voussoir 6fb6b1eeb0 Add Bookmark.display_name, just like Album. 2020-10-13 10:37:12 -07:00
voussoir 4a1aad4622 Fix expression orderbys not reflecting in web UI.
selected_column needs to be the expression since that's what comes
back from the normalizer.
2020-10-12 22:30:06 -07:00
voussoir b2290d030a Allow orderby bitrate. 2020-10-12 22:28:09 -07:00
voussoir 86c09aedc1 Add album_autocomplete.js, so "Add child" box can autocomplete.
This makes putting albums together a little easier, though datalist
performance still leaves a lot to be desired.
2020-10-03 18:37:08 -07:00
voussoir 4e3e2fea12 Avoid creating emptystring promptclass. 2020-10-03 18:32:21 -07:00
voussoir e09c3300d1 Let cached_endpoint pass the content-type header through. 2020-10-03 18:30:16 -07:00
voussoir 5d802ba9f9 Let response status be 0 even if request didn't complete.
Since meta.status would be undefined for an incomplete request,
I would have to check response.completed && response.meta.status,
which is too much burden. Let's set the status immediately, and
if a callback wants to do further diving we'll use completed then.
2020-10-02 19:43:36 -07:00
voussoir d15d5f9856 Set tabbed_container data-active-tab-id on tab change. 2020-10-02 16:53:00 -07:00
voussoir d8276b763d Fix default theme evaluation. 2020-10-01 19:58:23 -07:00
voussoir 83cd4b7cd2 Add init_photodb to prod. 2020-10-01 19:43:06 -07:00
voussoir a7f8449dcd Update readme with separate run instructions for repl, cli. 2020-09-30 16:14:30 -07:00
voussoir d5a88a2950 Move etiquette_repl back out of its own folder into frontends dir.
In e57f87c I moved it to a folder so that every entry in the frontends
dir was a folder. A noble goal, but it always felt silly and I'm quite
sure it will never expand to be more than a single file.
2020-09-30 15:57:30 -07:00
voussoir 410d9aba69 Update contact info. 2020-09-30 15:44:35 -07:00
voussoir 70dfe8aca8 Enforce keyword-only args, alphabetize args. 2020-09-30 15:17:20 -07:00
voussoir 5e6a666ca2 Add option --localhost_only. 2020-09-30 15:15:49 -07:00
voussoir 59cc76f8d9 Rename flask launchers -> _dev, _prod.
I want to reduce some complexity around here, part of which is that
launch imported entrypoint imported backend, all to do some proxy
wrapping which isn't necessary for the dev case anyway. Less
layers of wrapping and importing is good. Plus I think this naming
is more clear.
2020-09-30 15:05:44 -07:00
voussoir fc894bcd17 Add purge_deleted_photos, purge_empty_albums. 2020-09-30 13:44:09 -07:00
voussoir 735fbf9abd Let the purge methods yield their deleted items. 2020-09-30 13:41:42 -07:00
voussoir 0ec072c797 Add breplace. 2020-09-29 18:08:04 -07:00
voussoir a41c843cb9 Let #right dominate page height, scroll the rest of tags_on_page. 2020-09-29 17:49:03 -07:00
voussoir 9533c444a5 Move error_message_area, happy_message_area into #right.
It's where they belong!
2020-09-29 17:21:50 -07:00
voussoir 14961d75fd Let homepage use width 90% max 600 instead of straight 50%. 2020-09-29 17:18:46 -07:00
voussoir ee16d02324 In narrow mode, let #right be absolute to achieve similar effect.
It's not perfect yet, and 95vh is purely empirical.
2020-09-29 17:18:20 -07:00