Commit Graph

1588 Commits

Author SHA1 Message Date
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
Tanya Byrne
b5644b113c change name 2020-08-17 17:06:34 +01:00
Tanya Byrne
42facc3d9e Update env-stub.liquid 2020-08-17 16:51:11 +01:00
Tanya Byrne
91aa4eb594 add redis details to create env 2020-08-17 16:50:10 +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
Rijk van Zanten
ff05f1adf7 Merge pull request #138 from directus/tfa
Add TFA support
2020-08-15 20:35:29 -06:00
rijkvanzanten
a9cc4755ef Add enable/disable service methods 2020-08-15 20:34:41 -06:00
rijkvanzanten
d918b48197 Install otplib 2020-08-15 20:34:22 -06:00
rijkvanzanten
d9ae271612 Add otp enable endpoint 2020-08-15 18:11:11 -06:00
rijkvanzanten
a90a5ca99d install base32 2020-08-15 18:10:55 -06:00
rijkvanzanten
c2b6b2a090 Rename routes to controllers 2020-08-15 16:56:45 -06:00
Ben Haynes
c644fa8ba0 Add placeholder to global search 2020-08-15 15:03:09 -04:00
Ben Haynes
3ffa632100 Create, instead of add 2020-08-15 15:02:56 -04:00
Ben Haynes
3056738db1 User display: both as default 2020-08-15 15:02:32 -04:00
Ben Haynes
fdd43e7944 creatign role/webhook titles 2020-08-15 08:58:19 -04:00
Ben Haynes
d9a605bf79 reorder role fields 2020-08-15 08:57:56 -04:00
Ben Haynes
f718bb7c16 Updated user heading 2020-08-14 18:52:07 -04:00
Ben Haynes
840bf03f38 Shorter descriptions 2020-08-14 18:51:46 -04:00
Ben Haynes
f888d28734 better defaults for activity layout 2020-08-14 18:34:27 -04:00
Ben Haynes
e175d42f6a Declutter modals with previous button
Use the sidenav instead
2020-08-14 15:39:41 -04:00
Ben Haynes
6c5c792a58 Differentiate root folder 2020-08-14 15:39:19 -04:00
Ben Haynes
0aa6de69ba Add contrast for white SVGs 2020-08-14 15:39:06 -04:00
Ben Haynes
f928f0da27 Admin to Administrator 2020-08-14 15:13:43 -04:00
Ben Haynes
1a0068ab2a Consistent coloring 2020-08-14 14:55:35 -04:00
Ben Haynes
fdaac6f1f4 Shorter relational placeholders 2020-08-14 14:25:05 -04:00
rijkvanzanten
d9b63f58d6 v9.0.0-alpha.20 v9.0.0-alpha.20 2020-08-13 17:45:09 -04:00
rijkvanzanten
f68a8388ec Clean up options for tags 2020-08-13 17:44:03 -04:00
rijkvanzanten
d90fdaf89c Use dropdown multiselect for wysiwyg options 2020-08-13 17:34:34 -04:00