Commit Graph

3736 Commits

Author SHA1 Message Date
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
John O'Nolan
438444df3d Merge pull request #4090 from PaulAdamDavis/ie-fixes
IE UI fixes
2014-09-23 06:14:11 +02:00
Jason Williams
6437092781 Merge pull request #4100 from novaugust/iss4097
Fix uncentered no posts view
2014-09-22 18:58:31 -05: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
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
Hannah Wolfe
fff53e483f Merge pull request #4092 from halfdan/fix-sass
Fixes sass:compress
2014-09-22 11:27:33 +01:00
Fabian Becker
a6cf795029 Fixes sass:compress
no ref
- Use absolute path for compress/sourceMap
2014-09-22 01:21:46 +02: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
Matt Enlow
9988c69368 Merge pull request #4079 from halfdan/4077-close-psm
Correctly close PSM
2014-09-19 18:14:53 -06: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
Jason Williams
2ac409a025 Merge pull request #4071 from TryGhost/revert-4022-master
Revert "update CodeMirror 4.5.0"
2014-09-19 11:56:39 -05: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
3cfda5f989 Merge pull request #4070 from ErisDS/grunt-lint
Adds grunt lint task for code style checking
2014-09-19 10:13:43 -06: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
0d99d538e2 Revert "update CodeMirror 4.5.0" 2014-09-19 16:55:34 +01: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
94feb8616a Adds grunt lint task for code style checking
no issue

- convenience function runs both jshint and jscs
2014-09-19 15:52:48 +01: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