Émilien Devos
98301a2237
Add ability to disable all user notifications ( #3473 )
2023-01-05 23:08:05 +00:00
Samantaz Fox
d659a451d6
videos: remove unused 'VideoRedirect' exception
2022-10-31 20:09:04 +01:00
Emilien Devos
260bab598e
reword error messages
2022-09-02 20:20:43 +02:00
Emilien Devos
ca4c2115ee
Message when the video doesn't exist in playlist
2022-08-23 11:45:44 +00:00
Émilien Devos
c201ea53ba
Add 404 status code on all possible endpoints
2022-05-27 14:06:38 +00: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
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
7691f53520
Move DB queries related to 'users' in a separate module (2/2)
2022-01-04 17:15:43 +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
syeopite
35d15c7c2b
Fix Style/VariableNames issues
2021-10-25 01:12:26 -07:00
syeopite
81b12b8001
Add support to make invidious API-only via flag ( #2363 )
2021-10-02 20:04:02 +00:00
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
2021-08-11 12:36:25 +02:00
syeopite
54b19a04bb
Fix caption parsing on age restricted videos
2021-06-27 08:35:28 -07:00
saltycrys
5f03a583d1
Update code for Crystal 0.36.0
...
Rename `HTTPClient@socket` to `HTTPClient@io`, see
https://github.com/crystal-lang/crystal/pull/9543 .
Rename `URI#full_path` to `URI#request_target`, see
https://github.com/crystal-lang/crystal/pull/10099 .
2021-02-02 20:01:02 +01:00
saltycrys
991a04dc2a
Adjust routes
...
Simple routes have been moved into a single `Misc` file.
Embed routes have been moved into a single `Embed` file.
The preferences route has been renamed to be more consistent with other parts
of the codebase.
2021-02-02 06:18:16 +01:00