Commit Graph

4635 Commits

Author SHA1 Message Date
Hannah Wolfe
880c911d22 Merge pull request #5046 from novaugust/autosave-cleanup
Autosave by observing model.scratch in editor
2015-04-05 23:12:38 +01:00
Hannah Wolfe
6db9826b23 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
Matt Enlow
242388f743 Merge pull request #5065 from ErisDS/rss-2263
Improve RSS feed
2015-04-04 07:55:33 -06:00
Hannah Wolfe
0a780de2bb Merge pull request #5070 from baogechen/master 2015-04-03 20:25:45 +01:00
baogechen
351298b83b Add parent call in user.format to fix dateTime
closes #5066

- fix a problem that user model will fail to save if mysql has option of
STRICT_TRANS_TABLES
- add a parent call in user.format override function, which should fix
dateTime format before user saved.
2015-04-03 20:04:19 +01:00
Jason Williams
bf3693a7fa Merge pull request #5085 from ErisDS/improved-forgotten
Improve the forgotten password flow
2015-04-03 13:40:16 -05:00
Hannah Wolfe
79d213436e Improve RSS feed
refs #2263

- Switch content type back to text/xml
- Use content:encode for full content
- Use meta description or first 50 words of content for description
2015-04-03 19:00:00 +01:00
Hannah Wolfe
68f32772d2 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
91124646ed 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
ead9f8f36f 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
Hannah Wolfe
cb2f0c5dee Merge pull request #5056 from ianlopshire/master
url helper breaks subdomains
2015-04-02 22:08:23 +01:00
Matt Enlow
5263a75644 Merge pull request #5096 from PaulAdamDavis/re-add-x-icon
Re-add X icon
2015-04-02 09:46:07 -06:00
Paul Adam Davis
44dc0dd075 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
Hannah Wolfe
98e1a1d63f Merge pull request #5083 from PaulAdamDavis/font-version
Add version to font-face src url
2015-03-31 12:26:11 +02:00
Paul Adam Davis
8d0e7cb615 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
Sebastian Gierlinger
c89781bdfc Merge pull request #5089 from ErisDS/ember-build
Remove --silent from ember build
2015-03-31 03:21:47 -06:00
Hannah Wolfe
e1258f4002 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
Hannah Wolfe
6163862b18 Merge pull request #5068 from msiemens/meta_description_v2
Rewrite meta_description and meta_title to depend upon the current context
2015-03-29 20:28:13 +03:00
Matt Enlow
5ef09b0dd3 Merge pull request #5080 from ErisDS/issue-5024
Fix @blog globals in special templates
2015-03-29 06:38:23 -07:00
Hannah Wolfe
501595127f Fix @blog globals in special templates
fixes #5024

- pass options through to the template for both navigation and pagination
- add a test for each
2015-03-28 23:21:10 +02:00
Hannah Wolfe
86e3835e4d Merge pull request #5059 from cobbspur/prev_post
Prev post
2015-03-27 19:08:57 +02:00
Hannah Wolfe
95370f6348 Merge pull request #5078 from JohnONolan/fontfix
Font feature settings are incompatible with Open Sans
2015-03-27 18:54:28 +02:00
John O'Nolan
cd63215372 Font feature settings are incompatible with Open Sans 2015-03-27 12:26:16 +02:00
cobbspur
4044dedeb2 Adds {{prev_post}} and {{next_post}} block helpers
closes #4799

- Adds a prev_next helper method called by {{prev_post}} and {{next_post}}
- Shows correct template for if and else blocks
- Adds unit tests
2015-03-25 17:21:27 +00:00
Markus Siemens
c5fe9aa99f Rewrite meta_description and meta_title to depend upon the current context
closes #4850

- fixed `meta_description` and `meta_title` when used within a `{{#foreach}}`
- `meta_description` and `meta_title` now depend upon the current context
  to get the right string (author bio, tag description, ...).
  Note: `ghost_head.js` and `ghost_head_spec.js` have been touched to add
  the required context information when calling the helpers.
