1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

1831 commits

Author SHA1 Message Date
Hannah Wolfe
338989472e Merge pull request #5106 from acburdine/ghost-cm-editor
Added code editor to injection interface: the sequel (this time, with CodeMirror!)
2015-04-06 19:33:18 +01:00
Hannah Wolfe
50143ad3ba Merge pull request #5046 from novaugust/autosave-cleanup
Autosave by observing model.scratch in editor
2015-04-05 23:12:38 +01:00
Austin Burdine
d3bc24f0d7 add code editor component
closes #4995
- adds code mirror editor component
- converted code-injection editor fields to gh-cm-editor component
2015-04-05 11:57:18 -05:00
Hannah Wolfe
f79a9e1228 Merge pull request #5098 from novaugust/view-post-link
Add link to published posts preview on content page
2015-04-05 14:41:07 +01:00
Jason Williams
0464aab764 Merge pull request #5085 from ErisDS/improved-forgotten
Improve the forgotten password flow
2015-04-03 13:40:16 -05:00
Hannah Wolfe
07471d6c05 Improve the forgotten password flow
- if the user has filled out their email already when they hit 'forgotten password' then automatically  fill out and submit the form
- this will look better when we have spinners on the buttons
2015-04-03 17:32:18 +01:00
Matt Enlow
d5d667c2ed Add link to published posts preview on content page
Ref #1756
- the word "Published" in "Published by {{author}}" now links to the post's front page
2015-04-03 09:51:53 -06:00
Matt Enlow
28cb4274c8 Autosave by observing model.scratch in editor
No issue
- removes keypress handling in the editor component
- automated value changes via shortcuts still autosave
2015-04-02 17:06:00 -06:00
Paul Adam Davis
b68ac115bf Re-add X icon
No issue

The `icon-x` class got messed up when I attempted to dry up our icon code in both https://github.com/TryGhost/Ghost/pull/4948 and 69fb78150d. All that was left was an `x` in the file.

This adds that class back, so the `icon-x` icon works again.
2015-04-02 10:42:32 +01:00
Paul Adam Davis
a9ebf85d99 Add version to font-face src url
Closes #5034

