Commit graph

11 commits

Author SHA1 Message Date
baldo 6f8240ac84 Move shared code into own directory for use in new frontend. 2022-08-04 15:33:41 +02:00
baldo 13e4895b81 Added more explicit type for SMTP config and refactored transport initialization. 2022-07-28 14:45:28 +02:00
baldo 72543b95ee Make typeguards for newtypes match the type instead of isString or isNumber. 2022-07-28 12:22:57 +02:00
baldo 28c8429edd Sqlite upgrade and type refactorings 2022-07-18 18:14:51 +02:00
baldo 720acfb276 Refactor some server-side string types into newtypes. 2022-07-14 20:13:02 +02:00
baldo ad2db3427d Allow having multiple users for admin login.
* Use password hashes via bcrypt.
* Trying to reduce the risk of timing attacks against login.
2022-07-07 13:10:57 +02:00
baldo dabc675aa9 New api endpoint for client config. 2022-07-07 11:08:35 +02:00
baldo 7ef13bc28c Extracted some types to shared module. 2022-07-07 11:08:15 +02:00
baldo 002ae4419f Implement custom logger to replace scribe.js.
* scribe.js is unmaintained and adds unnecessary complexity.
2022-02-09 18:02:59 +01:00
baldo 12a13f47bf Allow to completely disable logging. 2021-08-23 21:05:17 +02:00
baldo fb87695b3e Migrate to version 2 of nodes.json and start adding tests 2020-06-30 13:47:30 +02:00