Brahim Hadriche
0b17f68eba
Fix input validation
2023-03-07 13:50:02 -05:00
Brahim Hadriche
a5cc66e060
Fix id check
2023-03-02 16:11:50 -05:00
Brahim Hadriche
38f6d08be6
Validate id, avoid db call if not needed
2023-03-02 14:47:14 -05:00
Brahim Hadriche
8c0efb3ea9
validate video id
2023-03-02 14:45:26 -05:00
Brahim Hadriche
27bf4d02a1
PR nursing
2023-03-01 22:08:19 -05:00
Brahim Hadriche
15e9510ab2
Check preferences before marking video as watched
2023-02-20 16:43:36 -05:00
Brahim Hadriche
7b124eec64
Add History API
2023-02-20 16:27:16 -05:00
Brahim Hadriche
2606decd21
Refactor export function
2023-02-05 15:00:11 -05:00
Brahim Hadriche
b2589c74be
Add API for import/export
2023-02-02 19:14:02 -05:00
Jakub Filo
4818b89ab1
Allow to set maximum custom playlist length via a config variable.
2022-08-27 22:36:07 +02:00
Émilien Devos
c201ea53ba
Add 404 status code on all possible endpoints
2022-05-27 14:06:38 +00:00
matthewmcgarvey
d5f43bae92
Combine notifications endpoints and move them
2022-02-23 22:45:07 -06:00
matthewmcgarvey
3b1837a99b
Move remaining routes to new structure
2022-02-22 23:20:09 -06:00
Samantaz Fox
99d770be64
Move user pages (ECR files) to subfolder
2022-02-07 17:39:15 +01:00
Samantaz Fox
fc5f84a0cd
Merge pull request #2827 from SamantazFox/more-code-cleanup
...
More code cleanup
2022-02-02 00:36:19 +01:00
matthewmcgarvey
a82d21ff78
Cleanup channel helpers code
2022-01-27 20:12:42 -06:00
Samantaz Fox
1c91110464
Fix some 'Lint/ShadowingOuterLocalVar' warnings reported by ameba
2022-01-28 02:19:53 +01:00
Samantaz Fox
4cd7a3e83f
Remove useless 'locale = env.get...' from many routes
2022-01-28 02:19:53 +01:00
Samantaz Fox
5e3c9cf290
Remove useless arguments from playlist-related functions
2022-01-28 02:19:53 +01:00
Samantaz Fox
302fecbdcb
Clean useless database arguments (5/5)
2022-01-04 17:15:43 +01:00
Samantaz Fox
d74873fed1
Clean useless database arguments (4/5)
2022-01-04 17:15:43 +01:00
Samantaz Fox
40ed4a0506
Clean useless database arguments (3/5)
2022-01-04 17:15:43 +01:00
Samantaz Fox
c25d664edc
Clean useless database arguments (2/5)
2022-01-04 17:15:43 +01:00
Samantaz Fox
9bad7e2940
Clean useless database arguments (1/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
92eea3b18b
Move DB queries related to session tokens in a separate module
2022-01-04 17:13:52 +01:00
Samantaz Fox
c021b93b5c
Move DB queries related to channels in a separate module
2022-01-04 17:13:52 +01:00
Samantaz Fox
46d08237c6
Move DB queries related to playlists in a separate module (2/3)
2022-01-04 17:13:52 +01:00
Samantaz Fox
3deafe9f8d
Move DB queries related to playlists in a separate module (1/3)
2022-01-04 17:13:51 +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
Samantaz Fox
86f75758a7
Fix 'to_json' in struct PlaylistVideo
2021-10-29 16:26:42 +02:00
syeopite
e91421253e
Fix Style/VerboseBlock issues
2021-10-25 01:12:26 -07:00
syeopite
20cb751ff6
Fix Lint/UnusedArgument issues
2021-10-25 01:12:26 -07:00
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
2021-08-23 16:28:30 -07:00
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.
2021-08-14 00:18:25 -07:00