Commit graph

13 commits

Author SHA1 Message Date
b134a8783b
Remove unnecessary query_string argument. 2021-03-24 20:09:23 -07:00
9c5fb4fec1
Move jsonify methods to the objects instead of separate file. 2021-02-25 19:46:00 -08:00
ced16d9063 Don't traceback.print_exc. 2020-11-15 21:10:01 -08:00
741cddc2e4 Add set_queuefile_extension method, endpoint, and ui. 2020-09-16 10:23:38 -07:00
d0e803aa66 Supply the orderby argument to channel.html template. 2020-09-05 17:48:29 -07:00
e5910c55f2 Rename database column download to state. 2020-09-04 15:55:48 -07:00
26704c238e Fix catch ytapi.ChannelNotFound and return json 404. 2020-09-04 10:48:08 -07:00
ee89582a1b Return 404 when channel could not be added and still does not exist. 2020-08-12 10:28:06 -07:00
be45de55f5 Use generator comprehension instead of list comprehension for ?q. 2020-08-11 21:50:38 -07:00
b660d700b9 Add endpoint and gui button for deleting channels. 2020-08-10 18:30:56 -07:00
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
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
21af1576c2 Move endpoints into separate files like Etiquette. 2020-05-21 20:04:02 -07:00