Skip to content

Releases: Intevation/intelmq-mailgen

1.4.0: Handling errors, more parameters

04 Sep 20:20
1.4.0
3749425

Choose a tag to compare

  • example script to add bcc contacts: handle existing parameters to mail_format_as_csv
  • Raise error when scripts directory is not a directory or cannot be read.
  • Notifications: Handle NULL aggregate_identifier
  • Tableformat: Handle NULL extra
  • SQL/Database:
    • Add ON DELETE CASCADE to the foreign keys of table directives (#50)
      that allows deleting data from tables events and sent without manually
      deleting the corresponding entries from the directives.
  • intelmqcbmail tool:
    • in double verbose mode, also print the event IDs.
    • New parameter --batch-size (#56).
    • No exception & traceback when no notifications are generated (#57, fixes #48).

1.3.8: BCC Contacts

04 Jun 12:48
1.3.8
32dd3b3

Choose a tag to compare

  • allow to pass an existing ticket number to mail_format_as_csv
  • allow to skip marking an email as sent (for re-using a ticket number)
  • add example script to add bcc contacts

1.3.7: Envelope-To, JSONB

07 May 08:29
1.3.7
7306ff5

Choose a tag to compare

  • cli interface:
    • do not commit the directive to db if only in preview-mode
    • better error message when format scripts did not generate a notification
    • in Dry runs and debug logging level, also log envelop to addresses if set
  • notifications:
    • allow for different envelope-to than header-to in mail_format_as_csv and EmailNotification
  • Packaging:
    • Add GitHub Workflows to build Debian Package for Debian 11 and Debian 12
    • Fix Build for Debian 12 / Ubuntu 24.04 (#47)
  • Documentation:
    • Include the README in the rendered documentation, converted to RST
    • Add conceptual overview graphics and some texts
    • add database schema visualization
    • convert sql/updates to markdown for readability
  • SQL/Database:
    • Fix script to create Type ip_endpoint as superuser
    • use JSONB of events.extra
      IntelMQ's eventdb events.extra switched from type JSON to JSONB:
      certtools/intelmq#2597
      directly use the JSONB type in the functions
  • github workflows:
    • update some actions for compatibility, update runners
    • fix package build script
    • update python versions: remove 3.7, add 3.8-3.13
    • use gpgme from pypi instead of compiling ourself

1.3.6: gnupg home dir patch, documentation

18 Mar 08:25
1.3.6
2072130

Choose a tag to compare

  • gnupg: set home dir with parameter, not env variable
  • Documentation:
    • add docs on format specs
    • small fixes
    • render API docs

1.3.5: Default Table Format

14 Nov 12:46
1.3.5
1cc12d9

Choose a tag to compare

allow setting default table format by calling scripts
is used if the called script (template) does not set one
set an internal fallback value, if neither a default is provided, nor
the script sets a table format

1.3.4 Bugfix in notifications

14 Nov 12:46
1.3.4
5b2d123

Choose a tag to compare

notifications: fix bug when templates are given as parameter

1.3.3: Templates via parameters

14 Nov 12:45
1.3.3
6e528c8

Choose a tag to compare

allows passing templates as function parameters

1.3.2: Library mode enhancements

14 Nov 12:45
1.3.2
0c92c2d

Choose a tag to compare

  • Documentation available at http://intevation.github.io/intelmq-mailgen/
  • Enhancements to the library-mode:
    • Template can be passed as parameter to mailgen
    • dry run (simulation mode)
    • Preview mode: returning notifications as string to the caller instead of sending them via SMTP
    • additional_directive_where as parameter
    • Existing database connection can be passed as parameter to mailgen
  • Many small style and formatting fixes

1.3.1: directive selector, custom config and --verbose

15 Mar 10:32
1.3.1
14d27e8

Choose a tag to compare

  • use sys.exit instead of exit
  • additional_directive_where: allow to use events
  • new parameter additional_directive_where
  • add parameter --verbose for debug logging
  • add option to load custom config file per parameter
  • better help messages in program

1.3.0-3: Packaging fixes

14 Mar 10:41
v1.3.0-3

Choose a tag to compare

  • Remove postgresql dependency. mailgen only needs the client on the same
    machine, not the server.
  • remove recommended python3-pyxarf, is unavailable
    fixes #45
  • Add pkg-resources as runtime dependency