summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2021-01-31Merge pull request #1712 from tenpura-shrimp/bumpvideojsPerflyst
Bump videojs and fix webworker
2021-01-31Merge pull request #1732 from saltycrys/unrequire-loggersaltycrys
Unrequire `logger`
2021-01-31Unrequire `logger`saltycrys
Crystal's `Logger` was required but never used in Invidious. Crystal 0.36.0 removed `Logger` in favor of `Log`.
2021-01-30Enable the Finish translation since it's now translated at more than 80%TheFrenchGhosty
2021-01-30Merge pull request #1702 from saltycrys/configsaltycrys
Config improvements
2021-01-29Bump videojs and fix webworkerAndrew Zhao
2021-01-28remove https from channel thumbnail in searchAndrew Zhao
2021-01-23Only start refresh jobs when necessarysaltycrys
If `channel_threads` or `feed_threads` is set to zero the corresponding job is now not started.
2021-01-23Make config a constantsaltycrys
Instead of passing around `config` there is now the global `CONFIG`.
2021-01-23Add config environment variablessaltycrys
The config file can now be specified with `INVIDIOUS_CONFIG_FILE`. A YAML formatted string can still be passed with `INVIDIOUS_CONFIG`, replacing the config file. Additionally all options can now be specified as environment variables. The syntax for variable names is `INVIDIOUS_` followed by the option name in upper case. The values are parsed as YAML. These new env vars only update the provided main configuration, but it is possible to point the config file at the example config and then use env vars for all config options: ``` INVIDIOUS_CONFIG_FILE=./config/config.example.yml \ INVIDIOUS_CHANNEL_THREADS=10 \ ./invidious ```
2021-01-23Make invidious use all the translation filesTheFrenchGhosty
2021-01-17add ui for searchingAndrew Zhao
2021-01-10save host when using dash manifestAndrew Zhao
2021-01-09Merge pull request #1654 from saltycrys/fix-downloadssaltycrys
Fix downloads
2021-01-09Fix downloadssaltycrys
The `itag` is now converted to a number, matching the `itag` of `Video.adaptive_fmts` and `Video.fmt_stream`.
2021-01-08Merge pull request #1647 from hackerncoder/removeOmarrothMentionsTheFrenchGhosty
Remove omarroth mentions
2021-01-07Remove admin_email. Use repos url for captcha ID and reddit header. Add note ↵HackerNCoder
about not updating changelog
2021-01-07Respect `use_pubsub_feeds` configsaltycrys
Setting `use_pubsub_feeds: false` now properly disables it.
2021-01-07Remove some mentions of omarrothHackerNCoder
2021-01-05Adjust log verbositysaltycrys
The default log level has been changed from `debug` to `info`. The `debug` log level is now more verbose. `debug` now gives a general overview of what is happening (where implemented) while `trace` gives all available details.
2021-01-05Make logger a constantsaltycrys
Instead of passing around `logger` there is now the global `LOGGER`.
2021-01-05Add CLI arguments to config filesaltycrys
The log level can now be set with `log_level` (accepts ints and strings). The log file can now be set with `output` (also accepts `STDOUT`).
2021-01-05Merge pull request #1389 from vhuynh3000/decrypt_on_demandPerflyst
add config to decrypt on demand instead of polling
2021-01-04Fix `watch_videos` endpointsaltycrys
Playlists created by `watch_videos` do not have an author which caused a crash previously.
2021-01-04Set content type for HTML error helperssaltycrys
This fixes `Unexpected char '<' at 1:1` errors caused by content type mismatch.
2021-01-03add config to decrypt on demand instead of pollingvhuynh3000
2021-01-03Merge pull request #999 from notpushkin/patch-1Perflyst
Add audio mode link to items
2020-12-31Merge pull request #1608 from saltycrys/add-subscription-tracesPerflyst
Add Subscription Traces
2020-12-30Merge pull request #1600 from jksladjflkjsadflkjsadf/closeclientsTheFrenchGhosty
Close http clients after use
2020-12-30fix channel/ID/community endpointbopol
fixes https://github.com/iv-org/invidious/issues/1611
2020-12-29Fix Video Mode Buttonsaltycrys
The query params that get edited for `embed_params` are now deep copied instead of shallow copied, preventing the originals from being changed.
2020-12-28Merge pull request #1609 from saltycrys/add-popular-enabled-optionPerflyst
Add `popular-enabled` option
2020-12-27Close http clients after usingAndrew Zhao
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-27Add `popular-enabled` optionsaltycrys
This is similar to the removed `top-enabled` option but for the Popular feed. The instance needs to be restarted if the feed was enabled. Editing admin options on the preferences page is also fixed. The handling of the feed pages now only happens in a single place. Instead of redirecting: - The Top feed now displays a message that it was removed from Invidious. - The Popular feed now displays a message that it was disabled if it was.
2020-12-27Add RefreshChannelsJob tracessaltycrys
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-27Rename threads to fiberssaltycrys
The config and command line options haven't been changed.
2020-12-23Merge pull request #1572 from saltycrys/add-dash-quality-preferencePerflyst
Add DASH quality preference
2020-12-23Merge pull request #1595 from saltycrys/improve-storyboardsPerflyst
Improve storyboards
2020-12-21Improve storyboardssaltycrys
Instead of limiting the width of storyboards through CSS it is now done in the VTT directly.
2020-12-21Improve loggingsaltycrys
Everything that gets logged now has a log level associated with it. The log level can be set with the new `-l` or `--log-level` arguments. The defaul log level is `debug` for now. There aren't many things that get logged but if the logs get spammed in the future it can be set down to `info`.
2020-12-19Remove "Top" feed option from preferencessaltycrys
The Top feed used to be a feed based on YouTube ratings. Once YouTube removed publicly available ratings the Top feed was removed from Invidious but the option to display a link to it remained.
2020-12-19Improve DASH quality preferencesaltycrys
Besides `auto`, `best` and `worst` it is now possible to select a target height. If the target height is not available the closest lower height is selected.
2020-12-19Add DASH quality preferencesaltycrys
The options are `auto` (the current and default behavior), `best` and `worst`. The UI is only updated once playback starts.
2020-12-15Extract out User Preferences endpointsMatthew McGarvey
2020-12-14Set channel thumbnail as icon for feeds (#1106)Amanda Graven
2020-12-09Actually fix the icons of #1564 but for real this timeTheFrenchGhosty
2020-12-09Actually fix the icons of #1564 by using an icon that exist in ionicons v4TheFrenchGhosty
2020-12-09Fix the icons of #1564 and remove a useless lineTheFrenchGhosty
2020-12-09Update the cryptocurrency addresses and replace the Liberapay link with a ↵TheFrenchGhosty
link to the documentation (#1564) * Update the cryptocurrency address with newly created one * Replace the icon used for the donation address and link * Replace the word Monero with the word XMR * Replace the Liberapay placeholder with a link to the documentation
2020-12-08Extract login/signout routes from global fileMatthew McGarvey