Commit graph

24 commits

Author SHA1 Message Date
baldo 9ad9ffabf7 Fix: Background-Jobs did not run automatically.
* Had to make sure `this` referred to `task` in `task.run()`.
2021-02-22 21:48:39 +01: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 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 8697d79ba5 Removing ng-di on the server. 2018-12-18 00:29:20 +01: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 6aac4af80f Job to automatically delete nodes after 100 days. 2016-07-29 23:09:43 +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 cd746a41ea Display of online state for nodes and hostname for monitoring info in admin panel. 2016-06-26 19:09:12 +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 ce2359a094 Paging for tasks in admin panel. 2016-06-07 11:01:35 +02:00
baldo 53a0ecd366 Added possibility to enable / disable tasks. 2016-06-05 12:18:37 +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 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 001e7b59a3 Background job for sending emails + confirmation email template. 2016-05-21 17:06:24 +02:00