Ajay Ramachandran
|
70bc239d01
|
Merge pull request #159 from ajayyy/experimental
Setup different ratelimit for views and votes
|
2020-10-11 13:12:49 -04:00 |
|
Ajay Ramachandran
|
a5f5f72346
|
Setup different ratelimit for views and votes
|
2020-10-11 13:07:57 -04:00 |
|
Ajay Ramachandran
|
73b7332639
|
Add vote rate limit to views as well
|
2020-10-11 12:42:02 -04:00 |
|
Ajay Ramachandran
|
64f93cec65
|
Merge pull request #157 from MRuy/add-vote-rate-limit
Add vote rate limit
|
2020-10-11 12:39:42 -04:00 |
|
Nanobyte
|
58097f0d60
|
Add vote rate limit
|
2020-10-11 16:17:17 +02:00 |
|
Nanobyte
|
41dc16453e
|
Update src/utils/createMemoryCache.js
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
|
2020-10-09 08:58:31 +02:00 |
|
Nanobyte
|
fb7ff50feb
|
Update src/utils/createMemoryCache.js
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
|
2020-10-09 08:58:15 +02:00 |
|
Ajay Ramachandran
|
97383a71af
|
Merge pull request #155 from MRuy/cleanup-uuid-generation
Submission UUID generation moved to function
|
2020-10-08 22:23:35 -04:00 |
|
Ajay Ramachandran
|
03a142ff62
|
Merge pull request #152 from Joe-Dowd/nosegments-404-to-array
get segments by hash 404 to array
|
2020-10-08 22:22:46 -04:00 |
|
Joe Dowd
|
b244b1e1ad
|
reverted test to 404
|
2020-10-06 23:25:16 +01:00 |
|
Joe Dowd
|
62916f6a7e
|
reverted to 404 sith empty array
|
2020-10-06 23:22:48 +01:00 |
|
Nanobyte
|
25b91af8bc
|
Add cache for getTopUsers
See #147
|
2020-10-06 23:25:11 +02:00 |
|
Nanobyte
|
cce20319ad
|
Submission UUID generation moved to function
See issue #139
|
2020-10-06 15:59:32 +02:00 |
|
Nanobyte
|
8e33fdf49f
|
Added segmentShift
See #151
|
2020-10-04 21:37:35 +02:00 |
|
Joe Dowd
|
fe91d13ff3
|
removed old functionality comments
|
2020-10-01 00:53:13 +01:00 |
|
Joe Dowd
|
4cea3c2a3b
|
Added [] return rather than 404 for no segments with matching hash
|
2020-10-01 00:51:58 +01:00 |
|
Ajay Ramachandran
|
7dcdc883e4
|
Fix no segments error message typo
|
2020-09-25 16:57:24 -04:00 |
|
Ajay Ramachandran
|
31fef27ffd
|
Fix no segments error formatting
|
2020-09-25 14:50:15 -04:00 |
|
Ajay Ramachandran
|
50043e6574
|
Merge pull request #149 from ajayyy/experimental
Improve no segments error message
|
2020-09-25 14:39:13 -04:00 |
|
Ajay Ramachandran
|
27947dc65f
|
Improve no segments error message
|
2020-09-25 14:36:16 -04:00 |
|
Ajay Ramachandran
|
5cfe974310
|
Merge pull request #148 from ajayyy/experimental
Fixes to category voting and prevent category votes on VIP submissions.
|
2020-09-23 14:09:16 -04:00 |
|
Ajay Ramachandran
|
c6afaf81e0
|
Properly catch user counter errors
|
2020-09-23 14:05:44 -04:00 |
|
Ajay Ramachandran
|
61b6b90f77
|
Fix tests
|
2020-09-23 13:20:01 -04:00 |
|
Ajay Ramachandran
|
36baeed86e
|
Fixes to category voting and prevent category votes on VIP submissions.
Also makes submitter category count as a category vote
|
2020-09-23 11:45:56 -04:00 |
|
Ajay Ramachandran
|
7c0bc9afd3
|
Changed VIP to moderator in no segments error
|
2020-09-19 18:54:49 -04:00 |
|
Ajay Ramachandran
|
138f843f5d
|
Updated no segments error message
|
2020-09-19 18:51:13 -04:00 |
|
Ajay Ramachandran
|
689c0f7b31
|
Allow VIPs to submit locked categories
|
2020-09-19 13:59:34 -04:00 |
|
Ajay Ramachandran
|
5d731463f2
|
Change no segments error message
|
2020-09-19 13:53:40 -04:00 |
|
Nanobyte
|
36f654f41c
|
Blocking users with too many active warnings from submitting votes and submissions
|
2020-09-16 22:40:11 +02:00 |
|
Ajay Ramachandran
|
3c79c0f7a8
|
Remove extra test case
|
2020-09-16 13:48:54 -04:00 |
|
Ajay Ramachandran
|
abc91cc7a5
|
Merge pull request #146 from ajayyy/testing
Don't send webhooks for duplicate votes
|
2020-09-16 09:32:09 -04:00 |
|
Ajay Ramachandran
|
211562a0d6
|
Don't send webhooks for duplicate votes
|
2020-09-16 09:30:26 -04:00 |
|
Joe Dowd
|
075cb9d5f2
|
added warning system
Co-authored-by: Ajay Ramachandran <dev@ajay.app>
|
2020-09-16 00:56:10 +02:00 |
|
Ajay Ramachandran
|
2955ac3c9b
|
Merge pull request #145 from ajayyy/testing
Fix removing undo vote
|
2020-09-15 13:13:16 -04:00 |
|
Ajay Ramachandran
|
a7933c925b
|
Fix removing undo vote
|
2020-09-15 13:10:55 -04:00 |
|
Nanobyte
|
b52a862f4f
|
Merge branch 'master' into feature/getuserinfo
|
2020-09-15 19:08:56 +02:00 |
|
Ajay Ramachandran
|
1fe68c66c5
|
Merge pull request #140 from ajayyy/testing
Testing
|
2020-09-15 12:50:52 -04:00 |
|
Ajay Ramachandran
|
be86f43947
|
Added default options
|
2020-09-15 12:22:28 -04:00 |
|
Ajay Ramachandran
|
a86dc0fc7b
|
Changed redis polyfill to not throw an error
|
2020-09-15 12:16:34 -04:00 |
|
Ajay Ramachandran
|
eaaf3b8812
|
Add pollyfill for redis set
|
2020-09-15 12:15:23 -04:00 |
|
Ajay Ramachandran
|
d3463bbef2
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into testing
# Conflicts:
# src/routes/postSkipSegments.js
# test/cases/voteOnSponsorTime.js
|
2020-09-15 11:56:14 -04:00 |
|
Nanobyte
|
43db13ab3f
|
Added getUserInfo endpoint
This endpoint provides the following data about the user:
* userID
* userName
* minutesSaved
* segmentCount
* viewCount
|
2020-09-14 09:17:35 +02:00 |
|
Ajay Ramachandran
|
4a865c4fb8
|
Merge pull request #142 from ajayyy/experimental
Don't call webhooks twice
|
2020-09-13 18:28:41 -04:00 |
|
Ajay Ramachandran
|
70a526fb4f
|
Don't call webhooks twice
|
2020-09-13 18:27:02 -04:00 |
|
Ajay Ramachandran
|
0839c6b6f9
|
Merge pull request #81 from andrewzlee/nb-mod-fetch
Add NB to automod process
|
2020-09-13 11:15:35 -04:00 |
|
Ajay Ramachandran
|
7a83e7901a
|
Merge pull request #131 from ajayyy/query-by-hash-prefix
Hash prefix fixes
|
2020-09-11 17:45:58 -04:00 |
|
Ajay Ramachandran
|
928d41c52d
|
Merge pull request #136 from Joe-Dowd/hash-prefix-db
Hash prefix db
|
2020-09-11 17:44:48 -04:00 |
|
Ajay Ramachandran
|
fdc20e28ff
|
Merge pull request #134 from Joe-Dowd/youtube-cache
Youtube cache
|
2020-09-11 17:37:21 -04:00 |
|
Ajay Ramachandran
|
0c14560eaa
|
Merge branch 'master' into nb-mod-fetch
|
2020-09-11 17:32:14 -04:00 |
|
Ajay Ramachandran
|
a49db96d49
|
Clarify error message
|
2020-09-11 17:30:54 -04:00 |
|