Commit Graph

4650 Commits

Author SHA1 Message Date
Matt Enlow
91d57c2f30 Fix typofail in pagination-controller mixin
Closes #5120
2015-04-09 07:56:08 -06:00
Hannah Wolfe
b10ec55f65 Merge pull request #5119 from novaugust/preview_link_subdir
Use absolute url for post preview link
2015-04-09 10:21:30 +01:00
Matt Enlow
b429baa02b Use absolute url for post preview link
Closes #5116
- adds new CP `absoluteUrl` to PostModel
- use `absoluteUrl` in the two places we link previews
- swap out some code for es6 loveliness
2015-04-08 18:58:52 -06:00
Hannah Wolfe
af4e29359d Merge pull request #5118 from novaugust/normalize_settings
Normalize settings payloads in client serializer
2015-04-08 22:31:50 +01:00
Matt Enlow
3523aa90a1 Normalize settings payloads in client serializer
Closes #5117
2015-04-08 13:03:56 -06:00
Hannah Wolfe
4839b58ff0 Merge pull request #4891 from cobbspur/structured2
Adds structured data to first index/tag/author page
2015-04-07 21:24:19 +01:00
cobbspur
3229508c54 Adds structured data to first index/tag/author page
Closes #4677

- Tests if page is first page or paginated
- Adds relevant structured data to index/tag/author page
- Does not add structured data on paginated pages
- For author structured data, cover image overrides image
- blog cover image is made absolute by image helper
- Tests updated to use regular expressions and new tests
2015-04-07 20:36:53 +01:00
Jason Williams
606570310d Merge pull request #5069 from ErisDS/event-refactor
Refactor sitemaps to use centralised events
2015-04-07 12:41:49 -05:00
Matt Enlow
a64302d0ca Merge pull request #5114 from ErisDS/engines
Remove enginesStrict
2015-04-07 11:09:26 -06:00
Hannah Wolfe
afbe1ce5bc Remove enginesStrict
no issue
- engines strict is being deprecated: https://docs.npmjs.com/files/package.json#enginestrict
- remove it as it currently causes problems
2015-04-07 17:37:58 +01:00
Hannah Wolfe
2165153d97 Merge pull request #5094 from novaugust/ember-1.11
Update to Ember 1.11(.1!)
2015-04-07 11:12:34 +01:00
Hannah Wolfe
777c3f6c7a 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
Matt Enlow
ee0c32dfc9 Ember 1.11.1
- remove `bind-attr` all over the place
2015-04-05 21:13:30 -06:00
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
196bbfce18 Refactor sitemaps to use centralised events
fixes #5104, refs #4348, #2263

- Create a centralised event module
- Hook it up for posts, pages, tags and users
- Use it in sitemaps instead of direct method calls
- Use it for xmlrpc calls
- Check events are fired in model tests
- Update sitemap tests to work with new code
- Fix a bug where invited users were appearing in sitemaps
- Move sitemaps and xmlrpc into a directory together
2015-04-05 19:32:18 +01:00
Austin Burdine
5dc44b0c37 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
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