Commit Graph

21439 Commits

Author SHA1 Message Date
David Remer
e7d9f3d362 Remove unnecessary check.
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
2187f4a2d0 Use DISTINCT in count method
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
1ddf69b490 Move delete metas in if clause
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
4a49143422 Add primary key to automation_run_subjects table
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
b5eaf6d115 Rename hash method to getHash
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
6012a139cb Improve name of counting method
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
c68fc1378c Improve name of "run only once" meta
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
a96d2388f4 Use serialize for the hash generation
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
c847f69e9d Remove unnecessary brackets
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
dd3b37aba8 Improve names for all meta methods
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
8d41b5521c Fix typo
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
cf6f4f204d Use array_values for filtered subjects
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
da5f5b0b90 Improve formatting
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
1db97d2301 Simplify getting run ids
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
936de6ec30 Prevent calling toArray() twice
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
1b17c04301 Update templates to run only once
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
67f6b490bf Allow setting meta values in the templates
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
2ef6c8c9b2 Use new Automation data factory in other tests
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
83599e7ba9 Fix test to account for subject_keys and meta
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
e7868f033d Set existing automations to run only once
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
c733e088c2 Add test for run once setting
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
93cfffe295 Allow sending an email multiple times
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
fcf6e738c7 Interrupt automation run creation if a run already exists and only_once setting is set
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
38e7346b6e Show setting only in combination with correct triggers
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
7210fad0e1 Add subject_keys to Step definition
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
9e016bfc07 Add hash to Subject
The hash gives us a new column in our table, which we can
use to query a specific combination of args and key more
efficient

[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
230c9f183d Add setting to run the automation only once per subscriber
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
741d86d7ea Add action to update meta data
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
2d709b6249 Extend AutomationPutEndpoint to receive meta data
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
0d888ce8e4 Make meta data available in editor
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
7b788387fe Render automation sidebar dynamically
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
48e2c5f945 Add filter to decide whether an automation run should be created
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
60541209ff Test full validation method in Automation
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
63141bca95 Test the automation comparison method
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
8cfb93a3b6 Add meta data to Automation
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
cd9bf9107f Move createAutomationRun method to integration tester
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
7379b83a92 Move createAutomation method to integration tester
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
c4faa53386 Store run subjects in extra table
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
Veljko
d406e7c05e Complete the test and update xk6-binary file to the latest
[MAILPOET-4956]
2023-02-28 14:47:52 +01:00
Veljko
14e2fcfef3 Add first part of the k6 test adding a subscriber
[MAILPOET-4956]
2023-02-28 14:47:52 +01:00
Jan Lysý
cf2cdde7e5 Release 4.7.1 2023-02-28 14:44:48 +01:00
Jan Lysý
518918b675 Change pending approval notice from error to warning
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
986ce4bb30 Remove duplicated class name
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
612500c612 Change the value of option name constant
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
22b0278003 Add notice when the subscription is waiting on approval
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
3d0c3cbed9 Change used classes for pending approval message
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
fce2c5e45e Change message for pending approval
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
82e917f3f5 Fix warning about missing key from Reach
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
93ae658f5c Add link to settings on congratulatory page
[MAILPOET-4640]
2023-02-27 11:00:02 +01:00
Jan Lysý
da3ec8c9a8 Fix getting max subscriber id
[MAILPOET-5084]
2023-02-27 09:37:43 +01:00