Ajay
|
e8879f66b1
|
Add redis in memory cache stats
|
2024-02-08 02:58:51 -05:00 |
|
Ajay
|
acdbd3787b
|
More specific on what should be client cached
|
2024-02-08 01:04:48 -05:00 |
|
Ajay
|
1f7156eb29
|
Don't crash if redis message invalid
|
2024-02-08 00:34:37 -05:00 |
|
Ajay
|
7405053b44
|
Reuse running reputation requests
|
2024-02-07 23:40:59 -05:00 |
|
Ajay
|
a929f69452
|
Fix same ip being fetched multiple times from postgres
|
2024-02-07 23:36:45 -05:00 |
|
Ajay
|
8574ec3a0c
|
Fix is number check
|
2024-02-07 22:28:28 -05:00 |
|
Ajay
|
1475c91327
|
Clear cache again after setting up client tracking
|
2024-02-06 15:32:40 -05:00 |
|
Ajay
|
5b1b362bf0
|
Handle reconnects with client-side caching
Also upgrades redis to fix a library bug
|
2024-02-06 00:52:42 -05:00 |
|
Ajay
|
14da10bd8a
|
Add client-side caching
|
2024-02-05 13:11:44 -05:00 |
|
Ajay
|
547632341a
|
Add back redis compression optionally
|
2024-02-04 23:17:28 -05:00 |
|
Ajay
|
c54c25c73b
|
Disable query cache for segment groups
|
2024-02-04 22:53:12 -05:00 |
|
Ajay
|
121cc7f481
|
Fix duplicate behavior with submitting full video labels
|
2024-01-31 13:05:47 -05:00 |
|
Ajay
|
e041b9c930
|
Don't throw 409 if only one segment was successfully submitted
|
2024-01-31 12:59:01 -05:00 |
|
Ajay
|
59d9ed390f
|
Fix titles and thumbnails being unlocked
|
2024-01-28 22:05:04 -05:00 |
|
Ajay
|
25ec9b0291
|
Revert adding redis compression
This reverts commit fce311377f and 2ad51842cc
|
2024-01-21 19:49:36 -05:00 |
|
Ajay
|
c3e00ac8b1
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
|
2024-01-21 19:46:18 -05:00 |
|
Ajay
|
2c9079f565
|
No more verification through sb submissions
|
2024-01-21 19:46:16 -05:00 |
|
SashaXser
|
a8010b553d
|
Merge branch 'master' into master
|
2024-01-20 07:07:03 +04:00 |
|
SashaXser
|
5b95aa8aba
|
Resolve conflicts
|
2024-01-20 06:59:12 +04:00 |
|
Ajay
|
fce311377f
|
Switch to lz4 compression
|
2024-01-19 15:16:50 -05:00 |
|
Ajay
|
dcb479f3d2
|
Fallback to allowing taking a lock if redis fails
|
2024-01-19 14:35:32 -05:00 |
|
Ajay
|
2ad51842cc
|
Compress redis values
|
2024-01-19 14:34:18 -05:00 |
|
SashaXser
|
ea60947092
|
format fix
|
2024-01-19 14:31:03 +04:00 |
|
SashaXser
|
14b6f84f94
|
2 things
Consider using "forEach" instead of "map" as its return value is not being used here.
Replace this trivial promise with "Promise.resolve".
|
2024-01-19 08:50:45 +04:00 |
|
Ajay
|
8e13ec60d6
|
Fix other get missing throw
|
2024-01-18 11:57:50 -05:00 |
|
Ajay
|
c9f7275942
|
Only use redis timeout when db not under load
|
2024-01-18 09:22:00 -05:00 |
|
Ajay
|
d607d8b179
|
Don't fallback to db when too many redis connections
|
2024-01-15 14:07:34 -05:00 |
|
Ajay
|
0edf0b9e1c
|
Don't handle shadowhide on high load
|
2024-01-03 11:37:58 -05:00 |
|
Ajay
|
b04e0dcd97
|
DeArrow downvotes
|
2024-01-03 01:13:35 -05:00 |
|
Ajay
|
33dad0a5e4
|
Add option to submit without locking
Also fixes voting for an existing thumbnail not unlocking other thumbnails
|
2024-01-02 19:12:55 -05:00 |
|
Ajay
|
ad439fd368
|
Make sure latest dump is not deleted
|
2023-12-28 19:10:12 -05:00 |
|
Ajay
|
21bb893a47
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
|
2023-12-28 18:23:45 -05:00 |
|
Ajay
|
211ecf700b
|
Reject on dump failure to trigger a retry
|
2023-12-28 18:23:41 -05:00 |
|
Michael C
|
15f19df8a4
|
clean up shadowban code, exclude long running categories query when possible
|
2023-12-21 18:37:24 -05:00 |
|
Ajay
|
5cc80f9066
|
Use dearrow thumbnails in webhooks
|
2023-11-06 16:07:44 -05:00 |
|
Ajay
|
579e2b90a3
|
Make chapters easier to submit
|
2023-10-29 10:51:37 -04:00 |
|
Ajay
|
3708d293dc
|
Add warning when locked title probably outdated
|
2023-10-27 00:39:36 -04:00 |
|
Michael C
|
68bb39c409
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into test-helpers
|
2023-10-15 00:31:09 -04:00 |
|
Ajay
|
9dd8b28812
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
|
2023-10-02 19:56:12 -04:00 |
|
Ajay
|
a659048afe
|
Hide downvotes titles
|
2023-10-02 19:56:08 -04:00 |
|
Michael C
|
467443a03f
|
fix typings for getSubmissionUUID, update getStatus
|
2023-09-30 19:08:23 -04:00 |
|
Ajay Ramachandran
|
1e8970859f
|
Merge pull request #559 from mini-bomba/✝️ℹ️🅿️
Replace "warning" with "tip" in responses from postWarning.ts
|
2023-09-27 20:40:34 -04:00 |
|
Ajay
|
86ea0f582b
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
|
2023-09-27 20:09:16 -04:00 |
|
Ajay
|
e329bccca5
|
Remove shuffling for thumbnails
|
2023-09-27 20:09:15 -04:00 |
|
Michael C
|
1b5a079bbd
|
disallow empty new warnings
|
2023-09-27 15:09:35 -04:00 |
|
Ajay
|
ad666ff487
|
Don't allow random time after 90% of video if no endcard submitted
|
2023-09-24 16:53:55 -04:00 |
|
mini-bomba
|
7196155d3a
|
Replace "Warning reason" with "Tip message"
|
2023-09-16 10:00:33 +02:00 |
|
mini-bomba
|
934ce79728
|
Replace "warning" with "tip" in responses from postWarning.ts
|
2023-09-12 23:40:39 +02:00 |
|
Ajay
|
65e7d24b7d
|
Fix get branding by hash rong query
|
2023-09-09 19:07:50 -04:00 |
|
Ajay
|
d08c423c6a
|
Verify old submissions when adding dearrow feature
|
2023-09-06 10:53:14 -04:00 |
|
mini-bomba
|
55150cb301
|
do user & IP queries asynchronously in checkbanStatus()
Co-authored-by: Kendell R <KTibow@users.noreply.github.com>
|
2023-08-31 14:59:22 +02:00 |
|
mini-bomba
|
141f105b79
|
fix dearrow bans
|
2023-08-29 16:38:41 +02:00 |
|
mini-bomba
|
c2a3630d49
|
create an isUserBanned utility function
|
2023-08-29 16:38:41 +02:00 |
|
mini-bomba
|
c77e71e66a
|
it's called a ✝️ℹ️🅿️, not warning
|
2023-08-29 13:48:50 +02:00 |
|
Ajay
|
345c740fdc
|
Fix local key regex
|
2023-08-22 12:00:59 -04:00 |
|
Ajay
|
d84276a86a
|
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
|
2023-08-21 17:48:17 -04:00 |
|
Ajay
|
16c7ad5531
|
Return 404 for non existent feature flag
|
2023-08-21 17:48:13 -04:00 |
|
Michael C
|
4600b8a599
|
show stats to shadowhidden users
|
2023-08-15 19:45:17 -04:00 |
|
Ajay
|
e9e1fd5228
|
Require time when generating key
|
2023-08-06 13:42:33 -04:00 |
|
Ajay
|
48fa55cc7a
|
Add feature flag endpoint
|
2023-08-05 23:01:24 -04:00 |
|
Ajay
|
ecfc2c14c8
|
Remove minimum submission duration for mutes
|
2023-08-05 13:59:02 -04:00 |
|
Ajay
|
f58da275eb
|
Fix group by not working on postgres
|
2023-08-04 14:36:08 -04:00 |
|
Ajay
|
0723503a98
|
Add DeArrow submitter feature
|
2023-08-04 14:17:41 -04:00 |
|
Ajay
|
9d1af3bdff
|
Verify old submissions when you become verified
|
2023-08-04 14:15:46 -04:00 |
|
Ajay
|
b3cec20215
|
Better handling of verification for self downvotes
|
2023-08-04 13:53:23 -04:00 |
|
Ajay
|
b02134c016
|
Don't send angle brackets
|
2023-08-04 13:15:43 -04:00 |
|
Ajay
|
c3c8f38423
|
Rename var to be more clear
|
2023-08-03 01:50:50 -04:00 |
|
Ajay
|
1dbb393e4d
|
Fix type error in tests
|
2023-08-03 01:16:57 -04:00 |
|
Ajay
|
dfa4578d28
|
Better token generation
|
2023-08-03 00:58:01 -04:00 |
|
Ajay
|
99cb22a5e6
|
Also clear branding cache when clearing segment cache
|
2023-07-29 18:44:52 -04:00 |
|
Ajay
|
665b91eb65
|
Revert distinct selection change as it seems to be misbehaving
|
2023-07-27 03:04:46 -04:00 |
|
Ajay Ramachandran
|
e942ac5e22
|
Merge pull request #549 from mini-bomba/voting-requirements
Make voting requirements more strict
|
2023-07-26 16:06:18 -04:00 |
|
Ajay
|
f0b0217c78
|
Fix distinct query on postgres
|
2023-07-26 16:02:21 -04:00 |
|
Ajay
|
d23e9b9940
|
Only show one title/thumbnail per userID
|
2023-07-26 15:19:22 -04:00 |
|
Ajay
|
f63fa09605
|
Handle exceptions, and prevent crashing from unhandled exceptions
|
2023-07-24 21:25:18 -04:00 |
|
Ajay
|
4e93a007c2
|
Remove unnecessary call in userInfo
|
2023-07-24 14:55:31 -04:00 |
|
Ajay
|
2fc31655ff
|
Add different max for private db connection
|
2023-07-24 13:56:09 -04:00 |
|
Ajay
|
79515ccc8b
|
Add unlocking to long title error
|
2023-07-23 23:45:02 -04:00 |
|
Ajay
|
a52ecf2d37
|
Add more unlock calls
|
2023-07-23 23:32:38 -04:00 |
|
Ajay
|
8d518b184b
|
Change default lock timeout
|
2023-07-23 23:30:17 -04:00 |
|
Ajay
|
3924a65e02
|
Don't use locks when redis disabled
|
2023-07-23 23:28:41 -04:00 |
|
Ajay
|
a4de94bede
|
Remove leftover timeout
|
2023-07-23 23:28:26 -04:00 |
|
Ajay
|
8bcc781da7
|
Add locks to different write operations
|
2023-07-23 23:21:50 -04:00 |
|
Ajay
|
ea80a413ba
|
Add postgres private db stats
|
2023-07-23 14:26:25 -04:00 |
|
Ajay
|
0463165f1a
|
Add timing trace to set username
|
2023-07-23 14:01:49 -04:00 |
|
Ajay
|
85fc0477ad
|
Fix type check for warning duplicate
|
2023-07-17 23:38:52 -04:00 |
|
Ajay
|
a5501b9655
|
Fix user info not checking warning type
|
2023-07-17 22:53:12 -04:00 |
|
Ajay
|
e9fcf6b445
|
Add seperate type for dearrow warning
Also add dearrow warning reason as option for user info
|
2023-07-17 22:42:29 -04:00 |
|
Ajay
|
808066a5ed
|
Look at -1 votes for branding sb segments
|
2023-07-17 19:36:58 -04:00 |
|
Ajay
|
93f4cfd82d
|
Add option to return userID in branding call
|
2023-07-16 15:35:22 -04:00 |
|
Ajay
|
d030de83bd
|
Add leaderboard for dearrow
|
2023-07-07 14:32:45 -04:00 |
|
Ajay
|
d1d2b011f8
|
Add max title length
|
2023-07-06 16:36:37 -04:00 |
|
Ajay
|
d2f8e3aee4
|
Fix shadow hide video branding logic
|
2023-07-06 14:53:48 -04:00 |
|
Ajay
|
2e29666781
|
Remove mysql code
|
2023-07-05 01:25:38 -04:00 |
|
Ajay
|
8b418c8851
|
Add hiding dearrow submissions in ban code
|
2023-07-05 01:23:48 -04:00 |
|
Ajay
|
5f80562772
|
Make dearrow verification easier to get
|
2023-06-28 22:12:32 -04:00 |
|
Ajay
|
69db87f5e1
|
Fix 0 second submissions not allowed
|
2023-06-23 23:05:52 -04:00 |
|
Ajay
|
fa6919a1d0
|
Add branding stats
|
2023-06-14 19:50:26 -04:00 |
|
Ajay
|
633f128e90
|
Fix voting on an existing submission not working.
|
2023-06-13 00:12:16 -04:00 |
|
Ajay
|
9f7fa53b14
|
Fix sort order
|
2023-06-12 11:51:17 -04:00 |
|