876d21300a
fixed duplicated lines due to faulty rebase
2016-10-21 13:36:41 +02:00
0ca5b7a79f
API Security
...
- added APIAccess class to define access levels of API Endpoints (permissions)
- use "mailpoet_token" for all nonce (just as before)
- merged setupPublic/setupAdmin methods in API in order to avoid duplication
- check permission if access level is not all
- fixed ABSPATH check in some classes
2016-10-21 13:36:41 +02:00
5d0ee43921
removed checkToken for admin ajax
2016-10-21 13:36:41 +02:00
cc523a3c0b
ability to specify action for generateToken() method
2016-10-21 13:36:41 +02:00
2787998d32
Merge pull request #664 from mailpoet/editor_fixes
...
Editor fixes
2016-10-20 17:29:55 +02:00
38f6c95059
Update newsletter saving to reflect code review comments
...
- Switch to using full segment objects when saving newsletters
- Fix stale comment in newsletter editor's Newsletter model
- Fix typo in newsletter editor tests
2016-10-20 17:52:05 +03:00
cc03b631ff
Allow newsletters.save endpoint to accept segments as list of objects
2016-10-20 16:08:41 +03:00
a3c77fb685
Fix PHP to JS date format converter to handle escaped symbols
2016-10-20 15:19:04 +03:00
3817e28960
Change newsletter not found error to a static one in editor
2016-10-20 13:38:07 +03:00
c3a78b1ea3
Fix newsletter editor to only save properties it changes
2016-10-20 13:37:32 +03:00
42877236c8
Merge pull request #663 from mailpoet/wp_repo_files
...
Preparation for plugin repo
2016-10-19 09:08:54 -04:00
6e87f3539c
Update license.txt, readme.txt and link to plugin's repo page
2016-10-19 13:46:14 +03:00
7704ea4b68
Bump up release version to 0.0.49
2016-10-19 13:23:00 +03:00
12a3931b7b
Merge pull request #662 from mailpoet/security_issue_634
...
PHP Object injection in front Router
0.0.49
2016-10-18 16:46:14 +03:00
25a55dbb67
Merge pull request #661 from mailpoet/security_issue_633
...
Import SQL injection
2016-10-18 14:50:08 +02:00
6758f60a81
Merge pull request #659 from mailpoet/import_data_sanitization
...
Sanitize import data
2016-10-18 12:35:52 +02:00
5e9e53ec41
- Updates router to use json_encode() instead of serialize() for publicly modified data payload
...
- Updates unit tests
- Fixes #634
2016-10-17 22:39:36 -04:00
1285252a8c
- Adds unit tests
2016-10-17 20:27:58 -04:00
98f95f72ad
- Adds validation for import data, including column names ( fixes #633 )
...
- Prevents nonexistent custom fields from being associated with subscribers
2016-10-17 20:22:25 -04:00
09ca788371
- Fixes subscriber count not being shown when new segment is created
2016-10-17 20:12:57 -04:00
b48cc5a959
- Updates import UI to escape HTML text
...
- Allows mixing of escaped and unescaped HTML text
- Removes server-side text escaping
2016-10-17 11:01:54 -04:00
812d138c4e
Merge pull request #658 from mailpoet/import_and_mailer_host_restriction
...
Import and mailer host restriction
2016-10-17 16:19:42 +02:00
07bc35d4cd
Merge pull request #625 from mailpoet/unit_tests
...
Adds unit test for newsletter scheduler
2016-10-17 11:37:17 +02:00
90b95a2c25
fixed 'newletter' typo and replaced integer weekdays by their carbon constant equivalent
2016-10-17 11:35:57 +02:00
78c50c41e3
- Fixes unit test
...
- Updates code as per code review comments
2016-10-18 14:29:53 -04:00
7eee7def63
Merge pull request #657 from mailpoet/security_issue_635
...
Security issue #635
2016-10-16 16:42:11 -04:00
9ba6e9806f
- Adds data sanitization on the client and server side
...
- Closes #641
2016-10-16 13:02:49 -04:00
8c28dc3d8a
- Restricts Amazon SES region to a specific list of hosts
...
- Updates unit tests
- Closes #647
2016-10-16 12:19:47 -04:00
9197e39fb4
- Restricts MailChimp API key to specific format
...
- Updates unit test
2016-10-16 11:57:56 -04:00
37f59814e5
removed unused methods in Util/CSS -> fixes security issue #635
2016-10-13 10:34:36 +02:00
bf894fc26f
Bump up release version to 0.0.48, update changelog
0.0.48
2016-10-11 13:02:08 +03:00
0b2b42cf4d
Merge pull request #654 from mailpoet/security_issue_1
...
Security issues round 1
2016-10-11 12:51:11 +03:00
542015a4f6
Improved removal of useless files in vendor folder during build process
...
- moved sort_order constraining logic to Listing handler's construct
2016-10-10 14:52:09 +02:00
f5a8323f5d
removed 'test*' from removed folders in vendor as it was creating issues with Twig
2016-10-07 15:12:58 +02:00
55942cd88b
prevent odd values for sort_order in listing.jsx
2016-10-07 14:38:25 +02:00
f26a2cbd26
fixes issue #651
2016-10-06 13:18:46 +02:00
4402f826c3
fixed issue with namespace AND fixed issue #649
2016-10-06 12:54:04 +02:00
b9745b555a
make sure ABSPATH is defined before using it - fixes issue #648
2016-10-06 12:52:53 +02:00
f923a8063b
cleanup useless files in vendor folder when building release (fixes issue #637 )
2016-10-06 11:24:18 +02:00
f4367b9146
optimized the composer install a bit
2016-10-06 09:52:42 +02:00
a3395e41c9
fixes issue #632
2016-10-06 09:25:09 +02:00
be61135daf
Merge pull request #627 from mailpoet/translations
...
Translations
2016-10-05 12:26:03 +03:00
21b4187a11
added missing text domains in _e functions
2016-10-05 10:26:59 +02:00
1c3c1e35e7
added 'lang' to gitignore
2016-10-05 10:08:24 +02:00
ded373557e
Bump up release version to 0.0.47 and update changelog
0.0.47
2016-10-04 12:05:34 +03:00
280c4762bb
Merge pull request #630 from mailpoet/subscribers_count_in_segments
...
Subscribers count in segments
2016-10-04 11:58:44 +03:00
bbd02260be
Fix showing segment subscriber counts on newsletter creation pages
2016-10-04 11:54:07 +03:00
1b1e9abd68
Merge pull request #631 from mailpoet/issue_629
...
Bugs in latest release (0.0.46) - issue 629
2016-10-03 15:42:57 +03:00
b0ab9e0408
fixed import/export unit tests + added specific method for getting segments for import
2016-09-30 15:52:17 +02:00
d32abff78d
display subscribers count in segments selection
2016-09-30 15:23:18 +02:00