Commit graph

193 commits

Author SHA1 Message Date
baldo 8ec1b3e845 Add a nice error message if no nodes.json URL is set. 2017-05-13 11:38:51 +02:00
baldo 6214404b64 Fix: Allow proper logging of node.js Error objects.
See: https://github.com/bluejamesbond/Scribe.js/issues/70
2017-05-13 11:38:25 +02:00
baldo 8de06a0a8a Allow serving everything beneath a baseUrl with a path.
See: https://github.com/freifunkhamburg/ffffng/issues/44
2017-05-06 18:40:59 +02:00
baldo 3d6fb5feec Fixed or disabled warnings 2017-05-06 17:31:34 +02:00
baldo 94a51921fd Fix: Remove trailing slash from URLs in config.
Fixes: https://github.com/freifunkhamburg/ffffng/issues/33
2017-05-06 16:58:42 +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
Alexander a9cf109992 Typo fix 2016-08-24 09:08:27 +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
Alexander d518f3c2b5 Typo fix 2016-08-15 09:58:15 +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
baldo 7677aad10a Fix: Dramatic slowdown when running the NodeInformationRetrievalJob 2016-07-29 12:58:03 +02:00
baldo c2cea8626f Fixed indentation 2016-07-29 12:53:36 +02:00
baldo 7921178165 Added support for writing profiling logs.
For now it supports profiling database queries and
job execution time.
2016-07-29 12:53:20 +02:00
baldo bf1740a95d Fix: Limit max parallel node imports. 2016-07-27 22:02:07 +02:00
rubo77 0435df2ef3 Documents the main structure, that sends out emails for offline nodes 2016-07-24 13:49:37 +02:00
baldo cb4c659261 Less verbose logging. 2016-07-23 22:09:13 +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 7c09523e53 Config option for tile layers.
See: https://github.com/freifunkhamburg/ffffng/issues/23
2016-07-14 16:28:17 +02:00
baldo eaaf659674 Fix: Update node data even when skipping.
Also prevents infinite loop as the SELECT to loads the batch
checks modified_at.
2016-06-29 12:02:46 +02:00
baldo 121468bec3 Fix: Added missing callback. 2016-06-29 11:40:11 +02:00
baldo 3df5509df0 Fix: Use correct callback to prevent monitoring sending job from hanging. 2016-06-29 11:28:39 +02:00
baldo fa2a047370 Footer for frontend and report errors link. 2016-06-26 22:00:58 +02:00
baldo 124f330895 Version information and extended header for admin panel. 2016-06-26 20:21:45 +02:00
baldo dd48bd9702 Fix: "SQLITE_ERROR: 6 values for 8 columns" when retrieving nodes.json 2016-06-26 19:38:11 +02:00
baldo 392e37ab05 Fix: "SQLITE_ERROR: too many SQL variables" when loading nodes 2016-06-26 19:27:09 +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 ecc82e30c1 Fix: Correct total number of monitoring entries in admin panel.
See: https://github.com/freifunkhamburg/ffffng/issues/16
2016-06-26 13:06:58 +02:00
baldo f720c0e028 Less verbose logging on INFO.
See: https://github.com/freifunkhamburg/ffffng/issues/18
2016-06-26 12:58:40 +02:00
baldo 5ac54f2a0d Fixed mis-pasted code. 2016-06-25 20:45:19 +02:00
baldo 71bebb7c27 Fixed fix for sending mails in short time 2016-06-25 20:24:28 +02:00
baldo 0e5c5e4e1e Fix: Display Last Status Mail Sent for monitoring in admin panel correctly.
Naming of column is now also consistent.
2016-06-25 14:33:51 +02:00
baldo 9c7b2558f0 Fix: Don't send monitoring mails too soon after each other.
Fixes: https://github.com/freifunkhamburg/ffffng/issues/17
2016-06-25 14:18:43 +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 b4dc9e37b2 More robust node filename generation.
Do not place "undefined" in parts of filenames even
if node files are missing entries like the token.
2016-06-21 23:47:24 +02:00
baldo 2dc7ad0c23 Fix: More asynchronous glob operations and graceful-fs.
Hope this fixes the "Error: EMFILE, too many open files" in
NodeInformationRetrievalJob.

