Commit Graph

233 Commits

Author SHA1 Message Date
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
0dcdf6e9f1 Autofix line endings
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
d5bf33c49a Move dateConverter to common utils namespace
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
wxa
42278347cc Import missing functions from polyfill-mbstring [MAILPOET-2695] 2020-02-11 18:21:48 +00:00
684b533bd8 Warn users on PHP < 7.1
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
ceafe62782 Update counting subscriber in listings
[MAILPOET-2631]
2020-01-22 12:28:30 +00:00
5e2559c0ae Exclude WP subscribers from sending limit
[MAILPOET-2631]
2020-01-22 12:28:30 +00:00
89a215a9bf Fix key validity check
[MAILPOET-2637]
2020-01-20 10:39:46 +00:00
6522635dc7 Exclude globals from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
3bbc8ea2af Convert variable names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
d2494469c0 Rename method and variables for clarity
[MAILPOET-2624]
2020-01-14 10:57:20 +00:00
5d59f53834 Check the API key state
[MAILPOET-2624]
2020-01-14 10:57:20 +00:00
ac3d383209 Hide warning when API key exists but limit missing
[MAILPOET-2617]
2020-01-07 17:55:23 +00:00
d79dfdf916 Add mb_string constants
[MAILPOET-2603]
2020-01-07 10:05:13 +00:00
55f8626493 Change warning when user hasw an API key
[MAILPOET-2396]
2020-01-07 09:39:28 +00:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
cda5a57fc3 Use Symfony\Polyfill\Mbstring from prefixed namespace
[MAILPOET-2579]
2019-12-17 09:53:39 +00:00
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
0d87258391 Refactor SubscribersFeature
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
e6689269ff Apply only to free users without MSS or premium key
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
856c870ae5 Show subscribers limit warning
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
042557aafa Apply new limit to new users
I refactored the SubscribersFeature class so that it's easily
unit tested. Computing the subscribers count in the constructor
is better then computing it on every call to check().

[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
a012984a7a Move array_column polyfill to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
bfdaf4da1e Move 3rd-party libs to a dedicated directory
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
613e40d765 Fix linter errors
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
9b74a53df3 Fix types in security
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
672b0c272e Check type for PHPStan
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
f313049776 Make sure the type is always correct
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
25b2edab8a Fix model create annotations
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
1095cba1f1 Add missing translation domains
[MAILPOET-2494]
2019-11-05 10:34:17 +00:00
f27946444e Exclude wizard properly
[MAILPOET-2469]
2019-10-24 10:59:56 +01:00
24e42c2e95 Remove banner from the last year
[MAILPOET-2469]
2019-10-24 10:59:56 +01:00
1ddf68898d Add black friday banner
[MAILPOET-2469]
2019-10-24 10:59:56 +01:00
200a9b1edb Move unrelated code to own class
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
wxa
f4267a6f03 Process each entry only once in unsubscribe tokens worker [MAILPOET-2447] 2019-10-21 12:44:15 +01:00
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
f0afcbcdce i18n: use %s placeholders instead of [number]
Replace `[number]` with `%s` using `sprintf()` function.

Old string:

**Good news! MailPoet won’t send emails to your [number] inactive subscribers. This is a standard practice to maintain good deliverability and open rates. But if you want to disable it, you can do so in settings. [link]Read more.[/link]**

New string:

**Good news! MailPoet won’t send emails to your %s inactive subscribers. This is a standard practice to maintain good deliverability and open rates. But if you want to disable it, you can do so in settings. [link]Read more.[/link]**
2019-09-25 20:03:21 +01:00
9bdfabc039 i18n: use WordPress %s placeholders 2019-09-20 11:00:58 +02:00
77322a08ce Remove confirmation sender settings and warnings
[MAILPOET-2328]
2019-09-12 15:45:34 +02:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
a9bb3e66ed i18n: remove redundant HTML tag
The string has one `<b>` tag and two `</b>` tags. This PR removes the second closing tag.
2019-09-11 10:49:54 +03:00
d3d572faa9 Open KB links in Beacon popover
[MAILPOET-2179]
2019-08-28 14:28:06 -04:00
82123afc7c Add missing PHP doc to hash and string generating functions
[MAILPOET-1900]
2019-08-26 10:59:28 +02:00
13724898d1 Use Cookies service within Session and add unit test
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
33f442df9f Generate unsubscribe tokens 2019-07-31 16:50:44 -04:00