Commit Graph

87 Commits

Author SHA1 Message Date
d0292f8624 Convert variable names to camel case in PHPDoc
[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
wxa
09a1411c81 Fix types with annotations [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
dec7bc24a5 Fix undefined properties in models [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
7285a4a075 Fix extra arguments in method calls [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
9a2dea5f37 Add Sudzy to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
25b2edab8a Fix model create annotations
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
10a98031e8 Add some missing annotations
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
wxa
622ae8d4df Deactivate inactive subscribers by ID range for performance reasons [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
abdf20b490 Use correct return value
[MAILPOET-2320]
2019-09-04 11:40:54 -04:00
7a978a3098 Create a newsletter and send it
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
0d27d0f7a6 Fix ESLint and PHPCS errors 2019-06-20 12:40:24 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
f3f769316a Upgrade PHPStan level to 5
[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
114a8281a9 Fix tests, code typos and style 2019-03-21 10:03:21 -04:00
31a8ca2dc0 Refactor Model::_createOrUpdate 2019-03-21 10:03:21 -04: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
wxa
abaf7e5c93 Make models without 'deleted_at' field duplicable [PREMIUM-114] 2019-03-04 07:50:00 -05:00
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a8972ca281 Add space between switch 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
9f533ad5c7 Fix undefined method 2019-01-29 08:17:55 +01: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
c09766a4df Add undocumented Model methods to PHPDoc to fix Premium rules 2019-01-23 16:36:17 +02:00
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
wxa
7b859660b7 End support for PHP 5.5 [MAILPOET-1317] 2018-10-31 15:21:34 +03:00
60ce501c20 Purge old logs
[MAILPOET-570]
2018-08-28 14:36:22 +02:00
99edc35b08 Handle bulk operations on subscribers filtered by dynamic segments
[PREMIUM-69]
2018-02-28 17:12:56 +00:00
b076e03a75 using static instead of self
renaming `internalCreateOrUpdate` to `_createOrUpdate`
renaming `$conditions` to `$keys`
adding block comment for `_createOrUpdate` method.
2018-02-12 11:15:46 +00:00
91622f8cd9 refactoring createOrUpdate method of models 2018-02-07 18:10:49 +00:00
8ff28fd974 Return error code for duplication errors
[PREMIUM-42]
2018-02-05 14:34:15 +00:00
cf00813c7f Adds new method to validate model on request
Cleans up code formatting
2017-07-24 11:20:43 -04:00
5f74f34cba Adds notes explaining the fix 2017-07-17 12:15:39 -04:00
a4dad46fb7 Adds asArray() method to the base Model that's used as proxy for
Idiorm's as_array()
2017-07-15 14:25:50 -04:00
a4282b6a3e Don't leak connection data in PDO exceptions [MAILPOET-966] 2017-06-30 09:29:48 +01:00
d27968a215 Uses WP's is_email() to validate email addresses in Subscriber model 2017-06-04 18:19:37 -04:00
bfc04bfa87 Fix bulk trashing/restoring not working for newsletters/forms on PHP 5.3 [MAILPOET-835] 2017-02-24 15:10:38 +03:00
7fbf84db1f converted text domain to string instead of constant 2016-09-30 09:58:26 +02:00
42202f676a updated Env::plugin_name to constant for text domain 2016-09-27 14:54:23 +02:00
ba6198f956 added textdomain to __() calls 2016-09-27 14:53:44 +02:00