Commit Graph

15684 Commits

Author SHA1 Message Date
cfce217cf6 Fix typings of media upload component, remove unused property
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
4c14ed2204 Unify "below_post" strings to "below_posts" (that is used in the form data)
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
9e19d06c26 Ignore types in marketing optin block for now
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
30e7b8797e Remove no longer necessary typings
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
43210eff71 Add missing types for gradients
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
ee1e87358f Add missing types for useSetting
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
f5bece60ee Add __experimentalLibrary into block editor types
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
4d3933e12f Install block-editor-related @types packages
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
1fde80de8e Allow all modern features in TS code (TS only checks types, Babel transpiles)
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
7490ee87d7 Fix default value for a boolean flag
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
606d0902dc Remove non-existent property
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
a5375ffd44 Fix component properties according to WP types
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
2b27f537f9 Add types for custom font-family select options
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
ec89251db2 Use WP rich text types instead of custom types
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
ec9324d3e8 Use more precise type for size unit
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
8b45922b86 Fix incorrect type definition
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
f346dbfd02 Remove problematic "object" type
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
da624cff1f Remove no longer necessary types
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
abae76f8df Pass string values to select control
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
beb0d0f3da Make store controls function signatures compatible with @types/wordpress__data
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
7695262330 Use form type TS types in getFormWidth selector
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
1b2532efe5 Add form placement data types
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
a17b47a2ec Convert form editor store selectors to TypeScript
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
ab828b2708 Convert form editor store to TypeScript
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
ce5b6bd38d Avoid type errors caused by untyped store actions in dynamic segments
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
9254b43e7b Avoid type errors caused by untyped store actions in settings
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
b12cb1f8ba Type select and dispatch functions for settings store
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
8aa42b9ba0 Fix numeric select values not being passed as strings
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
be9b6722e4 Install all non-block-editor-related @types/wordpress__<...> libraries
[MAILPOET-4323]
2022-05-11 14:26:58 +02:00
32c27b91c1 Add handling for more 5xx errors from the bridge
[MAILPOET-4209]
2022-05-11 09:13:09 +02:00
0996a64f32 Release 3.89.0 2022-05-10 14:44:19 +03:00
acd8fbb773 Move MailPoet cron users to WordPress cron
[MAILPOET-4271]
2022-05-09 13:06:28 +02:00
4a2d89c307 Remove MailPoet trigger from UI
[MAILPOET-4271]
2022-05-09 13:06:28 +02:00
33e5e15e98 Remove MailPoet Trigger
[MAILPOET-4271]
2022-05-09 13:06:28 +02:00
6e0b639fd3 Use intval instead of (int) to remove PHPStan errors
[MAILPOET-4281]
2022-05-09 13:05:21 +02:00
ce27c2ed33 Add tests for meta in SubscribersEmailCount task
[MAILPOET-4281]
2022-05-09 13:05:21 +02:00
add4039495 Cast type of meta in SubscribersEmailCount task for backwards fix
[MAILPOET-4281]
2022-05-09 13:05:21 +02:00
bb3d1c2a7c Fix type error in meta in SubscribersEmailCount task
[MAILPOET-4281]
2022-05-09 13:05:21 +02:00
ed164ac397 Replace Paris code with Doctrine in NewslettersResponseBuilder.php
[MAILPOET-4138]
2022-05-09 13:04:56 +02:00
dd6cbbbbce Create SendingQueuesRepository::countAllByNewsletterAndTaskStatus()
This method will be used in a subsequent commit to replace some of the
usages of the method SendingQueue::findTaskByNewsletterId() as part of
the refactor from Paris to Doctrine.

[MAILPOET-4138]
2022-05-09 13:04:56 +02:00
abd4c7b52d Switch WooProductBlock hooks and extender class by version
[MAILPOET-4276]
2022-05-09 10:41:12 +02:00
fe2397a65e Optimize WordPress cron trigger SQL
Majority of scheduled tasks DB records are completed tasks.
We check completed tasks only for Migration worker task type.
Excluding other workers' completed tasks significantly speeds up the query
on sites with longer history. E.g. on mailpoet.com the query sped up from 0.6s to 0.003s.

[MAILPOET-4314]
2022-05-09 10:19:20 +02:00
4113c35dc7 Replace Paris code with Doctrine in \MailPoet\Cron\Triggers\WordPress
[MAILPOET-4140]
2022-05-05 19:14:21 +02:00
8a83726994 Replace Paris code with Doctrine in WordPressTest
[MAILPOET-4140]
2022-05-05 19:14:21 +02:00
0f32da7dda Update composer
[MAILPOET-4268]
2022-05-05 09:29:49 +02:00
c50715698c Run cache cleanup command within do install command
Changes introduced in new versions of packages often cause incompatibility issues in generated and cached files.
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
51e67dca73 Add do command for cleaning up generated and cached files
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
b02d6689c6 Update changelog 2022-05-03 15:43:08 +02:00
36362a4684 Release 3.88.2 2022-05-03 15:43:08 +02:00
d3335fc679 Fix HelpTooltip component import
[MAILPOET-4288]
2022-05-03 13:46:13 +02:00