Commit graph

2335 commits

Author SHA1 Message Date
Ajay
69db87f5e1 Fix 0 second submissions not allowed 2023-06-23 23:05:52 -04:00
Ajay
fa6919a1d0 Add branding stats 2023-06-14 19:50:26 -04:00
Ajay
633f128e90 Fix voting on an existing submission not working. 2023-06-13 00:12:16 -04:00
Ajay
9f7fa53b14 Fix sort order 2023-06-12 11:51:17 -04:00
Ajay
bbb7102e37 Derank original submissions 2023-06-12 11:41:57 -04:00
Ajay
3bb8d5b58b Add verification where new users start with lower votes 2023-06-10 12:35:43 -04:00
Ajay
1cacb2dd69 Fix random time calculator for starting empty segment 2023-06-08 18:22:26 -04:00
Ajay
fe185234cf Add fallback video duration when finding random timestamp 2023-06-08 18:05:40 -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
Michael C
e253c7bb47
change container to do chmod in builder 2023-05-23 19:39:16 -04:00
Ajay
9129cee9f0 Fix tests 2023-05-21 20:12:17 -04:00
Ajay
39fcdb1d95 Allow more chapter names to appear in suggestions 2023-05-21 20:03:53 -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
8db898fab5 Add pool status to branding header 2023-04-10 18:21:52 -04:00
Ajay
940cacfb0a Add pool details to postgres stats 2023-04-07 15:55:29 -04:00
Ajay
69a54f64b4 More specific redis error 2023-04-07 14:39:38 -04:00
Ajay
9600f56830 Fix 500 in tracing 2023-04-07 14:38:57 -04:00
Ajay
4e59526b4d Add missing semicolon 2023-04-07 14:31:15 -04:00
Ajay
42f2eb5eae Add traces to branding endpoint 2023-04-07 14:31:08 -04:00
Ajay
e1a607ba39 Add sb server host as response header 2023-04-07 12:47:08 -04:00
Ajay
8a236d66ed Fix video labels hash key error 2023-04-05 18:02:47 -04:00
Ajay
4a10faaea3 Add cb tables to db dump 2023-03-31 17:57:56 -04:00
Ajay
589b7d4e3e Disable branding locks for now 2023-03-31 15:08:28 -04:00
Ajay
a52feee25e Fix unlocking all submissions 2023-03-31 15:07:34 -04:00
Ajay Ramachandran
d6a12a5e99
Merge pull request #545 from ajayyy/clickbait
Clear query cache for branding
2023-03-29 00:33:27 -04:00
Ajay
4696ce8d01 Clear query cache for branding 2023-03-29 00:32:29 -04:00
Ajay Ramachandran
bffc10e38f
Merge pull request #534 from ajayyy/clickbait
Clickbait
2023-03-27 00:54:52 -04:00
Ajay
dde12bcc43 Fix wrong branch for github workflow 2023-03-19 00:41:29 -04:00
Ajay
7921bc4582 Remove chapters free test 2023-03-19 00:25:59 -04:00
Ajay
0b830610e9 Fix chapters duplicate check 2023-03-19 00:25:22 -04:00
Ajay
b6e9f92da8 Free chapters 2023-03-18 19:15:50 -04:00
Ajay
d4c4dbffcc Change video label cache to 3 chars 2023-03-18 00:36:05 -04:00
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