Commit Graph

2602 Commits

Author SHA1 Message Date
Vlad
8fb29e2418 - Moves Env class's error handling to the Initializer class 2016-11-15 12:13:01 -05:00
Vlad
b348c350c0 - Adds expection handle to the main mailpoet script
- Throws exception when a temporary/cache folder can't be created
2016-11-15 11:41:09 -05:00
Vlad
54f6ab0c79 - Abstracts path creation logic
- Adds blank index.php to cache and temp folders
- Updates unit tests
- Extracts cache folder location from Renderer to Env class
- Implements #643
2016-11-14 21:03:26 -05:00
Tautvidas Sipavičius
58f97ea43d Merge pull request #711 from mailpoet/issue_645
[MAILPOET-645] Protect some fields from being specified when subscribing
2016-11-14 18:39:27 +02:00
Tautvidas Sipavičius
8e4c3ea7ea Merge pull request #710 from mailpoet/subscriber_limit_fix
Fixes total subscriber count [MAILPOET-671]
2016-11-14 17:43:46 +02:00
Jonathan Labreuille
3865a8e8cd protect some fields from being edit when subscribing 2016-11-14 15:20:18 +01:00
Jonathan Labreuille
02221f6833 Merge pull request #707 from mailpoet/template_cache
Gracefully display Twig exceptions as error messages [MAILPOET-667]
2016-11-14 10:07:58 +01:00
Vlad
b63ef8cca0 - Updates total subscriber count to exclude trashed records
- Updates unit test
2016-11-12 19:33:46 -05:00
Tautvidas Sipavičius
16ee5e934a Fix typo in property name 2016-11-10 19:17:23 +02:00
Jonathan Labreuille
74276b45c5 use verifyToken instead of generateToken 2016-11-10 17:50:38 +01:00
Tautvidas Sipavičius
b046c9ea4b Gracefully catches Twig exceptions and displays error messages
MAILPOET-667 #time 3h
2016-11-10 16:33:50 +02:00
Jonathan Labreuille
8bd7f5f169 added token verification when updating subscription 2016-11-10 12:21:20 +01:00
Jonathan Labreuille
c22d3c8957 Renamed 'ip' column to 'subscribed_ip'
- updated code based on PR review
2016-11-09 11:43:08 +01:00
Jonathan Labreuille
1a6b032943 Added subscription limit in order to avoid mass subscriptions 2016-11-08 17:29:28 +01:00
Jonathan Labreuille
b36d13a087 Merge pull request #699 from mailpoet/php53-fix
Fixes various errors on PHP 5.3.x
2016-11-07 16:48:18 +01:00
Jonathan Labreuille
1a3aa7a4e4 Merge pull request #701 from mailpoet/rendering_update
Rendering update
2016-11-07 16:27:48 +01:00
Tautvidas Sipavičius
6ce13df2f3 Merge pull request #696 from mailpoet/beacon_report
HS Beacon enhanced report
2016-11-07 15:59:06 +02:00
Tautvidas Sipavičius
4eb85c5d7e Merge pull request #697 from mailpoet/php7_compatibility_update
PHP 7.0 compatibility update
2016-11-07 15:40:48 +02:00
Tautvidas Sipavičius
6eb6636e8b Merge pull request #694 from mailpoet/newsletter_number_shortcode_fix
Newsletter number shortcode fix
2016-11-07 14:03:01 +02:00
Vlad
9635fb5365 - Replaces   with spaces in all templates 2016-11-06 20:06:26 -05:00
Vlad
d4b39cb1f4 - Replaces &nbsp with spaces in text blocks 2016-11-06 20:04:18 -05:00
Vlad
af36e7a0d9 - Converts template to UTF-8 2016-11-06 20:03:21 -05:00
Vlad
1db8626e35 - Fixes 'Cannot access self:: when no class scope is active' error in PHP 5.3 2016-11-06 18:55:20 -05:00
Vlad
61c255564f - Fixes 'Using $this when not in object context' error in PHP 5.3 2016-11-06 18:55:12 -05:00
Vlad
4698d5a4db - Indirectly invokes hash_equals() functions. This prevents PHP Compatibility sniffer
from complains about the function not present in <5.6. WP provides a shim for older
  PHP versions in wp-includes/compat.php
