amine-mp
84b942b9d2
Merge pull request #1121 from mailpoet/template_sort
...
Applies sorting by date created and name [MAILPOET-1119]
2017-09-27 11:14:00 +02:00
Vlad
119e574495
Prevents excluded post types from being displayed in newsletter editor
2017-09-25 19:45:33 -04:00
Vlad
7308d253b2
Applies sorting by date created and name
2017-09-25 18:47:43 -04:00
stoletniy
5526f315d2
Merge pull request #1115 from mailpoet/scheduled_newsletter_status_fix
...
Sets newsletter status to draft when it's unscheduled [MAILPOET-1060]
2017-09-21 16:32:12 +03:00
Vlad
90a7bf5179
Adds back rendered subject clearing test
...
Removes duplicate line
2017-09-21 09:13:13 -04:00
Vlad
6b16aa1692
Sets newsletter status to draft when it's unscheduled
2017-09-19 21:59:03 -04:00
Vlad
c3b643df84
Prevents leaking SQL errors in API response
2017-09-19 20:32:26 -04:00
Tautvidas Sipavičius
a02e64e805
Merge pull request #1084 from mailpoet/editor_get_post_type_optimization
...
Removes unused properties from the object used to display post types in editor [MAILPOET-1086]
2017-09-05 17:43:27 +03:00
Tautvidas Sipavičius
864187aa02
Merge pull request #1080 from mailpoet/json_api_method_check_fix
...
Throws error when JSON API endpoint method is not found [MAILPOET-1074]
2017-09-05 13:08:37 +03:00
mrcasual
59ae6619c0
Browser preview mixed content error fix
...
Strips protocol from preview URL
[MAILPOET-1080]
2017-09-05 08:54:23 +01:00
Vlad
6aa0be8d01
Removes unused properties from the object
2017-09-04 21:07:15 -04:00
Vlad
cc8b7b45ed
Throws error when endpoint method is not found
2017-08-31 15:18:22 -04:00
Amine Ben hammou
20593cc5a5
Fix form issue when using list selection field
2017-08-30 13:29:41 +00:00
Tautvidas Sipavičius
2f45bb05d7
Fix Endpoint to use single global permission and not array of them
...
[MAILPOET-1057]
2017-08-29 15:34:35 +03:00
stoletniy
33fa496913
Add a message for an already used MSS key [MAILPOET-1070]
2017-08-29 11:10:09 +03:00
stoletniy
eff996e1f8
Unify key state constant names, leave back compat with unlocker [MAILPOET-1070]
2017-08-29 10:58:16 +03:00
Tautvidas Sipavičius
e580e6b92b
Merge pull request #1041 from mailpoet/access_control
...
Allows granular control of access to various parts of the plugin [MAILPOET-1057] [MAILPOET-1048]
2017-08-28 16:48:47 +03:00
Vlad
c1e542cb5a
Reschedules past due scheduled queues when reactivating notification
2017-08-28 09:20:17 +02:00
Vlad
316fa91a10
Moves AccessControl initialization outside of API to Initializer
2017-08-23 11:28:09 -04:00
Vlad
28320cdbb6
Updates permission validation method on AccessControl
...
Adds/updates unit tests
2017-08-23 11:28:08 -04:00
Vlad
4b7fb3ae3d
Updates access permission names to improve clarity
2017-08-22 09:06:20 -04:00
Vlad
5ba2c4bc3a
Removes AccessControl from individual API endpoints
2017-08-22 09:06:20 -04:00
Vlad
5e7f9e3edf
Passes AccessControl to JSON API via constructor parameter
...
Removes passing AccessControl to individual API endpoints
2017-08-22 09:06:20 -04:00
Vlad
2e5554a3af
Refactors AccessControl and passes it as dependency to JSON API and Menu
2017-08-22 09:06:20 -04:00
Vlad
a241d0c7bc
Modifies JSON API to use AccessControl
2017-08-22 09:06:19 -04:00
Tautvidas Sipavičius
8540e5eea9
Merge pull request #1017 from mailpoet/rerender-newsletter
...
Rerender newsletter [MAILPOET-675]
2017-08-17 16:19:16 +03:00
Pavel Dohnal
364dd1b2a3
Move field obfuscation into own class
...
[MAILPOET-1014]
2017-08-16 14:58:31 +02:00
Amine Ben hammou
4b4b5dd556
show 'Resume' button if the Newsletter was paused.
2017-08-15 12:55:04 +00:00
Amine Ben hammou
df9ba7e6c8
clearing the sending queue rendered body and subject
...
The new body and subject would be automatically rendered when
resuming sending
2017-08-15 12:55:04 +00:00
Pavel Dohnal
18f208cf47
Add honeypot field for spambot
...
[MAILPOET-1014]
2017-08-15 14:33:45 +02:00
Pavel Dohnal
7cf3d0960d
Unify API response constants
...
[MAILPOET-1035]
2017-07-31 13:51:23 +02:00
stoletniy
91ff008485
Make key check error messages more descriptive [MAILPOET-990]
2017-07-10 10:34:55 +01:00
Vlad
f72ceb2dbe
Disables "view in browser", "manage subscription" and "unsubscribe"
...
links in preview emails
2017-06-16 18:14:30 -04:00
Vlad
af3d971154
Uses "fake" unsubscribe URL to set the "list-unsubscribe" header
2017-06-16 18:10:39 -04:00
stoletniy
1aba3112e9
Separate checking and storing of the keys [MAILPOET-939]
2017-06-15 13:00:56 +03:00
Tautvidas Sipavičius
02098a3cf0
Merge pull request #888 from mailpoet/mp2tomp3migration
...
MP2 to MP3 migration [MAILPOET-946]
2017-06-12 19:41:46 +03:00
fred
520a3c43be
Changes for API
2017-06-12 13:13:10 +02:00
fred
486b382c88
Use API versioning
2017-06-12 13:13:00 +02:00
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
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
stoletniy
7ebb7bac17
Add Premium installation/activation UI [PREMIUM-9]
2017-06-07 12:39:43 +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
766c0dfcfc
Enables subscriber email to be passed when subscribing to list(s)
...
List subscription methods return array with subscriber data
2017-05-19 09:51:29 -04:00
Vlad
0a512f6349
Uses the first matching namespace endpoint
2017-05-16 23:17:25 -04:00
Vlad
a4c1095db7
Moves custom field extraction logic from CustomField model to Subscriber
...
model where it's used
2017-05-16 20:58:44 -04:00
Vlad
fc51d5f98c
Sends confirmation email and schedules welcome notification by default
...
Fixes a typo in text string
2017-05-16 20:58:43 -04:00
Vlad
a1b3aaf1f8
Adds method to create subscriber
2017-05-16 20:58:43 -04:00