Commit Graph

168 Commits

Author SHA1 Message Date
mini-bomba
c77e71e66a it's called a ✝️ℹ️🅿️, not warning 2023-08-29 13:48:50 +02:00
Ajay
ecfc2c14c8 Remove minimum submission duration for mutes 2023-08-05 13:59:02 -04:00
Ajay
f63fa09605 Handle exceptions, and prevent crashing from unhandled exceptions 2023-07-24 21:25:18 -04:00
Ajay
a52ecf2d37 Add more unlock calls 2023-07-23 23:32:38 -04:00
Ajay
8bcc781da7 Add locks to different write operations 2023-07-23 23:21:50 -04:00
Ajay
e9fcf6b445 Add seperate type for dearrow warning
Also add dearrow warning reason as option for user info
2023-07-17 22:42:29 -04:00
Ajay
8b418c8851 Add hiding dearrow submissions in ban code 2023-07-05 01:23:48 -04:00
Ajay
0b830610e9 Fix chapters duplicate check 2023-03-19 00:25:22 -04:00
Michael C
8495a9d6c0 fix unban query hitting limit, use number as type 2023-02-25 00:04:15 -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
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
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
51d25cfc68 Ban users submitting from banned IPs 2023-01-29 13:53:08 -05:00
Ajay
5426ae826e Add IP banning 2023-01-28 13:09:04 -05:00
Ajay
d0a9168531 remove temp server outage error 2023-01-22 18:59:51 -05:00
Ajay
2ed23d7fcb Fix duplicate chapter issue
Fix https://github.com/ajayyy/SponsorBlockServer/issues/521
2023-01-21 21:52:39 -05:00
Michael C
7c2feb80bc videoID validation and userID min length 2022-12-27 01:45:50 -05:00
Ajay
6c18579a78 Added back mention of video to lock message 2022-11-12 12:45:35 -05:00
Ajay
e6e8c8e5a1 Added suggestion to refresh for locks 2022-11-12 12:43:16 -05:00
Ajay
50743070de Clarify locked category error 2022-11-12 12:41:00 -05:00
Ajay
a6275b3607 Add message about server outage 2022-10-22 13:32:48 -04:00
Michael C
62a9b0eddd add innerTube as primary videoInfo endpoint
- drop videoInfo.genreUrl since it's always empty
- bump ts target to ES2021 for Promise.any
- fix mocks to return err: false
- get maxResThumbnail from static endpoint
2022-09-15 17:02:33 -04:00
Ajay
bd7dfc63ff Add eslint rules for dealing with promises 2022-09-07 20:01:11 -04:00
Ajay
ec41102f07 Better chapter name error and increase min size 2022-09-04 22:36:26 -04:00
Ajay
f103a02a34 Don't check 80% for chapters 2022-09-02 17:24:10 -04:00
Ajay
4f637daeaa best way to deal with annoyance 2022-08-19 15:48:03 -04:00
Ajay
6804e7d7a8 Add logging for permission rejections 2022-08-12 15:26:20 -04:00
Ajay
46805f4830 Require permission for filler submissions 2022-07-28 12:22:49 -04:00
Ajay
db2f9e11f7 Remove warning about disapearing degments bug 2022-07-23 14:12:06 -04:00
Ajay
2983bdb616 Add warning about segments not appearing 2022-07-22 21:06:21 -04:00
Ajay
597b26ba7c Clear cache when submission rejected 2022-07-22 21:05:38 -04:00
Ajay
c2b0ecd6f6 Add ability to add manually choose who can submit chapters 2022-07-06 00:11:45 -04:00
Ajay
0f3df8db1b make temp vip as powerful as vip for submitting 2022-07-04 16:21:02 -04:00
Michael M. Chang
b09ed1cbe2 Update src/routes/postSkipSegments.ts
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2022-04-11 01:54:28 -04:00
Michael C
f67c0b5762 merged changes by @mini-bomba 2022-03-31 18:03:42 -04:00
Michael C
d392b1c8fc remove outdated comments & unnecessary space 2022-03-31 16:52:05 -04:00
Michael C
d02d78f325 add 80% tempVIP
- move isUserTempVIP to own file
- reduce allSegmentDuration instead of forEach
- don't return decreaseVotes from autoModerator
- completely skip autoModCheck if VIP
2022-03-31 16:43:10 -04:00
Michael C
76cc603a3f update auotmod check
- remove NB code
- reduce complexity + unnecessary iterations
- use client duration if given
2022-03-31 16:02:50 -04:00
Michael C
a2f2cf9c0d update lockCategories
- migration to remove invalid locks
- lockCategories poi_highlight is now actionType poi
- deleteLockCategories now takes actionType
- update postLockCategories response, serverside filtering for accepted categories
- fix tests accordingly
2022-02-03 17:44:29 -05:00
Ajay
d367998d39 Remove use of "CategoryActionType" 2022-01-19 18:11:01 -05:00
Ajay Ramachandran
b39d323a22 Merge pull request #444 from mchangrh/full-tests
Tests for full video locks
2022-01-16 13:17:19 -05:00
Ajay
df23d1510d More friendly lock message 2022-01-15 15:41:39 -05:00
Michael C
6f737ab0b6 minor typo spotted 2022-01-08 17:16:23 -05:00
Ajay
c0c2b365ae Fix full video different category duplicate error 2022-01-06 15:17:21 -05:00
Ajay
d5d73273de Don't autohide full video segments for duration change 2022-01-06 14:45:05 -05:00
Ajay
44ffa40b6c Should not add full segments to db from shadowbanned users 2022-01-06 14:15:50 -05:00
Ajay
b4f8bdd719 Add test for submitting full video converting to upvote 2022-01-06 14:10:41 -05:00
Ajay
68c6266139 formatting 2022-01-06 03:40:04 -05:00