Alex Kleissner
0222feb41c
Allow setting a post date using a single digit day.
...
closes #5248
- added new valid formats for the date formatter
- only the date formats where a single digit day makes sense were
changed
2015-05-12 15:42:02 -07:00
Austin Burdine
ed9fdbca7f
finish up password protection
...
closes #5073
- takes password protection out of labs and moves it to general settings
- adds random-words generator to randomly generate passwords
2015-05-12 12:02:18 -06:00
David Balderston
19bdb64efc
Fix up Labs Styling
...
No Issue
- Fixes import button not same height as upload button
- Fixes no space between import and upload on mobile
2015-05-11 23:12:31 -07:00
John O'Nolan
c4cc5d5b8d
First styles for private blog login
2015-05-11 13:11:59 +01:00
Jason Williams
398a1b28ba
Do not allow auto-save to publish a post
...
Refs #5235
- Do not allow background saving (i.e. post auto-save) to affect the
published status of a post.
2015-05-10 15:22:53 +00:00
Robert Jackson
00bbf070b2
Only attempt to scrollTop
if element is available.
...
In later versions of Ember, the views and components can be stable
and are not guaranteed to be torn down before a new controller is
set on them.
In this case, the controller is initially set before the element has been
rendered to the DOM causing errors when invoking `closest` on undefined.
2015-05-05 19:05:36 -04:00
Robert Jackson
3c5df473d1
Replace gh-blog-url helper with a component.
...
Accessing `this` inside an `Ember.HTMLBars.makeBoundHelper` will not
always return the containing `view` object. Instead, use a component.
2015-05-05 14:40:18 -04:00
Hannah Wolfe
e5cbf92e41
Removing unused dependency
2015-05-04 23:26:24 +01:00
Hannah Wolfe
c4a1ae2107
Merge pull request #5208 from Artie18/master
...
Fixed issue with word count for non ASCII letters.
2015-05-03 18:23:33 +01:00
Artyom Fedenko
2687def400
Added support for all letters in word-count (not only ASCII) and added xregexp bower module to a project
2015-05-02 22:56:33 +03:00
Hannah Wolfe
83a7c6626a
Merge pull request #5103 from acburdine/passprotect
...
Password Protection
2015-05-02 15:14:00 +01:00
Matt Enlow
8efd0cb4b5
Merge pull request #5198 from ErisDS/bower-update
...
Updating bower dependencies
2015-05-01 22:00:57 +01:00
John O'Nolan
e9dbf972af
Merge pull request #5196 from PaulAdamDavis/minor-code-injection-fixes
...
Code injection syntax colour change
2015-05-01 15:50:14 +02:00
John O'Nolan
bd44e464a7
Update preview post link styling, add view post link
2015-05-01 12:19:25 +02:00
Austin Burdine
54a4225d1b
added password protection
...
closes #4993
- brings password protection to the frontend of blogs
- adds testing for password protection
- upgrades bcrypt-js to 2.1.0
2015-04-30 23:44:43 -05:00
Hannah Wolfe
501081194b
Updating bower dependencies
...
- tying as many things to proper versions rather than repos as possible
- upgrading various packages, with the exception of anything to do with jQuery
- leaving normalize as-is due to previous issues
2015-04-30 22:43:31 +01:00
Jason Williams
ae0d2fce1d
Upgrade grunt-jscs to fix whitespace linting.
...
No issue.
- grunt-jscs@1.8.0
- Fix formatting
2015-04-30 16:14:19 -05:00
Matt Enlow
e50a1157fa
Add post preview via uuid (/p/:uuid)
...
Refs #5097
- All drafts will show a preview link (this needs real css)
- Published posts will redirect
- prev/next post helpers only activate on published posts
- Powered by ~10 pints between the two of us (@ErisDS, @novaugust)
2015-04-30 11:57:37 +01:00
Paul Adam Davis
1dfc1ecca3
Move upgrade notification to /settings/about/
...
Refs #5071
- Move the Upgrade notification from the top of the screen to the About page
2015-04-29 22:34:04 +01:00
Paul Adam Davis
d83b8c7b55
Code injection syntax colour change
...
Closes #5179
- Overwrites the yellow code injection syntax highlighting (such as vendor prefixes in CSS) to be black, to match the rest of the property
- Adds rounded corners to the code injection CodeMorror wrapper to match its parents rounded corners (inherits the same value)
2015-04-28 16:35:14 +01:00
Hannah Wolfe
e4616f6840
Avoid infinite transition loop
...
fixes #5136
- wrap notification fetch with a user role check to remove console error
- move author transition down to local route for users/user so that there's no infinite loop
- replace all store calls to fetch the current user with the session user instead
2015-04-16 20:05:30 +01:00
Paul Adam Davis
f8696575a0
Show correct type in publish button
...
Closes #5138
Shows the correct type (post or page) in the publish button
2015-04-15 11:13:38 +01:00
Hannah Wolfe
8f354ddbc2
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
Hannah Wolfe
7a5a9eed69
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
1162b72acb
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
f495a636ff
Merge pull request #5075 from PaulAdamDavis/top-notifications
...
Re-implement top notification position styles
2015-04-09 17:52:12 +03:00
Hannah Wolfe
8773d02b1a
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
John O'Nolan
589d5dcc73
Add labs description
2015-04-09 16:14:50 +02:00
John O'Nolan
d6ef8bcc4a
Cleaned up some derpy settings padding and widths
2015-04-09 15:59:17 +02:00
Matt Enlow
4dc9abb670
Fix typofail in pagination-controller mixin
...
Closes #5120
2015-04-09 07:56:08 -06:00
Hannah Wolfe
e0369d207f
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
406c8aa883
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
Matt Enlow
56c691f93e
Normalize settings payloads in client serializer
...
Closes #5117
2015-04-08 13:03:56 -06:00
Paul Adam Davis
d5715549f0
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
Hannah Wolfe
2cdee13895
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
703906e983
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
3b5c7f634b
Ember 1.11.1
...
- remove `bind-attr` all over the place
2015-04-05 21:13:30 -06:00
Hannah Wolfe
b8c81c0316
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
ee685e448a
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
dc69d28404
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
42756b5f44
Merge pull request #5085 from ErisDS/improved-forgotten
...
Improve the forgotten password flow
2015-04-03 13:40:16 -05:00
Hannah Wolfe
60937e8ccc
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
cd41fdd653
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
4d1660e546
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
f6389f5d3f
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 35b3d92c74
. 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
57764cc046
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
5595b1be9b
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
bf1d9c872b
Font feature settings are incompatible with Open Sans
2015-03-27 12:26:16 +02:00
John O'Nolan
86b569296f
Update monospace font stack
...
Closes #4936
2015-03-22 09:45:50 +02:00
Matt Enlow
f64bf4ac27
Merge pull request #5048 from ErisDS/showdown-extensions
...
Move showdown extensions to ghost-showdown
2015-03-18 07:39:41 -06:00