Commit Graph

169 Commits

Author SHA1 Message Date
Kevin Ansfield
91f14419c6 Updated Casper to 2.11.1 2019-08-27 19:44:36 +01:00
Rish
21f87e9925 Updated Casper to 2.11.0 2019-08-27 21:01:30 +05:30
Rish
e9c7c46f87 Updated Casper to 2.10.7 2019-08-22 07:31:35 +05:30
Fabien O'Carroll
9f7a34c4d7 Updated Casper to 2.10.6 2019-08-06 17:34:38 +08:00
Rish
b7564f7cb1 Updated Casper to 2.10.5 2019-07-30 20:24:26 +05:30
Aileen Nowak
d11fd4210b Updated docs api links to be version-less 2019-07-25 15:17:23 +08:00
Kevin Ansfield
7370dc2fa0 Updated Casper to 2.10.4 2019-07-23 12:01:47 +01:00
Aileen Nowak
496f873ac4
Updated links to docs (#10941)
no issue
2019-07-22 18:17:50 +08:00
Fabien O'Carroll
94dfed7a95 Updated Casper to 2.10.3 2019-07-01 13:31:22 +07:00
Nazar Gargol
ede267e823 Updated README in content/settings
no issue

- Updated TODO with a link to docs
2019-06-21 10:42:10 +02:00
Nazar Gargol
c101f51fcc Updated Casper to 2.10.2 2019-06-04 13:01:40 +02:00
Fabien O'Carroll
39df4096b4 Updated Casper to 2.10.1 2019-05-14 11:16:04 +02:00
Nazar Gargol
04e12edc56 Updated Casper to 2.10.0 2019-05-07 12:37:29 +02:00
Fabien O'Carroll
1ca9b2003c Updated Casper to 2.9.11 2019-04-23 11:34:46 +02:00
Rish
2649cf112a Updated Casper to 2.9.10 2019-04-16 16:42:31 +05:30
Fabien O'Carroll
9ed6da588a Removed content/apps directory
no-issue
2019-04-16 11:05:33 +02:00
Nazar Gargol
095d022a5e Updated Casper to 2.9.9 2019-04-09 19:30:37 +08:00
Kevin Ansfield
475e031542 Updated Casper to 2.9.8 2019-04-04 14:58:48 +01:00
Kevin Ansfield
421da1ac82 Updated Casper to 2.9.7 2019-04-02 10:02:14 +01:00
Rish
48f2bd73be Updated Casper to 2.9.6 2019-03-19 16:41:50 +05:30
Kevin Ansfield
96cddbb16d Upgrading Casper to 2.9.5 2019-03-12 18:41:20 +00:00
Nazar Gargol
8381cd9f97 Upgrading Casper to 2.9.4 2019-03-12 20:31:33 +08:00
Fabien O'Carroll
e46cd1e558 Upgrading Casper to 2.9.3 2019-02-21 12:01:29 +01:00
Rish
7d3e1aa00b Upgrading Casper to 2.9.2 2019-02-12 16:31:41 +05:30
Kevin Ansfield
5c120068fd Upgrading Casper to 2.9.1 2019-01-22 11:09:05 +00:00
Fabien O'Carroll
4c8b455623 Upgrading Casper to 2.9.0 2019-01-15 14:08:53 +01:00
Nazar Gargol
f284f887cf Upgrading Casper to 2.9.1 2019-01-08 11:58:39 +00:00
Kevin Ansfield
42ad412339 Upgrading Casper to 2.8.0 2018-12-17 14:18:49 +00:00
kirrg001
0f2f75cc16 Upgrading Casper to 2.7.1
no issue
2018-12-11 12:06:04 +01:00
Kevin Ansfield
b1c7781cc6 Upgrading Casper to 2.7.0 2018-10-16 15:51:40 +01:00
Nazar Gargol
9450b7fa37 Upgrading Casper to 2.6.4 2018-10-09 16:17:45 +02:00
Fabien O'Carroll
afdf1bd741 Upgrading Casper to 2.6.3 2018-09-25 11:37:45 +07:00
Nazar Gargol
aab9df1784 Upgrading Casper to 2.6.2 2018-09-11 13:53:19 +02:00
kirrg001
6dfcbd251e Upgrading Casper to 2.6.1 2018-08-31 11:28:27 +01:00
kirrg001
4c0e2754ba Upgrading Casper to 2.6.0 2018-08-30 17:48:20 +01:00
kirrg001
c2e1d4a124 Upgrading Casper to 2.5.1
no issue
2018-08-22 14:33:38 +02:00
kirrg001
2907e81c2f Upgrading Casper to 2.5.0
no issue
2018-08-16 14:01:28 +02:00
kirrg001
eb90712105 Upgrading Casper to latest master
no issue
2018-08-16 12:13:24 +02:00
kirrg001
8bb7088ba0 🔥 Removed permalink setting
refs #9742

- removed usage of single permalink setting
  - with dynamic routing this configuration does no longer makes sense
  - because you can configure your permalinks in the routes.yaml
  - furthermore you can have multiple collections with multiple permalinks
- removed @blog.permalinks
- do not export permalink setting
- do not import permalink setting
- permalink setting UI will be removed soon
- get rid of {globals.permalink} completely
- remove yaml in-built migration
- do not expose settings.permalinks via the private API
- do not allow to edit this setting
- keep phyiscal value in case a blog needs to rollback from v2 to v1
- sorted out when the routers should be created
  - ensure routes.yaml file doesn't get validated before Ghost is fully ready to start
2018-08-16 12:13:24 +02:00
kirrg001
7b9c6af9d7 Updated docs links
refs #9742

- 2.0 will become the latest version on our readme pages
2018-08-16 12:13:24 +02:00
kirrg001
7c4e1584a6 Upgrading Casper to 2.4.2 2018-08-08 17:11:39 +02:00
Kevin Ansfield
329c13900e Upgrading Casper to 2.4.1 2018-07-31 11:34:52 +01:00
kirrg001
cc0e95ba4f Upgrading Casper to 2.4.0 2018-07-24 15:25:51 +02:00
Kevin Ansfield
99d7dab1f5 Update Ghost-Admin and Casper sub-modules for Koenig compatibility 2018-07-23 12:24:56 +01:00
Katharina Irrgang
5a61f99467
Dynamic Routing: Added migration for routes.yaml file (#9692)
refs #9601

- the home.hbs behaviour for the index collection (`/`) is hardcoded in Ghost
- we would like to migrate all existing routes.yaml files
- we only replace the file if the contents of the routes.yaml file equals the old routes.yaml format (with home.hbs as template)
- updated README of settings folder
- if we don't remove the home.hbs template from the default routes.yaml file, home.hbs will be rendered for any page of the index collection
  - the backwards compatible behaviour was different
  - only render home.hbs for page 1
- remember: the default routes.yaml file reflects how Ghost was working without dynamic routing
2018-06-22 20:28:01 +02:00
Kevin Ansfield
11bd398b1c Upgrading Casper to 2.3.3 2018-06-14 17:04:15 +01:00
Katharina Irrgang
b392d1925a
Dynamic Routing Beta (#9596)
refs #9601

### Dynamic Routing

This is the beta version of dynamic routing. 

- we had a initial implementation of "channels" available in the codebase
- we have removed and moved this implementation 
- there is now a centralised place for dynamic routing - server/services/routing
- each routing component is represented by a router type e.g. collections, routes, static pages, taxonomies, rss, preview of posts
- keep as much as possible logic of routing helpers, middlewares and controllers
- ensure test coverage
- connect all the things together
  - yaml file + validation
  - routing + routers
  - url service
  - sitemaps
  - url access
- deeper implementation of yaml validations
  - e.g. hard require slashes
- ensure routing hierarchy/order
  - e.g. you enable the subscriber app
  - you have a custom static page, which lives under the same slug /subscribe
  - static pages are stronger than apps
  - e.g. the first collection owns the post it has filtered
  - a post cannot live in two collections
- ensure apps are still working and hook into the routers layer (or better said: and register in the routing service)
- put as much as possible comments to the code base for better understanding
- ensure a clean debug log
- ensure we can unmount routes
  - e.g. you have a collection permalink of /:slug/ represented by {globals.permalink}
  - and you change the permalink in the admin to dated permalink
  - the express route get's refreshed from /:slug/ to /:year/:month/:day/:slug/
  - unmount without server restart, yey
- ensure we are backwards compatible
  - e.g. render home.hbs for collection index if collection route is /
  - ensure you can access your configured permalink from the settings table with {globals.permalink}

### Render 503 if url service did not finish

- return 503 if the url service has not finished generating the resource urls

### Rewrite sitemaps

- we have rewritten the sitemaps "service", because the url generator does no longer happen on runtime
- we generate all urls on bootstrap
- the sitemaps service will consume created resource and router urls
- these urls will be shown on the xml pages
- we listen on url events
- we listen on router events
- we no longer have to fetch the resources, which is nice
  - the urlservice pre-fetches resources and emits their urls
- the urlservice is the only component who knows which urls are valid
- i made some ES6 adaptions
- we keep the caching logic -> only regenerate xml if there is a change
- updated tests
- checked test coverage (100%)

### Re-work usage of Url utility

- replace all usages of `urlService.utils.urlFor` by `urlService.getByResourceId`
  - only for resources e.g. post, author, tag
- this is important, because with dynamic routing we no longer create static urls based on the settings permalink on runtime
- adapt url utility
- adapt tests
2018-06-05 19:02:20 +02:00
kirrg001
c2849728e9 Updated content/settings/README.md
no issue

- the name of the routing type was incorrect
- we have
  1. routes: static routes (or series later)
  2. collections: a collection of posts
  3. taxonomies: configuration for author and tag routes
- see equivalent: https://github.com/TryGhost/Ghost/blob/1.23.1/core/server/services/settings/default-routes.yaml
2018-06-01 19:36:48 +02:00
Kevin Ansfield
91a1732c0f Upgrading Casper to 2.3.2 2018-05-29 16:10:26 +01:00
Kevin Ansfield
0b5ffff53e Upgrading Casper to 2.3.1 2018-05-29 15:45:24 +01:00