Commit graph

1953 commits

Author SHA1 Message Date
Ajay
c1e5f0e117 Fix void being used in wrong context 2022-09-07 22:15:44 -04:00
Ajay
ae95f7e3ea Only give up on replica for last retry 2022-09-07 22:10:48 -04:00
Ajay
bd7dfc63ff Add eslint rules for dealing with promises 2022-09-07 20:01:11 -04:00
Ajay Ramachandran
0ca134dc8f
Merge pull request #500 from mchangrh/fix-tests
fix tests
2022-09-07 12:03:05 -04:00
Michael C
d1d7675a8c
test fixes
test fixes
- fix timeout in redis (by @ajayyy)
- allow "errors" in tempVIP test
- remove duplicate warning in postSkipSegments
- remove duplicate VIP in tempVIP
- run tests against different user once tempVIP removed
- fix typo in getHashCache fetching

syntax and wording
- use standard syntax in redisTest
- fix spacing in getLockReason
- typo in npm script name

test cases
- add getHashCache test case
- add more tests to redisTest

configuration
- update config to use redis timeout
- update docker-compose to use newest pinned version

Co-Authored-By: Ajay Ramachandran <dev@ajay.app>
2022-09-07 02:16:23 -04:00
Ajay
252e2305f2 Fix undefined redis timeout breaking redis 2022-09-07 01:39:26 -04:00
Ajay
9c72e20d1b test for changing chapter category 2022-09-07 01:31:38 -04:00
Ajay
ec41102f07 Better chapter name error and increase min size 2022-09-04 22:36:26 -04:00
Ajay
08ab7e816d Restrict changing chapters category 2022-09-02 17:48:47 -04:00
Ajay
f103a02a34 Don't check 80% for chapters 2022-09-02 17:24:10 -04:00
Ajay
b413795e45 Change chapter name suggestion requirements 2022-09-02 15:23:08 -04:00
Ajay
6a61747573 Allow chapter submission 2022-09-02 14:55:20 -04:00
Ajay
420317a18c rename access to license 2022-09-02 13:54:09 -04:00
Ajay
af2ef3d6a5 Add product link 2022-09-02 02:15:22 -04:00
Ajay Ramachandran
9f2d13780c
Merge pull request #501 from ajayyy/chapter-auth
Chapter auth
2022-09-02 02:06:45 -04:00
Ajay
acec7e58e7 Add free chapters access 2022-09-01 03:21:14 -04:00
Ajay
7060c0ab0d Add access token system 2022-08-31 01:55:38 -04:00
Ajay Ramachandran
ab6fcb8943
delete unused directory 2022-08-26 20:49:31 -04:00
Ajay
cbf352173a throw error if query fails 2022-08-25 21:14:25 -04:00
Ajay
027ff694a0 Make redis timeout configurable 2022-08-25 20:44:16 -04:00
Ajay
9da1fc523a Parse float instead of int 2022-08-25 15:08:54 -04:00
Ajay
44d541bafe Don't use replica for is vip 2022-08-22 11:59:08 -04:00
Ajay
dad205e729 don't scan ratings dir for tests 2022-08-22 11:07:30 -04:00
Ajay
8dbfe17ee4 remove ratings tests 2022-08-22 11:04:33 -04:00
Ajay
38a418a37a Remove ratings code 2022-08-22 10:56:22 -04:00
Ajay
6be2f96f26 Make max tries configurable 2022-08-20 17:57:40 -04:00
Ajay
47a6a13bdb Remove unused statement timeout with pgbouncer 2022-08-20 01:56:13 -04:00
Ajay
525a23abfb Add max connections and idle timeout 2022-08-19 18:45:02 -04:00
Ajay
4f637daeaa best way to deal with annoyance 2022-08-19 15:48:03 -04:00
Ajay
9559628273 Fix error 2022-08-19 15:45:23 -04:00
Ajay
5a43f46ac0 Configurable expiry time 2022-08-19 15:40:32 -04:00
Ajay
c3d30b18e2 Increase postgres read timeout and make it configurable 2022-08-15 17:32:07 -04:00
Ajay
7cb58b946a Remove submission restriction for ci.json 2022-08-15 12:03:44 -04:00
Ajay
9306729fdc Remove submission restrictions for tests 2022-08-15 11:43:51 -04:00
Ajay
1ae4c9a349 Add hostname to status 2022-08-12 15:34:40 -04:00
Ajay
be204fe873 Lower postgres read timeout, raise statment timeout 2022-08-12 15:31:19 -04:00
Ajay
6804e7d7a8 Add logging for permission rejections 2022-08-12 15:26:20 -04:00
Ajay
f4c104215b Lower requirements 2022-08-12 15:11:50 -04:00
Ajay
479890fc0d Add default expiry to query cache
Resolves #461
2022-08-11 21:37:13 -04:00
Ajay
877c3b7107 Change submission requirements 2022-08-09 22:01:09 -04:00
Ajay
cd35a58f83 Fix typo 2022-07-31 21:08:23 -04:00
Ajay
cb1cc10278 Extend restriction to all categories 2022-07-31 21:05:39 -04:00
Ajay
6239e53091 Fix flaky test 2022-07-29 12:06:38 -04:00
Ajay
ef93c692e5 fix reputation query typo 2022-07-29 11:57:55 -04:00
Ajay
ee49689110 Ignore full in all reputation cases
Closes #490
2022-07-29 11:55:48 -04:00
Ajay
04eabd5141 Fix error 2022-07-29 11:49:08 -04:00
Ajay
da1ed70c66 adjust permissions and use parrallel processing 2022-07-29 11:47:28 -04:00
Ajay
186f07b20c change filler rules 2022-07-29 11:29:39 -04:00
Ajay
5e49ce22b2 new chat link 2022-07-28 16:59:23 -04:00
Ajay
af7634b498 Fix ad feature auth logic 2022-07-28 13:55:43 -04:00