Commit graph

1516 commits

Author SHA1 Message Date
Ajay Ramachandran
c20649e14a Made the discord notification show votes after vote happened. 2019-12-28 11:49:51 -05:00
Ajay Ramachandran
e20910c920
Merge pull request #47 from ajayyy/experimental
Discord messages + Increased downvote power
2019-12-28 11:30:39 -05:00
Ajay Ramachandran
efc32f8e3a Improved VIP downvote calculation. 2019-12-28 00:48:11 -05:00
Ajay Ramachandran
d5a679731c Removed notification for first time submission if there is a conflict. 2019-12-28 00:41:33 -05:00
Ajay Ramachandran
95ccaf9478 Increased downvote power and VIP downvote power. 2019-12-28 00:38:22 -05:00
Ajay Ramachandran
50bc218ccd Fixed double downvote issue. 2019-12-28 00:36:03 -05:00
Ajay Ramachandran
765755a041 Added first time submission notifications for discord.
Also updated the downvote notification.
2019-12-28 00:29:14 -05:00
Ajay Ramachandran
54455bf625 Made errors respond 502 instead of 409. 2019-12-24 11:05:11 -05:00
Ajay Ramachandran
69f1bff0a1 Made it send a discord message when someone downvotes a sponsor. 2019-12-24 10:53:20 -05:00
Ajay Ramachandran
96fff242f4
Moved API Docs 2019-12-23 21:39:28 -05:00
Ajay Ramachandran
ae9d840567
Merge pull request #45 from ajayyy/experimental
Revert "Revert "Revert "Added all db write methods to a queue."""
2019-12-10 19:55:25 -05:00
Ajay Ramachandran
b65cab0508 Revert "Revert "Revert "Added all db write methods to a queue."""
This reverts commit 379bbee4ab.
2019-12-10 19:54:56 -05:00
Ajay Ramachandran
d0d62faf57
Merge pull request #44 from ajayyy/experimental
Revert "Revert "Added all db write methods to a queue.""
2019-12-10 19:23:14 -05:00
Ajay Ramachandran
379bbee4ab Revert "Revert "Added all db write methods to a queue.""
This reverts commit 9cf4a7ed55.
2019-12-10 19:22:35 -05:00
Ajay Ramachandran
82e3c8395c
Clarified difference between local userID and public userID 2019-12-08 19:09:02 -05:00
Ajay Ramachandran
95016dab4d
Fixed copying error 2019-12-08 19:04:55 -05:00
Ajay Ramachandran
9da0d47208
Update README.MD 2019-12-08 18:16:09 -05:00
Ajay Ramachandran
667b87cd92
Update README.MD 2019-12-06 21:47:44 -05:00
Ajay Ramachandran
3a9971ce8b
Merge pull request #42 from ajayyy/experimental
Merged same username users
2019-12-03 17:33:08 -05:00
Ajay Ramachandran
691d87d4ff Merged users with the same username for leaderboard purposes. 2019-12-03 17:32:03 -05:00
Ajay Ramachandran
505f2c7385 Fixed getSavedTimeForUser to ignore low voted or shadow hidden submissions. 2019-12-03 17:02:02 -05:00
Ajay Ramachandran
c9988f1144
Fixed typo 2019-11-28 18:58:19 -05:00
Ajay Ramachandran
57ada81c62
Merge pull request #41 from ajayyy/experimental
Revert "Added all db write methods to a queue."
2019-11-23 01:29:59 -05:00
Ajay Ramachandran
9cf4a7ed55 Revert "Added all db write methods to a queue."
This reverts commit 17f7e618ec.
2019-11-23 01:27:32 -05:00
Ajay Ramachandran
f798fa1af1
Merge pull request #40 from ajayyy/experimental
Removed banned users from the leaderboard
2019-11-21 13:37:03 -05:00
Ajay Ramachandran
2a25e4a2d9 Removed banned users from total stats. 2019-11-21 13:27:09 -05:00
Ajay Ramachandran
aae0a6f9d4 Removed shadow hidden submissions from stats. 2019-11-15 16:16:42 -05:00
Ajay Ramachandran
145cb771b7
Merge pull request #38 from ajayyy/experimental
Performance related features
2019-10-29 17:30:28 -04:00
Ajay Ramachandran
17f7e618ec Added all db write methods to a queue.
Should resolve DB busy crash.
2019-10-29 17:29:31 -04:00
Ajay Ramachandran
4b47769f61 Added ability to enable read only mode from the config. 2019-10-28 16:37:08 -04:00
Ajay Ramachandran
e87f804070 Fixed config defined too late 2019-10-27 18:02:12 -04:00
Ajay Ramachandran
7b413dcbb2 Made db paths use the config 2019-10-27 17:57:53 -04:00
Ajay Ramachandran
ff7a12b323
Merge pull request #37 from ajayyy/experimental
Changed similar sponsor check to check if equal as well
2019-10-23 21:12:53 -04:00
Ajay Ramachandran
9cdf0596c0 Changed similar sponsor check to check if equal as well. 2019-10-23 20:15:47 -04:00
Ajay Ramachandran
909ad68444
Merge pull request #36 from ajayyy/experimental
Prevented db errors from crashing the server
2019-10-22 18:18:40 -04:00
Ajay Ramachandran
0404dfd53f Prevented db errors from crashing the server. 2019-10-22 18:18:15 -04:00
Ajay Ramachandran
ddd5269122
Merge pull request #35 from ajayyy/experimental
Fixed nothing returning when more than 4 sponsors + raised cap
2019-10-20 21:54:35 -04:00
Ajay Ramachandran
ffa70d6762 Raised cap to 8 sponsors. 2019-10-20 21:53:36 -04:00
Ajay Ramachandran
a6821209d1 Fixed weighted random cap not working.
Nothing would return if there were more than 4 sponsors.
2019-10-20 21:52:25 -04:00
Ajay Ramachandran
55a56c3e04 Removed log 2019-09-24 18:30:11 -04:00
Ajay Ramachandran
3f55bfea22 Added user based time saved endpoint. 2019-09-24 18:29:06 -04:00
Ajay Ramachandran
5346041cd1
Merge pull request #34 from ajayyy/experimental
Fixed sql schema
2019-09-16 19:46:03 -04:00
Ajay Ramachandran
6ae8001b79 Fixed sql schema. 2019-09-16 19:45:39 -04:00
Ajay Ramachandran
7a6ae31864
Merge pull request #33 from ajayyy/experimental
Added new system to hide submissions from untrustworthy users
2019-09-16 17:08:48 -04:00
Ajay Ramachandran
70bab877fb Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into experimental 2019-09-16 17:08:00 -04:00
Ajay Ramachandran
d0757ec17b Made shadow hidden submissions count as downvoted submissions. 2019-09-16 17:07:33 -04:00
Ajay Ramachandran
fa58e786d2 Added trustworthy check function and made it possible to get unshadowbanned. 2019-09-16 16:51:55 -04:00
Ajay Ramachandran
ef5c6fddec Changed shadowHidden to 1 instead of true in the new function. 2019-09-11 15:00:35 -04:00
Ajay Ramachandran
1b53b3c993 Made untrustworthy users have hidden submissions. 2019-09-11 14:57:03 -04:00
Ajay Ramachandran
c4c6a07aeb
Added install instructions 2019-09-10 23:31:16 -04:00