Commit graph

333 commits

Author SHA1 Message Date
baldo f96113c1c5 [UNTESTED]: Also delete offline nodes that were never online. 2021-07-26 21:40:54 +02:00
baldo 2013fbab3d Version bump => 0.14.4 2021-02-22 22:36:12 +01:00
baldo ada5d99128 Fix: Typo in field assignment. 2021-02-22 22:35:40 +01:00
baldo 15e86eecd5 Version bump => 0.14.3 2021-02-22 22:26:42 +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 2247e462ea Version bump => 0.14.2 2021-02-22 21:50:22 +01:00
baldo 9ad9ffabf7 Fix: Background-Jobs did not run automatically.
* Had to make sure `this` referred to `task` in `task.run()`.
2021-02-22 21:48:39 +01:00
baldo 8c93a47682 Fix: Database migration and mail template files were not included in dist.
* Moved copying server-build/ from grunt to package.json
  using rsync to make sure to copy exactly what is needed
  and resolve symlinks correctly.
2021-02-22 21:36:40 +01:00
baldo bde2a8710a Version bump => 0.14.1 2021-01-25 22:42:02 +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 642803f0bb Version bump => 0.14.0 2021-01-25 20:53:15 +01:00
baldo 5558171f9b Package updates. 2021-01-25 20:52:22 +01:00
dependabot[bot] 7edfd90b78
Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 23:11:27 +00:00
baldo 5ae2ac7029 Bump versions of server / dev dependencies. 2020-09-06 01:15:41 +02:00
baldo 84ac9bd256 Bump versions of server / dev dependencies. 2020-06-30 18:29:06 +02:00
baldo b6a67d6e74 Admin: Add message with failed / total nodes for nodes.json-task. 2020-06-30 17:08:24 +02:00
baldo fb87695b3e Migrate to version 2 of nodes.json and start adding tests 2020-06-30 13:47:30 +02:00
baldo 8e7b02e56d Another refactoring idea. 2020-06-29 20:17:03 +02:00
baldo 52822207a5 Typescript migration: Major refactoring. 2020-04-15 20:12:58 +02:00
baldo 31ecc0cf4f Typescript migration:
* resources/frontendResource.js
* resources/taskResource.js
* resources/versionResource.js

Also some refactoring towards using promises with async / await.
2020-04-09 20:18:13 +02:00
baldo b1755047af Typescript migration:
* utils/resources.js
* validation/constraints.js (only server side)
2020-04-09 01:41:45 +02:00
baldo d97635d32a Admin: More distinctive coloring for different task states. 2020-04-08 23:52:59 +02:00
baldo 8b8835e4ac Typescript migration:
* Refactoring of scheduler and jobs to use promises.
* Add "failed" state for tasks.
2020-04-08 23:41:04 +02:00
baldo 5c0b5abf73 Typescript migration:
* validation/validator.js
2020-04-08 22:45:21 +02:00
baldo 9e29eb924e Typescript migration
* db/database.js
* utils/databaseUtil.js
2020-04-08 22:05:53 +02:00
baldo c91d892780 Fix: Typescript setup did not link mail templates in place. 2020-04-08 22:00:37 +02:00
baldo 7325cd4db6 Typescript migration
* utils/strings.js
* utils/urlBuilder.js
2020-04-08 21:25:33 +02:00
baldo 2c2c6336db Added replacing logging framework to refactoring ideas. 2020-04-08 18:03:08 +02:00
baldo 08249885a8 Typescript migration
* config.js
* Added typesafe validation of config.json.
2020-04-08 17:55:45 +02:00
baldo 9652519267 Typescript migration
* app.js
* main.js
* router.js
2020-04-08 03:19:55 +02:00
baldo 94d01310b9 Quick and dirty typescript setup to get going. 2020-04-08 01:55:48 +02:00
baldo e5ccfeadce Start collecting refactoring ideas. 2020-04-08 00:38:47 +02:00
baldo 3d4750ece1 Version bump => 0.13.4 2020-01-20 21:16:42 +01:00
baldo 2f4092bf70 Node updates. 2020-01-20 21:14:50 +01:00
baldo 13733b8857 Bower updates. 2020-01-20 21:14:50 +01:00
baldo bfbdd675db Version bump => 0.13.3 2019-08-31 20:26:13 +02:00
baldo f413ee9741 Fix: Do not use hashbang URLs.
* Links from firmware where broken.
* Redirect hashbang URLs to normal ones for compatibility.
2019-08-31 20:23:40 +02:00
baldo 49e7f7703c Version bump => 0.13.2 2019-07-12 20:49:57 +02:00
baldo 18daf06673 Update node packages. 2019-07-12 20:26:19 +02:00
baldo 5754250c0d Fix updating nodes: Use new $http API. 2019-04-28 22:55:10 +02:00
baldo 351e95c818 Version bump => 0.13.1 2019-03-29 22:30:47 +01:00
baldo 2e27e63f94 Fix: Start using sqlite module that actually uses promises.
For now export legacy sqlite3 module until other code is refactored.
2019-03-29 22:26:54 +01:00
baldo 2beab45f32 Update bower dependencies. 2019-03-29 22:01:13 +01:00
baldo 818bdad5af Updated node dependencies. 2019-03-29 22:01:12 +01:00
baldo acdca6641b Add shell.nix for comfy development on NixOS 2019-03-29 22:01:12 +01:00
baldo 21fc4d89d0 Fix build 2019-03-29 20:54:57 +01:00
baldo 8697d79ba5 Removing ng-di on the server. 2018-12-18 00:29:20 +01:00
baldo ddb2f47a9d Promisify and asyncify db initialization. 2018-12-17 22:08:38 +01:00
baldo 732c973145 Version bump => 0.13.0 2018-12-17 20:08:19 +01:00
baldo 84b20b209e Splitting site field: Now we track site and domain. 2018-12-17 20:06:39 +01:00