Jason Williams
db693b50cb
Do not add autofocus attribute unless set to focus
...
No Issue
- Don't add the "autofocus" attribute to the input element unless
the "focus" property is set to true.
2015-01-30 22:29:34 +00:00
Hannah Wolfe
aa4bcda52c
Merge pull request #4865 from PaulAdamDavis/user-settings-no-name-bug
...
Fix layout error when there's no user name
2015-01-30 20:16:04 +00:00
Jason Williams
571c9b61c3
Simplify url preview component, add test
...
No Issue
- Rework the preview URL component so its implementation is
simpler.
- Add test for gh-url-preview component.
- ember-mocha@0.3.0.
- Remove unused jshint options.
2015-01-29 17:13:02 +00:00
Hannah Wolfe
366ed7c220
Merge pull request #4860 from jaswilli/add-on-enter
...
Add new navigation item on enter key
2015-01-28 21:24:43 +00:00
Paul Adam Davis
61a6197074
Fix layout error when there's no user name
...
No issue
- Adds a clearfix to the user settings header to prevent a broken
layout when there's no name.
2015-01-28 16:43:55 +00:00
Jason Williams
c764503224
Merge pull request #4861 from ErisDS/tag-mgmt-cache
...
Add cache invalidation header when updating tags
2015-01-27 20:23:45 -06:00
Hannah Wolfe
4eee52d142
Add cache invalidation header when updating tags
...
no issue
2015-01-27 23:44:31 +00:00
Jason Williams
b3ed3d78cb
Add new navigation item on enter key
...
No Issue
- Fix regression in add item on enter behavior.
2015-01-27 23:14:45 +00:00
Jason Williams
f0ae1fa919
Set 'value' property before a dependent CP is used
...
No issue.
- Make sure value property has been set before computed
property isRelative is referenced.
2015-01-27 22:23:10 +00:00
John O'Nolan
9881af3404
Merge pull request #4844 from PaulAdamDavis/content-list-style
...
Update content list styles
2015-01-27 13:03:24 -05:00
Hannah Wolfe
057a8d19ac
Merge pull request #4842 from chilts/add-slash-to-tag-editor-tag-url
...
Make preview URLs include trailing slash when slug is given
2015-01-27 17:45:01 +00:00
Hannah Wolfe
54c7d23b26
Merge pull request #4841 from jaswilli/frontend-match
...
Use path-match to match routes instead of Router
2015-01-26 21:28:35 +00:00
Matt Enlow
8693e1dda0
Merge pull request #4855 from jaswilli/serializer-cleanup
...
Update Ember-Data, remove unneeded code
2015-01-26 12:05:50 -07:00
Jason Williams
f794490e61
Update Ember-Data, remove unneeded code
...
No Issue.
- Ember-Data@1.0.0-beta.14.1.
- Remove code from serializers for a workaround that's no longer needed.
2015-01-25 20:00:55 +00:00
Paul Adam Davis
d54af1b926
Update content list styles
...
Closes #4425
- Adds the author avatar (with defalt fallback)
- Shows author name when hovering the avatar (falls back to email address)
- Slightly adjusts type, colour, and spacing
2015-01-24 17:51:19 +00:00
Hannah Wolfe
cea358bff0
Merge pull request #4845 from jaswilli/jshint
...
Remove jshint rules that are no longer supported
2015-01-24 18:23:55 +01:00
Hannah Wolfe
3c86f67fca
Merge pull request #4831 from jaswilli/edit-user
...
Fix up users API so admin role can edit owner
2015-01-23 22:55:08 +01:00
Jason Williams
d633ffc766
Remove jshint rules that are no longer supported
...
No Issue
- grunt-contrib-jshint@0.11.0.
- remove error about browser global Notification being redefined.
2015-01-23 21:00:37 +00:00
Andrew Chilton
4e8dc4f6e3
Make preview URLs include trailing slash when slug is given
...
- the trailing slash isn't shown usually
- slash added when a slug is given to be more correct
2015-01-23 17:34:36 +13:00
Jason Williams
b06d2a619d
Use path-match to match routes instead of Router
...
No Issue
- Use path-match instead of hacking up the Express.Router internals.
2015-01-22 19:21:47 +00:00
Jason Williams
786ec6be28
Format database-related error responses
...
Closes #4735
- Shows error message on client instead of "[object Object]".
- Server log shows error message instead of uknown error.
2015-01-21 18:09:09 +00:00
Hannah Wolfe
8454a1c0bb
Merge pull request #4830 from jaswilli/find-by-role
...
Fixup finding user by role name
2015-01-21 11:01:44 +00:00
Jason Williams
0fc152b2ad
Fix up users API so admin role can edit owner
...
No Issue.
- Make sure that a user with the Admin role can edit the Owner.
- Add test for behavior.
2015-01-20 21:34:24 +00:00
Hannah Wolfe
e26d1a9257
Merge pull request #4826 from jaswilli/issue-4807
...
Implement Navigation item input behaviors
2015-01-20 19:31:04 +00:00
Jason Williams
7578d674ae
Fixup finding user by role name
...
No Issue.
- Build up query object to lookup a user by the name of a role. Return
user with "roles" objects included.
- Add test for findOne by role.
2015-01-20 18:31:17 +00:00
Hannah Wolfe
c946230171
Merge pull request #4823 from jaswilli/fixup-test
...
Assume datetime in import filename is UTC
2015-01-19 18:49:08 +00:00
Jason Williams
d446ad84ea
Implement Navigation item input behaviors
...
Closes #4807
2015-01-18 23:08:03 -06:00
Jason Williams
d5d7919d26
Assume datetime in import filename is UTC
...
No issue.
- Add missing catch handlers to async tests.
2015-01-18 21:20:51 +00:00
Fabian Becker
90ac1fdd16
Fix footnote handling for n-digit numbers
...
fixes #4815
- Fix regex
- Add new test
2015-01-17 14:56:13 +00:00
Jason Williams
1c07273f5a
Update grunt-jscs dependency
...
No Issue
- grunt-jscs@1.2.0
- Clean up some instances of multiple spaces.
- Remove jscs:disable for regexes now that jscs better supports them.
2015-01-16 18:06:20 +00:00
Jason Williams
aee472eb65
Check all users when generating slug
...
No Issue
- Set 'status: all` when calling generateSlug from the user model
so that all user slugs are checked for duplicates instead of
only active users.
2015-01-16 06:56:53 +00:00
Matt Enlow
3982e0f871
Merge pull request #4804 from jaswilli/issue-4539
...
Connect Navigation page to live data
2015-01-14 15:45:04 -07:00
Jason Williams
a007ae1442
Connect Navigation page to live data
...
Closes #4539
2015-01-14 21:24:08 +00:00
Hannah Wolfe
b9db60e3bb
Merge pull request #4801 from halfdan/4800-role-select
...
Fix user role select
2015-01-14 13:30:51 +00:00
Sebastian Gierlinger
023a37b074
Merge pull request #4772 from ekulabuhov/4262_NextPrevPostWIP
...
[API] Retrieve next and previous post
2015-01-14 10:32:07 +01:00
Fabian Becker
7090fa0430
Fix user role select
...
fixes #4800
- Correctly reference the user role for initial value
2015-01-14 00:58:15 +01:00
Jason Williams
9151f53323
Don't assume order of results in import test
...
No Issue
- Fixes intermittent test failure when order of results
returned by loadFile() changes.
2015-01-13 16:40:46 +00:00
Ivan Votti
a63d3ec350
Fix typo in disallow-object-controller
2015-01-13 22:13:26 +07:00
Eugene Kulabuhov
0e2709c42f
[API] Retrieve next and previous post
...
closes #4262
- implementation based on #1545
- added integration test. Modified mocked posts because code requires published_at timestamps to be different.
- fixed 2 broken tests that depended on mocked posts to have "new Date()" as their timestamps
- added checks to only query db if next/previous post requested
2015-01-13 12:49:16 +00:00
Hannah Wolfe
0cb3483bc0
Merge pull request #4694 from PaulAdamDavis/navigation-ember
...
Navigation UI Ember Integration
2015-01-13 09:31:32 +00:00
Hannah Wolfe
e8fa276fea
Update about page copyright
2015-01-12 17:46:11 +00:00
Hannah Wolfe
e6305e83fa
Merge pull request #4765 from martinnormark/master
...
Load next page if scrollHeight <= clientHeight
2015-01-12 14:17:51 +00:00
Jason Williams
66154145f1
Fixup validation engine to handle lack of proxying
...
Closes #4766
- Adjust ValidationEngine so it no longer assumes the properties
it is validating are proxies via ObjectController.
- Fixup controllers, templates, and routes to use models where
data needs to be validated.
2015-01-12 03:27:47 +00:00
Paul Adam Davis
6cc5a58b68
Navigation UI Ember Integration
...
Closes #4537
- Adds Navigation to the Settings menu
- Adds a `navigationUI` config flag (redirects if not an editor or author)
2015-01-11 20:04:01 +00:00
Jason Williams
be462d8d94
Merge pull request #4781 from ErisDS/has-tag-fix
...
Fix has helper tag matching
2015-01-11 13:01:55 -06:00
Hannah Wolfe
5ceb721fa4
Fixes post sort order
...
fixes #4788
2015-01-11 16:46:43 +00:00
Jason Williams
1afd6091a9
Merge pull request #4784 from ErisDS/test-cleanup
...
Misc test cleanup
2015-01-10 10:33:49 -06:00
Hannah Wolfe
fb46b7d356
Misc test cleanup
...
refs #4644
- Changes tests using assert style to use should style for consistency
- Updates moment().subtract() to remove deprecation warning
- Changes test and test-coverage grunt commands to run in a way which is
compatible with both *nix and win envs
- refs #4644 as this is a step towards getting coverage working properly
again
2015-01-10 11:39:18 +00:00
Hannah Wolfe
3f34162fd9
Fix has helper tag matching
...
fixes #4780
2015-01-09 21:52:23 +00:00
Hannah Wolfe
283deb2461
Fix email sending fail when blog title has a comma
...
no issue
- We send emails from Blog Title <ghost@blog-url.com>, but it should be from "Blog Title" <ghost@blog-url.com>
- It worked fine without quotes unless you have a comma in your Blog Title in which case different mail systems get confused in different ways
2015-01-09 21:34:24 +00:00