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
bbielsa
8d47ec714e
Add text/xml as a possible mime type for xml file uploads
3 years ago
bbielsa
9607fe03af
Detect the type of subscription import format based on the content type of the file uploaded
3 years ago
bbielsa
43ff3be751
Test if body content is likely JSON, if so parse the json format of subscriptions export. If the content is anything else, assume it is CSV and parse
3 years ago
Samantaz Fox
d74873fed1
Clean useless database arguments (4/5)
3 years ago
Samantaz Fox
40ed4a0506
Clean useless database arguments (3/5)
3 years ago
Samantaz Fox
c25d664edc
Clean useless database arguments (2/5)
3 years ago
Samantaz Fox
9bad7e2940
Clean useless database arguments (1/5)
3 years ago
Samantaz Fox
6704ce3214
Move DB utility functions to the proper module
3 years ago
Samantaz Fox
85cf27119c
Move DB queries related to playlists in a separate module (3/3)
3 years ago
Samantaz Fox
7691f53520
Move DB queries related to 'users' in a separate module (2/2)
3 years ago
Samantaz Fox
094f835642
Move DB queries related to 'users' in a separate module (1/2)
3 years ago
Samantaz Fox
92eea3b18b
Move DB queries related to session tokens in a separate module
3 years ago
Samantaz Fox
c021b93b5c
Move DB queries related to channels in a separate module
3 years ago
Samantaz Fox
46d08237c6
Move DB queries related to playlists in a separate module (2/3)
3 years ago
Samantaz Fox
3deafe9f8d
Move DB queries related to playlists in a separate module (1/3)
3 years ago
Samantaz Fox
998edba6f0
Move DB queries related to 'videos' in a separate module
3 years ago
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.
3 years ago
syeopite
e91421253e
Fix Style/VerboseBlock issues
3 years ago
syeopite
35d15c7c2b
Fix Style/VariableNames issues
3 years ago
syeopite
20cb751ff6
Fix Lint/UnusedArgument issues
3 years ago
syeopite
c8a985cc77
Merge pull request #2477 from SamantazFox/move-prefs-and-config
...
Move user preferences and server config
3 years ago
Samantaz Fox
7df2fd0bc8
Add 'require' statement to 'invidious.cr'
3 years ago
syeopite
4246c7a523
Extract image routes
3 years ago
Samantaz Fox
57ed047025
Add mising 'require' statement to 'invidious.cr'
3 years ago
syeopite
b10f37bea9
Use kemal in production mode ( #2455 )
3 years ago
syeopite
81b12b8001
Add support to make invidious API-only via flag ( #2363 )
3 years ago
syeopite
b20f72b963
Use default timeout (5 seconds) for YT pool ( #2430 )
3 years ago
syeopite
87f46a7532
Unregister captcha job ( #2390 )
3 years ago
syeopite
4a0359c04e
Pass success msg from dep script during compile-time
3 years ago
syeopite
06a1d2ac41
Rename fetch_videojs* to fetch_player*
3 years ago
syeopite
a539de4f97
Bump dependencies ( #2378 )
...
* Upgrade to Kemal v1.1.0
* Bump postgres driver
3 years ago
syeopite
4fcd0964cd
Extract API routes ( #2271 )
...
* Extract API routes from invidious.cr
* Remove deprecated APIs
- insights
- top feed
3 years ago
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
syeopite
fceb8093f1
Use `athena-negotiation` to detect language through Accept-Language header ( #2324 )
...
Detect language through Accept-Language header
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
6aa65593ef
Extract API routes from invidious.cr (2/?)
...
- Video playback endpoints
- Search feed api
- Video info api
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