aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Add Occupant API methods to Teal specKim Alvefur2023-02-201-0/+6
|
* MUC: Add Teal description of muc.lib functionsKim Alvefur2023-02-201-0/+9
|
* MUC: Start on a Teal description of MUC roomsKim Alvefur2023-02-201-0/+163
| | | | Started as part of a documentation project for the MUC API
* mod_cron: Remove difference between teal versionKim Alvefur2022-05-151-1/+1
| | | | | This previously was considered an error because the module API Teal spec did not document a return value from module:add_timer()
* util.async: Add Teal description fileKim Alvefur2022-05-081-1/+1
|
* mod_cron: Fix recording last task run time #1751Kim Alvefur2022-05-051-0/+1
| | | | | | | The type checks, they do nothing! Observed: Tasks that were supposed to run weekly or daily were running each hour.
* mod_cron: Allow for a small amount of timer driftKim Alvefur2022-01-151-1/+1
| | | | | | | | | If the timer activates a bit early then a task might be just a few seconds short of being allowed to run. This would run such a task rather than wait another hour. The value 0.5% chosen so that a weekly task does not run an entire hour earlier than last time.
* mod_cron: Add a 'weekly' job frequencyKim Alvefur2021-12-031-1/+2
|
* mod_cron: Initialize timestamp of new tasks to start of periodKim Alvefur2021-12-031-3/+3
| | | | | Makes it more generic so new periods (e.g. weekly etc) can be added easily.
* mod_cron: Follow convention of imports at the topKim Alvefur2021-12-031-1/+2
|
* mod_cron: Initialize daily tasks so they run around midnight UTCKim Alvefur2021-12-031-0/+5
| | | | | | Eventually the goal is to have daily tasks run while there is little activity, but that will vary with the server and the usage patterns of its users. This is a start anyway.
* mod_cron: Initial commit of periodic task runnerKim Alvefur2021-11-211-0/+98
A number of modules now have periodic tasks that need to run, e.g. for cleaning out old messages or files. This has highlighted a need for coordinating and optimizing scheduling of such tasks.