9469ce83f1
Fix creation and update timestamps for notification history newsletters
2016-08-04 18:16:43 +03:00
9c3cb5a509
- Enables preview of notification history newsletters
2016-08-03 20:42:35 -04: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
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
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
13589a4660
Merge pull request #552 from mailpoet/newsletter_listing
...
Post notification history listing
2016-07-22 16:20:00 +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
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
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
49b65729db
update 14 July 2016
2016-07-14 20:58:12 +02:00
fe154d9251
fixed code sniffer reported errors
2016-07-01 14:17:39 +02:00
7f265675b0
changed the way custom field date type is handled (react + form + db)
2016-07-01 14:14:18 +02:00
23e8ce38dd
Merge remote-tracking branch 'origin/qa' into qa
...
Conflicts:
lib/Config/Initializer.php
lib/Cron/Workers/SendingQueue/SendingQueue.php
lib/Models/SendingQueue.php
lib/Router/Router.php
2016-06-30 19:01:44 +03:00
0ac701eb20
Change line endings from DOS CRLF to Unix LF
2016-06-30 18:52:07 +03:00
607395be6f
Fix spacing around commas
2016-06-30 18:52:07 +03:00
55d48df8a4
Fix indentation issues
2016-06-30 18:50:48 +03:00
67661e3aad
Remove useless constructors
2016-06-30 18:50:48 +03:00
48f0c03425
Fix spacing between control structure and opening parenthesis
2016-06-30 18:46:33 +03:00
0bfbe6dc79
Change TRUE, FALSE, NULL capitalization to lowercase
2016-06-30 18:46:33 +03:00
46dda84012
- Moves queue subscriber handling logic to the queu model
2016-06-30 10:23:06 -04:00
9979261cb6
fixed a few more warnings
2016-06-30 15:42:58 +02:00
c7fd7b8a32
Change line endings from DOS CRLF to Unix LF
2016-06-30 14:39:28 +03:00
b7e3c3ae81
Fix spacing around commas
2016-06-30 14:03:07 +03:00
b7d8d482fe
Fix indentation issues
2016-06-30 13:29:23 +03:00
168540d6d2
Remove useless constructors
2016-06-29 20:42:03 +03:00
9595e9629f
Fix spacing between control structure and opening parenthesis
2016-06-29 18:54:01 +03:00
56ba543f8d
Change TRUE, FALSE, NULL capitalization to lowercase
2016-06-29 18:38:38 +03:00
69094f57fd
Fix typos
2016-06-28 15:01:31 +03:00
2d45ab2e88
Add WP user segment selection to Notification and Standard newsletters
2016-06-28 14:12:08 +03:00
c22d434dff
Merge pull request #531 from mailpoet/unit_test_catchup
...
Unit test update
2016-06-28 12:22:50 +03:00
306cdeb68f
Models unit tests update
2016-06-27 13:53:56 +02:00
7ee83dad06
Merge pull request #527 from mailpoet/sending_queue_refactor
...
Sending queue refactor
2016-06-23 18:16:21 +03:00
b87754ca30
Listing setParam only needs to be run when url history is specified
...
- added missing code to deleteManySubscriptions() so that it doesn't remove from all segments
2016-06-20 17:28:19 +02:00
22dfb372ec
- Updates bulk insert logic
2016-06-20 10:34:41 -04:00
68c09b8678
Sorting for all listings & bugfixes for all listings except Newsletters
...
- newsletters listing now uses hash history
- newsletters are sorted by Subject (a->z)
- segments are sorted by Name (a->z)
- re-added WordPress Users list as a segment you can send a newsletter to
- added explicit error messages when an auto newsletter isn't fully configured
- added missing strings for "selectAll" in Segments listing
- fixed filters() in Subscribers listing (wrong count as it was not taking groups/filters/search into account)
2016-06-20 16:23:27 +02:00
999a0b3ede
- Refactors sending queue worker by breaking it into smaller tasks
...
- Adds arrayUnique method to Helpers for multidimensional arrays
2016-06-17 14:52:56 -04:00
269ddae93a
Refactored scheduling options for React (semi-converted to ES6 too)
...
- fixed issue with Pausing sending (missing self::)
2016-06-17 13:05:46 +02:00
aa3a46b941
Status update of newsletters completed
...
- duplicate newsletter now includes options as well
- fixed NaN issue in statistics when newsletter is being sent
- use constant for scheduled (and put it as the sendingQueue Model level)
2016-06-16 20:01:53 +02:00
9aa25446d1
fixed unit tests
2016-06-15 16:33:48 +02:00
ee6e261c42
Conditional display of statistics column (for standard)
...
- improved duplicate action (for standard)
- moved STATUS_COMPLETED constant from worker to SendingQueue model where it belongs
2016-06-15 16:26:42 +02:00