Commit graph

949 commits

Author SHA1 Message Date
Ajay Ramachandran
42da1b6c23 Add endpoint to submit unlisted videos
A temporary measure which will be removed next month

https://support.google.com/youtube/answer/9230970
2021-06-23 19:19:30 -04:00
Ajay Ramachandran
746dc4f81d
Merge pull request #232 from MRuy/fix/prepare-statements
Fix/prepare statements
2021-06-21 19:06:29 -04:00
Nanobyte
7b9e06a471
Merge branch 'master' into fix/prepare-statements 2021-06-22 01:05:48 +02:00
Nanobyte
7c3c1988a3 Fix getTopUsers 2021-06-22 01:00:22 +02:00
Nanobyte
a005a961f9 Fix test cases 2021-06-22 00:59:56 +02:00
Nanobyte
fb87e180da Fix postgres type cast
Postgres is handling numbers as 64bit and requires special handling to prevent returning numbers as string
2021-06-22 00:59:22 +02:00
Nanobyte
4b1f5b4a44 Remove console log from test case 2021-06-22 00:56:00 +02:00
Ajay Ramachandran
0b24871415
Fix comment in reputation test 2021-06-21 18:42:54 -04:00
Ajay Ramachandran
a7cb0959e2
Merge pull request #262 from mchangrh/repeated-param
parse repeated parameters
2021-06-21 14:21:17 -04:00
Nanobyte
11e6c93932 Merge remote-tracking branch 'upstream/master' into fix/prepare-statements 2021-06-21 18:19:50 +02:00
Michael C
dd74dd3b1b
parse repeated parameters 2021-06-21 00:33:48 -04:00
Ajay Ramachandran
9351bef61c Add preview category to leaderboard 2021-06-20 15:56:02 -04:00
Ajay Ramachandran
f6d79616a4 Fix leaderboard not working with postgres 2021-06-20 13:59:53 -04:00
Ajay Ramachandran
48d88614fb Move shadow ban list to public db
Warning: Migration is not automatic
2021-06-20 13:41:35 -04:00
Ajay Ramachandran
f45241d494
Merge pull request #259 from mchangrh/shadowban-clear-cache
clearCache after shadowban
2021-06-20 13:05:49 -04:00
Ajay Ramachandran
8d405c1013
Merge pull request #261 from DetachHead/master
remove async modifier which is no longer allowed in interfaces
2021-06-20 13:05:17 -04:00
Ajay Ramachandran
df1d742339 Use for each instead of map 2021-06-20 13:04:52 -04:00
Ajay Ramachandran
96015d402b Make reputation take into account self downvotes 2021-06-20 12:57:32 -04:00
DetachHead
85a30369c4 remove async modifier which is no longer allowed in interfaces 2021-06-19 17:59:18 +10:00
Michael C
47289db13e
clearCache after shadowban 2021-06-18 20:57:01 -04:00
Ajay Ramachandran
1770608525
Merge pull request #257 from mchangrh/vip-cache-clear
VIP endpoint for clearing cache of video
2021-06-18 19:01:08 -04:00
Ajay Ramachandran
183462ff85
Add brackets 2021-06-18 18:49:37 -04:00
Michael C
b84241c6ad
use isUserVIP instead 2021-06-18 18:44:43 -04:00
Michael C
c13bc6cfbd
added tests and route 2021-06-18 17:46:18 -04:00
Michael C
04da532962
implement #253 2021-06-18 16:38:24 -04:00
Ajay Ramachandran
fb68bd46c8
Merge pull request #256 from mchangrh/segmentInfo-error
made 400/404 behaviour consistent with API docs
2021-06-18 16:31:55 -04:00
Michael C
4963f4dc08
style fixes 2021-06-18 15:33:14 -04:00
Michael C
c92e44bb1d
made 400/404 behaviour consistent with API docs 2021-06-18 14:43:59 -04:00
Ajay Ramachandran
1dcb63f2cc
Fix typo in test 2021-06-17 19:09:24 -04:00
Ajay Ramachandran
b9bcc35dd2
Allow removing warnings created by anyone 2021-06-17 19:08:36 -04:00
Ajay Ramachandran
0b967b9f45
Merge pull request #252 from mchangrh/segmentInfo
Implementation of segmentInfo and new userInfo properties
2021-06-16 13:24:39 -04:00
Ajay Ramachandran
20ae560bb1
Add semicolons 2021-06-16 13:23:25 -04:00
Michael C
7fe787c5ab
remove extra properties 2021-06-16 00:53:34 -04:00
Ajay Ramachandran
5fe6ce6656
Merge pull request #250 from mchangrh/fix-getskipsegment-test
Fix Test Suite
2021-06-16 00:47:55 -04:00
Ajay Ramachandran
47ddaaad7b
Merge pull request #251 from mchangrh/getSkipSegment-400
skipSegments return 400 if bad categories
2021-06-16 00:46:54 -04:00
Michael C
8dcc1a4a53
add getSegmentInfo with tests 2021-06-16 00:33:51 -04:00
Michael C
0a8f7aa39d
skipSegments return 400 if bad categories 2021-06-15 23:01:26 -04:00
Michael C
31071ddb17
new test cases 2021-06-15 21:56:20 -04:00
Michael C
a003733e51
fix test suite 2021-06-15 21:29:36 -04:00
Michael C
13b105504b
remove timeSubmitted from query 2021-06-15 17:16:32 -04:00
Michael C
3b16cdb920
add last lastSegmentID 2021-06-15 17:08:17 -04:00
Michael C
607b7cbb0a
add ignored counts 2021-06-15 15:50:41 -04:00
Ajay Ramachandran
87c6dab41d
Merge pull request #248 from MRuy/feature/add-version-to-databasejson
Add version to database.json
2021-06-15 11:58:24 -04:00
Nanobyte
859ad6ea38 Add version to database.json 2021-06-15 17:50:18 +02:00
Ajay Ramachandran
3e73148390
Merge pull request #245 from mchangrh/reconfigure-cors
remove CORS from nginx, add to express
2021-06-15 01:04:26 -04:00
Ajay Ramachandran
eb2b41bc8a
Merge pull request #243 from MRuy/feature/lock-username
Add lock username
2021-06-15 01:04:20 -04:00
Ajay Ramachandran
75981a3e5f
Fix copy mistake 2021-06-15 01:03:37 -04:00
Michael C
062faba8d1
remove CORS from nginx, add to express 2021-06-14 20:29:02 -04:00
Ajay Ramachandran
52f61c08a5
Merge pull request #241 from MRuy/fix/webhook-default-value
Fix webhook default value
2021-06-14 19:51:10 -04:00
Nanobyte
34fd78961b Add username lock 2021-06-15 00:09:37 +02:00