Commit Graph

563 Commits

Author SHA1 Message Date
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
5dcc90b31a fix CI errors 2021-09-22 18:46:13 -04:00
Michael C
a5c88693b8 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into reWriteAxios 2021-09-22 18:44:23 -04:00
Michael C
9b6808273b json as any 2021-09-22 17:57:12 -04:00
Michael C
c779c2c19e everything to postClearCache 2021-09-22 17:50:06 -04:00
Michael C
94e1e8c377 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into reWriteTests 2021-09-21 02:03:05 -04:00
Michael C
5758f6512d move utils to seperate files and folder, update imports 2021-09-21 02:02:17 -04:00
Michael C
ce0073e7b0 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into getLockReason 2021-09-18 23:26:49 -04:00
Michael C
c0074c9f8c add tests 2021-09-18 23:24:23 -04:00
Michael C
d4d9f2d4d7 remove unnecessary async await 2021-09-17 00:03:42 -04:00
Michael C
802dd50163 naming 2021-09-17 00:01:29 -04:00
Michael C
9e9fcd47c0 finished other tests 2021-09-16 23:59:19 -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
803c3f2a29 Merge pull request #357 from mchangrh/getUserStats
add getUserStats
2021-09-15 20:45:52 -04:00
Ajay Ramachandran
4d9e595470 Rename user stats parameters 2021-09-15 20:44:20 -04:00
Haidang666
93c69248d9 Add getService helper function 2021-09-13 14:49:17 +07:00
Michael C
18c1735087 acceptance 2021-09-07 00:48:01 -04:00
Michael C
46270cfe84 partialDeepEquals for varying orders 2021-09-07 00:32:32 -04:00
Michael C
3d30eea1cb add categoryStats and typeStats 2021-09-07 00:13:52 -04:00
Ajay Ramachandran
1e05c04a39 Allow mute and skip segments with same times 2021-09-05 22:40:40 -04:00
Michael C
6e55f9d979 everything up to purgeAllSegments 2021-09-04 19:23:43 -04:00
Michael C
9b05ee96af add getUserStats 2021-09-04 17:06:49 -04:00
Ajay Ramachandran
1823a91d54 Limit mute action type to specific categories 2021-09-04 00:33:37 -04:00
Ajay Ramachandran
9cbea88f6f Merge pull request #353 from mchangrh/statusOptions
get status with options
2021-09-02 12:04:38 -04:00
Michael C
74626f8e3f more endpoints! 2021-09-01 23:49:18 -04:00
Michael C
fa1166e5d8 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into searchSegments 2021-09-01 23:26:55 -04:00
Michael C
664db71104 get status with options 2021-09-01 23:24:43 -04:00
Michael C
e12724af15 add getStatus and cases 2021-09-01 16:52:41 -04:00
Michael C
e9bffd0cf2 add test cases and fixed bugs 2021-09-01 13:53:06 -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
5f8a319f48 update matrix link 2021-08-29 14:58:41 -04:00
Michael C
e53f65f324 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into update-dependencies 2021-08-28 01:49:23 -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
Ajay Ramachandran
7ef28d859f Merge pull request #343 from mchangrh/409-ban-exists
re-shadowban user
2021-08-28 00:20:22 -04:00
Michael C
1c2dd055c1 Update dependencies & eslint
- update API-Docs link
- cast err as string to appease eslint
- update package and bump minimum to fix security issue
- removed unnecessary filters from gitignore
2021-08-27 17:09:31 -04:00
Michael C
c448bb3d9a add test case 2021-08-27 16:44:29 -04:00
Michael C
265a01dcde re-shadowban user
if user is already shadowbanned but unhideOldSubmissions is true, sets all submissions to hidden. If not true, then return 409 duplicate
2021-08-25 01:56:34 -04:00
Michael C
c3f7b29d44 throw error 400 when start or endtime has colon 2021-08-24 19:12:58 -04:00
Ajay Ramachandran
f1f5bdb2be Fix test 2021-08-17 22:08:51 -04:00
Ajay Ramachandran
5965879ed1 Rename highlight category to poi_highlight 2021-08-17 22:01:12 -04:00
Ajay Ramachandran
c869e60b04 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2021-08-10 23:13:59 -04:00
Ajay Ramachandran
d653f00a2d Print when partial deep equals fails 2021-08-10 23:13:56 -04:00
Ajay Ramachandran
1cbd162a22 Support commas in timestamps 2021-08-10 23:12:20 -04:00
Ajay Ramachandran
fa901add35 print error in tests 2021-08-10 10:52:02 -04:00
Michael C
58551ba37f add maxRewardTime 2021-08-06 00:51:22 -04:00