]> git.gir.st - subscriptionfeed.git/log
subscriptionfeed.git
3 years agomore TODOs
girst [Sun, 14 Jun 2020 14:29:31 +0000 (16:29 +0200)]
more TODOs

3 years agofix metadata on completely unavailable videos
girst [Sun, 14 Jun 2020 13:50:21 +0000 (15:50 +0200)]
fix metadata on completely unavailable videos

e.g. J2-6srITpKE: has metadata, but no 'availableCountries' key

3 years agoadd search bar (no impl yet)
girst [Sat, 13 Jun 2020 20:41:58 +0000 (22:41 +0200)]
add search bar (no impl yet)

3 years agofix currently-running livestream detection
girst [Sat, 13 Jun 2020 20:40:54 +0000 (22:40 +0200)]
fix currently-running livestream detection

3 years agoharmonize layout; headerbar macro
girst [Sat, 13 Jun 2020 20:07:22 +0000 (22:07 +0200)]
harmonize layout; headerbar macro

3 years agorework fetch_reddit() params, support non-hot-ordering (undocumented)
girst [Fri, 12 Jun 2020 19:21:59 +0000 (21:21 +0200)]
rework fetch_reddit() params, support non-hot-ordering (undocumented)

3 years agofix livestream detection
girst [Fri, 12 Jun 2020 18:36:55 +0000 (20:36 +0200)]
fix livestream detection

isPostLiveDvr is not present if False.

3 years agodon't hardcode welcome message for anonymous users
girst [Fri, 12 Jun 2020 14:10:29 +0000 (16:10 +0200)]
don't hardcode welcome message for anonymous users

3 years agoreddit footer: show all subscribed subreddits all the time
girst [Fri, 12 Jun 2020 13:57:59 +0000 (15:57 +0200)]
reddit footer: show all subscribed subreddits all the time

3 years agofix webhook error loggin m(
girst [Fri, 12 Jun 2020 11:18:39 +0000 (13:18 +0200)]
fix webhook error loggin m(

one. job.

3 years agotweak reddit template
girst [Fri, 12 Jun 2020 10:41:53 +0000 (12:41 +0200)]
tweak reddit template

3 years agotemporary fix for utils/ config import
girst [Fri, 12 Jun 2020 10:41:16 +0000 (12:41 +0200)]
temporary fix for utils/ config import

3 years agofix webhook config import
girst [Fri, 12 Jun 2020 10:40:35 +0000 (12:40 +0200)]
fix webhook config import

3 years agoremove /r/ endpoints from youtube blueprint
girst [Fri, 12 Jun 2020 10:39:29 +0000 (12:39 +0200)]
remove /r/ endpoints from youtube blueprint

those shadowed the actual reddit ones

3 years agoremove superfluous imports
girst [Thu, 11 Jun 2020 18:30:18 +0000 (20:30 +0200)]
remove superfluous imports

3 years agode-hardcode subreddit footer
girst [Thu, 11 Jun 2020 18:28:07 +0000 (20:28 +0200)]
de-hardcode subreddit footer

3 years agoprovide guest user default subscriptions
girst [Thu, 11 Jun 2020 17:49:23 +0000 (19:49 +0200)]
provide guest user default subscriptions

3 years agomake __main__.py less fragile
girst [Thu, 11 Jun 2020 17:45:18 +0000 (19:45 +0200)]
make __main__.py less fragile

3 years agomove youtube templates into blueprint
girst [Thu, 11 Jun 2020 17:43:02 +0000 (19:43 +0200)]
move youtube templates into blueprint

3 years agoadd reddit database tables
girst [Thu, 11 Jun 2020 17:49:57 +0000 (19:49 +0200)]
add reddit database tables

3 years agofinish reddit blueprint
girst [Thu, 11 Jun 2020 17:32:58 +0000 (19:32 +0200)]
finish reddit blueprint

3 years agomove reddit to seperate blueprint
girst [Thu, 11 Jun 2020 16:56:22 +0000 (18:56 +0200)]
move reddit to seperate blueprint

needs cleanup

3 years agoname main app 'app' again
girst [Thu, 11 Jun 2020 12:39:35 +0000 (14:39 +0200)]
name main app 'app' again

stupid import! hardly ever seen such a useless error message

3 years agosplit app into blueprints - part 3: login/user module
girst [Thu, 11 Jun 2020 12:18:57 +0000 (14:18 +0200)]
split app into blueprints - part 3: login/user module

3 years agosplit app into blueprints - part 2: __main__
girst [Thu, 11 Jun 2020 12:18:11 +0000 (14:18 +0200)]
split app into blueprints - part 2: __main__

3 years agosplit app into blueprints - part 1
girst [Thu, 11 Jun 2020 11:58:53 +0000 (13:58 +0200)]
split app into blueprints - part 1

moves everything into the youtube blueprint, except csrf and user
handling. those two will go into a common blueprint later.

3 years agomore TODOs
girst [Thu, 11 Jun 2020 11:55:41 +0000 (13:55 +0200)]
more TODOs

3 years agorefresh-cipher: enforce 1-row-maximum
girst [Thu, 11 Jun 2020 11:01:24 +0000 (13:01 +0200)]
refresh-cipher: enforce 1-row-maximum

3 years agofix sponsorblock off-by-two
girst [Thu, 11 Jun 2020 10:41:33 +0000 (12:41 +0200)]
fix sponsorblock off-by-two

m(

3 years agoimprove card handling, better is-livestream, better aspect-detection
girst [Thu, 11 Jun 2020 10:40:52 +0000 (12:40 +0200)]
improve card handling, better is-livestream, better aspect-detection

3 years agoupdate INSTALL somewhat
girst [Tue, 9 Jun 2020 18:14:28 +0000 (20:14 +0200)]
update INSTALL somewhat

3 years agouse semantic tag for main content
girst [Tue, 9 Jun 2020 17:59:55 +0000 (19:59 +0200)]
use semantic tag for main content

also unifies centering to use css. this makes cards left-aligned within
the container, but that's fine with me.

3 years agouse tokens to identify users
girst [Tue, 9 Jun 2020 17:56:06 +0000 (19:56 +0200)]
use tokens to identify users

in the future, tokens will be exirable by the user.

3 years agorewrite TODOs
girst [Tue, 9 Jun 2020 17:21:40 +0000 (19:21 +0200)]
rewrite TODOs

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