Commit Graph

3245 Commits

Author SHA1 Message Date
Sebastian Gierlinger
85a1902294 Merge pull request #3735 from ErisDS/cache-invalidation
Adding author pages to cache invalidation
2014-08-10 22:01:19 +02:00
Sebastian Gierlinger
d167bb4ff4 Merge pull request #3731 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 #3730 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 #3724

 - 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
Robert Jackson
569fb34a1f
Use the ghost-paths consistently.
Always using the utility function ensures that we have the ability to
update/change/etc these paths without scouring the codebase.

For example, if we ever decide to bump the API version it would be nice
if there was only one location it needed to be updated at.
2014-08-10 13:10:29 -04:00
Hannah Wolfe
d210e400b0 Merge pull request #3729 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 #3722 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 #3723 from JohnONolan/wrong-slug
Fix wrong author slug on user settings page
2014-08-10 15:36:01 +01:00
Sebastian Gierlinger
4fdd4fbda5 Merge pull request #3726 from ErisDS/issue-3716
Fixed MU Importer
2014-08-10 16:08:45 +02:00
Hannah Wolfe
2d2e61676d MU Importer - Assign objects correctly
fixes #3716

- 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 #3719

- correctly sets the path to the RSS feed for tags and authors
2014-08-09 23:16:27 -04:00
Hannah Wolfe
474b9367dd Merge pull request #3717 from felixrieseberg/iss3715
Fix 'broken' debug tools template
2014-08-09 18:00:44 +01:00
Felix Rieseberg
c4aeab1fde Fix 'broken' debug tools template
closes #3715
- Includes wrapper class for @pauladamdavis css
2014-08-09 09:20:50 -07:00
Hannah Wolfe
0b1240fe91 Version bump to 0.5.0-rc3 2014-08-09 00:52:43 +01:00
Hannah Wolfe
516df1a4b3 Updating Casper to latest 2014-08-09 00:50:59 +01:00
Hannah Wolfe
dae40bffec Merge pull request #3708 from felixrieseberg/iss3681-2
Error if user has already been invited
2014-08-09 00:49:12 +01:00
Felix Rieseberg
4269ca94fa Error if user has already been invited
closes #3681
2014-08-08 16:41:16 -07:00
Hannah Wolfe
d6b62501c0 Merge pull request #3706 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 #3704 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 #3705 from wjake/issue-3663
Reset forgotten form on success
2014-08-08 22:45:53 +01:00
Hannah Wolfe
4d4efe26ae Merge pull request #3702 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 #3672, Closes #3673, Closes #3680
- 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 #3649

* 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 #3697 from novaugust/close-modal#3652
Close modals when clicking off them
2014-08-08 18:05:13 +01:00
Hannah Wolfe
2d82617726 Merge pull request #3696 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 #3694

- 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
Hannah Wolfe
9eb2789d68 Merge pull request #3700 from ErisDS/issue-3206
Escaping parens in grunt command paths
2014-08-08 16:54:02 +01:00
Hannah Wolfe
49ded8dcd4 Merge pull request #3699 from dbalders/master
Removed Username From Initial Blog Description
2014-08-08 16:46:11 +01:00
Robert Jackson
1d360b3d18
Do not focus post title when editing. 2014-08-08 11:37:24 -04:00
Hannah Wolfe
140ee3d5e9 Escaping parens in grunt command paths
fixes #3206
2014-08-08 16:14:15 +01:00
David Balderston
99e77cab3c Removed Username From Initial Blog Description
closes #3631
- 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 #3652
2014-08-08 08:33:42 -06:00
Hannah Wolfe
8cf270aad2 Merge pull request #3693 from sebgie/issue#3623
Fix Ghost icon is not clickable
2014-08-08 14:38:06 +01:00
Hannah Wolfe
918a911d3f Merge pull request #3686 from sebgie/issue#3660
Improve error handling for authentication
2014-08-08 14:25:40 +01:00
Sebastian Gierlinger
9e65b47007 Merge pull request #3695 from ErisDS/issue-3657
Don't require protocol for website
2014-08-08 15:24:25 +02:00
Hannah Wolfe
648b503cff Merge pull request #3690 from sebgie/issue#3659
Improve handling of SQLITE_READONLY
2014-08-08 14:18:29 +01:00
Hannah Wolfe
e01046df11 Don't require protocol for website
fixes #3657

- 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 #3688 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 #3658

- 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 #3623
- 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 #3659
- added alternate context/help for SQLITE_READONY error to
errors.logError()
2014-08-08 11:16:51 +02:00
Sebastian Gierlinger
bf3078cd46 Merge pull request #3653 from ErisDS/grunt-spaces
Fix grunt commands to work with spaces in path
2014-08-08 10:23:24 +02:00
Sebastian Gierlinger
784c8aec61 Merge pull request #3683 from ErisDS/issue-3676
Adding overzealous jquery removal
2014-08-08 10:11:29 +02:00
Sebastian Gierlinger
649a0872ec Improve error handling for authentication
closes #3660
- added wrapping in JSON API format to error500()
- added client side handling
2014-08-08 09:44:24 +02:00
Hannah Wolfe
7568bed8e5 Adding overzealous jquery removal
fixes #3676

- this was removed as part of my attempt to clean up the release but is needed for dev mode
2014-08-08 07:50:30 +01:00
Jake Wright
f95a3d349d Reset email form value on success
closes #3663
- Set value of email input as nil string
2014-08-08 02:52:19 +01:00