Commit graph

373 commits

Author SHA1 Message Date
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 077cb2ee21 Removed already done TODO. 2022-07-28 11:28:15 +02:00
baldo 445f54e012 Update server dependencies. 2022-07-28 11:25:53 +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 533710a2d4 Update server dependencies. 2022-07-22 14:46:39 +02:00
baldo 824db3fa18 Pin some dependency versions to fix security issues. 2022-07-21 19:26:09 +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 cfa784dfe2 Trying to fix security issues by pinning dependencies of ng-admin 2022-07-21 13:48:07 +02:00
baldo cf890c21cb Remove unused build steps.
* autoprefixer
* ngAnnotate
* imagemin
* svgmin
2022-07-21 13:08:49 +02:00
baldo d76c530431 Extract database types into own file to fix tests. 2022-07-21 12:07:18 +02:00
baldo 8a2d108051 Update server dependencies. 2022-07-21 11:51:29 +02:00
baldo 28c8429edd Sqlite upgrade and type refactorings 2022-07-18 18:14:51 +02:00
baldo 01691a0c20 Update server dependencies. 2022-07-18 13:00:17 +02:00
baldo c627e702ce Stronger types for unix timestamps 2022-07-18 12:55:19 +02:00
baldo 217ed6ff20 Version => SNAPSHOT 2022-07-14 20:13:40 +02:00
baldo 720acfb276 Refactor some server-side string types into newtypes. 2022-07-14 20:13:02 +02:00
baldo 6c2bd85287 Update server dependencies. 2022-07-14 20:12:45 +02:00
baldo 1f44e3c694 Added some sanity checks to password hashing scripts. 2022-07-14 10:52:22 +02:00
baldo bc304d9bfa Added script to generate password hashes. 2022-07-11 13:24:15 +02:00
baldo 62df108999 Version bump => 0.18.1 2022-07-11 12:13:22 +02:00
baldo 73ef6ac422 Fix deployment: No more symlinks in dist. 2022-07-11 12:13:06 +02:00
baldo 5e8bd35bf1 Version bump => 0.18.0 2022-07-11 11:25:24 +02:00
baldo 16da719e2c yarn audit fix 2022-07-11 11:25:24 +02:00
baldo 9c55508970 Use npm for publishing for now. 2022-07-11 11:25:09 +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 2eb0aab89f New TODO. 2022-07-07 11:19:11 +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 361d7a07a5 Update server dependencies 2022-07-07 11:14:52 +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 a81dc30f0a Updated server dependencies. 2022-07-07 11:10:46 +02:00
baldo 3e2828e6d5 Version => Snapshot 2022-07-07 11:10:28 +02:00
baldo 5d49e1bcb8 Update server dependencies. 2022-07-07 11:10:14 +02:00
baldo 61a4cc1269 Fix: Workaround GLIBC not found issue in Webstorm 2022-07-07 11:09:57 +02:00
baldo 061f25db39 Fix: Run NixOS wrappers in interactive shell
* Makes sure run configurations terminate properly.
2022-07-07 11:09:35 +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 7671bfd4d3 Add wrapper scripts for node / yarn on NixOS. 2022-05-19 11:56:17 +02:00