Commit graph

65 commits

Author SHA1 Message Date
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
Michael C
8b3ffe5d0d
fix eslint for tests 2021-07-12 02:43:46 -04:00
Michael C
178ed1e5af
replace if tests with assert 2021-07-08 00:39:57 -04:00
Ajay Ramachandran
2379899f02 Add a minimum size to userID when submitting 2021-07-06 00:49:07 -04:00
Ajay Ramachandran
35e1cf5733 Add test for submitting 2021-07-06 00:22:01 -04:00
Michael C
3c197ec3d9
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fix-eslint 2021-07-04 15:23:00 -04:00
Michael C
d89b26b77d
fix eslint-errors 2021-07-04 01:36:03 -04:00
Ajay Ramachandran
a7315eaee0 Add case for default warning message 2021-07-03 22:45:13 -04:00
Haidang666
09e50d432e Update postSegment test with reason 2021-07-01 11:31:35 +07:00
Nanobyte
11e6c93932 Merge remote-tracking branch 'upstream/master' into fix/prepare-statements 2021-06-21 18:19:50 +02:00
Ajay Ramachandran
0904036009 Use newleaf instead of YouTube API 2021-06-02 22:34:38 -04:00
Ajay Ramachandran
590ed037dd Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into export 2021-05-23 11:17:10 -04:00
Nanobyte
78a7f8a207 Fix test case prepare statements 2021-05-07 01:51:11 +02:00