Commit Graph

3373 Commits

Author SHA1 Message Date
Hannah Wolfe
13a610a8e1 Merge pull request #4901 from felixrieseberg/RSS-Image
Add Post Image to RSS Feed
2015-02-14 22:35:17 +00:00
Matt Enlow
81fd5f9eaf Merge pull request #4858 from PaulAdamDavis/nav-drag-order
Drag & Drop Navigation Reordering
2015-02-13 11:26:34 -07:00
Matt Enlow
2d7bbdcaa7 Merge pull request #4910 from 1pete/disable-reset-pw-btn
Set reset-password button disabled while submitting form
2015-02-12 19:51:49 -07:00
Jason Williams
6cc715d41b Adjust reauth modal to handle removal of proxying
Closes #4907.
- The modal signin no longer inherits from the signin page
  controller to simplify the interaction with simple-auth.
2015-02-13 01:40:13 +00:00
1Pete
69f9cc5192 set reset-password button disabled while submitting form 2015-02-13 06:16:18 +07:00
Paul Adam Davis
68eb6b67b0 Drag & Drop Navigation Reordering
Closes #4540

- Implements drag & drop to reorder navigation items
- Adds a `sort` property to navigation items
- Adds a tiny library to enable touch events for drag & drop. It hooks onto jQuery UI.
- Sort nav items before being saved
- Adds `settings-view-navigation` to route for body class
2015-02-12 17:02:46 +00:00
Felix Rieseberg
762a47b6bf Add Post Image to RSS Feed
Closes #4888

- If a post cover image exists, it is added to the `description` tag
(at the very front). This allows RSS readers to pic up the picture.
2015-02-10 14:04:59 -08:00
Jason Williams
2a91a1071e Update Ember to 1.10.0
No issue.
- Ember@1.10.0
- Update grunt-ember-templates to version that supports HTMLBars.
- Update Gruntfile.js to compile templates with HTMLBars.
- Convert Handlebars code to its HTMLBars equivalent.
2015-02-09 16:20:16 +00:00
Hannah Wolfe
a110b3741f Merge pull request #4862 from nsfmc/urlmod
Update `urlFor` to handle 'nav' contexts
2015-02-07 21:15:48 +00:00
rmfx
19ea1824a1 Remove duplicate 'an'
Remove the second 'an' on line 264.
2015-02-06 20:30:35 +00:00
Hannah Wolfe
5a18eae819 Merge pull request #4882 from jaswilli/client-controller-tests
Add tests for client controllers
2015-02-05 20:28:40 +00:00
Hannah Wolfe
6005bc732d Merge pull request #4887 from jaswilli/issue-4886
Fix error in generating absolute URLs for RSS
2015-02-04 18:30:28 +00:00
John O'Nolan
3c52d96fe6 Merge pull request #4793 from PaulAdamDavis/url-upload-styles
Update Image URL Input Styles
2015-02-04 09:02:33 -04:00
John O'Nolan
6f0e445e9f Merge pull request #4864 from PaulAdamDavis/user-image-styles
Update user image styles
2015-02-04 09:02:20 -04:00
Jason Williams
921f7dab5b Fix error in generating absolute URLs for RSS
Closes #4886
2015-02-03 21:10:06 +00:00
Jason Williams
8d7b0034bb Add tests for client controllers
No Issue.
- Add tests for SettingsGeneral controller.
- Add tests for PostSettingsMenu controller.
2015-02-02 22:22:03 +00:00
Hannah Wolfe
31880e7cfa Merge pull request #4880 from jaswilli/client-model-tests
Add tests for admin client models
2015-02-02 19:03:40 +00:00
Jason Williams
b1b24706b4 Merge pull request #4877 from harryhope/master
Ignore non-words in word counter
2015-02-02 10:52:04 -06:00
Jason Williams
d60fff9519 Add tests for admin client models 2015-02-01 21:41:55 +00:00
Harry Hope
6361976c39 ignore non-words in word counter 2015-02-01 01:22:20 -05:00
Jason Williams
15fcc8067b Fix regression in re-setting slug on untitled post
Refs #4748
2015-02-01 05:17:24 +00:00
Marcos Ojeda
6f457768a2 Update urlFor to handle 'nav' contexts
needed for #4852
Before this, calling `{{url}}` with a nav context from #4541 would
output `/`. This adds a check in `urlFor` that looks for keys in a
nav context object, namely `slug`, `current`, `label`, & `url`.

This change allows for a url to pass through if used in a nav context.

* adds `schema.isNav()`
* adds tests to `url_spec.js`
* handles absolute urls correctly even if `absolute=true`
2015-01-31 09:29:53 -08:00
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
Paul Adam Davis
56e9f09277 Update user image styles
Related to #4844

The newly added user image in the content list uses a CSS property to
crop `img` tags, but it's not supported in IE or Firefox. This issue
corrects that by chancing them to be background images which can be
cropped cross-browser.

It also adjusts the nav bar user image (previously an `img` tag) which
would squash a non-square image.

Also removes the border around the settings/users/ user images, to be
consistent with the rest of the UI.
2015-01-29 11:34:14 +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