2016-11-05 19:54:55 -04:00
Vlad
e45fc0c0a0 - Renames functions that start with underscores (i.e., names reserved by PHP)
- Removes the unused date_format function
2016-11-05 19:54:46 -04:00
Tautvidas Sipavičius
67f4c21aa8 Fix coding standard issue - extra space after foreach 2016-11-04 17:00:10 +02:00
Tautvidas Sipavičius
5eba0e2731 Fix referencing $this in anonymous function context 2016-11-04 17:00:10 +02:00
Jonathan Labreuille
c05be7d987 remove useless comment (containing a typo on top of that...) 2016-11-04 14:14:48 +01:00
Jonathan Labreuille
b8cb1da777 added custom information to HS Beacon 2016-11-04 14:11:37 +01:00
Vlad
0d32c09df3 - Replaces model arrays with model objects 2016-11-03 20:45:53 -04:00
Vlad
9f288ae11a - Removes unused classes
- Fixes [newsletter:number] shortcode not working
2016-11-03 20:38:20 -04:00
Vlad
e87ccd6b92 - Corrects/updates code comments 2016-11-03 18:11:00 -04:00
Tautvidas Sipavičius
bdcb7f0e58 Merge pull request #687 from mailpoet/issue_681_670
fixed HTML export of subscription form + updated docs url in settings
2016-11-02 16:15:07 +02:00
Jonathan Labreuille
069bc95297 fixed HTML export of subscription form + updated docs url in settings 2016-11-02 13:24:55 +01:00
Tautvidas Sipavičius
2a961cca01 Eliminate an extra level of indentation 2016-11-02 13:10:23 +02:00
Tautvidas Sipavičius
ee275532b1 Merge pull request #679 from mailpoet/secissue_640
XSS in listing sort by
2016-11-02 12:48:40 +02:00
Jonathan Labreuille
40ca54c447 sort by defaults to 'id' if invalid 2016-11-02 11:17:27 +01:00
Tautvidas Sipavičius
e553922eca Update composer.lock and remove leftover comment 2016-11-02 11:30:52 +02:00
Vlad
f037e1271d - Removes php-simple-html-dom-parser dependency
- Updates CSS inliner to use pQuery DOM parser
2016-10-31 19:01:48 -04:00
Jonathan Labreuille
f4563e18cd use filter_var instead of regex 2016-10-31 17:36:53 +01:00
Jonathan Labreuille
feaac5eb54 constrain sort_by to alphanumeric/underscore in order to avoid xss in error notices 2016-10-31 17:36:53 +01:00
Tautvidas Sipavičius
c09bcd51ad Merge pull request #675 from mailpoet/amazon_ses_fix
Fixes const value declaration for PHP <5.6
2016-10-28 17:29:57 +03:00
Vlad
01af4d3401 - Fixes const value declaration for PHP <5.6 2016-10-28 10:13:56 -04:00
Vlad
7d2e13b9a3 - Updates license check logic
- Updates subscriber limit check logic
- Updates unit tests
- Updates Menu's check for subscriber limit
2016-10-27 12:35:57 -04:00
Vlad
a4395f2350 - Adds unit tests 2016-10-27 11:16:30 -04:00
Vlad
411969b3eb - Adds check for premium plugin status
- Bypasses subscriber count enforcement if premium is enabled
2016-10-27 10:20:05 -04:00
Vlad
217894745d - Updates text strings
- Closes #655
2016-10-25 10:21:23 -04:00
Vlad
8330bfc884 - Fixes "completed" status update of notification history
newsletters
- Fixes detection of post notification newsletters that do not contain any posts (i.e., blank ALC blocks)
- Updates unit test
2016-10-24 08:55:22 -04:00
Vlad
ef21a8cca7 - Enables post notification schedule update upon newsletter saving during
step 3
2016-10-24 08:55:22 -04:00