Downloads
Download tar.gz
23.68 KB
MD5: f96fcde11ae74f1d58f9be6428add7dd
SHA-1: aee2ed98b55ccae9dd55328f59b3768d326cd244
SHA-256: 5e3923b1fa1fc610543431b3ee572dd7d10b03ad9949737a4e441840aa467756
Download zip
27.91 KB
MD5: a9e16d0b84d5f3442a94fa17a4ad28a8
SHA-1: 1c6c508f47f5e0b8545d6fbb9ccba8261aa34a8b
SHA-256: 917e98aeee9cb5e1a28f648aa471c7acb964bc8610379e1a3c62836589b01d60
Release notes
The major change here is the fix to #1364784: Monthly Interval varies by a few days, which fundamentally changes the way in which a cron run figures out whether a new edition is to be created. Remember to run module updates!
Changes since 6.x-2.1:
- #1567442 by joachim: Changed name of edition alter hook; partial backport from #1476744.
- #1567406 by joachim: Changed use of integers to module constants.
- #1504548 by joachim: Added example of setting the node body to documentation for hook_simplenews_scheduler_cloned_node_alter().
- #1567198 by joachim: Fixed edition node in test not getting a title.
- #1364784 by joachim, Berdir: Added a 'next_run' timestamp to scheduler data; fixed monthly intervals varying.
- #1485392 by joachim: Fixed include statement to be in the function that needs it.
- #1483964 by joachim: Added backport of hook_simplenews_scheduler_cloned_node_alter() from 7.x-1.x branch.
- #1483582 by joachim: Fixed title tokens for node creation time not working.
- by joachim: Removed stray debug code from previous commit.
- #1482310 by joachim: Changed $newsletter_parent_data to be an object to match 7.x-1.x branch.
- #1471436 by Berdir, joachim: Fixed inconsistencies in how the 'current' time is obtained.
- #1472840 by Berdir, joachim: Fixed failing test for newsletter edition node creation date.
- #1475350 by joachim: Fixed edition time not getting set to the new edition node.
- #1471430 by joachim: Changed $row variable to $newsletter_parent_data.
- #1471438 by joachim: Fixed simplenews_scheduler_editions record getting wrong time for new edition.
- #1461156 by Berdir, joachim: Fixed node creation time to use defined time rather than request time.
- #1474880 by joachim: Added backported basic tests.
- #1399626 by joachim: Part 5: Fixed indentation for previous refactoring.
- #1399626 by joachim: Part 4: Added helper for sending a new newsletter edition.
- #1399626 by joachim: Part 3: Removed checking of _simplenews_scheduler_new_edition() return value.
- #1399626 by joachim: Part 2: Moved handling of stop edition to simplenews_scheduler_get_newsletters_due() rather than edition creation.
- #1399626 by joachim: Part 1: Added a helper function to get due newsletters to refactor hook_cron() for cleaner testing.
- #1350542 missing descriptions to hook_schema fields