Commit Graph

37 Commits

Author SHA1 Message Date
j3n57h0m45
79c91ed50d enable custom name for refresh token (#6890) 2021-07-20 15:29:11 +02:00
Rijk van Zanten
ea19390f11 Add encrypt option to MS SQL questions (#6746) 2021-07-14 00:02:00 +02:00
rijkvanzanten
801e868554 Fix remaining eslint errors
h/t @paescuj
2021-04-29 15:55:12 -04:00
Pascal Jufer
acd41eb0be Syntax fixes (#5367)
* Declare return types on functions

And a very few other type related minor fixes

* Minor syntax fixes

* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
Ben Haynes
d65469c974 Update CLI database support labels 2021-03-17 12:08:38 -04:00
rijkvanzanten
37b2ec8a27 Cast port to number on cli init
Fixes #4536
2021-03-15 11:20:50 -04:00
rijkvanzanten
a12b148b17 Default generated .env permissions to -rw-r----- 2021-03-08 13:32:13 -05:00
rijkvanzanten
ada85b20ce Fix build on rc 45
Fixes #4418
2021-03-08 11:18:14 -05:00
rijkvanzanten
acc8b4fd08 Use mssql instead of tedious for client name
Fixes #4427
2021-03-08 07:39:57 -05:00
Nicola Krumschmidt
08293b8570 Update Knex to version 0.95.0 (#4374)
* Update Knex to version 0.95.0

* Fix formatting in schema dialects

* Fix Knex imports

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-03 19:37:44 -05:00
rijkvanzanten
c2a5622cef Remove unused environment variable 2021-02-26 10:49:19 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
03b00548b8 Add beta flag to init for db drivers 2020-10-16 19:10:50 -04:00
rijkvanzanten
23458b5b9f Last port change, promise 2020-10-02 16:26:40 -04:00
rijkvanzanten
1524c3e398 Change default port to 8805 2020-10-02 14:56:39 -04:00
rijkvanzanten
67a55ad228 Disable rate limiter by default
Fixes #323
2020-09-18 12:30:15 -04:00
Ben Haynes
3c7a38ca6e cleaner install options 2020-09-10 16:14:27 -04:00
rijkvanzanten
e81572c0a9 Add cache section to installed stub 2020-09-09 10:39:01 -04:00
rijkvanzanten
a8552abc23 Treat sanitizedquery as frozen 2020-09-08 18:54:18 -04:00
rijkvanzanten
9f3e12f8f2 Run prettier 2020-09-08 16:03:38 -04:00
rijkvanzanten
a4758d6d63 Cleanup install env setup 2020-09-08 15:57:03 -04:00
Tanya Byrne
9c67dc8d14 adding defaults 2020-08-27 17:02:50 +01:00
Tanya Byrne
a3e9131833 enable SSL for pg 2020-08-27 14:10:38 +01:00
Tanya Byrne
c8f771c807 Only use rate limiter if rate_limit enabled set to true 2020-08-25 20:21:06 +01:00
Tanya Byrne
7f1b29ed08 error trap if redis is down 2020-08-25 20:17:09 +01:00
Tanya Byrne
7b77a9d7a1 Update for pull request 2020-08-19 20:14:16 +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
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
7019b194ee update point duration 2020-08-18 13:05:37 +01:00
Tanya Byrne
ab03ac898f adding env variables for rate limiting 2020-08-18 12:29:54 +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
rijkvanzanten
0cc96dc586 Fix name in env stub 2020-08-04 13:52:56 -04:00
rijkvanzanten
ad77499d8a Use new port for defaults 2020-08-03 18:02:40 -04:00
rijkvanzanten
bde7069cce Move api into api subdirectory 2020-07-29 11:22:56 -04:00