Commit Graph

  • f6c68ec29c Add another option to get chapters submitting permission Ajay 2022-09-19 11:56:55 -04:00
  • 62a9b0eddd add innerTube as primary videoInfo endpoint Michael C 2022-09-15 17:02:33 -04:00
  • 3c09033267 add innerTube API, types and tests Michael C 2022-09-14 00:33:52 -04:00
  • 2ecf4b3a9b Fix category votes to use category support to judge when not allowed Ajay 2022-09-12 10:59:26 -04:00
  • 94ca291460 Don't cut off early if last retry Ajay 2022-09-11 12:22:57 -04:00
  • 0e3eeece01 return -1 for unknown dbVersion Michael C 2022-09-08 16:38:05 -04:00
  • 00dae6d6a1 switch to reused promiseOrTimeout Michael C 2022-09-08 16:34:39 -04:00
  • e84957a2c8 commit missing file Ajay 2022-09-08 15:04:33 -04:00
  • 1e66a2e57a Add option to disable fallback after failure Ajay 2022-09-08 15:02:56 -04:00
  • 9be9d05dbe add redis process time and add timeout clause Michael C 2022-09-07 23:43:14 -04:00
  • 072324f0ab Add permission request to image build action Ajay 2022-09-07 22:35:32 -04:00
  • c1e5f0e117 Fix void being used in wrong context Ajay 2022-09-07 22:15:44 -04:00
  • ae95f7e3ea Only give up on replica for last retry Ajay 2022-09-07 22:10:48 -04:00
  • bd7dfc63ff Add eslint rules for dealing with promises Ajay 2022-09-07 20:01:11 -04:00
  • 0ca134dc8f Merge pull request #500 from mchangrh/fix-tests Ajay Ramachandran 2022-09-07 12:03:05 -04:00
  • d1d7675a8c test fixes Michael C 2022-09-02 01:22:04 -04:00
  • 252e2305f2 Fix undefined redis timeout breaking redis Ajay 2022-09-07 01:39:26 -04:00
  • 9c72e20d1b test for changing chapter category Ajay 2022-09-07 01:31:38 -04:00
  • ec41102f07 Better chapter name error and increase min size Ajay 2022-09-04 22:36:26 -04:00
  • 08ab7e816d Restrict changing chapters category Ajay 2022-09-02 17:48:47 -04:00
  • f103a02a34 Don't check 80% for chapters Ajay 2022-09-02 17:24:10 -04:00
  • b413795e45 Change chapter name suggestion requirements Ajay 2022-09-02 15:23:08 -04:00
  • 6a61747573 Allow chapter submission Ajay 2022-09-02 14:55:20 -04:00
  • 420317a18c rename access to license Ajay 2022-09-02 13:54:09 -04:00
  • af2ef3d6a5 Add product link Ajay 2022-09-02 02:15:22 -04:00
  • 9f2d13780c Merge pull request #501 from ajayyy/chapter-auth Ajay Ramachandran 2022-09-02 02:06:45 -04:00
  • acec7e58e7 Add free chapters access Ajay 2022-09-01 03:21:14 -04:00
  • 7060c0ab0d Add access token system Ajay 2022-08-31 01:55:38 -04:00
  • ab6fcb8943 delete unused directory Ajay Ramachandran 2022-08-26 20:49:31 -04:00
  • cbf352173a throw error if query fails Ajay 2022-08-25 21:14:25 -04:00
  • 027ff694a0 Make redis timeout configurable Ajay 2022-08-25 20:44:16 -04:00
  • 9da1fc523a Parse float instead of int Ajay 2022-08-25 15:08:54 -04:00
  • 44d541bafe Don't use replica for is vip Ajay 2022-08-22 11:59:08 -04:00
  • dad205e729 don't scan ratings dir for tests Ajay 2022-08-22 11:07:30 -04:00
  • 8dbfe17ee4 remove ratings tests Ajay 2022-08-22 11:04:33 -04:00
  • 38a418a37a Remove ratings code Ajay 2022-08-22 10:56:22 -04:00
  • 6be2f96f26 Make max tries configurable Ajay 2022-08-20 17:57:40 -04:00
  • 47a6a13bdb Remove unused statement timeout with pgbouncer Ajay 2022-08-20 01:56:13 -04:00
  • 525a23abfb Add max connections and idle timeout Ajay 2022-08-19 18:45:02 -04:00
  • 4f637daeaa best way to deal with annoyance Ajay 2022-08-19 15:48:03 -04:00
  • 9559628273 Fix error Ajay 2022-08-19 15:45:23 -04:00
  • 5a43f46ac0 Configurable expiry time Ajay 2022-08-19 15:40:32 -04:00
  • c3d30b18e2 Increase postgres read timeout and make it configurable Ajay 2022-08-15 17:32:07 -04:00
  • 7cb58b946a Remove submission restriction for ci.json Ajay 2022-08-15 12:03:44 -04:00
  • 9306729fdc Remove submission restrictions for tests Ajay 2022-08-15 11:43:51 -04:00
  • 1ae4c9a349 Add hostname to status Ajay 2022-08-12 15:34:40 -04:00
  • be204fe873 Lower postgres read timeout, raise statment timeout Ajay 2022-08-12 15:31:19 -04:00
  • 6804e7d7a8 Add logging for permission rejections Ajay 2022-08-12 15:26:20 -04:00
  • f4c104215b Lower requirements Ajay 2022-08-12 15:11:50 -04:00
  • 479890fc0d Add default expiry to query cache Ajay 2022-08-11 21:37:13 -04:00
  • 877c3b7107 Change submission requirements Ajay 2022-08-09 22:01:09 -04:00
  • cd35a58f83 Fix typo Ajay 2022-07-31 21:08:23 -04:00
  • cb1cc10278 Extend restriction to all categories Ajay 2022-07-31 21:05:39 -04:00
  • 6239e53091 Fix flaky test Ajay 2022-07-29 12:06:38 -04:00
  • ef93c692e5 fix reputation query typo Ajay 2022-07-29 11:57:55 -04:00
  • ee49689110 Ignore full in all reputation cases Ajay 2022-07-29 11:55:48 -04:00
  • 04eabd5141 Fix error Ajay 2022-07-29 11:49:08 -04:00
  • da1ed70c66 adjust permissions and use parrallel processing Ajay 2022-07-29 11:47:28 -04:00
  • 186f07b20c change filler rules Ajay 2022-07-29 11:29:39 -04:00
  • 5e49ce22b2 new chat link Ajay 2022-07-28 16:59:23 -04:00
  • af7634b498 Fix ad feature auth logic Ajay 2022-07-28 13:55:43 -04:00
  • b9354e44ae Fix missing semicolon Ajay 2022-07-28 13:10:21 -04:00
  • 17a790b6d9 More accurate spam number Ajay 2022-07-28 13:00:58 -04:00
  • 46805f4830 Require permission for filler submissions Ajay 2022-07-28 12:22:49 -04:00
  • 954c3db649 Change postgres timeout values Ajay 2022-07-24 15:41:09 -04:00
  • 23add072f3 Wait for any successful query instead of just most recent Ajay 2022-07-24 15:40:40 -04:00
  • db2f9e11f7 Remove warning about disapearing degments bug Ajay 2022-07-23 14:12:06 -04:00
  • 2983bdb616 Add warning about segments not appearing Ajay 2022-07-22 21:06:21 -04:00
  • 597b26ba7c Clear cache when submission rejected Ajay 2022-07-22 21:05:38 -04:00
  • f93c197d05 Add timeout to shadowhiddenn ip Ajay 2022-07-22 20:56:29 -04:00
  • 9764c01428 Add timeout for replica requests on non replica too Ajay 2022-07-22 20:00:38 -04:00
  • ad7080d801 Force replica if failed using normal Ajay 2022-07-22 19:03:46 -04:00
  • 071aae5cf7 Add timeout for write too Ajay 2022-07-22 17:31:17 -04:00
  • 10491da7c2 Raise timeout Ajay 2022-07-22 17:27:32 -04:00
  • b616ac990b Add statement timeout for read Ajay 2022-07-22 16:39:31 -04:00
  • 603bad4967 Add another warning test Ajay 2022-07-21 14:19:41 -04:00
  • ddb73af515 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2022-07-21 00:15:42 -04:00
  • c1d345441c Pin github actions Ajay 2022-07-21 00:15:40 -04:00
  • e050a6eec3 Merge pull request #484 from mini-bomba/fix/requiredSegments-hidden Ajay Ramachandran 2022-07-20 20:04:24 -04:00
  • b3c05bc606 Merge branch 'master' into fix/requiredSegments-hidden mini-bomba 2022-07-21 00:54:14 +02:00
  • 3203271fdf Allow removing your own warning Ajay 2022-07-20 18:52:27 -04:00
  • 6e1df18c38 Allow updating warning messages Ajay 2022-07-20 17:20:19 -04:00
  • 96a75a8335 Add retry logic to postgres requests Ajay 2022-07-20 14:42:04 -04:00
  • dd47f87616 Add more things to read from replica Ajay 2022-07-20 01:21:13 -04:00
  • f1ed8eff84 Fix useReplica change breaking voting Ajay 2022-07-20 00:43:59 -04:00
  • 1e441c3ebf Only use read replica for shorter queries Ajay 2022-07-20 00:40:07 -04:00
  • f4b66d30ec Use pool query since this should catch idle errors Ajay 2022-07-20 00:31:51 -04:00
  • 288f7d45e7 Revert "Don't cache empty arrays" Ajay 2022-07-20 00:23:02 -04:00
  • 4ac70d2d7e add test cases for getting (shadow)hidden segments with requiredSegments mini-bomba 2022-07-16 15:02:32 +02:00
  • 0f3efc6fb2 send hidden segments when requested via requiredSegments mini-bomba 2022-07-16 14:54:01 +02:00
  • f2904da653 Fix type error Ajay 2022-07-15 00:26:22 -04:00
  • b11f260377 Log error from reputation in build segment groups Ajay 2022-07-15 00:23:55 -04:00
  • 9ab939456b Don't cache empty arrays Ajay 2022-07-15 00:21:08 -04:00
  • 5c089dab13 don't crash from reputation Ajay 2022-07-14 17:51:26 -04:00
  • bba1c7f965 Merge pull request #482 from mini-bomba/misc/voteOnSponsorTime Ajay Ramachandran 2022-07-14 17:07:25 -04:00
  • 55a8b5d514 voteOnSponsorTime: add test cases for categoryVote as warned/banned user mini-bomba 2022-07-14 20:56:44 +02:00
  • 9c0f0d8e4f voteOnSponsorTime: simplify currentCategoryCount computation in categoryVote mini-bomba 2022-07-14 20:28:45 +02:00
  • f24a1415da voteOnSponsorTime: check for VIP/ownSubmission before doing math in categoryVote mini-bomba 2022-07-14 20:24:22 +02:00
  • 70c98e0819 voteOnSponsorTime: add ban check to categoryVote mini-bomba 2022-07-14 20:22:44 +02:00
  • 39ad5fb62a voteOnSponsorTime: move warning check before call to categoryVote mini-bomba 2022-07-14 20:13:47 +02:00