Kevin Ansfield
|
b6d9bad6dc
|
Added custom theme settings browse/edit permissions for Administrators (#13361)
refs https://github.com/TryGhost/Team/issues/1070TryGhost/Team#1070
- initial implementation will only allow browse+edit via the API
|
2021-09-27 09:59:09 +01:00 |
|
Daniel Lockyer
|
2d639ad4a1
|
Replaced removed Bookshelf findWhere function
- as per https://github.com/bookshelf/bookshelf/wiki/Migrating-from-0.15.1-to-1.0.0#collectionfindwhere, the `findWhere` function was removed
- `find` can be used in combination with `matchFunc` and then checking
the values against each other to keep the same functionality
- also updates the tests to reflect the change in number of function calls
|
2021-09-10 16:59:11 +01:00 |
|
Fabien 'egg' O'Carroll
|
c7a7828b57
|
Gave Administrators permission to connect to Stripe (#13228)
refs https://github.com/TryGhost/Team/issues/994
This adds the permission required to connect to Stripe to the
Administrator role, as required by the linked issue.
|
2021-08-26 11:00:40 +01:00 |
|
Hannah Wolfe
|
f08a55c21f
|
Renamed tests to .test.js & updated commands
refs: https://github.com/TryGhost/Team/issues/856
refs: https://github.com/TryGhost/Team/issues/756
- The .test.js extension is better than _spec.js as it's more obvious that it's an extension
- It also meaans we can use the --extension parameter in mocha, which should result in a better default behaviour for `yarn test`
- It also highlights that some of our tests were named incorrectly and were not (and still will not be) run (see https://github.com/TryGhost/Team/issues/856)
- Note: even with this change, `yarn test` is throwing errors, I believe because of this issue https://github.com/TryGhost/Team/issues/756
|
2021-07-06 20:45:01 +01:00 |
|