Commit Graph

126 Commits

Author SHA1 Message Date
wxa
bb1cdc1f5a Add Beamer for a What's New announcement [MAILPOET-1627] 2018-12-17 14:56:49 +03:00
c27a7b6e94 Put back explicit Webpack admin_vendor listing to ensure modules for premium 2018-12-11 12:11:39 +01:00
e634ac71fd Fix overriding baseConfig plugins in Webpack config
[MAILPOET-1644]
2018-12-04 10:22:24 +01:00
a053dda748 Fix export to work also in JS tests
[MAILPOET-1644]
2018-12-04 10:22:24 +01:00
a44148954c Fix setting production environment for Webpack builds
[MAILPOET-1644]
2018-12-04 10:22:24 +01:00
567b5f8964 Reduce size of JS builds by sharing more admin code in admin_vendor
[MAILPOET-1644]
2018-12-04 10:22:24 +01:00
b8a161e1d4 Extract initializations from WebPack & make load order more deterministic
[MAILPOET-1644]
2018-12-04 10:22:24 +01:00
454c927eff Load different versions of MailPoet module more explicitly
[MAILPOET-1644]
2018-12-04 10:22:24 +01:00
e98ea3c0eb Remove libs that are autoresolved by imports, comment why others cannot be removed
[MAILPOET-1644]
2018-12-04 10:22:24 +01:00
ed8325c6f9 Upgrade react to v16
[MAILPOET-1634]
2018-12-03 12:54:07 +01:00
4d5d00f777 Make minified JS code more readable keeping identifier names
[MAILPOET-1606]
2018-11-27 10:12:05 +01:00
a5d1416b45 Minify production JS using UglifyJS Webpack plugin
[MAILPOET-1606]
2018-11-27 10:12:05 +01:00
d4fa041ba8 Convert React.createClass to ES6 classes and createReactClass calls 2018-10-31 21:18:44 +02:00
3102f114bd Add feature announcement
[MAILPOET-1522]
2018-10-11 19:37:45 +02:00
088a44a107 Merge pull request #1525 from mailpoet/satis-meter-nps-poll
Satis meter nps poll [MAILPOET-1539]
2018-10-02 06:03:01 -04:00
5a13ed746f Use hash of whole build instead of named modules and chunkhash
[MAILPOET-1548]
2018-10-02 09:51:34 +02:00
19086f8457 Add webpack named modules plugin into build
We need consistent module indexes within our build to be able to use chunkhash for file names
[MAILPOET-1548]
2018-10-01 16:16:15 +02:00
94efc67658 Move tracking code into a sepparate file
[MAILPOET-1539]
2018-09-27 10:43:17 +02:00
4a641ba94e Create permanent notices
[MAILPOET-1492]
2018-09-19 10:24:37 +02:00
8ee8498bd5 Move welcome emails to free plugin
[MAILPOET-1518]
2018-09-05 13:00:29 +02:00
5621ab22bc Add basic intro.js onboarding & its initialization
[MAILPOET-1446]
2018-08-16 10:22:57 +02:00
e2b40fee37 Add welcome wizard application
[MAILPOET-1439]
2018-08-13 10:34:34 +02:00
2d30a0884b Refactor media manager from image block to a behavior [MAILPOET-1403]
This will make the media manager reusable in other blocks like e.g. container.
2018-07-16 17:02:24 +02:00
a8f75fb927 Export newsletter listings heading component for premium plugin [PREMIUM-84] 2018-06-29 11:54:16 +02:00
8393bac51b Upgrade to webpack 2 2018-06-13 13:33:27 +01:00
9a11d4cc82 Update babel 2018-06-13 10:57:40 +01:00
df2cd9e6e3 Add feedback tooltips
[MAILPOET-1320]
2018-06-06 16:24:46 +01:00
0a298f5fad creating new ALC block and widget 2018-05-23 07:42:30 +00:00
df58322f0e Move old versions code to own class
[MAILPOET-1316]
2018-05-04 15:33:56 +01:00
4955673885 Exposes components needed for automatic emails listings 2018-04-11 19:03:03 -04:00
585f9bcc92 Extracts editor initialization and bundles with admin vendor
Allows displaying custom breadcrumbs based on email type
2018-04-11 19:03:03 -04:00
658cdd37ac editor: Communication fix removed since bb.radio is in marionette since 3.0 2018-03-15 11:23:55 +01:00
8b25acf82c Updates component's name 2018-02-27 16:43:41 -05:00
774e8d94b5 Displays automatic email types and events
Adds WooCommerce email type for testing purposes
2018-02-13 14:43:19 -05:00
4ffadc990e Exposes components necessary for displaying events' scheduling options 2018-02-13 14:41:30 -05:00
874a37303a Exposes Selection form field 2018-02-01 08:59:12 -05:00
f0ab42adf1 Expose packages for premium
[PREMIUM-38]
2017-10-18 10:08:04 +01:00
99b6a287f8 Highlight a container block when hovering over its tools [MAILPOET-1088] 2017-09-11 15:32:45 +01:00
1688d4dbe1 Split support inquiries into Free and Premium inboxes [MAILPOET-869] 2017-08-31 12:02:20 +03:00
8c151d2d11 Fix failling test
[MAILPOET-976]
2017-08-15 14:49:22 +02:00
3a0669e1a2 Fix react/no-danger eslint problem
[MAILPOET-976]
2017-08-15 14:49:22 +02:00
2d702dd5d3 Add simple tooltip to help
[MAILPOET-976]
2017-08-15 14:49:22 +02:00
43fa12ec08 Add help without any content
[MAILPOET-949]
2017-06-28 15:00:53 +01:00
836b7179e9 Improve ajax errors on form submission
[MAILPOET-929]
2017-06-26 13:43:32 +01:00
167fb86927 Adds manifest to JS assets
Adds conditional assets caching based on environment
2017-06-20 11:33:06 -04:00
812c6634ba Mixpanel analytics [MAILPOET-686] (#940)
* Send analytics data to mixpanel

[MAILPOET-686]
2017-06-20 12:20:50 +03:00
11af014d9d Remove napa
It caused errors while running npm commands
I found alternatives to those two packages
which were used with napa
2017-06-15 18:11:05 +01:00
c78933f7c4 Numerous fixes following the code review:
H1 title should be "Welcome to MailPoet version 3!", as per wireframes
remove logo in top right of the page
remove the classes feature-section one-col to the parent
new styles for #logger
progress bar: ensure that the color and size for the font are the same as our current progress bar.
display the progress bar at 100% when the import of subscribers and lists is complete
move loadSQL() function in tests/_support/Helper/Database.php
remove CSS browser prefixes
use AMD module definition to embed the JavaScript
remove extra whitespace in JavaScript file
remove the redundant functions descriptions
rename objectPlugin to mailpoet_mp2_migrator
replace private $chunks_size by the constant CHUNK_SIZE
add the constant IMPORT_TIMEOUT_IN_SECONDS
replace Helpers::mysqlDate() by $datetime->formatTime(time(), \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT)
make the log messages translatable
fix PHPDoc
replace Env::$plugin_name by 'mailpoet' in the translation functions
use $snake_case for variable names, use lowercaseCamelCase for method names, use CamelCase for class names
define MP2 table names as constants
add spaces around ternary operators
use the models for MP3 entities, instead of counting via raw SQL queries
use \ORM::for_table('some_table')::count()
2017-06-12 13:13:05 +02:00
c984ac7a66 New: Display the number of data to migrate
Several fixes following the code review:
- For styles we use Stylus. (http://stylus-lang.com/)
  In Stylus styles curly brackets and terminating semicolons are unnecessary. Indentation is sufficient to denote blocks of styles
  You can also use variables to avoid duplication (e.g. mentioning the same color multiple times)
  Vendor prefixes are not necessary. We use the Nib mixin for Stylus to handle those (http://tj.github.io/nib/)
  => DONE

- `admin.js` bundle is included on all admin pages, so we need to ensure that migration fires only on the migration page and nowhere else.
  You can even create a separate bundle only for migration files, as they won't be necessary on other admin pages.
  => DONE

- MP2MigratorAPI => MP2Migrator endpoint would be just as fine
  => DONE

- For storing migration files, you can use the `Env::$temp_path` path
  => DONE

- `proposeMigration()` the method name disagrees with the comment.
  Comment suggests it tests if migration can be or should be performed
  Method name suggests that it proposes doing the migration (to the user?) - not very clear
  => DONE: the new name is isMigrationNeeded()

  And not only does it test, it may also update the `mailpoet_migration_complete` option, which is confusing and is an unexpected side-effect.
  => DONE

  The migration class itself `MP2Migrator` shouldn't even care about _GET, _REQUEST or _POST arguments. It should only work with what is passed to it.
  => DONE

- In views, please make sure all human-friendly texts use WP's gettext functions for translations (e.g. __('text'))
=> DONE
2017-06-12 13:12:58 +02:00
dd7f959731 Migration from Mailpoet 2 to Mailpoet 3 : phase 0
Interface
2017-06-12 13:12:57 +02:00