Pavel Dohnal
0f618cdc64
Remove old Form model from the subscribers test
...
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
942d756b9f
Use Doctrine in form editor
...
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
ca88c96470
Refactor Widget to use Doctrine
...
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
19b99b4ff1
Refactor Captcha Renderer to use Doctrine
...
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
aced9ce0b7
Refactor form renderer to accept Form Entity
...
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Brezo Cordero
3e306974ed
Fix SMTPMapper test
...
[MAILPOET-3171]
2021-09-22 12:48:17 +02:00
Brezo Cordero
51a0899698
Mark most SMTP transport errors as soft
...
[MAILPOET-3171]
2021-09-22 12:48:17 +02:00
Jan Lysý
d0e4ed3892
Remove mailpoet pages from the 'After submit' option
...
[MAILPOET-3675]
2021-09-22 12:34:19 +02:00
Jan Lysý
d6d962a5df
Use property value instead of defaultValue
...
When the user select all and delete the content, then
onChange doesn't work correctly. It was caused by
the wrong property for the set value of the text area.
[MAILPOET-3794]
2021-09-22 12:06:31 +02:00
Rostislav Wolny
f98167a30c
Add confirmation before running integration tests on dev site
...
[MAILPOET-3755]
2021-09-22 12:03:47 +02:00
Pavel Dohnal
0cad857653
Remove test deployment
...
[MAILPOET-3595]
2021-09-22 12:01:27 +02:00
Rostislav Wolny
dac4fb5dd0
Replace clean-webpack-plugin with initial cleanup in Robofile
...
We need to share the same output path (assets/build/js) in more configs
in order to generate a common manifest.json file.
The cleanup plugin and also build-in output.clean setting do the cleanup on emit
and that causes that they delete files we want to keep.
Using different output paths solves the problem with cleanup but it causes that we generate a bunch of manifest.json files
instead of one.
As simplest workaround I chose cleaning the output directory before we trigger the Webpack build in the Robofile.
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
85c4aa7aa1
Remove unnecessary post-instal fix for invalid CSS
...
The issue was already fixed in the @wordpress/block-editor
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
ae19e3f771
Cleanup expose loader configuration
...
We used to need to expose much more libraries for the premium plugin.
Some time ago we moved a lot of premium functionality to the free plugin
and we don't need to expose those modules any more.
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
0f899c3186
Add comment for admin_vendor entry and remove unnecessaty packages
...
@emotion/react @emotion/style don't have to be added here since they are not shared.
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
e1c84f8d6d
Use commons chunk for JS code shared between entry points
...
This is a replacement for previous admin_vendor_chunk
see 422245e3e6/webpack.config.js (L235-L251)
The automatic splitting based on minChunks seems to give better results.
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
c6f9e240d8
Reintroduce clean webpack plugin
...
We used custom script because we were stuck with the old version the cleanup plugin and it had some issues.
Now with webpack5 we can use the plugin again.
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
bf96bbffb7
Fix missing key attribute warning on newsletter stats
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
9bb9e424f4
Fix module resolving for chai
...
Eslint was not able to load chai with webpack import loader due error:
Package path . is not exported from package /node_modules/chai (see exports field in chai/package.json)
Pointing directly to node_modules/chai/index.js bypasses checking exports property in package.json
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
84e67088e5
Use medium+ instance for Circle CI for build job
...
The webpack build exited with code 1 and no error message.
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
9d0ee166fc
Fix cleaning up js dist folder before build
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
e7480abd0e
Fix deprecation warning about hashes in JS production build
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
6a1344d3e2
Fix strict mode errors in Backbone.Supermodel
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
cc796c24ba
Allow overriding global Backbone
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
5788e0fbe2
Fix file naming in manifest.json
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
83ed5d9364
Add process polyfill for browsers
...
This was previously added by webpack4. It is needed in the form editor.
Solves error Uncaught ReferenceError: process is not defined
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
952e18c25b
Use default cache groups chunks
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
c7e4e7d2bd
Update webpack modules
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
84ee3f9b0f
Fix handlebars warning in newsletter test build
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
715f32f5f2
Update configuration for expose, import and export loaders
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
8cdebc39d0
Remove unnecessary jsonpFunction from webpack config
...
This is done automatically on v5
See https://webpack.js.org/blog/2020-10-10-webpack-5-release/#automatic-unique-naming
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
bb0fd44d95
Add fallback dummy nodejs path module
...
The path is required in css module which we use for parsing
custom css string in the form editor.
We don't use functionality which is dependent on nodejs path module
so we can use "dummy" module. Alternatively we could install a polyfill for brower
for the path module but it would increase a package size with functions we don't use.
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
010bc3b8d8
Replace node polyfills configuration with dummy fallback
...
They removed default polyfills but some dependecies require those
so this replaces those modules.
See https://webpack.js.org/migrate/5/#clean-up-configuration
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
48f4c6ab64
Fix import of WebpackManifestPlugin
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Rostislav Wolny
e8d53e2370
Update webpack package
...
[MAILPOET-3214]
2021-09-22 11:56:49 +02:00
Brezo Cordero
1bc94458a5
Release 3.70.0
2021-09-21 08:54:08 -05:00
Rostislav Wolny
b7334544d8
Fix coding style in StatisticsBounces data factory
...
[PREMIUM-154]
2021-09-20 15:24:27 +02:00
Jan Lysý
e6e1589d67
Use correct function for translation with context
...
[PREMIUM-154]
2021-09-20 14:37:05 +02:00
Jan Lysý
545a8f6e1b
Improve description for bounces
translation
...
[PREMIUM-154]
2021-09-20 14:37:05 +02:00
Jan Lysý
35e1463b03
Add automation id for bounces tab
...
[PREMIUM-154]
2021-09-20 14:37:05 +02:00
Jan Lysý
cfe08692c7
Create data factory for StatisticsBouncesFactory
...
[PREMIUM-154]
2021-09-20 14:37:05 +02:00
Jan Lysý
4e49ecfa84
Show bounces tab in stats
...
[PREMIUM-154]
2021-09-20 14:37:05 +02:00
Rodrigo Primo
ffa91da869
Create a proxy method to get the processed date from within NewsletterEntity
...
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
2e354173db
Deprecated old archive filters and add new ones
...
Using new filters is needed as the parameters passed to the filters
changed. If we continued using the same filters, users might run into
fatal errors.
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
0c44e4dbd2
Replace $newsletter->getQueues()->first() with $newsletter->getLatestQueue()
...
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
97d177013f
Refactor \MailPoet\Models\Newsletter::getArchives() to Doctrine
...
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
3ca95ed4da
Add a WP filter to let users change the MP prefix for DB tables
...
[MAILPOET-3798]
2021-09-20 13:07:39 +02:00
Rodrigo Primo
a25a6db1f5
Display the updated_at field using the site timezone
...
This commit changes the logic to display the updated_at field for tasks
in the system status page to use the site timezone.
[MAILPOET-3692]
2021-09-20 10:33:33 +02:00
Brezo Cordero
9acfe4fbee
Fix subscribers clicks stats test
...
[MAILPOET-3796]
2021-09-20 09:18:45 +02:00
Jan Lysý
ef182b50ad
Add acceptance test for error messages in form
...
[MAILPOET-3786]
2021-09-20 09:17:43 +02:00