Branch: Tag:

2015-12-02

2015-12-02 10:26:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RoxenPatch: Added support for automatic fetch of patch clusters.

This adds a new global setting: "Auto Patching: Automatically import
patches", which when enabled causes the server to poll for new patch
clusters once every hour.

Fixes some of [bug 7602 (#7602)].

3268:    }   }    + RoxenPatch.Patcher plib = +  RoxenPatch.Patcher(report_notice, report_error, getcwd(), getenv("LOCALDIR")); +    protected void hourly_maintenance()   {    error_log_cleaner(); -  +  +  if (query("auto_fetch_rxps")) { +  plib->import_file_http();    } -  + }      protected void start_hourly_maintenance()   {