Commit Graph

  • 2700b5b530 Add avg read and write for redis and write requests Ajay 2022-11-07 23:51:41 -05:00
  • e1a5ca64f0 Add seperate config for stopping write redis connections Ajay 2022-11-07 23:04:18 -05:00
  • 98f202f6a9 Add max connection check to redis set Ajay 2022-11-07 22:51:26 -05:00
  • ee436d982c Fix csv download not being blocked Ajay 2022-11-07 16:30:16 -05:00
  • dc8c35695d Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2022-11-07 16:24:44 -05:00
  • 9b509e7289 Disable csv downloads Ajay 2022-11-07 16:24:43 -05:00
  • eee44e611b Only create blank config if it doesn't exist Ajay Ramachandran 2022-11-01 14:21:33 -04:00
  • 5139c7aaf0 Fix tests Ajay 2022-10-30 17:07:25 -04:00
  • 2254e7f869 Fix license validation failing Ajay 2022-10-30 17:05:10 -04:00
  • 68d9d3cbde Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2022-10-29 21:04:01 -04:00
  • 571230db56 Stop spamming redis if it slows down Ajay 2022-10-29 21:03:34 -04:00
  • 9c5db6a958 Merge pull request #520 from mchangrh/update-actions Ajay Ramachandran 2022-10-28 17:08:20 -04:00
  • 6b1ecbe90e Merge pull request #463 from mchangrh/fullVideoLabels Ajay Ramachandran 2022-10-28 17:08:05 -04:00
  • d83d620893 update actions Michael C 2022-10-28 17:00:01 -04:00
  • db71af480d clear full video labels Michael C 2022-10-28 16:53:04 -04:00
  • 80c018c9d5 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fullVideoLabels Michael C 2022-10-28 16:49:50 -04:00
  • cc6c5980a1 videoLabelsHashKey Michael C 2022-10-28 16:49:10 -04:00
  • 9d7236282c Merge pull request #504 from mchangrh/more-coverage Ajay Ramachandran 2022-10-28 16:45:22 -04:00
  • 7f92ac961d clear label cache Michael C 2022-10-28 16:42:56 -04:00
  • 96db571a5e Fix request rate limit option not working Ajay 2022-10-27 20:00:04 -04:00
  • ccd1321d24 Allow disabling redis rate limit Ajay 2022-10-27 16:50:35 -04:00
  • 19289a149b test against new chapters access Michael C 2022-10-27 01:47:12 -04:00
  • 622511c8fd Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-coverage Michael C 2022-10-27 01:38:08 -04:00
  • c2acc6227b Don't kill program if can't connect to read server Ajay 2022-10-27 01:31:41 -04:00
  • 176f2ce7b9 Kill if db can't connect Ajay 2022-10-27 01:30:59 -04:00
  • 9286f16e7b add ingores to tokenUtils Michael C 2022-10-27 01:19:42 -04:00
  • 9e3d059d10 Stop postgres retries when over a threshold Ajay 2022-10-26 22:58:35 -04:00
  • 13ae4681cb Fix hashing empty value for patreon sign in Ajay 2022-10-26 12:56:40 -04:00
  • ee56a8dea4 Last pool fail when timeout Ajay 2022-10-26 12:49:39 -04:00
  • 94eb37cb1c Count active postgres and redis requests Ajay 2022-10-26 01:31:29 -04:00
  • 0ced78d798 Merge pull request #515 from PeterDaveHello/patch-1 Ajay Ramachandran 2022-10-23 11:03:13 -04:00
  • f1005fe779 Leave no apk cache in the Docker image Peter Dave Hello 2022-10-23 20:19:06 +08:00
  • 1e2437b993 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2022-10-22 13:32:49 -04:00
  • a6275b3607 Add message about server outage Ajay 2022-10-22 13:32:48 -04:00
  • ba27a8a056 Merge pull request #514 from Choromanski/feature/getTopUsers-fix-minutesSaved-calculation Ajay Ramachandran 2022-10-22 10:19:27 -04:00
  • 10397fbde2 Fixed minutesSaved typo Brian Choromanski 2022-10-21 17:27:34 -04:00
  • b5434ae234 expand chapter free access Ajay 2022-10-18 16:50:21 -04:00
  • b52ca8b2a6 Merge pull request #513 from mchangrh/tokenValidation Ajay Ramachandran 2022-10-13 09:53:29 -04:00
  • e799821ad9 add additional token validation Michael C 2022-10-13 00:59:34 -04:00
  • 415bb31e36 Revert "Add concurrent request limit" Ajay 2022-10-11 11:59:53 -04:00
  • eb3d733a34 Merge pull request #510 from mini-bomba/misc-fixes Ajay Ramachandran 2022-10-11 00:10:41 -04:00
  • 9386f25f9f Add read only redis ability Ajay 2022-10-09 16:10:46 -04:00
  • ceaf9ec6f6 Fix linter warning mini-bomba 2022-10-08 09:09:19 +02:00
  • d229003f6e Unlock the video on duration change detected when voting mini-bomba 2022-10-08 09:08:40 +02:00
  • 1becebdcd5 Actually pass the ignoreCache param, as the comment suggests mini-bomba 2022-10-08 09:04:37 +02:00
  • b417241ca0 make permission reason not optional Ajay 2022-10-07 12:05:11 -04:00
  • ee3d94e7b7 Add clearer chapter permission error Ajay 2022-10-07 12:04:44 -04:00
  • b6da103c3d switch to just lower vote min Ajay 2022-10-05 23:15:01 -04:00
  • 52a7d7e791 allow locked to be in top list and chapter Ajay 2022-10-05 23:08:16 -04:00
  • b63572ec43 Add chapter to top users Ajay 2022-10-05 22:00:12 -04:00
  • 66d5622393 Merge pull request #508 from mini-bomba/searchsegments-description Ajay Ramachandran 2022-10-01 09:53:29 -04:00
  • b7fcd9ea39 Merge pull request #509 from mini-bomba/status-startTimes Ajay Ramachandran 2022-10-01 09:53:07 -04:00
  • c4af2449c3 Use different startTime variables for each processTime check mini-bomba 2022-10-01 15:50:47 +02:00
  • eb5458427d Make /searchSegments return the segment description mini-bomba 2022-10-01 13:46:27 +02:00
  • 95dd36a782 getUserInfo and free chapters tests Michael C 2022-09-30 22:58:49 -04:00
  • 67eb165b53 getSearchSegments tests Michael C 2022-09-30 22:58:37 -04:00
  • d163b1d436 shadowban tests Michael C 2022-09-30 22:58:20 -04:00
  • 715d41fbb2 getStatus, token tests and mocks Michael C 2022-09-30 22:58:08 -04:00
  • 0b9e7029c5 minor optimizations Michael C 2022-09-30 22:57:33 -04:00
  • 9ef0eafac1 add istanbul exclusions Michael C 2022-09-30 22:56:59 -04:00
  • d80be9e7b3 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-coverage Michael C 2022-09-30 19:36:58 -04:00
  • 968ffe785f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fullVideoLabels Michael C 2022-09-30 19:21:54 -04:00
  • 847f1bbabb Merge pull request #499 from mchangrh/getStatus-redis Ajay Ramachandran 2022-09-29 16:52:16 -04:00
  • ada32217d9 Merge pull request #503 from mchangrh/innerTubeDuration Ajay Ramachandran 2022-09-29 16:45:55 -04:00
  • a8ddae131d Merge branch 'master' of github.com:ajayyy/SponsorBlockServer into more-coverage Michael C 2022-09-29 15:39:36 -04:00
  • 54e53f098e Merge pull request #506 from mini-bomba/userstats-chapters Ajay Ramachandran 2022-09-28 12:27:11 -04:00
  • ed251a047a Add a test case for getUserInfo.ts ignoring chapters for time saved calc mini-bomba 2022-09-28 18:18:41 +02:00
  • 601a17c969 Ignore chapters for saved time calculations in getUserInfo.ts mini-bomba 2022-09-28 18:07:39 +02:00
  • 771fa18731 Modify getUserStats test cases to include chapter counts mini-bomba 2022-09-28 17:59:04 +02:00
  • 27f7b6d3c7 Add chapter category & action type to getUserStats.ts mini-bomba 2022-09-28 17:43:04 +02:00
  • 55aa33aa6e add DiskCache to getPlayerData Michael C 2022-09-26 15:58:33 -04:00
  • 07926ada57 switch test videoID, remove useless import Michael C 2022-09-26 15:44:04 -04:00
  • ea05284b1d Allow manual dispatch of generate sqlite base Ajay 2022-09-26 15:23:01 -04:00
  • 230191ece9 Merge pull request #473 from mchangrh/gha_b2-sync Ajay Ramachandran 2022-09-26 15:19:07 -04:00
  • 28448f99d9 Lock s3cmd-sync version Ajay 2022-09-26 15:17:38 -04:00
  • c34de1baa4 add 4xx tests Michael C 2022-09-25 03:31:25 -04:00
  • a469f2f382 add uniform parsing and catching for arrays, remove redundant check Michael C 2022-09-25 03:30:33 -04:00
  • 506b6570f3 add ignore next to catch errors Michael C 2022-09-25 03:29:31 -04:00
  • 8562dc2240 lint fix Michael C 2022-09-25 02:05:51 -04:00
  • 005ae2c9fb add ignores for impossible cases Michael C 2022-09-25 02:04:51 -04:00
  • 9ca087206e add token tests Michael C 2022-09-25 02:04:30 -04:00
  • c0952c15c8 fix getTotalStats userCount Michael C 2022-09-24 23:08:36 -04:00
  • 47616711ce move patreon mock Michael C 2022-09-24 22:10:29 -04:00
  • 7457b51aa4 add getByHash tests, remove redundant check Michael C 2022-09-24 21:43:52 -04:00
  • a00048aaac add getIP test cases, misc others Michael C 2022-09-21 19:39:03 -04:00
  • 6499381b4f add coverage reports to PostgreSQL tests Michael C 2022-09-21 15:57:20 -04:00
  • 0a102c15fd add lockCategory tests and typo tweak Michael C 2022-09-21 15:11:10 -04:00
  • e0be4744be fix tokenUtils tests, skip if not configured Michael C 2022-09-21 03:04:16 -04:00
  • dd7656d143 add lockCategories tests, getUserInfo Michael C 2022-09-21 02:27:48 -04:00
  • f683ed4f29 add userCounter mocks and rearrange webhook path Michael C 2022-09-21 01:14:22 -04:00
  • 3f470a72f5 add additional/missing tests Michael C 2022-09-20 23:22:21 -04:00
  • f5bafa2868 add nyc output to gitignore Michael C 2022-09-24 22:46:16 -04:00
  • b652102c42 move mocks to subfolder Michael C 2022-09-20 23:18:35 -04:00
  • 55db24ab74 Merge pull request #505 from mchangrh/tokenValidateRegex Ajay Ramachandran 2022-09-24 21:09:16 -04:00
  • 551e103158 add tregex for both patreon and gumroad Michael C 2022-09-24 20:13:35 -04:00
  • 8fc01ba138 add fast fails for local and gumroad license keys Michael C 2022-09-22 20:30:10 -04:00
  • 1c1496afbc Change free chapter to use historical rep Ajay 2022-09-22 14:50:48 -04:00
  • 7007ab05e1 Handle errors from redis store in request rate limit Ajay 2022-09-22 11:12:47 -04:00
  • 30bac658ed Remove old permission workaround Ajay 2022-09-21 21:52:55 -04:00
  • f6f83fcbe4 Add concurrent request limit Ajay 2022-09-20 23:41:36 -04:00