Commit Graph

77 Commits

Author SHA1 Message Date
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
7cf3d0960d Unify API response constants
[MAILPOET-1035]
2017-07-31 13:51:23 +02:00
stoletniy
6fb18ad321 Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025] 2017-07-26 18:28:56 +03:00
stoletniy
321393f119 Fix Squiz.Classes.ClassFileName sniffer rule in tests [MAIPOET-1025] 2017-07-26 17:03:43 +03:00
Tautvidas Sipavičius
22bb971db5 Merge pull request #980 from mailpoet/newsletter_listing_update
Sorts standard/history notification records by sent_at date in listings [MAILPOET-932]
2017-07-11 12:43:06 +03:00
stoletniy
91ff008485 Make key check error messages more descriptive [MAILPOET-990] 2017-07-10 10:34:55 +01:00
Vlad
bb2af5176b Tests that newsletters can be sorted by sent_at column 2017-07-07 11:05:39 -04:00
stoletniy
22c39c0092 Fix PEAR.WhiteSpace.ScopeClosingBrace rule in tests [MAILPOET-989] 2017-07-07 11:11:16 +03:00
stoletniy
29491dfd3e Fix active coding standard rule violations in tests [MAILPOET-981] 2017-07-03 16:20:44 +03:00
Vlad
43c2908a2b Adds unit test for "preview" mode, which replaces system links with
hashes in preview emails
2017-06-19 11:04:51 -04:00
Vlad
8d496e7aa3 Adds unit test for fake unsubscribe url 2017-06-19 09:08:19 -04:00
stoletniy
1aba3112e9 Separate checking and storing of the keys [MAILPOET-939] 2017-06-15 13:00:56 +03:00
stoletniy
09f4f2e78a Fix a unit test [MAILPOET-942] 2017-06-12 11:38:01 +03:00
Vlad
420058a86d Optimizes tests
Adds new tests
2017-06-11 12:18:14 -04:00
stoletniy
7ebb7bac17 Add Premium installation/activation UI [PREMIUM-9] 2017-06-07 12:39:43 +03:00
Tautvidas Sipavičius
3783384ea6 Add a test to ensure subscribers can be identified by their email
address via MPAPI
2017-05-22 13:49:01 +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
87a6c7100e Uses real object's ID 2017-05-16 20:58:43 -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
Vlad
bd39c34f03 Adds unit tests 2017-05-16 20:56:56 -04:00
Vlad
73121c2ca5 Adds method to return all segments minus WP Users segment(s) 2017-05-16 20:56:56 -04:00
Vlad
cedd94550f Adds unit test for API entry point 2017-05-16 20:56:55 -04: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
Alexey Stoletniy
90b2b46db4 Make key check method names consistent [PREMIUM-4] 2017-05-08 13:16:05 +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
98eab956e9 Rename checkAPIKey to checkMSSKey (MailPoet Sending Service) [PREMIUM-4] 2017-05-05 18:12:48 +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
Vlad
f4800dbbae Removes namescape format enforcement 2017-04-24 20:52:01 -04:00
Vlad
5fa7930896 Redefines how endpoint namespaces are set
Updates error response to terminate connection only on AJAX requests
Optimizes and cleans up code based on code revew comments
2017-04-20 22:34:18 -04:00
Vlad
6a65ff5e5d Removes default version
Updates all AJAX requests to include api version
Requires namespaces to have version
Clean up code
2017-04-19 23:34:40 -04:00
Vlad
a9c80c031f Adds version support to public API 2017-04-19 15:38:16 -04:00
Alexey Stoletniy
ff36833270 Add a hook for reinstalling Premium [PREMIUM-2] 2017-03-23 15:27:15 +03:00
Alexey Stoletniy
32097b4512 Test that Premium hooks are executed [PREMIUM-2] 2017-03-21 21:36:36 +03:00
Vlad
b590586d4c Reschedules previously scheduled sending queues when post notification's
scheduling options change
2017-03-07 18:39:55 -05:00
Alexey Stoletniy
bb80fc0860 Add unit tests for API endpoints injection [PREMIUM-4] 2017-02-22 18:02:58 +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
a421dbd674 Fix tests 2017-01-30 21:35:49 +02:00
Alexey Stoletniy
1a42ae4cca Fix a unit test [MAILPOET-743] 2017-01-27 16:22:12 +03:00
Alexey Stoletniy
98d6f55a6e Tweak Sending Service key validation after a code review [MAILPOET-743]
* Abstract key state to unbound it from the API response codes
* Rename SendingServiceKeyCheck task for clarity
* Add a setter for the API key in the Bridge API class
* Make some smaller fixes
2017-01-27 16:22:11 +03:00
Alexey Stoletniy
438b4fb1ec Add unit tests [MAILPOET-743] 2017-01-27 16:22:09 +03:00
mrcasual
e77717c4c2 Merge pull request #798 from mailpoet/form_segments_fix
Filter lists that can be subscribed to using any particular form [MAILPOET-777]
2017-01-25 18:34:30 -05:00
Alexey Stoletniy
f1ced11809 Remove leading slashes in unit test imports [MAILPOET-764] 2017-01-25 16:28:36 +03:00
Alexey Stoletniy
c2546e8aed Filter lists that can be subscribed to using any particular form [MAILPOET-777] 2017-01-25 16:15:42 +03:00
Alexey Stoletniy
2220a13399 Remove unused imports [MAILPOET-764] 2017-01-25 10:14:38 +03:00
Alexey Stoletniy
bfdc13a8d1 Fix fubscription form failing when some fields are absent or don't exist [MAILPOET-764] 2017-01-24 21:12:56 +03:00
Vlad
1a7623bc4a - Adds unit tests 2017-01-20 09:24:45 -05:00