Commit Graph

  • 43ae471038 Merge pull request #294 from mchangrh/fix-eslint Ajay Ramachandran 2021-07-04 18:21:00 -04:00
  • 00ff3ecd38 Merge branch 'master' into fix-eslint Ajay Ramachandran 2021-07-04 18:19:52 -04:00
  • b6d6cb4359 Merge pull request #293 from mchangrh/add-eslint Ajay Ramachandran 2021-07-04 18:18:50 -04:00
  • 5a09134d3f Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into pr/mchangrh/293 Ajay Ramachandran 2021-07-04 18:17:18 -04:00
  • 719a0956ac add getLockCategories Michael C 2021-07-04 17:03:28 -04:00
  • 3c197ec3d9 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fix-eslint Michael C 2021-07-04 15:23:00 -04:00
  • 0b27244c06 Fix audit issue Ajay Ramachandran 2021-07-04 14:21:28 -04:00
  • 0a60ca6468 Add repeating category for fetching by hash Ajay Ramachandran 2021-07-04 14:20:54 -04:00
  • 990572ff31 Add parameter to fetch specific segments Ajay Ramachandran 2021-07-04 14:15:17 -04:00
  • 8df0c31d35 consistent return and sendStatus Michael C 2021-07-04 02:04:39 -04:00
  • d89b26b77d fix eslint-errors Michael C 2021-07-04 01:34:31 -04:00
  • 401be9d9fa match sponsorblock warn rules Michael C 2021-07-03 22:51:26 -04:00
  • 28341fc1f3 Add eslint based off of SponsorBlock Michael C 2021-07-03 22:49:04 -04:00
  • be277d0218 Merge pull request #284 from HaiDang666/283_show-lastest-warning Ajay Ramachandran 2021-07-03 22:46:26 -04:00
  • a7315eaee0 Add case for default warning message Ajay Ramachandran 2021-07-03 22:45:13 -04:00
  • a1bcd08658 Merge pull request #287 from mchangrh/unhide-vote Ajay Ramachandran 2021-07-03 22:38:41 -04:00
  • cf592554f1 Merge branch 'master' into unhide-vote Ajay Ramachandran 2021-07-03 22:37:23 -04:00
  • cb950ac5d7 Merge pull request #288 from mchangrh/remove-altvote Ajay Ramachandran 2021-07-03 22:36:42 -04:00
  • 4f29e2c197 Merge pull request #289 from DetachHead/express-promise-router Ajay Ramachandran 2021-07-03 22:36:30 -04:00
  • c9e0acd055 Fix any issue Ajay Ramachandran 2021-07-03 17:50:20 -04:00
  • 63254159ca Merge pull request #292 from DetachHead/tsc_test Ajay Ramachandran 2021-07-03 17:47:48 -04:00
  • c5fd4b41b6 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay Ramachandran 2021-07-03 17:27:00 -04:00
  • f5cfd6bfb5 Add try catch in dump database Ajay Ramachandran 2021-07-03 17:26:59 -04:00
  • 81c2e7b059 read test script value from package.json DetachHead 2021-07-03 15:53:59 +10:00
  • eb481215e3 compile as part of the test script since ts-node doesn't typecheck everything DetachHead 2021-07-03 15:46:51 +10:00
  • 20335e3f27 use express-promise-router to prevent requests timing out on unhandled promise rejections DetachHead 2021-07-03 14:00:51 +10:00
  • 931b3fdc68 disallow vote types 10/11 Michael C 2021-07-02 23:07:17 -04:00
  • 36a5b4e1d3 VIP upvotes unhide segments Michael C 2021-07-02 22:54:54 -04:00
  • 107b21c463 restore hidden segments with vip upvote Michael C 2021-07-02 21:57:00 -04:00
  • 24480fd18c Revear auto clear unused code Haidang666 2021-07-01 11:38:29 +07:00
  • 09e50d432e Update postSegment test with reason Haidang666 2021-07-01 11:31:35 +07:00
  • 402ea35971 Add postSkipSegments return lastes warning reason Haidang666 2021-07-01 10:33:47 +07:00
  • 7f074554c4 Fix schema md header link Haidang666 2021-07-01 10:30:45 +07:00
  • f1d22c6ca4 Merge pull request #281 from mchangrh/docker/node-14 Ajay Ramachandran 2021-06-30 13:46:12 -04:00
  • 7a877a9653 Merge pull request #282 from HaiDang666/276_warn-reason Ajay Ramachandran 2021-06-30 13:43:08 -04:00
  • ce59d3f95f Don't fail if row is undefined Ajay Ramachandran 2021-06-30 00:01:40 -04:00
  • 081f2d14b7 Add test, Fix sql syntax Haidang666 2021-06-30 08:59:20 +07:00
  • 14a97b4879 multi-stage dockerfile with node:14-alpine Michael C 2021-06-29 18:18:42 -04:00
  • 4d8526c24d Update dockerfile to node 14 Ajay Ramachandran 2021-06-29 17:12:04 -04:00
  • 66cd88d4c2 Update node in dockerfile Ajay Ramachandran 2021-06-29 16:56:26 -04:00
  • 1f4da1ab48 Merge pull request #279 from mchangrh/ci-bump Ajay Ramachandran 2021-06-29 16:49:32 -04:00
  • 30a12a600a bump setup-node and checkout versions Michael C 2021-06-29 16:27:35 -04:00
  • 994b68bc4c Merge pull request #278 from mchangrh/ci-timeout Ajay Ramachandran 2021-06-29 16:26:21 -04:00
  • d710b88c3e add 5 minute timeout to CI, added note in config Michael C 2021-06-29 16:03:40 -04:00
  • 214ddc9807 Add warning reason in postWarning Haidang666 2021-06-29 14:56:57 +07:00
  • 6f18a49ba0 Switch username update to one query Ajay Ramachandran 2021-06-28 22:05:15 -04:00
  • 8b54e965a2 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer Ajay Ramachandran 2021-06-28 13:24:04 -04:00
  • 0ddde452e3 Auto-lock username when admin changes it Ajay Ramachandran 2021-06-28 13:20:57 -04:00
  • 7dbd4a3150 Merge pull request #275 from HaiDang666/193_log-username-change Ajay Ramachandran 2021-06-27 18:13:21 -04:00
  • 98b5fa7bce Merge pull request #274 from mchangrh/getUserID Ajay Ramachandran 2021-06-27 18:10:35 -04:00
  • 33a45ce0a2 fix TS declarations Michael C 2021-06-27 01:05:06 -04:00
  • 41ba37c04e Fix boolean comparison, Add log table to schema visual Haidang666 2021-06-27 11:57:39 +07:00
  • f3542b7402 Fix column name for postgre Haidang666 2021-06-27 11:51:04 +07:00
  • f5bb221ecd Add log when update username Haidang666 2021-06-27 11:45:42 +07:00
  • 07ab48da1f Add disk caching for youtube api calls Ajay Ramachandran 2021-06-26 23:21:51 -04:00
  • 2f50d80a75 add explit param Michael C 2021-06-26 23:02:52 -04:00
  • b06a6fbb51 redos prevention Michael C 2021-06-25 15:57:41 -04:00
  • f2490beea2 put in limits and escapes Michael C 2021-06-25 14:35:51 -04:00
  • 09ab1dabdf set limit of 64 characters for lookup Michael C 2021-06-25 11:57:27 -04:00
  • e1cf360825 Merge pull request #273 from mchangrh/more-tests Ajay Ramachandran 2021-06-25 10:48:27 -04:00
  • de8dd1bb8d Merge pull request #272 from HaiDang666/271_database-schema Ajay Ramachandran 2021-06-25 10:47:35 -04:00
  • f29bafe89a fiix tests Michael C 2021-06-25 03:37:27 -04:00
  • d4695f0192 add getUserID and tests Michael C 2021-06-25 03:33:41 -04:00
  • 2ab782f4b6 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-tests Michael C 2021-06-25 00:54:38 -04:00
  • aa29ad2014 Add database table schema, Fix indent Haidang666 2021-06-25 10:44:08 +07:00
  • e7fed0f3cf Merge pull request #270 from HaiDang666/240_purge-all-segments Ajay Ramachandran 2021-06-24 02:17:52 -04:00
  • 3c3c963fd3 Fixed captialization error Ajay Ramachandran 2021-06-24 02:16:26 -04:00
  • ae8a25e481 more edge cast test cases Michael C 2021-06-24 01:37:51 -04:00
  • 8312cfc0aa Move purgeAllSegments up in app.ts Ajay Ramachandran 2021-06-24 01:37:50 -04:00
  • 0bbb2aa60d Add one more check in tests Ajay Ramachandran 2021-06-24 01:36:54 -04:00
  • 9b43ce0ab7 Add purge all segments of VideoId Haidang666 2021-06-24 12:27:21 +07:00
  • f71cd57bc7 Fix top users Ajay Ramachandran 2021-06-24 01:25:26 -04:00
  • 1570657e28 Merge pull request #268 from mchangrh/pg-ci Ajay Ramachandran 2021-06-24 00:10:37 -04:00
  • 0fbfee8dc8 Use logger instead of console.log Ajay Ramachandran 2021-06-24 00:08:19 -04:00
  • 7269dc4e5f Remove old index Ajay Ramachandran 2021-06-24 00:02:00 -04:00
  • c5245cb8e2 Save more info in unlisted video endpoint Ajay Ramachandran 2021-06-23 23:58:33 -04:00
  • 15b3cb20b3 Remove print statement Ajay Ramachandran 2021-06-23 20:11:11 -04:00
  • 42da1b6c23 Add endpoint to submit unlisted videos Ajay Ramachandran 2021-06-23 19:19:30 -04:00
  • b62db5675d update CI names and path Michael C 2021-06-23 15:39:39 -04:00
  • da92f2082d set up postgres CI route Michael C 2021-06-23 14:48:47 -04:00
  • 746dc4f81d Merge pull request #232 from MRuy/fix/prepare-statements Ajay Ramachandran 2021-06-21 19:06:29 -04:00
  • 7b9e06a471 Merge branch 'master' into fix/prepare-statements Nanobyte 2021-06-22 01:05:48 +02:00
  • 7c3c1988a3 Fix getTopUsers Nanobyte 2021-06-22 01:00:22 +02:00
  • a005a961f9 Fix test cases Nanobyte 2021-06-22 00:59:56 +02:00
  • fb87e180da Fix postgres type cast Nanobyte 2021-06-22 00:59:22 +02:00
  • 4b1f5b4a44 Remove console log from test case Nanobyte 2021-06-22 00:56:00 +02:00
  • 0b24871415 Fix comment in reputation test Ajay Ramachandran 2021-06-21 18:42:54 -04:00
  • a7cb0959e2 Merge pull request #262 from mchangrh/repeated-param Ajay Ramachandran 2021-06-21 14:21:17 -04:00
  • 11e6c93932 Merge remote-tracking branch 'upstream/master' into fix/prepare-statements Nanobyte 2021-06-21 18:19:50 +02:00
  • dd74dd3b1b parse repeated parameters Michael C 2021-06-21 00:33:48 -04:00
  • 9351bef61c Add preview category to leaderboard Ajay Ramachandran 2021-06-20 15:56:02 -04:00
  • f6d79616a4 Fix leaderboard not working with postgres Ajay Ramachandran 2021-06-20 13:59:53 -04:00
  • 48d88614fb Move shadow ban list to public db Ajay Ramachandran 2021-06-20 13:41:35 -04:00
  • f45241d494 Merge pull request #259 from mchangrh/shadowban-clear-cache Ajay Ramachandran 2021-06-20 13:05:49 -04:00
  • 8d405c1013 Merge pull request #261 from DetachHead/master Ajay Ramachandran 2021-06-20 13:05:17 -04:00
  • df1d742339 Use for each instead of map Ajay Ramachandran 2021-06-20 13:04:52 -04:00
  • 96015d402b Make reputation take into account self downvotes Ajay Ramachandran 2021-06-20 12:57:32 -04:00
  • 85a30369c4 remove async modifier which is no longer allowed in interfaces DetachHead 2021-06-19 17:59:18 +10:00
  • 47289db13e clearCache after shadowban Michael C 2021-06-18 20:57:01 -04:00
  • 1770608525 Merge pull request #257 from mchangrh/vip-cache-clear Ajay Ramachandran 2021-06-18 19:01:08 -04:00