Commit graph

2162 commits

Author SHA1 Message Date
Michael C
d8b93dec00
getLockCategories sort categories 2023-09-29 00:45:43 -04:00
Michael C
26b3ea6a50
use partialDeepEquals for getLockCategories 2023-09-29 00:40:20 -04:00
Michael C
f72b1abf41
getLockCategories
- add insertLock
2023-09-28 23:44:14 -04:00
Michael C
53e5dcb2f0
addUserAsVIP
- add genAnonUser
2023-09-28 20:45:02 -04:00
Michael C
73e5ade529
generate random title 2023-09-28 03:57:06 -04:00
Michael C
31e1f5bc3c
original as bool not string 2023-09-28 03:51:15 -04:00
Michael C
df40047a4b
getUserInfo
- add info property to User
- add insertWarning, Ban
- add insertTitle, TitleVote, Thumbnail, ThumbnailVote
- simplified insertSegments with destructuring
2023-09-28 03:45:28 -04:00
Michael C
ad9344c92f
getChapterNames fix length 2023-09-27 23:57:53 -04:00
Michael C
726983bb9b
getChapterNames
- remove identifier from segmentGen
- add multiGenRandomValue
- add videoInfo query
2023-09-27 23:53:18 -04:00
Michael C
7364499f11
lockCategoriesHTTP
- highLoad
- compact getUserID
- add genRandomValue method
2023-09-27 23:19:25 -04:00
Michael C
5e3ec895d8
add videoID for segment inserter 2023-09-27 22:25:18 -04:00
Michael C
a9ef3815e2
add segment generator
- getIsUserVIP
- postClearCache
- update boilerplate
2023-09-27 22:21:42 -04:00
Michael C
964634dc51
update addFeatures
- add case_boilerplate
- add grantFeature query
2023-09-27 21:03:53 -04:00
Michael C
4438ce7db6
add genUser frameworks, start fixing tests
transformative:
- getUserID
- redisTest
- reputation

mocha test reconfig:
- etag
- getIP
- userCounter
- validateVideoIDs
2023-09-27 20:18:35 -04:00
Ajay Ramachandran
1275afa25b
Merge pull request #560 from mchangrh/no-empty-warnings
disallow empty new warnings
2023-09-27 15:17:25 -04:00
Michael C
1b5a079bbd
disallow empty new warnings 2023-09-27 15:09:35 -04:00
Ajay
ad666ff487 Don't allow random time after 90% of video if no endcard submitted 2023-09-24 16:53:55 -04:00
Ajay
65e7d24b7d Fix get branding by hash rong query 2023-09-09 19:07:50 -04:00
Ajay
d08c423c6a Verify old submissions when adding dearrow feature 2023-09-06 10:53:14 -04:00
Ajay
8361f602c7 Less arm 2023-09-04 02:52:04 -04:00
Ajay Ramachandran
1e3a50b884
Merge pull request #558 from mini-bomba/dearrow-bans
Fix Dearrow bans + some bug fixes
2023-09-04 02:43:39 -04:00
mini-bomba
55150cb301
do user & IP queries asynchronously in checkbanStatus()
Co-authored-by: Kendell R <KTibow@users.noreply.github.com>
2023-08-31 14:59:22 +02:00
mini-bomba
2015cf1488
DB migration: Hide any visible dearrow submissions from banned users 2023-08-29 16:38:41 +02:00
mini-bomba
141f105b79
fix dearrow bans 2023-08-29 16:38:41 +02:00
mini-bomba
c2a3630d49
create an isUserBanned utility function 2023-08-29 16:38:41 +02:00
mini-bomba
c77e71e66a
it's called a ✝️ℹ️🅿️, not warning 2023-08-29 13:48:50 +02:00
Ajay
345c740fdc Fix local key regex 2023-08-22 12:00:59 -04:00
Ajay
d84276a86a Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2023-08-21 17:48:17 -04:00
Ajay
16c7ad5531 Return 404 for non existent feature flag 2023-08-21 17:48:13 -04:00
Ajay Ramachandran
7cb0a0705c
Merge pull request #555 from mchangrh/shadowban-stats
show stats to shadowhidden users
2023-08-15 20:00:09 -04:00
Michael C
4600b8a599
show stats to shadowhidden users 2023-08-15 19:45:17 -04:00
Ajay
e9e1fd5228 Require time when generating key 2023-08-06 13:42:33 -04:00
Ajay
48fa55cc7a Add feature flag endpoint 2023-08-05 23:01:24 -04:00
Ajay
ecfc2c14c8 Remove minimum submission duration for mutes 2023-08-05 13:59:02 -04:00
Ajay
f58da275eb Fix group by not working on postgres 2023-08-04 14:36:08 -04:00
Ajay
0723503a98 Add DeArrow submitter feature 2023-08-04 14:17:41 -04:00
Ajay
9d1af3bdff Verify old submissions when you become verified 2023-08-04 14:15:46 -04:00
Ajay
b3cec20215 Better handling of verification for self downvotes 2023-08-04 13:53:23 -04:00
Ajay
b02134c016 Don't send angle brackets 2023-08-04 13:15:43 -04:00
Ajay
c3c8f38423 Rename var to be more clear 2023-08-03 01:50:50 -04:00
Ajay
1dbb393e4d Fix type error in tests 2023-08-03 01:16:57 -04:00
Ajay
dfa4578d28 Better token generation 2023-08-03 00:58:01 -04:00
Ajay
99cb22a5e6 Also clear branding cache when clearing segment cache 2023-07-29 18:44:52 -04:00
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 Ramachandran
83b561d943
Merge pull request #548 from mchangrh/restic-update
change container to do chmod in builder
2023-07-26 16:03:49 -04:00
Ajay
f0b0217c78 Fix distinct query on postgres 2023-07-26 16:02:21 -04:00
Ajay
d23e9b9940 Only show one title/thumbnail per userID 2023-07-26 15:19:22 -04:00
Ajay
4b214767a0 Add buildx 2023-07-25 11:49:33 -04:00
Ajay
8c687934c2 build arm images 2023-07-25 11:36:59 -04:00