b590586d4c
Reschedules previously scheduled sending queues when post notification's
...
scheduling options change
2017-03-07 18:39:55 -05:00
bb80fc0860
Add unit tests for API endpoints injection [PREMIUM-4]
2017-02-22 18:02:58 +03:00
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
a421dbd674
Fix tests
2017-01-30 21:35:49 +02:00
1a42ae4cca
Fix a unit test [MAILPOET-743]
2017-01-27 16:22:12 +03:00
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
438b4fb1ec
Add unit tests [MAILPOET-743]
2017-01-27 16:22:09 +03:00
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
f1ced11809
Remove leading slashes in unit test imports [MAILPOET-764]
2017-01-25 16:28:36 +03:00
c2546e8aed
Filter lists that can be subscribed to using any particular form [MAILPOET-777]
2017-01-25 16:15:42 +03:00
2220a13399
Remove unused imports [MAILPOET-764]
2017-01-25 10:14:38 +03:00
bfdc13a8d1
Fix fubscription form failing when some fields are absent or don't exist [MAILPOET-764]
2017-01-24 21:12:56 +03:00
1a7623bc4a
- Adds unit tests
2017-01-20 09:24:45 -05:00
ce0ad33c32
Fix all lists removal when editing subscribers [MAILPOET-726]
2017-01-18 15:33:20 +03:00
449eb28b2a
- Updates code formatting
2017-01-09 09:37:56 -05:00
3a1568a31d
- Fixes mailer error message not being displayed when newsletter preview
...
sending fails
2017-01-04 13:04:53 -05:00
e6d909da21
- Updates unit test
2016-12-30 10:59:37 -05:00
4f37a44363
- Fixes newsletter preview not being sent
...
- Adds unit test
2016-12-29 18:46:22 -05:00
89545ba104
- Adds unit tests
2016-11-28 09:50:32 -05:00
c22d3c8957
Renamed 'ip' column to 'subscribed_ip'
...
- updated code based on PR review
2016-11-09 11:43:08 +01:00
1a6b032943
Added subscription limit in order to avoid mass subscriptions
2016-11-08 17:29:28 +01:00
83114a8be4
- Removes unused class declarations
2016-10-24 08:55:22 -04:00
d08d5a3b6c
- Updates unit tests
2016-10-24 08:55:22 -04:00
4088abef68
removed useless 'use' in unit test
2016-10-21 13:42:19 +02:00
f6cefc3f5c
wrong email address in unit test
2016-10-21 13:38:23 +02:00
202e4b90e1
added unit test for API::checkPermissions
2016-10-21 13:36:41 +02:00
ee89bf0722
refactored API class
2016-10-21 13:36:41 +02:00
38f6c95059
Update newsletter saving to reflect code review comments
...
- Switch to using full segment objects when saving newsletters
- Fix stale comment in newsletter editor's Newsletter model
- Fix typo in newsletter editor tests
2016-10-20 17:52:05 +03:00
0c5589a3e3
Listing method update for Newsletters/Forms/Segments/Subscribers
...
- updated unit tests
2016-09-12 15:57:16 +02:00
f650455a90
forms & newsletters endpoints
2016-09-05 11:55:01 +02:00
afbe25e215
Segments & Subscribers endpoints
...
- unit tests
2016-09-05 11:51:58 +02:00
dc97d3115e
updated Custom Field endpoint + Unit tests + form editor update
2016-08-16 12:40:10 +02:00
3d4defd563
Fixed unit tests for newletter templates
...
- changed null to false for default value of id in nltemplates endpoint
2016-08-10 16:51:04 +02:00
0369a23fe8
Call different actions for standard and automated newsletters on Send step
...
- converted save and setStatus method of Newsletters endpoint
- updated pause/resume mixin for notification & welcome listings
- use 'newsletter_id' instead of 'id' in SendingQueue endpoint (less confusing)
- added NOT_FOUND constant to APIError
- fixed unit test for Newsletters endpoint save and added test for setStatus
2016-08-10 13:09:35 +02:00
5d2800bc25
added API/Error class to hold error keys as constants
...
- re-added Setting::getAll() to API/Setting::set() in response
- updated settings/setup tests
2016-08-03 15:04:25 +02:00
6675d5a20d
added default error messages to errorResponse and badRequest
2016-08-03 14:08:22 +02:00
28c39d301c
Added default error response in case no errors were specified
...
- converted Setup endpoint
- unit tests for Setup endpoint
2016-08-03 12:41:21 +02:00
2e88d7cce0
Added API/Endpoint abstract class
...
- (re)Added Endpoints folder to both API and Router
- fixed syntax in namespaces
- xhr.responseJSON is returned to the fail()
- fixed Router endpoints (view in browser, cron,...)
2016-08-02 17:08:43 +02:00
9410d4f10a
Reorganized new API + added legacy API support + new API
...
- Updated Settings Router to new standards
- Updated settings.html to reflect API change with better error handling
- Updated Settings API unit tests
2016-08-01 17:00:32 +02:00
354d249e1d
Moved current Router files to API
...
- updated Unit tests to reflect the change
2016-08-01 17:00:32 +02:00