Commit graph

1456 commits

Author SHA1 Message Date
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
Ajay Ramachandran
d922de564d
Added new admin endpoints 2019-09-10 23:28:15 -04:00
Ajay Ramachandran
662dcf430a Changed endpoint to post for shadowBanUser. 2019-09-10 23:18:57 -04:00
Ajay Ramachandran
63eb6cd110
Merge pull request #32 from ajayyy/experimental
Added VIP
2019-09-10 17:12:19 -04:00
Ajay Ramachandran
c924be4dc9 Changed shadow ban user endpoint to use new naming scheme 2019-09-04 22:07:23 -04:00
Ajay Ramachandran
991f155aca Made it so that VIP users start with votes after a submission. 2019-09-04 21:39:21 -04:00
Ajay Ramachandran
9ed48b1bfc Made VIP downvote count for more.
Also made it save when there is a "super downvote" to properly reverse it later.
2019-09-04 21:34:39 -04:00
Ajay Ramachandran
83c3a35ce4 Added vip addition endpoint. 2019-09-04 14:44:55 -04:00
Ajay Ramachandran
d130af130b
Merge pull request #30 from ajayyy/experimental
Added port to config
2019-09-04 13:41:25 -04:00
Ajay Ramachandran
ff0b661f26 Added port to config 2019-09-04 13:41:07 -04:00
Ajay Ramachandran
62095b2847
Merge pull request #29 from ajayyy/experimental
Admin can change usernames + Config file
2019-09-04 13:21:06 -04:00