Commit Graph

4574 Commits

Author SHA1 Message Date
Matt Enlow
9e7658f98d 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
388a8dd3f0 Build assets with ember, and serve with ghost 2015-03-11 12:37:41 -06:00
Matt Enlow
d61b2e1a00 Ember init, bower deps, es6 modules 2015-03-11 12:37:41 -06:00
Matt Enlow
6e4bdbaefb The great migration (EAK -> ember-cli) 2015-03-11 12:37:41 -06:00
Hannah Wolfe
7e0143bc63 Merge pull request #5021 from PaulAdamDavis/accessability-text
Clean up hidden accessibility text class
2015-03-11 10:07:45 +00:00
Hannah Wolfe
6b1e9add01 Version bump to 0.5.10 2015-03-09 20:56:46 +00:00
Hannah Wolfe
338e52f70a README & CONTRIBUTING updates
- update compatibility info
- better information on releases
- add ideas.ghost.org to feature request section of contrib
2015-03-09 20:54:00 +00:00
Hannah Wolfe
45010c9366 Merge pull request #4955 from halfdan/iojs
Node v0.12 & io.js support.
2015-03-09 20:34:02 +00:00
Fabian Becker
47e16df196 Node v0.12 & io.js support.
fixes #4811, refs #4240
- Add v0.12 to the build
- Fix express tests to work with iojs/0.12
- Add iojs-v1.2.0 to the build matrix
2015-03-09 20:27:14 +01:00
Matt Enlow
1ca96a8508 Merge pull request #5015 from felixrieseberg/iss4967
Ensure correct url for prev/next links
2015-03-09 13:25:58 -06:00
Hannah Wolfe
26508e6621 Upgrading Casper to 1.1.7 2015-03-09 18:01:45 +00:00
Sebastian Gierlinger
bacd0122d0 Merge pull request #5016 from ErisDS/no-sourcemaps
No more source maps in grunt prod
2015-03-09 19:00:56 +01:00
Hannah Wolfe
fa9335290d No more source maps in grunt prod
refs #4955

- needed to build on ubuntu 14.14 with node 12 (DO image)
- barely used anyway, as release task has it disabled
2015-03-09 17:38:08 +00:00
Felix Rieseberg
4b1ece9f01 Ensure correct url in ghost_head
Closes #4967

- Previously, an additional `/` was added to the prev/next links. This
removes the additional slash.
2015-03-09 18:24:01 +01:00
Hannah Wolfe
feebc9ee0d 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
69fb78150d 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
18015809a4 Merge pull request #5002 from ErisDS/issue-4989
Fixing overzealous trailing-slashes
2015-03-09 10:34:18 -06:00
Sebastian Gierlinger
40e98d27ef Merge pull request #5013 from ErisDS/issue-4989-mailto
Accept mailto: links
2015-03-09 16:15:15 +01:00
Paul Adam Davis
eccf96c836 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
b216677161 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
Sebastian Gierlinger
34146333a7 Merge pull request #5011 from ErisDS/jshint-fix
Temporarily downgrade grunt-contrib-jshint
2015-03-09 13:49:26 +01:00
Hannah Wolfe
0eb74b598e Temporarily downgrade grunt-contrib-jshint
no issue

- grunt-contrib-jshint loosely depends on jshint ^2.6.0 and jshint seem to be having some backwards incompatibility issues with 2.6.1 etc.
- let's downgrade this temporarily (quick/safe option) until they sort their issues, then we can upgrade and make any required changes
2015-03-09 11:55:21 +00:00
Hannah Wolfe
f25c253096 Merge pull request #5001 from JohnONolan/user-help
Introduce new help menu
2015-03-09 10:11:01 +00:00
John O'Nolan
461834f96d Introduce new help menu 2015-03-09 11:53:40 +02:00
Paul Adam Davis
56a6f4ddec 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
4e5cba8c4c 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
7383820e35 Merge pull request #4948 from PaulAdamDavis/simpler-icon-code
Improve icon handling code
2015-03-07 20:16:06 +02:00
John O'Nolan
ccbd3f99ad Merge pull request #4976 from PaulAdamDavis/fix-blog-logo-svg
Remove button wrapping blog logo image
2015-03-07 20:15:53 +02:00
Matt Enlow
e3fc748e92 Merge pull request #4986 from ErisDS/notification-fix
More serverside notificaiton HTML fixes
2015-03-03 14:13:04 -07:00
Matt Enlow
90b355a8d8 Merge pull request #4988 from ErisDS/password-attempts
Users should get 5 password attempts
2015-03-03 14:10:35 -07:00
Hannah Wolfe
b7a80eb5fd Users should get 5 password attempts
closes #4987
2015-03-03 20:23:04 +00:00
Hannah Wolfe
884d766afe More serverside notificaiton HTML fixes
refs #4964, #4969
2015-03-03 19:57:27 +00:00
Hannah Wolfe
8432215cd9 Merge pull request #4970 from felixrieseberg/iss4888-2
RSS: Don't add trailing '/' to post image
2015-03-03 17:59:11 +00:00
Felix Rieseberg
436d2a8e42 RSS: Don't add trailing '/' to post image
Closes #4888

We automatically added a trailing slash to all non-absolute paths in
RSS, including post images. This fix ensures that trailing slashes
aren’t added to absolute paths including ‘content/images/‘.
2015-03-02 20:51:32 +01:00
Paul Adam Davis
4cb7cfff09 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
60f1205070 Version bump to 0.5.9 2015-02-28 19:54:26 +00:00
Jason Williams
47c8aee507 Merge pull request #4969 from ErisDS/notifications-fix
Display serverside HTML notifications correctly
2015-02-28 12:15:39 -06:00
Hannah Wolfe
879b6afbc5 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
7377b44afa Merge pull request #4968 from ErisDS/published-by-fix
Only import can override published_by
2015-02-28 09:59:57 -07:00
Matt Enlow
80861fa50f Merge pull request #4966 from ErisDS/check-edit-id
Check ids match on edit
2015-02-28 09:57:29 -07:00
Matt Enlow
3f1d0b9353 Merge pull request #4965 from ErisDS/validate-image-url
Validate urls in modal
2015-02-28 09:49:15 -07:00
Hannah Wolfe
8553644760 Add compatibility notice to README 2015-02-28 16:46:16 +00:00
Matt Enlow
05a0dda344 Merge pull request #4964 from ErisDS/xss-fix
Mark html notifications as html-safe, else escape
2015-02-28 09:41:58 -07:00
Hannah Wolfe
0e80d77100 Only import can override published_by
no issue

- published_by should be set to the current user, unless we are in import mode

Credits: Matteo Beccaro
2015-02-28 16:27:30 +00:00
Hannah Wolfe
cde1842750 Check ids match on edit
no issue

- It should not be possible to provide a different ID in the object being edited to that provided in the URL
- We now send the id to check object to ensure there is a match

Credits: Matteo Beccaro
2015-02-28 16:25:37 +00:00
Hannah Wolfe
8be8831adb 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
e75939c083 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
Hannah Wolfe
a9389bf682 Upgrading Casper to 1.1.6 2015-02-28 16:17:29 +00:00
Matt Enlow
56a138847a Merge pull request #4962 from ErisDS/global-nav
Make the {{navigation}} helper global
2015-02-28 08:52:45 -07:00
Hannah Wolfe
2450f18170 Make the {{navigation}} helper global
refs #4535

- Rather than storing navigation data as a top level key, store it as @blog.navigation
- Reference the global data from the helper
2015-02-28 12:53:00 +00:00