Commit graph

119 commits

Author SHA1 Message Date
baldo
b1755047af Typescript migration:
* utils/resources.js
* validation/constraints.js (only server side)
2020-04-09 01:41:45 +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
7325cd4db6 Typescript migration
* utils/strings.js
* utils/urlBuilder.js
2020-04-08 21:25:33 +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
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
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
84b20b209e Splitting site field: Now we track site and domain. 2018-12-17 20:06:39 +01:00
baldo
d23024241c Added links for imprint and privacy information. 2018-05-21 13:22:28 +02: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
683937539b Allow to filter and sort by site. 2017-08-13 18:18:40 +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
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
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