Commit graph

904 commits

Author SHA1 Message Date
Ajay Ramachandran
346485da8c Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
# Conflicts:
#	src/routes/voteOnSponsorTime.ts
2021-04-17 16:25:10 -04:00
Ajay Ramachandran
5b2f05741e Fix no segments votes being allowed 2021-04-17 16:23:45 -04:00
Nanobyte
cb4ecea830 Add vip info to getUserInfo 2021-04-15 23:05:18 +02:00
Nanobyte
112b232f9e Fix UserID types 2021-04-15 23:03:50 +02:00
Nanobyte
9b0ba9031e Optimize code 2021-04-15 01:22:25 +02:00
Nanobyte
389885893c Only get enabled warnings 2021-04-15 01:22:01 +02:00
Ajay Ramachandran
77a4c2fe34 Update nginx config 2021-04-13 03:04:02 +02:00
Ajay Ramachandran
f6f5570d0c Improve auto mod reject message 2021-04-11 13:15:42 -04:00
Ajay Ramachandran
6a9b218e22 Don't always use YouTube API cache 2021-04-08 20:37:19 -04:00
Ajay Ramachandran
8088f37632 Only return one segment for highlight category 2021-04-05 23:48:51 -04:00
Ajay Ramachandran
7bf09906d3 Prevent voting for highlight category 2021-04-05 22:33:28 -04:00
Ajay Ramachandran
6554e142cc Add highlight category 2021-04-04 23:12:26 -04:00
Ajay Ramachandran
bf2d033ac3
Merge pull request #223 from ajayyy/export
Improvements
2021-04-02 16:43:40 -04:00
Ajay Ramachandran
bc688a3d8d FIx duration issue 2021-04-02 16:40:51 -04:00
Ajay Ramachandran
5bcfe9f192
Merge pull request #222 from ajayyy/dependabot/npm_and_yarn/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1
2021-04-02 12:25:14 -04:00
Ajay Ramachandran
cfbf8a47d7 Fix hashing function 2021-04-02 12:03:21 -04:00
dependabot[bot]
1eca55d96c
Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 21:52:03 +00:00
Ajay Ramachandran
93d7242021 Add preview category 2021-03-30 22:50:09 -04:00
Ajay Ramachandran
612463165a
Merge pull request #220 from ajayyy/export
Unlock videos and hide segments if duration changed
2021-03-30 18:28:44 -04:00
Ajay Ramachandran
c9a8dc21b1 Unlock videos and hide segments if duration changed 2021-03-29 19:16:18 -04:00
Ajay Ramachandran
c17f0b1e6e Add invite link 2021-03-29 18:39:55 -04:00
Ajay Ramachandran
e5e63efffe
Merge pull request #218 from ajayyy/export
Apply indexes after upgrades
2021-03-26 21:28:26 -04:00
Ajay Ramachandran
5152d7e649 Fixed tests 2021-03-26 19:13:52 -04:00
Ajay Ramachandran
37a07ace72 Cache data for getting hash-prefix segments 2021-03-26 19:03:30 -04:00
Ajay Ramachandran
46524e4298 Fix indexes 2021-03-26 19:02:32 -04:00
Ajay Ramachandran
c7eb5fed35 Fix video duration precision and use submitted one when possible 2021-03-26 18:35:25 -04:00
Ajay Ramachandran
5c827baa1a
Update db link 2021-03-25 18:48:44 -04:00
Ajay Ramachandran
27c2562a7f Add more indexes 2021-03-23 23:46:46 -04:00
Nanobyte
2c3dde0d2e Timestamp based dump filenames and garbage collection 2021-03-22 22:18:23 +01:00
Nanobyte
8219b0398e Fix invalid json in example config 2021-03-22 01:35:45 +01:00
Ajay Ramachandran
11b4f642a6 Apply indexes after upgrades 2021-03-21 19:16:56 -04:00
Nanobyte
514ea03655 Add TS for dumpDatabase config 2021-03-21 22:59:16 +01:00
Nanobyte
84b86bb6a1 Make dumpDatabase configurable 2021-03-21 22:40:57 +01:00
Ajay Ramachandran
fcd7be632c
Merge pull request #215 from ajayyy/export
Add new "Service" option
2021-03-20 12:26:08 -04:00
Ajay Ramachandran
cbf043ac7e Add twitch 2021-03-20 11:54:50 -04:00
Ajay Ramachandran
180d9bfb73 Add explanation to database page 2021-03-20 11:46:37 -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
3c89e9c015 Send back duration in getSkipSegments request 2021-03-19 22:52:23 -04:00
Ajay Ramachandran
5544491728 Add duration option when submitting and save duration in DB 2021-03-19 22:45:30 -04:00
Ajay Ramachandran
29d2c9c25e Add new "Service" option 2021-03-19 21:31:16 -04:00
Nanobyte
e883f76e54 Fix quote inconsistency 2021-03-20 01:17:50 +01:00
Ajay Ramachandran
10d445badb
Merge branch 'master' into feat/limit-reward-time-per-segment 2021-03-19 20:07:22 -04:00
Ajay Ramachandran
8f2ea30da0 Fix rejecting downvotes 2021-03-19 18:19:45 -04:00
Ajay Ramachandran
a27adffec0
Update README.MD 2021-03-19 18:09:53 -04:00
Ajay Ramachandran
14489e3b4b
Merge pull request #214 from ajayyy/export
Send moderator rejected votes to discord anyway
2021-03-19 18:09:01 -04:00
Ajay Ramachandran
3503024fd7
Merge pull request #212 from MRuy/feat/postskipsegments-response-with-new-segments
Return new created segments on success
2021-03-19 18:08:43 -04:00
Ajay Ramachandran
1f01c004ae Send moderator rejected votes to discord anyway 2021-03-19 18:05:33 -04:00
Ajay Ramachandran
cfdb0f4466 Remove index creation from upgraders 2021-03-11 18:55:27 -05:00
Ajay Ramachandran
4168733825 Only count users when asked 2021-03-11 18:40:09 -05:00