Commit Graph

5358 Commits

Author SHA1 Message Date
Jonathan Labreuille
afa0d3af63 Updated Ajax.js to avoid promise workaround
- Removed get method in ajax.js as it's useless
2016-08-02 18:08:12 +02:00
Jonathan Labreuille
b05344b1d3 added missing data in deferred.resolve() 2016-08-02 17:18:18 +02:00
Jonathan Labreuille
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
Tautvidas Sipavičius
cb558ce2ab Bump release version up to 0.0.38 0.0.38 2016-08-02 16:49:11 +03:00
Jonathan Labreuille
ed30d8f639 externalize Success/ErrorResponse classes into their own files 2016-08-01 17:22:23 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
354d249e1d Moved current Router files to API
- updated Unit tests to reflect the change
2016-08-01 17:00:32 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
d0fb94b3f8 Merge pull request #577 from mailpoet/newsletter_templates
Newsletter templates
2016-07-29 16:23:12 +02:00
Tautvidas Sipavičius
a451f00ed3 Remove obsolete function 2016-07-29 17:21:14 +03:00
Tautvidas Sipavičius
0e0c371b28 Swap Preview and Select buttons in template select page 2016-07-29 17:15:20 +03:00
Tautvidas Sipavičius
2e52f3bb92 Add a "Preview" button in template select page 2016-07-29 17:11:30 +03:00
Tautvidas Sipavičius
a3a5016278 Allow template titles to be displayed in multiple lines w\o ellipsis 2016-07-29 16:56:07 +03:00
Tautvidas Sipavičius
cb5d7cb9a0 Fix incorrect post notification template logo URL 2016-07-29 16:52:55 +03:00
Tautvidas Sipavičius
a44d4ed0b5 Add new newsletter sample templates 2016-07-29 16:29:44 +03:00
Tautvidas Sipavičius
7bd23288f6 Add newsletter blank 1 column template 2016-07-29 16:28:44 +03:00
Tautvidas Sipavičius
08c663759c Merge pull request #574 from mailpoet/copy-edit
Copy edit
2016-07-29 13:34:57 +03:00
Tautvidas Sipavičius
c46ee07674 Change form editor page title, swap "New" to "Add New" 2016-07-29 13:30:17 +03:00
Tautvidas Sipavičius
18398a3bfb Finish changing segments to lists and columns to fields 2016-07-29 13:30:17 +03:00
Tautvidas Sipavičius
88d9315f8b Finish converting Segment to List in language strings 2016-07-29 13:30:17 +03:00
Tautvidas Sipavičius
8bc95db0c9 Change items to item(s), fix Twig syntax errors 2016-07-29 13:29:05 +03:00
Kiefer Conrad
c05a20cff9 Update 28 July 2016 2016-07-29 13:29:05 +03:00
Tautvidas Sipavičius
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
Tautvidas Sipavičius
543ad81e28 Merge pull request #575 from mailpoet/archives_page
Newsletter Archives page
2016-07-28 15:23:50 +03:00
Jonathan Labreuille
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
Vlad
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
Jonathan Labreuille
420650f37f Merge pull request #572 from mailpoet/error_handling
Display plugin initialization errors to admin
2016-07-27 15:38:57 +02:00
Tautvidas Sipavičius
775f7faee4 Declare private properties and swap strings for named constants 2016-07-27 16:35:21 +03:00
Tautvidas Sipavičius
13b91ad051 Encapsulate showing WP notices into a separate Notice class 2016-07-27 15:07:09 +03:00
Tautvidas Sipavičius
2d3ec13473 Stringify exception to include the stack trace as well 2016-07-27 13:58:44 +03:00
Tautvidas Sipavičius
3094cfc076 Prevent plugin from disabling itself on error, display that error to
admin instead
2016-07-26 16:18:33 +03:00
Tautvidas Sipavičius
6aadd1fdc4 Bump up release version to 0.0.37 0.0.37 2016-07-22 23:17:45 +03:00
Tautvidas Sipavičius
13589a4660 Merge pull request #552 from mailpoet/newsletter_listing
Post notification history listing
2016-07-22 16:20:00 +03:00
Vlad
5f124659d0 - Fixes PHP static standards error 2016-07-22 08:45:46 -04:00
Vlad
d3ebc9706c - Updates unit test 2016-07-22 08:45:32 -04:00
Vlad
e83d01ff28 - Avoids sending duplicate posts 2016-07-21 20:54:32 -04:00
Tautvidas Sipavičius
9600e4f220 Merge pull request #569 from mailpoet/manage_subscription_improved
Manage Subscriptions fixes
2016-07-21 17:31:45 +03:00
Jonathan Labreuille
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
Tautvidas Sipavičius
3cc43aa302 Merge pull request #566 from mailpoet/wp_users_fix
Deleting a WP user
2016-07-20 14:32:36 +03:00
Tautvidas Sipavičius
c610d87e85 Merge pull request #567 from mailpoet/form_subscription_signups
Number of signups in forms listing
2016-07-20 13:01:59 +03:00
Jonathan Labreuille
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
Jonathan Labreuille
515515ba9f updated class names of table columns in listing 2016-07-19 17:24:56 +02:00
Jonathan Labreuille
ed7da1a8fe Deleting a WP user unlinks the subscriber and removes his subscription to the WP Segment 2016-07-19 17:13:20 +02:00
Jonathan Labreuille
12c036dbef refactored Models/Newsletter::getStatistics method to avoid duplication
- replaced "TO REFACTOR" with more conventional "TODO"
2016-07-19 15:34:14 +02:00
Jonathan Labreuille
1dd4ade04d added signups to forms listing 2016-07-19 13:44:32 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
b837a153d1 merged post_notification_update 2016-07-18 16:06:04 +02:00
Jonathan Labreuille
6d22a85fd7 use mixins to render regular newsletters queue status & statistics 2016-07-18 16:01:47 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
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