Commit graph

18 commits

Author SHA1 Message Date
baldo
c627e702ce Stronger types for unix timestamps 2022-07-18 12:55:19 +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
975d5288a3 Refactoring of sorting and filtering in API. 2022-07-07 11:18:30 +02:00
baldo
3590ba048d More types refactoring. 2022-07-07 11:16:59 +02:00
baldo
29be32907c Server side types refactoring. 2022-07-07 11:15:34 +02:00
baldo
c0fe593dbf Removed unused type guard. 2022-07-07 11:14:00 +02:00
baldo
b6b16f5250 Server side type refactoring. 2022-07-07 11:12:40 +02:00
baldo
4c77f9f5ab Suppress wrong typeguard warnings 2022-07-07 11:11:06 +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
3a253ba72e Fix: Use seconds for unix timestamps to not compare seconds and milliseconds. 2021-08-09 21:54:13 +02:00
baldo
f96113c1c5 [UNTESTED]: Also delete offline nodes that were never online. 2021-07-26 21:40:54 +02:00
baldo
fb87695b3e Migrate to version 2 of nodes.json and start adding tests 2020-06-30 13:47:30 +02:00
baldo
52822207a5 Typescript migration: Major refactoring. 2020-04-15 20:12:58 +02:00
baldo
7325cd4db6 Typescript migration
* utils/strings.js
* utils/urlBuilder.js
2020-04-08 21:25:33 +02:00