Commit Graph

31 Commits

Author SHA1 Message Date
Robbie Averill
11a5dc7617 FIX Ensure SiteConfig defaults are used as fallback options 2017-10-06 16:39:53 +13:00
NightJar
ea4b6f5357 Avoid fatal errors when trying to edit in the CMS
If a page has it's `ContentReviewType` `Disabled` (either directly or on a parent via a `Inherit`) **AND ** has a `NextReviewDate` in the past, the page will cause a fatal error when attempting to load it for editing in the CMS. We can avoid this by checking if a pages Options are a boolean value (false for disabled) before trying to call methods on it. Addresses issue #55
2017-03-24 11:52:35 +13:00
Damian Mooyman
d75cf9e280
BUG Prevent non-real draft changes forcing record to appear as changed when saved 2016-05-17 17:57:48 +12:00
helpfulrobot
98c125360b Converted to PSR-2 2015-11-18 16:38:28 +13:00
Damian Mooyman
d9729bf7f1 API CMS Editable notification templates
PSR-2 Coding fixup
2015-11-18 13:25:54 +13:00
Damian Mooyman
affee4bb85 BUG Show inherited date even when inheriting settings 2015-11-18 11:58:57 +13:00
scott1702
6a1047b292 Make 'Mark as reviewed' button look like an action 2015-11-13 16:22:24 +13:00
scott1702
0610b12a4a Make contentreview an inline form 2015-11-13 14:51:09 +13:00
scott1702
b7acdffff2 Change text of reviewed content button
Added description to review notes
2015-11-03 10:24:35 +13:00
Christopher Pitt
61fd586533 Fixed code style 2015-11-02 12:53:31 +13:00
Igor Nadj
93a60eb455 ENH: compatability with other modules 2015-09-23 10:32:23 +12:00
madmatt
8675212885 FEATURE: Add (optional) integration with the queuedjobs module
- Automatically creates a ContentReviewNotificationJob to run the next day if
the queuedjobs module exists

- Does nothing if the queuedjobs module does not exist, to ensure it is optional

- Update composer to suggest queuedjobs module, and updated docs to reflect both
ways of configuring the module
2015-07-31 16:07:18 +12:00
Stig Lindqvist
9317dbaa8c Moved out common functionality to a static method 2014-03-07 14:58:57 +13:00
Stig Lindqvist
c904ec1a15 Seems like 3.1.1 doesnt like multiple togglefields in the same tab.. 2014-02-27 13:51:13 +13:00
Stig Lindqvist
09586b4b12 Show next review date for inherited settings 2014-02-27 11:43:56 +13:00
Stig Lindqvist
4c88574799 BUG When setting up a new site, the default pages will not inherit a review date from siteconfig #20 2014-02-27 11:07:34 +13:00
Stig Lindqvist
ec9b58aea8 code style guidelines 2014-02-25 20:37:59 +13:00
Stig Lindqvist
21b6b05fb7 Showing a readonly field for where settings are derived from 2014-02-25 20:35:27 +13:00
Stig Lindqvist
3017712dfb BUG Cant get owner names from a page that is disabled 2014-02-25 20:34:42 +13:00
Stig Lindqvist
e539ddc165 BUG Inherited settings doesn't trigger the mark as review button to show up 2014-02-25 12:10:39 +13:00
Stig Lindqvist
de4fac0541 AdvanceReviewDate now can use inherited settings #3 2014-02-25 00:46:50 +13:00
Stig Lindqvist
bfbc53c080 More coverage 2014-02-24 22:14:26 +13:00
Stig Lindqvist
32378bb269 Refactorings 2014-02-24 21:17:09 +13:00
Stig Lindqvist
638d2fc331 Refactorings 2014-02-24 21:10:10 +13:00
Stig Lindqvist
ee7feeb130 When changing parents content review setting update the inherited childrens settings as well 2014-02-24 20:19:44 +13:00
Stig Lindqvist
d340004933 Tests and fixes for inherited settings 2014-02-24 13:38:16 +13:00
Stig Lindqvist
0ad06c49fd Inherit content review settings from siteconfig or parent page 2014-02-21 13:33:01 +13:00
Stig Lindqvist
78d84a57c6 Adding default setting to the SiteConfig, broken email and tests though. 2014-02-20 18:05:14 +13:00
Stig Lindqvist
db48bee114 Moved content review settings to the Page.Settings tab 2014-02-19 14:31:47 +13:00
Stig Lindqvist
7a843e222f Improving test coverage 2014-02-18 15:39:13 +13:00
Stig Lindqvist
11e623ab09 Moved sitetree extension to extension directory 2014-02-17 17:06:27 +13:00