2496 Commits

Author SHA1 Message Date
Ajay
31e678fdc2 Store titles for casual vote submissions
When an uploader changes the title, it will reset the casual votes
2025-02-17 03:16:57 -05:00
Ajay
d44ce3c2dc Add casual votes table export 2025-02-16 14:43:55 -05:00
Ajay
5f9b4c8acc Make casual downvotes apply to all categories 2025-02-13 04:03:38 -05:00
Ajay
d608125b41 Add endpoint for casual submission count 2025-02-12 03:52:03 -05:00
Ajay
fb3abb3216 Fix index for casual votes 2025-02-06 03:01:22 -05:00
Ajay
ccde64e90f Change casual submission to allow submitting multiple categories 2025-02-06 02:57:09 -05:00
Ajay
4abf57b0ce Save casual mode status in db 2025-02-06 02:51:13 -05:00
Ajay
07435b9af1 Add casual mode endpoint 2025-02-05 03:38:55 -05:00
Ajay Ramachandran
ab9cab8ff5 Merge pull request #582 from hanydd/dev_join
Change reduce to join function for simplicity
2025-02-03 20:55:55 -05:00
Ajay Ramachandran
311c653ea2 Merge pull request #592 from Choromanski/feature/node-deprecation
Upgraded github actions dependencies
2025-02-03 20:54:48 -05:00
Ajay Ramachandran
e92d47e1a4 Merge pull request #593 from ajayyy/dependabot/npm_and_yarn/multi-9f37c16f8f
Bump cookie and express
2025-02-03 20:54:22 -05:00
Ajay Ramachandran
3734b88cb5 Merge pull request #595 from mchangrh/patch-1
bump & lock rsync dockerfile
2025-01-18 12:54:45 -05:00
Michael M. Chang
00086d9001 bump & lock rsync dockerfile 2025-01-18 06:45:09 -08:00
Ajay
a37a552b17 Fix video labels keys not clearing properly 2025-01-18 03:32:55 -05:00
Ajay
fa29cfd3c6 Add endpoint to get segment ID 2025-01-18 02:56:57 -05:00
Ajay
be9d97ae2b Add option to trim UUIDs in skip segments endpoint 2025-01-18 02:09:46 -05:00
Ajay
06f83cd8d4 Allow voting and viewing with partial UUID 2025-01-18 02:04:27 -05:00
Ajay
80b1019783 Allow video labels cashing with prefix of 4 2025-01-18 00:22:17 -05:00
Ajay
2455d2cd7e Make hasStartSegment result optional 2025-01-17 23:59:17 -05:00
Ajay
e2a9976cd0 Add hasStartSegment to video label 2025-01-17 23:30:32 -05:00
Ajay
bba06511ce Remove unnecessary parts of video labels request 2025-01-17 04:38:08 -05:00
Ajay
043268dc10 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2024-12-04 14:49:36 -05:00
Ajay
003fe77e72 Change backup retention 2024-12-04 14:49:34 -05:00
Ajay Ramachandran
efe59c5098 Merge pull request #594 from mini-bomba/dearrow_locked_vip_downvotes
Send a different message for VIP downvotes on locked titles
2024-11-14 19:56:02 -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
dependabot[bot]
efa6c10d56 Bump cookie and express
Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-19 12:03:41 +00:00
Ajay
e9c0c44528 Add new webhook for was warned 2024-10-18 03:08:24 -04:00
Brian Choromanski
4dfbb9039d Upgraded more actions dependencies 2024-10-08 21:17:01 -04:00
Brian Choromanski
05c5cf57e4 Upgraded actions dependencies 2024-10-08 21:10:10 -04:00
Ajay
566eabdc31 Add metrics endpoint 2024-10-02 20:06:57 -04:00
Ajay Ramachandran
f26db7238a Merge pull request #591 from ajayyy/dependabot/npm_and_yarn/multi-d66d039ac5
Bump serve-static and express
2024-09-17 02:30:27 -04:00
dependabot[bot]
fb05ec51d3 Bump serve-static and express
Bumps [serve-static](https://github.com/expressjs/serve-static) to 1.16.2 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 06:18:07 +00: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