Commit Graph

2080 Commits

Author SHA1 Message Date
Tanya Byrne
1f8e8ef4ee adding node part 2020-08-24 12:59:54 +01:00
Tanya Byrne
6a0f294f4d updating of redis cache 2020-08-24 12:44:59 +01:00
rijkvanzanten
3a0ce08fe4 Allow schema comment null, allow unknown fields in schema
Fixes #154
2020-08-22 10:44:08 -06:00
rijkvanzanten
8414f257e2 v9.0.0-alpha.21 2020-08-21 17:13:35 -06:00
rijkvanzanten
4724b95384 Fix sorting on MySQL 2020-08-21 17:09:48 -06:00
rijkvanzanten
bf5b991156 Name count count 2020-08-21 16:40:56 -06:00
rijkvanzanten
ce60b1ab7f Use db default sort to match app output 2020-08-21 15:24:55 -06:00
rijkvanzanten
c4ca868323 Default max sort value to 0 2020-08-21 14:31:00 -06:00
rijkvanzanten
1ba8577a38 Use update permissions explicitly 2020-08-21 12:14:09 -06:00
rijkvanzanten
1ccf1b0ada Add some spacing 2020-08-21 12:06:38 -06:00
rijkvanzanten
3d656e2d68 Finish sort logic 2020-08-21 12:05:53 -06:00
rijkvanzanten
a7e0ebfc11 Start on sort endpoint 2020-08-21 11:29:55 -06:00
Tanya Byrne
cc6b272442 Basic format of cache middleware 2020-08-21 16:16:36 +01:00
Tanya Byrne
0e54ecd9ec Some error catching for the node cache 2020-08-21 15:54:31 +01:00
Tanya Byrne
7b77a9d7a1 Update for pull request 2020-08-19 20:14:16 +01:00
rijkvanzanten
0047cd81f5 Use itemsService to update field 2020-08-19 12:11:39 -06:00
Tanya Byrne
a040b021ce Adding to the config so we can pick what kind of caching 2020-08-19 19:10:57 +01:00
Tanya Byrne
2da9199e18 updating to string for reason listed 2020-08-19 18:57:31 +01:00
Tanya Byrne
66eb748b24 update to get and set data 2020-08-19 18:48:39 +01:00
Tanya Byrne
b16d28ce23 get set for node cache service 2020-08-19 18:47:45 +01:00
Tanya Byrne
1d42e691d3 node cache service 2020-08-19 18:10:43 +01:00
Tanya Byrne
ec1d2f71a5 Merge branch 'main' into feature-redis-cache 2020-08-19 16:48:14 +01:00
Tanya Byrne
1124e70a54 Rearranged a little to be more logical 2020-08-19 16:41:17 +01:00
Tanya Byrne
5802887165 Update get-rate-limiter-config.ts 2020-08-19 16:28:56 +01:00
Tanya Byrne
d1ab3f2ff6 made a util for the rate limiter to get config 2020-08-19 16:18:13 +01:00
rijkvanzanten
fac656ce91 Add ability to batch update multiple standalone items 2020-08-18 17:26:07 -06:00
rijkvanzanten
cfba7c5e07 Add sort field column to collections table 2020-08-18 17:16:37 -06:00
Ben Haynes
d242d2ede2 Add placeholder to role name 2020-08-18 16:07:28 -04:00
Tanya Byrne
ba07fc6006 Merge branch 'feature-rate-limiting' into feature-redis-cache 2020-08-18 18:49:23 +01:00
Tanya Byrne
413144a9d8 match formatting. 2020-08-18 18:23:52 +01:00
Tanya Byrne
8a03d4bbdc add to env varibles so user has choice
This is between 'redis' and 'memory'
2020-08-18 18:09:19 +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
3bd71f2ced need to add the prepublish too 2020-08-18 12:04:32 +01:00
Tanya Byrne
b5f00d5781 Update package.json to include build etc for windows 2020-08-18 12:02:34 +01:00
Tanya Byrne
a92059dcc4 move rate limiter and redis to optional dependancies
Will need to add mem store or similar
2020-08-17 19:11:57 +01:00
Tanya Byrne
e77be34c79 So exmaple env is included in git 2020-08-17 19:08:02 +01:00
Tanya Byrne
51f6845d77 Remove redundant dependancy 2020-08-17 19:03:51 +01:00
Tanya Byrne
6b6e3f5f2e update to 503 2020-08-17 18:59:50 +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