Commit graph

193 commits

Author SHA1 Message Date
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
baldo
6fd4dbb33e Merge branch 'main' into new-admin 2022-07-22 17:19:13 +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
6057ad5a2a Add sorting by column and fix page reload issue. 2022-07-22 16:23:13 +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