Commit Graph

2602 Commits

Author SHA1 Message Date
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
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
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
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
Jonathan Labreuille
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
Jonathan Labreuille
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
Vlad
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
Vlad
8f1a7ed3de - Sets notification history status to "sent" upon completion
- Implements #548
2016-07-15 13:06:40 -04:00
Vlad
6aa976ba1f - Creates a new notification history when processing the queue 2016-07-15 13:06:40 -04:00
Vlad
db85604f18 - Removes scheduling of post notification during newsletter activation stage 2016-07-15 13:06:40 -04:00
Vlad
7605fc71ac - Adds a method to create a notification history newsletter 2016-07-15 13:00:47 -04:00
Vlad
2c98270084 - Adds new column to the newsletter table
- Adds new newsletter notification history type
2016-07-15 13:00:47 -04:00
Tautvidas Sipavičius
2714c7fa9a Merge pull request #563 from mailpoet/copy-edit
Copy edit - July 15 2016
2016-07-15 15:31:50 +03:00
Kiefer Conrad
49b65729db update 14 July 2016 2016-07-14 20:58:12 +02:00
Vlad
88113cf22e - Modifes task scheduler setting to include method type 2016-07-14 09:44:16 -04:00
Vlad
05848ce7aa - Adds task scheduler option to settings
- Closes #553
2016-07-13 19:49:18 -04:00
Jonathan Labreuille
b58d996ac7 Merge pull request #551 from mailpoet/newsletter_archive
Newsletter archive: link to browser version
2016-07-12 17:19:27 +02:00
Tautvidas Sipavičius
456deede14 Change newsletter archive to link to "View in brower" newsletter
versions
2016-07-12 17:55:36 +03:00
Tautvidas Sipavičius
4ef50ca551 Fix notices and warnings in newsletter preview when there's no template 2016-07-12 17:11:13 +03:00
Kiefer Conrad
3018dff1ff Edit July 12 2016 2016-07-12 11:07:36 +02:00
Vlad
9386fe8328 - Fixes post notifications not being sent 2016-07-11 18:56:01 -04:00
Tautvidas Sipavičius
386bdceed3 Merge pull request #543 from mailpoet/api_refactor
API refactor
2016-07-08 13:55:01 +03:00
Vlad
cef9f1dcf8 - Updates constant names 2016-07-07 14:32:05 -04:00
Vlad
c78b2088eb - Updates the check for invalid API endpoint 2016-07-07 14:20:27 -04:00
Vlad
150364de3a - Fixes API endpoint naming convention
- Generates/saves cron daemon token as soon as its executed
2016-07-07 14:00:07 -04:00
Vlad
1cd9f3eb67 - Removes counter from cron daemon
- Invokes token regeneration/comparion at a later stage
2016-07-07 10:24:24 -04:00
Vlad
89253125af - Fixes a typo 2016-07-07 10:00:12 -04:00
Jonathan Labreuille
e7ee356f90 cleanup permissions related classes 2016-07-07 15:49:03 +02:00
Vlad
f557881462 - Updates code based on review comments 2016-07-07 09:01:59 -04:00
Vlad
8dba4727c4 - Updates open/click link generation logic to utilize API's buildRequest
method
2016-07-06 22:57:39 -04:00
Vlad
8ec094089f - Removes TODO notice 2016-07-06 20:18:02 -04:00
Vlad
3c353e715b - Fixes view in browser API URL 2016-07-06 19:56:26 -04:00
Vlad
ab33a9c352 - Updates cron API URL
- Removes cron daemon counter
- Generates/saves cron daemon token as soon as its executed
2016-07-06 19:48:16 -04:00
Vlad
bd814baf28 - Fixes data not being passed to API buildRequest method 2016-07-06 10:02:47 -04:00
Vlad
2db681d908 - Adds and centralizes API data encoding/decoding method 2016-07-06 09:22:34 -04:00
Jonathan Labreuille
5fc863bd82 Settings page update (issue #434) 2016-07-06 14:10:46 +02:00
Vlad
cb2faec8b2 - Refactors API
- Updates existing classes to use the refactored API methods
2016-07-05 20:17:25 -04:00
Tautvidas Sipavičius
e8604284fe Merge pull request #540 from mailpoet/issue_431
Bulk actions messages + remaining UI items from issue 431
2016-07-05 17:59:15 +03:00
Jonathan Labreuille
d2ccdef6c7 better alternative to remove duplicate MailPoet submenu 2016-07-05 16:55:03 +02:00
Vlad
38199dc96f - Adds validation for API data 2016-07-05 10:20:30 -04:00
mrcasual
630b219e96 Merge pull request #539 from mailpoet/twig_caching
Fix Twig cache regeneration
2016-07-05 09:57:02 -04:00
Tautvidas Sipavičius
7fb45a15ee Fix code style errors 2016-07-05 15:28:38 +03:00
Tautvidas Sipavičius
ed5294477f Fix Populator to not overwrite existing settings 2016-07-05 15:23:11 +03:00
Jonathan Labreuille
f8efb3934b remove 'MailPoet' submenu and make newsletters the default page 2016-07-05 13:16:14 +02:00