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
Ajay
65954520d0
Treat duplicate full video submission as upvote
2022-01-06 03:39:46 -05:00
Ajay
8fef35dbbc
Allow submitting full sponsors and selfpromo
2022-01-02 22:38:06 -05:00
Ajay
09eec5a4a5
Add locking by action type
2022-01-02 14:00:54 -05:00
Ajay Ramachandran
edd11cc99c
Merge pull request #409 from mchangrh/redisHashCache
...
getHash redis cache
2021-12-03 00:14:01 -05:00
Michael C
a5a90e3c84
add getHashCache where applicable=
2021-11-27 02:41:34 -05:00
Michael C
0a869dbbd7
strict check for videoID length
2021-11-19 02:27:42 -05:00
Michael C
03c95ca158
rename clearSegmentCache
2021-11-15 01:48:14 -05:00
Ajay Ramachandran
32150e4a1d
Add submitting description for chapters
2021-11-06 00:54:28 -04:00
Michael C
88a368d0b9
add tests for shadowban
2021-10-30 17:58:17 -04:00
Ajay Ramachandran
6cf268330f
Remove old auto-ban on low trust
2021-10-27 19:36:33 -04:00
Michael C
83b8127eb2
fix fragment in links
2021-10-19 03:52:24 -04:00
Ajay Ramachandran
a42e933240
Send webhook link with required segment
2021-10-18 20:02:17 -04:00
Ajay Ramachandran
450f4a2d44
Store video info from submissions
2021-10-17 14:42:48 -04:00
Haidang666
356974b478
add service to table only have videoID
2021-09-30 13:56:55 +07:00
Michael C
82c5c70eb7
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios
2021-09-26 18:13:27 -04:00
Michael C
44511acd27
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into reWriteAxios
2021-09-26 18:08:30 -04:00
Michael C
5aa48cdbdf
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into switch-axios
2021-09-26 18:04:22 -04:00
Ajay Ramachandran
161091513d
Merge pull request #365 from mchangrh/updateDependencies
...
update dependencies, add shims for node-fetch v3
2021-09-26 14:41:56 -04:00
Ajay Ramachandran
9619e95283
Don't use cache when no successful submissions exist
2021-09-26 11:11:08 -04:00
Michael C
6433f50edf
replace node-fetch with axios in src
2021-09-23 01:21:10 -04:00
Michael C
28d637f620
remove extra async and extra utils
2021-09-22 23:34:46 -04:00
Michael C
a028eaa41a
object-curly-spacing
2021-09-22 18:52:35 -04:00
Michael C
1dd534cce9
update dependencies, add shims for node-fetch v3
2021-09-20 01:43:19 -04:00
Haidang666
93c69248d9
Add getService helper function
2021-09-13 14:49:17 +07:00
Ajay Ramachandran
1e05c04a39
Allow mute and skip segments with same times
2021-09-05 22:40:40 -04:00
Ajay Ramachandran
1823a91d54
Limit mute action type to specific categories
2021-09-04 00:33:37 -04:00
Ajay Ramachandran
ba7fb6525f
Allow VIP to submit poi segments at any time
2021-08-31 12:27:15 -04:00
Ajay Ramachandran
df904e3744
Merge pull request #350 from mchangrh/poi-min-start-time
...
add config key for poiMinimumStartTime
2021-08-31 12:25:17 -04:00
Ajay Ramachandran
13480fe96c
Merge pull request #346 from mchangrh/update-dependencies
...
Update dependencies & eslint
2021-08-31 12:23:48 -04:00
Michael C
aab95a1adc
add config key for poiMinimumStartTime
2021-08-29 21:43:21 -04:00
Michael C
5f8a319f48
update matrix link
2021-08-29 14:58:41 -04:00
Michael C
9f7abf1865
Revert "fix error with errors"
...
This reverts commit 7601a1d4bf .
2021-08-28 01:53:53 -04:00