Commit Graph

4030 Commits

Author SHA1 Message Date
Samantaz Fox
b4674ffae4
jobs: Allow each job to have its own config
Each job can define its own config options, that will be automatically
added to the global YAML config structure.

By default, all jobs get an "enable" property that can prevent a specific
job from running, e.g if the instance admin wants to manage the database
cleaning by themselves.
2022-10-03 22:51:37 +02:00
Samantaz Fox
d6a7df3adc
Jobs: add hourly cleaning of expired nonces/cached videos 2022-09-01 00:13:32 +02:00
Émilien Devos
a7d9df5516
add check video id for android client too (#3280) 2022-08-25 10:39:10 +02:00
Samantaz Fox
16b23efb4f
Throw error if the returned videoID is different (#3278) 2022-08-23 21:59:22 +02:00
Émilien Devos
389e49183c throw error if the videoID returned is different 2022-08-23 19:34:54 +00:00
Samantaz Fox
4c1a5f84fa
Fix prefs cookies in player (#3276) 2022-08-22 16:16:50 +00:00
Samantaz Fox
b0bb156918
Adapt StaticFileHandler for Crystal 1.6 (#3269) 2022-08-17 21:34:01 +02:00
Samantaz Fox
5565204273
StaticFileHandler: use HTTP::Status rather than integers 2022-08-15 13:22:39 +02:00
Samantaz Fox
d950a0ef5d
StaticFileHandler: Adapt for Crystal 1.6
See:
 - https://github.com/crystal-lang/crystal/pull/12310
 - https://github.com/kemalcr/kemal/pull/644
2022-08-15 13:22:27 +02:00
Samantaz Fox
b2c0f7efc3
Fix missing hash key: "toggleButtonRenderer" (issue #3260) 2022-08-15 10:34:52 +02:00
Samantaz Fox
9e58bc19c4
Fix #3265 2022-08-13 20:23:45 +02:00
Samantaz Fox
0d7e2afba4
Merge pull request #3261 from SamantazFox/routing-cleanup 2022-08-13 15:15:15 +02:00
Samantaz Fox
e0d063d306
Merge pull request #3197 from weblate/weblate-invidious-translations 2022-08-13 15:14:18 +02:00
Hosted Weblate
ed0ad587dc
Update Indonesian translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: uwu as a service <okayokokay@protonmail.com>
2022-08-11 01:03:47 +02:00
Hosted Weblate
56fe591eee
Update Portuguese (Portugal) translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Tmpod <tmpod@pm.me>
2022-08-11 01:03:47 +02:00
Hosted Weblate
7b9693bca4
Update German translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Pixelcode <pixelcode@dismail.de>
2022-08-11 01:03:47 +02:00
Hosted Weblate
fd0417b14c
Update Greek translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: THANOS SIOURDAKIS <siourdakisthanos@gmail.com>
2022-08-11 01:03:46 +02:00
Hosted Weblate
89c12f2585
Update Italian translation
Co-authored-by: atilluF <atilluf@outlook.com>
2022-08-11 01:03:46 +02:00
Hosted Weblate
5c71adb137
Update Norwegian Bokmål translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
2022-08-11 01:03:46 +02:00
Hosted Weblate
4c23062d1e
Update Arabic translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Rex_sa <rex.sa@pm.me>
2022-08-11 01:03:46 +02:00
Hosted Weblate
190b45086c
Update Russian translation
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Егор Ермаков <eg.ermakov2016@yandex.ru>
2022-08-11 01:03:46 +02:00
Hosted Weblate
008983c8e3
Update Sinhala translation
Update Sinhala translation

Add Sinhala translation

Co-authored-by: DilshanH <ntpghiran@hotmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
2022-08-11 01:03:46 +02:00
Samantaz Fox
cb8a375c5e
routing: Directly call Kemal's add_route function 2022-08-10 20:50:49 +02:00
Samantaz Fox
848a60aa9b
routes: remove useless 'locale' variable in error 505 handler 2022-08-10 01:01:31 +02:00
Samantaz Fox
88ea794fdb
routes: move error 404 logic to its own module 2022-08-10 01:00:44 +02:00
Samantaz Fox
870350fd61
routes: move before_all logic to its own module 2022-08-10 00:55:58 +02:00
Samantaz Fox
1e25894f7e
routing: move the remaining routes registration to a wrapper function 2022-08-10 00:48:09 +02:00
Samantaz Fox
223e74569a
routing: move feed routes registration to Invidious::Routing 2022-08-10 00:46:35 +02:00
Samantaz Fox
0a4d793556
routing: move search routes registration to Invidious::Routing 2022-08-10 00:31:15 +02:00
Samantaz Fox
5503914abe
routing: move playlist routes registration to Invidious::Routing 2022-08-10 00:26:41 +02:00
Samantaz Fox
906466d7fb
routing: move watch/embed routes registration to Invidious::Routing 2022-08-10 00:22:40 +02:00
Samantaz Fox
e2532de766
routing: move image proxy routes registration to Invidious::Routing 2022-08-10 00:20:04 +02:00
Samantaz Fox
3ac4390d11
routing: move channel routes registration to Invidious::Routing 2022-08-10 00:14:26 +02:00
Samantaz Fox
389ae7a573
routing: register playback routes with a function, rather than a macro 2022-08-10 00:10:29 +02:00
Samantaz Fox
176247091d
routing: register API routes with a function, rather than a macro 2022-08-10 00:07:47 +02:00
Samantaz Fox
e22cc73f32
routing: register user routes with a function, rather than a macro 2022-08-09 23:56:34 +02:00
Samantaz Fox
c23ad25899
routing: remove HEAD from HTTP methods
Kemal automatically creates an associated HEAD route for all GET routes
2022-08-09 23:39:53 +02:00
Samantaz Fox
9cc0418769
Merge pull request #3249 from iv-org/improve-extractor 2022-08-07 21:58:17 +02:00
Samantaz Fox
925a2c8e77
Merge pull request #3253 from amarakon/master 2022-08-07 21:54:40 +02:00
Samantaz Fox
390734d86e
Merge pull request #3255 from iv-org/fix-content-not-available 2022-08-07 21:40:57 +02:00
Emilien Devos
218f7be1a7 For android client send sdk version to youtube 2022-08-07 21:37:11 +02:00
Emilien Devos
246955b68a if case for sectionListRenderer 2022-08-07 10:31:42 +02:00
amarakon
d24506baed Add Ytfzf to projects using Invidious 2022-08-06 20:42:08 -04:00
Samantaz Fox
b0be2237fa
Merge pull request #3248 from iv-org/fix-cookies 2022-08-07 01:33:11 +02:00
Samantaz Fox
945394fb1a
Merge pull request #3252 from SamantazFox/bump-ytapi-clients 2022-08-07 01:15:49 +02:00
Samantaz Fox
19886f71f5
Merge pull request #3250 from iv-org/fix-cookies 2022-08-07 00:52:30 +02:00
Samantaz Fox
23855c09dc
Remove 'screen' where not required 2022-08-07 00:37:09 +02:00
Samantaz Fox
618ab01cd7
Add TVHtml5 client 2022-08-07 00:36:22 +02:00
Samantaz Fox
349d90b60e
Add IOS clients 2022-08-07 00:32:26 +02:00
Samantaz Fox
9e7c2dcdbb
Move the default API key to a constant for clarity 2022-08-06 23:49:36 +02:00