baldo
b1075aa2ec
Remove duplicate code for parsing numbers.
2022-09-20 19:20:16 +02:00
baldo
15d3f45bae
Refactor replace some HTTP related magic values by enums.
2022-09-20 19:18:01 +02:00
baldo
22bff3496a
Harmonize tsconfig for frontend and server.
2022-09-14 16:33:43 +02:00
baldo
843cd37243
Refactoring: Split shared types into seperate modules and document alot.
2022-09-14 15:44:22 +02:00
baldo
e08ae944c4
Move node types into own module to keep index.ts clean.
2022-09-06 17:43:00 +02:00
baldo
f359509ba0
Fix: Avoid coordinates picked from map not validating.
2022-09-01 14:47:24 +02:00
baldo
94e35b0bb4
Server: Update typescript.
2022-08-30 15:03:09 +02:00
baldo
f0dcb63418
ESLint: Fix warnings and errors.
2022-08-25 23:07:41 +02:00
baldo
fd853c7319
Show node on map in confirmation before deleting it.
2022-08-25 22:18:41 +02:00
baldo
0e30ec1f96
Get rid of any.
2022-08-25 22:17:25 +02:00
baldo
a1553ac0bf
Replace EnumValue type by more general TypeOf type.
2022-08-25 22:17:10 +02:00
baldo
59ef8256e6
Make layers config typesafe.
2022-08-24 23:48:19 +02:00
baldo
00d93c33b4
Introduce NodeMonitoringStateResponse to get rid of some any
2022-08-24 18:20:49 +02:00
baldo
672369d419
Fix: Sorting nodes did not work.
2022-08-24 17:32:36 +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
dda66c67bd
Move shared code into own directory for use in new frontend.
2022-08-04 15:31:01 +02:00
baldo
d5c0538544
Fixed copy paste issue with validation regexps.
2022-08-02 15:25:34 +02:00
baldo
8adde69da8
Fix refactoring issues.
2022-08-02 15:24:53 +02:00
baldo
92c61c57c1
Fix test
2022-07-28 15:08:41 +02:00
baldo
111fac6e47
Fix logging: Config options for debugging and profiling had no effect.
2022-07-28 15:07:35 +02:00
baldo
13e4895b81
Added more explicit type for SMTP config and refactored transport initialization.
2022-07-28 14:45:28 +02:00
baldo
d2ca8ed55b
Make node filename parsing more explicit and add stronger typing.
2022-07-28 14:09:46 +02:00
baldo
779c072ac7
Add typeguard for node data passed in requests.
2022-07-28 13:56:47 +02:00
baldo
d783bb634f
Get rid of some anys.
2022-07-28 13:49:22 +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
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
f296c6fe26
Got rid of some warnings.
2022-07-28 12:19:40 +02:00
baldo
e00e50e166
Sort most fields case insensitive in admin panel.
2022-07-22 17:16:47 +02:00
baldo
ffc0f13eb8
Allow dash as delimiter in MACs.
2022-07-22 17:16:47 +02:00
baldo
a1f27a9f64
Fixed compile errors.
2022-07-21 18:49:49 +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
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