Wykres commitów

5673 Commity (7d1715a207e8153b36a2d5e7f181c141c4a924f5)

Autor SHA1 Wiadomość Data
Sunghyun Kim 7d1715a207
Merge 2b312a1ec5 into f9cf70f9d7 2025-09-12 06:12:10 +07:00
Fijxu f9cf70f9d7
Add default playlist preference (#5449)
* Add default playlist preference

Closes https://github.com/iv-org/invidious/issues/5421

* Add option to set default playlist to none

* Move it to player preferences
2025-09-11 11:05:09 -03:00
Émilien (perso) 14a629a4e8 Better documentation for the specific case public_url with companion 2025-09-11 11:19:40 +02:00
dependabot[bot] 9e160d45d3 Bump actions/stale from 9 to 10
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9...v10)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: '10'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 23:36:07 +02:00
Fijxu ba02a4cdf5
Prevent player microformat from being overwritten by the next microformat (#5453)
* Prevent player microformat from being overwritten by the next microformat

Closes https://github.com/iv-org/invidious/issues/5443

The player microformat is what we need to get the published date,
premiere timestamp, allowed regions and more information of the video.

Youtube introduced a new `microformat.microformatDataRenderer` in the
next endpoint which overwrote the player microformat
`microformat.playerMicroformatRenderer` when merged

* Update src/invidious/videos/parser.cr

Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>

---------

Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2025-09-08 17:16:22 -03:00
Emilien cf2dfbb75d chore: remove debug 2025-09-08 21:34:47 +02:00
Emilien 21c13bba9d chore: use api captions from companion when available 2025-09-08 21:34:47 +02:00
syeopite 5e9d51c06e Refactor `FilteredCompressHandler` to inherit from stdlib
This changes its behavior to align with the stdlib variant in that
compression is now delayed till the moment that the server begins to
send a response.

This allows the handler to avoid compressing empty responses,and
safeguards against any double compression of content that may occur
if another handler decides to compressi ts response.

This does however come at the drawback(?) of it now removing
`content-length` headers on requests if it exists; since compression
makes the value inaccurate anyway.

See: https://github.com/crystal-lang/crystal/pull/9625
2025-09-08 21:34:47 +02:00
Emilien 1653dd629e fix formatting 2025-09-08 21:34:47 +02:00
Emilien cba2adc6ef fix csp + progress proxy + allow omit public_url 2025-09-08 21:34:47 +02:00
Emilien 42b955d713 chore: add the suggestions 2025-09-08 21:34:47 +02:00
Emilien 324a416fd4 initial support for base_url with invidious companion + proxy invidious_companion 2025-09-08 21:34:47 +02:00
Fijxu 89c8b1b901
CI: fix wrong if statement for build-docker job (#5442) 2025-09-02 16:57:29 +02:00
syeopite fd8dc93569
Show message when connection to the database is not possible (#5346) 2025-08-23 04:04:06 -07:00
syeopite 67f93e55d8
Fix "ex" variable collision in invidious.cr
The exception handling for database connections results in an
`ex` variable which Ameba sees as overshadowing the `ex` used by the
`ex` block arg used to define the HTTP status code 500 handler below.

Although this is a non-issue since the db connection exception handling
will cause Invidious to exit, Ameba's nature as a static checker means
that it isn't aware of this.

The simplest fix without a dirty ameba ignore comment is to rename `ex`
within the Kemal handler block below, since `ex` within a begin rescue
block is a Crystal convention that will also cause Ameba to raise when
not adhered to.
2025-08-23 03:35:59 -07:00
syeopite f35f529adc
Videos: Fix missing .id to retrieve first playlist video ID (#5366) 2025-08-23 03:30:00 -07:00
syeopite b32b077a80
Player: Persist caption settings (#5417) 2025-08-23 03:29:07 -07:00
syeopite 6badb80082
Channels: Fix fetching channel playlists (#5418) 2025-08-23 03:26:49 -07:00
syeopite 15099ac1dd
Frontend: Fix notification count of `TRUE` (#5391) 2025-08-23 03:26:11 -07:00
syeopite adc83f1c09
Documentation: Fix typo (effet -> effect) (#5369) 2025-08-23 03:23:42 -07:00
syeopite 41e0e77d33
HTML: Add Missing Noreferrers (#5368) 2025-08-23 03:23:05 -07:00
syeopite 9ebc76462f
Channels: Fix fetching of individual community posts (#5361) 2025-08-23 03:20:04 -07:00
syeopite 0308acb624
Videos: Add fallback to TvSimply client (#5345) 2025-08-23 03:18:41 -07:00
syeopite cac2397494
YTAPI: Add `TvSimply` client (#5344) 2025-08-23 03:17:28 -07:00
syeopite cf640d808e
YtAPI: Bump client versions (#5325) 2025-08-23 03:16:55 -07:00
syeopite 80ec027c8f
CI: Fix docker ci job not checking if Invidious starts successfully or not (#5306) 2025-08-23 03:16:32 -07:00
syeopite 6f5f0dceca
CI: Use public ARM64 Github actions runners for ARM64 builds (#5305) 2025-08-23 03:16:05 -07:00
syeopite a8ab7b61f7
Player: Add keyboard shortcuts to configure captions (#5188) 2025-08-23 03:15:28 -07:00
Kristian Vos dd8086e6d9
fix: fetching channel playlists returned 500 error 2025-08-13 15:43:54 +02:00
Eugene Pakhomov 875d8e7e41 Persist caption settings 2025-08-13 14:39:58 +03:00
dependabot[bot] 1ae0f45b0e
Bump actions/checkout from 4 to 5 (#5415)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 15:06:16 +02:00
Sunghyun Kim 2b312a1ec5 feat: Add configurable max_request_line_size to handle long URLs
This commit adds a new configuration option `max_request_line_size` that allows
users to increase the HTTP request line size limit. This is particularly useful
for handling very long continuation tokens that can cause 414 (URI Too Long) errors.

Changes:
- Add `max_request_line_size` property to Config class
- Configure Kemal server to use the custom limit if specified
- Document the option in config.example.yml with recommendations
- Add examples in docker-compose.yml for both YAML and env var configuration

The default behavior remains unchanged (8KB limit) unless explicitly configured.
This provides a solution for users experiencing 414 errors without affecting
existing installations.
2025-07-21 13:05:23 +09:00
fieryhenry 3335bc8c38
Get a count of 0 if STORAGE_KEY_NOTIF_COUNT is not present in storage
Not sure if this is necessary as I think it should always be present in storage, but just in case it isn't
2025-07-18 19:07:41 +00:00
fieryhenry a84bb1d22e
Fix `TRUE` number of notifications
`update_ticker_count` used to use STORAGE_KEY_STREAM to get the number of notifications which is a boolean value, now it uses STORAGE_KEY_NOTIF_COUNT which is an integer
2025-07-18 19:02:50 +00:00
epicsam123 24252b836c
add back semicolon 2025-06-30 22:38:30 -04:00
Nami Sunami 227c041b86
fix(config.example.yml): Fix typo (effet -> effect) 2025-06-28 11:38:31 +02:00
ChunkyProgrammer 803311713d make `sort_by` code more legible 2025-06-27 11:38:08 -04:00
epicsam123 64ac3b5203
add missing noreferrers 2025-06-26 18:40:06 -04:00
Samantaz Fox b0c9f87fbe
Fix missing .id to retrieve first playlist video ID
This was missed in the review of PR 5196
2025-06-26 19:09:52 +00:00
ChunkyProgrammer f8febbe2b2 format changes 2025-06-25 23:53:07 -04:00
ChunkyProgrammer 436f955e0f update fetch_community_post_comments protobuf to match currently used protobuf, add sort_by option 2025-06-25 23:34:30 -04:00
ChunkyProgrammer 4155f15bf7 update resolve_url api to better support new post endpoint 2025-06-25 23:33:28 -04:00
ChunkyProgrammer b9171d9dab Update protobuf for individual community post 2025-06-25 22:35:16 -04:00
ChunkyProgrammer f3f6937ffc Fix community tab not loading 2025-06-25 22:22:30 -04:00
Fijxu 8723fdca06
Update src/invidious.cr
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2025-06-21 12:02:32 -04:00
Fijxu d51e1cb051
remove fallback to TV client 2025-06-15 17:45:53 -04:00
Fijxu cf0a68bd77
store adaptiveFormats data into a variable 2025-06-15 17:43:07 -04:00
Fijxu 8cd9d53fb1
show message when connection to the database is not possible 2025-06-12 18:44:01 -04:00
Fijxu 01cdb384e0
add suggestions from syeopite 2025-06-12 17:25:19 -04:00
Fijxu b1e7e0c45e
replace url by signatureCipher if url is not present 2025-06-12 16:18:01 -04:00