Commit Graph

16919 Commits

Author SHA1 Message Date
David Remer
4931ab47cb Use already assigned $this->workflowStorage instead of using di container
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
ea3a40863d Replace assert() with $this->assert*
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
0679658d33 Rename WorkflowStorage::flush() to WorkflowStorage::truncate()
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
dba4b266dd Add test for WorkflowPutEndpoint
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
3bd71638f4 Add ToDo comment
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
6e3e8c7326 Test not loggedin users can not get workflow templates
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
44902eb33c Extend tests for WorkflowCreateFromTemplate enpdoint
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
bbb130f3ea Add tests for WorkflowsGetEndpoint
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
3aa0d0b910 Add flush method to WorkflowStorage
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
Jan Jakes
2e621e9339 Replace deprecated properties with their newer variant
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
c2a3feeb6d Reset step error when step is edited
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
9e9d62a9be Add missing aria-label (fixes warning)
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
a085b33b62 Implement workflow error list popover in header
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
5be82a17ad Display number of errors in editor header
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
e1b81c6bb8 Display "not set" error in step nodes
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
64acd597ca Save step errors to editor store
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
4bb2fa7599 Add step error data to automation editor store
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
4bf7e4c62c Add chip component
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
79c60ff7a1 Make step args that need to be set required
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
99879d83f6 Simplify condition for full step validation
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
a82896e794 Collect all step error types instead of terminating on the first one
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
04ca19296b Add rule for step order validation
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
a052cdcceb Allow custom validation for all step types
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
9d8cb02006 Add valid step rule for custom step validation
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
14eb8db540 Propagate error details to REST API responses
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
6638707282 Add validation rule identifiers to exceptions and responses
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
9da204489d Collect step args validation errors
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
a41445cdaa Add tests for unknown step rule and step args rules
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
68c51c0f5c Convert WorkflowStepValidator to node-visitor-based rules
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
881dbfbe08 Fix root step args schema definition
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
19ce56fa5f Remove unused exceptions
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
5f5bbe15c8 Fix typos in error codes
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
9e86fa69b9 Add missing return typehint
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
7425c73d9e Add error messages to action validation, use step validation args
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
b6ba15c6c3 Introduce step validation args, similarly to step run args
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
a2948efc46 Rename namespace with defs for 3rd-party integrations to "Integration"
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Lysý
3773bc4985 Add link to subscriber doc
Because we want to avoid duplicities, we added a link to the method getting a subscriber.
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
66000fada4 Add test cases for MP API getSubscribers
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
ae0d60df3a Add getSubscribers documentation
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
083bad3051 Add subscriber tags to documentation
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
668aabb00d Add updatedAt to selection
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
2139b4d035 Fix typo in doc/Readme.md
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
296a47f8e7 Add new API method getSubscribers
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
f6928c982f Add filtering by updatedAt
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
879befcc76 Add setting updatedAt to Subscriber factory
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
d2247a1c76 Refactor parameter from int to entity
[MAILPOET-4372]
2022-10-12 11:44:37 +02:00
Jan Lysý
c93c42518a Add return value for backward compatibility in tests
[MAILPOET-4372]
2022-10-12 11:44:37 +02:00
Jan Lysý
09a54fdcd1 Fix dependencies in tests
[MAILPOET-4372]
2022-10-12 11:44:37 +02:00
Jan Lysý
a1e96c63a0 Remove old model usages from AutomaticEmailScheduler
[MAILPOET-4372]
2022-10-12 11:44:37 +02:00
Jan Lysý
745ff6af2a Remove SendingTask usages from AutomaticEmailTest
[MAILPOET-4372]
2022-10-12 11:44:37 +02:00