Mateusz Makowski
90c907710c
Display username in header
2021-06-19 04:58:42 -07:00
syeopite
b63bebb519
Allow automatic instance redirect to be turned off
...
Instead the "switch invidious instance" link would bring users to
redirect.invidious.io
2021-06-19 04:16:18 -07:00
syeopite
065c104f27
Upgrade to crystal 1.0.0
2021-06-08 13:10:58 -07:00
syeopite
6e6f4d5a37
Allow configurable support of interactive 360 vid
2021-05-23 09:22:37 -07:00
sh4dowb
533d0a1fd4
Added "Read More" button for video descriptions
2021-05-10 00:24:11 -07:00
syeopite
428747ab69
Allow default_home config to be empty value
2021-04-04 15:20:08 -07:00
Andre Borie
79e99908de
Allow providing 12-Factor-style Database URL in config
2021-01-30 19:33:58 +00:00
HackerNCoder
606dd11b4f
Remove admin_email. Use repos url for captcha ID and reddit header. Add note about not updating changelog
2021-01-07 21:09:24 +01:00
HackerNCoder
4d512d908d
Remove some mentions of omarroth
2021-01-07 19:01:13 +01:00
saltycrys
6365ee7487
Make logger a constant
...
Instead of passing around `logger` there is now the global `LOGGER`.
2021-01-05 20:43:19 +01:00
Perflyst
c89632d2a8
Merge pull request #1608 from saltycrys/add-subscription-traces
...
Add Subscription Traces
2020-12-31 11:30:04 +01:00
Andrew Zhao
e0d25ff887
Close http clients after using
...
The crystal http client maintains a keepalive connection to the other
server which stays alive for some time. This should be closed if the
client instance is not used again to avoid hogging resources
2020-12-27 19:40:58 -05:00
saltycrys
c4ef055248
Add RefreshChannelsJob traces
...
Traces can be enabled with `-l trace`.
The problem with subscriptions is that sometimes requests to YouTube never
finish. As soon as that happens `channel-threads` times subscriptions stop
being refreshed. This is most likely a problem with the lsquick bindings.
2020-12-27 05:20:33 +01:00
saltycrys
eea7ca9b72
Add DASH quality preference
...
The options are `auto` (the current and default behavior), `best` and `worst`.
The UI is only updated once playback starts.
2020-12-19 18:37:30 +01:00
Omar Roth
452d1e8307
Fix warnings with latest version of Crystal
2020-07-26 10:59:31 -04:00
Omar Roth
056e7432bd
Update channel playlists to use polymer
2020-06-16 17:51:35 -05:00
Omar Roth
1eca969cf6
Add support for polymer redesign
2020-06-15 18:18:04 -05:00
Omar Roth
ca1185d0be
Fix warnings in latest version of Crystal
2020-04-09 12:18:09 -05:00
Omar Roth
0f3c477ff3
Remove dependency on ImageMagick (replace with rsvg-convert)
2019-10-28 10:49:05 -04:00
Omar Roth
6930570fa2
Add HTTPClient pool
2019-10-25 12:58:16 -04:00
Omar Roth
7524b5e349
Move feed_menu and default_home into user preferences
2019-10-20 20:43:33 -04:00
Omar Roth
be055d9dcb
Add support for custom playlists
2019-10-15 21:17:14 -04:00
Omar Roth
4361ea9686
Update DB calls for 0.31.0
2019-09-24 13:38:50 -04:00
Omar Roth
26107bd6c3
Minor refactor
2019-08-27 08:08:26 -05:00
psvenk
f54fbd057e
Add prefers-color-scheme support ( #601 )
...
* Add prefers-color-scheme support
This should fix <https://github.com/omarroth/invidious/issues/559 >.
The cookie storage format has been changed from boolean
("true"/"false") to tri-state ("dark"/"light"/""), so that users
without a cookie set will get dark mode if they have enabled the dark
theme in their operating system. The code for handling the cookie
state, along with the user's operating system theme, has been factored
out into a new function `update_mode`, which is called both at window
load and at the "storage" event listener, because the "storage" event
listener is only trigerred when a change is made to the localStorage
from another tab/window (for more info - see
<https://stackoverflow.com/a/4679754 >).
2019-08-15 11:29:55 -05:00
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