Commit graph

32 commits

Author SHA1 Message Date
Gernot Pansy
e2a69ef76d Added subscription changed trigger
Is very useful if some subscription data is updated by API and you want to trigger after that because segments (filters) have changed.
2019-12-03 09:08:40 +01:00
Tomas Bures
ae5faadffa Fix for #665 and additional fix for #663.
If your segemnts are broken or Mailtrain complains about missing 20190726150000_shorten_field_column_names.js, run the following in `server/setup/knex/fixes`:

```NODE_ENV=production node fix-20190726150000_shorten_field_column_names.js```
2019-08-12 09:26:49 +02:00
Tomas Bures
588cf34810 Fix for #663 2019-08-10 23:17:15 +02:00
Tomas Bures
69ce80ebfd Fix for #663.
Unfortunately, the migration 20190726150000_shorten_field_column_names.js corrupted the segments table. There is no automatic fix. If this affected you, you have to either revert the DB or fix the segments manually.
2019-08-10 23:15:38 +02:00
Tomas Bures
8cd01fe99e Fix for #639 2019-07-26 18:32:14 +05:30
Tomas Bures
02360be75b Various fixes. 2019-07-23 21:16:55 +05:30
Tomas Bures
4e4b77ca84 Fixes.
Added support for help text in custom fields.
Reimplemented the mechanism how campaign_messages are created.
2019-07-22 23:54:24 +05:30
Tomas Bures
e3a5a3c4eb Fixed some bugs in subscription process
Added timezone selector to campaign scheduling
Fixed problems with pausing campaign.
2019-07-10 02:06:56 +04:00
Tomas Bures
4113cb8476 Work in progress on tag language
Fix - message sent to a list not associated with a campaign couldn't be shown in archive - to know which message to show even if the list is not at the campaign, we store test messages in table test_messages
2019-07-05 23:23:02 +02:00
Tomas Bures
00e328a914 Work in progress on introducing tag language. Not tested yet. 2019-07-03 11:58:58 +02:00
Tomas Bures
4e9f6bd57b Work in progress on refactoring all mail sending to use the message sender an sender workers. No yet finished. 2019-06-29 23:19:56 +02:00
Tomas Bures
30b361290b - Refactoring of the mail sending part. Mail queue (table 'queued') is now used also for all test emails.
- More options how to send test emails.
- Fixed problems with pausing a campaign (#593)
- Started rework of transactional sender of templates (#606), however this contains functionality regression at the moment because it does not interpret templates as HBS. It needs HBS option for templates as described in https://github.com/Mailtrain-org/mailtrain/issues/611#issuecomment-502345227

TODO:
- detect sending errors connected to not able to contact the mailer and pause/retry campaing and queued sending - don't mark the recipients as BOUNCED
- add FAILED campaign state and fall into it if sending to campaign consistently fails (i.e. the error with sending is not temporary)
- if the same happends for queued email, delete the message
2019-06-25 07:18:06 +02:00
Tomas Bures
1270ca71f8 Some fixes 2019-05-25 21:18:18 +02:00
Tomas Bures
3e3c3a24fe Further updated on caching. Small change in DB schema to make lookups a bit more performant. Note that if DB migration in the last commit has been run, this commit will need manual update of the database. 2019-04-22 15:41:39 +02:00
Tomas Bures
ef0464bbc9 Further improvements in caching. The state of the cache is now persisted in DB. This persists the cache between server restarts. 2019-04-22 11:41:37 +02:00
Tomas Bures
d482d214d9 Line endings fixed so that we don't have CRLF in Git. Better now than later. 2019-03-27 09:49:29 +01:00
Héctor
433bf31bfa
Adds 'type' property to migration of text-based segment rules
In v2, text-based segment rules need a "type" property. As in v1 the value could contain % wildcards, the default type for migrated rules should be 'like' to support them.
2019-02-17 18:45:35 +01:00
Héctor
d1a1398828
Support for string based segment rules....
...such as email fields.
2019-02-17 00:49:12 +01:00
Tomas Bures
397f85dac4 Harmonization with IVIS 2019-01-04 21:31:01 +01:00
Tomas Bures
2e847460f4 Added the possibility to use "option" field type outside a group. This is convenient to create just a single checkbox. 2018-12-28 20:54:00 +01:00
Tomas Bures
99bd4ad907 Fixed localization which was broken after 19fe5331d2
x_mailer fixed to be '' in mailtrain.sql
2018-12-26 05:24:52 +01:00
Tomas Bures
3b1986116f Fixes in VERP handling.
VERP disable header option moved from config to send configurations.
Some additional logging for VERP.
2018-12-26 09:24:46 +00:00
Tomas Bures
1073d03d1b base.sql and mailtrain.sql updated to fresh v2 DB schema and data 2018-12-21 22:37:30 +00:00
Tomas Bures
89a2aa15a4 Updates in the setup 2018-12-21 20:21:03 +01:00
Tomas Bures
77c64f487d Built-in Zone MTA
Plugin for ZoneMTA for per-message DKIM keys.
2018-12-16 22:35:21 +01:00
Tomas Bures
d103a2cc79 Panels with campaign statistics and some fixes in computation of clicks. 2018-12-16 13:47:08 +01:00
Tomas Bures
fa451fc8da Some more fixes in sources for fields 2018-11-24 06:58:14 +01:00
Tomas Bures
106acd0656 Added sample apache conf.
Fixed fields (source column was not created/deleted when a new column was added/removed)
2018-11-24 06:47:16 +01:00
Tomas Bures
43c6b58793 Completely removed CKEditor 5
Some fixes of bugs from testing in production env.
2018-11-24 00:48:41 -05:00
Tomas Bures
92ca1c0f28 Implemented basic support for GDPR 2018-11-22 00:02:14 +03:00
Tomas Bures
b37ad9863c Finished support for triggered campaigns. So far only smoke-tested for subscription trigger. 2018-11-21 01:41:10 +03:00
Tomas Bures
2edbd67205 New project structure
Beta of extract.js for extracting english locale
2018-11-18 15:38:52 +01:00