Commit Graph

27 Commits

Author SHA1 Message Date
TAG-Epic
2c70f87b93 Add webhooks to postSkipSegments 2020-08-24 13:14:04 +02:00
Ajay Ramachandran
0289b71497 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into experimental 2020-08-23 11:21:28 -04:00
Joe Dowd
226197a827 Added logger util and used in place of console log 2020-08-21 15:27:41 +01:00
Ajay Ramachandran
2516634856 Don't allow 0 ms submissions 2020-08-02 12:08:44 -04:00
Ajay Ramachandran
d5a720fa0c Check that start time is not less than zero 2020-08-02 11:58:11 -04:00
Ajay Ramachandran
5fc839513e Merge pull request #105 from Joe-Dowd/proxy-submission
Proxy submission
2020-07-27 21:09:32 -04:00
Ajay Ramachandran
7878336866 Don't return after proxying 2020-07-27 20:53:15 -04:00
Ajay Ramachandran
98b79b042b Return when proxying 2020-07-27 19:54:08 -04:00
Ajay Ramachandran
51fe7d5599 Changed to if statement 2020-07-27 19:53:23 -04:00
Joe Dowd
99c8d5d238 removed log and fixed log typo 2020-07-27 05:56:23 +01:00
Joe Dowd
18f5d656de Aded option to proxy submisissions to another server to persist. 2020-07-27 05:51:49 +01:00
Joe-Dowd
46dd16caf9 added ability to query mysql database 2020-07-05 04:14:15 +01:00
Ajay Ramachandran
73740bc920 Remove submission cap 2020-05-25 22:50:18 -04:00
Ajay Ramachandran
2cbeb50927 Raise max submissions per user to 16 2020-05-25 22:22:53 -04:00
Ajay Ramachandran
a2caa53664 Only sponsors must be longer than 1 second.
Also added proper error message when submission is too short.
2020-05-16 18:33:16 -04:00
Ajay Ramachandran
88a9628e7e Disable IP ratelimiting 2020-05-16 16:54:51 -04:00
Ajay Ramachandran
261432a7fd Fix isUserTrustworthy missing from voting method 2020-05-16 16:40:18 -04:00
Ajay Ramachandran
0315aa67d7 make VIP submissions take priority. 2020-05-16 00:07:56 -04:00
Ajay Ramachandran
f23ead56ad Updated inserts to new database schema and removed null coalescing 2020-04-29 21:26:11 -04:00
Joe-Dowd
fd397de6b4 allow submission if duration is 0 2020-04-24 18:20:40 +01:00
Joe-Dowd
6cd672f9e6 allow submissions when duration is parsed as 0 2020-04-24 18:11:09 +01:00
Ajay Ramachandran
ca8f571978 Removed extra logging 2020-04-06 20:30:27 -04:00
Ajay Ramachandran
70a39eeea4 Fixed duplicate check code 2020-04-06 20:29:58 -04:00
Ajay Ramachandran
06de0d61fa Fixed crashes from multiple submissions. 2020-04-06 20:14:50 -04:00
Ajay Ramachandran
557c6ad05a Fixed discord tests 2020-04-06 20:12:12 -04:00
Ajay Ramachandran
9807d3e9c7 Merge 2020-04-06 20:05:26 -04:00
Ajay Ramachandran
bd2f00d5f7 Added new submission method 2020-04-06 16:43:47 -04:00