baldo
00d93c33b4
Introduce NodeMonitoringStateResponse to get rid of some any
2022-08-24 18:20:49 +02:00
baldo
91690509d3
ESLint: Auto reformat and fixing some warnings / errors.
2022-08-23 20:08:53 +02:00
baldo
dda66c67bd
Move shared code into own directory for use in new frontend.
2022-08-04 15:31:01 +02:00
baldo
d783bb634f
Get rid of some anys.
2022-07-28 13:49:22 +02:00
baldo
2d83326b78
Make site and domain optional and get rid of "<unknown>" values.
2022-07-28 12:24:07 +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
e00e50e166
Sort most fields case insensitive in admin panel.
2022-07-22 17:16:47 +02:00
baldo
250353edbf
Major refactoring and fixes.
...
* Split Node into multiple types and make sure fields are actually set
when type says so.
* Refactor request handling.
* Start getting rid of moment as a dependency by using
UnixTimestampSeconds instead.
2022-07-21 18:39:33 +02:00
baldo
d76c530431
Extract database types into own file to fix tests.
2022-07-21 12:07:18 +02:00
baldo
28c8429edd
Sqlite upgrade and type refactorings
2022-07-18 18:14:51 +02:00
baldo
b6b16f5250
Server side type refactoring.
2022-07-07 11:12:40 +02:00
baldo
7ef13bc28c
Extracted some types to shared module.
2022-07-07 11:08:15 +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