fred
472be3b071
Import the MP2 users lists
...
Import the MP2 users
Add the table "imported_data_mapping"
Add the function Helpers::mysql_date
2017-06-12 13:13:00 +02:00
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
Vlad
6c777ca074
Reloads subscriber or else status and other fields populated at save
...
time are not returned
Schedules welcome notifications only for subscribers with "subscribed"
status
Extracts confirmation email sending/welcome notification scheduling into
separate functions for easy testing
2017-06-11 12:16:34 -04:00
Vlad
c91f8ccc7a
Replaces SwiftMailer's mail() method with WP's PHPMailer
2017-06-09 09:52:22 -04:00
Tautvidas Sipavičius
5029b73027
Merge pull request #924 from mailpoet/model_validator_fix
...
Fixes reference to $this in anonymous function on PHP 5.3 [MAILPOET-934]
2017-06-08 17:13:04 +03: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
94fb8c6096
Merge pull request #918 from mailpoet/beacon_update_with_premium_version
...
UTF-8 encodes beacon data
2017-06-08 12:38:18 +03:00
mrcasual
9af3dc1f9d
Fixes reference to $this in anonymous function on PHP 5.3
2017-06-07 11:52:46 -04:00
mrcasual
5b99e66d8d
Merge pull request #922 from mailpoet/fix-tests-problems
...
Fix tests problems
2017-06-07 10:34:20 -04:00
Pavel Dohnal
fcf272b44a
Fix lint error
2017-06-07 11:49:07 +01:00
Pavel Dohnal
5349f3a59a
Use ssl while checking url
...
My internet provider tried to be helpfull and offeres content on
invalid urls. That is only behaviour for http:// scheme and not
for https:// scheme so I need to enforce ssl so that invalid url
fails even in my house.
2017-06-07 11:30:31 +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
Vlad
49673fabbd
Does not display logo when MSS is active or preview is enabled
...
Adds additional unit tests and optimizes existing
2017-06-07 12:30:42 +03:00
Vlad
1c1a210542
Adds MailPoet logo to newsletters in the free version
2017-06-07 12:30:41 +03:00
stoletniy
fb940065ea
Fix a source value for Premium key in the worker [MAILPOET-890]
2017-06-07 12:30:40 +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
Vlad
a37ff8d398
Limits utf8 encoding to php_uname function only (Windows may use an
...
encoding other than ISO-8859-1 in non-English locales)
2017-06-06 18:16:04 -04:00
mrcasual
fc7ec9bded
UTF-8 encodes beacon data
2017-06-06 10:10:07 -04:00
Tautvidas Sipavičius
028de860a2
Merge pull request #913 from mailpoet/sending_queue_update_on_newsletter_status_change
...
Prevents processing of sending queues when newsletter is paused [MAILPOET-900]
2017-06-06 15:00:21 +03:00
Tautvidas Sipavičius
5af91d028d
Merge pull request #916 from mailpoet/unsubscribe_fix
...
Fixes incorrect dependency that breaks unsubscribe link [MAILPOET-931]
2017-06-06 13:12:16 +03:00
stoletniy
a4bcf870bb
Merge pull request #915 from mailpoet/beacon_update_with_premium_version
...
Adds premium version information to HS beacon [MAILPOET-930]
2017-06-06 09:49:09 +03:00
Vlad
e06f2f5f0b
References the correct class and removes unused dependency
2017-06-05 15:20:14 -04:00
Vlad
c101645d93
Adds premium version information to HS beacon
2017-06-05 14:59:30 -04:00
stoletniy
b8904c2d51
Merge pull request #914 from mailpoet/subscriber_email_validation_logic_update
...
Uses WP's function to validate subscriber email address [MAILPOET-925]
2017-06-05 19:25:53 +03:00
Vlad
099db4e1c8
Removes unused variable
...
Fixes typo in error message
2017-06-05 11:59:13 -04:00
Vlad
cdf36ccb20
Trashes/restores/deletes (+ same bulk actions) children newsletters and
...
associations as per discussion on Slack:
https://mailpoet.slack.com/archives/C02MTKAJL/p1496427873491785
2017-06-05 11:36:04 -04:00
Vlad
7f566fb672
Adds client-side check for invalid characters in email addresses
...
Adds server-side validation of email addresses using WP's is_email()
2017-06-04 18:48:11 -04:00
Vlad
d27968a215
Uses WP's is_email() to validate email addresses in Subscriber model
2017-06-04 18:19:37 -04:00
Vlad
344990d59e
Only processes queues when newsletter exists and is active/sending
2017-06-02 12:03:34 -04:00
Vlad
ea831ef160
Prevents processing scheduled sending queues for inactive newsletters
2017-06-01 19:50:25 -04:00
Vlad
92e4cc6a24
Sorts sending queue according to their creation date (oldest to newest)
2017-06-01 13:21:03 -04: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
55d7a0dd01
Merge pull request #907 from mailpoet/welcome_email_scheduler_update
...
Schedules welcome notifications after subscription is confirmed [MAILPOET-907]
2017-05-30 14:02:48 +03:00
Vlad
dba21c68fd
Schedules welcome notification upon subscription when subscription
...
confirmation is disabled
Schedules welcome notification upon subscription confirmation
Checks when 'REMOTE_ADDR' is not set
Adds unit tests
2017-05-29 22:04:47 -04:00
Vlad
7f0396747d
Adds cron ping URL instead of ping response
...
Checks for existence of SERVER_SOFTWARE variable
2017-05-29 19:29:56 -04:00
Vlad
4e2e09ea24
Adds server OS, web server information and cron ping response to HS
...
beacon
2017-05-25 15:55:33 -04: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