Commit Graph

15684 Commits

Author SHA1 Message Date
Jan Lysý
4d6fd85007 Add install npm eslint dependencies
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
Jan Lysý
fc200b3b26 Add eslint-config volume to docker-compose
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
Jan Lysý
73f735ecaa Use moved eslint configuration files
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
Jan Lysý
dcdcc9eb08 Move eslint configuration to a new folder
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
wxa
46a9baba1d Add tests
[MAILPOET-3880]
2022-01-27 16:14:14 +01:00
wxa
5772dc086c Add Woo membership segment backend
[MAILPOET-3880]
2022-01-27 16:14:14 +01:00
wxa
faddc847e5 Add Woo membership segment frontend
[MAILPOET-3880]
2022-01-27 16:14:14 +01:00
Pavel Dohnal
3167198fd3 Release 3.78.0 2022-01-25 13:06:14 +01:00
Rostislav Wolny
8b24b696c0 Add automationId to link select in segment with clicked filter
[PREMIUM-173]
2022-01-25 09:06:30 +01:00
Rostislav Wolny
f15999a891 Add automation id to listing filters
[PREMIUM-173]
2022-01-25 09:06:30 +01:00
Jan Lysý
6a20082782 Add check that createdAt is not null
[MAILPOET-4067]
2022-01-24 10:55:11 +01:00
Jan Lysý
79a40a019c Change return type in CreatedAtTrait
[MAILPOET-4067]
2022-01-24 10:55:11 +01:00
Rostislav Wolny
791f40fd7c Update migration check for email action segments data migration
[MAILPOET-3951]
2022-01-21 15:28:31 +01:00
Rodrigo Primo
905e44e501 Release 3.77.1 2022-01-20 23:23:39 -03:00
Jan Lysý
1da83f7afc Add typecast for the checkout option parameter
[MAILPOET-4074]
2022-01-20 12:48:13 +01:00
Brezo Cordero
824b4566d3 Add comment about files to exclude on qaLintBuild
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
Brezo Cordero
63bb2e1a86 Add vendor and vendor-prefixed files to 7.4 lint
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
Brezo Cordero
19b9275622 Add PHP7.4 lint job
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
Jan Jakes
e58dd589ac Fix typo in env variable name
[MAILPOET-4069]
2022-01-20 09:19:32 +01:00
Jan Jakes
eeb96eacb0 Add a note about issues with NFS in Documents folder on MacOS
[MAILPOET-4069]
2022-01-20 09:19:32 +01:00
Jan Jakes
4ead9e7e9c Unify case of README.md files
[MAILPOET-4069]
2022-01-20 09:19:32 +01:00
Jan Jakes
e7fdcf8c04 Move SUPPORT.md and CONTRIBUTING.md to repository root
[MAILPOET-4069]
2022-01-20 09:19:32 +01:00
Jan Jakes
24fe4c31a7 Fix premium paths for nightly tests
[MAILPOET-4069]
2022-01-20 09:19:32 +01:00
Jan Jakes
409c940151 Remove fake_mail_output in favor of dev/data/mailhog
[MAILPOET-4069]
2022-01-20 09:19:32 +01:00
Rostislav Wolny
1a7f6328dc Update migration version check
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
94fbb62479 Fix email actions segment validation
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
eaad33f0aa Make operator reset condition for opened filter more readable
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
5643bc6ac7 Deprecate email action filter actions that are no longer used
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
75ab2338d6 Remove backward compatibility code for email action filters
This commit cleans up code that is no longer needed after email actions filter data migration.
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
dc55aaa566 Add email actions filters format migration
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
e5fa13231e Update clicked links filter logic that no selected links mean all links
As we always supported the filter even without specified links we needed
to update the logic only for newly added all of operator.
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
ae24da9ea2 Replace not clicked segment filter with clicked variant in UI
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
efa7a55486 Fix cannot access offset PHP stan errors in EmailActionsTest
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
7b47523d27 Add support for all of and none of to clicked links segment filter
[MAILPOER-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
ea8bfdc863 Add multiple emails support with any of and all of for machine-opened
[MAILPOET-3957]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
743276c057 Split EmailActions filter code into 2 methods
With the recent changes the code for building SQL query for email actions based filters became more complex.
This commit splits the code so that it is more readable.
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
8a51b573ab Allow multiple links with any of operator in clicked segment filter
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rostislav Wolny
7abb04d12e Split component for email statistics segment filter configuration
There was a lot of conditional functionality related only to open statistics.
Splitting the component into two improves readability.
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Rodrigo Primo
a6e93f93ff Replace old Subscriber model with Doctrine equivalent
[MAILPOET-4009]
2022-01-19 16:16:55 +01:00
Rodrigo Primo
e95ceac77f Mask the API key when displayed in the info page
This commit adds a new flag to \MailPoet\Helpscout\Beacon::getData() to
mask half of the API key when this method is used to get information for
the System Info page. When it is used to pass information to HelpScout
nothing should change and the full key will be returned.

[MAILPOET-4009]
2022-01-19 16:16:55 +01:00
Rodrigo Primo
e69ed191ea Revert "Update key display"
This reverts commit 052e7e2b71.
2022-01-19 16:16:55 +01:00
Rodrigo Primo
47d896b2da Revert "Using longer string for key"
This reverts commit 42cee63287.
2022-01-19 16:16:55 +01:00
Rodrigo Primo
ac35409326 Revert "Fixing acceptance test errors"
This reverts commit 6f0298b7c6.
2022-01-19 16:16:55 +01:00
Rodrigo Primo
710f61c132 Revert "Fixed acceptance test errors"
This reverts commit f36b61e7f3.
2022-01-19 16:16:55 +01:00
Rodrigo Primo
36aa3a3896 Revert "Fixed fixed types error"
This reverts commit a6a22133d7.
2022-01-19 16:16:55 +01:00
Brezo Cordero
b0dde5c547 Add test for Purchased in Categories segment
[MAILPOET-4201]
2022-01-19 16:16:21 +01:00
Brezo Cordero
a350f668df Add test for Purchased Products segment
[MAILPOET-4201]
2022-01-19 16:16:21 +01:00
Brezo Cordero
c57252a3bd Include all subscribers for 'none of' purchased segments
Remove initial inner join on customers and orders tables to include non customers for 'none of' operator. Applies to Purchased products and Purchased in Categories segments.

[MAILPOET-4201]
2022-01-19 16:16:21 +01:00
John Oleksowicz
15d8c96ee6 Prevent unintended re-use of preview settings
`formData.id` will be `null` for newly created forms, meaning that any
preview settings were getting saved to the key
`mailpoet_form_preview_settingsnull` when editing an unsaved form and
performing any action that would update the preview settings. Whatever
value happened to be saved to that key was always being loaded for the
previewSettings of newly created forms, leading to unexpected results
(e.g. creating a Pop-up form, clicking preview and seeing a form
placement other than "Pop-up").

It seems like we should only need to save these values to local storage
for forms that have been saved. This allows users to navigate away from
a form editor, come back and see the same preview form placement they
were viewing before.

[MAILPOET-3877]
2022-01-19 16:15:50 +01:00
Oluwaseun Olorunsola
1c7a7549bd Add new Amazon SES locations
[MAILPOET-4041]
2022-01-19 16:15:25 +01:00