voussoir
074f33342d
Use flex with gap instead of margin.
2021-11-08 02:01:14 -08:00
voussoir
da8a6f0505
Use flex instead of grid to overcome 1,000 row browser limit.
...
Chrome stops adding grid rows after 1,000 and just piles them all
up on the bottom.
2021-11-08 02:01:01 -08:00
voussoir
9ebda4e38b
Add BROWSER_CACHE_DURATION constant.
2021-11-01 16:04:25 -07:00
voussoir
3fb2a63185
Turn the spinner off after a refresh fails.
2021-10-31 12:51:50 -07:00
voussoir
2efc5ed38d
Fix subscript typo.
2021-10-28 23:30:38 -07:00
voussoir
c0235901c6
Separate try-except for the get_video loop and mark loop.
...
This will help prevent inconsistent state where some videos get marked,
then one raises, and the db rolls back but the other objects still have
their state attribute set.
2021-10-26 12:23:45 -07:00
voussoir
413f9af568
Replace some flask.abort with exc.jsonify responses.
2021-10-26 12:18:55 -07:00
voussoir
39f78a7fbe
Return the channel ID during endpoints that change it.
2021-10-26 12:03:40 -07:00
voussoir
c435b1ada5
Add some flasktools.required_fields where missing.
2021-10-26 11:57:55 -07:00
voussoir
2d2a45a2a1
Add web interface for Channel.set_name.
2021-10-26 11:53:49 -07:00
voussoir
257c54d19b
Commit when adding channel after navigating to its page.
2021-10-25 14:05:02 -07:00
voussoir
787cec38aa
Add remark to common.css, ycdl.css.
2021-10-24 16:47:48 -07:00
voussoir
c22f20fcf8
Use worms, add more ycli functions.
2021-10-15 21:00:04 -07:00
voussoir
0adeb55790
Match renamed flasktools.json_response.
2021-10-01 23:04:41 -07:00
voussoir
2d7868477e
Match Etiquette update re prod launching.
2021-10-01 14:11:00 -07:00
voussoir
ec402dcd0b
Let endpoint return new values of queuefile_ext, download_dir.
2021-09-15 18:55:14 -07:00
voussoir
bf1bbe8748
Bind enter to submit for download_directory.
2021-09-15 18:53:36 -07:00
voussoir
b038099573
Fix template to expect pathclass for download_directory.
2021-09-15 18:53:23 -07:00
voussoir
2c133d18f3
Improve the way prod imports flask backend.
2021-09-08 20:02:20 -07:00
voussoir
d5b50ff1f6
Improve ycdl_flask_dev helptext.
2021-09-08 19:32:21 -07:00
voussoir
ad306ae771
Make better use of vlogging.
2021-09-08 19:31:56 -07:00
voussoir
e17b6668f3
Add link to channel/videos page in the settings list.
2021-09-07 14:05:36 -07:00
voussoir
69924b0b13
Add operatornotify to YCDL flask dev.
2021-09-05 01:27:02 -07:00
voussoir
6068d644b9
Add autorefresh to Channel to include/exclude in refresh_all loop.
2021-09-05 01:26:34 -07:00
voussoir
0418cae57a
Move truthystring to stringtools.
2021-09-05 01:22:21 -07:00
voussoir
2ab0b38c84
Add common.formdata so api.js can just use dicts.
2021-09-03 12:53:01 -07:00
voussoir
2ad85ad69a
Add Channel.set_download_directory.
2021-09-01 23:37:43 -07:00
voussoir
8c2aea06f3
Close the spinners after error alerts.
2021-09-01 23:32:56 -07:00
voussoir
8af64598a2
Split /channel, /videos, /watch routes. Improve handling of 404 video.
2021-08-25 17:33:19 -07:00
voussoir
491992b606
Some linting.
2021-08-20 22:59:17 -07:00
voussoir
46fc9ecef3
Define color_primary which was previously not set.
2021-06-25 23:05:06 -07:00
voussoir
b90618a93b
Fix leftover imports.
2021-06-07 14:56:54 -07:00
voussoir
f2a81720bd
Move make_json_response to voussoirkit.flasktools.
2021-06-04 21:50:09 -07:00
voussoir
d2af56c3f0
Reduce excessive hash spacer.
2021-06-04 21:41:46 -07:00
voussoir
d76d592501
Add endpoint /all_channels.json to facilitate future autocomplete.
2021-06-04 21:41:30 -07:00
voussoir
8b4edad9f2
Replace single quotes with double quotes.
2021-06-04 21:37:10 -07:00
voussoir
83672736d5
Remove unnecessary intermediate variable ip.
2021-06-04 21:34:05 -07:00
voussoir
742034d287
Replace margin with grid-row-gap.
2021-06-04 20:48:51 -07:00
voussoir
67619c506e
Replace #000 with black.
2021-06-04 20:47:54 -07:00
voussoir
a697fabfff
Give class channel_card to both pending and not.
2021-06-04 20:44:57 -07:00
voussoir
c74b9523e4
Don't sort channels from get_channels, use get_things.
2021-06-04 20:35:17 -07:00
voussoir
00917f585e
Turn off hotkeys.js logging every press.
2021-06-04 13:03:05 -07:00
voussoir
b9019095e2
Synchronize with Etiquette.
2021-06-01 18:18:08 -07:00
voussoir
16be502991
Add explanation to common.css --wide --narrow.
2021-05-19 23:43:21 -07:00
voussoir
74d4a55d32
Rename import bot -> youtube_credentials.
...
In the days of making reddit bots I always put creds into bot.py.
But for this project it wouldn't make any sense to newcomers.
2021-04-25 18:02:26 -07:00
voussoir
8a6f33851e
Pass skip_failures=True from frontend button.
2021-04-21 21:31:03 -07:00
voussoir
991bafb46e
Use let for video_cards assignment.
2021-04-16 16:53:09 -07:00
voussoir
d185a3f451
Update requirements.txt.
2021-04-04 11:17:11 -07:00
voussoir
9b6af96b95
Use voussoirkit.flasktools for gzip_response.
2021-04-02 18:31:04 -07:00
voussoir
e00bfa368b
Update docstring "launch ycdl_flask_dev, _prod".
2021-04-02 18:00:01 -07:00