Commit Graph

69 Commits (606dd11b4f9fb6fc2aaca85e18e6a2d750d5ad6c)

Author SHA1 Message Date
HackerNCoder 606dd11b4f
Remove admin_email. Use repos url for captcha ID and reddit header. Add note about not updating changelog 3 years ago
HackerNCoder 4d512d908d
Remove some mentions of omarroth 3 years ago
saltycrys 6365ee7487 Make logger a constant
Instead of passing around `logger` there is now the global `LOGGER`.
3 years ago
Perflyst c89632d2a8
Merge pull request #1608 from saltycrys/add-subscription-traces
Add Subscription Traces
3 years ago
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
3 years ago
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.
3 years ago
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.
4 years ago
Omar Roth 452d1e8307
Fix warnings with latest version of Crystal 4 years ago
Omar Roth 056e7432bd
Update channel playlists to use polymer 4 years ago
Omar Roth 1eca969cf6
Add support for polymer redesign 4 years ago
Omar Roth ca1185d0be
Fix warnings in latest version of Crystal 4 years ago
Omar Roth 0f3c477ff3
Remove dependency on ImageMagick (replace with rsvg-convert) 5 years ago
Omar Roth 6930570fa2
Add HTTPClient pool 5 years ago
Omar Roth 7524b5e349
Move feed_menu and default_home into user preferences 5 years ago
Omar Roth be055d9dcb
Add support for custom playlists 5 years ago
Omar Roth 4361ea9686
Update DB calls for 0.31.0 5 years ago
Omar Roth 26107bd6c3
Minor refactor 5 years ago
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>).
5 years ago
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.
5 years ago
Omar Roth 99b0b4f5b8
Fix escaping for materialized view SQL 5 years ago
Omar Roth c34a24b633
Attempt to optimize query for subscription feed 5 years ago
Omar Roth d1635cf24e
Set max preference size 5 years ago
Omar Roth 8c944815bc
Minor refactor 5 years ago
Omar Roth 27e032d10d
Add '/api/v1/auth/feeds' 5 years ago
Omar Roth 108648b427
Optimize query for creating subscription feeds 5 years ago
Omar Roth 18d66ddded
Add 'needs_update' column for scheduling feed refresh 5 years ago
Omar Roth 4cf3c6a616
HTML-escape strings to '/api/v1/auth/preferences' 5 years ago
Omar Roth e119459411
Add GET '/authorize_token' 5 years ago
Omar Roth 56fe3ede5b Add annotation preferences 5 years ago
Omar Roth bb5a1ad513 Add 'continue_autoplay' preference 5 years ago
Omar Roth 2a6c81a89d Add authentication API 5 years ago
Omar Roth b6fff53b21 Refactor HTTP::Client calls into make_client 5 years ago
Omar Roth 26168a9520 Refactor CSRF tokens (using format in #473) 5 years ago
Omar Roth e1c78fcbd3 Update view names to avoid collisions 5 years ago
Omar Roth aad0f90a9d Add 'sign_token' 5 years ago
Omar Roth 31312747e9 Fix from_yaml in ConfigPreferences 5 years ago
Omar Roth bd4f5ebcdf Add option to configure default user preferences 5 years ago
Omar Roth 1b78001201 Use struct for allocations 5 years ago
Omar Roth 388e58bf1e Update handling for preferences 5 years ago
Omar Roth 0c6cede287 Format files and trim trailing whitespace 5 years ago
Omar Roth 88b70973cc Add 'premiereTimestamp' to /api/v1/videos 5 years ago
Omar Roth 6e51189d4d Expire nonce on register 5 years ago
Omar Roth 9091b36249 Don't require CAPTCHA for login 5 years ago
Omar Roth e738e57e26 Add 'local' option to preferences 5 years ago
Omar Roth a39b1583da Add administrator preferences 5 years ago
Omar Roth bdc9196b4a Escape email when creating feed for Google account 5 years ago
Omar Roth f1820ffaf7 Add fix for user array 5 years ago
Omar Roth 3646395f1d Store session_ids in separate table 5 years ago
Omar Roth c9bc081f8c Respect DEFAULT_USER_PREFERENCES in video params 5 years ago
Omar Roth c2c224b16f Use fibers to try to speed up importing of channels 5 years ago