Jason Williams
46a66a36b1
Fix up ember-cli generated files and misc jscs/jshint errors
2015-03-11 12:37:42 -06:00
Jason Williams
4823ea3159
Change grunt jshint and jscs tasks
2015-03-11 12:37:42 -06:00
Jason Williams
f66c0b347a
Fix up ember test files
2015-03-11 12:37:42 -06:00
Jason Williams
adab9fc23a
Set up tests for ember-cli
2015-03-11 12:37:41 -06:00
Matt Enlow
e9a964362f
grunt init, dev
...
- added grunt-bg-shell
- reorganized asset tasks into one location
- turn off ember-cli analytics
- remove app/config-dev and config-prod
- remove qunit from bower.json
- remove express from package.json
2015-03-11 12:37:41 -06:00
Matt Enlow
0bc879edbe
Build assets with ember, and serve with ghost
2015-03-11 12:37:41 -06:00
Matt Enlow
6d80907c99
Ember init, bower deps, es6 modules
2015-03-11 12:37:41 -06:00
Matt Enlow
589a563b30
The great migration (EAK -> ember-cli)
2015-03-11 12:37:41 -06:00
Hannah Wolfe
e283d3c98d
Merge pull request #5021 from PaulAdamDavis/accessability-text
...
Clean up hidden accessibility text class
2015-03-11 10:07:45 +00:00
Hannah Wolfe
722a38d816
Merge pull request #5014 from PaulAdamDavis/icon-font-reference-fix
...
Update icon font unicode references
2015-03-09 16:59:26 +00:00
Paul Adam Davis
f0802e8b1c
Remove Maps for icons
...
Manually reverts #4948
- Sass Maps suck. They're gone now.
For historical context: They cause issues with various environments when used with Libsass
2015-03-09 16:43:34 +00:00
Matt Enlow
46d1f812e6
Merge pull request #5002 from ErisDS/issue-4989
...
Fixing overzealous trailing-slashes
2015-03-09 10:34:18 -06:00
Paul Adam Davis
d81dfa99f1
Update icon font unicode references
...
Closes #3515 (again)
- Changes the prefix for icons from `\e` to `\f` which is borrowed from Font Awesome
2015-03-09 13:09:44 +00:00
Hannah Wolfe
15e53d3a5e
Accept mailto: links
...
refs #4989
- this allows users to enter mailto and output links via the navigation UI
- the navigation validation/cleanup needs a bit of a refactor to handle other kinds or URI, so leaving #4989 open for now
2015-03-09 13:06:26 +00:00
John O'Nolan
afbb940db5
Introduce new help menu
2015-03-09 11:53:40 +02:00
Paul Adam Davis
ba2b4e04c8
Clean up hidden accessibility text class
...
Closes #4662
- Removed accessibility classes from `_shame.scss` in favour of those in `global.css`, which are from Bootstrap and better tested.
- Change many instances if `class="hidden"` to `class="sr-only"`, so text intended to help with accessibility is not hidden from screen readers, only visually hidden.
2015-03-08 15:58:51 +00:00
Hannah Wolfe
a196d81778
Fixing overzealous trailing-slashes
...
refs #4989
- Don't add a trailing a slash if the url is a file or anchor
2015-03-07 21:09:50 +00:00
John O'Nolan
4d5c63e4df
Merge pull request #4948 from PaulAdamDavis/simpler-icon-code
...
Improve icon handling code
2015-03-07 20:16:06 +02:00
John O'Nolan
409e97772c
Merge pull request #4976 from PaulAdamDavis/fix-blog-logo-svg
...
Remove button wrapping blog logo image
2015-03-07 20:15:53 +02:00
Hannah Wolfe
4fdc730913
More serverside notificaiton HTML fixes
...
refs #4964 , #4969
2015-03-03 19:57:27 +00:00
Paul Adam Davis
153995ff3b
Remove button wrapping blog logo image
...
Closes #4959
An SVG (without width & height attributes) inside a button won't display as it should. There seems to be no fix other than apply a minimum width & height. That doesn't feel right, so I've opted for this.
- Remove the `<button>` wrapping `<img>` elements
- Add `cursor: pointer;` to those images (now they don't get one, not being inside a `<button>`
- Remove the `#blog-logo/cover` IDs and `for` attributes. They only apply focus on text inputs anyway.
2015-03-02 14:53:03 +00:00
Hannah Wolfe
cecb07f6e2
Display serverside HTML notifications correctly
...
refs #4964
- persistent notifcations from the server contain HTML and should be marked HTML safe
2015-02-28 17:41:38 +00:00
Matt Enlow
a6f0264bf1
Merge pull request #4965 from ErisDS/validate-image-url
...
Validate urls in modal
2015-02-28 09:49:15 -07:00
Hannah Wolfe
c3574c6130
Validate urls in modal
...
- Urls added via a model are stored in the DB and need to be validated
Credits: Abdel Adim Oisif
2015-02-28 16:24:34 +00:00
Hannah Wolfe
2070f47fe9
Mark html notifications as html-safe, else escape
...
no issue
- Use the double-tash escaping output for notification messages
- Mark known and trusted html notifications as html-safe
Credits: Abdel Adim Oisif
2015-02-28 16:22:38 +00:00
Matt Enlow
caec7f990e
Merge pull request #4950 from ErisDS/nav-flag-remove
...
Remove navigation config flag
2015-02-26 07:50:23 -07:00
Jason Williams
a25d483da5
Simplify navigation item reordering
2015-02-25 17:26:25 +00:00
Hannah Wolfe
95f6b6f549
Remove navigation config flag
...
ref #4535
- don't need this any more :)
2015-02-25 15:15:55 +00:00
Paul Adam Davis
09b2609e10
Improve icon handling code
...
Closes #4878
This changes nothing except DRYness of code. Its output is exactly the
same.
- Moves all icon variables into a map
- Add getter function to extract variables from the map
2015-02-25 00:21:56 +00:00
Matt Enlow
6f4ec2f21c
Don't save if nav items have empty labels
...
Closes #4942 , Closes #4944
- Also adds the `order` prop to the lastItem on save, so it doesn't jump about
2015-02-24 11:50:07 -07:00
Matt Enlow
c30ed85c80
Fix navigation deletion
...
Closes #4928
2015-02-23 17:02:48 -07:00
Hannah Wolfe
f8e936150f
Merge pull request #4934 from PaulAdamDavis/fix-nav-order-metadata
...
Add `order` property when parsing Navigation JSON
2015-02-23 23:39:06 +00:00
Paul Adam Davis
337ff59888
Add order
property when parsing Navigation JSON
...
Closes #4927
- Add `order` property when parsing Navigation JSON
- Fixes CSS issue where the placeholder nav item drag handle was still visible
2015-02-21 14:07:13 +00:00
Hannah Wolfe
5740834d69
Merge pull request #4935 from PaulAdamDavis/input-error-style
...
Add `error` class styles for inputs
2015-02-20 16:17:28 +00:00
Sebastian Gierlinger
d6c8bc6549
Merge pull request #4923 from ErisDS/nav-trailing-slash
...
Ensure internal nav items have a trailing slash
2015-02-18 20:40:22 +01:00
Hannah Wolfe
dcee7ed234
Merge pull request #4930 from jaswilli/issue-4871
...
Run listener callbacks in Ember run-loops
2015-02-18 19:19:01 +00:00
Sebastian Gierlinger
7fb7a0de09
Merge pull request #4914 from ErisDS/nav-ux-fix
...
Use placeholder only for last item
2015-02-18 19:55:09 +01:00
Jason Williams
af87641bae
Run listener callbacks in Ember run-loops
...
Closes #4871
2015-02-18 17:11:02 +00:00
Paul Adam Davis
5ddd9e3463
Add error
class styles for inputs
...
No issue
Adds a red border to inputs when a `error` class is applied
Also DRY's up the URL input a tad.
2015-02-18 11:34:52 +00:00
John O'Nolan
2c8cd445b8
Merge pull request #4870 from PaulAdamDavis/notifications-bug
...
Move bottom notifications outlet outside of <main>
2015-02-17 21:22:12 +02:00
Hannah Wolfe
d35291259b
Ensure internal nav items have a trailing slash
...
refs #4535
- all internal urls in ghost have a trailing slash, missing it out will cause nav-current to not work
2015-02-16 19:08:41 +00:00
Hannah Wolfe
e2fc4771c1
Use placeholder only for last item
...
refs #4535
- as discussed in the meeting on 1st February ;)
- changed the fake-placeholder to only operate on the last item, this way it feels right, I think
2015-02-13 23:27:22 +00:00
Matt Enlow
920c80e908
Merge pull request #4858 from PaulAdamDavis/nav-drag-order
...
Drag & Drop Navigation Reordering
2015-02-13 11:26:34 -07:00
Matt Enlow
d3d2f9a1ae
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
691f22596e
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
fd2ac648fa
set reset-password button disabled while submitting form
2015-02-13 06:16:18 +07:00
Paul Adam Davis
97506a53f6
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
Jason Williams
5ea14118c8
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
John O'Nolan
5d7e297923
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
bfe546ad5b
Merge pull request #4864 from PaulAdamDavis/user-image-styles
...
Update user image styles
2015-02-04 09:02:20 -04:00