Ajay
bba06511ce
Remove unnecessary parts of video labels request
2025-01-17 04:38:08 -05:00
Ajay Ramachandran
7ef6452eb5
Double quote
2024-11-14 19:49:25 -05:00
mini-bomba
9c01b711a5
Send a different message for VIP downvotes on locked titles
2024-11-14 22:30:14 +01:00
Ajay
b2981fe782
Don't allow multiple downvotes on one submission
2024-11-10 15:21:40 -05:00
Ajay
405805ff89
Add check against missing api video detail failing to fetch
2024-11-07 02:24:39 -05:00
Ajay
01c306287a
Fix axios error handling
2024-11-06 21:23:15 -05:00
Ajay
826d49ba1f
Add support for floatie proxy
2024-11-04 15:04:43 -05:00
Ajay
b03057c5bf
Fix redis cache metrics generation
2024-10-30 02:35:59 -04:00
Ajay
54e03a389b
Remove string from metrics
2024-10-30 02:32:33 -04:00
Ajay
93f7161724
Only uploaded warned info for upvotes
2024-10-27 02:17:34 -04:00
Ajay
e9c0c44528
Add new webhook for was warned
2024-10-18 03:08:24 -04:00
Ajay
566eabdc31
Add metrics endpoint
2024-10-02 20:06:57 -04:00
Ajay
eeb9f1b02f
Log more when redis increment fails
2024-09-15 04:30:44 -04:00
Ajay
8ba68e1b4c
One less call when dealing with lru cache for ttl result and ensure reset keys cleared
2024-09-14 18:02:22 -04:00
Ajay
17059fdbe6
One less call when dealing with lru cache
2024-09-14 17:52:50 -04:00
Ajay
6e5f4f7610
Fix active requests list not getting deleted
2024-09-14 17:33:17 -04:00
Ajay
c313590d36
persona's revenge
2024-09-13 21:51:06 -04:00
Ajay
4508ad11f2
Fix error when submitter ip not found
2024-09-13 14:37:37 -04:00
Ajay
dc5158257e
Fix errors when postgres returns undefined and trying to save to redis
2024-09-13 14:36:52 -04:00
Ajay
6edd71194b
Log redis stats on high db load
2024-09-13 14:29:32 -04:00
Ajay
7678be1e24
Add max redis response time for reads
2024-09-13 04:06:50 -04:00
Ajay
d28ac39d4f
Allow newly used header
2024-09-07 23:31:16 -04:00
Ajay
5fd6b5eb8b
Fix canSubmitOriginal query on postgres
2024-09-01 19:29:08 -04:00
Ajay
258749ac31
Add more strict requirements for voting for original thumbnails
2024-09-01 18:56:29 -04:00
Ajay
803fc18554
Verify old submissions right after someone votes on it
2024-08-16 00:36:42 -04:00
Ajay
59373cf346
Fix rejected server-side rendered ads issue not rejecting
2024-08-14 23:42:47 -04:00
Ajay
090e185765
Add support for poToken and visitor data
...
Fixes api requests
https://github.com/iv-org/invidious/pull/4789
2024-08-12 00:33:11 -04:00
Ajay
d2df5cef98
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2024-08-11 13:49:48 -04:00
Ajay
214946897d
Hardcode nn-block reputation
2024-08-11 13:49:46 -04:00
mini-bomba
380ec8d0ca
Reformat SQL code in postBranding.ts webhook code
2024-08-03 22:01:46 +02:00
mini-bomba
72086b0195
Send webhook messages when a locked title is downvoted
...
also take downvotes & verification into consideration when comparing
titles in webhook code
2024-08-03 21:56:31 +02:00
mini-bomba
61dcfeb69f
Don't send to #dearrow-locked-titles when downvoting unlocked title
...
voteType passed to sendWebhooks() function to avoid confusion in the
future should someone forget about the if statement
2024-08-03 21:39:21 +02:00
mini-bomba
3f026409cd
Don't show completely unrelated chapter suggestions
...
Chapter suggestions should be at least slightly related to what the user
has already typed.
This change stops the server from sending suggestions that postgresql
deems to be "less than 10% similar"
Also modified tests to reflect this change.
2024-07-29 02:26:53 +02:00
Ajay
d75b9ddcaa
Show failure reason in webook
2024-07-24 13:42:40 -04:00
Ajay
2fb3d05055
private video?
2024-07-24 13:06:19 -04:00
Ajay
165ed8a6e0
Fix original thumbnail votes being shown because of fetch all
2024-07-09 19:49:37 -04:00
Ajay
495b8031e3
Add better logging for failed reputation call
2024-06-30 09:40:25 -04:00
HanYaodong
374ddc74bd
Use join function for simplicity
2024-06-25 21:33:47 +08:00
Ajay
738f863581
Don't send server-side render error for title submissions
2024-06-25 14:36:05 +05:30
Ajay
428343e7d8
Require a vote for original to show
2024-06-21 15:43:26 +05:30
Ajay
a181d52fb2
Fix types
2024-06-12 12:01:40 +05:30
Ajay
ee9ed6af1f
Add server-side ads check for dearrow submissions
2024-06-12 11:57:59 +05:30
Ajay
ec1e6d63a4
Add protection against server-side ad injection (SSAP)
2024-06-12 09:55:41 +05:30
Ajay
5c10e071dc
Change how video duration check works for submissions
2024-05-27 13:54:02 -04:00
Ajay
8eb6f5b2ea
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2024-05-07 15:37:59 -04:00
Ajay
bdfe4938d2
Fix vote webhook not working
2024-05-07 15:37:57 -04:00
mini-bomba
7c1abd9747
Make returned video duration in getBranding.ts consistent
...
Instead of picking the first segment returned by the db (i.e. possibly
random), sort segments by submission time and use the oldest visible
segment with a non-zero video duration.
2024-05-04 21:56:03 +02:00
Ajay
f841d8173b
Fix ttl cache key not properly cleared
2024-04-22 00:53:09 -04:00
Ajay
b2f7e1b39b
Fix locked check for thumbnail downvotes
2024-04-21 23:13:10 -04:00
Ajay
47ea6ae8d3
Only check request time for readiness if cache has filled up
2024-04-21 13:38:32 -04:00