Commit graph

204 commits

Author SHA1 Message Date
baldo
8f8194467c Refactor api utils and replace some magic values by enums. 2022-09-20 19:09:49 +02:00
baldo
9954a9d1ca Remove duplicate type. 2022-09-14 16:35:54 +02:00
baldo
50dc4733e0 Merge branch 'main' into new-admin 2022-09-14 16:35:03 +02:00
baldo
22bff3496a Harmonize tsconfig for frontend and server. 2022-09-14 16:33:43 +02:00
baldo
7cb11259dc Merge branch 'main' into new-admin 2022-09-14 16:17:51 +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
8d73e1bb80 Fix: Avoid coordinates picked from map not validating. 2022-09-01 14:36:55 +02:00
baldo
781cbca94e Merge branch 'main' into new-admin 2022-08-30 15:16:06 +02:00
baldo
94e35b0bb4 Server: Update typescript. 2022-08-30 15:03:09 +02:00
baldo
8cf692b523 Merge branch 'main' into new-admin 2022-08-25 23:08:58 +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
2e72d42d22 Get rid of any. 2022-08-25 22:14:59 +02:00
baldo
312a6066e4 Replace EnumValue type by more general TypeOf type. 2022-08-25 21:10:37 +02:00
baldo
aa0d63fd44 Show node on map in confirmation before deleting it. 2022-08-25 15:47:32 +02:00
baldo
3b79e807ba Merge branch 'main' into new-admin 2022-08-24 23:49:21 +02:00
baldo
59ef8256e6 Make layers config typesafe. 2022-08-24 23:48:19 +02:00
baldo
0bbb2113e9 Merge branch 'main' into new-admin 2022-08-24 18:22:41 +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
22d7755215 Fix sorting after merge. 2022-08-23 22:20:14 +02:00
baldo
4602aaa871 Merge branch 'main' into new-admin 2022-08-23 22:14:54 +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
3a2f0799eb Frontend: Added forms to delete nodes. 2022-08-23 17:05:13 +02:00
baldo
e403e9858d Minor cleanup. 2022-08-23 15:14:52 +02:00
baldo
81579cbac4 Merge branch 'main' into new-admin 2022-08-04 18:41:39 +02:00
baldo
ac0642d8eb Moved validator to shared code directory. 2022-08-04 18:40:38 +02:00
baldo
6f8240ac84 Move shared code into own directory for use in new frontend. 2022-08-04 15:33:41 +02:00
baldo
dda66c67bd Move shared code into own directory for use in new frontend. 2022-08-04 15:31:01 +02:00
baldo
a87a8f7e70 Merge branch 'main' into new-admin 2022-08-02 15:27:04 +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
697df1ca99 Merge branch 'main' into new-admin 2022-07-28 15:09:12 +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