Commit Graph

25 Commits

Author SHA1 Message Date
Nicola Krumschmidt
d64ca14348 Explicitly set catch parameters to any type (#7654)
This fixes not being able to build the repo due to type issues
introduced by the Typescript 4.4 option "useUnknownInCatchVariables",
which is enabled by default in strict mode.
2021-08-27 10:33:30 -04:00
Rijk van Zanten
d0f6cb35e3 Support dynamic variables in conditional fields (#7202)
* Move accountability type to shared

* Rely on shared for parse-filter

* Install date-fns

* Support dynamic variables in conditional fields

Closes #7157
2021-08-05 01:51:15 +02:00
Rijk van Zanten
44082c60e1 Add schema caching (#6456)
* Rework cache handler to be function export

* Add default schema caching

* Add schema cache

* Auto purge schema cache on schema change from api

* Only set last_access value on login

* Add note on schema cache setting
2021-06-22 20:50:20 -04:00
Rijk van Zanten
76a31ca020 Don't initialize mailer on startup (#6169)
* Fix m2m relationship not showing current col/pk

* Don't initialize mailer on first boot

Another step to serverless!
2021-06-09 17:31:50 -04:00
Rijk van Zanten
77e00b7db4 Don't initialize database on file require (#6003) 2021-06-02 11:41:42 -04:00
rijkvanzanten
1bbc8535a5 Move nodemailer setup to src root 2021-05-24 13:36:12 -04:00
Aiden Foxx
7df8cf2912 Added Oracle healthcheck fix (#5461) 2021-05-04 13:22:35 -04: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
Rijk van Zanten
d25c35fee7 Add MailService (#5265)
* Create MailService

Fixes #5229, ref #3372, #4664, #4858, #5090, #3104, #3465, #2774, #3741

* Fix path to templates extensions

* Add mailservice example to hooks docs
2021-04-26 17:55:34 -04: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
Daniel Stoyanoff
54bab04b3c #3982 - Write logs as part of health check in case the status is ERROR or WARN to help investigating issues easier (#3993)
Co-authored-by: Daniel <daniel.s@appgr8.com>
2021-02-10 09:37:21 -05:00
rijkvanzanten
b6524b20eb Tweak perf values 2021-01-20 21:26:46 -05:00
rijkvanzanten
0cbf5ee418 Tweak thresholds of /health 2020-12-21 17:16:07 -05:00
rijkvanzanten
809f9bc09b Only return full data for admin users 2020-12-21 15:23:26 -05:00
rijkvanzanten
9974cb6050 Add health endpoint 2020-12-21 15:22:39 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
8cbdfb409b Use prefetched schema info 2020-11-09 17:13:48 -05:00
rijkvanzanten
9c07afbc86 Use settings singleton in server info endpoint 2020-10-29 16:14:50 -04:00
rijkvanzanten
9559497785 Fetch public info from /server/info endpoint
Fixes #784
2020-10-26 19:08:07 +01:00
rijkvanzanten
b4f82efcee Return project branding in /server/info endpoint at all times 2020-10-26 18:52:51 +01:00
rijkvanzanten
48fca55651 Restructure exports for services 2020-09-22 13:16:14 -04:00
rijkvanzanten
7f1f105349 Merge branch 'main' into feature-rate-limiting 2020-09-08 12:31:57 -04:00
rijkvanzanten
17c7308f35 Show new server info in app 2020-09-01 13:37:52 -04:00
rijkvanzanten
d7d3de86d2 Add server service, update returned info 2020-09-01 13:08:52 -04:00