Commit Graph

88 Commits

Author SHA1 Message Date
Ajay Ramachandran
a1babfb2ce Lower vote threshold 2020-08-29 15:48:31 -04:00
Ajay Ramachandran
407c38b4be Hostfix basic ip ban 2020-08-29 14:00:15 -04:00
Ajay Ramachandran
f868939eb9 Remove dead submissions from total stats 2020-08-29 12:43:17 -04:00
Ajay Ramachandran
84b143545d Fix function name 2020-08-29 12:35:24 -04:00
Ajay Ramachandran
67951b39d9 Change vote and username requirements 2020-08-29 12:25:35 -04:00
Ajay Ramachandran
19363c86f9 New vote weight 2020-08-24 20:51:04 -04:00
Ajay Ramachandran
f7bde024cb Allow self-upvotes on dead submissions 2020-08-24 20:21:39 -04:00
Ajay Ramachandran
9cebb8769f Add author name to discord notification 2020-08-23 11:34:07 -04: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
fba25fea0f Update src/routes/voteOnSponsorTime.js
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
2020-08-22 20:45:31 +01:00
Joe Dowd
16c68dd51d allow removing own segments with a downvote 2020-08-21 22:32:34 +01: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
Ajay Ramachandran
fe444560fd Fix shadow hidden endpoint 2020-07-26 11:44:15 -04:00
Ajay Ramachandran
986c9dcf5f Don't show banned users on the leaderboard 2020-07-26 11:26:51 -04:00
Ajay Ramachandran
4bfa5e7de8 Banned users can't vote 2020-07-26 11:13:36 -04:00
Ajay Ramachandran
15fb572b80 Added IP test and potentially improved performance 2020-07-25 21:40:49 -04:00
Ajay Ramachandran
e71680c8e3 Block voting without submitting and on the same IP 2020-07-25 21:35:43 -04:00
Ajay Ramachandran
005e88d169 Merge pull request #92 from Joe-Dowd/mysql-conv
Added ability to query a mysql database
2020-07-25 19:01:57 -04:00
Ajay Ramachandran
84c5a76e90 Merge pull request #100 from ajayyy/experimental
Fix weight not updating properly
2020-07-23 23:36:04 -04:00
Ajay Ramachandran
b6dd109fcb Fix weight not properly 2020-07-23 23:34:31 -04:00
Nanobyte
c2e0c1be95 Fixed mixed up category stats 2020-07-17 03:24:53 +02:00
Nanobyte
b41c633a54 Simplified categoryStats query parameter 2020-07-17 00:51:37 +02:00
Nanobyte
1823305a5e Fixed empty array for categoryStats in getTopUsers 2020-07-16 21:53:09 +02:00
Nanobyte
c4f9515c09 Added categoryStats for getTopUsers 2020-07-14 18:15:23 +02:00
Ajay Ramachandran
adbb176697 Merge pull request #93 from ajayyy/experimental
Remove extra power downvote
2020-07-08 23:02:30 -04:00
Ajay Ramachandran
347f2ab1e1 Remove extra power downvote 2020-07-08 22:46:32 -04:00
Joe-Dowd
46dd16caf9 added ability to query mysql database 2020-07-05 04:14:15 +01:00
Pierre Donias
85dcb39f5e Rework of getSkipSegments 2020-06-03 16:56:40 +02:00
Ajay Ramachandran
aa4574cfde Add category to notification 2020-06-02 19:28:09 -04:00
Ajay Ramachandran
617f075c19 Added semi-colons and spacing 2020-05-28 18:24:02 -04:00
Ajay Ramachandran
ba512f004e sponsorStart, sponsorEnd -> startTime, endTime 2020-05-28 18:23:19 -04:00
Pierre Donias
47d532733b Improve generation of similar sponsors groups
by running a single flat loop
2020-05-28 22:36:47 +02: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
34a33bbda1 Fixed voting on non existent submission status in wrong spot 2020-05-16 16:41:55 -04:00
Ajay Ramachandran
261432a7fd Fix isUserTrustworthy missing from voting method 2020-05-16 16:40:18 -04:00
Ajay Ramachandran
06d1c082fb Fix issues with userID getting in voting 2020-05-16 00:42:38 -04:00
Ajay Ramachandran
7f07794ce4 Removed null coalescence operator 2020-05-16 00:15:33 -04:00
Ajay Ramachandran
7b31c40676 Prevent userID errors 2020-05-16 00:12:31 -04:00
Ajay Ramachandran
0315aa67d7 make VIP submissions take priority. 2020-05-16 00:07:56 -04:00