Commit Graph

1042 Commits (ce7db8d2cb87111af15de2de9faf12aae38283bb)

Author SHA1 Message Date
Samantaz Fox 87a5d70062
videos: move API's JSON structure to a dedicated module 2 years ago
Samantaz Fox 88141c459c
videos: move formats structure to a separate file/module 2 years ago
Samantaz Fox 3b39b8c772
Add table cleaning job (#3294) 2 years ago
Samantaz Fox 848a60aa9b
routes: remove useless 'locale' variable in error 505 handler 2 years ago
Samantaz Fox 88ea794fdb
routes: move error 404 logic to its own module 2 years ago
Samantaz Fox 870350fd61
routes: move before_all logic to its own module 2 years ago
Samantaz Fox 1e25894f7e
routing: move the remaining routes registration to a wrapper function 2 years ago
Samantaz Fox 223e74569a
routing: move feed routes registration to Invidious::Routing 2 years ago
Samantaz Fox 0a4d793556
routing: move search routes registration to Invidious::Routing 2 years ago
Samantaz Fox 5503914abe
routing: move playlist routes registration to Invidious::Routing 2 years ago
Samantaz Fox 906466d7fb
routing: move watch/embed routes registration to Invidious::Routing 2 years ago
Samantaz Fox e2532de766
routing: move image proxy routes registration to Invidious::Routing 2 years ago
Samantaz Fox 3ac4390d11
routing: move channel routes registration to Invidious::Routing 2 years ago
Samantaz Fox 389ae7a573
routing: register playback routes with a function, rather than a macro 2 years ago
Samantaz Fox 176247091d
routing: register API routes with a function, rather than a macro 2 years ago
Samantaz Fox e22cc73f32
routing: register user routes with a function, rather than a macro 2 years ago
Émilien Devos 586000ca3d add more explanation about checking the player dependencies 2 years ago
Samantaz Fox 33da64a669
Add support for hashtags 2 years ago
Samantaz Fox 0a1614a872
Also move the other Kemal class override to src/ext/ 3 years ago
Samantaz Fox 1f66d7ef74
Keep using kilt for rendering
Directly using Crystal's ECR seems to be causing issues, so
don't use kemal's 'render' macro and patch 'content_for' to
have the same behavior as before Kemal v1.1.1
3 years ago
Samantaz Fox f9b8bc006f
Create a search processors module 3 years ago
Samantaz Fox 6d3b907307
Update --help to mention that --migrate is still in beta 3 years ago
Samantaz Fox 55da1e3e92
Merge pull request #2878 from matthewmcgarvey/migrations
Add custom migration implementation
3 years ago
Samantaz Fox 575b039170
Merge pull request #2922 from SamantazFox/download-widget-fix
Download widget fix
3 years ago
matthewmcgarvey d5f43bae92 Combine notifications endpoints and move them 3 years ago
matthewmcgarvey e215a20a0a Move live endpoints into Channels route 3 years ago
matthewmcgarvey 919413e2b9 Move captcha endpoint into Login route 3 years ago
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
3 years ago
matthewmcgarvey 3b1837a99b Move remaining routes to new structure 3 years ago
matthewmcgarvey cc59de0c93 Extract live endpoints to route 3 years ago
Samantaz Fox fe057c7873
Make a function that builds the download widget's HTML 3 years ago
Samantaz Fox 85ba04b715
Merge pull request #2871 from SamantazFox/user-code-cleaning
User code cleaning & fixing
3 years ago
matthewmcgarvey bf054dfda5 Do not check for pending migrations on app start
This is so that we don't break deploys with this PR.
Instead we only ship the 'invidious --migrate' cli command
and let people test that. Maybe even ship a new migration that wouldn't break
apps that don't run the migrations. Then we roll out the functionality
that requires migrations.
3 years ago
matthewmcgarvey 59654289cb Run migrations through CLI instead of when app starts 3 years ago
matthewmcgarvey cf13c11236 Migrations tweaks 3 years ago
matthewmcgarvey 8ec992a8a3 Add custom migration implementation 3 years ago
Samantaz Fox 492d1144e0
Apply changes from code review 3 years ago
Samantaz Fox f73aef33f0
Add compile option to disable fetching of player dependencies 3 years ago
Samantaz Fox ad4a06fca5
Move user captcha code to its own module 3 years ago
Samantaz Fox c04f45d5e3
Move user struct to own file, under Invidious namespace 3 years ago
Samantaz Fox fb36155022
Move user routes definitions to a macro in routing.cr 3 years ago
Samantaz Fox 7ace3fc989
Move remaining user-related routes out of main file 3 years ago
Samantaz Fox 4e44a91d08
Add support for clips 3 years ago
Samantaz Fox d546f1870e
Merge pull request #2845 from SamantazFox/more-db-improvements
More db improvements
3 years ago
Samantaz Fox eba311baa9
Merge pull request #2397 from syeopite/dep-manager-for-videojs-stuff
Add dependency manager script for videojs stuff
3 years ago
matthewmcgarvey 8ef1e81294 Make certain routes ignored if api only 3 years ago
matthewmcgarvey d755d05f88 Move more routes to new pattern 3 years ago
Samantaz Fox c78f84d5c6
DB: Move integrity check to the base.cr file 3 years ago
Samantaz Fox a6c9b263da
DB: don't pass PG_DB to check_table/check_enum 3 years ago
Samantaz Fox eff8b23f57
Improve youtube import type detection
Code courtesy of bbielsa:
https://gist.github.com/bbielsa/7d131aa2188945f591a8379ec0defc9b
3 years ago