Commit Graph

48 Commits

Author SHA1 Message Date
Ajay
c2b0ecd6f6 Add ability to add manually choose who can submit chapters 2022-07-06 00:11:45 -04:00
Ajay
d75226bde5 better db dump system 2022-05-05 22:50:07 -04:00
Ajay
5b177a3e53 Prepare dockerfile for use, allow configuring via env vars 2022-05-03 22:08:44 -04:00
Michael C
a42f023074 add more testing, change enabled
- add 404 if channelID cannot be dervived
- added response message on success returning channel name
- test limits of temp VIP
- minor eslint
2021-12-31 16:54:28 -05:00
Ajay Ramachandran
ce4270b96d Merge branch 'master' into categoryLeaderboards 2021-12-31 14:04:20 -05:00
Michael C
a1d28fbfe1 add addUserAsTempVIP 2021-12-31 04:26:37 -05:00
Michael C
42624a7782 minor eslint fixes 2021-12-30 04:09:46 -05:00
Michael C
0db3240f58 add getTopCategoryUsers 2021-12-27 04:58:11 -05:00
Michael C
3dd9024cc7 eslint + workflow formatting
- appropriate job names
- only trigger on pushes to master branch & PRs
- conform to formatting
2021-12-20 23:04:41 -05:00
Ajay Ramachandran
4964c72e71 Serve database csv from node 2021-12-04 22:55:36 -05:00
Ajay Ramachandran
48ac8d1136 Add test for get bulk rating 2021-12-02 23:12:48 -05:00
Michael C
ad7574308f clear rating cache 2021-11-15 01:50:09 -05:00
Ajay Ramachandran
bc6db0d109 Add endpoints for rating endpoint (dislikes)
https://github.com/ajayyy/SponsorBlock/issues/1039
2021-11-14 23:09:12 -05:00
Ajay Ramachandran
6919b5433b Add suggested chapter names 2021-11-06 22:43:03 -04:00
Ajay Ramachandran
9cdccbe7f0 Fix user counter not working 2021-10-12 21:19:37 -04:00
Michael C
a028eaa41a object-curly-spacing 2021-09-22 18:52:35 -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
9b05ee96af add getUserStats 2021-09-04 17:06:49 -04:00
Ajay Ramachandran
33318ef4c6 Add youtube api cache 2021-09-02 18:33:52 -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
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
840ccb517e add getSearchSegments endpoint 2021-08-27 21:46:39 -04:00
Michael C
5ad7c6a3ba catch all error in endpoint 2021-08-06 00:51:22 -04:00
Michael C
c0b1d201ad fix non-format eslint in src/ 2021-07-12 02:12:22 -04:00
Michael C
1c116eda3b Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into getLockCategories 2021-07-04 23:33:21 -04:00
Michael C
a860e96d35 getLockCategoresByHash 2021-07-04 23:33:12 -04:00
Michael C
719a0956ac add getLockCategories 2021-07-04 17:03:28 -04:00
Michael C
d89b26b77d fix eslint-errors 2021-07-04 01:36:03 -04:00
DetachHead
20335e3f27 use express-promise-router to prevent requests timing out on unhandled promise rejections 2021-07-03 14:59:57 +10:00
Michael C
d4695f0192 add getUserID and tests 2021-06-25 03:33:41 -04:00
Ajay Ramachandran
8312cfc0aa Move purgeAllSegments up in app.ts 2021-06-24 01:37:50 -04:00
Haidang666
9b43ce0ab7 Add purge all segments of VideoId 2021-06-24 12:29:02 +07:00
Ajay Ramachandran
42da1b6c23 Add endpoint to submit unlisted videos
A temporary measure which will be removed next month

https://support.google.com/youtube/answer/9230970
2021-06-23 19:19:30 -04:00
Michael C
c13bc6cfbd added tests and route 2021-06-18 17:46:18 -04:00
Michael C
8dcc1a4a53 add getSegmentInfo with tests 2021-06-16 00:33:51 -04:00
Ajay Ramachandran
6a58a08781 Rename user info endpoint 2021-05-24 16:05:18 -04:00
Ajay Ramachandran
cd66399049 Add csp for API 2021-05-06 16:03:26 -04:00
Nanobyte
f561388a1f Rename noSegments to lockCategories 2021-04-24 01:54:42 +02:00
Ajay Ramachandran
19058d3760 Add redirects 2021-04-19 20:54:52 -04:00
Ajay Ramachandran
c9a8dc21b1 Unlock videos and hide segments if duration changed 2021-03-29 19:16:18 -04:00
Ajay Ramachandran
8423165df4 Add json page for database export 2021-03-20 01:13:16 -04:00
Ajay Ramachandran
02e628f533 Setup csv exports and html status page 2021-03-20 01:08:33 -04:00
Ajay Ramachandran
e21ebd18a6 Don't ratelimit VIPs 2021-02-18 20:47:26 -05:00
Dainius Dauksevicius
12729b36fb fix docker build, add proper mocks to tests, remove YouTubeAPI dependency on youtube test mock, move index.ts and test.ts to /src ant /test folders 2020-10-26 19:13:30 +02:00
Dainius Daukševičius
08d27265fc migrate to typescript 2020-10-26 19:13:30 +02:00