Commit graph

414 commits

Author SHA1 Message Date
Ajay
603bad4967 Add another warning test 2022-07-21 14:19:41 -04:00
Ajay Ramachandran
e050a6eec3
Merge pull request #484 from mini-bomba/fix/requiredSegments-hidden
Fix (shadow)hidden segments not being sent when requested via requiredSegments + test cases
2022-07-20 20:04:24 -04:00
mini-bomba
b3c05bc606
Merge branch 'master' into fix/requiredSegments-hidden
# Conflicts:
#	src/routes/getSkipSegments.ts
2022-07-21 00:54:14 +02:00
Ajay
3203271fdf Allow removing your own warning 2022-07-20 18:52:27 -04:00
mini-bomba
4ac70d2d7e
add test cases for getting (shadow)hidden segments with requiredSegments 2022-07-16 15:07:22 +02:00
mini-bomba
55a8b5d514
voteOnSponsorTime: add test cases for categoryVote as warned/banned user 2022-07-14 21:31:43 +02:00
Ajay Ramachandran
972cb96259
Merge pull request #476 from mchangrh/fullvideo-revive-nonvip
add tests for #454
2022-07-12 23:14:03 -04:00
Ajay
c2b0ecd6f6 Add ability to add manually choose who can submit chapters 2022-07-06 00:11:45 -04:00
Ajay
47f460bb2c Fix non-sequencial reputation in getSkipSegments 2022-07-05 20:11:30 -04:00
Ajay
f9de547b95 Add malicious vote type for chapters 2022-07-04 16:18:58 -04:00
Ajay
de60415f55 more generous reputation 2022-06-28 18:14:12 -04:00
Michael C
8560c3f673
add tests for #454 2022-06-28 15:02:09 -04:00
Michael C
cbdd852566
add additional poi_highlight tests 2022-05-26 21:17:58 -04:00
Ajay
5b177a3e53 Prepare dockerfile for use, allow configuring via env vars 2022-05-03 22:08:44 -04:00
Ajay
8dc87da462 Back rate limit by redia and upgrade node-redis 2022-04-13 17:36:07 -04:00
Michael C
76cc603a3f
update auotmod check
- remove NB code
- reduce complexity + unnecessary iterations
- use client duration if given
2022-03-31 16:02:50 -04:00
Ajay
fe0afd58bc Save userid with votes 2022-03-30 16:02:30 -04:00
Ajay
22b4135d62 Fix flaky test 2022-02-21 22:58:23 -05:00
Ajay Ramachandran
de7b985535
Merge branch 'master' into voteOnSponsorTime 2022-02-10 23:00:51 -05:00
Michael C
0ff38b918b
fix tests, add add actionType tests 2022-02-04 00:40:13 -05:00
Michael C
5713b96d13
add test for downvote videoDuration change 2022-02-04 00:21:15 -05:00
Michael C
a2f2cf9c0d
update lockCategories
- migration to remove invalid locks
- lockCategories poi_highlight is now actionType poi
- deleteLockCategories now takes actionType
- update postLockCategories response, serverside filtering for accepted categories
- fix tests accordingly
2022-02-03 17:44:29 -05:00
Michael C
2b8944bf15
correct tempVIP test 2022-02-03 13:51:15 -05:00
Michael C
db5922e4b7
fix tempvip cases 2022-02-03 13:49:13 -05:00
Michael C
0854ad1f65
rewrite voteOnSponsorTimes 2022-02-03 06:06:54 -05:00
Michael C
830fdff3be
add full video and exclusive_access support 2022-01-19 21:53:40 -05:00
Ajay
6ece944536 Highlight category now has it's own action type 2022-01-19 17:48:09 -05:00
Ajay
a31a4d016f Fix lock reason test 2022-01-16 13:19:42 -05:00
Ajay Ramachandran
b39d323a22
Merge pull request #444 from mchangrh/full-tests
Tests for full video locks
2022-01-16 13:17:19 -05:00
Ajay Ramachandran
bfd017a66a
formatting 2022-01-16 13:16:13 -05:00
Ajay Ramachandran
ea196e84f1
Merge pull request #439 from mchangrh/channelVipTests
additional tests for tempVIP
2022-01-16 12:54:22 -05:00
Ajay
76bfd27b33 Add exclusive access category 2022-01-14 00:23:09 -05:00
Ajay
6fe7200481 don't allow category vote for full video segment 2022-01-14 00:21:13 -05:00
Michael C
ea4adc0e14
getLockCategories + lint 2022-01-07 18:12:20 -05:00
Michael C
6ec80df8f4
update getLockReason 2022-01-07 03:04:47 -05:00
Michael C
0584492b8c
getLockCategories 2022-01-06 23:56:27 -05:00
Ajay Ramachandran
b2e37804f5
Merge pull request #440 from ajayyy/full-video-labels
Full video labeling
2022-01-06 15:55:11 -05:00
Ajay
cb9b2ff965 Fix test data using wrong hash 2022-01-06 15:28:44 -05:00
Ajay
ad4c34ef28 Fix UUID test 2022-01-06 15:20:41 -05:00
Ajay
d5d73273de Don't autohide full video segments for duration change 2022-01-06 14:45:05 -05:00
Ajay
44ffa40b6c Should not add full segments to db from shadowbanned users 2022-01-06 14:15:50 -05:00
Ajay
b4f8bdd719 Add test for submitting full video converting to upvote 2022-01-06 14:10:41 -05:00
Ajay
6a98a215ac Don't group different categories 2022-01-04 20:39:50 -05:00
Ajay
89ea13956a Ensure only one full video label is served 2022-01-04 19:27:50 -05:00
Ajay
8fef35dbbc Allow submitting full sponsors and selfpromo 2022-01-02 22:38:06 -05:00
Ajay
09eec5a4a5 Add locking by action type 2022-01-02 14:00:54 -05:00
Michael C
05516a5d7d
fix postgres quotes & fixed test.json 2021-12-31 17:12:46 -05:00
Michael C
a42f023074
add more testing, change enabled
- add 404 if channelID cannot be dervived
- added response message on success returning channel name
- test limits of temp VIP
- minor eslint
2021-12-31 16:54:28 -05:00
Ajay Ramachandran
ce4270b96d
Merge branch 'master' into categoryLeaderboards 2021-12-31 14:04:20 -05:00
Ajay Ramachandran
df3d6fe9c7
Merge pull request #438 from mchangrh/tempVIP
channel-specific VIP
2021-12-31 14:02:05 -05:00