Paul Adam Davis
24a7c9f3ef
Prevent elastic scrolling on the whole page
2014-09-30 22:52:40 +01:00
Paul Adam Davis
7a291d2fcc
Webkit overflow scroll touch
2014-09-30 22:52:39 +01:00
Paul Adam Davis
32c27ceac9
Tag Management UI Markup
...
References #3926
Static markup for the Tag Management screen
2014-09-30 22:43:59 +01:00
John O'Nolan
12f92cd027
Merge pull request #4210 from JohnONolan/fix-copy
...
[WIP] Fixed email copy grammatical errors
2014-09-30 20:26:11 +02:00
Paul Adam Davis
91c07e37bf
Change avatars in user list back to cover
...
Closes #4199
`background-size: 105%;` is a nono for square images. `background-size: cover;` is a better.
2014-09-30 17:22:21 +01:00
Paul Adam Davis
f6ec4c68fc
Make the PSM tabs transition only happen on larger screens
2014-09-30 11:03:21 +01:00
Paul Adam Davis
4e3de54dca
Remove sliding animation between content & list & post preview on mobile
...
Closes #3951
2014-09-30 11:02:42 +01:00
Paul Adam Davis
e5b45c8d76
Rename popovers to dropdowns
2014-09-30 10:48:21 +01:00
Paul Adam Davis
bf69c9cf83
Fix flickering popover transitions
...
Closes #4138
- Removed JS animation to close in favour of CSS animations
2014-09-30 10:48:21 +01:00
Hannah Wolfe
593d3b184b
Merge pull request #4203 from halfdan/2521-module-test
...
Implements Ghost module tests
2014-09-29 22:05:39 +01:00
Fabian Becker
40254adc92
Implements module tests
...
closes #2521
- Add new module tests
- Implements new `test-module` task to specifically run module tests
2014-09-29 22:33:09 +02:00
Hannah Wolfe
4e58198381
Merge pull request #4188 from halfdan/1891-move
...
Abstract the allowed file types out of API
2014-09-29 21:31:22 +01:00
Connor Tumbleson
3ffdd7e9ab
Sorts PSM authors alphabetically
...
fixes #4198
2014-09-29 12:17:26 -05:00
John O'Nolan
71f4b40b2e
Fixed email copy grammatical errors
2014-09-29 16:04:02 +02:00
Sebastian Gierlinger
14821a7426
Merge pull request #4204 from halfdan/fix-db-api
...
Fix DB API
2014-09-28 21:53:24 +02:00
Fabian Becker
72b0a48483
Fix DB API
...
no ref
- Use correct error type
2014-09-28 19:38:41 +00:00
Fabian Becker
2978a9a19b
Hide author dropdown for authors.
...
fixes #4205 , refs #3084
- Hide author dropdown for authors
2014-09-28 10:21:09 +00:00
Paul Adam Davis
3889bc1af5
Prevent horizontal scrolling in the PSM
2014-09-27 10:55:17 +01:00
Paul Adam Davis
d11bbcf8f3
Fix notifications being cur off on auth/setup screens
2014-09-27 10:44:54 +01:00
Paul Adam Davis
8cc76059aa
Allow scroll on setup form
2014-09-27 10:44:27 +01:00
Fabian Becker
b9ec53544b
Fixes hidden scrollbar.
...
fixes #4194
- Remove relative positioning
2014-09-26 22:27:31 +00:00
John O'Nolan
e502183f48
Fix relative em sizing bug
2014-09-26 20:35:10 +02:00
Fabian Becker
55293d0d1e
Abstract the allowed file types out of API
...
closes #1891
- Moves contentType and extension check to config
2014-09-26 13:31:23 +00:00
Jason Williams
586de0141d
Merge pull request #4132 from novaugust/fix-tab-pane-connection
...
Fix GhostTab and GhostTabPane array dependencies
2014-09-25 17:50:59 -05:00
Fabian Becker
49eea7f6e2
Close mobile menu on tap.
...
fixes #4168
- Listen to tap event
2014-09-25 18:35:27 +02:00
Hannah Wolfe
086f96489e
Merge pull request #4147 from ErisDS/shortcuts
...
Minor shortcut amends
2014-09-25 16:50:31 +01:00
John O'Nolan
07f7c7f56f
Correct broken Google webfont in editor
...
Fixes #4162
2014-09-25 18:33:57 +03:00
John O'Nolan
45824dfbac
Merge pull request #4166 from JohnONolan/tag-icon-fix
...
Fix invisible tag delete icon
2014-09-25 17:30:11 +02:00
John O'Nolan
efc646fc27
Merge pull request #4149 from halfdan/style-fixes
...
Minor style fixes
2014-09-25 17:18:28 +02:00
John O'Nolan
6a4c761d5e
Fix invisible tag delete icon
2014-09-25 18:11:56 +03:00
Fabian Becker
1d1f24d3d4
Properly server shared files
...
refs #3992
- Don't use path.join for URLs
- Cache robots.txt for 1h instead of 1y
2014-09-25 14:14:20 +02:00
Sebastian Gierlinger
d1cd059e70
Merge pull request #4158 from ErisDS/issue-4157
...
Fix cache-control header for API routes
2014-09-25 12:36:08 +02:00
Hannah Wolfe
d40d4d1e90
Merge pull request #4153 from halfdan/4151-tag-order
...
Fix tag order
2014-09-25 11:29:10 +01:00
Hannah Wolfe
e5e7488d4d
Fix cache-control header for API routes
...
closes #4157
- adds cache-control header back to api routes
- moves cache rules object into testUtils
- adds cache-control header test to every existing API test
2014-09-25 11:06:28 +01:00
Ashish Dixit
813ed19b2c
Rename helpers/ghostPaths.js -> helpers/ghost-paths.js
...
Refs #4144
2014-09-24 20:06:42 -05:00
Fabian Becker
f73fbf2538
Fix tag order
...
fixes #4151
- Properly re-add pre-existing tags to beginning of array
2014-09-24 21:56:37 +00:00
Fabian Becker
b15027327b
Minor style fixes
...
no ref
- fix .featured/.unfeatured padding
- fix settings cog padding
2014-09-24 20:22:28 +00:00
Hannah Wolfe
114856567e
Merge pull request #4096 from javorszky/enable-nprogress
...
Undisable nProgress
2014-09-24 19:01:49 +01:00
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
Matt Enlow
a3bb8cb588
Add delete post shortcut to content screen
...
Proposal :: No issue
- cmd/ctrl+backspace deletes a post on the content screen
2014-09-16 12:02:27 -06:00
Hannah Wolfe
f37af86a23
Merge pull request #3894 from hswolff/image-path-update
...
Updates image upload directories to be number based.
2014-09-16 19:00:35 +01:00
Hannah Wolfe
411e8dc44f
Merge pull request #4044 from novaugust/issue4032
...
Abstract mobile transition interactions
2014-09-16 18:34:23 +01:00
Harry Wolff
457f360765
Updates image upload directories to be number based.
...
resolves #2285
- Moves to using moment.format('MM') to use the date formatting of a month
2014-09-16 13:23:29 -04:00
Paul Davis
fcab1a961b
Merge pull request #4033 from halfdan/getting-typos
...
Fix Markdown help modal table positioning
2014-09-16 16:36:53 +01:00
Matt Enlow
09fb17a2be
Abstract mobile transition interactions
...
Closes #4032
- Created "mobile" views: `parent-view`, `content-view` and `index-view`
- `mobile/parent-view` has three callbacks for managing layout, and a mediaQuery listener to keep in sync with the user
- content-view and index-view use their parent-views callbacks to bring themselves into and out of the viewport as appropriate
- fixed media queries for post content list from 800px to 900px
- Created `mobile-index-route` to intelligently transition to a new route on desktops (used by both PostsIndexRoute and SettingsIndexRoute)
- Extract mobile interactions from settings views to new mobile utility views
- `js-` prefixed settings view transitions
- removed unused openEditor action from PostsRoute
- removed unused mobile util "responsiveAction"
2014-09-16 07:28:03 -06:00
Hannah Wolfe
6054086feb
Fix lint error in tests
2014-09-15 22:00:08 +01:00
Hannah Wolfe
b7fdf7d872
Merge pull request #3947 from hswolff/goodbye-config-theme
...
Removes config.theme and restructures how theme variables are cached
2014-09-15 21:30:44 +01:00
Hannah Wolfe
aa0d9fda46
Merge pull request #4025 from mvalipour/master
...
URL replacement in RSS feed mucks with content
2014-09-15 20:35:18 +01:00
Jason Williams
d93bf82795
Merge pull request #4005 from ErisDS/dbhash-first-run
...
Fixes the first run messages
2014-09-15 08:28:06 -05:00
John O'Nolan
67b037608a
Minor tweaks to new scrollbar appearance and animations
2014-09-15 12:37:52 +03:00
John O'Nolan
550a35239c
Merge pull request #4015 from PaulAdamDavis/nano-scrollbars
...
[WIP] Nanoscroller integration
2014-09-15 11:09:10 +02:00
Hannah Wolfe
b890f31d98
Fixes the first run messages
...
no issue
- Whilst testing the mail PR #3915 I noticed the first run messages aren't
appearing because the dbHash is getting pre-populated, but there doesn't
appear to be a reason why this is necessary
2014-09-15 09:49:25 +01:00
Paul Davis
d5ddbfee5a
Merge pull request #4034 from novaugust/iss4027
...
Fix editor scroll depending on cursor location
2014-09-15 09:14:14 +01:00
Fabian Becker
7830d68000
Fix Markdown help modal table positioning
...
no ref
- Fix top spacing of markdown table
- Fix width of table and left align table head
- Fix grammar, whitespace in getting-started post
2014-09-15 09:56:54 +02:00
Fabian Becker
9b002edbf7
Properly align word-count
...
no ref
- Re-adds word-count styles
2014-09-15 00:43:18 +00:00
Matt Enlow
986d3c1696
Fix editor scroll depending on cursor location
...
Closes #4027
2014-09-14 17:38:32 -06:00
Paul Adam Davis
9b94e71805
Static nanoscroller integration
...
References #1892
A static integration of https://github.com/jamesflorentino/nanoScrollerJS
This is WIP with the goal of getting feedback on and deciding how we should integrate this into Ghost.
2014-09-14 17:15:57 +01:00
Matt Enlow
5c43b80cad
Merge pull request #4029 from PaulAdamDavis/fix-text-selection-bug
...
Fix ::selection bug
2014-09-14 08:31:34 -06:00
Hannah Wolfe
7b71d0cbc2
Merge pull request #3948 from hswolff/refactor-storage-module
...
Moves storage module to use prototypes for inheritance and structure.
2014-09-14 11:16:01 +01:00
Mo Valipour
98d0954e32
Fix URL replacement in RSS feed mucking with content
...
closes #3983
- removed naive regex implementation
- added cheerio to project dependencies
- used cheerio to parse RSS content
- use attribute getter/setter to replace href/src attribute urls with the resolved version
2014-09-13 18:11:07 +01:00
Hannah Wolfe
5faeb2996b
Merge pull request #3874 from morficus/issue-3241
...
adding config flags to control all items mentioned in PRIVACY.md
2014-09-13 17:23:56 +01:00
Maurice Williams
3583515e44
adding config flags to control all items mentioned in PRIVACY.md
...
closes #3241
- in config.js, the `privacy` attribute holds all privacy-related flags
- `privacy.userTinfoil: true` disables everything (equivalent to setting all flags to false)
- added helper function to core/server/config/index.js to checking privacy flags
- added helper function to core/server/config/index.js to show warning about deprecated items
2014-09-13 12:04:01 -04:00
Paul Adam Davis
9fe5a9280a
Fix ::selection bug
...
No issue
Fixes a weird issue where text would overlap other text.
2014-09-13 14:54:44 +01:00
Harry Wolff
66845def85
Moves storage module to use prototypes for inheritance and structure.
...
addresses #2852
- Moves storage modules to use prototypes and to create prototypes
that inherit from the base storage ctor.
- Makes storage/base conform to an all Promise interface.
2014-09-12 21:41:29 -04:00
John O'Nolan
bd163ada46
Merge pull request #4014 from PaulAdamDavis/fix-mobile-nav-click
...
Change class for editor PSM closing transparent div
2014-09-12 14:51:05 +02:00
Hannah Wolfe
f2eb90f606
Merge pull request #3999 from novaugust/emberify-posts-c-and-v
...
Emberify Posts mobile transitions
2014-09-12 11:19:34 +01:00
Hannah Wolfe
07eaaae8bf
Merge pull request #3915 from javorszky/iss1538b
...
Replaces sendmail with direct
2014-09-11 20:47:18 +01:00
Paul Adam Davis
9a233cde7b
Change class for editor PSM closing transparent div
...
No issue
- Changes the class used by the transparent div used to close the PSM
Without this change, when in the editor and the nav is open, the transparent div here is above the div the nav is looking for. So, the div for the PSM is clicked, rather than the nav div.
2014-09-11 16:38:57 +01:00
Matt Enlow
5b74929d1c
Merge pull request #4013 from PaulAdamDavis/settings-nav-icons
...
Add icons to settings nav menu
2014-09-11 09:11:34 -06:00
Matt Enlow
9577f61f3b
Merge pull request #4011 from PaulAdamDavis/fix-notifications
...
Fix notification position when PSM is open
2014-09-11 08:48:31 -06:00
Paul Adam Davis
8f9401a78c
Add icons to settings nav menu
...
References #3810
- Re-adds the icons for each item of the settings nav and related styles
I've opted to go with adding `.icon-users` classes instead of setting them in the Sass.
2014-09-11 15:27:28 +01:00
Paul Adam Davis
9e1f223892
Snap page transition for mobile settings
...
References #3810
- Disables the `.fade-in` animation for settings page transitions on mobile
2014-09-11 14:19:16 +01:00
John O'Nolan
5e9d545bba
Merge pull request #4009 from PaulAdamDavis/fix-modals
...
Fix modal positioning
2014-09-11 14:12:11 +02:00
Paul Adam Davis
0bd2294828
Fix notification position when PSM is open
...
Closes #4006
- Adds a transition to the notification containers
- Adjusts the position of bottom notifications when PSM is open
2014-09-11 12:57:41 +01:00
Sebastian Gierlinger
aceb85d2c2
Merge pull request #3994 from halfdan/3982-use-auth-scope
...
Add authentication scope.
2014-09-11 11:00:06 +02:00
Sebastian Gierlinger
6f7fda2a94
Merge pull request #3908 from halfdan/3758-revokation-api
...
Delete revoked tokens
2014-09-11 10:17:08 +02:00
Matt Enlow
6f929eee4a
Emberify Posts mobile transitions
...
Closes #3950
- Fixed up event attachment and removal in a few mixins
- Renamed content-list-content-view to something more understandable
- simplify transition from posts.index to posts.post
2014-09-10 20:58:10 -06:00
Paul Adam Davis
d419bec66b
Fix modal positioning
...
Closes #4008
- Adds a `.modal` class which extends `%modal` - it disappeared with the migration to Libsass
2014-09-10 19:34:39 +01:00
Fabian Becker
c684ee5b38
Delete revoked tokens
...
closes #3758
- new API method to delete access and refresh token
- use new ember-simple-auth config to revoke tokens on logout
- new method to delete tokens by .. token
2014-09-10 20:19:52 +02:00
Paul Adam Davis
00abfa64fe
[WIP] Wire up new mobile nav
...
References #3810
With GUI2, there's now a number of places to open the mobile navigation menu. This handles those clicks.
2014-09-10 18:33:27 +01:00
John O'Nolan
47a0a71350
Merge pull request #3960 from PaulAdamDavis/fix-user-settings-page
...
Fix user profile settings
2014-09-10 19:04:06 +02:00
Paul Adam Davis
7119493a1e
Prevent horizontal scroll on content list
...
Closes #4000
- Adds `overflow-x: hidden;` to the content list & preview wrapper
2014-09-10 16:48:33 +01:00
Matt Enlow
5ccbf799e1
Merge pull request #3965 from halfdan/3936-psm-1
...
PSM Step 1
2014-09-10 09:35:21 -06:00
Fabian Becker
961ab5f064
Post Settings Menu - Step 1
...
closes #3936
- Implement new PSM
- Hook up close action
- Automatically close when view is destroyed
- Close on click and when pressing ESC
2014-09-10 17:31:19 +02:00
Jamie Knight
040ee823ba
Improve keyboard support
...
issue #3964
- added :focus selector to improve keyboard support in modern browsers
- added :active selector to improve keyboard support in old IE
2014-09-10 01:51:25 +01:00
Fabian Becker
aa43e98e2e
Add authentication scope.
...
closes #3982
- Set custom key to use in localStorage based on subdir
2014-09-09 23:44:38 +00:00
Matt Enlow
9f6884e876
Merge pull request #3991 from halfdan/3989-active-class
...
Remove active class from buttons
2014-09-09 16:35:49 -06:00
Fabian Becker
1f8b323285
Remove active class from buttons.
...
refs #3989
- Remove active class from {{#link-to tagName="button" ..}}
2014-09-09 22:21:39 +00:00
Hannah Wolfe
a21ce4dd55
Merge pull request #3990 from halfdan/handle-addrinuse
...
Handle EADDRINUSE
2014-09-09 19:16:03 +01:00
Fabian Becker
5430e72753
Handle EADDRINUSE
...
no ref
- Show a human readable message on EADDRINUSE
2014-09-09 20:05:11 +02:00
Paul Adam Davis
ecf5d045f3
Fix user profile settings
...
References #3810 , #3944
- Fixes several small visual bugs with the user settings page
- Changes `.settings-subview-header` to use a clearfix instead of `overflow: hidden;` (fixing style issues in #3944 )
2014-09-09 11:21:39 +01:00
Hannah Wolfe
2aff9ed8eb
Force apps flag to be boolean in config API
...
ref #3969
- it shouldn't be possible to set keys via this flag
2014-09-09 08:40:38 +01:00
Gabor Javorszky
187c486b2f
Replaces sendmail with direct
...
Closes #1538
* rips out sendmail
* adds direct
* updates nodemailer to 0.7.1
* changes unit tests for mail
* changed integration tests for mail
* adds mail api tests
2014-09-08 20:52:10 +01:00
Matt Enlow
9c0b203dce
Merge pull request #3867 from hswolff/middleware-work
...
Makes the Ghost application more express middleware friendly.
2014-09-08 13:43:48 -06:00
Hannah Wolfe
805f45900e
Merge pull request #3902 from Chrisui/custom-tag-templates
...
Custom template files for custom tags
2014-09-08 20:14:48 +01:00
Hannah Wolfe
0a96351274
Merge pull request #3968 from thaiphan/master
...
Stop packagePath variable from being undefined
2014-09-06 16:35:45 +01:00
Hannah Wolfe
946eab801a
Merge pull request #3963 from jaswilli/issue-3955
...
Prevent editor title from being overwritten
2014-09-06 16:07:30 +01:00
Chris Pearce
97946cbc14
Ability to create custom template files for custom tags. Eg. tag-design.hbs
2014-09-05 17:35:30 +01:00
John O'Nolan
eafbe4ed7e
Merge pull request #3972 from PaulAdamDavis/form-refactor
...
Remove form focus halo
2014-09-05 18:35:00 +02:00
Paul Adam Davis
a8a72dc55c
Remove form focus halo
...
No issue
- Removed the blue halo from around focused form elements
- Slightly refactored the forms to target less text inputs and have cleaner syntax
2014-09-05 17:16:55 +01:00
Gabor Javorszky
5f06f69d18
Adds (Never) for users who haven't been seen
...
Closes #3970
2014-09-05 16:45:34 +01:00
Thai Phan
76f7412a75
Stop packagePath variable from being undefined
2014-09-05 22:52:24 +10:00
Hannah Wolfe
f7b85524d8
Merge pull request #3957 from halfdan/3956-we-dont-like-html
...
Don't send HTML on post save.
2014-09-05 11:36:19 +01:00
Jason Williams
1d6b1f9667
Prevent editor title from being overwritten
...
Closes #3955
- Change titleScratch from being bound to the title to being
set when entering the editor so it is not overwritten on a
model refresh.
- Ensure that the "unsaved content" dialog is shown when there are
changes to the "scratch" fields after a post-settings-menu change.
- Add tests to prevent regression.
2014-09-04 19:27:59 +00:00
Fabian Becker
60ed88f804
Don't send HTML on post save.
...
fixes #3956
- adjusts post serialiser to not send HTML content
2014-09-04 18:32:34 +02:00
John O'Nolan
af7743f935
Merge pull request #3952 from PaulAdamDavis/fix-what-libsass-broke
...
Fix floating header gradient in FF and settings images
2014-09-04 12:20:36 +02:00
Matt Enlow
12cb93e333
Merge pull request #3953 from halfdan/2666-jshint-test
...
Apply JSHint to test files.
2014-09-03 13:40:01 -06:00
Fabian Becker
bc558cf0d2
Apply JSHint to test files.
...
closes #2666
- Add new jshint:test task
- Fix jshint errors
2014-09-03 20:33:58 +02:00
Matt Enlow
cd4e07b513
Merge pull request #3944 from halfdan/3925-cog-back
...
Show settings-cog and back button
2014-09-03 09:30:01 -06:00
Fabian Becker
2959b6d391
Show settings-cog and back button
...
closes #3925
- Make user-settings-cog reappear
- Show [< Users] back button
2014-09-03 17:18:41 +02:00
Jason Williams
c5b1319936
Merge pull request #3852 from ErisDS/issue-1967
...
Add the new body classes
2014-09-03 10:13:06 -05:00
Paul Adam Davis
80a048c2d4
Fix floaring header gradient in FF and settings images
...
No issue
- Corrects the syntax used for the floating header gradient so it now gets prefixed correctly for Firefox
- Removes padding from `<button>` elements (fixes padding around images in buttons)
- Adds display: block; to settings images to prevent a Webkit bug which adds space under the image
2014-09-03 15:52:01 +01:00
Matt Enlow
03bea5dbef
js-
prefix; fix content preview back button
...
Closes #1990 , Ref #3810
- Add `js-` prefix to jQuery calls throughout code and templates
- move MarkdownComponent classNames to template
- Fix back button on posts content preview
- Remove dead code for preview tabbing jQuery
2014-09-02 22:29:32 -06:00
Harry Wolff
2bb1b14ebd
Removes config.theme and restructures how theme variables are cached
...
resolves #1789
- removes config/theme.js
- moves caching of theme variables to api/settings.js which is where the
rest of the settings cache occurs. this removes the requirement of having
to push changes to cache, now it simply occurs alongside when settings
are changed.
- updates relevant tests.
2014-09-02 23:15:15 -04:00
John O'Nolan
719f56f918
Merge pull request #3935 from PaulAdamDavis/new-psm
...
[WIP] New post settings menu
2014-09-03 01:29:14 +03:00
Paul Adam Davis
53a4a6a010
Enlarge mobile matchMedia max-width
...
Closes #3941
It now matches the mobile MQ in CSS - https://github.com/TryGhost/Ghost/blob/master/core/client/assets/sass/components/navigation.scss#L163
2014-09-02 22:20:16 +01:00
Paul Adam Davis
d1910c6ea5
Static integration of the new PSM
...
Reference #3932
Take this, and make it work.
2014-09-02 22:07:13 +01:00
Hannah Wolfe
e00843851e
Merge pull request #3575 from novaugust/about-ghost
...
About ghost page
2014-09-02 21:17:16 +01:00
Hannah Wolfe
cfd987b748
Merge pull request #3907 from PaulAdamDavis/fix-about-styles
...
Update About page styles
2014-09-02 21:16:50 +01:00
Matt Enlow
737ea3f65e
Implement About Ghost page
...
Closes #3568
- Deleted html placeholders in client
- Added new grunt task, buildAboutPage, which 1)creates -contributors.hbs partial and 2) downloads contributor avatars
- buildAboutPage is called by anything that does an emberTemplates task
- Removed unused code from ghostpaths
2014-09-02 13:49:01 -06:00
Hannah Wolfe
e0924f866a
Merge pull request #3912 from halfdan/3909-config-api
...
Remove permissions from configuration API
2014-09-02 20:29:09 +01:00
Paul Adam Davis
9341d05d16
Update About page styles
...
Closes #3919
With the move to new global styles, the about page styles got a bit borked. This fixes those.
2014-09-02 16:48:56 +01:00
Fabian Becker
c0adf5894f
Remove permissions from configuration API
...
closes #3909
- Remove permissions from configuration API
- Remove permission setup from integration test
- Remove permissions from permissions.json
2014-09-02 15:48:32 +00:00
Hannah Wolfe
254d890dec
Merge pull request #3934 from PaulAdamDavis/fix-cover-image
...
Fix user cover images
2014-09-02 16:33:00 +01:00
Hannah Wolfe
7936fc7d12
Merge pull request #3819 from studioromeo/reset-preview-scroll-position
...
Reset preview scroll position when post item is clicked
2014-09-02 16:28:53 +01:00
Paul Adam Davis
fdb0cce524
Fix user cover images
...
No issue
The cover image method in the settings/user controller returned the correct asset URL, but not the corresponding CSS which is needed to show it correctly.
2014-09-02 15:19:23 +01:00
Robert Rhoades
464db6f289
Resets the scroll position on controller content change
...
When scrolling through the preview of a long article, if the
post was changed the scroll position of the preview would
remain the same.
2014-09-02 13:13:32 +01:00
Fabian Becker
33a6b3d6a6
Add alternative names for pg
...
refs #3864
- map alternative valid pg names to pg
2014-09-01 21:29:12 +00:00
Hannah Wolfe
17f5ce6a2c
Merge pull request #3888 from felixrieseberg/iss3884-content
...
Return leading image for {{content words="0"}}
2014-09-01 20:13:32 +01:00
Hannah Wolfe
910cdc1210
Merge pull request #3903 from JohnONolan/gui-readme
...
First pass refactor of GUI readme redux
2014-09-01 17:18:10 +01:00
Fabian Becker
5ab8c661ec
Fix regex from #3898
...
refs #3898
2014-09-01 15:39:53 +02:00
Sebastian Gierlinger
57b5f4da00
Merge pull request #3841 from halfdan/3619-configuration-api
...
Implements new Configuration API
2014-09-01 15:15:05 +02:00
Sebastian Gierlinger
6ea7ab3294
Merge pull request #3898 from halfdan/fix-uncap-api
...
Restrict uncapitalise middleware for API
2014-09-01 15:00:58 +02:00
Fabian Becker
a0b7941439
Restrict uncapitalise middleware for API
...
no ref
- Do not lowercase anything after /api/v0.1/<resource>/ to protect :key/:slug
2014-09-01 12:38:06 +00:00
Fabian Becker
688b3914e4
Implements new Configuration API
...
closes #3619
- adds new permissions for configuration API
- adds integration tests
- adds configuration API for reading allowed values
2014-08-31 20:54:17 +00:00
Paul Adam Davis
3f72028a73
Fix notification styles
...
No issue
I'm not sure why, but @extend's here using placeholder selectors, not classes, work.
This fixes the notification and modal styles, which meant changing how the default button selector works. It is now a placeholder, and a real class extends that. The modal styles extended the default button style, which can now happen.
2014-08-31 20:56:05 +01:00
John O'Nolan
8321ff33e0
First pass refactor of GUI readme redux
2014-08-31 16:56:41 +03:00
Hannah Wolfe
2a843c309e
Adding Grunt tasks for Sass
2014-08-31 14:16:58 +01:00
Hannah Wolfe
91b5d27492
Merge TryGhost/Ghost-UI into TryGhost/Ghost
2014-08-30 18:57:31 +01:00
Paul Adam Davis
7782c48383
Swap out Ruby Sass for Node Sass
...
- Uses Node Bourbon https://www.npmjs.org/package/node-bourbon
- Produces source maps
- Removed all ruby dependencie
History:
- Remove bourbon from package and cleanup grunt tasks
- Un-bourbon keyframe animations
- Un-bourbon transitions
- Un-bourbon box-sizing
- Un-bourbon font-feature-settings
- Import bourbon clearfix mixin
- Un-bourbon linear gradients
- Un-bourbon input types
- Un-bourbon positions
- Un-bourbon transforms
- Un-bourbon notification animations
- Un-bourbon uploader box-sizing
- Un-bourbon border-radius
- Un-bourbon splitbutton transitions
- Add triangle mixin
- Un-bourbon default container positioning
- Un-bourbon flexbox properties
- Fix triangle mixin - It now has the same output as the Bourbon mixin
- Add autoprefixer
- Correct global default font size
- Remove unwanted prefixes - Because, y'know, autoprefixer
- Output from node sass migration - Includes all the files we usually have, plus source maps
2014-08-30 14:13:36 +01:00
Harry Wolff
4951f267f9
Remove shim files that were created to address #1873 .
...
refs #1873
- Removes all shim files.
2014-08-29 17:39:54 -04:00
Harry Wolff
8bc6a6e633
Makes the Ghost application more express middleware friendly.
...
refs #827
- Moves ./index to use Ghost in a similar manner to how someone uses
Ghost as an npm module.
- Allows Ghost to be cleanly mounted on another express application
on any arbitrary endpoint, all you need to customize is the mount path.
2014-08-29 17:30:16 -04:00
Hannah Wolfe
1ed286d09e
Merge pull request #3866 from hswolff/config-updates
...
Move config module to be instance based and merge bootstrap into config.
2014-08-29 21:35:56 +01:00
Felix Rieseberg
1b203dc42a
Return leading image for {{content words="0"}}
...
Closes #3884
- This PR includes a reimplementation of Downsize@0.0.5 with `words: "0"`. It uses the same parsing methods, therefore guarunteeing identical behavior.
- Tests have been updated to be more extensive.
2014-08-28 09:51:00 -07:00
Jason Williams
35e2387541
Run import run operations in order.
...
Closes #1977 , Refs #3473
- Ensure that import operations are run in sequence.
Previously the operations were started in order but subsequent
ops were allowed to begin before the previous finished, which would
result in out-of-order execution.
- Fix bug in attach() where a model property was being passed in
instead of a transaction object. If the call was made when a
transaction was in process, it could cause bookshelf/knex to
hang and never finish the transaction.
2014-08-28 00:21:13 +00:00
Hannah Wolfe
25ad4b39fd
Uncapitalise middleware should not affect tokens
...
no issue
- Whilst testing on next, I noticed trying to signup didn't prepopulate email addresses any more, and this is why
2014-08-26 22:30:33 +01:00
Hannah Wolfe
93e4cfdadf
Merge pull request #3855 from felixrieseberg/iss3844-importer
...
Importer: Sanitize UUIDs
2014-08-26 16:51:49 +01:00
Hannah Wolfe
25e08d6af5
Merge pull request #3882 from JohnONolan/fix-profile
...
Fix up user profile
2014-08-26 12:30:00 +01:00
Hannah Wolfe
5e126dfcd9
Fixing settings tests
2014-08-26 12:18:00 +01:00
Sebastian Gierlinger
42d6cc3983
Merge pull request #3859 from ErisDS/issue-1299
...
Update editor markdown tests
2014-08-26 12:21:36 +02:00
Sebastian Gierlinger
cab8254539
Merge pull request #3860 from ErisDS/issue-3857
...
Redirect uppercase routes to lowercase version
2014-08-26 12:19:52 +02:00
Sebastian Gierlinger
bb9eee9b4c
Merge pull request #3865 from ErisDS/issue-3750
...
Delete tokens before deleting a user
2014-08-26 12:16:49 +02:00
John O'Nolan
1c37ad9a3a
Merge branch 'fix-profile' into GUI-2.0
...
* fix-profile:
Fix up user profile screen
2014-08-26 13:11:53 +03:00
John O'Nolan
73439ace0e
Fix up user profile screen
2014-08-26 13:11:38 +03:00
John O'Nolan
15b4791e54
Fix up user profile
2014-08-26 13:08:43 +03:00
Jason Williams
03d25ca502
Show warning dialog if session has ended in editor
...
Closes #3839
- Display a warning modal in the editor routes if the user
is logged out due to re-authorization problems. This provides
a chance to copy any unsaved content before being sent to the
signin page to log back in.
2014-08-25 19:45:26 +00:00
Hannah Wolfe
5856cdd67e
Merge pull request #3861 from cobbspur/metas
...
Added correct contextual Meta Titles and Descriptions
2014-08-24 18:58:23 +01:00
Hannah Wolfe
48ef6d26e5
Merge pull request #3863 from jaswilli/issue-3856
...
Adjust setup and teardown of route tests.
2014-08-24 18:33:28 +01:00
Felix Rieseberg
6fe93f6a50
Importer: Sanitize UUIDs
...
Closes #3844
- Before importing, all data is checked for incorrect UUIDs. If check
fails, data is sanitized and outfitted with correct UUIDS.
- Scaffolding allows for easy implementation of additional
sanitization, should that be required in the future.
- Test included, old tests updated.
2014-08-23 18:02:23 -07:00
Jason Williams
c02240dd5f
Adjust setup and teardown of route tests.
...
Closes #3856
- No longer call clearData and initData in test setup because
migration.init is run during Ghost startup. The unhandled
error was a result of clearData removing all the tables while
Ghost was running--there was a timing issue with the oauth middleware
checking the refreshtokens table when it had just been deleted.
2014-08-23 21:22:01 +00:00
Harry Wolff
583c7970d9
Move config module to be instance based and merge bootstrap into config.
...
helps with #827 , otherwise no issue
- This is general code clean-up and unification.
- Merges code from bootstrap.js into config module as they were both
concerned with managing the config file and as such should be in one
location.
- Updates all relevant tests.
2014-08-23 15:54:43 -04:00
Hannah Wolfe
74c6a341be
Delete tokens before deleting a user
...
fixes #3750
- Updated tests to create tokens for one user. This caused the tests to
fail for MySQL exposing the bug.
- Delete user's tokens along with posts
2014-08-23 20:13:17 +01:00
Matt Enlow
77a2d341aa
Fix mobile settings menu transitions with new GUI
...
Ref #3810
2014-08-23 12:24:00 -06:00
Jason Williams
07ad400ee0
Replace the when promise library with bluebird.
...
Closes #968
2014-08-23 17:15:40 +00:00
Hannah Wolfe
6a52fc8ace
Redirect uppercase routes to lowercase version
...
fixes #3857
- adds uncapitalise middleware which detects uppercase in req.path and
redirects to the lowercase equivalent
- change the ghost route to a regex, just so it's consistent with other
routes in the file
2014-08-23 17:59:58 +01:00
cobbspur
8604601027
Added correct contextual Meta Titles and Descriptions
...
closes #2462
- adds conditionals for pagination for index, tags and author pages
- outputs correct meta title and description according to context
- adds further unit testing
2014-08-23 17:42:05 +01:00
Hannah Wolfe
c40535775f
Update editor markdown tests
...
closes #1299
- update tests to check for full strings with spaces now that this is no
longer an issue
- reorganise duplicated test for images
2014-08-23 14:22:43 +01:00
Hannah Wolfe
f7e92d20e2
Merge pull request #3815 from JoshWillik/extract-init
...
Extract the starting functionality into an exported class.
2014-08-22 20:06:03 +01:00
Hannah Wolfe
2800671bbd
Add the new body classes
...
closes #1967
- adds paged to eventually replace archive-template
- adds page-template to eventually replace page
- changes custom page template class to be page-slug instead of
page-template-slug
2014-08-22 10:33:35 +01:00
Hannah Wolfe
663dc5861b
Removing hard-coded port number
...
closes #1391
2014-08-22 08:58:21 +01:00
Josh Vanderwillik
1438278ce4
Extract starting functionality into an exported class
...
closes #3789
- Create a GhostServer class to manage state
- index.js now calls start on the exported server
- Alter tests to expect a GhostServer instance
2014-08-21 17:04:39 -04:00
Hannah Wolfe
98c89b4858
Merge pull request #3840 from jaswilli/pg-import-test
...
Change tests to accommodate pg differences.
2014-08-21 20:11:36 +01:00
Hannah Wolfe
62eed88d3b
Merge pull request #3830 from wjake/issue-3813
...
Fix editor markdown tab
2014-08-21 20:09:18 +01:00
Hannah Wolfe
3992b1f3cf
Merge pull request #3836 from jaswilli/ember17-prep
...
Rework editor save button.
2014-08-21 19:47:35 +01:00
Jake Wright
349fd649f8
Fix markdown/preview tab for mobile
...
Fixes #3813
- Add togglePreview action to controller
- Implement action and bind attributes
- Remove the now pointless
- Update to comply with issue suggestions
2014-08-21 17:13:30 +01:00
Nicola Mustone
1d0cb1603f
fix username length
2014-08-21 10:07:11 +02:00
Nicola Mustone
a17d86c153
fix 3679
2014-08-21 09:59:34 +02:00
Jason Williams
74fd6fc09a
Change tests to accommodate pg differences.
...
Refs #2499
- Since PostgreSQL handles transactions differently than
MySQL and SQLite3 there are differences in the way and
number of errors that are returned. Update tests to
only check that at least one error of the proper type
was returned.
2014-08-20 20:58:50 +00:00
Hannah Wolfe
3a1839dfa3
Merge pull request #3817 from felixrieseberg/iss685
...
Prev & Next Links for Ghost_Head
2014-08-20 20:59:55 +01:00
Felix Rieseberg
15e4dd1e9f
Pre & Next Links for Ghost_Head
...
closes #685
- Now that we have a ‘pagination’ meta object, we can implement
SEO-friendly `next` and `prev` ref links in `<head>`.
- This implementation works uniformly for anything that supports
pagination in the current schema (posts, tags, authors)
- Regex should make the implementation future-proof for additional
pagination
2014-08-20 12:28:21 -07:00
Hannah Wolfe
e7f451cbef
Merge pull request #3820 from PaulAdamDavis/input-icons
...
Icon wrapper around signing inputs
2014-08-20 19:15:56 +01:00
Jason Williams
e03d503add
Ignore tables with pg_ prefix in pg getTables.
...
Closes #3825
- Fixes an issue where a PostgreSQL extension may create
a public table and it gets caught up in the migration process.
2014-08-20 14:20:18 +00:00
Jason Williams
f59ad208ac
Rework editor save button.
...
Refs #3834
- Change bindings and fix a forward reference. Preparation for
upgrade to Ember 1.7.0.
2014-08-20 13:36:25 +00:00
Hannah Wolfe
edc9f5e164
Merge pull request #3816 from felixrieseberg/iss3671
...
'Autocorrect' for posts per page setting
2014-08-20 13:44:29 +01:00
Sebastian Gierlinger
f0da28abb3
Fix broken status code
...
closes #3779
- added custom error classes for OAuth errors (bug was caused by
oauth2orize error classes)
- added basic tests for `/authentication/token` endpoints
2014-08-20 11:28:55 +02:00
Hannah Wolfe
afc59fdf2e
Merge pull request #3452 from novaugust/property-to-computed
...
Change .property() to Ember.computed
2014-08-19 21:01:40 +01:00
Matt Enlow
20f40e7e32
Change Ember function.property() to Ember.computed
...
Closes #3417
2014-08-19 10:01:17 -06:00
Hannah Wolfe
f2aefd257e
Removing remaining references to Polyglot
...
refs #3802
2014-08-19 16:36:26 +01:00
Paul Adam Davis
9c6ed3bf7b
Icon wrapper around signing inputs
...
No issue
References https://github.com/TryGhost/Ghost-UI/commit/379a630e1bc1
- Adds `<span class="input-icon icon-mail">` around signing inputs to help match markup used elsewhere
2014-08-19 15:36:59 +01:00
Paul Adam Davis
7e55f9a393
Reimplement notification close button hit area size
...
Essentially, this: 087868c1c9
2014-08-19 15:31:18 +01:00
Paul Adam Davis
9208677e6c
Prevent nav items from wrapping
2014-08-19 15:27:01 +01:00
Hannah Wolfe
e6bb7c4443
Merge pull request #3802 from ErisDS/i18n
...
Removing prototypal i18n code
2014-08-19 15:25:40 +01:00
Paul Adam Davis
8f225fe640
Refactor auth CSS
...
This means signing screen icons now depend on new markup
2014-08-19 15:25:24 +01:00
Hannah Wolfe
09383dc181
Merge pull request #3777 from hswolff/lazy-models
...
Move Models module to have an init method that sets up all models
2014-08-19 15:24:55 +01:00
Felix Rieseberg
6710a1da89
Working CopyHTML shortcut
...
closes #3481
- Pressing Ctrl/CMD+Shift+C in the editor will open up a modal that
contains the generated HTML for either the selected text or the whole
post
2014-08-19 15:05:26 +01:00
Hannah Wolfe
6c96d00bcc
Merge pull request #3767 from jaswilli/clear-ws-slug
2014-08-19 10:13:45 +01:00
Felix Rieseberg
acf8ffc1fb
'Autocorrect' for posts per page setting
...
See #3671
- As @JohnONolan’s suggestion, if the user enters an invalid value for
the ‘posts per page’ setting, the number autocorrects to 5, iOS
autocorrect-style
2014-08-18 23:24:59 -06:00
Felix Rieseberg
02f11fad31
Center default user-error (404, etc.)
...
See #3810
- Only thing missing: <div id=“container”></div>. Added.
2014-08-18 16:45:03 -04:00
Jason Williams
c4fb17d2d7
Reset slug input text box after invalid input.
...
No Issue
- When an invalid, all whitespace slug is entered into the
slug input in the post settings menu, it's rejected but
the input's value still remains the same. This resets the
input back to its original value.
- Added test for the above behavior.
- Only show success notification if slug was actually changed.
- Convert whitespace from tabs to spaces in post-settings-menu.hbs
2014-08-18 21:10:57 +01:00
Hannah Wolfe
02ca955a00
Merge pull request #3766 from jaswilli/user-slug
...
Correct behavior on updating user slug.
2014-08-18 20:55:54 +01:00
Harry Wolff
5ff2a31ce1
Move Models module to have an init method that sets up all models
...
resolves #2170
- creates a models.init() function that requires all other model files
and caches them. This is opposed to the previous functionality where
when you require('./models') it would immediately require all other models.
Now it's done when you want.
- Updates all tests to reflect the new structure of the model module
2014-08-18 15:54:10 -04:00
Jason Williams
e73468fb1e
Fix and enable general and user settings tests.
...
Conflicts:
core/test/functional/client/settings_test.js
2014-08-18 20:44:26 +01:00
Hannah Wolfe
90b9c7681c
Fixing bad merge
2014-08-18 20:22:10 +01:00
Felix Rieseberg
ab9fe8752f
Post Settings: No 'Author' selection for 'author'
...
closes #3756
- The post settings menu’s option to change the post’s author isn’t
displayed if the user has the ‘author’ role.
- Also fixed some incorrect indentation in the template (no actual code
change)
2014-08-18 19:29:19 +01:00
Hannah Wolfe
b1c77c70fd
Merge pull request #3805 from TryGhost/gui-update-yolo
...
Gui Update
2014-08-18 19:20:40 +01:00
Hannah Wolfe
3bf3d497cf
Fixing tests, PSM and settings pane
...
- resolving test failures where number of tests changed
- fixing issue with PSM label
- re-removing app settings screen code
2014-08-18 18:16:09 +01:00
Paul Adam Davis
c63c88c37f
Move nav-item file, use variable colours instead of some hexes
2014-08-18 18:08:52 +01:00
Paul Adam Davis
bacb7dd93c
New PSM markup, nav-item, and refactored input icons
...
References #97 , #98 , #99
2014-08-18 17:57:04 +01:00
Paul Adam Davis
cd9628cd45
Remove dist CSS files from gitignore
2014-08-18 13:28:06 +01:00
John O'Nolan
04536b3916
God damn tests
2014-08-17 22:23:00 +03:00
Hannah Wolfe
734fad2a64
Merge pull request #3762 from blia/dev
...
Fixed TypeError when updating slug
2014-08-17 16:02:14 +01:00
John O'Nolan
c4b87bbfeb
Content management cleanup
2014-08-17 15:01:35 +03:00
John O'Nolan
137c0129db
Settings nav overhaul
2014-08-17 15:01:35 +03:00
John O'Nolan
5f0bca1166
Disable Pinterest inside Ghost admin
2014-08-17 14:58:03 +03:00
Paul Adam Davis
5912286b35
Use old form styles with class changes for radios & checkboxes
2014-08-17 14:58:03 +03:00
Paul Adam Davis
10ffe68c08
Working new dropdowns
...
- Implement new GUI 2.0 dropdowns into templates
2014-08-17 14:58:03 +03:00
John O'Nolan
85b7819791
Implement new button markup
2014-08-17 14:57:07 +03:00
John O'Nolan
c10d555a2e
New publish button markup implementation
2014-08-17 14:53:47 +03:00
John O'Nolan
2e4f2a262d
Adding global app frame wrappers
...
This makes the new responsive styles work in a basic way. It'll probably need revisiting to break out the header area into a partial (maybe?)
2014-08-17 14:53:47 +03:00
John O'Nolan
0c56a2478b
Implement new global-nav markup
2014-08-17 14:40:44 +03:00
John O'Nolan
71350ff0a0
Settings nav overhaul
2014-08-16 19:39:52 +03:00
John O'Nolan
e74e7e1f37
Remove old button styles
2014-08-16 19:39:37 +03:00
Hannah Wolfe
b91dee35c4
Removing prototypal i18n code
...
refs #16 , #17 , #18 , #19 , #20 , #21 , #3801
- This code was a prototype system built when Ghost was still a prototype.
It was never fully implemented and hasn't actually worked for ages.
- Now that the admin is in Ember, it's likely we'll need a very different
system.
2014-08-16 17:29:54 +01:00
Hannah Wolfe
9b7be32c0c
Merge pull request #3775 from felixrieseberg/iss3765
...
Ensure Owner's role isn't downgraded
2014-08-16 17:07:41 +01:00
Felix Rieseberg
47ba9a7385
Ensure Owner's role isn't downgraded
...
closes #3765
- Simple API check to ensure that the owner isn’t downgraded to a
different role (analog to the ’can’t change your own role’ check)
- Test added to ensure Owner can't be downgraded to a lower role
2014-08-15 17:44:30 -04:00
Hannah Wolfe
7f4231c83d
Merge pull request #3791 from ErisDS/issue-3790
...
Display correct new Ghost version
2014-08-15 18:34:03 +01:00
Hannah Wolfe
e8ad143705
Merge pull request #3785 from jaswilli/post-status
...
Revert post status on failed save.
2014-08-15 18:27:47 +01:00
Hannah Wolfe
260d9562e4
Merge pull request #3670 from felixrieseberg/iss3641
...
Validation fix for number of posts/page
2014-08-15 18:27:14 +01:00
Hannah Wolfe
52d0a83dc2
Display correct new Ghost version
...
closes #3790
2014-08-15 18:23:55 +01:00
Hannah Wolfe
d2e09de0de
Merge pull request #3769 from novaugust/iss3764
...
Hide role dropdown on user page if user is owner
2014-08-15 17:53:46 +01:00
Jilles Soeters
6249d28a92
Added target="_blank" to all links that go to the support page.
2014-08-15 16:46:24 +02:00
Jilles Soeters
ecdf5cec21
Open the e-mail sending support page in a new window.
2014-08-15 16:20:52 +02:00
Jason Williams
1c4c4eb5de
Correct behavior on updating user slug.
...
No Issue
- Defer save until after slug is checked.
- If new slug is empty or all whitespace, reset to previous value.
- If new slug is the same as existing slug except for an increment
value (e.g. ghost-user-2), use the original slug.
- If the slug has changed, change the URL path to reflect the
change so that the browser refresh and back button still work.
- Added tests.
2014-08-15 04:00:19 +00:00
Jason Williams
24a97db1be
Revert post status on failed save.
...
Refs #3667 , Refs #3776
- If saving a post fails, revert its status back to the
pre-save value.
- Added tests to check post status after failed save attempt
on both new and existing posts.
2014-08-15 00:22:10 +00:00
Hannah Wolfe
868219d0a9
Merge pull request #3776 from felixrieseberg/iss3667
...
Ensure editor awareness if publishing fails
2014-08-14 21:19:21 +01:00
Hannah Wolfe
b1386fccc3
Merge pull request #3738 from felixrieseberg/iss3728
...
Error notification if send test mail returns 500
2014-08-14 20:38:08 +01:00
Hannah Wolfe
62b46bac57
Merge pull request #3749 from novaugust/ghost-logo-link
...
Update ghost-logo, amend the amdendments, death to jQuery
2014-08-14 20:19:00 +01:00
Hannah Wolfe
a8fdc7ac43
Merge pull request #3773 from jaswilli/settings-tests
...
Fix and enable general and user settings tests.
2014-08-14 20:05:42 +01:00
Felix Rieseberg
6e8c98e27c
Ensure editor awareness if publishing fails
...
closes #3667
- If the ‘save’ function on a new post fails, the local Ember model
still beliefs that the status is ‘published’, resulting in wrong
buttons. A simple catch fixes that.
2014-08-14 11:05:05 -07:00
Paul Adam Davis
e9a976c7a5
Fix images in buttons
2014-08-14 17:56:23 +01:00
Paul Adam Davis
48b83a9dc7
Re-implement old form styles
2014-08-14 16:29:34 +01:00
Paul Adam Davis
2c9f47d24b
Badge component
2014-08-14 14:38:32 +01:00
Paul Adam Davis
6472d80474
Pagination component
2014-08-14 12:48:44 +01:00
Felix Rieseberg
f19c2be6fe
Validation fix for number of posts/page
...
closes #3641
- Reworded error messages, remove “please” (credits go to @YouriAckx)
2014-08-13 12:08:09 -07:00
Hannah Wolfe
048cdc5f16
Merge pull request #3733 from rwjblue/use-ghost-paths-util
...
Use the ghost-paths consistently.
2014-08-13 18:28:11 +01:00
Hannah Wolfe
2aed220e9e
Merge pull request #3647 from felixrieseberg/iss3644
...
Accept all versions of 'edit' as URL parameter
2014-08-13 18:22:18 +01:00
Paul Adam Davis
60f1b47129
Allow buttons elements in dropdowns
2014-08-13 15:15:23 +01:00
Jason Williams
2eb9a48c48
Fix and enable general and user settings tests.
2014-08-13 14:14:29 +00:00
Paul Adam Davis
147f1a836f
Updated dropdown positions in layouts
2014-08-13 14:25:28 +01:00
Matt Enlow
8748895607
Hide role dropdown on user page if user is owner
...
Closes #3764
2014-08-12 18:06:34 -06:00
Kirill Yakovenko
d812f99174
Fix TypeError when updating slug
...
- added check slug before trim
2014-08-12 17:46:14 +03:00