Commit Graph

3693 Commits

Author SHA1 Message Date
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
Hannah Wolfe
95a7e36c84 Merge pull request #3945 from novaugust/smart-contributors
Smarter `buildAboutPage` task
2014-09-03 18:19:32 +01: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
Paul Davis
94db4624e7 Merge pull request #3949 from novaugust/js-prefixes
`js-` prefix codebase; fix content preview back button
2014-09-03 15:16:30 +01:00
Matt Enlow
891e55c265 Smarter buildAboutPage task
No issue
- Only run the buildAboutPage task if the `-contributors.hbs` template doesn't exist,
- ... or if the `--force` option is supplied on the CLI
- Adds the contributors img dir and the contributors template to `grunt clean:built` task
2014-09-03 08:10:42 -06:00
Hannah Wolfe
67c5eb5a19 Merge pull request #3946 from novaugust/grunt-dev-assets#3942
`grunt dev` runs default task
2014-09-03 14:59:22 +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
Matt Enlow
7ed7c6653b grunt dev calls default task
Closes #3942
2014-09-02 21:14:32 -06:00
Matt Enlow
adb94efe1d Merge pull request #3943 from halfdan/patch-2
Bumping version to 0.5.2-1
2014-09-02 17:16:06 -06: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
Fabian Becker
6a643053e6 Bumping version to 0.5.2-1
no ref
- because Hannah said "someone"
2014-09-02 23:43:31 +02: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
Hannah Wolfe
d4888afddd Merge pull request #3914 from halfdan/3864-db-config
Add alternative names for pg
2014-09-02 16:28:08 +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
Hannah Wolfe
245d859699 Merge pull request #3906 from halfdan/patch-1
Fix regex from #3898
2014-09-01 15:34:42 +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
John O'Nolan
92377321b2 Merge pull request #3905 from PaulAdamDavis/fix-extends
Fix notification styles
2014-09-01 09:36:48 +02: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
19465af6cf Merge pull request #3901 from TryGhost/master-with-ui
Merge Ghost-UI Back into Ghost
2014-08-31 14:33:40 +01: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
Hannah Wolfe
584d4ce60f Merge pull request #2098 from hswolff/remove-file-shims
Remove shim files that were created to address #1873
2014-08-30 14:04:26 +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
Hannah Wolfe
589da7deee Merge pull request #3891 from jaswilli/import-tests
Run import run operations in order.
2014-08-28 18:43:53 +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