Commit graph

51 commits

Author SHA1 Message Date
Leon Klingele 46577fb128
Add support for player styles
This currently includes the following styles:

- Invidious, the default
- YouTube, using a centered play button and always visible video control bar

Implements https://github.com/omarroth/invidious/issues/670.
Supersedes https://github.com/omarroth/invidious/pull/661.
2019-08-09 02:04:36 +02:00
Omar Roth 99b0b4f5b8
Fix escaping for materialized view SQL 2019-07-09 09:34:19 -05:00
Omar Roth c34a24b633
Attempt to optimize query for subscription feed 2019-07-07 14:00:42 -05:00
Omar Roth d1635cf24e
Set max preference size 2019-06-08 16:04:55 -05:00
Omar Roth 8c944815bc
Minor refactor 2019-06-07 21:13:50 -05:00
Omar Roth 27e032d10d
Add '/api/v1/auth/feeds' 2019-06-07 21:13:50 -05:00
Omar Roth 108648b427
Optimize query for creating subscription feeds 2019-06-02 11:48:18 -05:00
Omar Roth 18d66ddded
Add 'needs_update' column for scheduling feed refresh 2019-06-01 10:19:18 -05:00
Omar Roth 4cf3c6a616
HTML-escape strings to '/api/v1/auth/preferences' 2019-05-30 19:00:38 -05:00
Omar Roth e119459411
Add GET '/authorize_token' 2019-05-15 12:26:29 -05:00
Omar Roth 56fe3ede5b Add annotation preferences 2019-04-30 23:39:04 -05:00
Omar Roth bb5a1ad513 Add 'continue_autoplay' preference 2019-04-19 09:38:27 -05:00
Omar Roth 2a6c81a89d Add authentication API 2019-04-18 16:23:50 -05:00
Omar Roth b6fff53b21 Refactor HTTP::Client calls into make_client 2019-04-17 09:06:31 -05:00
Omar Roth 26168a9520 Refactor CSRF tokens (using format in #473) 2019-04-15 23:23:40 -05:00
Omar Roth e1c78fcbd3 Update view names to avoid collisions 2019-04-10 19:56:38 -05:00
Omar Roth aad0f90a9d Add 'sign_token' 2019-04-10 16:58:46 -05:00
Omar Roth 31312747e9 Fix from_yaml in ConfigPreferences 2019-04-03 19:04:33 -05:00
Omar Roth bd4f5ebcdf Add option to configure default user preferences 2019-04-03 11:38:41 -05:00
Omar Roth 1b78001201 Use struct for allocations 2019-03-29 16:30:02 -05:00
Omar Roth 388e58bf1e Update handling for preferences 2019-03-28 13:43:40 -05:00
Omar Roth 0c6cede287 Format files and trim trailing whitespace 2019-03-23 14:05:13 -05:00
Omar Roth 88b70973cc Add 'premiereTimestamp' to /api/v1/videos 2019-03-22 14:53:19 -05:00
Omar Roth 6e51189d4d Expire nonce on register 2019-03-20 11:02:04 -05:00
Omar Roth 9091b36249 Don't require CAPTCHA for login 2019-03-19 20:13:16 -05:00
Omar Roth e738e57e26 Add 'local' option to preferences 2019-03-12 21:05:49 -05:00
Omar Roth a39b1583da Add administrator preferences 2019-03-01 16:06:45 -06:00
Omar Roth bdc9196b4a Escape email when creating feed for Google account 2019-02-22 20:35:37 -06:00
Omar Roth f1820ffaf7 Add fix for user array 2019-02-11 20:47:26 -06:00
Omar Roth 3646395f1d Store session_ids in separate table 2019-02-10 12:33:29 -06:00
Omar Roth c9bc081f8c Respect DEFAULT_USER_PREFERENCES in video params 2019-01-31 15:06:53 -06:00
Omar Roth c2c224b16f Use fibers to try to speed up importing of channels 2019-01-02 19:28:59 -06:00
Omar Roth a160c645c9 Add support for translations 2018-12-20 15:32:09 -06:00
Omar Roth d0b30ad977 Don't pass HTTP client in args 2018-12-15 12:05:52 -06:00
Omar Roth 934c81b02f Add second hand to image CAPTCHA 2018-11-25 18:26:21 -06:00
Omar Roth 3c98601f35 Add job for pulling popular videos 2018-11-25 18:08:51 -06:00
Omar Roth ad20d6359b Add 'expire' to filter invalid tokens 2018-11-19 18:41:11 -06:00
Omar Roth cd482cfd89 Add more informative error response on incorrect CAPTCHA 2018-11-17 13:26:24 -06:00
Omar Roth d185ba84bf Remember nonce to prevent replay attacks 2018-11-17 13:18:12 -06:00
Omar Roth 4b76b93610 Add continuous playback 2018-11-11 11:45:05 -06:00
Omar Roth 1465cefa17 Move HMAC tokens into users.cr 2018-11-11 09:44:16 -06:00
Omar Roth e39dec9778 Add option to listen by default 2018-10-30 09:41:23 -05:00
Omar Roth 921c34aa65 Create materialized views for Google accounts 2018-10-10 16:10:58 -05:00
Omar Roth 60038b29f1 Fix typo in user defaults 2018-09-21 11:06:35 -05:00
Omar Roth 133b72f9cf Add support for genre channels that don't end with " - Topic" 2018-09-09 08:53:04 -05:00
Omar Roth cb01b50fbb Add option to hide related videos 2018-08-30 16:49:38 -05:00
Omar Roth a37692cce4 Fix 'to_json' for comment array 2018-08-25 21:33:53 -05:00
Omar Roth 23aaf7f1b7 Add comments fallback 2018-08-25 18:33:15 -05:00
Omar Roth 8adb4650a0 Add support for multiple sessions 2018-08-15 12:40:42 -05:00
Omar Roth ca7c376874 Add preferred captions 2018-08-06 13:23:36 -05:00