Commit graph

2197 commits

Author SHA1 Message Date
Ajay Ramachandran
5c549b5295
Merge pull request #544 from mchangrh/token-test
increase coverage for tokenUtils
2023-03-12 18:50:11 -04:00
Michael C
acae9da06c
increase coverage for tokenUtils 2023-03-12 16:30:08 -04:00
Ajay Ramachandran
1f939116a4
Merge pull request #543 from mchangrh/unban-fix
fix unban query hitting limit, use number as type
2023-02-25 14:11:17 -05: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
Ajay Ramachandran
f4286b15a1
Merge pull request #542 from mchangrh/warning-webhook
add warning webhook
2023-02-22 00:12:30 -05:00
Michael C
76ce1017ea
add warning webhook 2023-02-22 00:08:27 -05:00
Michael C
780555e9df
add ignores for getTotalStats 2023-02-21 20:16:25 -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
900fa9f64e
add test ignores 2023-02-21 17:00:53 -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
c6795a783d
fix getCWS util 2023-02-21 03:24:32 -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
f70a26009c
add ignore clauses to tests 2023-02-20 22:22:33 -05:00
Michael C
c84eb839a0
clean up immediate cache after every run
run after codecov

confirm cache deletion

remove cache cleanup
2023-02-20 22:22:32 -05:00
Ajay Ramachandran
df279cf48a
Adjust ip logging fix threshold 2023-02-20 18:57:19 -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
81b0c27180
Merge pull request #540 from mchangrh/workflow
simplify workflows, use cache
2023-02-18 22:33:00 -05:00
Michael C
bff05dccaa
simplify workflows, use cache 2023-02-18 03:12:50 -05:00
Ajay Ramachandran
9c438602f8
Add codecov config 2023-02-18 02:42:08 -05:00
Ajay
19ebca86c9 Fix video branding not being awaited 2023-02-18 02:33:22 -05:00
Ajay Ramachandran
f48fb6c3f6
Merge pull request #539 from mchangrh/nyc
run nyc for codecov
2023-02-18 00:48:39 -05:00
Michael C
4a90ba8992
run sqlite and postgres coverage 2023-02-18 00:36:45 -05:00
Michael C
efc911a229
fix codecov 2023-02-18 00:30:21 -05:00
Ajay Ramachandran
2e3f4f8c70
Add codecov 2023-02-18 00:16:18 -05:00
Ajay Ramachandran
b95b6d8efe
Merge pull request #538 from mchangrh/less-tempvip-perms
give less permissions to tempVIPs
2023-02-18 00:10:04 -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
Michael M. Chang
3281954019
Update src/routes/postSkipSegments.ts
Co-authored-by: mini-bomba <55105495+mini-bomba@users.noreply.github.com>
2023-02-08 12:21:58 -05:00
Michael C
aece615992
give less permissions to tempVIPs 2023-02-08 01:54:20 -05:00
Ajay
6448fbfbd8 Fix logger calls where this will be wrong 2023-02-05 13:27:18 -05:00
Ajay
c5426e5fc4 Fix reputation test 2023-02-04 18:43:08 -05:00
Ajay
3894d453a5 Improve performance of reputation query 2023-02-04 18:22:31 -05:00
Ajay
280e6684af Fix reputation using wrong date 2023-02-04 18:22:19 -05:00
Ajay
7361c7056b Print active db requests in redis errors 2023-02-04 15:12:22 -05:00
Ajay
2d751a0b21 Log response time limits 2023-02-04 14:13:49 -05:00
Ajay
399bda869f Add more detailed redis error message 2023-02-04 14:07:09 -05:00