Commit Graph

17035 Commits

Author SHA1 Message Date
Jan Jakes
32d310d999 Add listing api error handler
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
c76d18e647 Add edit workflow link
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
865706c112 Extract edit workflow from cell to a generic action
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
3238049828 Add undo trash button
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
a41de82030 Add workflow duplicate/trash/restore/delete success notices
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
ccec1faeb1 Add notices component for automation listing
This component combines data store from @wordpress/notices together with
MailPoet's notice rendering that is suitable for listing.

[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
b19887add0 Remove duplicate notices div
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
ba2cb75877 Add delete confirmation dialog
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
b89905aa80 Add trash confirmation dialog
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
a25e879cac Add delete workflow action
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
0106c5123d Add restore workflow action
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
2cb20a8f63 Add trash workflow action
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
fe1a994442 Add duplicate workflow action, use dropdown from @wordpress/components
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
70889ab06d Load workflows list from store
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
aab6865f50 Initialize automation listing store
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
efd32043e3 Add workflow count to automation listing page
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
3eaa13a421 Add store for automation listing
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Pavel Dohnal
80d2ab44a3 Release 3.101.0 2022-10-18 14:42:07 +02:00
Sam Najian
0f45727ddc Add a new test case when verifying creator key with API
[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Sam Najian
cdb5b0d3cd Extend the test verifying correct storing of MSS key states
[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Sam Najian
9e42555acf Remove ts type casting
[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Sam Najian
0a9b7cec7d Fix the issue causing acceptance to fail
When normalizing js data, the ajax response code was omitted

[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Sam Najian
d7849a2a54 Assign a better name to the message component when MSS is active
[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Sam Najian
ff7913952b Update bridge tests for 403 error code
[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Sam Najian
5f4a8b80e8 Aknowledge receiving error 403 on frontend and hide MSS active
When receiving error 403, the frontend should not show
that MSS is active

[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
Sam Najian
db94ec52e6 Acknowledge error code 403 with a different message
When recieving error code 403 from the Bridge, it's treated
as success but with with different message

[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
dependabot[bot]
bbe9e82f2e Bump twig/twig from 3.3.10 to 3.4.3 in /mailpoet/prefixer
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.3.10 to 3.4.3.
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.3.10...v3.4.3)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 11:49:35 +02:00
David Remer
524e403a88 escape string for usage in JavaScript
[MAILPOET-4694]
2022-10-17 10:26:38 +02:00
Jan Jakes
1747d9c1c9 Fix wrong import
[MAILPOET-4540]
2022-10-17 11:21:03 +03:00
Damien Alleyne
0c9e445fea Localize plugin description
[MAILPOET-4709]
2022-10-17 09:21:35 +02:00
Jan Lysý
8b1eabb765 Remove duplicated annotation for filter
[MAILPOET-4717]
2022-10-17 09:12:10 +02:00
Jan Lysý
47ee47c372 Add getSubscribersCount documentation
[MAILPOET-4717]
2022-10-17 09:12:10 +02:00
Jan Lysý
8f38dc451e Add test cases for MP API getSubscribersCount
[MAILPOET-4717]
2022-10-17 09:12:10 +02:00
Jan Lysý
375a6f8a4d Add new method getSubscribersCount
[MAILPOET-4717]
2022-10-17 09:12:10 +02:00
Jan Lysý
35fb4979a3 Move building listing definition to private method
[MAILPOET-4717]
2022-10-17 09:12:10 +02:00
Jan Jakes
b696dfd066 Add link from automation editor back to listing
[MAILPOET-4675]
2022-10-14 15:09:14 +03:00
Jan Jakes
506cb8b732 Ensure workflow was trashed before deleting it
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
1b20bf45dd Move workflow list response building to workflow mapper
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
dd033d2f78 Use workflow mapper on automation editor page
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
e40665fc4a Add missing trailing comma
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
7b2dc2d172 Add check that workflow hasn't been duplicated when not allowed
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
70344b0e84 Add test for workflow delete endpoint
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
2a4b126538 Add test for workflow duplicate endpoint
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
98a701419a Reuse workflow mapper in create from template endpoint
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
b01d050f1d Extract workflow delete logic to a controller
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
89c43a5cb9 Extract workflow duplication logic to a controller, fix some issues
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
John Oleksowicz
6158f5a64b Prevent duplicates from having too-long names
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
John Oleksowicz
169b6c4151 Ensure createWorkflow never attempts to use ID
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
John Oleksowicz
4e82c5334b Add ability to permanently delete workflow
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
John Oleksowicz
a4c8caa664 Add basic duplication ability
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00