Commit Graph

369 Commits (cf01ca24ffc1a0676d449c26031d62eaf848610e)

Author SHA1 Message Date
voussoir f4455f5a82 Add return to onchange. 2020-09-12 10:14:06 -07:00
voussoir cd5106df59 Rename color_3d_shadow -> color_shadow. 2020-09-09 15:58:04 -07:00
voussoir 0116d80740 Mark the current state and orderby links in bold. 2020-09-05 17:49:04 -07:00
voussoir d0e803aa66 Supply the orderby argument to channel.html template. 2020-09-05 17:48:29 -07:00
voussoir d140a580c3 Add .bold class. 2020-09-05 17:47:53 -07:00
voussoir 37df5a6443 Remove spacer <p>s and embrace the grid-gap. 2020-09-05 09:31:37 -07:00
voussoir 339fa6649f Remove useless one-tab container for sub box by better if placement. 2020-09-05 09:31:13 -07:00
voussoir 2f9444542f Fix OutOfDate message incorrectly referring to nested directory. 2020-09-04 15:56:06 -07:00
voussoir e5910c55f2 Rename database column `download` to `state`. 2020-09-04 15:55:48 -07:00
voussoir 0ae041f001 Add whitelist/blacklist functionality to merge_params. 2020-09-04 15:10:58 -07:00
voussoir 7d3a9fe03e Add explanation of data-prompt-class et al.
I think I left these blank because I felt they should be obvious.
But I'd rather have it explicit.
2020-09-04 14:50:30 -07:00
voussoir fc4aebc4a4 Fix double "return return". 2020-09-04 14:48:50 -07:00
voussoir 98fae96a8a Add spinner.BAIL for cancelling spinner without launching callback. 2020-09-04 11:24:08 -07:00
voussoir 0518765f33 Add css/js class entry_with_history to automate adding the hook. 2020-09-04 11:18:41 -07:00
voussoir 26704c238e Fix catch ytapi.ChannelNotFound and return json 404. 2020-09-04 10:48:08 -07:00
voussoir 4af4985ac5 Add return to all onclicks, and ; to other javascript hooks. 2020-09-04 10:37:49 -07:00
voussoir afcea49135 Fine-tune use of let/const in spinner.js. 2020-09-03 15:57:07 -07:00
voussoir 03c366fff8 Replace var with let/const. 2020-09-03 15:44:58 -07:00
voussoir 2a5983b124 Change #content_body width from 95% to 98%. 2020-09-03 12:06:35 -07:00
voussoir a524249ab4 Improve color of tab buttons active/inactive/hover. 2020-09-03 12:03:53 -07:00
voussoir 3a455d377b Rewrite channel.html as tabbed container, separate videos/settings. 2020-09-03 11:54:51 -07:00
voussoir f103447807 Add css/js class tabbed_container. 2020-09-03 11:54:00 -07:00
voussoir b8c25f217d Synchronize Etiquette common.css and YCDL common.css. 2020-09-03 11:52:51 -07:00
voussoir d4cad47b78 Add docstring to init_enable_on_pageload. 2020-09-03 11:51:30 -07:00
voussoir 8dd7fb987d Add placeholder text to new_channel_textbox. 2020-09-03 11:44:49 -07:00
voussoir c37cd60d4d Compress responses with gzip. 2020-08-28 16:43:02 -07:00
voussoir 394fc0852a Improve readme text. 2020-08-28 16:41:14 -07:00
voussoir 65e0d58576 Disable filter textbox until pageload.
For channels with many thousands of videos, it can be a while
before the DOM is fully parsed and ready to go. It is annoying
to type in the box and find that it doesn't work yet, since the
script tag comes after body.
Why not move the script above body? Because I don't want to,
and because you'd be filtering from an incomplete list of
videos anyway.
2020-08-28 16:21:42 -07:00
voussoir 25e9975926 Add css/js class enable_on_pageload. 2020-08-28 16:18:51 -07:00
voussoir 25a611e39e Add 200ms timeout before filtering while you type your query. 2020-08-27 17:11:52 -07:00
voussoir 7b197c867b Speed up filtering by hiding #video_cards first.
On large channels, filter_video_cards is painfully slow because of all
the forced reflows. I'm currently trying to find a better solution.
In the meantime, hiding the containing div does prevent those reflows
until the end, but itself is also quite slow.
2020-08-27 16:53:51 -07:00
voussoir 412d324352 Remove unused parameter event. 2020-08-20 15:09:37 -07:00
voussoir e083223cfc Add button_with_spinner class to add channel button. 2020-08-20 15:09:23 -07:00
voussoir 1eb9941e27 Fix call to get_video should have been get_videos. 2020-08-20 13:17:07 -07:00
voussoir 720db06d4c Set cache_discovery=False to get rid of that console warning. 2020-08-20 13:16:55 -07:00
voussoir 17cd98fa50 Let image thumbnails lazy load. 2020-08-15 22:28:53 -07:00
voussoir de5aba4895 Remove unnecessary spacer when channel is none. 2020-08-15 22:28:27 -07:00
voussoir 5610d756c2 Fix video_cards variable name being used twice, breaking filter. 2020-08-15 22:27:47 -07:00
voussoir a99348e54c Remove "to do: delete channel from web interface".
Because that exists now.
2020-08-12 12:36:16 -07:00
voussoir 8eaae26e55 Add experimental RSS-based refresh_all_channels. 2020-08-12 12:32:01 -07:00
voussoir 6bd4997f3f Simplify logging.getLogger because they are hierarchical. 2020-08-12 11:25:59 -07:00
voussoir 2da4568fb5 Create separate get_video/get_videos, plural looks better.
Not a big difference, but I didn't like the way
calling get_video([...]) looked.
2020-08-12 11:20:43 -07:00
voussoir 299ea6b579 Simplify this useless two-step assignment. 2020-08-12 11:17:30 -07:00
voussoir 3f3eda58b1 Move logging basicconfig effort to frontmost application layer. 2020-08-12 11:17:10 -07:00
voussoir ee89582a1b Return 404 when channel could not be added and still does not exist. 2020-08-12 10:28:06 -07:00
voussoir 7a7b1455ef Fix queuefile extension selection when NoSuchChannel. 2020-08-12 10:26:57 -07:00
voussoir 5f38dea3b3 Rename argparse arguments to just --from, --to. 2020-08-12 10:25:09 -07:00
voussoir 323b2ead54 Use isodate instead of strptime to parse published date. 2020-08-11 23:20:26 -07:00
voussoir dfa5bb2390 Move some heavy lifting into new ingest_video. 2020-08-11 23:19:14 -07:00
voussoir ce028e4ebb Rearrange some lines for clarity, comment on known_ids. 2020-08-11 23:14:34 -07:00