Commit graph

2309 commits

Author SHA1 Message Date
Tristan
96feaf3cbe docs: update public schemas 2024-06-21 03:08:38 +02:00
Tristan
d08cfee5b4 docs: update private indexes 2024-06-21 01:35:38 +02:00
Tristan
96dd9eceb3 docs: update public indexes 2024-06-21 01:34:25 +02:00
Tristan
4422104294 docs: format lists 2024-06-21 01:34:15 +02:00
Tristan
4ad553478b chore: fix misleading/unclear migration comments 2024-06-21 00:50:10 +02:00
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
Ajay Ramachandran
bcf29e4047
Merge pull request #579 from ajayyy/dependabot/npm_and_yarn/express-4.19.2
Bump express from 4.18.2 to 4.19.2
2024-05-05 01:28:41 -04:00
Ajay Ramachandran
622c3f27d6
Merge pull request #581 from mini-bomba/videoduration-inconsistency
Make returned video duration in getBranding.ts consistent
2024-05-05 01:28:22 -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
709485e0e9 Increase frequency of docker forgets 2024-04-27 00:42:55 -04: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
Ajay
063607fe30 Add etags for branding as well 2024-04-20 13:16:34 -04:00
Ajay
4b795da5a0 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2024-04-20 00:02:16 -04:00
Ajay
8043bd9006 Make max response time configurable 2024-04-20 00:02:15 -04:00
Ajay Ramachandran
bd8f4b7539
Merge pull request #577 from SuperStormer/master
cosmetic fix for lock reason
2024-04-19 21:22:57 -04:00
Ajay
0f97ce4a49 Make redis readiness check recoverable 2024-04-19 21:20:40 -04:00
Ajay
cfd7c3d8c4 Add more to ready check 2024-04-19 20:24:42 -04:00
Ajay
af7d8428ab Improve ready check 2024-04-19 20:05:52 -04:00
Ajay
7c51586664 Add error server 2024-04-16 03:01:44 -04:00
Ajay
2251ddc251 Add ready endpoint 2024-04-16 01:13:56 -04:00
Ajay
07d4dde4f6 Add connections to status 2024-04-16 00:13:51 -04:00
Ajay
b934b7a937 Use innertube when possible 2024-04-14 01:26:03 -04:00
Ajay
f2cf2e2aac Add db stats to logs 2024-04-13 03:00:26 -04:00
Ajay
2887a8505c Improve logging and fix ip fetch error breaking skip segments 2024-04-13 01:54:59 -04:00
Ajay
e289fe9075 Add ttl cache 2024-04-12 01:29:23 -04:00
Ajay
2cd9401a51 Fix etag tests 2024-04-11 18:12:02 -04:00
Ajay
47bea9ee6e Trigger usage of cache key when checking ttl 2024-04-11 17:57:53 -04:00
Ajay
0602fdd651 Use cache for ttl if possible
Also fixes etag when compression enabled
2024-04-11 17:54:32 -04:00
Ajay
7c77bf566e Remove quotes when processing etag 2024-04-11 17:07:13 -04:00
Ajay
1009fff9e9 Fix caching issues with one specific key form
.c regex was any character plus a c instead of intenced dot
2024-04-11 17:04:17 -04:00
Ajay
f43e59250f Add quotes to etag 2024-04-11 14:11:04 -04:00
Ajay
dc2115ef20 Change status timeout 2024-04-09 13:29:18 -04:00
dependabot[bot]
55c3e4f01f
Bump express from 4.18.2 to 4.19.2
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 17:17:43 +00:00
Ajay
af31f511a5 Add tests for fetch all 2024-03-24 13:52:33 -04:00
Ajay
0d9cce0512 Fix wrong comparison with votes filtering 2024-03-24 13:42:39 -04:00
Ajay
c19d6fe97a Only send low voted segments when asked for 2024-03-22 18:37:39 -04:00
Ajay
47c109f012 Fix act as vip unlocking segments 2024-03-21 19:35:13 -04:00
Ajay
a921085da6 Fix vip downvotes unlocking 2024-03-21 19:28:05 -04:00
Ajay
d5ebd8ec1a Improve self downvoting for dearrow 2024-03-20 13:47:23 -04:00
Ajay
a7f10f7727 Attempt to fix docker build error 2024-03-17 13:40:53 -04:00
Ajay
1c234846db Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2024-03-17 13:20:25 -04:00
Ajay
bc1ca098e7 Fix bug causing people to accidentally super downvote 2024-03-17 13:20:23 -04:00
Ajay Ramachandran
cf21ebc2de
Merge pull request #578 from ajayyy/dependabot/npm_and_yarn/follow-redirects-1.15.6
Bump follow-redirects from 1.15.4 to 1.15.6
2024-03-16 21:07:40 -04:00