Ghost/ghost/admin/models
Gabor Javorszky b114c8cfef Current user added
Closes #340. Closes #375
* Replaced session with id of current user
* Added method to ghostlocals to always send profile picture and full name to templates (template checks if falsy)
* Modified user saving (`forge().set(new).save()` died on me, `forge().save(new)` didn't)
* If user has profile picture, that will be used
* If user has name, that will be used
* Password changing doesn't care about your email. Uses cookies. Tasty!
* User pane uses current user id. Had to set path to me, otherwise goes to `browse` instead of `read`.
* Added logic to user api to check for `id === 'me'`, and then use the cookie value
* User data saves are now correct
* There is no logout error
2013-08-17 22:02:46 +01:00
..
post.js App restructure - closes #245 2013-07-11 20:23:34 +01:00
settings.js App restructure - closes #245 2013-07-11 20:23:34 +01:00
user.js Current user added 2013-08-17 22:02:46 +01:00
widget.js App restructure - closes #245 2013-07-11 20:23:34 +01:00