Samantaz Fox
c25d664edc
Clean useless database arguments (2/5)
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
saltycrys
9a8b81fcbe
Fix storyboards
2020-10-25 09:35:16 +01:00
Omar Roth
d30a972a90
Support Crystal 0.35.0
2020-06-15 18:11:06 -05:00
Omar Roth
43da06a354
Remove temp fix for crystal/crystal-lang#7383
2020-02-20 18:30:46 -05:00
Omar Roth
0cf187dee7
Add support for image captcha in Google login
2019-10-27 00:19:05 -04:00
Omar Roth
bdeb325bad
Fix monkeypatch for HTTP::Client
2019-10-26 11:51:23 -04:00
Omar Roth
be055d9dcb
Add support for custom playlists
2019-10-15 21:17:14 -04:00
Omar Roth
da07f99d3d
Bump supported Crystal version
2019-09-30 15:36:54 -04:00
Omar Roth
f69f0b97f5
Add fix for index out of bounds during high load
2019-09-24 13:38:50 -04:00
Omar Roth
4361ea9686
Update DB calls for 0.31.0
2019-09-24 13:38:50 -04:00
leonklingele
1aefc5b540
Update to Crystal 0.31.0, resolve compiler deprecation warnings, update dependencies ( #764 )
...
* shard: update to crystal 0.31.0
Additionally, no longer use the Crystal "markdown" library which has
been removed from the Crystal stdlib in version 0.31.0.
See https://github.com/crystal-lang/crystal/pull/8115 .
Also fix some deprecation warnings using the following commands:
find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.escape/URI\.encode_www_form/g' "{}" \;
find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.unescape/URI\.decode_www_form/g' "{}" \;
sed -i 's/while \%pull\.kind \!\= \:end_object/until \%pull\.kind\.end_object\?/g' src/invidious/helpers/patch_mapping.cr
2019-09-24 13:31:33 -04:00
Omar Roth
7c75111c41
Refactor error handling for API endpoints
2019-09-05 14:12:14 -04:00
Omar Roth
26107bd6c3
Minor refactor
2019-08-27 08:08:26 -05:00
Leon Klingele
2a9a348164
Format Crystal files
...
Crystal 0.30.1 apparently introduced some breaking changes to their
code formatter which made CI fail.
The code was automatically formatted by running
crystal tool format
2019-08-14 23:31:07 +02:00
Omar Roth
5fd3ed782f
Add fix for #600
2019-07-08 10:00:08 -05:00
Omar Roth
dd0be7c522
Revert "Push potential fix for #578 "
...
This reverts commit ebfd7d21535cfcf30daf578e86028d49087af517.
2019-06-28 11:05:08 -05:00
Omar Roth
ebfd7d2153
Push potential fix for #578
2019-06-26 14:44:06 -05:00
Omar Roth
267bf289c4
Exclude /api/v1/auth/notifications from middleware
2019-05-21 10:08:49 -05:00
Omar Roth
53fbb257b9
Update fix for HTTP Client
2019-05-05 19:03:56 -05:00
Omar Roth
65a32d6e20
Update fix for crystal-lang/crystal#7383
2019-05-05 17:47:45 -05:00
Omar Roth
bba80bc80f
Fix content-type for HEAD '.jpg'
2019-05-03 08:23:11 -05:00
Omar Roth
f15b7cebac
Try to prevent timeout in /data_control
2019-04-24 20:18:35 -05:00
Omar Roth
fb7068d415
Add '/api/v1/notifications'
2019-04-20 09:33:45 -05:00
Omar Roth
2a6c81a89d
Add authentication API
2019-04-18 16:23:50 -05:00
afrmtbl
a7723e6ded
Implement "fields" parameter from the YouTube Data API ( #429 )
...
* Implement fields handling
2019-03-30 20:18:34 -05:00
Omar Roth
847ee61bf4
Fix typo in APIHandler
2019-03-24 09:01:18 -05:00
Omar Roth
0c6cede287
Format files and trim trailing whitespace
2019-03-23 14:05:13 -05:00
Omar Roth
57c05354c2
Move 'pretty=1' into middleware
2019-03-23 10:24:30 -05:00