Commit Graph

  • 1a0b6ab097 Update DatabaseSchema.md Tristan 2024-06-21 03:15:07 +02:00
  • 8e5084cd72 docs: update private schemas Tristan 2024-06-21 03:11:28 +02:00
  • 96feaf3cbe docs: update public schemas Tristan 2024-06-21 03:08:38 +02:00
  • d08cfee5b4 docs: update private indexes Tristan 2024-06-21 01:35:38 +02:00
  • 96dd9eceb3 docs: update public indexes Tristan 2024-06-21 01:34:25 +02:00
  • 4422104294 docs: format lists Tristan 2024-06-21 01:34:15 +02:00
  • 4ad553478b chore: fix misleading/unclear migration comments Tristan 2024-06-21 00:50:10 +02:00
  • 47323156c1 Bump braces from 3.0.2 to 3.0.3 dependabot[bot] 2024-06-16 11:24:49 +00:00
  • a181d52fb2 Fix types Ajay 2024-06-12 12:01:40 +05:30
  • ee9ed6af1f Add server-side ads check for dearrow submissions Ajay 2024-06-12 11:57:59 +05:30
  • ec1e6d63a4 Add protection against server-side ad injection (SSAP) Ajay 2024-06-12 09:55:41 +05:30
  • 5c10e071dc Change how video duration check works for submissions Ajay 2024-05-27 13:54:02 -04:00
  • 8eb6f5b2ea Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2024-05-07 15:37:59 -04:00
  • bdfe4938d2 Fix vote webhook not working Ajay 2024-05-07 15:37:57 -04:00
  • bcf29e4047 Merge pull request #579 from ajayyy/dependabot/npm_and_yarn/express-4.19.2 Ajay Ramachandran 2024-05-05 01:28:41 -04:00
  • 622c3f27d6 Merge pull request #581 from mini-bomba/videoduration-inconsistency Ajay Ramachandran 2024-05-05 01:28:22 -04:00
  • 7c1abd9747 Make returned video duration in getBranding.ts consistent mini-bomba 2024-05-04 21:30:09 +02:00
  • 709485e0e9 Increase frequency of docker forgets Ajay 2024-04-27 00:42:55 -04:00
  • f841d8173b Fix ttl cache key not properly cleared Ajay 2024-04-22 00:53:09 -04:00
  • b2f7e1b39b Fix locked check for thumbnail downvotes Ajay 2024-04-21 23:13:10 -04:00
  • 47ea6ae8d3 Only check request time for readiness if cache has filled up Ajay 2024-04-21 13:38:32 -04:00
  • 063607fe30 Add etags for branding as well Ajay 2024-04-20 13:16:34 -04:00
  • 4b795da5a0 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2024-04-20 00:02:16 -04:00
  • 8043bd9006 Make max response time configurable Ajay 2024-04-20 00:02:15 -04:00
  • bd8f4b7539 Merge pull request #577 from SuperStormer/master Ajay Ramachandran 2024-04-19 21:22:57 -04:00
  • 0f97ce4a49 Make redis readiness check recoverable Ajay 2024-04-19 21:20:40 -04:00
  • cfd7c3d8c4 Add more to ready check Ajay 2024-04-19 20:24:42 -04:00
  • af7d8428ab Improve ready check Ajay 2024-04-19 20:05:52 -04:00
  • 7c51586664 Add error server Ajay 2024-04-16 03:01:44 -04:00
  • 2251ddc251 Add ready endpoint Ajay 2024-04-16 01:13:56 -04:00
  • 07d4dde4f6 Add connections to status Ajay 2024-04-16 00:13:51 -04:00
  • b934b7a937 Use innertube when possible Ajay 2024-04-14 01:26:03 -04:00
  • f2cf2e2aac Add db stats to logs Ajay 2024-04-13 03:00:26 -04:00
  • 2887a8505c Improve logging and fix ip fetch error breaking skip segments Ajay 2024-04-13 01:54:59 -04:00
  • e289fe9075 Add ttl cache Ajay 2024-04-12 01:29:23 -04:00
  • 2cd9401a51 Fix etag tests Ajay 2024-04-11 18:12:02 -04:00
  • 47bea9ee6e Trigger usage of cache key when checking ttl Ajay 2024-04-11 17:57:53 -04:00
  • 0602fdd651 Use cache for ttl if possible Ajay 2024-04-11 17:54:32 -04:00
  • 7c77bf566e Remove quotes when processing etag Ajay 2024-04-11 17:07:13 -04:00
  • 1009fff9e9 Fix caching issues with one specific key form Ajay 2024-04-11 17:04:17 -04:00
  • f43e59250f Add quotes to etag Ajay 2024-04-11 14:11:04 -04:00
  • dc2115ef20 Change status timeout Ajay 2024-04-09 13:29:18 -04:00
  • 55c3e4f01f Bump express from 4.18.2 to 4.19.2 dependabot[bot] 2024-03-28 17:17:43 +00:00
  • af31f511a5 Add tests for fetch all Ajay 2024-03-24 13:52:33 -04:00
  • 0d9cce0512 Fix wrong comparison with votes filtering Ajay 2024-03-24 13:42:39 -04:00
  • c19d6fe97a Only send low voted segments when asked for Ajay 2024-03-22 18:37:39 -04:00
  • 47c109f012 Fix act as vip unlocking segments Ajay 2024-03-21 19:35:13 -04:00
  • a921085da6 Fix vip downvotes unlocking Ajay 2024-03-21 19:28:05 -04:00
  • d5ebd8ec1a Improve self downvoting for dearrow Ajay 2024-03-20 13:47:23 -04:00
  • a7f10f7727 Attempt to fix docker build error Ajay 2024-03-17 13:40:53 -04:00
  • 1c234846db Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2024-03-17 13:20:25 -04:00
  • bc1ca098e7 Fix bug causing people to accidentally super downvote Ajay 2024-03-17 13:20:23 -04:00
  • cf21ebc2de Merge pull request #578 from ajayyy/dependabot/npm_and_yarn/follow-redirects-1.15.6 Ajay Ramachandran 2024-03-16 21:07:40 -04:00
  • 2426a6ee03 Bump follow-redirects from 1.15.4 to 1.15.6 dependabot[bot] 2024-03-16 23:28:16 +00:00
  • ba65c28459 Update postSkipSegments.ts SuperStormer 2024-03-15 02:20:24 -04:00
  • 591b342855 Add default user count, update url Ajay 2024-03-06 00:47:51 -05:00
  • 8d8388386e Merge pull request #571 from ajayyy/dependabot/npm_and_yarn/follow-redirects-1.15.4 Ajay Ramachandran 2024-02-27 03:49:44 -05:00
  • a54bf556ed Revert "Fix usercounter behind cloudflare" Ajay 2024-02-27 03:49:03 -05:00
  • f1c5b8a359 Merge branches 'master' and 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2024-02-27 03:33:44 -05:00
  • 9bcceb7e5b Fix usercounter behind cloudflare Ajay 2024-02-27 03:33:38 -05:00
  • da0cf0dedc Merge pull request #575 from ajayyy/dependabot/npm_and_yarn/axios-1.6.0 Ajay Ramachandran 2024-02-20 17:16:53 -05:00
  • 1cefdf4dac Bump axios from 1.1.3 to 1.6.0 dependabot[bot] 2024-02-20 21:00:34 +00:00
  • aec2aa4457 Fix keys not properly clearing Ajay 2024-02-16 22:14:09 -05:00
  • 3f29e11449 Fix submission and vote locks Ajay 2024-02-16 14:24:28 -05:00
  • 6d11e1c601 Support dragonfly with in memory cache Ajay 2024-02-09 18:16:28 -05:00
  • 9fa248037a Add to cache when calling set Ajay 2024-02-09 17:28:59 -05:00
  • 02a640d857 Use broadcast mode for redis Ajay 2024-02-09 15:34:36 -05:00
  • 17b002649e Add logging when too many active connections Ajay 2024-02-09 14:54:14 -05:00
  • a74189b287 Fix cache invalidation with compression enabled Ajay 2024-02-09 14:19:56 -05:00
  • 09997d82ed Fix chrome extension user fetcher Ajay 2024-02-09 13:47:59 -05:00
  • bf644d6899 Don't use broadcast mode for redis Ajay 2024-02-09 12:09:03 -05:00
  • 5929460239 Remove weighted randomness and change weight calculation Ajay 2024-02-09 12:08:52 -05:00
  • 09dd10ad6f Fix memory cache invalidation not invalidating every item Ajay 2024-02-09 00:34:12 -05:00
  • af5e8cd68d Fix uncached misses tracking Ajay 2024-02-08 22:15:28 -05:00
  • bd766ab430 Remove unused import Ajay 2024-02-08 22:12:53 -05:00
  • bf1fe1ff61 Allow toggling redis compression and disable by default Ajay 2024-02-08 21:58:10 -05:00
  • db225f8a84 Reuse running redis connections and handle redis race condition Ajay 2024-02-08 21:30:27 -05:00
  • 9364a7e654 Show general last invalidation message Ajay 2024-02-08 21:15:28 -05:00
  • f3fffa56c9 Don't allow downvoting locked segments Ajay 2024-02-08 15:47:25 -05:00
  • c478546128 Count invalidation only on successful delete Ajay 2024-02-08 15:12:48 -05:00
  • e61f964d17 Add ttl to in memory cache cache Ajay 2024-02-08 14:37:01 -05:00
  • 5f8ef25d88 Use broadcast mode for client tracking and add new memory cache stat Ajay 2024-02-08 14:30:32 -05:00
  • b76cfdf798 Allow more things to be cached Ajay 2024-02-08 03:40:41 -05:00
  • 3c6000f2da Rename config for clientCacheSize Ajay 2024-02-08 03:26:06 -05:00
  • 9944d70f6b Use size for lru limit instead of length Ajay 2024-02-08 03:23:55 -05:00
  • 27069cb5c2 Change what gets saved in memory cache Ajay 2024-02-08 03:08:02 -05:00
  • 8aa03c81a7 Improve cache miss calculation Ajay 2024-02-08 03:06:30 -05:00
  • e8879f66b1 Add redis in memory cache stats Ajay 2024-02-08 02:58:51 -05:00
  • acdbd3787b More specific on what should be client cached Ajay 2024-02-08 01:04:48 -05:00
  • 1f7156eb29 Don't crash if redis message invalid Ajay 2024-02-08 00:34:37 -05:00
  • 7405053b44 Reuse running reputation requests Ajay 2024-02-07 23:40:59 -05:00
  • a929f69452 Fix same ip being fetched multiple times from postgres Ajay 2024-02-07 23:36:45 -05:00
  • 8574ec3a0c Fix is number check Ajay 2024-02-07 22:28:28 -05:00
  • 1475c91327 Clear cache again after setting up client tracking Ajay 2024-02-06 15:32:40 -05:00
  • 5b1b362bf0 Handle reconnects with client-side caching Ajay 2024-02-06 00:52:42 -05:00
  • 14da10bd8a Add client-side caching Ajay 2024-02-05 13:11:44 -05:00
  • 547632341a Add back redis compression optionally Ajay 2024-02-04 23:17:28 -05:00
  • c54c25c73b Disable query cache for segment groups Ajay 2024-02-04 22:53:12 -05:00
  • 121cc7f481 Fix duplicate behavior with submitting full video labels Ajay 2024-01-31 13:05:47 -05:00
  • e041b9c930 Don't throw 409 if only one segment was successfully submitted Ajay 2024-01-31 12:59:01 -05:00