summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-12-03Merge pull request #1525 from saltycrys/fix-video-descriptionsTheFrenchGhosty
Fix `extract_polymer_config`
2020-12-03Merge pull request #1526 from saltycrys/fix-redirect-channelsTheFrenchGhosty
Fix redirect channels
2020-12-03Fix redirect channelssaltycrys
Redirect channels may use JS to redirect now, instead of only a response header as it used to be. This fix reads the channel to redirect to from `ytInitialData`.
2020-12-03Fix `extract_polymer_config`saltycrys
The `ytInitialPlayerResponse` regex can now handle `var` and `window` assignments. The video streams can now be extracted from `player_response` and `initial_data`. This fixes the descriptions on videos and videos themselves. Videos are technically broken right now, but work becasue of a fallback that goes through embeds.
2020-12-02Better message for the Stale actionTheFrenchGhosty
2020-12-02Replace the Stale bot with a Github action because it has been reported as deadTheFrenchGhosty
2020-12-02Merge pull request #1520 from matthewmcgarvey/extract-search-endpointsTheFrenchGhosty
Extracting search endpoints from global file
2020-12-02Update the Stale bot config with a 1 month delay between mark and closeTheFrenchGhosty
2020-12-02Add the Stale bot configTheFrenchGhosty
2020-12-01Extracting search endpointsMatthew McGarvey
2020-12-01Merge pull request #1513 from saltycrys/improve-error-message-2TheFrenchGhosty
Improve error message 2
2020-12-01Improve error message 2saltycrys
Electric Boogaloo The long backtrace has been moved into a `<details>` HTML element, as suggested by @B0pol. To make the error still visible it has been added to the top under `Title:`. This also encourages informative issue titles.
2020-12-01Switch to date based versioning schemesaltycrys
Since no new tags are created for releases the version has been frozen for some time, with only the commit hash changing. Versions based on the latest commit date make it much easier to identify them.
2020-11-30Update the readme with links to the new documentation repositoryTheFrenchGhosty
2020-11-30Merge pull request #1506 from tirz/fix-channel_parsingTheFrenchGhosty
fix: channel info parsing
2020-11-30fix: channel info parsingThéo Gaillard
2020-11-30Remove the donation link from the readmeTheFrenchGhosty
2020-11-30Fix formatting of #1504TheFrenchGhosty
2020-11-30Merge pull request #1504 from saltycrys/improve-error-messageTheFrenchGhosty
Improve error message
2020-11-30Improve error messagesaltycrys
The error message has been reworded and the issue template now includes the date, route, version and backtrace.
2020-11-30Remove backtrace on YouTube errorsaltycrys
YouTube returning an error is not a bug in Invidious, so it should not print a backtrace.
2020-11-30Add backtraces to errors (#1498)saltycrys
Error handling has been reworked to always go through the new `error_template`, `error_json` and `error_atom` macros. They all accept a status code followed by a string message or an exception object. `error_json` accepts a hash with additional fields as third argument. If the second argument is an exception a backtrace will be printed, if it is a string only the string is printed. Since up till now only the exception message was printed a new `InfoException` class was added for situations where no backtrace is intended but a string cannot be used. `error_template` with a string message automatically localizes the message. Missing error translations have been collected in https://github.com/iv-org/invidious/issues/1497 `error_json` with a string message does not localize the message. This is the same as previous behavior. If translations are desired for `error_json` they can be added easily but those error messages have not been collected yet. Uncaught exceptions previously only printed a generic message ("Looks like you've found a bug in Invidious. [...]"). They still print that message but now also include a backtrace.
2020-11-28Merge pull request #1479 from saltycrys/theme-flashTheFrenchGhosty
Apply dark theme immediately
2020-11-28Update logrotate configuration command (#1500)Andre Borie
Using sudo with `echo ... | tee /path/to/file` doesn't make sense, as the command requiring the superuser privileges is the `tee` command and not the echo.
2020-11-26Merge pull request #1490 from tirz/fix-regex_parsingTheFrenchGhosty
fix: ytInitialData parsing with regex
2020-11-26revert: remove 'JSON.parse("'Théo Gaillard
2020-11-26feat: centralize ytInitialData parsingThéo Gaillard
2020-11-26fix: ytInitialData parsing with regexThéo Gaillard
2020-11-20Merge pull request #1482 from matthewmcgarvey/extract-playlist-routesTheFrenchGhosty
Extract playlist routes from global file
2020-11-20allow to set a custom anti-captcha api url (#1473)Émilien Devos
2020-11-19Extract playlist routes from global fileMatthew McGarvey
2020-11-19Merge pull request #1477 from saltycrys/empty-preference-valuesTheFrenchGhosty
Fill empty preference values
2020-11-18Fix CSS specificity issuessaltycrys
2020-11-17Move themes into default.csssaltycrys
Now that themes are controlled with a class instead of setting media="none" on the stylesheet link and both themes already being duplicated in default.css for the automatic themeing it makes sense to have all theme related CSS in the same place. This commit also fixes the missing dark theme on embeds.
2020-11-16Apply dark theme immediatelysaltycrys
Themes are now controlled with a class on the body element. If a preference is set the body element will have either "dark-theme" or "light-theme" class. If no preference is set or the preference is empty the class will be "no-theme". "dark-theme" and "light-theme" are handled by darktheme.css and lighttheme.css respectively. "no-theme" is handled by default.css where depending on the value of "prefers-color-scheme" the styles corresponding to "dark-theme" or "light-theme" are applied. Unfortunately this means that both themes are duplicated, once in the theme .css and once in default.css.
2020-11-16Fill empty preference valuessaltycrys
2020-11-15Merge pull request #1476 from unixfox/patch-1Perflyst
Remove duplicate Referrer-Policy
2020-11-15Remove duplicate Referrer-PolicyÉmilien Devos
2020-11-12Merge pull request #919 from edumoreira1506/feature/add-buttons-top-pagePerflyst
Add Previous/Next page buttons at the top of the page
2020-11-12Merge pull request #1465 from saltycrys/storyboardsPerflyst
Update videojs-vtt-thumbnails to latest upstream version and improve storyboard display
2020-11-12Remove double empty linesaltycrys
2020-11-12Fix missing videos tab on some channels (#1462)Johnquai
* Fix missing videos tab on some channels * Fixed formatting Co-authored-by: Linux User <user@localhost.local>
2020-11-08Improve storyboard displaysaltycrys
2020-11-08Update videojs-vtt-thumbnails to latest upstream versionsaltycrys
Note that the latest version on NPM is over two years old so this was built from source.
2020-11-08Merge pull request #1459 from matthewmcgarvey/embed-routesPerflyst
Extract embed routes into separate classes
2020-11-08Update README.md (#1461)Stefan Haan
Update README.md
2020-11-07FormattingMatthew McGarvey
2020-11-06Extract embed routes into separate classesMatthew McGarvey
2020-11-03Merge pull request #1449 from raycheung/masterPerflyst
Fix stale playlist video counting on add/drop (#1448)
2020-11-03Merge pull request #1453 from matthewmcgarvey/extract-watch-routePerflyst
Extract /watch route from main file