Mo Alsharaf
1cf0f01a35
NEW Allow for optional can permission method for content review ( #152 )
...
* Allow for optional can permission method for content review
* Content Review permission logic
With the new `canReviewContent()` permission checker we only need to check the permission is set for the user and `canBeReviewedBy()` will always check if the page object is due for review by its owner.
Thus removed redundant logic in `canUseReviewContent()` and accordingly renamed the class filename for additional context.
Co-authored-by: Jared Dreyer <jared.dreyer@silverstripe.com>
2022-06-22 12:25:59 +12:00
Steve Boyd
c1c47583b1
Merge branch '4.5' into 4
2022-05-10 21:58:53 +12:00
Steve Boyd
3359ab477e
Update translations
2022-05-04 13:29:41 +12:00
dependabot[bot]
917c63467e
Merge pull request #164 from silverstripe/dependabot/npm_and_yarn/async-2.6.4
2022-05-03 09:27:01 +00:00
dependabot[bot]
69cf355d9f
Bump async from 2.5.0 to 2.6.4
...
Bumps [async](https://github.com/caolan/async ) from 2.5.0 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.5.0...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 21:09:32 +00:00
Guy Sartorelli
9f7b0e2169
Merge pull request #163 from creative-commoners/pulls/4/php81
...
ENH PHP 8.1 compatibility
2022-04-26 17:58:20 +12:00
Steve Boyd
856660192b
ENH PHP 8.1 compatibility
2022-04-13 10:23:56 +12:00
Maxime Rainville
5e313dd7fc
Merge pull request #161 from creative-commoners/pulls/4/update-js-deps
...
MNT Add update JS deps workflow
2022-03-23 15:43:06 +13:00
Steve Boyd
3447883c3c
MNT Add update JS deps workflow
2022-03-22 12:07:10 +13:00
Guy Sartorelli
141e8d0bf3
ENH: Respect sort and limit arguments ( #158 )
...
These parameters are defined in the PHPDocs for `Report` and are technically part of the method signature. They should be respected and in the case of the new default limit in silverstripe/silverstripe-reports#139 this could have performance ramifications for large datasets.
2022-03-11 09:14:06 +13:00
Maxime Rainville
46a637a6a8
Merge pull request #157 from creative-commoners/pulls/4/php74
...
DEP Set PHP 7.4 as the minimum version
2022-02-18 21:46:29 +13:00
Steve Boyd
7def6f8c2a
DEP Set PHP 7.4 as the minimum version
2022-02-11 16:30:49 +13:00
Maxime Rainville
7fde3cf28a
Merge pull request #154 from creative-commoners/pulls/4.3/behat
...
MNT Update behat tests
2021-11-18 17:03:49 +13:00
Steve Boyd
3f21112947
MNT Revert workflow
2021-11-15 14:07:19 +13:00
Steve Boyd
ee8c5d3f91
MNT Add CI workflow
2021-11-13 20:13:55 +13:00
Steve Boyd
f816052f06
MNT Update behat tests
2021-11-12 18:24:50 +13:00
Maxime Rainville
b544032a22
Merge pull request #156 from creative-commoners/pulls/4/sapphire-test-nine
...
API phpunit 9 support
2021-11-01 17:55:12 +13:00
Steve Boyd
89f58ec573
API phpunit 9 support
2021-11-01 14:35:22 +13:00
Steve Boyd
a821edf8d7
FIX Allow users with the CMS_ACCESS_LeftAndMain permission to be added
2021-09-14 13:53:32 +12:00
dependabot[bot]
b3d8f8817c
Merge pull request #119 from silverstripe/dependabot/npm_and_yarn/tar-2.2.2
2021-08-08 21:42:36 +00:00
dependabot[bot]
53209b99db
Bump tar from 2.2.1 to 2.2.2
...
Bumps [tar](https://github.com/npm/node-tar ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Commits](https://github.com/npm/node-tar/compare/v2.2.1...v2.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-08 15:48:24 +00:00
dependabot[bot]
b3062f730b
Merge pull request #151 from silverstripe/dependabot/npm_and_yarn/ini-1.3.8
2021-08-08 15:47:39 +00:00
dependabot[bot]
d47e361b29
Merge pull request #132 from silverstripe/dependabot/npm_and_yarn/node-sass-4.14.1
2021-08-08 15:47:30 +00:00
dependabot[bot]
21aebc40fe
Bump node-sass from 4.5.3 to 4.14.1
...
Bumps [node-sass](https://github.com/sass/node-sass ) from 4.5.3 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases )
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/node-sass/compare/v4.5.3...v4.14.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 06:31:14 +00:00
dependabot[bot]
aa019ea7ff
Bump ini from 1.3.4 to 1.3.8
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.4 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.4...v1.3.8 )
---
updated-dependencies:
- dependency-name: ini
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 06:30:33 +00:00
dependabot[bot]
83d5efa50f
Merge pull request #144 from silverstripe/dependabot/npm_and_yarn/elliptic-6.5.4
2021-08-05 06:29:35 +00:00
dependabot[bot]
d518cae006
Merge pull request #146 from silverstripe/dependabot/npm_and_yarn/ua-parser-js-0.7.28
2021-08-05 06:28:08 +00:00
dependabot[bot]
aa93c7e661
Merge pull request #147 from silverstripe/dependabot/npm_and_yarn/hosted-git-info-2.8.9
2021-08-05 06:25:30 +00:00
dependabot[bot]
b212d067f4
Merge pull request #148 from silverstripe/dependabot/npm_and_yarn/merge-1.2.1
2021-08-05 06:22:40 +00:00
Steve Boyd
c15888277d
Merge branch '4.2' into 4
2021-05-21 13:48:10 +12:00
Steve Boyd
fa031262fb
Merge pull request #149 from dhensby/pull/135
...
Clear non-recurring custom date when reviewing
2021-05-17 10:30:58 +12:00
dependabot[bot]
b93a050100
Merge pull request #141 from silverstripe/dependabot/npm_and_yarn/is-my-json-valid-2.20.5
2021-05-14 10:45:05 +00:00
Daniel Hensby
c89a759af6
Add test
2021-05-14 11:15:09 +01:00
dependabot[bot]
63e500e083
Bump is-my-json-valid from 2.16.1 to 2.20.5
...
Bumps [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid ) from 2.16.1 to 2.20.5.
- [Release notes](https://github.com/mafintosh/is-my-json-valid/releases )
- [Commits](https://github.com/mafintosh/is-my-json-valid/compare/v2.16.1...v2.20.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 10:03:31 +00:00
Jules
ebcfc483be
FIX: Clear non-recurring custom date when reviewing
2021-05-14 10:41:14 +01:00
dependabot[bot]
74945e0123
Merge pull request #145 from silverstripe/dependabot/npm_and_yarn/y18n-3.2.2
2021-05-14 09:39:54 +00:00
dependabot[bot]
ce9ae1d0be
Bump merge from 1.2.0 to 1.2.1
...
Bumps [merge](https://github.com/yeikos/js.merge ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/yeikos/js.merge/releases )
- [Commits](https://github.com/yeikos/js.merge/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 01:16:35 +00:00
dependabot[bot]
497e8eb6c5
Bump hosted-git-info from 2.5.0 to 2.8.9
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.5.0 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.5.0...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 15:40:44 +00:00
dependabot[bot]
9c4b5586fe
Bump ua-parser-js from 0.7.14 to 0.7.28
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.14 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.14...0.7.28 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 01:56:06 +00:00
Maxime Rainville
f3d7a396e3
MNT Remove obsolete branch-alias
2021-05-05 11:17:42 +12:00
dependabot[bot]
30cf99ebe2
Bump y18n from 3.2.1 to 3.2.2
...
Bumps [y18n](https://github.com/yargs/y18n ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 19:30:25 +00:00
dependabot[bot]
4944a14241
Bump elliptic from 6.4.0 to 6.5.4
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.4.0 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-09 09:35:32 +00:00
Steve Boyd
c5f2b44895
Update build status badge
2021-01-21 16:32:51 +13:00
Garion Herman
2aa90feb32
Merge branch '4.1' into 4
2020-12-21 14:58:15 +13:00
Garion Herman
d632359853
Merge pull request #138 from creative-commoners/pulls/4.1/travis-shared
...
MNT Travis shared config, use sminnee/phpunit
2020-12-21 14:54:46 +13:00
Steve Boyd
85e97a83ed
MNT Travis shared config, use sminnee/phpunit
2020-12-15 13:54:35 +13:00
Robbie Averill
b6a6b59aa8
Merge pull request #123 from creative-commoners/pulls/4/behat-fix
...
Fix failing behat test + update travis matrix
2020-01-29 17:18:07 +13:00
Steve Boyd
ad22d6b805
Fix behat test and update travis matrix
2020-01-29 16:53:49 +13:00
Aaron Carlino
49ac8de8f0
META: Add new action to build docs
2019-12-19 13:44:37 +13:00
Robbie Averill
586fb516c6
Merge pull request #121 from silverstripe/dependabot/npm_and_yarn/jquery-3.4.0
...
Bump jquery from 3.2.1 to 3.4.0
2019-12-16 15:22:45 -08:00