Ajay
665b91eb65
Revert distinct selection change as it seems to be misbehaving
2023-07-27 03:04:46 -04:00
Ajay Ramachandran
e942ac5e22
Merge pull request #549 from mini-bomba/voting-requirements
...
Make voting requirements more strict
2023-07-26 16:06:18 -04:00
Ajay
d23e9b9940
Only show one title/thumbnail per userID
2023-07-26 15:19:22 -04:00
Ajay
b6f29b8b6d
Fix shadow ban test
2023-07-23 23:35:50 -04:00
Ajay
e9fcf6b445
Add seperate type for dearrow warning
...
Also add dearrow warning reason as option for user info
2023-07-17 22:42:29 -04:00
Ajay
2e29666781
Remove mysql code
2023-07-05 01:25:38 -04:00
Ajay
8b418c8851
Add hiding dearrow submissions in ban code
2023-07-05 01:23:48 -04:00
Ajay
633f128e90
Fix voting on an existing submission not working.
2023-06-13 00:12:16 -04:00
Ajay
3bb8d5b58b
Add verification where new users start with lower votes
2023-06-10 12:35:43 -04:00
Ajay
ef3e48ec24
Send video duration if known
2023-06-08 15:28:37 -04:00
mini-bomba
777944665d
Make voting requirements more strict
...
This aims to reduce the amount of false votes by users with no valid segments of the category they're voting for.
New tests included, one modified to work under new requirements.
Also merged userAbleToVote and ableToVote in voteOnSponsorTime.ts to skip unnecessary queries for VIPs.
2023-06-08 16:50:31 +02:00
Ajay
0932f63398
Await in post branding test case
2023-06-08 04:01:23 -04:00
Ajay
5834643ba0
Add random timestamp generation to get branding
2023-06-08 03:39:44 -04:00
Ajay
8e5be402e1
Fix VIP title and thumbnail unlock unlocking everything
2023-05-31 14:28:01 -04:00
Ajay
9129cee9f0
Fix tests
2023-05-21 20:12:17 -04:00
Ajay
8d1025e17d
Add title and thumbnails to user stats
2023-05-09 23:53:18 -04:00
Ajay
6f0abddd3e
Reenable locks
2023-04-28 14:15:18 -04:00
Ajay
a1b5c38e5a
Disable lock tests for now
2023-04-17 19:38:31 -04:00
Ajay Ramachandran
bffc10e38f
Merge pull request #534 from ajayyy/clickbait
...
Clickbait
2023-03-27 00:54:52 -04:00
Ajay
7921bc4582
Remove chapters free test
2023-03-19 00:25:59 -04:00
Michael C
acae9da06c
increase coverage for tokenUtils
2023-03-12 16:30:08 -04:00
Michael C
8495a9d6c0
fix unban query hitting limit, use number as type
2023-02-25 00:04:15 -05:00
Ajay Ramachandran
d76ee7cd22
Merge pull request #541 from mchangrh/etagTest
...
add etag and other tests
2023-02-22 01:38:41 -05:00
Michael C
436e75e3e6
add explicit test checks in reset
2023-02-22 01:15:49 -05:00
Michael C
7ba654e476
remove tests for maxNumberOfActiveWarnings
2023-02-22 00:35:58 -05:00
Michael C
76ce1017ea
add warning webhook
2023-02-22 00:08:27 -05:00
Michael C
79b7b6ea4c
add highLoad tests
2023-02-21 20:10:01 -05:00
Michael C
80de71a68f
add misc 400 tests
2023-02-21 20:09:57 -05:00
Michael C
4b8bc418ba
clean up getCWSUsers
2023-02-21 20:09:38 -05:00
Michael C
f4537160de
split postSkipSegments into stubbed 400
2023-02-21 20:09:13 -05:00
Michael C
e6f54f11f0
decompose postSkipSegments more
2023-02-21 17:00:23 -05:00
Michael C
6296761fe4
postSkipSegments improvements
...
- fix 80% check from same user
- split test cases into multiple files for easier viewing
2023-02-21 03:25:46 -05:00
Michael C
820a7eb02f
simplify postWarning
2023-02-21 03:25:02 -05:00
Michael C
37a1c7e88d
used shared random gen for tests
2023-02-21 03:24:07 -05:00
Michael C
31a460e750
fix countcontributingusers
2023-02-20 22:56:38 -05:00
Michael C
1bda331b0c
add new CWS user parsing method
2023-02-20 22:22:33 -05:00
Michael C
72fb4eb6ec
add more tests for coverage
2023-02-20 22:22:33 -05:00
Michael C
d04230a1c4
reset postgres and redis between test runs
2023-02-20 22:22:33 -05:00
Michael C
cdc080b58b
skip etag tests if no redis
2023-02-20 16:03:46 -05:00
Michael C
c586c9a7e7
add etag tests
...
- add shadowban self test
- add init and -it to docker runs
2023-02-20 15:56:08 -05:00
Ajay Ramachandran
7985d131ef
Merge pull request #537 from mchangrh/lenientSetUsername
...
make privateIDUsername check more lenient #532
2023-02-18 00:09:37 -05:00
Michael C
a384079562
more lenient privateIDUsername checks
...
- disallow username = privateID
- disallow username = other privateID on username table if length > minLength
2023-02-17 22:28:23 -05:00
Ajay
46c372a764
Unlock other segments when vip votes for new segment
2023-02-14 22:10:46 -05:00
Ajay
c5426e5fc4
Fix reputation test
2023-02-04 18:43:08 -05:00
Ajay
d5c544f1ee
Allow auto banning ips
2023-01-28 14:00:12 -05:00
Ajay
5426ae826e
Add IP banning
2023-01-28 13:09:04 -05:00
Michael C
74c0ba37e2
remove debug statements, fix shadowBanUser tests
2023-01-28 02:54:01 -05:00
Michael C
a64b8f99b7
use shared parseParams helper
2023-01-28 02:40:09 -05:00
Ajay
10e9aef8cc
use await in get branding test
2023-01-28 02:20:16 -05:00
Ajay Ramachandran
d07aac3a33
Merge branch 'master' into clickbait
2023-01-28 02:13:42 -05:00