Hannah Wolfe
c4bf3052e1
Merge pull request #2292 from jgable/requireTree
...
Refactor require-tree to not share messages and export parsePackageJson
2014-03-04 12:20:32 +00:00
Hannah Wolfe
13fa84a8bf
Merge pull request #2317 from shashankmehta/settings-rendering-issue
...
Prevent settings page from rendering same page twice
2014-03-04 12:06:25 +00:00
Johan Stenehall
825ba4fb82
Use tag as title on tag pages
...
closes #2328
- added check for tag in coreHelpers.meta_title and use if set
- added test for correct title on tag pages
Rewritting to tag - blogtitle based on comments from PR
2014-03-04 11:52:27 +01:00
polygonix
97daa2bdec
Detect tag.hbs template in themes
...
closes #2320
- changed detection from "tag" to "tag.hbs" in "frontend.js" contrroller
2014-03-03 16:41:37 +11:00
Shashank Mehta
a92c8085c5
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
ab2656960a
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
Johan Stenehall
be8b9cf092
Fixing typo in allowedSections for allowed pages under settings
2014-03-02 12:46:03 +01:00
Sean Hellwig
561ea0edbb
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
Hannah Wolfe
708ba6f8b0
Merge pull request #2220 from sebgie/issue#1401
...
Add validation from schema.js
2014-02-28 23:04:04 +00:00
Sebastian Gierlinger
7155d95f9d
Add JSON API tests & cleanup
...
first 10 % of #2124
- added initial version of JSON API tests
- renamed error.errorCode to error.code
- renamed tags.all to tags.browse for consistency
2014-02-28 22:26:03 +00:00
Hannah Wolfe
d996ff68e7
Merge pull request #2284 from sebgie/issue#1654
...
Remove res.redirect from db.exportContent
2014-02-28 21:30:58 +00:00
Hannah Wolfe
028d396185
Merge pull request #2266 from sebgie/issue#2244
...
Fix problems from importing 0.4.0 file
2014-02-28 21:20:42 +00:00
Jacob Gable
b4ea8bed61
Refactor require-tree to not share messages
...
- Pass in messages to each method so they are not shared
- Export each method for calling individually
- Update reference to default export of require-tree
- Add default values for messages if not passed in
2014-02-28 14:13:45 -06:00
Hannah Wolfe
ea7385abbc
Merge pull request #2243 from hswolff/custom-page-templates
...
Custom Page Templates
2014-02-28 19:58:35 +00:00
Gabor Javorszky
667888aeb3
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
c64148f361
Merge pull request #2256 from caerphoto/1795-typography
...
Add support for typographically-correct punctuation
2014-02-28 10:49:06 +00:00
Andy
b49f10c33d
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
36102d4f9f
Merge pull request #2246 from knunery/issue#1432
...
Fixes client side bio character counter.
2014-02-27 16:02:13 +00:00
Hannah Wolfe
895180fbf0
Merge pull request #2252 from jondavidjohn/from-address-default
...
Change fallback from address to webmaster@[blog.url]
2014-02-27 15:56:46 +00:00
Sebastian Gierlinger
67611045e7
Remove res.redirect from db.exportContent
...
closes #1654
- added frontend route /ghost/export/
- removed request handling from API
2014-02-27 16:48:38 +01:00
Taras Mankovski
da396bd89c
Added directory structure
2014-02-27 07:20:30 -05:00
Fabian Becker
12f8f99088
Implements the #has Block helper
...
closes #2115
- Added new #has block helper
- Added several tests for #has helper
2014-02-27 11:16:21 +00:00
Harry Wolff
4334c3deb6
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
2295c9470b
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
Harry Wolff
edfc98f65f
Create base route for ember admin
2014-02-26 20:02:12 -05:00
Hannah Wolfe
bee58922b2
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
Sebastian Gierlinger
ae06239834
Fix problems from importing 0.4.0 file
...
fixes #2244
- added mysql ‚true’/‚false‘ values as ‚0‘/‚1‘
- removed all core settings from import
2014-02-25 20:15:32 +01:00
Hannah Wolfe
310fcab7ed
Cleanup naming & order in admin controller
...
no issue
There seemed to be no convention or order to the functions in the admin controller, so I have:
- organised them
- reordered them
- added a small doc-block
- reordered some routes
- updated tests accordingly
2014-02-25 10:51:12 +00:00
Hannah Wolfe
aa15b464c8
/ghost/reset/* should not redirect to signin
...
fixes #2257
2014-02-25 10:44:16 +00:00
Hannah Wolfe
ccaceb7310
Renamed client-side admin url helper
...
fixes #2254
- includes test
2014-02-25 06:44:06 +00:00
Jonathan Johnson
917eca3244
Change fallback from address to webmaster@[blog.url]
...
This change is needed because the previous default of the user's email
address is too often mismatched against the site domain, triggering spam filters.
Fixes #2145
- added `fromAddress()` to GhostMailer to handle this logic
- added unit tests to `mail_spec.js`
2014-02-24 20:28:37 -07:00
Hannah Wolfe
2246b8a803
Cleaning up unused blocks
2014-02-24 17:43:24 +00:00
Hannah Wolfe
f1ecfbb491
Fixing config unit test for Windows
2014-02-24 16:39:07 +00:00
Kyle Nunery
6e1d5e8e0d
Fixes client side bio character counter.
...
closes #1432
2014-02-23 16:16:45 -06:00
Harry Wolff
2cb02b55e1
Custom Page Templates
...
fixes #1969
- creates new ./server/helpers/tempalte.js method
which returns the correct view to use when rendering
- updates fronted controller to check if a custom page template
exists and if so then uses that to render the static page
- adds additional class name to body_class helper when
a custom page template is being rendered
- adds tests to address all new features
2014-02-22 21:17:02 -05:00
Brad Dougherty
64840cf042
Update delete all content button labels
...
issue #2027
2014-02-22 14:13:51 -05:00
Brad Dougherty
ccc499f0e2
Update delete post button labels
...
Closes #2027
2014-02-22 12:09:53 -05:00
Sebastian Gierlinger
b1c35a9b6c
Fix importer adds the same tags to every post
...
fixes #2234
- updateTags used tags that were overwritten by an async operation
2014-02-21 22:54:56 +01:00
Kyle Nunery
89cd1a3640
Updated pageUrl helper to page_url
...
issue #2216
2014-02-20 15:29:14 -06:00
Hannah Wolfe
7c2fd9fde8
Merge pull request #2228 from PaulAdamDavis/master
...
Fix Firefox <select> height issue
2014-02-20 19:17:58 +00:00
Hannah Wolfe
23bc9413e6
Merge pull request #2224 from mjbshaw/useless-regex
...
Remove useless regex for redirecting /ghost -> /ghost/
2014-02-20 18:51:28 +00:00
Hannah Wolfe
f2d2757a31
Merge pull request #2223 from mjbshaw/fix-subdir
...
Respect subdirectory in authenticate middleware
2014-02-20 18:51:11 +00:00
Michael Bradshaw
b410f5833b
Respect subdirectory in authenticate middleware
2014-02-20 09:46:20 -07:00
Paul Adam Davis
2581fb1822
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
Michael Bradshaw
cb6d0d8dfe
Remove useless regex for redirecting /ghost -> /ghost/
2014-02-19 18:19:42 -07:00
Hannah Wolfe
a791db1779
Merge pull request #2221 from samccone/sjs/clean-up-mobile-actions
...
abstract mobile interactions js
2014-02-19 21:14:27 +00:00
Hannah Wolfe
bee5bde491
Merge pull request #2071 from samccone/sjs/show-error-on-import-failure
...
Show parse error message during a failed import
2014-02-19 20:56:01 +00:00
Sam Saccone
43dc4da7e2
abstract mobile interactions js
...
DRY up repeated code and simplify logic.
2014-02-19 15:52:37 -05:00
Hannah Wolfe
6af7d8fa3f
Merge pull request #2205 from ErisDS/theme-debug
...
A first step towards theme debugging
2014-02-19 18:49:50 +00:00
Sebastian Gierlinger
ac7f4f05c4
Add validation from schema.js
...
closes #1401
- added data/validation/index.js
- added generic validation for length
- added generic validation for nullable
- added validations object to schema.js for custom validation
- removed pyramid of doom from api/db.js
2014-02-19 18:32:23 +01:00