Commit Graph

  • f48fb6c3f6 Merge pull request #539 from mchangrh/nyc Ajay Ramachandran 2023-02-18 00:48:39 -05:00
  • 4a90ba8992 run sqlite and postgres coverage Michael C 2023-02-18 00:36:45 -05:00
  • efc911a229 fix codecov Michael C 2023-02-18 00:21:58 -05:00
  • 2e3f4f8c70 Add codecov Ajay Ramachandran 2023-02-18 00:16:18 -05:00
  • b95b6d8efe Merge pull request #538 from mchangrh/less-tempvip-perms Ajay Ramachandran 2023-02-18 00:10:04 -05:00
  • 7985d131ef Merge pull request #537 from mchangrh/lenientSetUsername Ajay Ramachandran 2023-02-18 00:09:37 -05:00
  • a384079562 more lenient privateIDUsername checks Michael C 2023-02-17 22:28:23 -05:00
  • 46c372a764 Unlock other segments when vip votes for new segment Ajay 2023-02-14 22:10:46 -05:00
  • 3281954019 Update src/routes/postSkipSegments.ts Michael M. Chang 2023-02-08 12:21:58 -05:00
  • aece615992 give less permissions to tempVIPs Michael C 2023-02-08 01:54:20 -05:00
  • 6448fbfbd8 Fix logger calls where this will be wrong Ajay 2023-02-05 13:27:18 -05:00
  • c5426e5fc4 Fix reputation test Ajay 2023-02-04 18:43:08 -05:00
  • 3894d453a5 Improve performance of reputation query Ajay 2023-02-04 18:22:31 -05:00
  • 280e6684af Fix reputation using wrong date Ajay 2023-02-04 18:22:19 -05:00
  • 7361c7056b Print active db requests in redis errors Ajay 2023-02-04 15:12:22 -05:00
  • 2d751a0b21 Log response time limits Ajay 2023-02-04 14:13:49 -05:00
  • 399bda869f Add more detailed redis error message Ajay 2023-02-04 14:07:09 -05:00
  • 663bd96130 Fix forget sh file missing Ajay Ramachandran 2023-02-03 20:06:14 -05:00
  • 5b3f4b476e Update redis config Ajay 2023-02-03 12:31:30 -05:00
  • b855eea349 make privateIDUsername check more lenient #532 Michael C 2023-01-29 16:10:59 -05:00
  • 51d25cfc68 Ban users submitting from banned IPs Ajay 2023-01-29 13:53:08 -05:00
  • f8f02d86d5 Fix shadow hidden requiring type 1 Ajay 2023-01-29 13:15:05 -05:00
  • cb7492628c Names for docker compose ci Ajay 2023-01-28 14:48:20 -05:00
  • e69b61fb4c Fix shadow ban exiting early Ajay 2023-01-28 14:42:16 -05:00
  • 5c1b502a15 Fix ban users var not used Ajay 2023-01-28 14:04:14 -05:00
  • d5c544f1ee Allow auto banning ips Ajay 2023-01-28 14:00:12 -05:00
  • 5426ae826e Add IP banning Ajay 2023-01-28 13:09:04 -05:00
  • 7911819cab Merge pull request #536 from mchangrh/sharedParser Ajay Ramachandran 2023-01-28 12:20:50 -05:00
  • d8e0eac61b Use includes and check in sql usage Ajay Ramachandran 2023-01-28 12:18:34 -05:00
  • 74c0ba37e2 remove debug statements, fix shadowBanUser tests Michael C 2023-01-28 02:54:01 -05:00
  • a64b8f99b7 use shared parseParams helper Michael C 2023-01-28 02:40:09 -05:00
  • 9cf2e1f0e9 Fix private db table removal and original title type Ajay 2023-01-28 02:31:49 -05:00
  • 10e9aef8cc use await in get branding test Ajay 2023-01-28 02:20:16 -05:00
  • d07aac3a33 Merge branch 'master' into clickbait Ajay Ramachandran 2023-01-28 02:13:42 -05:00
  • b91114165e use seperate queries Ajay 2023-01-28 02:12:33 -05:00
  • 36f1d15605 Add tests for get branding and fix issues Ajay 2023-01-28 01:53:59 -05:00
  • 894cd48182 Bump luxon from 1.28.0 to 1.28.1 (#535) dependabot[bot] 2023-01-28 01:22:05 -05:00
  • 1641a41b00 Merge pull request #533 from mchangrh/cache-control Ajay Ramachandran 2023-01-28 01:16:32 -05:00
  • 4d8ce40ef4 Add missing import Ajay 2023-01-27 22:42:46 -05:00
  • 07c683e8f0 Add vote/submission for titles and thumbnails Ajay 2023-01-27 22:36:29 -05:00
  • d0a9168531 remove temp server outage error Ajay 2023-01-22 18:59:51 -05:00
  • 2ed23d7fcb Fix duplicate chapter issue Ajay 2023-01-21 21:52:39 -05:00
  • e7a43d79ab optimize skipSegments, add eTag Michael C 2023-01-01 04:59:57 -05:00
  • b792354ffb lock redis, postgres versions, no persistence in redis Michael C 2023-01-01 02:51:44 -05:00
  • a613b68c66 add ETag to skipSegments byHash Michael C 2023-01-01 02:50:49 -05:00
  • 66c2be6012 remove hash and extra segment params Ajay 2022-12-30 15:39:45 -05:00
  • 2a7083b9ef Remove hash from result to save bandwidth Ajay 2022-12-30 15:07:59 -05:00
  • 928eef637a Merge pull request #532 from mchangrh/fix-privateIDUsername Ajay Ramachandran 2022-12-30 01:07:08 -05:00
  • be03367557 fix privateIDUsername Michael C 2022-12-30 01:04:23 -05:00
  • fd288dd330 Merge pull request #531 from ajayyy/dependabot/npm_and_yarn/json5-2.2.2 Ajay Ramachandran 2022-12-30 00:47:01 -05:00
  • 0c00f7323d Bump json5 from 2.2.1 to 2.2.2 dependabot[bot] 2022-12-30 05:45:16 +00:00
  • 5a6ba891f9 Merge pull request #530 from mchangrh/privateIDUsername Ajay Ramachandran 2022-12-30 00:44:51 -05:00
  • 90e5446078 add privateID username check Michael C 2022-12-30 00:41:45 -05:00
  • dc0bde0e36 Merge pull request #529 from mchangrh/sanitizeVideoID Ajay Ramachandran 2022-12-27 17:10:27 -05:00
  • 7c2feb80bc videoID validation and userID min length Michael C 2022-12-27 01:45:50 -05:00
  • fc607d0cb7 Specify only in package.json Ajay Ramachandran 2022-12-26 23:43:01 -05:00
  • 3fbcadc3a0 Update license in package.json Ajay Ramachandran 2022-12-26 23:24:46 -05:00
  • 7f7a3a37ec Relicense project to AGPL Ajay 2022-12-26 23:18:43 -05:00
  • cc24a4902f Initial get branding Ajay 2022-12-23 16:56:27 -05:00
  • d738e89f20 Merge pull request #528 from mchangrh/bumpInnertube Ajay Ramachandran 2022-12-18 00:07:13 -05:00
  • b591b7194e Merge branch 'bumpInnerTube' into sanitizeVideoID Michael C 2022-12-18 00:03:33 -05:00
  • fc5b5ca72c use node 18 across all tests Michael C 2022-12-18 00:01:32 -05:00
  • 8d7b010a12 append missing number to version Michael C 2022-12-17 23:58:19 -05:00
  • fc73f491fe bump innertube clientVersion Michael C 2022-12-17 23:56:36 -05:00
  • 2683c61995 add minUserIDLength config option Michael C 2022-12-17 23:35:13 -05:00
  • cff2325aef use keep alive in disk cache and user counter Ajay 2022-12-05 17:06:00 -05:00
  • d7d5618985 update sqlite Ajay 2022-12-05 17:04:08 -05:00
  • 4e3753d32c Only call user counter some of the time Ajay 2022-12-05 16:47:11 -05:00
  • 1202c264aa Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2022-12-04 19:54:46 -05:00
  • 89e122210e Remove extra hash Ajay 2022-12-04 19:54:44 -05:00
  • aed0e38d2f Merge pull request #524 from mchangrh/submitPrivateVideo Ajay Ramachandran 2022-12-04 14:59:28 -05:00
  • 665ad6fe50 Merge pull request #526 from mchangrh/bump-dependencies Ajay Ramachandran 2022-12-04 14:59:13 -05:00
  • 992c65a39d Fix sqlite tests Ajay 2022-11-21 17:06:04 -05:00
  • b6e62aa68f Add postgres request time stats Ajay 2022-11-21 16:48:16 -05:00
  • 1f844bf56a Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into submitPrivateVideo Michael C 2022-11-21 14:40:46 -05:00
  • fa5f3b8a50 update dependencies, finally bump to node 18 Michael C 2022-11-21 14:36:11 -05:00
  • 30ac91c537 Don't refetch reputation if under high db load Ajay 2022-11-20 19:17:47 -05:00
  • e252411fe1 No time saved for chapter Ajay 2022-11-20 17:30:13 -05:00
  • 91fc56f59a Wait for redis to connect before starting server Ajay 2022-11-20 01:20:05 -05:00
  • 0cd808a2d9 Add high load checks to leaderboard pages Ajay 2022-11-20 00:50:32 -05:00
  • 87e38c8bc4 Show total stats if not under high load Ajay 2022-11-20 00:47:41 -05:00
  • df76b5f053 Add max queue to redis Ajay 2022-11-20 00:23:22 -05:00
  • 71d30c0b51 change redis max response time default Ajay 2022-11-19 23:59:50 -05:00
  • 238ccc83d9 Stop writing if response time exceeds value Ajay 2022-11-19 23:58:55 -05:00
  • 9bd6e9df4f Add error catching in segment by hash Ajay 2022-11-19 23:35:46 -05:00
  • 7bdcb10994 Fix redis set limiting Ajay 2022-11-19 23:32:09 -05:00
  • 849ca52ef8 Allow disabling hash cache Ajay 2022-11-19 20:05:59 -05:00
  • 9e2e1343da Add timeout for all postgres requests Ajay 2022-11-15 14:19:15 -05:00
  • 4139bf8f8c lower active connections on error Ajay 2022-11-13 23:21:46 -05:00
  • 1fffd2e6ac Remove set limitation code Ajay 2022-11-13 17:01:32 -05:00
  • a417299d3e Only limit connections for reads Ajay 2022-11-12 15:44:09 -05:00
  • d3d53d0758 Allow no max redis connections Ajay 2022-11-12 15:35:07 -05:00
  • 517c9512e4 Make default have no max requests Ajay 2022-11-12 15:31:21 -05:00
  • ed5e3373a5 Add max active postgres requests Ajay 2022-11-12 15:29:55 -05:00
  • 6c18579a78 Added back mention of video to lock message Ajay 2022-11-12 12:45:35 -05:00
  • e6e8c8e5a1 Added suggestion to refresh for locks Ajay 2022-11-12 12:43:16 -05:00
  • 50743070de Clarify locked category error Ajay 2022-11-12 12:41:00 -05:00
  • 7fb68937d0 add innertube tests for private videos Michael C 2022-11-09 14:39:02 -05:00
  • 90e68caaf7 Add active connection limit to setEx as well Ajay 2022-11-08 22:09:03 -05:00
  • 0ead3892ba Fix write process time not being used Ajay 2022-11-08 00:01:44 -05:00