Michael C
e6f54f11f0
decompose postSkipSegments more
2023-02-21 17:00:23 -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
Michael C
7fb68937d0
add innertube tests for private videos
2022-11-09 14:39:02 -05:00
Michael C
d80be9e7b3
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-coverage
2022-09-30 19:36:58 -04:00
Michael C
b652102c42
move mocks to subfolder
2022-09-24 22:45:23 -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
Michael C
d1d7675a8c
test fixes
...
test fixes
- fix timeout in redis (by @ajayyy)
- allow "errors" in tempVIP test
- remove duplicate warning in postSkipSegments
- remove duplicate VIP in tempVIP
- run tests against different user once tempVIP removed
- fix typo in getHashCache fetching
syntax and wording
- use standard syntax in redisTest
- fix spacing in getLockReason
- typo in npm script name
test cases
- add getHashCache test case
- add more tests to redisTest
configuration
- update config to use redis timeout
- update docker-compose to use newest pinned version
Co-Authored-By: Ajay Ramachandran <dev@ajay.app >
2022-09-07 02:16:23 -04:00
Ajay
04eabd5141
Fix error
2022-07-29 11:49:08 -04:00
Ajay
c2b0ecd6f6
Add ability to add manually choose who can submit chapters
2022-07-06 00:11:45 -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
Ajay
22b4135d62
Fix flaky test
2022-02-21 22:58:23 -05:00
Ajay
a31a4d016f
Fix lock reason test
2022-01-16 13:19:42 -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
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
Michael C
0a869dbbd7
strict check for videoID length
2021-11-19 02:27:42 -05:00
Ajay Ramachandran
16c5819f5c
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into chapters
2021-11-08 19:26:39 -05:00
Ajay Ramachandran
db48953e39
Allow mute intro, outro, preview and add filler
2021-11-08 19:24:58 -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
Michael C
fd6ae8fc0e
bargaining with postgres CI
...
- fix tests with lockCategories
- new unique naming scheme for video
- super janky somehow working method for comparing arrays out of order
2021-10-22 03:53:27 -04:00
Ajay Ramachandran
450f4a2d44
Store video info from submissions
2021-10-17 14:42:48 -04:00
Michael C
28d637f620
remove extra async and extra utils
2021-09-22 23:34:46 -04:00
Michael C
4e50f0ab4b
remaining tests
2021-09-22 23:18:31 -04:00
Michael C
a028eaa41a
object-curly-spacing
2021-09-22 18:52:35 -04:00
Michael C
5758f6512d
move utils to seperate files and folder, update imports
2021-09-21 02:02:17 -04:00
Michael C
d4d9f2d4d7
remove unnecessary async await
2021-09-17 00:03:42 -04:00
Michael C
e7d55d1e1b
everything after postClearCache
2021-09-16 23:05:16 -04:00
Michael C
7cef510b29
quoted
2021-09-16 20:50:59 -04:00
Michael C
870ade6fa9
postSkipSegments
2021-09-16 20:44:12 -04:00
Ajay Ramachandran
1823a91d54
Limit mute action type to specific categories
2021-09-04 00:33:37 -04:00
Michael C
5f8a319f48
update matrix link
2021-08-29 14:58:41 -04:00
Michael C
9e488b8917
Merge branch 'master' of github.com:mchangrh/SponsorBlockServer into poi-restriction
2021-08-28 01:39:52 -04:00
Michael C
b3320ab0fd
submit test as poi_highlight
2021-08-28 01:38:00 -04:00
Michael C
c448bb3d9a
add test case
2021-08-27 16:44:29 -04:00
Michael C
c3f7b29d44
throw error 400 when start or endtime has colon
2021-08-24 19:12:58 -04:00
Ajay Ramachandran
5965879ed1
Rename highlight category to poi_highlight
2021-08-17 22:01:12 -04:00
Ajay Ramachandran
1cbd162a22
Support commas in timestamps
2021-08-10 23:12:20 -04:00
Michael C
ed0d832e08
use partialDeepEquals for tests
2021-08-03 00:19:37 -04:00
Ajay Ramachandran
3368615a77
Add test for body user agent
2021-08-01 02:57:02 -04:00
Ajay Ramachandran
8f0f01e6b2
Parse user agent header
2021-07-31 21:49:10 -04:00
Haidang666
01cbf67bcb
Fix test on new warning reason format
2021-07-30 13:50:46 +07:00
Haidang666
ce193b60f7
Store user-agent in postSkipSegment
2021-07-30 13:47:21 +07:00
Haidang666
c701998a35
return reason in locked categories when submission fail
2021-07-27 14:03:51 +07:00
Ajay Ramachandran
7b15957bb8
fix tests
2021-07-25 14:34:55 -04:00
Ajay Ramachandran
0990a9b87d
Add semicolon
2021-07-22 20:00:42 -04:00
Michael C
87727ef360
fix tests and linting
2021-07-22 17:50:39 -04:00
Michael C
5f2bc37e96
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into stricter-eslint
2021-07-13 15:55:03 -04:00