summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2020-12-08Merge pull request #1551 from saltycrys/add-embed-linkTheFrenchGhosty
Add embed link to watch page
2020-12-08Add YT embed link to watch pagesaltycrys
2020-12-08Merge pull request #1552 from azhao-squareup/masterTheFrenchGhosty
do not proxy hls livestrem on supported browser
2020-12-08do not proxy hls on supported browserAndrew Zhao
2020-12-08Add embed link to watch pagesaltycrys
2020-12-07Fix Invidious playlist continuationsaltycrys
Playing a video in a Invidious playlist now correctly redirects to the next video. The problem was that the offset was updated in the wrong place.
2020-12-07Merge pull request #1544 from schwukas/fix-youtube-subscription-importTheFrenchGhosty
Fix youtube subscription import
2020-12-07Update link to instructionsLukas
2020-12-07Fix #1516 Document is emptyLukas
2020-12-06Fix YouTube subscription import parserLukas
2020-12-06Add temporary link to subscription export instructionsLukas
2020-12-06Increase YouTube request timeout (#1540)saltycrys
Increase YouTube request timeout
2020-12-06Merge pull request #1539 from saltycrys/fix-commentsTheFrenchGhosty
Fix comments
2020-12-06Fix commentssaltycrys
The YouTube headers are now always added for requests to YouTube. Previously they were only added for requests going through QUIC. The session token is now JSON decoded to unescape escaped Unicode characters. The comment continuation protobuf has been updated and the request now goes through the YouTube `pbj` JSON API.
2020-12-05Fix invidious version for docker imageSonic-Y3k
As Alpine-Linux per default uses the busybox date command, the -f option is not available and the build will fail.
2020-12-04Merge pull request #1529 from saltycrys/fix-versionTheFrenchGhosty
Fix invidious version for old git versions
2020-12-04Fix invidious version for old git versionssaltycrys
The `%cs` format was only added to git in version 2.25 while `%ci` has been around forever.
2020-12-03Merge pull request #1525 from saltycrys/fix-video-descriptionsTheFrenchGhosty
Fix `extract_polymer_config`
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-01Extracting search endpointsMatthew McGarvey
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-30fix: channel info parsingThéo Gaillard
2020-11-30Fix formatting of #1504TheFrenchGhosty
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-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-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-15Remove duplicate Referrer-PolicyÉmilien Devos
2020-11-12Merge branch 'master' into patch-1Perflyst
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-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-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-02Extract /watch route from main fileMatthew McGarvey
2020-11-01Fix stale playlist video counting on add/drop ↵Ray Cheung
(https://github.com/iv-org/invidious/issues/1448) The return of `cardinality()` is not affected by the `array_append()` and `array_remove()` of the same statement.