Commit Graph

22 Commits (038ce9cffb1767461f2c982b156ff6104ebd475e)

Author SHA1 Message Date
voussoir 4f6080859a Synchronize Etiquette and YCDL. 2020-09-22 02:59:17 -07:00
voussoir 741cddc2e4 Add set_queuefile_extension method, endpoint, and ui. 2020-09-16 10:23:38 -07:00
voussoir d0e803aa66 Supply the orderby argument to channel.html template. 2020-09-05 17:48:29 -07:00
voussoir e5910c55f2 Rename database column `download` to `state`. 2020-09-04 15:55:48 -07:00
voussoir 26704c238e Fix catch ytapi.ChannelNotFound and return json 404. 2020-09-04 10:48:08 -07:00
voussoir c37cd60d4d Compress responses with gzip. 2020-08-28 16:43:02 -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 be45de55f5 Use generator comprehension instead of list comprehension for ?q. 2020-08-11 21:50:38 -07:00
voussoir b660d700b9 Add endpoint and gui button for deleting channels. 2020-08-10 18:30:56 -07:00
voussoir 4911cee910 Use generators instead of lists for loading / searching videos.
Previously, creating the list meant that all database rows would be
loaded and objected even if you had a limit in place on your page
query, which was a huge waste.
2020-07-01 17:54:36 -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 21af1576c2 Move endpoints into separate files like Etiquette. 2020-05-21 20:04:02 -07:00
voussoir 57d87560a4 Add interface for setting automark state. 2020-05-21 17:28:34 -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 275db1e608 Fix typo googleapicliet -> googleapiclient. 2020-03-28 17:07:18 -07:00
voussoir 4effa64694 Move endpoints to new endpoints.py. 2020-03-28 17:05:43 -07:00
voussoir 1b2778ca7a Rename ycdl_flask.py to common.py. 2020-03-28 16:56:06 -07:00
voussoir 790fbd7b9a Remove this ifmain. 2020-03-28 16:53:39 -07:00
voussoir d407326392 Move make_json_response into new jsonify.py. 2020-03-28 16:51:40 -07:00
voussoir c7ef2dd41b Rearrange these imports. 2020-03-28 16:49:33 -07:00
voussoir 428ada8c83 Rename inner ycdl_flask folder to backend.
Following the same thing as I did with etiquette.
2020-03-28 16:47:37 -07:00