0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00
ghost/core/client/app/routes
Kevin Ansfield 01cdff5c92 Fix initial loading of a route with an invalid session
no issue
- if the session is "authenticated" but is invalid, the initial load of the app would fail. It could be replicated by:
	1. Authenticating in a running ghost instance
	2. Stopping ghost
	3. Deleting the database
	4. Re-starting ghost
	5. Closing the browser
	6. Re-opening the browser and visiting http://localhost:2368/ghost
- this fix stores the `transition` object for the duration of the initial load so that `sessionInvalidated` method can trigger actions before the transition has finished
2016-05-13 13:47:39 +02:00
..
editor Replace jQuery-based uploader.js with ember components 2016-04-05 12:03:20 +01:00
posts improve 404 error handling in post route 2016-02-14 16:49:57 -06:00
settings Fix loss of private settings when saving in certain circumstances 2016-05-13 12:24:17 +02:00
setup cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
subscribers Subscribers: Admin User Interface v1 2016-05-11 10:28:11 +02:00
team Improve PaginationRoute mixin 2016-04-19 10:53:45 +01:00
about.js Restructure Configuration API endpoint 2016-02-19 18:49:23 +00:00
application.js Fix initial loading of a route with an invalid session 2016-05-13 13:47:39 +02:00
authenticated.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
error404.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
mobile-index-route.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
posts.js Improve PaginationRoute mixin 2016-04-19 10:53:45 +01:00
reset.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
setup.js Pre-populate setup values from config 2016-05-11 19:30:56 +02:00
signin.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
signout.js fix logging out from editor page 2016-02-16 20:07:03 -06:00
signup.js cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
subscribers.js Subscribers: Admin User Interface v1 2016-05-11 10:28:11 +02:00