- Added `?v=0.1' to the font file URL to force a refresh of any old files with the same name
2015-03-31 10:32:31 +01:00
Hannah Wolfe
5c7c9ad585 Fixing ember build
- removing --silent so we can see errors
- pinning dependencies
- the error with normalize is resolved by pinning ember-cli-sass to 3.1.0, and breaks if upgrading to 3.1.1 as a result of issues with libsass
2015-03-31 10:50:13 +02:00
John O'Nolan
f92ab9066b Font feature settings are incompatible with Open Sans 2015-03-27 12:26:16 +02:00
John O'Nolan
824e14d3f2 Update monospace font stack
Closes #4936
2015-03-22 09:45:50 +02:00
Matt Enlow
6ddb68f67b Merge pull request #5048 from ErisDS/showdown-extensions
Move showdown extensions to ghost-showdown
2015-03-18 07:39:41 -06:00
Hannah Wolfe
0b60fb9ac9 Move showdown extensions to ghost-showdown
no issue

- We already maintain our own fork of showdown, this moves our custom extensions to our fork
- Code duplication is removed
- Tests are also moved to the other repo
2015-03-17 20:18:08 +00:00
Matt Enlow
35c1bdfa82 Merge pull request #5026 from felixrieseberg/iss4978
Fix broken keyboard navigation in PSM
2015-03-17 12:54:39 -06:00
Felix Rieseberg
fb11f179e8 Fix broken keyboard navigation in PSM
Closes #4978

- If we’re not in the subview (meta data) of the PSM, we don't display the html for said subview.
2015-03-17 11:52:48 -07:00
Pascal Borreli
a74f7057a3 Fixed typos 2015-03-17 17:43:53 +00:00
Paul Adam Davis
e7fa3d266d Textarea Editor CSS Improvements
References https://github.com/TryGhost/Ghost/pull/4373

* Consistent line-height & padding cross-browser
* Remove drag handle from textarea
* Partially clean up the CSS to more closely match the new standard
2015-03-17 14:32:55 +00:00
Hannah Wolfe
48996c767b No more CodeMirror
closes #4368, fixes #1240 (spellcheck), fixes #4974 & fixes #4983 (caret positioning bugs)

- Drop CodeMirror in favour of a plain text area
- Use rangyinputs to handle selections cross-browser
- Create an API for interacting with the textarea
- Replace marker manager with a much simpler image manager
- Reimplement shortcuts, including some bug fixes
2015-03-17 14:32:55 +00:00
Matt Enlow
3c927411fa Serve files to core/built/assets/
- see core/client/lib/assets-delivery/index.js for how this is done
- Turn off ember-cli fingerprinting
- ember-cli 0.2.0; Update .npmignore
- Fallback to old version of ember-cli-sass due to lib-sass errors
- Keep ember-data at beta-14.1 until we find the dep that's breaking on snapshot.attr
- Fix release task to ignore blank lines in .npmignore
2015-03-12 15:59:02 -06:00
Matt Enlow
c922db0341 Remove client/docs 2015-03-11 12:37:42 -06:00
Jason Williams
16e75cf44e fix routes test. ember-mocha@0.4.2 2015-03-11 12:37:42 -06:00
Jason Williams
793831ffdf Fix up ember-cli generated files and misc jscs/jshint errors 2015-03-11 12:37:42 -06:00
Jason Williams
9bece8efdb Change grunt jshint and jscs tasks 2015-03-11 12:37:42 -06:00
Jason Williams
86bf039f9b Fix up ember test files 2015-03-11 12:37:42 -06:00
Jason Williams
9a0ea8e287 Set up tests for ember-cli 2015-03-11 12:37:41 -06:00
Matt Enlow
39eda2b0e5 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
46a953062b Build assets with ember, and serve with ghost 2015-03-11 12:37:41 -06:00
Matt Enlow
55472b143f Ember init, bower deps, es6 modules 2015-03-11 12:37:41 -06:00
Matt Enlow
6bbc62d3c2 The great migration (EAK -> ember-cli) 2015-03-11 12:37:41 -06:00
Hannah Wolfe
eba7fec72a Merge pull request #5021 from PaulAdamDavis/accessability-text
Clean up hidden accessibility text class
2015-03-11 10:07:45 +00:00
Hannah Wolfe
22a702b37c 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
e5c38cc5e2 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
cc62ca28f4 Merge pull request #5002 from ErisDS/issue-4989
Fixing overzealous trailing-slashes
2015-03-09 10:34:18 -06:00
Paul Adam Davis
fa7269f57a 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
99ea5412c5 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
751469d0cd Introduce new help menu 2015-03-09 11:53:40 +02:00
Paul Adam Davis
882e4e4d17 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
794156af09 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
00edf151c6 Merge pull request #4948 from PaulAdamDavis/simpler-icon-code
Improve icon handling code
2015-03-07 20:16:06 +02:00
John O'Nolan
5f8d04104c 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
d0b47f687d More serverside notificaiton HTML fixes
refs #4964, #4969
2015-03-03 19:57:27 +00:00
Paul Adam Davis
474fbe0f6e 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
598e7f4843 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
0eb9da7593 Merge pull request #4965 from ErisDS/validate-image-url
Validate urls in modal
2015-02-28 09:49:15 -07:00
Hannah Wolfe
7d47c6c2b4 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
88fd60b73d 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
cdba89e80a Merge pull request #4950 from ErisDS/nav-flag-remove
Remove navigation config flag
2015-02-26 07:50:23 -07:00
Jason Williams
4e96504872 Simplify navigation item reordering 2015-02-25 17:26:25 +00:00