Commit Graph

70 Commits

Author SHA1 Message Date
Dylan Sweetensen
9378483378 Fixing method call bug in canBeReviewedBy() (#1)
If getOptions returns false, then canBeReviewedBy() throws "Call to a member function OwnerGroups() on boolean".
This will return false, in the the case that options are false.
2017-07-12 09:23:30 +12: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
Jake Bentvelzen
3c2c8d96aa fix(ContentReviewNotificationJob): Changed to use ->config() system so that the next_run_hour can be configured in YAML. 2016-04-11 16:44:26 +10: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
Damian Mooyman
97adaee9a5 Merge pull request #32 from flashbackzoo/pulls/add-user-filter
Add report filter for only the pages a user is assigned to
2015-11-18 10:30:51 +13:00
David Craig
fc6caa2011 Add report filter for only the pages a user is assigned to 2015-11-18 09:44:08 +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
Damian Mooyman
5056615cf2 BUG Fix form saving 2015-11-03 17:18:48 +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
Christopher Pitt
119e6e59d8 Cleaned up tests and Badges 2015-10-29 13:12:27 +13:00
Igor Nadj
93a60eb455 ENH: compatability with other modules 2015-09-23 10:32:23 +12:00
Igor Nadj
4f1d9f15f8 ENH: play nicer with subsites module 2015-09-15 17:28:28 +12:00
Igor Nadj
2b98e7b7d9 Merge remote-tracking branch 'matt/pulls/reporting-url-fix' into cwp-support 2015-09-11 15:33:50 +12:00
madmatt
69896840cb BUGFIX: Links to CMS edit page fails when the link includes ?locale=en_NZ or similar 2015-08-03 19:30:55 +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
3b752be238 NEW report for pages without a review schedule 2014-02-25 20:37:43 +13:00
Stig Lindqvist
8c5e91addc Simplified the Pages due for review report #12 2014-02-25 20:36:26 +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
5376c3a248 Allow drafted pages to show up in the report 2014-02-25 18:23:18 +13:00
Stig Lindqvist
6b337496cf NEW Send one notification email per author #7 2014-02-25 15:54:27 +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
1057e5823a Removed unused class 2014-02-24 21:04:44 +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
4cc6f450a6 Adding report for pages without a content review scheduled 2014-02-19 15:58:19 +13:00
Stig Lindqvist
db48bee114 Moved content review settings to the Page.Settings tab 2014-02-19 14:31:47 +13:00
Stig Lindqvist
f806987ba7 Improving the code coverage 2014-02-19 09:51:54 +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
Stig Lindqvist
ae440666a0 Adding content reviewed actions to a sitetree 2014-02-14 14:49:43 +13:00
Stig Lindqvist
131d643a8c Allow users and/or groups to be content owners 2014-02-13 16:35:13 +13:00
Stig Lindqvist
d28a0eefa0 Coding style guidelines 2014-02-13 14:10:09 +13:00
Andrew Short
90db01d259 Fix incorrect usage of data list methods. 2013-09-25 22:35:38 +10:00
Andrew Short
6a9dca2786 Mark statics as private. 2013-09-23 15:57:54 +10:00