[pmg-devel] [PATCH pmg-api/gui v2] implement custom SpamAssassin scores gui

Dominik Csapak d.csapak at proxmox.com
Thu Nov 14 12:18:51 CET 2019


this series implements a gui for custom SpamAssassin rule scores,
where users can overwrite the default ones

changes from v1:
* copy properties instead of copying the references
* write pmg-scores.cf all at once
* fix 'changtext' typos

pmg-api:

Dominik Csapak (3):
  implement force_restart for cluster sync
  add SACustom Package and API Calls for custom SpamAssassin scores
  sync custom spamassassin scores to the slaves

 src/Makefile                 |   2 +
 src/PMG/API2/Config.pm       |   6 +
 src/PMG/API2/SACustom.pm     | 337 +++++++++++++++++++++++++++++++++++
 src/PMG/CLI/pmgcm.pm         |   9 +-
 src/PMG/Cluster.pm           |  10 +-
 src/PMG/SACustom.pm          |  89 +++++++++
 src/PMG/Service/pmgmirror.pm |   7 +-
 7 files changed, 455 insertions(+), 5 deletions(-)
 create mode 100644 src/PMG/API2/SACustom.pm
 create mode 100644 src/PMG/SACustom.pm

pmg-gui:

Dominik Csapak (1):
  add Custom Scores panel to the Spam Detector

 js/Makefile                     |   1 +
 js/SpamDetectorConfiguration.js |   7 +-
 js/SpamDetectorCustom.js        | 308 ++++++++++++++++++++++++++++++++
 3 files changed, 315 insertions(+), 1 deletion(-)
 create mode 100644 js/SpamDetectorCustom.js

-- 
2.20.1




More information about the pmg-devel mailing list