ea87a7acf8
- Fixes code style
...
- Removes unnecessary condition
- Closes #576
2016-08-04 09:36:15 -04:00
9d36a17261
- Fixes preview of newsletters with ALC
2016-08-03 21:36:03 -04:00
9c3cb5a509
- Enables preview of notification history newsletters
2016-08-03 20:42:35 -04:00
1c6fca7f83
fixed ErrorResponse call in API::setupPublic()
...
- removed empty constructors in updated endpoints
- added missing keys to Error class (unauthorized, forbidden)
2016-08-03 16:04:45 +02:00
c5b376bd21
satisfy code sniffer rule
2016-08-03 15:08:27 +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
ed30d8f639
externalize Success/ErrorResponse classes into their own files
2016-08-01 17:22:23 +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
008fdb94c5
Moved lib/API to lib/Router
...
- renamed lib/API/API.php to lib/Router/Front.php
- updated namespaces in various file to account for namespace change
2016-08-01 17:00:32 +02:00
cb5d7cb9a0
Fix incorrect post notification template logo URL
2016-07-29 16:52:55 +03:00
a44d4ed0b5
Add new newsletter sample templates
2016-07-29 16:29:44 +03:00
7bd23288f6
Add newsletter blank 1 column template
2016-07-29 16:28:44 +03:00
c46ee07674
Change form editor page title, swap "New" to "Add New"
2016-07-29 13:30:17 +03:00
18398a3bfb
Finish changing segments to lists and columns to fields
2016-07-29 13:30:17 +03:00
c05a20cff9
Update 28 July 2016
2016-07-29 13:29:05 +03:00
08cb994252
Merge pull request #573 from mailpoet/text_version_fix
...
Fixes link rendering in text version of the newsletter
2016-07-28 16:17:13 +03:00
641ba04685
Added Newsletter::getArchives() in order to return proper archives
...
- Archives page: replaced created_at by processed_at as the issue date
2016-07-28 11:52:56 +02:00
8e4d07c658
- Updates regex to not match http/ftp links as shortcodes
...
- Updates regex to properly replace links in text version of newsletter
2016-07-27 21:57:55 -04:00
775f7faee4
Declare private properties and swap strings for named constants
2016-07-27 16:35:21 +03:00
13b91ad051
Encapsulate showing WP notices into a separate Notice class
2016-07-27 15:07:09 +03:00
2d3ec13473
Stringify exception to include the stack trace as well
2016-07-27 13:58:44 +03:00
3094cfc076
Prevent plugin from disabling itself on error, display that error to
...
admin instead
2016-07-26 16:18:33 +03:00
13589a4660
Merge pull request #552 from mailpoet/newsletter_listing
...
Post notification history listing
2016-07-22 16:20:00 +03:00
5f124659d0
- Fixes PHP static standards error
2016-07-22 08:45:46 -04:00
e83d01ff28
- Avoids sending duplicate posts
2016-07-21 20:54:32 -04:00
3e746d1545
fixed API data decoding issue
...
- added missing features from issue #419
- removed isMailPoetPage() as the logic was flawed
2016-07-21 15:10:25 +02:00
3cc43aa302
Merge pull request #566 from mailpoet/wp_users_fix
...
Deleting a WP user
2016-07-20 14:32:36 +03:00
362ee49ce4
Let the statisticsForms model return the total signups instead of the form model
...
- added unit test for getTotalSignups() method
2016-07-19 17:38:45 +02:00
ed7da1a8fe
Deleting a WP user unlinks the subscriber and removes his subscription to the WP Segment
2016-07-19 17:13:20 +02:00
12c036dbef
refactored Models/Newsletter::getStatistics method to avoid duplication
...
- replaced "TO REFACTOR" with more conventional "TODO"
2016-07-19 15:34:14 +02:00
1dd4ade04d
added signups to forms listing
2016-07-19 13:44:32 +02:00
0706450f9a
Add children() method to Newsletter model to get child newsletters (history in case of post notif)
...
- added conditional display of "view history" link in Notification listing
- fixed indentation in duplicatePostNotif method according to code sniffer report
2016-07-18 16:47:12 +02:00
b837a153d1
merged post_notification_update
2016-07-18 16:06:04 +02:00
3d706414b7
Renamed tab to type
...
- renamed getExtraParams to getParams
- fixed issue with String.contains by replacing it with indexOf
- removed useless break; statement
2016-07-18 16:01:47 +02:00
ef0cbb3e9f
Added "params" to the $data in Listing Handler
...
- moved "tab" to params
- improved url generation in listing.jsx to allow more flexibility
- added "parent_id" filter in newsletter model to get children of a given newsletter id
2016-07-18 16:01:47 +02:00
f5552847a3
Added parent_id to Newsletters table
...
- added NOTIFICATION_HISTORY Newsletter's type
- implement basic UI for notification_history
- TODO: implement passing extra parameters in order to handle the :id part
2016-07-18 16:01:47 +02:00
101ef0cff4
Fixed stats for welcome emails
...
- re-added ORM logging in order to debug queries
- fixed subscription confirmation / unsubscribe due to API refactor
2016-07-18 16:01:47 +02:00
9e70ba5e6e
- Reverts back the duplicate method
...
- Updates post notification creation method with logic to duplicate the
original newsletter
2016-07-15 13:07:00 -04:00
8f1a7ed3de
- Sets notification history status to "sent" upon completion
...
- Implements #548
2016-07-15 13:06:40 -04:00
6aa976ba1f
- Creates a new notification history when processing the queue
2016-07-15 13:06:40 -04:00
db85604f18
- Removes scheduling of post notification during newsletter activation stage
2016-07-15 13:06:40 -04:00
7605fc71ac
- Adds a method to create a notification history newsletter
2016-07-15 13:00:47 -04:00
2c98270084
- Adds new column to the newsletter table
...
- Adds new newsletter notification history type
2016-07-15 13:00:47 -04:00
2714c7fa9a
Merge pull request #563 from mailpoet/copy-edit
...
Copy edit - July 15 2016
2016-07-15 15:31:50 +03:00
49b65729db
update 14 July 2016
2016-07-14 20:58:12 +02:00
88113cf22e
- Modifes task scheduler setting to include method type
2016-07-14 09:44:16 -04:00