More promises instead of callbacks.
fix post trashing
oops
FIX: hide/show preview in composer preference is saved in local storage
Merge pull request #828 from ZogStriP/hide-show-preview-in-composer-preference-is-saved-in-local-storage

FIX: hide/show preview in composer preference is saved in local storage
Merge branch 'master' of github.com:discourse/discourse
More promises instead of callbacks.
Thanks JSHINT!
The last of the callback style AJAX have been converted to promises.
Deprecate `success` and `error` in `Discourse.ajax`
Calls to Discourse.ajax no longer need `getURL` -- will be done automatically.
Show empty categories on categories page to people people who can edit and delete categories
Oops, I made a spec fail by refactoring after I made the test pass and didn't check the tests
Add a spec for category list with empty category
Fix regression: default to JSON type on GET requests.
change md route to raw
fix issue adding users to groups
work in progress ... groups
cs translation update
max_upload_size_kb is in "kB" not "kb"