Commit Graph

22 Commits

Author SHA1 Message Date
Tanya Byrne
1d42e691d3 node cache service 2020-08-19 18:10:43 +01:00
Tanya Byrne
ad5fbbdd95 update env 2020-08-18 18:05:59 +01:00
Tanya Byrne
3177aa0323 Adding choice for caching rate limiting
This can be set in the config to 'redis' or 'memory'
2020-08-18 17:57:12 +01:00
Tanya Byrne
1f21377fdb Updated so there is an insurance cache if redis is not there 2020-08-18 14:23:08 +01:00
Tanya Byrne
542b4447c5 updating slightly - fixed a few bugs as was bypassing errors say if auth failed 2020-08-18 13:43:14 +01:00
Tanya Byrne
947a5ee557 Update rate-limiter.ts 2020-08-18 13:11:10 +01:00
Tanya Byrne
7019b194ee update point duration 2020-08-18 13:05:37 +01:00
Tanya Byrne
cc4e953e8b Update rate limiter to async 2020-08-18 12:47:24 +01:00
Tanya Byrne
ab03ac898f adding env variables for rate limiting 2020-08-18 12:29:54 +01:00
Tanya Byrne
c1f21217ac On second thoughts.. 2020-08-17 17:54:57 +01:00
Tanya Byrne
6b04b3f1f5 Should be using the errror handler for all errors 2020-08-17 17:51:33 +01:00
Tanya Byrne
eee7746165 Adding better exception handling to match everything else 2020-08-17 17:44:35 +01:00
Tanya Byrne
7dec7253ca I can't spell
sorry about that
2020-08-17 17:33:07 +01:00
Tanya Byrne
504d3014aa remove not needed 2020-08-17 17:31:09 +01:00
Tanya Byrne
466a0d6a5c Updated redis login to use details in env
Used details in env
2020-08-17 16:12:50 +01:00
Tanya Byrne
2a1df69818 #78 rate limiter - all routes 2020-08-17 12:56:21 +01:00
rijkvanzanten
3912fac3a6 Fix singleton check in mysql 2020-08-13 14:09:57 -04:00
rijkvanzanten
f282388249 Add permissions/me endpoint 2020-08-11 09:49:48 -04:00
rijkvanzanten
2252d5a35f Use centralized env export with validator function 2020-08-04 13:10:49 -04:00
rijkvanzanten
8e3956a10c Implement static token support for users 2020-07-31 16:08:47 -04:00
rijkvanzanten
236fe1b566 Return invalidcredentials 2020-07-30 11:49:47 -04:00
rijkvanzanten
bde7069cce Move api into api subdirectory 2020-07-29 11:22:56 -04:00