fred
37a9fd9e1b
Use Setting::getValue() and Setting::setValue() instead of get_option() and update_option()
2017-06-12 13:12:59 +02:00
fred
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
fred
a1ea56f505
Coding standard fixes
2017-06-12 13:12:58 +02:00
fred
dd7f959731
Migration from Mailpoet 2 to Mailpoet 3 : phase 0
...
Interface
2017-06-12 13:12:57 +02:00
mrcasual
35c25d3337
Updates length to support IPv4 mapped IPv6 addresses
2017-06-08 13:45:50 +01:00
mrcasual
ae25e95d51
Updates length of columns with IP addresses to 39
2017-06-08 13:45:50 +01:00
stoletniy
95072a9ac5
Restore empty license key warnings [MAILPOET-933]
2017-06-07 12:39:45 +03:00
stoletniy
580dd38b3a
Rename methods for consistency and better readability [PREMIUM-9]
2017-06-07 12:39:44 +03:00
stoletniy
47d4e98aae
Integrate installer with the Release API [PREMIUM-9]
2017-06-07 12:39:43 +03:00
stoletniy
7ebb7bac17
Add Premium installation/activation UI [PREMIUM-9]
2017-06-07 12:39:43 +03:00
stoletniy
e10fa065bd
Add Premium page [MAILPOET-885]
2017-06-07 12:30:42 +03:00
stoletniy
58faf64a5c
Add a Premium page link to bounced subscribers listing [MAILPOET-887]
2017-06-07 12:30:39 +03:00
stoletniy
f7efe44f09
Fix ServicesChecker behavior, make MSS check stricter [MAILPOET-890]
2017-06-07 12:30:38 +03:00
stoletniy
7aa0f21d11
Rework 'Send with...' tab UI, make a single license key field [MAILPOET-890]
2017-06-07 12:30:37 +03:00
Tautvidas Sipavičius
c56b56f4aa
Apply charset and collation only if they are specified
2017-05-30 21:05:01 +03:00
Tautvidas Sipavičius
a071a14eec
Update only those queries, for which conversion will yield correct char
...
lengths
2017-05-24 15:45:12 +03:00
stoletniy
5ae006b10f
Update plugin version [MAILPOET-748]
2017-05-24 15:45:12 +03:00
Tautvidas Sipavičius
9d21ebd26e
Fix a comment. UTF8MB4 is a superset of UTF8
2017-05-24 15:45:12 +03:00
Tautvidas Sipavičius
fcff6de3c3
Skip conversion for charset utf8 -> utf8mb4
2017-05-24 15:45:12 +03:00
Tautvidas Sipavičius
a6eb1b06da
Add connection charset sync with WP and convert existing data to it
2017-05-24 15:45:12 +03:00
Vlad
8b13889c7a
Adds one entry point for both JSON and MP APIs
...
Removes endpoints folder and moves versions to the root
JSON API folder
2017-05-16 20:56:55 -04:00
Vlad
398d7d3d80
Moves current API under JSON namespace
2017-05-16 20:56:54 -04:00
stoletniy
e71e23bbb5
Temporarily hide invalid key warnings when the license key isn't specified [MAILPOET-911]
2017-05-15 20:16:29 +03:00
Alexey Stoletniy
2eb98905b6
Encapsulate date formatting within the DateTime class [PREMIUM-4]
2017-05-09 08:54:12 +03:00
Alexey Stoletniy
4b1f216cd3
Use WP's date format instead of a hard-coded one [PREMIUM-4]
2017-05-05 18:57:15 +03:00
Alexey Stoletniy
3d5f13a2b8
Fix code style [PREMIUM-4]
2017-05-05 18:41:19 +03:00
Alexey Stoletniy
a7260cba3d
Make the Premium key check stricter, split a unit test into more granular ones [PREMIUM-4]
2017-05-05 18:09:00 +03:00
Alexey Stoletniy
787e022382
Rename license key constants and vars, optimize error generation [PREMIUM-4]
2017-05-05 18:04:52 +03:00
Alexey Stoletniy
3cb08e3c09
Rename MSS check methods to better distinguish them from Premium ones [PREMIUM-4]
2017-05-04 09:36:38 +03:00
Alexey Stoletniy
0474985866
Add unit tests [PREMIUM-4]
2017-05-04 09:25:34 +03:00
Alexey Stoletniy
0fbc7fb7eb
Add Premium key validation [PREMIUM-4]
2017-05-03 12:20:13 +03:00
Alexey Stoletniy
fbc0a3ad8d
Add detailed stats page support in Free [PREMIUM-1]
2017-04-25 12:45:49 +03:00
Vlad
15ddc8454e
Adds intval filter and fixes issue with number format applied on IDs
...
>=1000
2017-04-24 19:25:17 -04:00
Vlad
1dd6c91529
Updates missing requirements language
2017-04-16 23:54:10 -04:00
Vlad
c4f0426775
Adds checker for XML and ZIP extensions
2017-04-16 21:10:15 -04:00
Alexey Stoletniy
16dc81150d
Execute mailpoet_initialized hook earlier after setup [PREMIUM-2]
...
This is done because Router can seize the request and prevent subsequent actions like Premium hooking from being run, so hooks didn't work in cron daemon.
2017-03-20 12:08:40 +03:00
Tautvidas Sipavičius
59f408846a
Make all default newsletter templates read-only
2017-02-21 16:32:03 +02:00
Tautvidas Sipavičius
64606e69cf
Fix Populator to update existing newsletter templates and remove duplicates
2017-02-21 15:46:28 +02:00
Tautvidas Sipavičius
953c124ef0
Move newsletter template assets to be shared through WP plugin repo
2017-02-21 15:46:28 +02:00
Tautvidas Sipavičius
b3abf46604
Update outdated newsletter template translation strings
2017-02-20 14:58:53 +02:00
Tautvidas Sipavičius
6f19a1593e
Fix translations from GDocs based on FxB's feedback [MAILPOET-819]
2017-02-20 14:58:53 +02:00
stoletniy
afeaa00fc7
Merge branch 'master' into update_sending_methods_strings
2017-02-01 14:33:05 +03:00
Tautvidas Sipavičius
282199d362
Merge pull request #784 from mailpoet/sending_svc_key_validation
...
Add sending service key validation [MAILPOET-743]
2017-02-01 13:29:08 +02:00
Tautvidas Sipavičius
8abec208fc
Rewritten some translation strings
2017-01-30 21:35:49 +02:00
Tautvidas Sipavičius
9f7ae122e3
Add missing periods to translation strings
2017-01-30 21:33:59 +02:00
Alexey Stoletniy
22caba31e3
Update sending method strings for the new shop [MAILPOET-794]
2017-01-30 13:44:26 +03:00
Vlad
d100d61403
Updates KB links
2017-01-28 11:07:41 -05:00
Vlad
1dafc4da04
Adds CSS Parser to the list of vendor classes
2017-01-27 19:05:44 -05:00
Vlad
063c271e40
Fixes PDO extension check condition
2017-01-27 18:49:33 -05:00
Alexey Stoletniy
b9c45b46ba
Remove a duplicate function [MAILPOET-743]
2017-01-27 16:28:58 +03:00