0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
Commit graph

2344 commits

Author SHA1 Message Date
Felix Rieseberg
0720033e38 Error notification if send mail api returns 500
closes 
- If the mail config is broken, the ajax call will fail with 500 and
not return an error.
- This change catches 500 and wraps the error in a notification.
2014-08-11 09:15:12 -07:00
Hannah Wolfe
988ca127b6 Updating docs links to point to support.ghost.org 2014-08-10 23:17:40 +01:00
Hannah Wolfe
e5771b0b3f Merge pull request from novaugust/ghost-burgers
Fix -navbar events attachment
2014-08-10 22:45:50 +01:00
Matt Enlow
d61e37e799 Fix -navbar events attachment
Closes 
- Move hamburger logic to action with terrible name, "toggleSidebarOrGoHome"
- Move ".js-close-sidebar" events to a document.on(event, *selector*, f) to make sure they attach even when the js-close-sidebars aren't on page (ie, hidenav)
2014-08-10 15:31:47 -06:00
Sebastian Gierlinger
85a1902294 Merge pull request from ErisDS/cache-invalidation
Adding author pages to cache invalidation
2014-08-10 22:01:19 +02:00
Sebastian Gierlinger
d167bb4ff4 Merge pull request from ErisDS/issue-3724
Expose blog URL to client app
2014-08-10 20:51:45 +02:00
Hannah Wolfe
d556f4723e Adding author pages to cache invalidation 2014-08-10 19:32:46 +01:00
Hannah Wolfe
90fc933f08 Merge pull request from jyek/auth-route
Update authentication endpoint for subdirectory
2014-08-10 19:23:31 +01:00
Hannah Wolfe
32d72d5daa Expose blog URL to client app
fixes 

 - provide config.url to the ember client app via a data attribute
 - create server and client side helpers to output the URL
 - wire up the client side helper
 - add a class for testing, and add tests for both the server and client side
2014-08-10 18:49:37 +01:00
Justin Yek
8393ba727b Update authentication endpoint for subdirectory
Fixes bug where user is unable to log into admin when subdirectory is specified
2014-08-11 01:29:36 +08:00
Hannah Wolfe
d210e400b0 Merge pull request from rwjblue/ensure-author-in-psm-is-reset
Ensure PSM author is reset when changing posts.
2014-08-10 16:26:36 +01:00
Hannah Wolfe
c12b92582c Merge pull request from hswolff/rss-atom-url
Fix rss content's url to the RSS feed
2014-08-10 16:01:54 +01:00
Robert Jackson
4752fb77c9
Ensure PSM author is reset when changing posts. 2014-08-10 10:40:04 -04:00
Hannah Wolfe
957b1566de Merge pull request from JohnONolan/wrong-slug
Fix wrong author slug on user settings page
2014-08-10 15:36:01 +01:00
Hannah Wolfe
2d2e61676d MU Importer - Assign objects correctly
fixes 

- change the importer to not override any user details
- only set published_by if it is not already set
- import users before anything else
- process the import and map user ids to existing users
- test fix - owner should have owner role
- test fix - catch invalid success in importer
2014-08-10 14:49:23 +01:00
John O'Nolan
85809a8b82 Fix wrong author slug on user settings page 2014-08-10 10:37:28 +03:00
Harry Wolff
5d70604f9b Fix rss content's url to the RSS feed
fixes 

- correctly sets the path to the RSS feed for tags and authors
2014-08-09 23:16:27 -04:00
Felix Rieseberg
c4aeab1fde Fix 'broken' debug tools template
closes 
- Includes wrapper class for @pauladamdavis css
2014-08-09 09:20:50 -07:00
Felix Rieseberg
4269ca94fa Error if user has already been invited
closes 
2014-08-08 16:41:16 -07:00
Hannah Wolfe
d6b62501c0 Merge pull request from jaswilli/invite-fixup
Close invite user modal immediately after submit.
2014-08-08 22:58:29 +01:00
Hannah Wolfe
2472637321 Merge pull request from javorszky/iss3649
Sends test email to the person who clicked on the button
2014-08-08 22:54:21 +01:00
Hannah Wolfe
78929cab1a Merge pull request from wjake/issue-3663
Reset forgotten form on success
2014-08-08 22:45:53 +01:00
Hannah Wolfe
4d4efe26ae Merge pull request from ErisDS/issue-3694
Switch middleware order to result in proper error
2014-08-08 22:44:30 +01:00
Jason Williams
d488454f10 Close invite user modal immediately after submit.
Closes , Closes , Closes 
- Close and reset modal immediately after submit instead
  of waiting until after processing has finished.
2014-08-08 20:44:03 +00:00
Gabor Javorszky
508f669a49 Sends test email to the person who clicked on the button
Closes 

