Commit Graph

  • f63fa09605 Handle exceptions, and prevent crashing from unhandled exceptions Ajay 2023-07-24 21:25:18 -04:00
  • 4e93a007c2 Remove unnecessary call in userInfo Ajay 2023-07-24 14:55:31 -04:00
  • 2fc31655ff Add different max for private db connection Ajay 2023-07-24 13:56:09 -04:00
  • 79515ccc8b Add unlocking to long title error Ajay 2023-07-23 23:45:02 -04:00
  • b6f29b8b6d Fix shadow ban test Ajay 2023-07-23 23:35:50 -04:00
  • a52ecf2d37 Add more unlock calls Ajay 2023-07-23 23:32:38 -04:00
  • 8d518b184b Change default lock timeout Ajay 2023-07-23 23:30:17 -04:00
  • 3924a65e02 Don't use locks when redis disabled Ajay 2023-07-23 23:28:41 -04:00
  • a4de94bede Remove leftover timeout Ajay 2023-07-23 23:28:26 -04:00
  • 8bcc781da7 Add locks to different write operations Ajay 2023-07-23 23:21:50 -04:00
  • b2081fe155 Add unique constraint for titles Ajay 2023-07-23 22:53:14 -04:00
  • ea80a413ba Add postgres private db stats Ajay 2023-07-23 14:26:25 -04:00
  • 528f24a431 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay 2023-07-23 14:01:50 -04:00
  • 0463165f1a Add timing trace to set username Ajay 2023-07-23 14:01:49 -04:00
  • 38b7ddfd07 Merge pull request #553 from ajayyy/dependabot/npm_and_yarn/word-wrap-1.2.4 Ajay Ramachandran 2023-07-19 01:08:16 -04:00
  • 79bac69c41 Bump word-wrap from 1.2.3 to 1.2.4 dependabot[bot] 2023-07-19 03:10:24 +00:00
  • 85fc0477ad Fix type check for warning duplicate Ajay 2023-07-17 23:38:52 -04:00
  • a5501b9655 Fix user info not checking warning type Ajay 2023-07-17 22:53:12 -04:00
  • e9fcf6b445 Add seperate type for dearrow warning Ajay 2023-07-17 22:42:29 -04:00
  • 808066a5ed Look at -1 votes for branding sb segments Ajay 2023-07-17 19:36:58 -04:00
  • 93f4cfd82d Add option to return userID in branding call Ajay 2023-07-16 15:35:22 -04:00
  • d030de83bd Add leaderboard for dearrow Ajay 2023-07-07 14:32:45 -04:00
  • d1d2b011f8 Add max title length Ajay 2023-07-06 16:36:37 -04:00
  • d2f8e3aee4 Fix shadow hide video branding logic Ajay 2023-07-06 14:53:48 -04:00
  • 2e29666781 Remove mysql code Ajay 2023-07-05 01:25:38 -04:00
  • 8b418c8851 Add hiding dearrow submissions in ban code Ajay 2023-07-05 01:23:48 -04:00
  • 5f80562772 Make dearrow verification easier to get Ajay 2023-06-28 22:12:32 -04:00
  • 69db87f5e1 Fix 0 second submissions not allowed Ajay 2023-06-23 23:05:52 -04:00
  • fa6919a1d0 Add branding stats Ajay 2023-06-14 19:50:26 -04:00
  • 633f128e90 Fix voting on an existing submission not working. Ajay 2023-06-13 00:12:16 -04:00
  • 9f7fa53b14 Fix sort order Ajay 2023-06-12 11:51:17 -04:00
  • bbb7102e37 Derank original submissions Ajay 2023-06-12 11:41:57 -04:00
  • 3bb8d5b58b Add verification where new users start with lower votes Ajay 2023-06-10 12:35:43 -04:00
  • 1cacb2dd69 Fix random time calculator for starting empty segment Ajay 2023-06-08 18:22:26 -04:00
  • fe185234cf Add fallback video duration when finding random timestamp Ajay 2023-06-08 18:05:40 -04:00
  • ef3e48ec24 Send video duration if known Ajay 2023-06-08 15:28:37 -04:00
  • 777944665d Make voting requirements more strict mini-bomba 2023-06-08 16:49:05 +02:00
  • 0932f63398 Await in post branding test case Ajay 2023-06-08 04:01:23 -04:00
  • 5834643ba0 Add random timestamp generation to get branding Ajay 2023-06-08 03:39:44 -04:00
  • 8e5be402e1 Fix VIP title and thumbnail unlock unlocking everything Ajay 2023-05-31 14:28:01 -04:00
  • e253c7bb47 change container to do chmod in builder Michael C 2023-05-23 19:39:16 -04:00
  • 9129cee9f0 Fix tests Ajay 2023-05-21 20:12:17 -04:00
  • 39fcdb1d95 Allow more chapter names to appear in suggestions Ajay 2023-05-21 20:03:53 -04:00
  • 8d1025e17d Add title and thumbnails to user stats Ajay 2023-05-09 23:53:18 -04:00
  • 6f0abddd3e Reenable locks Ajay 2023-04-28 14:15:18 -04:00
  • a1b5c38e5a Disable lock tests for now Ajay 2023-04-17 19:38:31 -04:00
  • 5c61f1d366 Fix inspect command debug Ajay 2023-04-16 21:34:34 -04:00
  • 36352b0c8e Build debug Ajay 2023-04-16 21:23:01 -04:00
  • 8db898fab5 Add pool status to branding header Ajay 2023-04-10 18:21:52 -04:00
  • 940cacfb0a Add pool details to postgres stats Ajay 2023-04-07 15:55:29 -04:00
  • 69a54f64b4 More specific redis error Ajay 2023-04-07 14:39:38 -04:00
  • 9600f56830 Fix 500 in tracing Ajay 2023-04-07 14:38:57 -04:00
  • 4e59526b4d Add missing semicolon Ajay 2023-04-07 14:31:15 -04:00
  • 42f2eb5eae Add traces to branding endpoint Ajay 2023-04-07 14:31:08 -04:00
  • e1a607ba39 Add sb server host as response header Ajay 2023-04-07 12:47:08 -04:00
  • 8a236d66ed Fix video labels hash key error Ajay 2023-04-05 18:02:47 -04:00
  • 4a10faaea3 Add cb tables to db dump Ajay 2023-03-31 17:57:56 -04:00
  • 589b7d4e3e Disable branding locks for now Ajay 2023-03-31 15:08:28 -04:00
  • a52feee25e Fix unlocking all submissions Ajay 2023-03-31 15:07:34 -04:00
  • d6a12a5e99 Merge pull request #545 from ajayyy/clickbait Ajay Ramachandran 2023-03-29 00:33:27 -04:00
  • 4696ce8d01 Clear query cache for branding clickbait Ajay 2023-03-29 00:32:29 -04:00
  • bffc10e38f Merge pull request #534 from ajayyy/clickbait Ajay Ramachandran 2023-03-27 00:54:52 -04:00
  • dde12bcc43 Fix wrong branch for github workflow Ajay 2023-03-19 00:41:29 -04:00
  • 7921bc4582 Remove chapters free test Ajay 2023-03-19 00:25:59 -04:00
  • 0b830610e9 Fix chapters duplicate check Ajay 2023-03-19 00:25:22 -04:00
  • b6e9f92da8 Free chapters Ajay 2023-03-18 19:15:50 -04:00
  • d4c4dbffcc Change video label cache to 3 chars Ajay 2023-03-18 00:36:05 -04:00
  • 5c549b5295 Merge pull request #544 from mchangrh/token-test Ajay Ramachandran 2023-03-12 18:50:11 -04:00
  • acae9da06c increase coverage for tokenUtils Michael C 2023-03-12 16:30:08 -04:00
  • 1f939116a4 Merge pull request #543 from mchangrh/unban-fix Ajay Ramachandran 2023-02-25 14:11:17 -05:00
  • 8495a9d6c0 fix unban query hitting limit, use number as type Michael C 2023-02-25 00:04:15 -05:00
  • d76ee7cd22 Merge pull request #541 from mchangrh/etagTest Ajay Ramachandran 2023-02-22 01:38:41 -05:00
  • 436e75e3e6 add explicit test checks in reset Michael C 2023-02-22 01:15:49 -05:00
  • 7ba654e476 remove tests for maxNumberOfActiveWarnings Michael C 2023-02-22 00:35:58 -05:00
  • f4286b15a1 Merge pull request #542 from mchangrh/warning-webhook Ajay Ramachandran 2023-02-22 00:12:30 -05:00
  • 76ce1017ea add warning webhook Michael C 2023-02-22 00:08:27 -05:00
  • 780555e9df add ignores for getTotalStats Michael C 2023-02-21 20:16:25 -05:00
  • 79b7b6ea4c add highLoad tests Michael C 2023-02-21 20:10:01 -05:00
  • 80de71a68f add misc 400 tests Michael C 2023-02-21 20:09:57 -05:00
  • 4b8bc418ba clean up getCWSUsers Michael C 2023-02-21 20:09:38 -05:00
  • f4537160de split postSkipSegments into stubbed 400 Michael C 2023-02-21 20:09:13 -05:00
  • 900fa9f64e add test ignores Michael C 2023-02-21 17:00:53 -05:00
  • e6f54f11f0 decompose postSkipSegments more Michael C 2023-02-21 17:00:23 -05:00
  • 6296761fe4 postSkipSegments improvements Michael C 2023-02-21 03:25:46 -05:00
  • 820a7eb02f simplify postWarning Michael C 2023-02-21 03:25:02 -05:00
  • c6795a783d fix getCWS util Michael C 2023-02-21 03:24:32 -05:00
  • 37a1c7e88d used shared random gen for tests Michael C 2023-02-21 03:24:07 -05:00
  • 31a460e750 fix countcontributingusers Michael C 2023-02-20 22:56:38 -05:00
  • 1bda331b0c add new CWS user parsing method Michael C 2023-02-20 22:21:53 -05:00
  • 72fb4eb6ec add more tests for coverage Michael C 2023-02-20 22:21:46 -05:00
  • d04230a1c4 reset postgres and redis between test runs Michael C 2023-02-20 22:21:14 -05:00
  • f70a26009c add ignore clauses to tests Michael C 2023-02-20 22:20:47 -05:00
  • c84eb839a0 clean up immediate cache after every run Michael C 2023-02-20 16:08:20 -05:00
  • df279cf48a Adjust ip logging fix threshold Ajay Ramachandran 2023-02-20 18:57:19 -05:00
  • cdc080b58b skip etag tests if no redis Michael C 2023-02-20 16:03:46 -05:00
  • c586c9a7e7 add etag tests Michael C 2023-02-20 15:56:08 -05:00
  • 81b0c27180 Merge pull request #540 from mchangrh/workflow Ajay Ramachandran 2023-02-18 22:33:00 -05:00
  • bff05dccaa simplify workflows, use cache Michael C 2023-02-18 03:12:50 -05:00
  • 9c438602f8 Add codecov config Ajay Ramachandran 2023-02-18 02:42:08 -05:00
  • 19ebca86c9 Fix video branding not being awaited Ajay 2023-02-18 02:33:22 -05:00