Commit Graph

16 Commits (1e4f4441bb978224abd4ff4f5a1a3232ca0e957c)

Author SHA1 Message Date
voussoir f1e80dac94 Add spinners to channel refresh buttons. 2020-06-17 14:15:50 -07:00
voussoir dd59fd2c36 Import common.js before api.js. 2020-06-17 14:13:33 -07:00
voussoir ba1f17da75 Move function add_channel to api.js. 2020-06-03 13:00:44 -07:00
voussoir 1f2c43278a Move function refresh_all_channels to api.js. 2020-06-03 13:00:16 -07:00
voussoir 415acdf7d1 Add api.js. 2020-06-03 12:54:20 -07:00
voussoir d0a0a87b43 Add function common.refresh. 2020-06-03 12:28:09 -07:00
voussoir 3e27e6e2e8 Add separate API endpoint for add_channel, apply to web ui.
Previously, the "add channel" box was just calling refresh, which
implicitly adds the channel. This adds a separate endpoint for
add_channel, and as a bonus the web ui will navigate you to the
channel after it has been loaded.
2020-05-21 22:16:02 -07:00
voussoir 13a72ec7fc Move CSS and JS into separate folders under static. 2020-05-21 19:43:45 -07:00
voussoir 0c5823cbeb Indicate automark state on /channels listing. 2020-05-21 17:26:12 -07:00
voussoir af494e2684 Rename CSS class channel_card_downloaded -> channel_card_no_pending. 2020-05-21 17:22:07 -07:00
voussoir 2f5ec40b89 Big: Object-oriented channels & videos, match Etiquette structure.
- Channels and videos are now objects instead of just dictionaries.
- Copied Etiquette's use of cachemanager mixin to cache those objects.
- Copied Etiquette's use of sql_ methods.
- Copied Etiquette's use of namespaced javascript.
- Copied Etiquette's use of config file.
- Redid video_card css to use grid, better on mobile.
- Improved usage of URL parameters with class=merge_class.
- Wrote some actual content on readme.
2020-04-05 18:59:16 -07:00
voussoir a29a637bcb Put the refresh buttons inside spans. 2020-01-06 21:56:45 -08:00
voussoir 2826e8972f Add link directly to channel's pending page. 2020-01-06 21:56:22 -08:00
voussoir 12c2b882f2 Add the meta viewport property. 2020-01-06 21:55:01 -08:00
voussoir c667ebd872 Batch requests & filterbox & update metadata
- Download / Ignore on multiple videos is batched into a single
  request, like it should have been all along.
- Text box at the top of the page lets you search for terms live
  instead of loading various ?q urls.
- Doing a force refresh will actually update the metadata of old
  videos instead of skipping them.
2019-01-23 21:22:09 -08:00
voussoir ba1961349c It's been a while 2017-10-08 21:39:07 -07:00