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
92c61c57c1
Fix test
2022-07-28 15:08:41 +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
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
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
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
e2766e8402
Fix logging.
2021-08-09 22:03:27 +02:00
baldo
3a253ba72e
Fix: Use seconds for unix timestamps to not compare seconds and milliseconds.
2021-08-09 21:54:13 +02:00
baldo
8cc9ee0908
Added logging when deleting nodes that were never online.
2021-08-09 21:36:41 +02:00
baldo
f96113c1c5
[UNTESTED]: Also delete offline nodes that were never online.
2021-07-26 21:40:54 +02:00
baldo
ada5d99128
Fix: Typo in field assignment.
2021-02-22 22:35:40 +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
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
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
52822207a5
Typescript migration: Major refactoring.
2020-04-15 20:12:58 +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
8513ff0f3d
Fix: During import skip nodes which cannot be parsed.
2018-01-05 20:34:57 +01:00
baldo
0dd170d755
Fix: Give unix timestamp to db when marking missing nodes as offline.
2017-08-13 19:39:40 +02:00
baldo
7d413a6f76
Added logging.
2017-08-13 19:36:16 +02:00
baldo
950daf6939
Simplify and improve marking missing nodes as offline.
2017-08-13 19:30:30 +02:00
baldo
8628bee9e9
Fix: Typo.
2017-08-13 19:29:50 +02:00
baldo
2b22926b2f
Fix: Setting site for missing node was bogus.
2017-08-13 19:29:36 +02:00
baldo
2cb804f4b3
Fix for deletion job: Don't try to delete key files for gateways.
2017-08-13 18:55:56 +02:00
baldo
82a69769c3
If site is currently unknown keep previous site on update.
2017-08-13 18:37:58 +02:00
baldo
7dd8d35139
Fix: Wrong object to store site from.
2017-08-13 17:47:37 +02:00
baldo
9774aa7e4f
Fix: Site info wasn't stored correctly.
2017-08-13 17:44:12 +02:00
baldo
88dab5743f
Add field "site" in admin panel.
2017-08-13 17:22:34 +02:00
baldo
8ec1b3e845
Add a nice error message if no nodes.json URL is set.
2017-05-13 11:38:51 +02:00
baldo
3d6fb5feec
Fixed or disabled warnings
2017-05-06 17:31:34 +02:00
baldo
231eec3544
Fix: Avoid duplicates from different nodes.json files. Use only newest.
2017-03-19 16:31:50 +01:00
baldo
f12ef87567
Fix: Correct support for multiple nodes.json files.
2017-03-06 20:32:52 +01:00
baldo
5086d8c71f
Allow to specify nodes.json-URLs for multiple communities / domains.
2017-03-03 22:02:26 +01:00
baldo
2343e95c94
Hack to ignore URL suffixes wrongly added by mail clients.
...
Fixes: https://github.com/freifunkhamburg/ffffng/issues/40
2016-10-24 19:54:13 +02:00
Andreas Baldeau
5435f95b86
Fix: Deleting offline node without node file won't fail anymore.
2016-09-09 21:58:50 +02:00
Andreas Baldeau
769ca33495
Merge pull request #27 from rubo77/master
...
Documents the main structure, that sends out emails for offline nodes
2016-08-19 20:33:19 +02:00
baldo
6aac4af80f
Job to automatically delete nodes after 100 days.
2016-07-29 23:09:43 +02:00
baldo
d63cf55abf
Mark nodes not listed in nodes.json as offline.
2016-07-29 21:49:03 +02:00