2015-03-24 22:42:45 +01:00
Matt Enlow
5015180474 Merge pull request #5054 from ErisDS/express-hbs-update
Update express-hbs & registerAsyncHelper function
2015-03-24 11:33:46 -06:00
Hannah Wolfe
7ad47e9240 Merge pull request #4879 from katiefenn/issue-4519-keywords 2015-03-23 15:00:22 +00:00
Katie Fenn
980b0a8610 Refactoring hard-coded frontend route keywords
closes #4519

- Added configurable route keywords
- Replaced instances of hard-coded keywords with config
- Added keywords to frontend tests stub config
2015-03-23 15:00:02 +00:00
Matt Enlow
8435e96d86 Merge pull request #5063 from JohnONolan/monospace
Update monospace font stack
2015-03-22 06:36:45 -06:00
John O'Nolan
490f83a4ff Update monospace font stack
Closes #4936
2015-03-22 09:45:50 +02:00
Ian Lopshire
e74a329b8a Navigation menu support for subdomains of blog url
Closes #5033
- Added unit tests for the nav context of urlFor
- Fixed issue in the nav context of urlFor where subdomains of blog url were truncated
- Fixed issue in the nav context of urlFor where there was sometimes an extra preceding /
2015-03-22 00:40:55 -05:00
Matt Enlow
af7f039953 Merge pull request #5055 from cobbspur/windows
Fix ember-cli commands to work with windows
2015-03-21 10:46:43 -06:00
Hannah Wolfe
6cd696b332 Merge pull request #4820 from phated/file-storage
File storage
2015-03-20 08:55:19 +00:00
Blaine Bublitz
5c640e95f5 Initial implementation for custom storage engines
closes #4600
- implemented as suggested in #4600
- loads a custom storage defined in config from the /content/storage directory
2015-03-19 22:34:01 -07:00
cobbspur
511d69cd1c Fix ember-cli commands to work with windows 2015-03-19 18:48:41 +00:00
Matt Enlow
61b86bf821 Merge pull request #5027 from felixrieseberg/iss4847
Replace fs.exists (deprecated) with fs.stat
2015-03-19 10:47:01 -06:00
Hannah Wolfe
e5ed9c6fed Re-add #getting-started anchor
Install errors (from not building files) point here.
2015-03-19 12:52:48 +00:00
Matt Enlow
711e1947a6 Merge pull request #5048 from ErisDS/showdown-extensions
Move showdown extensions to ghost-showdown
2015-03-18 07:39:41 -06:00
Hannah Wolfe
1db59e12ee 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
6bb073cf0e Merge pull request #5026 from felixrieseberg/iss4978
Fix broken keyboard navigation in PSM
2015-03-17 12:54:39 -06:00
Felix Rieseberg
e8bbb78834 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
Felix Rieseberg
0484eee6a5 Replace fs.exists (deprecated) with fs.stat
Closes #4847

- Replaces the deprecated fs.exists() with fs.stat(), in accordance with iojs & node.
2015-03-17 11:49:43 -07:00
Hannah Wolfe
0b9455e8bb Merge pull request #5036 from pborreli/typos 2015-03-17 17:44:06 +00:00
Pascal Borreli
13838fff9d Fixed typos 2015-03-17 17:43:53 +00:00
Matt Enlow
60dcfff956 Merge pull request #5031 from ErisDS/new-editor
No more CodeMirror
2015-03-17 11:20:01 -06:00
Paul Adam Davis
a7b82f4c4c 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
5db6fc4f18 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
Hannah Wolfe
4ab59c2ead Merge pull request #5032 from JonathanKryza/master
Fixed broked Support link
2015-03-13 21:37:15 +00:00
JonathanKryza
a4109f3edf Fixed broked Support link
Changed ghost.org/support to http://support.ghost.org/.

Thanks to http://derecho.elijah.cs.cmu.edu:8585/@top for finding the broken link.
2015-03-13 14:07:00 -05:00
Hannah Wolfe
bcede61a0a Merge pull request #5029 from JohnONolan/readmeee
Readmeeeeee
2015-03-13 12:10:54 +00:00