Commit Graph

1275 Commits

Author SHA1 Message Date
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
Tautvidas Sipavičius
150286ab6b Enable regenerating templates that have changed 2016-07-04 18:05:50 +03:00
Jonathan Labreuille
fe154d9251 fixed code sniffer reported errors 2016-07-01 14:17:39 +02:00
Jonathan Labreuille
a8ffbc2d0e handle empty/unchecked/checked checkboxes properly in both react and forms 2016-07-01 14:14:18 +02:00
Jonathan Labreuille
9de3a245b0 fixed both radio & checkbox fields so that it selects the proper value 2016-07-01 14:14:18 +02:00
Jonathan Labreuille
5eef709af5 Uniform date display format for Manage Subscriptions & Subscriber new/edit
- use isWPUser instead of wp_user !== null
2016-07-01 14:14:18 +02:00
Jonathan Labreuille
7f265675b0 changed the way custom field date type is handled (react + form + db) 2016-07-01 14:14:18 +02:00
Jonathan Labreuille
ba15db9829 fixed value loading for textarea 2016-07-01 14:14:18 +02:00
Jonathan Labreuille
d15473a8e4 disabled first/last name inputs for WP User on manage subscription page 2016-07-01 14:14:18 +02:00
Tautvidas Sipavičius
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
Tautvidas Sipavičius
d0813bb4e2 Fix class and method names to use camel case 2016-06-30 18:52:07 +03:00
Tautvidas Sipavičius
0ac701eb20 Change line endings from DOS CRLF to Unix LF 2016-06-30 18:52:07 +03:00
Tautvidas Sipavičius
607395be6f Fix spacing around commas 2016-06-30 18:52:07 +03:00
Tautvidas Sipavičius
55d48df8a4 Fix indentation issues 2016-06-30 18:50:48 +03:00
Tautvidas Sipavičius
e0282ae45b Fix empty catch statement error 2016-06-30 18:50:48 +03:00
Tautvidas Sipavičius
235fdea00f Remove commented out code, raise code similarity trigger treshold 2016-06-30 18:50:48 +03:00
Tautvidas Sipavičius
b8c6d54f48 Fix "Closing brace must be on a line by itself" code sniffer errors 2016-06-30 18:50:48 +03:00
Tautvidas Sipavičius
67661e3aad Remove useless constructors 2016-06-30 18:50:48 +03:00
Tautvidas Sipavičius
c03facdc45 Add space after comma in function call parameters 2016-06-30 18:49:50 +03:00
Tautvidas Sipavičius
9ddc1ef555 Remove statements that cannot be executed 2016-06-30 18:49:50 +03:00
Tautvidas Sipavičius
9cfc2fd940 Remove an unnecessary return statement 2016-06-30 18:49:50 +03:00
Tautvidas Sipavičius
24e108bce7 Remove spaces after type casts 2016-06-30 18:49:50 +03:00
Tautvidas Sipavičius
48f0c03425 Fix spacing between control structure and opening parenthesis 2016-06-30 18:46:33 +03:00
Tautvidas Sipavičius
0bfbe6dc79 Change TRUE, FALSE, NULL capitalization to lowercase 2016-06-30 18:46:33 +03:00
Vlad
46dda84012 - Moves queue subscriber handling logic to the queu model 2016-06-30 10:23:06 -04:00
Jonathan Labreuille
9979261cb6 fixed a few more warnings 2016-06-30 15:42:58 +02:00
Tautvidas Sipavičius
4a91fae984 Fix class and method names to use camel case 2016-06-30 15:13:48 +03:00
Vlad
0fe975f614 - Declares array 2016-06-30 07:52:16 -04:00