[pmg-devel] [PATCH pmg-api/pmg-gui v2] fix #2529: add archive filename what object

Dominik Csapak d.csapak at proxmox.com
Thu Apr 16 10:59:38 CEST 2020


modeled after the archive filter (for mime types),
matches filenames inside archives, and the filenames mime information
of attachments

changes from v1:
* drop unnecessary copied subs from MatchArchiveFilename

pmg-api:

Dominik Csapak (2):
  collect filenames on unpack
  add new What Object 'Match Archive Filename'

 src/Makefile                           |  1 +
 src/PMG/API2/What.pm                   |  2 +
 src/PMG/RuleCache.pm                   |  4 +-
 src/PMG/RuleDB.pm                      |  4 ++
 src/PMG/RuleDB/MatchArchiveFilename.pm | 59 ++++++++++++++++++++++++++
 src/PMG/Unpack.pm                      |  6 ++-
 src/bin/pmg-smtp-filter                |  1 +
 7 files changed, 75 insertions(+), 2 deletions(-)
 create mode 100644 src/PMG/RuleDB/MatchArchiveFilename.pm

pmg-gui:

Dominik Csapak (1):
  add 'Match Archive Filename' to list of what objects

 js/ObjectGroupConfiguration.js |  2 +-
 js/Utils.js                    | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)

-- 
2.20.1




More information about the pmg-devel mailing list