]> git.gir.st - subscriptionfeed.git/log
subscriptionfeed.git
3 years agoMerge branch 'flask_login'
girst [Tue, 9 Jun 2020 16:43:26 +0000 (18:43 +0200)]
Merge branch 'flask_login'

3 years agoadd helper utility for generating password hashes
girst [Tue, 9 Jun 2020 16:40:28 +0000 (18:40 +0200)]
add helper utility for generating password hashes

3 years agoschema for users table
girst [Tue, 9 Jun 2020 16:39:19 +0000 (18:39 +0200)]
schema for users table

3 years agomove login form to a template; stub out registration
girst [Tue, 9 Jun 2020 16:07:53 +0000 (18:07 +0200)]
move login form to a template; stub out registration

3 years agodecorate all login-required routes, or allow guest user
girst [Tue, 9 Jun 2020 15:56:31 +0000 (17:56 +0200)]
decorate all login-required routes, or allow guest user

3 years agouse same flash message format as flask-login
girst [Tue, 9 Jun 2020 15:24:14 +0000 (17:24 +0200)]
use same flash message format as flask-login

or decoding will fail

3 years agospeed up pull-subscriptions.py
girst [Tue, 9 Jun 2020 14:55:45 +0000 (16:55 +0200)]
speed up pull-subscriptions.py

3 years agomove /subscription_manager to /manage/subscriptions, ...
girst [Tue, 9 Jun 2020 14:46:00 +0000 (16:46 +0200)]
move /subscription_manager to /manage/subscriptions, ...

... also some minor fixes:
- unsubscribing
- match channel ids (for subscribing) at any position (so one can paste
  a full URL)

3 years agoprevent hanging/looping with sponsorblock
girst [Sun, 7 Jun 2020 12:24:55 +0000 (14:24 +0200)]
prevent hanging/looping with sponsorblock

given a sponsor time of e.g. [0,10.01], we might seek to 10.00 (seeking
isn't frame-perfect), which is still within the block-time, causing us
to loop between 10.00 and 10.01. 1sec is more than enough slack to avoid
this.

3 years agomove flask secret_key to config.ini
girst [Fri, 5 Jun 2020 18:28:44 +0000 (20:28 +0200)]
move flask secret_key to config.ini

3 years agoinitial version of user authentication using flask-login
girst [Fri, 5 Jun 2020 19:05:20 +0000 (21:05 +0200)]
initial version of user authentication using flask-login

3 years agomove flask secret_key to config.ini
girst [Fri, 5 Jun 2020 18:28:44 +0000 (20:28 +0200)]
move flask secret_key to config.ini

3 years agofix cipher refresh script m(
girst [Fri, 5 Jun 2020 17:55:51 +0000 (19:55 +0200)]
fix cipher refresh script m(

3 years agodisable subtitles, as they raise CORS errors
girst [Fri, 5 Jun 2020 14:15:53 +0000 (16:15 +0200)]
disable subtitles, as they raise CORS errors

subtitles aren't served with A-C-A-O header, so they fail. will have to
proxy :(

3 years agosponsorblock (first draft), links to invidious/youtube/show=*
girst [Fri, 5 Jun 2020 13:30:21 +0000 (15:30 +0200)]
sponsorblock (first draft), links to invidious/youtube/show=*

sponsorblock not active by default, as it sends youtube ids to 3rd
party. requires cleanup, de-inlining, configurability.

3 years agobetter error messages on EXHAUSTED, fix invidious_url, minor cleanups
girst [Fri, 5 Jun 2020 11:40:25 +0000 (13:40 +0200)]
better error messages on EXHAUSTED, fix invidious_url, minor cleanups

3 years agodeduplicate info and endcards
girst [Fri, 5 Jun 2020 11:38:54 +0000 (13:38 +0200)]
deduplicate info and endcards

3 years agoswitch to threaded workers, so in-memory-caching works
girst [Fri, 5 Jun 2020 10:23:44 +0000 (12:23 +0200)]
switch to threaded workers, so in-memory-caching works

when using worker processes, each process is torn down after handling a
request, taking the cache with them.

3 years agoshow arrow on '.advanced' details/summary
girst [Thu, 4 Jun 2020 21:26:17 +0000 (23:26 +0200)]
show arrow on '.advanced' details/summary

makes it more obvious that it's clickable

3 years agovideo card: json button, consistent use of '.advanced' element
girst [Thu, 4 Jun 2020 20:54:44 +0000 (22:54 +0200)]
video card: json button, consistent use of '.advanced' element

3 years agofix WEBSITE urls
girst [Thu, 4 Jun 2020 19:22:56 +0000 (21:22 +0200)]
fix WEBSITE urls

introduced in cleanup changes

3 years agoapply aspect ratio to video element
girst [Thu, 4 Jun 2020 19:10:59 +0000 (21:10 +0200)]
apply aspect ratio to video element

test videos: vertical video: Vn1-Jvnhz6U; 2:1: l06PlYNShpQ
object-fit *does* affect the video too :(

3 years agocalculate exact aspect ratio
girst [Thu, 4 Jun 2020 18:20:36 +0000 (20:20 +0200)]
calculate exact aspect ratio

3 years agorework video error messages (/watch)
girst [Thu, 4 Jun 2020 15:35:38 +0000 (17:35 +0200)]
rework video error messages (/watch)

3 years agoprevent big wall of whitelisted regions
girst [Thu, 4 Jun 2020 13:58:58 +0000 (15:58 +0200)]
prevent big wall of whitelisted regions

if a video is available in most regions, show only blacklisted ones;
videos that are available in only a few will still show the list of
available regions.

3 years agocleanup a lot, support CREATOR_MERCHANDISE endcard (as website)
girst [Thu, 4 Jun 2020 13:42:24 +0000 (15:42 +0200)]
cleanup a lot, support CREATOR_MERCHANDISE endcard (as website)

3 years agofix old videos from showing up in subscriptions
girst [Thu, 4 Jun 2020 07:29:40 +0000 (09:29 +0200)]
fix old videos from showing up in subscriptions

3 years agosome error handling improvements
girst [Tue, 2 Jun 2020 17:40:38 +0000 (19:40 +0200)]
some error handling improvements

3 years agopop csrf token in @before_request
girst [Tue, 2 Jun 2020 16:32:39 +0000 (18:32 +0200)]
pop csrf token in @before_request

3 years agomove non-web related subroutines out of frontend
girst [Tue, 2 Jun 2020 16:24:11 +0000 (18:24 +0200)]
move non-web related subroutines out of frontend

3 years agoswitch to html watch page by default, fix csrf bugs
girst [Tue, 2 Jun 2020 15:41:13 +0000 (17:41 +0200)]
switch to html watch page by default, fix csrf bugs

3 years agofix UndefinedError for WEBSITE infocard thumnail
girst [Mon, 1 Jun 2020 20:46:15 +0000 (22:46 +0200)]
fix UndefinedError for WEBSITE infocard thumnail

website endcards have icons, but infocards don't. same for channels.

3 years agoimplement csrf protection
girst [Mon, 1 Jun 2020 20:40:21 +0000 (22:40 +0200)]
implement csrf protection

3 years agoinitial commit
girst [Sun, 31 May 2020 16:40:10 +0000 (18:40 +0200)]
initial commit

Imprint / Impressum