Commit Graph

15684 Commits

Author SHA1 Message Date
Jan Jakes
2322ec909c Use new Transifex CLI
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
Jan Jakes
1114925a24 Migrate .tx/config to new CLI
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
Jan Jakes
21d4df0c9b Add Transifex CLI wrapper that auto-downloads executables
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
Jan Jakes
38860c0976 Use stricter TypeScript checks
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
9af61c9b8f Rewirte MailPoet.Ajax to TypeScript
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
33e16dfeff Check for unused parameters
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
7e5322a214 Use naming conventions from airbnb config
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
35b59d407f Replace "import * as React" with specific imports
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
133d05883b Expose react/jsx-runtime for premium plugin
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
3347f60e9f Extract tsconfig to tsconfig.base.json
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
71b84d5004 Remove unused config option
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
c29c79f8bf Remove eslint rules already covered by extended configs
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
ed06f4165d Fix import cycles
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
66361f7ec9 Fix wrong index.ts re-exports
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
c48fbf8c6d Fix some eslint airbnb-typescript detected errors
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
9039c576b0 Allow named default exports
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
84018d8f35 Autofix airbnb-typescript eslint rules
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
1c9c66c94c Put standard eslint rules before airbnb configs
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
2fc77cf1fe Add airbnb-typescript configuration to ESLlint
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
ad0046cf9f Install eslint-config-airbnb-typescript
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
503d445486 Sort configuration 2022-03-16 13:15:23 +01:00
Jan Jakes
6fb1894f97 Remove tsconfig comments
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
054cf1dda1 Fix code to use new JSX transform
This was done using "update-react-imports" codemod.

[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
2d4c4db5d0 Use new JSX transform rules in ESLint
[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Jan Jakes
3a86cc963c Use new JSX transform in Babel
See: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html

[MAILPOET-3915]
2022-03-16 13:15:23 +01:00
Oluwaseun Olorunsola
e46792ec51 Release 3.84.1 2022-03-15 12:52:40 +01:00
Ján Mikláš
ffcbc358a1 Remove empty line in translatable string
[MAILPOET-4182]
2022-03-14 12:09:24 +01:00
Brezo Cordero
5dc215efa7 Improve comments and tests for inactive subscribers
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
Brezo Cordero
6e6720d9f1 Remove old code and comments
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
Brezo Cordero
11cd756e6d Deactivation requires 3 received emails
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
Brezo Cordero
3fca53f350 Also count machine opens and clicks as engagement
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
Sam Najian
2cfd7d458b Add acceptance test for newsletter submit button caption
[MAILPOET-4163]
2022-03-14 10:15:35 +01:00
Sam Najian
b0004d4d4a Fix issue with getting isFuture when scheduling newsletters
- Update tests
- Update tsconfig to include the ts tests
- Adjust eslint.ts.json config to work with tests

[MAILPOET-4163]
2022-03-14 10:15:35 +01:00
Sam Najian
6d5215355d Add type definition for fields
- Convert ga_tracking.jsx to tsx
- Update type definitions in StandardScheduling component

[MAILPOET-4163]
2022-03-14 10:15:35 +01:00
Sam Najian
0e18340cf8 Convert send/standard.jsx to tsx
- Define NewsLetter type
- Define component props type

[MAILPOET-4163]
2022-03-14 10:15:35 +01:00
Jan Lysý
dc9d803aa2 Use wp config create in setup.bash
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
2ae1a67b8f Add force parameter for php-scoper
The build was failing due to changes in php-scoper.
So we need to force building.
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
3c224cd02b Update consolidation/robo package
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
29d4e9e256 Fix escaping parameters in idiorm for PHP8.1
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
76393f557d Use wp cli command for set WP_DEBUG
I used wp cli command to prevent duplicities.
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
2768ad055f Update php images in circle config
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
82e05dfe0f Add fixes for better compatibility with PHP8.1
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
9e19851ba7 Fix WP compatibility for PHP8.1 in tests
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
d86c59b606 Add fix script for rmccue/requests
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
f4e43d8d5a Change php config location in setup.bash
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
fe402dc4db Use image with php8.1 for latest executors
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Lysý
f3fa51b5b0 Update tools in install script
[MAILPOET-4015]
2022-03-14 09:38:20 +01:00
Jan Jakes
efdca49f2e Use LIKE escaping from $wpdb
[MAILPOET-4055]
2022-03-14 09:36:21 +01:00
Jan Jakes
686e046c40 Fix trigger_key column type
[MAILPOET-4055]
2022-03-14 09:36:21 +01:00
Jan Jakes
952696fe42 Check for workflow run status in workflow runner
[MAILPOET-4055]
2022-03-14 09:36:21 +01:00