Hannah Wolfe
220ef54943
Merge pull request #4120 from halfdan/4116-settings-classes
...
Implements setting specific body classes
2014-09-24 18:47:34 +01:00
Jason Williams
6ce98e9292
Merge pull request #4145 from ErisDS/pr/3484
...
Enable cycling header levels with ctrl+h.
2014-09-24 12:30:50 -05:00
Gabor Javorszky
ffdc18f9a7
Undisable nProgress
...
Closes #4095
* Removes the line that killed nProgress for PSM
* adds to styles to make nProgress appear again (ht @halfdan)
IRC: http://107.20.237.151:8081/logs/%23ghost/20140922#pm51214
2014-09-24 18:26:36 +01:00
Hannah Wolfe
686de62644
Updating markdown help modal with new shortcuts
...
issue #3019
2014-09-24 18:14:05 +01:00
Robert Jackson
5b30a51adf
Enable cycling header levels with ctrl+h.
...
closes #3019
* Remove preexisting `ctrl+h` keymap.
* Add logic to cycle the header level.
* Loops around after h3.
* Sets cursor position to end of heading
* Set initial level to h2.
* Remove `ctrl+alt+${NUM}` keymaps (as they do not work
internationally).
2014-09-24 18:14:04 +01:00
John O'Nolan
4756fab14d
Merge pull request #4142 from PaulAdamDavis/fix-publish-bar-tags
...
Fix publish bar tag scrolling div
2014-09-24 17:30:51 +02:00
Hannah Wolfe
4508ca2fa3
Minor shortcut amends
...
issue #1463
- disables some of codemirrors default shortcuts to prevent them clashing
- minor cleanup of shortcut listing
2014-09-24 16:11:17 +01:00
Jason Williams
aa7dde87ce
Merge pull request #4143 from ErisDS/modal-button
...
Fix button class on upload modal
2014-09-24 10:01:11 -05:00
Matt Enlow
7a626d54a5
Merge pull request #3824 from felixrieseberg/iss3718-2
...
{{gh-path}} Handlebars helper, returning paths
2014-09-24 08:48:31 -06:00
Hannah Wolfe
8bc84bd260
Fix button class on upload modal
...
no issue
- this makes sure that the cancel button on the upload modal gets the
correct class
2014-09-24 15:26:23 +01:00
Paul Adam Davis
3a471ce96c
Fix publish bar tag scrolling div
...
Continues on from #4128
- Increases height of tags div and adds `overflow-y: hidden;` to its parent
2014-09-24 15:18:02 +01:00
Fabian Becker
e886e90b9d
Implements setting specific body classes
...
closes #4116
- Adds css classes to settings views
2014-09-24 15:24:15 +02:00
Fabian Becker
aed5d346a7
Static page and feature options in new PSM
...
closes #4109
- Add featured option
- Move static page/featured to other place
- Change wording on static page
2014-09-24 12:29:17 +00:00
Paul Davis
f3238b99fd
Merge pull request #4139 from JohnONolan/dropdown-refresh
...
Updated dropdown component style
2014-09-24 12:19:58 +01:00
Hannah Wolfe
22af3a43a6
Merge pull request #4126 from mattiascibien/issue-4124
...
Incrementing hard limits for Meta title and Meta description
2014-09-24 12:16:41 +01:00
John O'Nolan
e34824cbcb
Merge pull request #4128 from PaulAdamDavis/fix-tags-input
...
Rewrite publish bar markup
2014-09-24 13:12:10 +02:00
John O'Nolan
e39d648c8e
Updated dropdown component style
2014-09-24 14:03:19 +03:00
John O'Nolan
84421511e2
Update icons
2014-09-24 13:46:13 +03:00
Paul Adam Davis
0c1d7518fd
Rewrite publish bar markup
...
Closes #4123 , closes #4114 , references #4105
- Rewrite to use flexbox for über mobile goodness
- Fixes tag suggestions (using the new dropdown style)
- Fixes vertical alignment
2014-09-24 09:47:33 +01:00
Paul Adam Davis
a67a0ac6e8
Disable horizontal scrolling in right outlet
...
Closes #4131
- Adds `overflow-x: hidden;` to `.right-outlet`
2014-09-24 09:36:49 +01:00
Hannah Wolfe
e30d6c33f1
Merge pull request #4118 from JohnONolan/053-fixes
2014-09-24 09:16:14 +01:00
John O'Nolan
09aa00708a
Remove about page header on desktop
...
See #4116
2014-09-24 09:08:43 +01:00
John O'Nolan
e8a51e4c7b
Fix broken link, remove old html files
2014-09-24 09:08:42 +01:00
John O'Nolan
1cea04adc0
Fix overly tiny text
2014-09-24 09:08:42 +01:00
John O'Nolan
99d1b2dd17
Mobile bug fixes for users view
2014-09-24 09:08:42 +01:00
John O'Nolan
91d0ee9c2f
Minor start on CSS Style cleanup
...
See #4107
2014-09-24 09:08:42 +01:00
John O'Nolan
7b59df371a
Fix padding on content preview mobile views
2014-09-24 09:07:50 +01:00
John O'Nolan
7c945cbc49
SERP style updates
2014-09-24 09:07:50 +01:00
John O'Nolan
ccdadac374
Fix post settings menu cog alignment and colours
2014-09-24 09:07:34 +01:00
Mattias Cibien
b50cff056a
Incrementing hard limits for Meta title and Meta description
...
closes #4124
- incremented values for client-side validation for Meta title and Meta description
- changed error messages to display the maximum number of characters.
2014-09-24 09:18:28 +02:00
Jason Williams
489f93206c
Merge pull request #4129 from halfdan/fix-leave-modal
...
Fix leave modal when leaving new post
2014-09-24 00:06:07 -05:00
Matt Enlow
097c78aad1
Fix GhostTab and GhostTabPane array dependencies
...
No issue
- TabPanes weren't finding their tab due to not listing all their dependencies in Ember.computed
2014-09-23 20:22:15 -06:00
Fabian Becker
f32171f3fc
Fix leave modal when leaving new post
...
no ref
- set titleScratch to empty string if unset
2014-09-23 20:04:26 +00:00
Jason Williams
485c296c29
Merge pull request #4127 from ErisDS/msg-update
...
Updating messages to use errors module
2014-09-23 14:48:40 -05:00
Jason Williams
0500dbd81e
Merge pull request #4115 from halfdan/4113-serp-placeholder
...
Remove placeholders and limit SERP description
2014-09-23 14:41:32 -05:00
Fabian Becker
7aed86c205
Remove placeholders and limit SERP description
...
closes #4112 , closes #4113
- Remove meta_* placeholders
- Add … in SERP preview when desc too long
2014-09-23 21:07:21 +02:00
Hannah Wolfe
0f6649cc1d
Updating messages to use errors module
...
no issue
- only updated the messages that are errors or warnings
- changed the structure of the messages to follow the 3-arg format
2014-09-23 19:55:07 +01:00
John O'Nolan
d1b954e7bc
Merge pull request #4117 from PaulAdamDavis/fix-post-state-arrow
...
Fix chevron animation in publish button
2014-09-23 20:10:57 +03:00
Hannah Wolfe
d1abc6c0f2
Merge pull request #3962 from halfdan/2249-is-context
...
Implements is-helper
2014-09-23 17:05:13 +01:00
Hannah Wolfe
792e748e2f
Merge pull request #4093 from halfdan/update-helpers
...
Update meta_* helpers.
2014-09-23 15:28:24 +01:00
Fabian Becker
801c5248c2
Update meta_* helpers.
...
no ref
- Return meta_description from post.meta_description if set
- Return meta_title either from post.title or post.meta_title if set
- Adds tests
2014-09-23 14:06:52 +02:00
Paul Adam Davis
52aebc1ba6
Fix chevron animation in publish button
...
Closes #4104
- Fixed the broken spiny animation used in the publish button
2014-09-23 11:03:08 +01:00
Fabian Becker
aa5cf6ed3b
Implements is-helper
...
closes #2249
- Added context to res.locals
- Added context aware is helper
- Added unit tests
2014-09-23 11:31:16 +02:00
Gabor Javorszky
1f5a378b4c
Deprecated mail.fromaddress, mail.from is Title <email@address>
...
Closes #4018
* cleaned up `mail_spec.js`
* deprecated `mail.fromaddress`
* implemented 'Blog title <email@address.com>' format with fallbacks
* added tests to deprecation and from address, made existing ones more robust
* moved domain intuit into its own module: `GhostMailer.getDomain()`
2014-09-23 09:33:20 +01:00
Gabor Javorszky
b3820fbb31
More robust deprecation check code
...
Closes #4082
* reformatted code to allow for traversal
* deeper config items should be denoted like this: `object.object.object.property`.
* added tests for testing the deprecation warnings
2014-09-23 09:33:20 +01:00
John O'Nolan
a6cac3bfed
Remove unused, commented out CSS.
...
See #4102
2014-09-23 10:14:10 +03:00
John O'Nolan
438444df3d
Merge pull request #4090 from PaulAdamDavis/ie-fixes
...
IE UI fixes
2014-09-23 06:14:11 +02:00
Matt Enlow
b9322e34d4
Fix uncentered no posts view
...
Closes #4097
2014-09-22 17:42:56 -06:00
Hannah Wolfe
f77e1c87b8
Merge pull request #3913 from jaswilli/require-errors
...
Add checks for packages and contentPath to startup
2014-09-22 23:11:18 +01:00
Hannah Wolfe
a7720c3e4b
Merge pull request #4089 from halfdan/4087-meta
...
Validate and properly color letter count.
2014-09-22 22:41:59 +01:00
Hannah Wolfe
2da501fff4
Merge pull request #4094 from frantzypants/issue-4016
...
Show all authors in post settings menu
2014-09-22 22:35:56 +01:00
Jason Williams
410dc39f3e
Add checks for packages and contentPath to startup
...
Refs #3864
- Make sure that require() is able to resolve all dependencies
listed in package.json. If packages are missing halt the
bootstrap process and display an error and help message for user.
- Check that contentPath and its subdirectories exist with the correct
permissions.
- Check sqlite3 database file is set for read/write access.
2014-09-22 21:27:34 +00:00
Hannah Wolfe
9f7d008f47
Merge pull request #4074 from halfdan/4069-rename
...
Naming cleanup
2014-09-22 22:21:46 +01:00
Felix Rieseberg
88dde9ed4a
{{gh-path}} Handlebars helper, returning paths
...
- Uses utils/ghost-paths to resolve paths
- {{gh-path}} or {{gh-path ‘blog’}} for Ghost’s root (mysubdir/)
- {{gh-path ‘admin’}} for Ghost’s admin root (/mysubdir/ghost)
- {{gh-path ‘api’}} for Ghost’s admin root (/mysubdir/ghost/api/v0.1)
2014-09-22 10:17:24 -07:00
Sarah
e635aaf116
Show all authors in post settings menu
...
Closes #4016
- Added 'limit=all' to API query to retrieve all users.
2014-09-22 11:30:00 -04:00
Paul Adam Davis
9e9c787282
Fix minor IE UI issues
...
Closes #4088
- Fix Flexbox issue with the user list
- Fix positioning issue with the mobile menu toggle icon
- Make the mobile settings nav use absolute positioning (as fixed elements don't move inside a `transform: translate(...);` parent
2014-09-22 13:55:39 +01:00
Fabian Becker
ef3fa3b9dc
Validate and properly color letter count.
...
fixes #4087
- Adds correct validations for meta_title/meta_description
- Adds correct coloring of letter count
2014-09-22 12:55:03 +00:00
John O'Nolan
334a8db199
Merge pull request #4081 from halfdan/3305-derp
...
Change HTML email link to hide token
2014-09-22 13:37:53 +02:00
Matt Enlow
40846bc490
Add Gmail-style shortcuts
...
Ref #3940
- add `j`/`k` for navigating posts down / up
- `c` for opening a new post
- `o` to open the selected post
- update keymaster dep to allow for multiple key unbinds (`key.unbind('up, j')`)
2014-09-21 11:02:42 -06:00
Hannah Wolfe
f991ab44b8
Merge pull request #4066 from halfdan/3939-psm3-meta
...
Meta data screen
2014-09-21 17:53:12 +01:00
Fabian Becker
30f56280e0
Meta data screen
...
closes #3939
- Add Seo Tab component to PSM
- Add new gh-blur-textarea component
- Refactor blur-input to use new text-input mixin
2014-09-21 15:13:06 +00:00
Fabian Becker
2c3abeee03
Naming cleanup
...
closes #4069
- Rename everything from camelCase to lowercase + dashes
- Remove usage of `server`, `app` and `instance`
2014-09-20 21:09:16 +02:00
Fabian Becker
b7be4adede
Change HTML email link to hide token
...
closes #3305
- Hide token in HTML email
2014-09-20 11:08:27 +00:00
John O'Nolan
2f986160fd
Merge pull request #4053 from PaulAdamDavis/css-bug-fixes
...
Tiny CSS bug fixes
2014-09-20 09:12:25 +02:00
Fabian Becker
a7f432ac8b
Correctly close PSM
...
closes #4077
- Swap CSS toggling for new PSM closing method
2014-09-20 02:02:09 +02:00
Paul Adam Davis
81fe516481
Fix several tiny CSS bugs
...
Closes #4050
- Full-width invite user modal button
- `<select>` can be focused in Firefox
- Increase size of background images for avatars
- Add `-moz-osx-font-smoothing: grayscale;` to icons
2014-09-19 21:24:43 +01:00
Hannah Wolfe
a3093b9b42
Merge pull request #4075 from jaswilli/morgan
...
Adjust morgan call to avoid deprecation warning
2014-09-19 20:39:05 +01:00
Paul Davis
67c4452787
Merge pull request #4076 from halfdan/4072-404page
...
Fix ghost-ui reference
2014-09-19 19:55:20 +01:00
Fabian Becker
3e6d11e8fa
Fix ghost-ui reference
...
fixes #4072
- Correct reference to ghost.min.css
2014-09-19 18:31:21 +00:00
Hannah Wolfe
69ea28e951
Merge pull request #4042 from novaugust/psm2-tabs
...
Add Tab components
2014-09-19 17:33:57 +01:00
Jason Williams
12957b1918
Adjust morgan call to avoid deprecation warning
...
No Issue
- Change the invocation of the morgan logging package to
conform to the new function signature introduced in
morgan 1.2.0.
2014-09-19 16:31:22 +00:00
Hannah Wolfe
5cdb6510ae
Merge pull request #4065 from jaswilli/transition
...
Prevent transition to signup on invalid invitation
2014-09-19 17:17:13 +01:00
Matt Enlow
7ef34382f2
Merge pull request #4063 from ErisDS/issue-2703
...
GhostGFM honours escaped tildes
2014-09-19 10:04:50 -06:00
Hannah Wolfe
cb9d9b748a
Merge pull request #4062 from halfdan/4059-skip-not-found
...
Ignore unknown setting keys on import
2014-09-19 16:54:35 +01:00
Hannah Wolfe
5621add6c6
Merge pull request #4040 from halfdan/4036-update-check
...
Delay updateCheck to +24h on error
2014-09-19 16:30:51 +01:00
John O'Nolan
326e611c9c
Merge pull request #4048 from novaugust/delete-post-shortcut
...
[Feature request] Add delete post shortcut to content screen
2014-09-19 17:22:42 +02:00
Fabian Becker
0efb449103
Delay updateCheck to +24h on error
...
fixes #4036
- delay update check by 24h when an error happens
- set connection timeout to 10 seconds
2014-09-19 17:10:30 +02:00
Hannah Wolfe
28cf0a68d3
Merge pull request #4056 from halfdan/1961-wuaeh
...
Have /ghost use its own express instance
2014-09-19 15:00:03 +01:00
Hannah Wolfe
9ca6f08976
Merge pull request #4045 from halfdan/4031-mobile-content
...
Mobile view menu for content screen
2014-09-19 14:10:46 +01:00
Fabian Becker
9394fad6aa
Have /ghost use its own express instance
...
closes #1961
- Refactor admin to use its own express instance
- Refactor middlewares to work with /ghost mounted admin express instance
2014-09-19 08:57:13 +00:00
Hannah Wolfe
8841be8ec8
GhostGFM honours escaped tildes
...
fixes #2703
- adds an extra rule to remove the slash if a tilde is escaped as showdown
won't do this.
2014-09-19 09:16:33 +01:00
Jason Williams
63546be1eb
Prevent transition to signup on invalid invitation
...
Refs #3876
- Prevent signup page from flashing when an invalid invitation
token is used.
- Clear sensitive information from signup controller.
- Make isInvitation API behavior consistent with other auth
related APIs.
2014-09-19 04:52:45 +00:00
Matt Enlow
9fb038f8d3
Merge branch 'pr/3876'
...
* pr/3876:
Redirect user if signup invitation isn't valid
2014-09-18 19:22:39 -06:00
Felix Rieseberg
b1c1b03015
Redirect user if signup invitation isn't valid
...
Closes #3565
- Added server API isInvitation (analog to isSetup), checking if an
invitation exists for a given email address.
- If the invitation is no longer valid (or didn’t exist in the first
place), the user is redirected and an error notification is shown.
2014-09-18 19:11:40 -06:00
Matt Enlow
a4de40abc6
Merge pull request #3976 from halfdan/1889-generate-slug
...
Cleanup reserved words in generateSlug
2014-09-18 18:54:48 -06:00
Matt Enlow
5851b1ad9c
Merge pull request #4051 from PaulAdamDavis/fix-user-settings
...
Fix user settings page for Firefox
2014-09-18 18:51:22 -06:00
Matt Enlow
4669b9c7fe
Merge pull request #4060 from halfdan/4058-no-posts
...
Properly handle no posts
2014-09-18 18:43:19 -06:00
Matt Enlow
a5f4fca7b2
Merge pull request #3992 from halfdan/favicon
...
Let Ghost serve favicon instead of using dependency
2014-09-18 18:40:22 -06:00
Matt Enlow
f29231aa70
Add Tab components
...
Closes #3937
- Add ghost tab components
- Remove extra container div from Application view
- Move right-outlet viewing logic to application level
- Prepare PSM.hbs for tabbing
2014-09-18 18:15:43 -06:00
Fabian Becker
8575e8de59
Mobile view menu for content screen
...
closes #4031
- Adds css to show back button, edit button in header nav on mobile
2014-09-18 15:52:40 +00:00
Fabian Becker
12f117cfbe
Properly handle no posts
...
fixes #4058
- Set noPosts in setupController
2014-09-18 16:29:03 +02:00
Fabian Becker
4cc1f509ac
Ignore unknown setting keys on import
...
fixes #4059
- Ignore NotFound setting keys
2014-09-18 12:48:18 +00:00
Fabian Becker
c9b0df752f
Cleanup reserved words in generateSlug
...
closes #1889
- Adds a new filter for slugs
- Move slugs to config.slugs
2014-09-18 13:56:51 +02:00
Fabian Becker
f2fcb5b62b
Let Ghost serve favicon instead of using dependency
...
no ref
- Remove static-favicon dependency
- Refactor robots.txt middleware to also serve favicon
- Add ETag
2014-09-18 13:51:41 +02:00
Hannah Wolfe
aad595de7d
Updating express to 4.9.2 & related packages
...
ref #3795
- express updated to 4.9.2
- express 4.9.0 introduced res.sendStatus() to replace res.status().end()
- we no longer need express-session, connect or cookie-parser
- body-parser, busboy, compression, express-hbs, morgan, all bumped to
latest versions as well - there doesn't seem to be any breaking changes
2014-09-18 11:50:28 +01:00
Harry Wolff
469aaa398c
Add jscs task to grunt file and clean up files to adhere to jscs rules.
...
resolves #1920
- updates all files to conform to style settings.
2014-09-17 21:44:29 -04:00
Hannah Wolfe
62efa05798
Updating dev dependencies
...
refs #3795
- updates all dev dependencies to their latest version number
- jshint now complains about the Promise global, removed it from predef in
lieu of a better solution
- changes in should require minor updates to the tests
- tests are passing and all major grunt commands appear to work: clean,
init, prod, validate and release
2014-09-17 16:44:30 +01:00
Paul Adam Davis
b55d1b47d2
Fix user settings page for Firefox
...
References #4050
- Restructures the CSS to work in Firefox - No visual changes, only fixes
2014-09-17 14:07:44 +01:00
Matt Enlow
21aee9229c
Merge pull request #4041 from felixrieseberg/psm-coverimages
...
PSM: Cover Images
2014-09-16 15:37:33 -06:00
Felix Rieseberg
0048d393ac
PSM: Cover Images
...
closes #3885
2014-09-16 13:32:43 -07:00