Fijxu
6f0ed2a8b5
feat(routes): redirect to the backend selected at the time of downloading
Build and release container directly from master / release (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.0, true) (push) Waiting to run
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Waiting to run
Invidious CI / build-docker (push) Waiting to run
Invidious CI / build-docker-arm64 (push) Waiting to run
Invidious CI / lint (push) Waiting to run
2025-05-08 00:44:36 -04:00
Fijxu
3c5d37810d
Merge remote-tracking branch 'upstream/master'
2025-05-04 14:17:11 -04:00
Alex Maras
8fd0b82c38
feat: route to invidious companion on downloads ( #5224 )
2025-05-03 01:28:18 +02:00
Fijxu
7b072200f6
add support for i2p backends and onion numbered backends
Build and release container directly from master / release (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Has been cancelled
Invidious CI / build-docker (push) Has been cancelled
Invidious CI / build-docker-arm64 (push) Has been cancelled
Invidious CI / lint (push) Has been cancelled
2025-04-06 01:33:08 -04:00
Fijxu
5f1944925b
remove unused Content-Security-Policy generated on every request to watch end embed
2025-04-01 18:51:13 -03:00
Fijxu
d47aa3dd6a
feat: do all the backend balancing on the invidious side
...
This will make invidious easier to maintain and escalate without the need of an overcomplicated reverse proxy configuration and multiple invidious instances with each one with a different configuration (in this case, invidious companion)
2025-03-30 20:08:15 -03:00
Fijxu
626fb2d1a8
add option to disable livestreams since they don't work right now
Build and release container directly from master / release (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Has been cancelled
Invidious CI / build-docker (push) Has been cancelled
Invidious CI / build-docker-arm64 (push) Has been cancelled
Invidious CI / lint (push) Has been cancelled
2025-03-29 02:50:19 -03:00
Fijxu
db53ee21ee
Merge remote-tracking branch 'upstream/master'
Build and release container directly from master / release (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Has been cancelled
Invidious CI / build-docker (push) Has been cancelled
Invidious CI / build-docker-arm64 (push) Has been cancelled
Invidious CI / lint (push) Has been cancelled
2025-03-14 12:26:53 -03:00
Émilien (perso)
70ff463cc6
Add invidious companion support ( #4985 )
...
* add support for invidious companion
* redirect latest_version and dash manifest to invidious companion
* fix Shadowing outer local variable `response`
* fixing condition for Content-Security-Policy
* throw error if inv_sig_helper and invidious_companion used same time
* Use sample instead of Random.rand
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com >
* Remove debug puts functions
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com >
* modify the description for config.example.yaml about invidious companion
* move config checks for invidious companion
* separate invidious_companion logic + better config.yaml config
* fixing "end" misplacement
* fix linting + use .empty?
* crystal handle decompression already by itself
* fix download function when invidious companion used
* fix linting
* invidious companion always used so always add CSP and redirect latest_version
* apply all the suggestions + rework invidious_companion parameter
* format watch.cr
* fix ameba Redundant use of `Object#to_s` in interpolation
* add ability for invidious companion to check request from invidious
* Better document private_url and public_url
* Better doc for invidious_companion_key
* !empty? to present?
* skip proxy for invidious companion
* fixing format
* missing ,
* add companion pooling http
* fix: don't use http proxy when sending requests to companion
* fix: logic where we want to have the invidious logic if companion is not used
* chore: remove baseurl usage from invidious companion
* chore: change from inv-sig-helper to companion for required playback
* fix: use puts + add warning for inv-sig-helper deprecated
---------
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com >
2025-03-13 16:44:00 +01:00
Fijxu
d75d860888
Merge remote-tracking branch 'upstream/master'
Build and release container directly from master / release (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.12.1, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.13.2, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.14.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (1.15.0, true) (push) Has been cancelled
Invidious CI / build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }} (nightly, false) (push) Has been cancelled
Invidious CI / build-docker (push) Has been cancelled
Invidious CI / build-docker-arm64 (push) Has been cancelled
Invidious CI / lint (push) Has been cancelled
Stale issue handler / stale (push) Has been cancelled
2025-01-25 11:51:05 -03:00
Fijxu
f68d7bcbc7
Revert "Videos: Fix audio tracks language."
...
Reverting this commit before merging https://github.com/iv-org/invidious/pull/5149 from upstream
This reverts commit c61b2963ac .
2025-01-25 11:44:27 -03:00
syeopite
52daafe047
Videos: Fix missing host parameter on playback URLs when local=true ( #4992 )
2025-01-22 11:34:46 -08:00
Fijxu
391659780d
companion: move invidious-companion url CSP
2024-12-30 18:41:22 -03:00
Fijxu
f248024b65
Merge squash 'unixfox:invidious-companion':
...
commit a5acddefa92c454fced4a9176df10dc85efdb516
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Mon Dec 30 22:25:13 2024 +0100
missing ,
commit 84b87bedadbd4d35190b1f4d6b3e4fc1abf2440a
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Mon Dec 30 22:19:45 2024 +0100
fixing format
commit bfaf72b3038c3c8cad6d5e68f9f2ad3a49c2a9fc
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Mon Dec 30 21:52:34 2024 +0100
skip proxy for invidious companion
commit f550359ae941d84cdaee0a966ed332354ef18f42
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Mon Dec 30 21:52:07 2024 +0100
!empty? to present?
commit e9c354d5a34df636306b1819dd17fff9e01b1a1e
Author: Émilien (perso) <4016501+unixfox@users.noreply.github.com >
Date: Tue Dec 24 17:43:54 2024 +0000
Better doc for invidious_companion_key
commit 0dba7675a2c1d51988b3f2911a9fb3a1f91bae52
Author: Émilien (perso) <4016501+unixfox@users.noreply.github.com >
Date: Tue Dec 24 16:18:58 2024 +0000
Better document private_url and public_url
commit 1de20546182421e1280ec2b68c6d347abead7c54
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Fri Dec 13 20:08:57 2024 +0100
add ability for invidious companion to check request from invidious
commit ab72bbad7afb7d143883a7d0610145f68c06bac8
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Sun Dec 8 22:24:57 2024 +0100
fix ameba Redundant use of `Object#to_s` in interpolation
commit a571eeaa381523f5efb29dea0f5fe097f4f1252c
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Sun Dec 8 22:22:08 2024 +0100
format watch.cr
commit f710dd37bf4327748b43067d75025cc915b5639c
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Sun Dec 8 22:21:10 2024 +0100
apply all the suggestions + rework invidious_companion parameter
commit 7a070fa710b7807cdda061d413ca9369a0962353
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Mon Nov 18 12:30:37 2024 +0100
invidious companion always used so always add CSP and redirect latest_version
commit 1f51edd0b915ca64df7f195aa271f74c7ef093cb
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Mon Nov 18 12:22:23 2024 +0100
fix linting
commit 734e72503f88f9741279ab385e86f5d2b340c71b
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Sun Nov 17 19:18:29 2024 +0100
fix download function when invidious companion used
commit bb2e3b2a3e5f53610b9dd602f8507303ec641450
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Sun Nov 17 12:26:35 2024 +0100
crystal handle decompression already by itself
commit b51770dbdbdcca04d04849d37e5f11ce20948c73
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Sat Nov 16 23:00:48 2024 +0100
fix linting + use .empty?
commit 9f846127aea9b4f392acb062d662fff2cc58d1d0
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Sat Nov 16 22:38:00 2024 +0100
fixing "end" misplacement
commit 1aa154b9787eddcdee960d06aed4c1c91f17c1c3
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Sat Nov 16 22:33:28 2024 +0100
separate invidious_companion logic + better config.yaml config
commit ff3305d52175c517b035d79b3c0c6a84809cbd0f
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Fri Nov 8 21:05:17 2024 +0100
move config checks for invidious companion
commit 409df4cff3cc69c5565a12feb307441eed36f937
Author: Émilien (perso) <4016501+unixfox@users.noreply.github.com >
Date: Tue Nov 5 15:50:59 2024 +0100
modify the description for config.example.yaml about invidious companion
commit 27b24f51abcccd1c68f4dc1c29c0c62ca26e604c
Author: Émilien (perso) <4016501+unixfox@users.noreply.github.com >
Date: Tue Nov 5 15:31:45 2024 +0100
Remove debug puts functions
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com >
commit 1c9f5b0a2b38ad94fb8972764ffae98df1e41dc9
Author: Émilien (perso) <4016501+unixfox@users.noreply.github.com >
Date: Tue Nov 5 15:31:21 2024 +0100
Use sample instead of Random.rand
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com >
commit 2cc204a0457665f8e334970d7e54b1843a667ab6
Author: Emilien <4016501+unixfox@users.noreply.github.com >
Date: Fri Nov 1 21:30:58 2024 +0100
throw error if inv_sig_helper and invidious_companion used same time
commit c612423a4d64f0adbef135074fc55dcc1c362f84
Author: Emilien Devos <4016501+unixfox@users.noreply.github.com >
Date: Mon Oct 21 01:20:16 2024 +0200
fixing condition for Content-Security-Policy
commit 195446337159d2cb92b48510af7311fe0cc0f5bb
Author: Emilien Devos <4016501+unixfox@users.noreply.github.com >
Date: Sun Oct 20 23:53:08 2024 +0200
fix Shadowing outer local variable `response`
commit 73c84baf9fa6eaf9c5d4981bc199f81306ebe5a2
Author: Emilien Devos <4016501+unixfox@users.noreply.github.com >
Date: Sun Oct 20 23:51:00 2024 +0200
redirect latest_version and dash manifest to invidious companion
commit 3dff7a76cf9f64ec70aac0a057a3b0bfa1edfc82
Author: Emilien Devos <4016501+unixfox@users.noreply.github.com >
Date: Sun Oct 20 02:10:55 2024 +0200
add support for invidious companion
2024-12-30 18:31:52 -03:00
Fijxu
3615bbd893
Remove user supplied po_token and visitor_data
2024-11-16 12:07:05 -03:00
Samantaz Fox
aa33d9b7ec
Videos: Fix missing host parameter on playback URLs when local=true
2024-11-10 18:13:30 +01:00
Fijxu
91c9cd45a4
Update CI
2024-11-09 23:37:58 -03:00
Fijxu
b953dc1ce7
Videos: Add support for OpenGraph videos
...
To support OpenGraph clients like Discord and other platforms able to
pull the video from the OpenGraph metadata.
2024-11-09 23:37:58 -03:00
Fijxu
c61b2963ac
Videos: Fix audio tracks language.
...
Video will only return the default language. The rest of the audio
tracks are deleted since they will not be used.
2024-10-30 13:14:54 -03:00
Samantaz Fox
dbdf2ad23a
Routes: Simplify actions in watch_ajax
2024-10-29 18:27:53 +01:00
Fijxu
3afac4d842
Tokens: Option to disable user tokens.
2024-10-25 10:36:20 -03:00
Samantaz Fox
fb3ecdad9a
Videos: Fix missing host parameter on playback URLs when local=true
2024-10-09 16:15:50 +02:00
Fijxu
8dc0a67be3
Feat: User supplied po_token and visitor_data
2024-10-11 16:50:21 -03:00
Fijxu
eff8673efc
Feat: Experimental support for external videoplayback proxies
2024-10-08 18:59:01 -03:00
Fijxu
8f46bd5751
Feat: Add resolution limit
2024-09-15 01:06:33 -03:00
ChunkyProgrammer
7da4a7f72b
add null safety to clip parsing
2023-12-26 22:05:09 -05:00
ChunkyProgrammer
b344d98c25
Add API endpoint for Clips
2023-12-07 09:39:04 -05:00
ChunkyProgrammer
8c22e6a640
use start time and endtime for clips
2023-12-07 09:39:03 -05:00
Samantaz Fox
2456b62936
Frontend: Add timestamp on invidious embed links
2023-09-14 22:27:36 +02:00
Samantaz Fox
df85265453
Comments: Move link utility functions to own file + module
2023-05-25 22:53:53 +02:00
Samantaz Fox
de78848039
Comments: Move 'template_reddit' function to own file + module
2023-05-25 22:53:53 +02:00
Samantaz Fox
634e913da9
Comments: Move 'fetch_reddit' function to own file + module
2023-05-25 22:53:53 +02:00
Samantaz Fox
1b25737b01
Comments: Move 'fetch_youtube' function to own file + module
2023-05-25 22:53:53 +02:00
Brahim Hadriche
8445d3ae12
Fix watch history order
2023-02-19 19:01:28 -05:00
Émilien Devos
98301a2237
Add ability to disable all user notifications ( #3473 )
2023-01-05 23:08:05 +00:00
Samantaz Fox
d659a451d6
videos: remove unused 'VideoRedirect' exception
2022-10-31 20:09:04 +01:00
Émilien Devos
c201ea53ba
Add 404 status code on all possible endpoints
2022-05-27 14:06:38 +00:00
Samantaz Fox
32be373552
Invert title & video ID in downloaded file name
...
Fixes a regression of #2922
Issue reported by email
2022-05-19 23:16:51 +02:00
Samantaz Fox
81ca205caa
Fix download of captions
2022-05-07 15:34:56 +02:00
Samantaz Fox
575b039170
Merge pull request #2922 from SamantazFox/download-widget-fix
...
Download widget fix
2022-02-24 22:53:06 +01:00
Samantaz Fox
004e371051
Don't double-encode file title
2022-02-24 22:37:54 +01:00
Le Jester
897f871f99
Make the history recording optional.
2022-02-23 13:03:21 +01:00
Samantaz Fox
2f335b3d2c
Use a dedicated endpoind for downloads
...
This allows us to not pass file name ("title") in the form
data and to enforce some sanity checks
2022-02-23 13:00:30 +01:00
Samantaz Fox
fe057c7873
Make a function that builds the download widget's HTML
2022-02-22 17:42:41 +01:00
Samantaz Fox
4e44a91d08
Add support for clips
2022-02-02 00:41:02 +01:00
matthewmcgarvey
d755d05f88
Move more routes to new pattern
2022-01-25 19:10:18 -06:00
Samantaz Fox
d74873fed1
Clean useless database arguments (4/5)
2022-01-04 17:15:43 +01:00
Samantaz Fox
7691f53520
Move DB queries related to 'users' in a separate module (2/2)
2022-01-04 17:15:43 +01:00
Samantaz Fox
094f835642
Move DB queries related to 'users' in a separate module (1/2)
2022-01-04 17:13:52 +01:00
Samantaz Fox
139786b9ef
i18n: pass only the ISO code string to 'translate()'
...
Don't use the whole Hash everywhere.
Also fall back nicely to english string if no translation exists.
2021-11-21 01:50:11 +01:00