Commit graph

2177 commits

Author SHA1 Message Date
Ajay Ramachandran
d99b7dc2c6
Merge pull request #563 from ajayyy/dependabot/npm_and_yarn/babel/traverse-7.23.2
Bump @babel/traverse from 7.18.6 to 7.23.2
2023-11-02 15:31:11 -04:00
Ajay
579e2b90a3 Make chapters easier to submit 2023-10-29 10:51:37 -04:00
Ajay
3708d293dc Add warning when locked title probably outdated 2023-10-27 00:39:36 -04:00
dependabot[bot]
077a9ecc50
Bump @babel/traverse from 7.18.6 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.6 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 05:31:40 +00:00
Ajay Ramachandran
5714f51ac0
Merge pull request #561 from mchangrh/test-helpers
long overdue test helpers (partial)
2023-10-15 02:18:31 -04:00
Michael C
68bb39c409
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into test-helpers 2023-10-15 00:31:09 -04:00
Ajay
9dd8b28812 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2023-10-02 19:56:12 -04:00
Ajay
a659048afe Hide downvotes titles 2023-10-02 19:56:08 -04:00
Michael C
3c6803fb62
getViewsForUser 2023-09-30 21:20:42 -04:00
Michael C
467443a03f
fix typings for getSubmissionUUID, update getStatus 2023-09-30 19:08:23 -04:00
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
Ajay Ramachandran
1e8970859f
Merge pull request #559 from mini-bomba/✝️ℹ️🅿️
Replace "warning" with "tip" in responses from postWarning.ts
2023-09-27 20:40:34 -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
86ea0f582b Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2023-09-27 20:09:16 -04:00
Ajay
e329bccca5 Remove shuffling for thumbnails 2023-09-27 20:09:15 -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
mini-bomba
7196155d3a
Replace "Warning reason" with "Tip message" 2023-09-16 10:00:33 +02:00
mini-bomba
934ce79728
Replace "warning" with "tip" in responses from postWarning.ts 2023-09-12 23:40:39 +02: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