Commit Graph

224 Commits

Author SHA1 Message Date
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
17474e66cc Handle incorrect group gracefully
[MAILPOET-1953]
2019-09-30 20:01:43 +01:00
173a80b3da Remove unused class import
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
e588ebcee9 Use verifyToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
bc31ca6c6d Remove Subscriber::generateToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
692ff1ed22 Use getToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
ac09343910 Don't mark obsolete tokens as deprecated
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
09db91bc33 Always use length of database link_token for token validation
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
7ea33310e8 Decrease length of old tokens to 6 chars
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
5cbcefbbb4 Use constant for token length
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
b4bb6dd747 Fix tests 2019-09-12 17:32:05 +02:00
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
042213d5aa Generate link_token when new subscriber is created 2019-09-12 17:32:05 +02:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
e8253ad94e Remove bulk option to resend confirmation emails
[MAILPOET-2315]
2019-09-09 09:51:52 +01:00
c1c2d0a102 Hide WooCommerce segments when WooCommerce is not active
[MAILPOET-2163]
2019-08-15 10:44:57 +01:00
1eecd65b3e Add unsubscribe token to new subscribers and newsletters 2019-07-31 16:50:44 -04:00
55b4635051 Update last_subscribed_at on a change
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
2456c2de7d Add last_subscribed_at to Subscriber model
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
0bb18b62b2 Add inactive subscribers notice
[MAILPOET-2088]
2019-06-20 09:22:12 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
d5ccca1966 Don't look up a subscriber for guest WP users [MAILPOET-2047] 2019-05-13 11:12:10 -04:00
8b6fd78cfa [MAILPOET-1898] 2019-04-23 12:33:15 -04:00
b76010ab2d Change subscriber groups order
[MAILPOET-1973]
2019-04-17 08:16:45 +02:00
f6a30dba38 Count inactive subscribers towards subscribers limit
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
be777c20aa Add new "inactive" subscriber status
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
21766421d5 Upgrade PHPStan level to 4
I had to add some ignore errors until phpstan/phpstan#1482 is resolved

[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
7d6f69ec1d Upgrade PHPStan level to 3
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
wxa
59622cd5a0 Move bulkSendConfirmationEmail() method out of the Subscriber model [MAILPOET-1922] 2019-03-21 08:30:45 -04:00
bee5e2f5d1 Return Subscriber::subscribe static method
This method is used by Thrive Leads plugin
[MAILPOET-1865]
2019-03-07 08:48:31 -05:00
ab097d356a Fix PHPStan errors 2019-03-07 08:30:14 -05:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
wxa
7528f0f52b Move subscribe() method to a separate class an make it non-static [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a935b091d3 Add space between elseif/else if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
3a7ea60d3f Refactor MailPoet\Model to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
44b27c32ce Fix undefined property 2019-01-29 08:25:32 +01:00
59418efa99 Merge pull request #1746 from mailpoet/phpstan-cleanup
Raise PHPStan strictness level to 1
2019-01-28 10:47:24 -05:00
1af4666744 Declare missing properties and methods for PHPStan 2019-01-23 21:30:24 +02:00
e13789b768 Fix "Static call to instance method" errors on Models
Paris uses magic methods to create model instance for static calls
2019-01-23 18:44:43 +02:00
wxa
5bf968fbc6 Address PR review remarks [MAILPOET-1721] 2019-01-22 12:25:59 +03:00
wxa
a4ff9822ad Add WooCommerce customers list [MAILPOET-1721] 2019-01-17 21:42:57 +03:00
a9f3eeeb0d User polyfill for array_column
[MAILPOET-1618]
2018-11-27 11:13:00 +01:00
03ca022596 Fix bulk re-sending confirmation emails for subscribers
[MAILPOET-1598]
2018-10-22 10:08:35 +02:00
654dd1e8d0 Rename Send classes
[MAILPOET-1522]
2018-10-15 13:06:19 +02:00