Rostislav Wolny
5490b9e2a2
Fix PHPStan error
...
We create $values array in the same method and its count is always multiple of 3
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
c8ce0d96ac
Update PHPStan packages
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
8335e59a50
Add temp to ignored folders for code sniffer
...
The folder is created by PHPStan and contains PHPStan cache.
It doesn't cause any errors but including it makes the check much longer.
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
64b591f70b
Update php code sniffer packages
...
[MAILPOER-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
6824f04605
Update tools (composer and tracy)
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
b4c2c55ffd
Update symfony/validator
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
352ac07d04
Update symfony/dependency-injection
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
bf13737873
Update swiftmailer/swiftmailer
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
da718b9f8e
Update nesbot/carbon
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
414135bc14
Update doctrine/orm
...
Updating doctrine/orm required update of symfony/polyfill-php72
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
b8d72522a2
Replace deprecated doctrine methods in tests directory
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
73a9bed483
Replace deprecated doctrine methods in lib directory
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
efde80b5c4
Update doctrine/dbal
...
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
86e938b46e
Provide PSR array cache and switch annotation reader to it
...
The annotation reader was using CachedReader which has been deprecated so we need to switch to PsrCachedReader
Since 2.0 doctrine/cache no longer provides implementations of caches so I also needed to implement a simple PSR array cache.
[MAILPOET-3892]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
503283fa63
Provide array cache implementation
...
doctrine/cache 2.0 no longer provides implementations of caches. It provides only interfaces.
We need only PHP array cache so I chose to implement this simple cache instead of introducing
new cache library.
[MAILPOET-3892]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
35271bcaf9
Update doctrine/common package
...
The updated sub-dependency doctrine/cache no longer contains cache implementations
so we could remove the cleanup code.
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Jan Lysý
e6fb37e52d
Use python pip3 for installation transifex
...
[MAILPOET-3881]
2021-10-28 15:43:13 +02:00
Jan Lysý
ed6fb62467
Use a newer image for PHP8
...
[MAILPOET-3881]
2021-10-28 15:43:13 +02:00
Jan Lysý
2f83e6acae
Increase npm engine
...
[MAILPOET-3881]
2021-10-28 15:43:13 +02:00
Jan Lysý
67e04502f0
Increase nodejs version for nvm
...
[MAILPOET-3881]
2021-10-28 15:43:13 +02:00
Pavel Dohnal
09242031f8
Remove code that is not used any more
...
[MAILPOET-3821]
2021-10-28 15:19:27 +02:00
Pavel Dohnal
f1101f22dd
Delete duplicities in the code
...
The old model did update already created data
But doctrine tried to create a new row but it failed
because of duplicity. We create a subscriber row
using a hook.
[MAILPOET-3821]
2021-10-28 15:19:27 +02:00
Pavel Dohnal
6ecc0c3350
Refactor IntegrationTester to Doctrine
...
[MAILPOET-3821]
2021-10-28 15:19:27 +02:00
Jan Lysý
81bfcc4247
Remove code for backward compatibility
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
9b5576babd
Add fix for inconsistent data in dynamic filters table
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
a8bb1a044b
Use consistent name for parameter name in Reporter
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
8f7ef3aa51
Rename method for getting count of segments with more filters
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
6e6ba3e7a1
Use new signature of the dynamicSegmentFilterData constructor
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
cc05b945b4
Use new properties in repository
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
78e763deee
Add new properties and change constructor
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
c51d5afd48
Add new columns into dynamic_segment_filters table
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
8d2eed4f71
Add integration test
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
1ee7581890
Add new tracked data to Reporter
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
0af5f111be
Add new function for getting count of segments with more filters
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
02ad7c9c8e
Add repository for DynamicSegmentFilters
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Pavel Dohnal
c4037776f7
Fix newly found phpstan errors
...
[MAILPOET-3792]
2021-10-27 13:29:12 +02:00
Pavel Dohnal
f597416837
Add a docblock to container wrapper
...
[MAILPOET-3792]
2021-10-27 13:29:12 +02:00
wxa
188657a5fb
Move StatisticsUnsubscribeEntity creation to tests
...
[MAILPOET-3819]
2021-10-27 11:24:22 +02:00
wxa
046f7d58e9
Remove DynamicSegment model: deprecation period expired
...
[MAILPOET-3819]
2021-10-27 11:24:22 +02:00
wxa
1f924c8d2e
Mark StatisticsUnsubscribes model as deprecated
...
[MAILPOET-3819]
2021-10-27 11:24:22 +02:00
wxa
bacfd3c4dc
Remove usages of StatisticsUnsubscribes model
...
[MAILPOET-3819]
2021-10-27 11:24:22 +02:00
Rodrigo Primo
ba15b9b251
Move ScheduledTask::findFutureScheduledByType() to ScheduledTasksRepository
...
Now that all other methods that use ScheduledTask::findByTypeAndStatus()
were moved to ScheduledTasksRepository, we can move
findFutureScheduledByType() as well and delete
ScheduledTask::findByTypeAndStatus().
[MAILPOET-3845]
2021-10-26 16:50:27 +02:00
Pavel Dohnal
d841ca7255
Add a footer to testing email
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
0d70174737
Only do validation if MSS is active
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
813d43f857
Validate if newsletter has an unsubscribe link
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
3a67210743
Load the entity for validation
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
c886925d7d
Make sure the tooltip is not cut in half
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
34fe0494ea
Remove the old tooltip
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
8941ee3e8f
Add a tooltip when the newsletter fails to validate
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
51ca69fba0
Validate email before sending
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00