baldo
843cd37243
Refactoring: Split shared types into seperate modules and document alot.
2022-09-14 15:44:22 +02:00
baldo
bfd6ca1d26
ESLint: Fix more warnings and errors.
2022-08-23 22:09:19 +02:00
baldo
66fb4e5004
More typesafe NodeSortField definition.
2022-08-23 21:01:58 +02:00
baldo
91690509d3
ESLint: Auto reformat and fixing some warnings / errors.
2022-08-23 20:08:53 +02:00
baldo
ac0642d8eb
Moved validator to shared code directory.
2022-08-04 18:40:38 +02:00
baldo
d2ca8ed55b
Make node filename parsing more explicit and add stronger typing.
2022-07-28 14:09:46 +02:00
baldo
5592892f0d
Get rid of lots of unnecessary lodash calls.
2022-07-28 13:21:25 +02:00
baldo
b734a422a7
Make hostname typed in NodeFilter.
2022-07-28 12:24:45 +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
28c8429edd
Sqlite upgrade and type refactorings
2022-07-18 18:14:51 +02:00
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
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
ada5d99128
Fix: Typo in field assignment.
2021-02-22 22:35:40 +01:00
baldo
93069806f6
Fix: Parsing node files did not prefill missing fields correctly.
...
* This lead to a HTTP 500 on dashboard as some nodes were missing
monitoring fields.
* Removed a problematic cast and added sane defaults.
2021-02-22 22:26:19 +01:00
baldo
cc44bce95a
Fix: Some calls returned not only the node but also nodeSecrets.
...
* Broke REST-calls.
* Also prevents leaking monitoring tokens.
2021-01-25 22:40:41 +01:00
baldo
52822207a5
Typescript migration: Major refactoring.
2020-04-15 20:12:58 +02:00