Jan Lysý
2af076ab83
Delete FormFactory
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
8ae5219afa
Change link in post-editor-block
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
e1f83d4b51
Remove code for creating a new form
...
This code was unreachable because the flow for form creation was changed.
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
43d9616fad
Change parameters for history.replaceState
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
cb48009d87
Add acceptance test for new form cancel
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
74441ba881
Ensure form id in url
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
64acc14cd5
Save editor URL in store
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
93eb9a6886
Set form id in store on save
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
42e73437d9
Don't create a form on template select
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
1a3f16a3c0
Remove action create from endpoint
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Pavel Dohnal
9977ed75fb
Deprecate the form model
...
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
b94b8f119a
Remove old form model from MP2 migrator
...
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
05d69913a6
Remove old Form model from the widget test
...
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
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