* Small refactor of the api route for email test. We no longer need to look up the email in the settings
* Added a user model lookup based on context to the test email method.
2014-08-08 18:41:14 +01:00
Hannah Wolfe
56d29d0206 Merge pull request from
Close modals when clicking off them
2014-08-08 18:05:13 +01:00
Hannah Wolfe
2d82617726 Merge pull request from rwjblue/do-not-focus-post-title
Do not focus post title when editing.
2014-08-08 18:03:00 +01:00
Hannah Wolfe
7d37a829c3 Switch middleware order to result in proper error
fixes 

- Split the res.isAdmin check out into it's own thing because we need to detect whether we are in the admin, before everything else
2014-08-08 17:17:07 +01:00
Robert Jackson
1d360b3d18
Do not focus post title when editing. 2014-08-08 11:37:24 -04:00
David Balderston
99e77cab3c Removed Username From Initial Blog Description
closes 
- Removed the 'by + setupUser.name' from authentication.js
- Removed the 'by Test User' from feed_test.js
- Added a '.' to the end of each per issue comment example
2014-08-08 08:04:46 -07:00
Matt Enlow
1e4d11c734 Close modals when clicking off them
Closes 
2014-08-08 08:33:42 -06:00
Hannah Wolfe
8cf270aad2 Merge pull request from
Fix Ghost icon is not clickable
2014-08-08 14:38:06 +01:00
Hannah Wolfe
918a911d3f Merge pull request from
Improve error handling for authentication
2014-08-08 14:25:40 +01:00
Sebastian Gierlinger
9e65b47007 Merge pull request from ErisDS/issue-3657
Don't require protocol for website
2014-08-08 15:24:25 +02:00
Hannah Wolfe
648b503cff Merge pull request from
Improve handling of SQLITE_READONLY
2014-08-08 14:18:29 +01:00
Hannah Wolfe
e01046df11 Don't require protocol for website
fixes 

- we didn't require this previously, and adding it causes issues
2014-08-08 14:15:49 +01:00
Sebastian Gierlinger
d5a34d72e6 Merge pull request from ErisDS/issue-3658
Catch user validation errors on login
2014-08-08 15:07:37 +02:00
Hannah Wolfe
8d46705dbb Disable user validation and errors on login
fixes 

- Catch any errors from user.save() events during login
- Prevent validation from happening at all when only updating status/last_login
- Fixes a problem I introduced with errors which are arrays in logError
2014-08-08 13:12:17 +01:00
Sebastian Gierlinger
22f147c995 Fix Ghost icon is not clickable
closes 
- Initialization of the link was done on login page where the ‚burger‘
did not exist.
- initialization in application needs to be done to make it work on
refresh
2014-08-08 13:53:56 +02:00
Sebastian Gierlinger
9cedd1a2b9 Imporve handling of SQLITE_READONLY
closes 
- added alternate context/help for SQLITE_READONY error to
errors.logError()
2014-08-08 11:16:51 +02:00
Sebastian Gierlinger
649a0872ec Improve error handling for authentication
closes 
- added wrapping in JSON API format to error500()
- added client side handling
2014-08-08 09:44:24 +02:00
Jake Wright
f95a3d349d Reset email form value on success
closes 
- Set value of email input as nil string
2014-08-08 02:52:19 +01:00
Hannah Wolfe
8e17efeac9 Merge pull request from rwjblue/activate-specific-tab-not-toggle
Activate specific tab that is tapped/clicked.
2014-08-07 19:32:14 +01:00
Hannah Wolfe
ae0edc5674 Merge pull request from rwjblue/dont-loop-keyboard-nav
Do not loop keyboard nav on content list.
2014-08-07 19:30:48 +01:00
Hannah Wolfe
f7664194ca Merge pull request from
Add open class to popover buttons
2014-08-07 19:27:46 +01:00
Robert Jackson
493fe8183b
Activate specific tab that is tapped/clicked. 2014-08-07 09:32:10 -04:00
Robert Jackson
b7b797e2fb
Do not loop keyboard nav on content list. 2014-08-07 09:15:24 -04:00
Felix Rieseberg
39f10228f6 Editor: Warn if title change is unsaved
closes 
- TitleScratch is compared with Title; if there’s a difference, we have
unsaved changes and open up the modal.
2014-08-06 20:39:19 -07:00
Matt Enlow
1f608cf5ab Add open class to popover buttons
Ref#3603
- Popover Buttons now have an `open` class applied to them when their popover is open
- The open class is removed from the popover button at the start of the popover's fadeout
- Consolidated common code into popover-mixin
2014-08-06 18:23:03 -06:00
Hannah Wolfe
4b83dfd6ab Merge pull request from halfdan/3630-revoke-user
Fix revoke user invite and user.destroy
2014-08-06 22:29:33 +01:00