Commit Graph

349 Commits

Author SHA1 Message Date
Geno 12a09716fc [TASK] Remove nodes without links from graph.json (#22)
* [TASK] [models] graph.json should only save nodes with links

* [TASK] [models] graph.json should only save nodes with links and there main mac (with tests)
2017-03-06 09:52:39 +01:00
Geno d5aa4772a0 Update INSTALL.md 2017-03-05 21:02:36 +01:00
Geno c3353ec599 [DOC] Installation 2017-03-05 20:59:03 +01:00
Geno 10963bfc52 Update example config.json
set `webroot` under `[webserver]` to same as json-files
2017-03-05 20:56:41 +01:00
Geno 1bdfa296d2 Rename everthing to Yanic (#28) 2017-03-03 16:19:35 +01:00
Geno 3fc8dff670 [TASK] [Yanic] Update README bagde travis for new name Yanic 2017-03-03 16:00:33 +01:00
Geno c1e302fce3 Update README.md to yanic
#27
2017-03-03 10:57:38 +01:00
Martin Geno 78adbeca62
[TASK] add init system.unit 2017-02-19 18:19:39 +01:00
Geno 3e342ce738 Did not make model and site_code in nodeinfo necessary 2017-02-07 11:33:55 +01:00
Julian Kornberger a67443b342 Listen on first link local unicast address 2017-02-01 18:47:32 +01:00
Julian Kornberger 2d43dda380 Send unicast to nodes that did non answer the multicast
Use the state file to store last known IP address.

closes #13
2017-01-30 17:25:23 +01:00
Martin Geno 8a5f907cbe
Some doku 2017-01-30 15:44:49 +01:00
Julian Kornberger 2e9f6fa459 Add flag to disable timestamps 2017-01-30 09:09:49 +01:00
Julian Kornberger fd6a169b18 Use fixed value for the batch timer 2017-01-30 00:52:49 +01:00
Julian Kornberger 54cdd39eb8 Clean up Collector struct 2017-01-29 22:56:09 +01:00
Julian Kornberger 82c09ad952 Add configuration option `offline_after` 2017-01-29 21:11:10 +01:00
Julian Kornberger 5062b71318 Clean up timestamp usage 2017-01-29 21:02:03 +01:00
Julian Kornberger 5ca74e51bc Rename nodes_dynamic_path to state_path 2017-01-29 21:02:03 +01:00
Julian Kornberger 4cc93891ee Remove API and simplify webserver 2017-01-29 20:35:50 +01:00
Julian Kornberger c66e1120d3 Make configuration more intuitive and consistent 2017-01-29 20:35:50 +01:00
Martin Geno 724cd8ba51 fix neighbour to influxdb 2017-01-21 04:27:44 +01:00
Martin Geno 2380c7de9a first implementation of neighbours count 2017-01-21 03:12:16 +01:00
Martin Geno d855248f6a improve complete code with comments and co (thanks linter) 2017-01-20 22:27:44 +01:00
Geno 798db6a063 Export multiple versions of JSON for different Meshviewers (#16)
* multi json output format
* fix memory usage in older JSON
* meshviewer versions add detailed comments
* some beautiful fixes in modes/nodes
2017-01-20 14:38:13 +01:00
Martin Geno e586dad6d5 fix json encoding in meshviewer 2017-01-20 13:53:27 +01:00
Geno 8927fe27f5 Merge pull request #15 from Brother-Lal/readmetypos
Update README.md
2016-12-22 22:15:53 +01:00
Ludwig Thomeczek c7aeb97fe5 Update README.md
Typos
2016-12-22 20:58:19 +01:00
Julian Kornberger ab01eb0d9e Add wireless statistics (airtime) 2016-12-22 20:25:58 +01:00
Julian Kornberger ed6e67fa13 Add small query command 2016-12-22 03:59:27 +01:00
Julian Kornberger a9cdc623ca Extract Start() function from Collector
Makes it easier to test.
2016-12-22 03:07:26 +01:00
Julian Kornberger 252ce89fc0 Move main to cmd/respond-collector 2016-12-22 01:10:11 +01:00
Geno da9d2cf8c6 Merge pull request #14 from FreifunkBremen/measurements
Add measurements for models and firmwares
2016-12-15 18:54:31 +01:00
Julian Kornberger ac5858259c Add measurements for models and firmwares
closes #12
2016-12-15 14:30:56 +01:00
Julian Kornberger 3a6fd20bf3 Remove indirection of embedded structs in Software 2016-12-15 10:43:07 +01:00
Julian Kornberger 15487b3d1b Fix possible segfault 2016-12-15 10:42:40 +01:00
Julian Kornberger c2e50f59d4 Add comment to deleteWorker() 2016-12-15 09:52:12 +01:00
Julian Kornberger 8ac5bf7cd5 Update related projects 2016-12-15 00:23:51 +01:00
Geno 40fb10eb4e Merge pull request #10 from FreifunkBremen/purge-influxdb
want to resolve #8:  Purge node specific statistics after several days
2016-11-29 16:08:07 +01:00
Martin Geno 30e4fe3267 log on deleting node information 2016-11-29 00:15:40 +01:00
Martin Geno e060934c6c want to resolve #8 2016-11-26 13:11:21 +01:00
Julian Kornberger 79e8be48ec Increase test coverage 2016-11-20 19:26:02 +01:00
Julian Kornberger 223e97bfaf Increase test coverage 2016-11-20 19:18:59 +01:00
Julian Kornberger 0362bf1b03 Increase test coverage 2016-11-20 19:11:56 +01:00
Julian Kornberger 55991260b0 Fix import of global stats
Use uin32 instead of float64
2016-11-20 19:02:03 +01:00
Julian Kornberger 2068d2b1a1 Increase test coverage 2016-11-20 18:49:41 +01:00
Julian Kornberger 5c2a655b11 Use json.Encoder/Decoder directly with file pointer 2016-11-20 18:30:32 +01:00
Julian Kornberger 332e7f5f54 Update README 2016-11-20 18:30:10 +01:00
Martin Geno 0c18f402a0 fix: collector crash without db 2016-10-18 22:54:45 +02:00
Geno 38f32952c2 Merge pull request #5 from FreifunkBremen/nodes_expiration
Expire nodes after n days of inactivity
(Ist okay so -> gleich mal ein Test auf meiner Maschine ...)
2016-10-09 18:49:31 +02:00
Julian Kornberger 997735ffce Add test for node expiration 2016-10-08 12:06:47 +02:00