Commit Graph

4668 Commits

Author SHA1 Message Date
Hannah Wolfe
ec761501df Upgrading Casper to 1.2.0 2015-04-12 13:26:57 +01:00
Matt Enlow
ac403efd29 Merge pull request #5131 from ErisDS/issue-5130
Don't do autosave on new post
2015-04-11 10:44:05 -06:00
Hannah Wolfe
5f0d98a110 Don't do autosave on new post
closes #5130

- rather than checking for a model change, noop autosave on new controller
2015-04-11 17:42:44 +01:00
Sebastian Gierlinger
8f5960e1c5 Merge pull request #5108 from ErisDS/rss-2
Add media:content support to RSS
2015-04-10 12:49:51 -05:00
Sebastian Gierlinger
fae709b79b Merge pull request #5125 from ErisDS/ci-remove-flag
No more feature flag for Code Injection
2015-04-10 12:48:31 -05:00
Jason Williams
f6aeb9bea7 Merge pull request #5127 from ErisDS/semver-update
Update semver due to sec advisory
2015-04-10 07:43:01 -05:00
Hannah Wolfe
570299c173 Update semver due to sec advisory
no issue

- explanation here: https://nodesecurity.io/advisories/semver_redos
2015-04-10 09:39:10 +01:00
Hannah Wolfe
0b1497a75b No more feature flag for Code Injection
closes #1993

- remove the feature/config flag that means code injection has to be enabled
2015-04-09 17:52:41 +01:00
Hannah Wolfe
e19573f5d5 Merge pull request #5122 from JohnONolan/settings-cleanup
Cleaned up some derpy settings padding and widths
2015-04-09 16:17:43 +01:00
John O'Nolan
8205e59810 Merge pull request #5075 from PaulAdamDavis/top-notifications
Re-implement top notification position styles
2015-04-09 17:52:12 +03:00
Hannah Wolfe
d1de0800ad Merge pull request #5121 from novaugust/pagination_controller_mixin_fix_#5120
Fix typofail in pagination-controller mixin
2015-04-09 15:36:42 +01:00
Matt Enlow
920856c479 Merge pull request #5109 from ErisDS/issue-5064
Remove duplicate subdirectory in RSS urls
2015-04-09 08:35:25 -06:00
Matt Enlow
2c1fb4e403 Merge pull request #5123 from JohnONolan/labs-description
Add labs description
2015-04-09 08:33:34 -06:00
John O'Nolan
c6fb8a873a Add labs description 2015-04-09 16:14:50 +02:00
John O'Nolan
6eed16a115 Cleaned up some derpy settings padding and widths 2015-04-09 15:59:17 +02:00
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
Paul Adam Davis
1cbb58d80d Re-implement top notification position styles
References #5071

- Re-implements the previously broken top notification styles
- Moves the top notification outlet outside the `<main>` to ease styling (we have several nested position fixed/absolute boxes that make this tough - moving the outlet makes it easier)
2015-04-07 18:36:03 +01: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
Hannah Wolfe
14134fb4b0 Add media:content support to RSS
refs #2263, #4888

- Adds media:content element to Ghost Rt pSS feeds containing the post cover image if one is available
- Removes the prepending of the image to the `<description>` field
- Keeps the prepending of the image in `<content:encoded>`
2015-04-06 18:47:10 +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
527e4eed06 Remove duplicate subdirectory in RSS urls
fixes #5064

- this is a quick and dirty fix for now
2015-04-05 23:30:22 +01: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