Hannah Wolfe
2e848c0fb8
Merge branch 'master' into ember
...
Conflicts:
.gitignore
.npmignore
Gemfile.lock
Gruntfile.js
bower.json
core/clientold/assets/fonts/icons.dev.svg
core/clientold/assets/fonts/icons.eot
core/clientold/assets/fonts/icons.svg
core/clientold/assets/fonts/icons.ttf
core/clientold/assets/fonts/icons.woff
core/clientold/assets/sass/ie.scss
core/clientold/assets/sass/layouts/auth.scss
core/clientold/assets/sass/layouts/editor.scss
core/clientold/assets/sass/layouts/errors.scss
core/clientold/assets/sass/layouts/manage.scss
core/clientold/assets/sass/layouts/plugins.scss
core/clientold/assets/sass/layouts/settings.scss
core/clientold/assets/sass/layouts/users.scss
core/clientold/assets/sass/modules/animations.scss
core/clientold/assets/sass/modules/breakpoint.scss
core/clientold/assets/sass/modules/breakpoint/_context.scss
core/clientold/assets/sass/modules/breakpoint/_helpers.scss
core/clientold/assets/sass/modules/breakpoint/_no-query.scss
core/clientold/assets/sass/modules/breakpoint/_parsers.scss
core/clientold/assets/sass/modules/breakpoint/_respond-to.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_double.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_query.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_resolution.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_single.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_triple.scss
core/clientold/assets/sass/modules/breakpoint/parsers/double/_default-pair.scss
core/clientold/assets/sass/modules/breakpoint/parsers/double/_default.scss
core/clientold/assets/sass/modules/breakpoint/parsers/double/_double-string.scss
core/clientold/assets/sass/modules/breakpoint/parsers/resolution/_resolution.scss
core/clientold/assets/sass/modules/breakpoint/parsers/single/_default.scss
core/clientold/assets/sass/modules/breakpoint/parsers/triple/_default.scss
core/clientold/assets/sass/modules/forms.scss
core/clientold/assets/sass/modules/global.scss
core/clientold/assets/sass/modules/icons.scss
core/clientold/assets/sass/modules/mixins.scss
core/clientold/assets/sass/modules/normalize.scss
core/clientold/assets/sass/screen.scss
2014-03-09 23:04:36 +00:00
Fabian Becker
e8d4019a4d
Replace SASS with assets from Ghost-UI
...
closes #2368
- Remove Ruby dependency (Gemfiles)
- Remove sass/fonts from core/client/assets/
- Add copy task to Gruntfile to copy over ghost-ui assets
- Install Ghost-UI via bower
- Changed .npmignore/.gitignore
- Remove grunt-contrib-sass dependency
- Remove mentions of Ruby in CONTRIBUTING.md
2014-03-09 22:50:37 +01:00
Erik Bryn
152ab286b5
Specify itemView
on the each
helper rather than nesting a view
helper.
...
This avoids the creation of two views per row, which will make a big difference for large blogs.
2014-03-09 14:20:15 -07:00
Manuel Mitasch
275f623278
Amend fixtures & put body classes in styleBody mixin
...
- Change fixture response of posts route to actual format.
- Extracted classNames logic of routes into style-body mixin.
- Additionally replaced all double-quotes with single-quotes for style conformance.
2014-03-09 15:30:54 +00:00
Taras Mankovski
01b49fede8
Minor refactoring of the routers:
...
- Moved post route under posts resource
- Changed ajax to use ic.ajax.request instead of ic.ajax.raw
2014-03-07 14:01:27 +00:00
Manuel Mitasch
a9a69fa441
Add admin prototype
...
issue #2270
- from https://github.com/manuelmitasch/ghost-admin-ember-demo
- Not working properly: added ic-ajax mock in app.js but promise not resolving => loading route always active
2014-03-07 14:01:26 +00:00
Hannah Wolfe
5f54fa8d1c
Adding missing loader.js
2014-03-07 10:14:40 +00:00
Hannah Wolfe
4db72aed7e
Merge branch 'master' into ember
...
Conflicts:
.gitignore
Gruntfile.js
bower.json
core/client/assets/lib/showdown/extensions/ghostdown.js
core/client/assets/vendor/showdown/extensions/ghostdown.js
core/client/router.js
core/clientold/assets/vendor/chart.min.js
core/clientold/assets/vendor/codemirror/addon/mode/overlay.js
core/clientold/assets/vendor/codemirror/codemirror.js
core/clientold/assets/vendor/codemirror/mode/gfm/gfm.js
core/clientold/assets/vendor/codemirror/mode/gfm/index.html
core/clientold/assets/vendor/codemirror/mode/gfm/test.js
core/clientold/assets/vendor/codemirror/mode/markdown/index.html
core/clientold/assets/vendor/codemirror/mode/markdown/markdown.js
core/clientold/assets/vendor/codemirror/mode/markdown/test.js
core/clientold/assets/vendor/countable.js
core/clientold/assets/vendor/fastclick.js
core/clientold/assets/vendor/icheck/jquery.icheck.min.js
core/clientold/assets/vendor/jquery.hammer.min.js
core/clientold/assets/vendor/nprogress.js
core/clientold/assets/vendor/packery.pkgd.min.js
core/clientold/assets/vendor/showdown/extensions/ghostdown.js
core/clientold/assets/vendor/showdown/showdown.js
core/clientold/assets/vendor/validator-client.js
core/test/unit/client_ghostdown_spec.js
core/test/unit/client_showdown_int_spec.js
2014-03-05 23:10:44 +00:00
Fabian Becker
4b562c2762
Remove unused libraries.
...
refs #2326
- Remove unused libraries from core/client/assets/vendor/
- Add folder to .gitignore
- bower install is now handled by grunt init
2014-03-05 10:20:56 +00:00
Jonathan Johnson
97dce96fa1
Update validator to 3.4.0
...
Closes #1379
- Convert to new api usage for both server-side and client-side
- Provide way require a negative response for boolean methods in
default-settings.json
- Add field validation functional tests
- Settings (General)
- Title length validation
- Description length validation
- postsPerPage, numeric, min, max
- Settings (User)
- Bio Length validation
- Location length validation
- Url validation
- Login
- Email validation
- Editor
- Title required validation
2014-03-04 13:54:24 -07:00
Hannah Wolfe
a17067d8e6
Merge pull request #2294 from shashankmehta/apps-config
...
Shifts app UI behind config option
2014-03-04 20:21:13 +00:00
Fabian Becker
aaedc4db4d
Switch to bower for client assets.
...
fixes #2272
- Remove libraries from shared/vendor
- Remove libraries from client/assets/vendor
- Add bower to package.json and postinstall
- Add bower.json with dependencies
- Add scripts from bower_components to concat/uglify
- Fix tests
- Serve jquery from /ghost/built/theme/
2014-03-04 20:09:26 +00:00
Fabian Becker
f0c6aec36d
Replace JSLint with JSHint.
...
closes #2277
- Added ES6 linting to core/client/
- Fix typeof array comparison
2014-03-04 15:47:39 +00:00
Shashank Mehta
48b5c20989
Shifts app UI behind config option
...
Closes #2287
- adds helper for checking whether to show apps UI or not
- hides app UI from settings page
2014-03-03 02:52:30 +05:30
Shashank Mehta
f34ea3bc0a
Prevent settings page from rendering same page twice
...
Closes #2316
- There was a check to prevent rerendering of same content pane but it wasn't working
- Fixed the check for this
2014-03-03 02:30:09 +05:30
Sean Hellwig
43a1747f52
Add plugin icons to Apps menu item in Ghost settings
...
closes #2290
- added css entry in settings.scss for to display plugin icon for apps menu item
- remove unused css entry for .plugins in settings.scss
2014-03-01 01:13:19 -08:00
Gabor Javorszky
8b00f94c9d
Implements Initial lifecycle and App UI start
...
Closes #2083
* Added hbs template for apps listing
* Added settings to read the activeApps
* Added viewcontrol to activate / deactivate apps
* Added API handler to store activeApps (by `name` in the `package.json` file)
* On button click it turns the button into "Working" and changes class to `button` (grey one)
* On success, rerenders the pane, adds success notification about apps being saved
* On error, rerenders the pane, adds error notification with error message
Missing:
* tests: couldn't figure out how to add mock apps with mock package.json data
* actually registering, etc, re #2140
* icon from the sidebar
2014-02-28 14:06:36 +00:00
Hannah Wolfe
0575ed5a3c
Merge pull request #2256 from caerphoto/1795-typography
...
Add support for typographically-correct punctuation
2014-02-28 10:49:06 +00:00
Andy
75812b332f
Add support for typographically-correct punctuation
...
Closes #1795
- Added typography.js Showdown extension
- Updated RSS test to support new typographic quotes
2014-02-28 09:44:08 +00:00
Hannah Wolfe
0a03dbb65b
Merge pull request #2246 from knunery/issue#1432
...
Fixes client side bio character counter.
2014-02-27 16:02:13 +00:00
Taras Mankovski
988a127a3e
Added directory structure
2014-02-27 07:20:30 -05:00
Harry Wolff
d456281668
Move Ember Admin to use es6 modules
...
- adds required dependencies to package.json
and to bower.json
- added required Grunt tasks to transpile and
concat ember admin files
2014-02-26 23:48:54 -05:00
Harry Wolff
8b91492830
Add basic template for Ghost admin in Ember
...
Inspired and derived from:
https://github.com/taras/Ghost/compare/ember-admin
https://github.com/manuelmitasch/ghost-admin-ember-demo
https://github.com/stefanpenner/ember-app-kit
2014-02-26 20:39:45 -05:00
Hannah Wolfe
3c25d4aaed
Rename client -> clientold
...
issue #2271
- should allow development of new admin UI whilst still having access to the old ui
2014-02-27 00:52:04 +00:00
Hannah Wolfe
1c78f03121
Renamed client-side admin url helper
...
fixes #2254
- includes test
2014-02-25 06:44:06 +00:00
Kyle Nunery
3ef415a3a4
Fixes client side bio character counter.
...
closes #1432
2014-02-23 16:16:45 -06:00
Brad Dougherty
ce787c6ecf
Update delete all content button labels
...
issue #2027
2014-02-22 14:13:51 -05:00
Brad Dougherty
197b479394
Update delete post button labels
...
Closes #2027
2014-02-22 12:09:53 -05:00
Kyle Nunery
491bb9a491
Updated pageUrl helper to page_url
...
issue #2216
2014-02-20 15:29:14 -06:00
Paul Adam Davis
c952b50586
Fix Firefox <select> height issue
...
closes #1109
- Use moz-specific selector to make <select> elements use auto height
2014-02-20 12:16:43 +00:00
Sam Saccone
7ff076c054
abstract mobile interactions js
...
DRY up repeated code and simplify logic.
2014-02-19 15:52:37 -05:00
Sebastian Gierlinger
5f28ea1bae
Improvements for models
...
#closes #1655
- removed models as parameter for bookshelf-session
- changed to read permittedAttributes from schema.js
- changed updateTags to be executed at saved event
- added validate to execute after saving event
- added test for published_at = null (see #2015 )
- fixed typo in general.hbs
2014-02-19 14:57:26 +01:00
Paul Adam Davis
9af1ecfc47
Fix input:focus border issues from #2088
2014-02-18 16:59:01 +00:00
Gabor Javorszky
fa70603332
Added package.js support for themes (and plugins)
...
Closes #2081
* Amended require-tree to populate availableThemes and availablePlugins to use full file names (`basename.ext`) as keys instead of just basename. This way `image.jpg`, `image.png`, `image.gif` won't overwrite the `image` key.
* Amended require-tree to allow package.json file parsing to return the contents of the file as json on the `package.json` key.
* settings api populates theme data `package` if it exists. Otherwise it assigns `false` to it
* `general.hbs` (salute) was reworked to if there is the package key on the theme is not false, it will use the `name` and `version` keys of that. You can break it by not having a `name` or `version` in the package.json file.
* Added error and warning messages for package.json file parse errors and misses
2014-02-13 23:57:58 +00:00
Hannah Wolfe
ed4a330778
Merge pull request #2147 from gmurphey/master
...
Tweaking slug logic in post settings.
2014-02-08 22:13:03 +00:00
Hannah Wolfe
7151692c67
Merge pull request #2097 from zacgeis/publishbutton-fix
...
Disable publish button until deffered is resolved
2014-02-08 15:28:13 +00:00
Garrett Murphey
0b96023872
Tweaking slug logic in post settings.
...
Closes #2136 .
- sets slug to placeholder text if slug is blank
2014-02-07 21:59:33 -05:00
Xie JinBin
95b17d9862
Tag needs escaping. Wrongly call showSuggestions.
...
close #2087 , fix #2089
- escape tag.
- do not call showSuggestions when key is UP/DOWN. or the selected tag will
always be clear.
2014-02-04 23:31:50 +08:00
Zach Geis
30cbfa6382
Disable publish button until deffered is resolved
...
closes #2040
- save post disables the publish button
- publish button remains disabled until deffered object is resolved
2014-02-01 16:38:40 -06:00
John O'Nolan
fa06893d81
Override border on login input:focus
...
Fixes #2088
2014-01-31 18:30:14 +07:00
John O'Nolan
c99d2decc9
Spit & Polish
2014-01-30 23:53:07 +07:00
Hannah Wolfe
95dfe881df
Merge branch '0.4-maintenance'
2014-01-30 13:17:58 +00:00
Hannah Wolfe
b434a04016
Post settings published_at date improvements & fixes
...
closes #1866 , fixes #2067 , fixes #2068
- Upgrade client side moment to 2.4.0 to match the server side script.
- Add a guard to pub date to fix #2067
- Add new format to close #1866
2014-01-29 22:33:43 +00:00
Hannah Wolfe
5db46c7754
Merge branch '0.4-maintenance'
2014-01-28 09:25:38 +00:00
John O'Nolan
ea11a7d9af
Hide extra space taken up by update notification
...
See #1995
2014-01-28 09:07:36 +00:00
Hannah Wolfe
6052e59e09
Merge pull request #2020 from redwallhp/master
...
Minor code cleanup of editor keyboard shortcut actions.
2014-01-27 14:36:20 -08:00
Hannah Wolfe
810f97eaf8
Merge pull request #1972 from jgillich/character-limit
...
Show character limit below blog description textarea
2014-01-27 14:32:52 -08:00
Paul Adam Davis
223b23ec4a
Move styling from some elements from IDs to classes
...
Closes #1605
* Move styling for `#signup`, `#forgotten`, `#reset`, `#login`, `#usermenu` and `#notifications` to classes
No IDs have been added or removed, so any events shouldn't be affected and it passes all tests.
2014-01-27 21:50:19 +00:00
Mikkel Hoegh
1a4c13a63f
Refactor click handlers on upload button.
...
closes #2028
- Instead of binding and unbinding the click event, bind the data to the
outer scope so we can use a standard click handler.
- Use removeProp instead of setting the property to false when enabling.
- Use the `disabled` as value when disabling.
2014-01-27 21:35:24 +00:00
Hannah Wolfe
288b09b280
Merge pull request #2049 from javorszky/iss-1841
...
Guard against multiple signup events
2014-01-27 13:33:55 -08:00