0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
kirrg001 02abe3862e Use bookshelf-relations for Permission model: roles
refs https://github.com/TryGhost/Ghost/pull/9592

- we add bookshelf-relations step by step if we need it
- with https://github.com/TryGhost/Ghost/pull/9592 we have rewritten the test env to use Bookshelf
  - this is important for our new url service
  - because the service is listening on model updates and updates the urls based on the model events
- so with moving to Bookshelf, we need any easy way to add relations
  - the test env inserts test fixtures
  - it adds permissions and each permission get's roles attached
  - `models.Permission.add({roles: [...]})
2018-04-25 12:27:39 +02:00
..
adapters Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
api Fixed broken i18n keys 2018-04-18 15:05:20 +02:00
apps Removed unnecessary type attribute in script tags (#9586) 2018-04-18 14:33:31 +02:00
config Replaced routeKeywords in config with hard coded keywords (#9561) 2018-04-17 10:36:05 +01:00
controllers 🐛 Fixed {{author}} for post preview 2018-04-23 09:11:58 +02:00
data Show correct importer context objects 2018-04-18 00:14:46 +02:00
helpers Fixed broken i18n keys 2018-04-18 15:05:20 +02:00
lib Added unit tests for models.Invite.add 2018-04-25 11:56:45 +02:00
models Use bookshelf-relations for Permission model: roles 2018-04-25 12:27:39 +02:00
public 🛠 🙈 Rename ghost-url.js to ghost-sdk.js (#8767) 2017-07-28 18:23:32 +04:00
services Renamed resources to taxonomies in default routes yaml file 2018-04-21 01:17:52 +02:00
translations Fixed broken i18n keys 2018-04-18 15:05:20 +02:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web Replaced routeKeywords in config with hard coded keywords (#9561) 2018-04-17 10:36:05 +01:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
ghost-server.js Consistent event names 2018-04-15 23:52:42 +02:00
index.js Trigger database ready event 2018-04-15 23:53:18 +02:00
overrides.js Set Promise to be Bluebird globally 2017-12-13 20:57:11 +01:00
update-check.js Update Notification improvements (#9123) 2018-01-09 15:20:00 +01:00