Commit graph

54 commits

Author SHA1 Message Date
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 00d93c33b4 Introduce NodeMonitoringStateResponse to get rid of some any 2022-08-24 18:20:49 +02:00
baldo bfd6ca1d26 ESLint: Fix more warnings and errors. 2022-08-23 22:09:19 +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 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 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 28c8429edd Sqlite upgrade and type refactorings 2022-07-18 18:14:51 +02:00
baldo 720acfb276 Refactor some server-side string types into newtypes. 2022-07-14 20:13:02 +02:00
baldo 975d5288a3 Refactoring of sorting and filtering in API. 2022-07-07 11:18:30 +02:00
baldo b6b16f5250 Server side type refactoring. 2022-07-07 11:12:40 +02:00
baldo dabc675aa9 New api endpoint for client config. 2022-07-07 11:08:35 +02:00
baldo b6a67d6e74 Admin: Add message with failed / total nodes for nodes.json-task. 2020-06-30 17:08:24 +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 94d01310b9 Quick and dirty typescript setup to get going. 2020-04-08 01:55:48 +02:00
baldo 8697d79ba5 Removing ng-di on the server. 2018-12-18 00:29:20 +01:00
baldo 84b20b209e Splitting site field: Now we track site and domain. 2018-12-17 20:06:39 +01:00
baldo 683937539b Allow to filter and sort by site. 2017-08-13 18:18:40 +02:00
baldo 88dab5743f Add field "site" in admin panel. 2017-08-13 17:22:34 +02:00
baldo 05c6cdafb7 Show duration of previous task run in admin panel.
See: https://github.com/freifunkhamburg/ffffng/issues/29
2017-05-13 12:08:16 +02:00
baldo 8660553d0f Filtering of nodes in admin panel. 2016-07-23 11:30:41 +02:00
baldo 3c80be4d00 Added Statistics
See: https://github.com/freifunkhamburg/ffffng/issues/24
2016-07-19 13:24:43 +02:00
baldo 124f330895 Version information and extended header for admin panel. 2016-06-26 20:21:45 +02:00
baldo cd746a41ea Display of online state for nodes and hostname for monitoring info in admin panel. 2016-06-26 19:09:12 +02:00
baldo c08f94abda Fix: Do not list nodes without tokens in admin panel.
See: https://github.com/freifunkhamburg/ffffng/issues/15
2016-06-22 00:06:32 +02:00
baldo ce155951bf Show task description in admin panel. 2016-06-21 14:55:02 +02:00
baldo 4ea37d59cd Overview over monitoring states in admin panel. 2016-06-11 15:31:57 +02:00
baldo 26aaec385a Mail-Queue management in admin panel. 2016-06-11 12:08:50 +02:00
baldo 03083b819b Open node in form and map. 2016-06-07 14:18:28 +02:00
baldo 5b9d2e615b Filtering for tasks 2016-06-07 12:45:23 +02:00
baldo 122eadc0de Filtering for nodes 2016-06-07 12:39:52 +02:00
baldo 954b7a3920 Sorting of tasks and nodes in admin panel. 2016-06-07 11:58:29 +02:00
baldo ce2359a094 Paging for tasks in admin panel. 2016-06-07 11:01:35 +02:00
baldo 0f1a21c905 Extended node management in amdin panel. 2016-06-07 10:50:15 +02:00
baldo d5c69fa78f Basic node management in admin panel. 2016-06-07 00:21:26 +02:00
baldo 53a0ecd366 Added possibility to enable / disable tasks. 2016-06-05 12:18:37 +02:00
baldo 8f8d78d1df Admin backend 2016-06-04 14:58:11 +02:00
baldo bee528f1b8 Added API call to run task immediately. 2016-06-04 11:41:57 +02:00
baldo 638cc94db3 Run jobs only once at a time. Start an task api. 2016-06-03 23:42:17 +02:00
baldo cc0fadb7cd Lookup node via monitoring token only 2016-05-23 23:03:57 +02:00
baldo 5a5c70cfb1 Link to disable monitoring 2016-05-18 23:15:43 +02:00