Commit Graph

3256 Commits (3bb7fbb2f119790ee6675076b31cd990f75f64bb)
 

Author SHA1 Message Date
syeopite 5005212bec
Extract feed routes (#2269)
* Extract feed routes from invidious.cr
* Removes the deprecated route for /feed/top
* Deprecate /view_all_playlist & use /feed/playlists
* Move feed views into their own directory

* Add haltf method to halt current route context
* Change status_code + return blocks to use haltf

* Set appropriate response headers for RSS routes
3 years ago
Émilien Devos a279d6f433
Fix livestream parsing URLs (#2356) 3 years ago
Emilien Devos 5c74196f60 remove docker cache on the CI test 3 years ago
Emilien Devos 33724d40a8 moved APKBUILD files to iv-org/lsquic.cr/docker
and remove docker cache
3 years ago
Emilien Devos d78e5281fe use pre-compiled lsquic docker image
from https://quay.io/repository/invidious/lsquic-compiled
fixes #2325
3 years ago
syeopite fceb8093f1
Use `athena-negotiation` to detect language through Accept-Language header (#2324)
Detect language through Accept-Language header
3 years ago
syeopite d984a898d4
Remove usage of haltf in /api/v1/channels/:ucid/comments 3 years ago
syeopite 52688106e4
Fix /api/v1/search/suggestions route link 3 years ago
syeopite 66b45a8fe2
Bountiful changes
- Use haltf in more locations
 - Fix wrong URL params
 - Rename API modules
 - Remove API routing file and move everything to general iv routing
   file
3 years ago
TheFrenchGhosty 0db23f9252
Merge pull request #2332 from weblate/weblate-invidious-translations
Translations update from Weblate
3 years ago
Rex_sa 23b2abc273
Update Arabic translation 3 years ago
Gediminas Murauskas 0350d0784a
Update Lithuanian translation 3 years ago
Luna Jernberg 83219a499c
Update Swedish translation 3 years ago
phlostically 3f4d5bc85c
Update Esperanto translation 3 years ago
Jorge Maldonado Ventura 83b790950c
Update Spanish translation 3 years ago
Tsuki 16b10ec3d7
Update Polish translation 3 years ago
syeopite 1d4dd4484d
Add cache(?) to arm docker build (#2337)
* Add cache(?) to arm docker build

* Update ci.yml
3 years ago
Émilien Devos 8bd2669d3d
Update lock inactive days (#2331) 3 years ago
Émilien Devos b5d2eb5c70
fetch with innertube api when video is unavailable (#2329)
+ rename some client type to better names
+ fix thirdParty hack
3 years ago
syeopite 25362f16a0
Readd paid attribute for videos (#2330) 3 years ago
syeopite 39b34eece8
Extract API routes from invidious.cr (3/3)
- Auth (excluding notifications*) APIs
- Mixes

*Notifications currently require the "connection_channel" channel
for talking with the notifications job. Unfortunately, we cannot
access that within the route modules yet.
3 years ago
syeopite b3426fdc94
Restructure API routes to use more namespaces 3 years ago
syeopite 6aa65593ef
Extract API routes from invidious.cr (2/?)
- Video playback endpoints
- Search feed api
- Video info api
3 years ago
syeopite 66becbf46f
Restructure API route organisation 3 years ago
syeopite cbf3d75087
Extract API routes from invidious.cr (1/?) 3 years ago
syeopite 0b0036813f
Remove deprecated APIs
- insights
- top feed
3 years ago
Émilien Devos c06a20e085
Switch to innertube API for videos (#2220)
Commit history:
- Switch to innertube API for videos
- fix hardcoded strings + fix bypass geo-restriction
3 years ago
Émilien Devos c60fccd7f6
Update crystal docker image to 1.1.1 3 years ago
syeopite 46f8b04e40
Revert "bump crystal docker image version +"
This reverts commit f2b69fd812.

Crystal 1.1.0 is not supported by Invidious due to upstream issue. See
crystal-lang/crystal#10972
3 years ago
Émilien Devos 12b46bbd41
switch to innertube API for about channels (#2255) 3 years ago
Emilien Devos f2b69fd812 bump crystal docker image version +
use alpine:edge docker image in order to use crystal 1.1.1
3 years ago
Samantaz Fox 0aae728e33
Fix "fatal role postgres doesn't exist" (#2296)
* Fix "fatal role postgres doesn't exist" 

Fix a frequent error with recent postgres docker images:
`FATAL:  role "postgres" does not exist`

* Use $$VAR so it's expanded by the shell, not docker
3 years ago
syeopite cea38de4ad
Check for existance of "adaptiveFormats" in videos
Combined from commits:
- Check for existance of "adaptiveFormats" in videos
- Remove usage of ternary conditional
3 years ago
TheFrenchGhosty 3e4fab7070
Merge pull request #2323 from unixfox/fix-comments
Fix comments - related to #2322
3 years ago
Emilien Devos 6745ca7775 fix comments using dig 3 years ago
Émilien Devos 88c5e3b6fa
Use the new youtube api for comments (#2217)
* use the new youtube api for comments
* remove PG_DB & action parameter + allow force region
* support new comments data with onResponseReceivedEndpoints
3 years ago
syeopite 2fdb2c7c9a
Exempt "blocked" PRs from being marked as stale (#2321) 3 years ago
syeopite 7afa027b95
Switch routing logic to use modules (#2298)
* Switch routing logic to use modules
* Add more macros for adding routes of different HTTP methods
3 years ago
syeopite 637a5cc14f
Add CI for testing arm64 docker (#2315)
* Add CI for testing build of docker-arm64

* Add specs check to dockerfiles
3 years ago
syeopite 81e77693b2
Merge pull request #2294 from weblate/weblate-invidious-translations
Translations update from Weblate
3 years ago
Reza Almanda d49f884f69
Update Indonesian translation 3 years ago
Rex_sa 34eeb29436
Update Arabic translation 3 years ago
William Weber Berrutti 0495347c64
Update Portuguese (Brazil) translation 3 years ago
Lee Woong Jae 023f9b44d3
Update Korean translation 3 years ago
Hin Weisner 5248814053
Update Spanish translation 3 years ago
syeopite 7ddab5b8cd
Don't run CI on locale only changes (#2306) 3 years ago
syeopite a26adb162c
Bump Crystal 1.1.0 to 1.1.1 3 years ago
Caspian Baska ef5df36a8a
Add nightly crystal to CI matrix (#2264)
* Add nightly crystal to a spec matrix

This project is very large and serves as a great test bed for breakages
in nightly builds of crystal

* Order crystal version in CI matrix

* Add daily CI runs
3 years ago
TheFrenchGhosty 9b74cf3225
Typo 3 years ago
syeopite 1321c90920
Extract channel routes (#2227)
* Extract primary channel routes from invidious.cr

Also removes timedtext_video stub since all it does is redirect to the
homepage. However, Invidious's 404 handler already does this.

--
As the template for the channel about page doesn't exist yet, the
behavior for the /channel/:ucid/about endpoint has been changed to be
the same as what's currently present on Invidious

(cherry picked from commit 8fad19d805)

* Manually extract brand_redirect from 1b569bbc99

This commit manually extracts the brand_redirect function from the
commit mentioned.

However, the redirect to the  `.../about` endpoint is removed due to the
fact that it doesn't exist yet.

This commit is also mainly just a bridge for the next few cherry picks from
\#2215

* Update brand_redirect to use youtubei resolve_url

(cherry picked from commit 53335fe7cf)

* Add additional channel endpoints to brand_redirect

(cherry picked from commit 8fc6f3add6)

* Add separate handler for /profile endpoint

* Add /channel/:ucid/home route

* Document all channel brand_urls
3 years ago