alex-mpoet
7ebcf324a6
Update code for the new cron-expression package
...
[MAILPOET-6167]
2024-08-26 14:52:05 +02:00
Rostislav Wolny
bb7ab59ed5
Improve readability of scheduler code
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Rostislav Wolny
07221d9c68
Get rid of unnecessary parameter in the Scheduler
...
The fromTimestamp parameter was used only in tests.
This commit replaces the parameter in tests by mocks and removes it.
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Rostislav Wolny
506652bdc4
Fix scheduling post notifications
...
The user picks time in a select box, and we expect they pick a time
in the site's timezone so the saved cron expression is in the site's timezone.
When we calculate the next run date, we do it in the site's timezone and
to get UTC time, we convert it.
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Rostislav Wolny
33f4b2d729
Replace usage of WP's current_time without gmt parameter in libs
...
This commit replaces usages by Carbon::now or in case we need a timestamp it
keeps current_time but adds the gtm parameter as true.
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Sam Najian
873c295e99
Remove Paris models and Tasks\Sending from PostNotificationScheduler
...
[MAILPOET-4371]
2022-08-22 13:06:43 +02:00
Jan Lysý
4ba5c6ce0c
Remove old model from Scheduler
...
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
David Remer
c34356b99c
Remove optional $wp parameter in getScheduledTimeWithDelay method
...
[MAILPOET-4252]
2022-04-25 12:08:18 +02:00
David Remer
ca3f8bdc43
Make Scheduler non-static
...
[MAILPOET-4252]
2022-04-25 12:08:18 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00