SashaXser
ea60947092
format fix
2024-01-19 14:31:03 +04:00
SashaXser
14b6f84f94
2 things
...
Consider using "forEach" instead of "map" as its return value is not being used here.
Replace this trivial promise with "Promise.resolve".
2024-01-19 08:50:45 +04:00
Ajay
8e13ec60d6
Fix other get missing throw
2024-01-18 11:57:50 -05:00
Ajay
c9f7275942
Only use redis timeout when db not under load
2024-01-18 09:22:00 -05:00
Ajay
d607d8b179
Don't fallback to db when too many redis connections
2024-01-15 14:07:34 -05:00
dependabot[bot]
5974b51391
Bump follow-redirects from 1.15.1 to 1.15.4
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.1 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.1...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 02:08:26 +00:00
Ajay
7aaf000d99
Fix index for hashed video id dearrow fetching
2024-01-09 15:31:56 -05:00
Ajay
0edf0b9e1c
Don't handle shadowhide on high load
2024-01-03 11:37:58 -05:00
Ajay
84fd7c170f
Add test for VIP downvote without removing
2024-01-03 01:18:57 -05:00
Ajay
b04e0dcd97
DeArrow downvotes
2024-01-03 01:13:35 -05:00
Ajay
33dad0a5e4
Add option to submit without locking
...
Also fixes voting for an existing thumbnail not unlocking other thumbnails
2024-01-02 19:12:55 -05:00
Ajay
ad439fd368
Make sure latest dump is not deleted
2023-12-28 19:10:12 -05:00
Ajay
21bb893a47
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2023-12-28 18:23:45 -05:00
Ajay
211ecf700b
Reject on dump failure to trigger a retry
2023-12-28 18:23:41 -05:00
Ajay Ramachandran
951d678640
Merge pull request #569 from mchangrh/fix-shadowban
...
clean up shadowban code, exclude long running categories query
2023-12-21 20:36:28 -05:00
Michael C
15f19df8a4
clean up shadowban code, exclude long running categories query when possible
2023-12-21 18:37:24 -05:00
Ajay Ramachandran
4a4d5776a1
Merge pull request #568 from ajayyy/revert-566-dependabot/npm_and_yarn/axios-1.6.0
...
Revert "Bump axios from 1.1.3 to 1.6.0"
2023-12-06 00:17:05 -05:00
Ajay Ramachandran
b3a28f7df3
Revert "Bump axios from 1.1.3 to 1.6.0"
2023-12-06 00:16:55 -05:00
Ajay Ramachandran
f763139664
Merge pull request #566 from ajayyy/dependabot/npm_and_yarn/axios-1.6.0
...
Bump axios from 1.1.3 to 1.6.0
2023-11-11 10:50:35 -05:00
dependabot[bot]
da482054a4
Bump axios from 1.1.3 to 1.6.0
...
Bumps [axios](https://github.com/axios/axios ) from 1.1.3 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.1.3...v1.6.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 08:17:36 +00:00
Ajay
134e89af00
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2023-11-06 16:07:46 -05:00
Ajay
5cc80f9066
Use dearrow thumbnails in webhooks
2023-11-06 16:07:44 -05:00
Ajay Ramachandran
e1043aba05
Merge pull request #565 from mchangrh/ajay-has-good-tests
...
non-blocking coverage tests
2023-11-04 18:18:35 -04:00
Michael C
c0abedf67f
non-blocking coverage tests
2023-11-04 18:03:05 -04:00
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