See: https://github.com/freifunkhamburg/ffffng/issues/13
2016-06-21 22:59:37 +02:00
baldo 23cd31e064 Fix: More asynchronous operations to fix stack overflow. 2016-06-21 18:20:36 +02:00
baldo d24e6e6307 Replaced python script to fix filenames by internal background job. 2016-06-21 15:21:08 +02:00
baldo ce155951bf Show task description in admin panel. 2016-06-21 14:55:02 +02:00
baldo 8dbec7612b Texts and URL fixes 2016-06-20 22:28:01 +02:00
baldo 50e6175021 Made main.js executable. 2016-06-11 19:09:05 +02:00
baldo 2a2a2b72e9 Get config.json location from command line parameter. 2016-06-11 17:15:19 +02:00
baldo 8684c075ef shebang for main.js of server 2016-06-11 16:27:23 +02:00
baldo 4ea37d59cd Overview over monitoring states in admin panel. 2016-06-11 15:31:57 +02:00
baldo eb3e0d96be Mail templates for monitoring mails 2016-06-11 15:13:06 +02:00
baldo c038546ac2 Moved mail template rendering into own service. 2016-06-11 12:32:20 +02:00
baldo 26aaec385a Mail-Queue management in admin panel. 2016-06-11 12:08:50 +02:00
baldo 807f3f5fb2 Fix: No 'undefined' in filename for nodes without monitoring 2016-06-07 14:48:18 +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 5ff76db5a9 Monitoring job 2016-05-24 23:32:04 +02:00
baldo 0ccab4cac8 More consistent logging 2016-05-24 21:08:34 +02:00
baldo e03be8bf51 Job to clean up outdated monitoring data. 2016-05-24 20:39:51 +02:00
baldo b84bfb5c99 Monitoring data retrieval job now working. 2016-05-24 20:29:28 +02:00
baldo 9e9202be8e Fix: Don't keep tags of suppressed debug log events. 2016-05-24 19:43:00 +02:00
baldo 921052dff5 Protect logging backend. 2016-05-24 19:40:02 +02:00
baldo 09b01f5ccf Nicer logging + Monitoring progress 2016-05-24 19:14:09 +02:00
baldo a82b66c637 Added logging framework. 2016-05-24 16:40:57 +02:00
baldo ad3f075d93 WIP: Job to retrieve node information for monitoring. 2016-05-24 14:42:25 +02:00
baldo cc0fadb7cd Lookup node via monitoring token only 2016-05-23 23:03:57 +02:00
baldo 001e7b59a3 Background job for sending emails + confirmation email template. 2016-05-21 17:06:24 +02:00
baldo a5605a0349 Fix: Don't put undefined in key file name. 2016-05-20 22:39:59 +02:00
baldo 8102181a7e Use configured database file. 2016-05-20 22:38:13 +02:00
baldo 03271573be Added sqlite db and email queue. 2016-05-20 22:11:35 +02:00
baldo 5a5c70cfb1 Link to disable monitoring 2016-05-18 23:15:43 +02:00
baldo 0bdce5debb Added confirmation page for monitoring + a few tweaks. 2016-05-18 22:50:06 +02:00
baldo 1b173b79d4 Allow setting a monitoring flag. Confirmation mail missing. 2016-05-18 19:32:19 +02:00
baldo 79aadc85c2 Added delete feature for nodes. 2016-05-16 18:27:03 +02:00
baldo 39e7af6238 Lots of updates 2016-05-16 16:56:29 +02:00
Andreas Baldeau 5c341e2e5a Updated NPM packages. 2014-08-10 22:28:30 +02:00
Andreas Baldeau cabc070b77 Fixed warnings. 2014-06-14 00:51:54 +02:00
Your Name 1aba5ccd2e Allow local config.json to overwrite defaults. 2014-06-06 23:00:32 +02:00
Your Name a2723c6b12 Only one config for client and server. 2014-06-06 21:22:57 +02:00
Your Name 46717e14ae Simplified serving static files. 2014-06-06 20:08:14 +02:00
Your Name 2a0b2add0d Validate forms the Angular way. Also: Validate on submit. 2014-06-06 19:17:12 +02:00
Your Name caf732a04c Express.js update. 2014-06-06 14:57:20 +02:00
Your Name 273adb660c Enable gzip compression. 2014-06-06 13:13:07 +02:00
Your Name f7a79c0003 Binary for fixing filenames. 2014-05-30 19:58:07 +02:00
Andreas Baldeau 0335f5aa93 Initial commit. 2014-05-12 20:08:19 +02:00