Commit Graph

5358 Commits

Author SHA1 Message Date
Vlad
3603eeee77 - Updates remaining router endpoints to use constructor and new constants 2016-08-25 10:03:52 -04:00
Vlad
59d30cc139 - Renames router URL query parameter and router class
- Updates other classes to use the new name
- Updates unit tests
2016-08-25 09:57:14 -04:00
Vlad
6ff3bbbb72 - Fixes type in method name 2016-08-24 23:35:45 -04:00
Vlad
a561e10156 - Updates tests for view in browser and statistics tracking 2016-08-24 23:35:34 -04:00
Vlad
99f2cf6702 - Adds unit tests for front router 2016-08-24 23:27:12 -04:00
Vlad
c6b72e729b - Refactors front router and endpoints to use dynamic methods 2016-08-24 23:26:13 -04:00
Tautvidas Sipavičius
c5bc0f36a4 Disable running PHP coverage reports 2016-08-25 00:46:29 +03:00
Tautvidas Sipavičius
efc5c34bf9 Add running PHP unit test coverage reports in CircleCI 2016-08-25 00:34:58 +03:00
Tautvidas Sipavičius
3929efbdd9 Enable running JS tests 2016-08-25 00:09:34 +03:00
Tautvidas Sipavičius
0e0c41882e Generate XML report for unit tests and add it to CircleCI tracking 2016-08-25 00:05:41 +03:00
Tautvidas Sipavičius
79cc708fc6 Set UTC timezone for CircleCI PHP version 2016-08-24 23:50:59 +03:00
Tautvidas Sipavičius
8fa98879b8 Enable debugging when running tests 2016-08-24 23:46:22 +03:00
Tautvidas Sipavičius
331ba385e9 Switch MySQL host to 127.0.0.1 instead of localhost 2016-08-24 23:30:19 +03:00
Tautvidas Sipavičius
71ce46d78d Add running PHP tests 2016-08-24 23:13:06 +03:00
Tautvidas Sipavičius
c493de6569 Try to output JS test results in jUnit format for CircleCI 2016-08-24 21:44:22 +03:00
Tautvidas Sipavičius
ff2c2ace86 Add running JS tests in CircleCI 2016-08-24 21:29:58 +03:00
Tautvidas Sipavičius
7fa789cfd1 Merge pull request #598 from mailpoet/view_in_browser_update
View in browser update
2016-08-24 19:02:15 +03:00
Vlad
ae6269eb63 - Restricts router access to explicitly defined endpoint actions 2016-08-24 11:23:12 -04:00
Vlad
a8f4779bfe - Updates code formatting 2016-08-24 10:22:10 -04:00
Vlad
6868142e35 - Extracts view in browser response to the endpoint
- Updates unit tests
2016-08-24 10:20:35 -04:00
Vlad
133d123919 - Updates front router and endpoints to use dynamic methods 2016-08-24 10:20:10 -04:00
Vlad
05c128d12d - Fixes errors thrown when there are no shortcodes in the newsletter body 2016-08-24 09:29:17 -04:00
Tautvidas Sipavičius
bdab0c12fa Fix debouncing for ALC refresh to not update multiple times immediately 2016-08-24 16:15:53 +03:00
Vlad
75b94690e2 - Adds unit tests 2016-08-23 23:42:56 -04:00
Vlad
80fddd6c58 - Refactors view in browser 2016-08-23 23:42:26 -04:00
Vlad
c807ead5fd - Prepares newsletter renderer for conversion to using modal objects
instead of arrays
2016-08-23 12:48:38 -04:00
Tautvidas Sipavičius
f004bb5368 - Set default preview email to be current user's email;
- Change "Preview in browser" form to autocomplete used emails.
2016-08-23 19:32:10 +03:00
Tautvidas Sipavičius
1d756e95a7 Bump up release version to 0.0.41 0.0.41 2016-08-23 12:27:14 +03:00
Tautvidas Sipavičius
1fb0da9fda Merge pull request #587 from mailpoet/open_stats_fix
Prevents tracking opens/clicks from subscribers who the newsletter was not sent to
2016-08-23 12:17:51 +03:00
mrcasual
a0017b91ee Merge pull request #592 from mailpoet/editor_fixes
Editor fixes
2016-08-22 20:43:24 -04:00
Vlad
444ab17342 - Updates statistics tracking unit tests 2016-08-22 16:24:33 -04:00
Vlad
44f3058326 - Adds unit test for tracker router endpoint 2016-08-22 16:24:13 -04:00
Vlad
ec09fbcb78 - Converts static classes to dynamic 2016-08-22 16:22:33 -04:00
Vlad
ed352bb1d3 - Passes wp_user_preview parameter to custom link shortcode filter 2016-08-22 09:26:25 -04:00
Vlad
375bbd2759 - Calls an open tracking class when tracking clicks 2016-08-22 09:26:25 -04:00
Vlad
9fb9d25132 - Uses model method to get queue 2016-08-22 09:26:25 -04:00
Vlad
30f79aa589 - Updates unsubscribe tracking logic 2016-08-22 09:26:25 -04:00
Vlad
69f8daac95 - Updates wp user & preview check condition 2016-08-22 09:26:25 -04:00
Vlad
03f3a6080c - Returns empty response or an image in all cases 2016-08-22 09:26:25 -04:00
Vlad
44f84c6cdb - Updates method names 2016-08-22 09:26:25 -04:00
Vlad
31008a6895 - Updates queue and subscriber check condition 2016-08-22 09:26:25 -04:00
Vlad
2490d8c919 - Refactors browser preview 2016-08-22 09:26:25 -04:00
Vlad
5886dbfd25 - Refactors statistics tracking 2016-08-22 09:26:25 -04:00
Vlad
e48d55f0b1 - Adds new model methods 2016-08-22 09:26:25 -04:00
Vlad
42339927cf - Extends ORM's isNew() method to work on saved models 2016-08-22 09:26:25 -04:00
Vlad
b492bcecc0 - Removes requirement of passing newsletter id when tracking clicks
- Extracts common tracking data processing/validation code into the Track
  class
- Refactors Clicks, Opens and View in Browser classes to enforce
  subscriber id and token check
- Allows admin users to preview newsletters without tracking statistics
2016-08-22 09:26:25 -04:00
Vlad
6ab7debb7b - Fixes code formatting 2016-08-22 09:26:25 -04:00
Vlad
b76ce6c26f - Adds verification of newsletter-to-queue and subscriber-to-queue
- Prevents tracking open/click rates for subscribers who the newsletter
  was not sent to
2016-08-22 09:26:25 -04:00
Tautvidas Sipavičius
6fbc7b1593 Add "View in browser" to happen on the same page, instead of opening new
window
2016-08-19 18:48:29 +03:00
Tautvidas Sipavičius
69c8670b01 Add an option to open settings by clicking on the block for image,
button, social, divider and spacer blocks
2016-08-19 14:57:14 +03:00