Hannah Wolfe
1fbe4d0be7
Merge pull request #2497 from sebgie/issue#2492
...
Fix delete button
2014-03-24 18:47:25 +00:00
Hannah Wolfe
41d127d5b1
Merge pull request #2489 from ErisDS/user-msgs
...
Update some server side errors/warnings
2014-03-24 17:58:11 +00:00
Hannah Wolfe
eb35771bd3
Merge pull request #2495 from halfdan/2478-tag-duplicate
...
Prevent adding duplicate tags with different casing
2014-03-24 17:50:52 +00:00
Hannah Wolfe
bd417339fc
Merge pull request #2494 from halfdan/2493-import-tmp
...
Unlink import file when finished
2014-03-24 16:24:22 +00:00
Sebastian Gierlinger
b83fc25613
Fix delete button
...
closes #2492
- added when.all() to wait until all posts are deleted before deleting
tags
- added a test
2014-03-24 14:49:23 +01:00
Hannah Wolfe
09b8eaf5ad
Merge pull request #2488 from ErisDS/issue-2261
...
Redirect feed -> rss
2014-03-24 13:40:02 +00:00
Hannah Wolfe
ba1c1bd25d
Update some server side errors/warnings
...
issue #2482
- add help messages to all package.json errors/warnings
- change the pageUrl warning to have the correct version numbers
2014-03-24 13:39:44 +00:00
Fabian Becker
1c463f331d
Prevent adding duplicate tags with different casing
...
fixes #2478
- Check for existing tags with different case
2014-03-24 11:43:18 +01:00
Fabian Becker
f0c6052c73
Unlink import file when finished
...
fixes #2493
- Update db import version (in case it doesn't exist)
- Properly unlink file after import or error
2014-03-24 10:51:10 +01:00
Hannah Wolfe
13b65cecb9
Redirect feed -> rss
...
closes #2261
- reserved 'feed' in the list of reserved keywords for slugs
- added a 301 redirect from /feed/ to /rss/
- added a route test, and realised that standard express redirects don't get the right headers
- fixed the headers across all 301 redirects & added tests for the admin redirects
- removed the redirect from /ghost/login/ to /ghost/signin/ as this happens automatically if you're logged out, and isn't very useful if you're logged in as it just redirects again to /ghost/
2014-03-24 09:46:39 +00:00
Hannah Wolfe
ae3c36797a
Merge pull request #2484 from ErisDS/issue-2480
...
Customise slug base name for different models
2014-03-23 21:24:37 +00:00
Hannah Wolfe
eeb6297afe
Merge pull request #2486 from jaswilli/issue-2485
...
Replace spaces in uploaded filenames with hyphens
2014-03-23 21:14:01 +00:00
Jason Williams
f0fedb9c30
Replace spaces in uploaded filenames with hyphens
...
closes #2485
- use hyphens instead of underscores when santising filenames
- updated tests
2014-03-23 20:56:02 +00:00
Hannah Wolfe
a0dff19b7a
Customise slug base name for different models
...
fixes #2480
- when the santisation of a slug results in an empty string, we use a basename instead.
- this was 'post' and is now the table name for the model, minus the trailing 's'
- this isn't massively robust but works as a temporary fix
2014-03-23 18:52:25 +00:00
Hannah Wolfe
f26bb81c66
Merge pull request #2483 from cobbspur/notification
...
clears notifications on clicking featured icon
2014-03-23 17:53:44 +00:00
cobbspur
b1e2904bc1
clears notifications on clicking featured icon
...
closes #2479
- adds a cleareverything command to toggleFeatured in blog.js to stop stacking of notifications on multiple clicks of featured icon
2014-03-23 17:24:27 +00:00
Hannah Wolfe
f981e71e3c
Merge pull request #2469 from ErisDS/error-cleanup
...
logError & logWarn call console.log once
2014-03-23 15:30:41 +00:00
Hannah Wolfe
0bfcac15dd
logError & logWarn call console.log once
...
fixes #2468
2014-03-23 15:20:20 +00:00
Hannah Wolfe
325ddd5a16
Merge pull request #2477 from AgtLucas/toggle-featured-post-prevent-default
...
Adding event preventDefault on toggleFeatured function
2014-03-23 13:51:51 +00:00
Hannah Wolfe
778facde47
Merge pull request #2474 from halfdan/2473-tag-body_class
...
Tag archive body_class
2014-03-23 13:49:40 +00:00
Lucas Churchill
2658ba10ca
Adding event preventDefault on toggleFeatured function
2014-03-23 00:27:53 -03:00
Fabian Becker
5abaabd100
Tag archive body_class
...
closes #2473
- Show tag-template class on tag pages
- Show tag-{{name}} class on tag pages
- Show archive-template only on second page of tag pages
2014-03-22 13:43:13 +00:00
Hannah Wolfe
6d1c1b4f5c
Bump version to 0.4.2-rc1
2014-03-20 19:30:59 +00:00
Hannah Wolfe
10e34936bc
Updating to Casper 0.9.3
2014-03-20 19:23:13 +00:00
Hannah Wolfe
2f159cb7df
Merge pull request #2435 from halfdan/2148-rpc
...
Add XML-RPC ping
2014-03-20 19:14:23 +00:00
Hannah Wolfe
8c43f7ed84
Merge pull request #2150 from halfdan/2149-tag-display
...
Properly display escaped tags in tag editor.
2014-03-20 19:01:47 +00:00
Fabian Becker
9e7469e3ea
Add XML-RPC ping
...
closes #2148
- Added core/server/xmlrpc.js
- Hook into post::saved to ping when a published post gets saved
- Added node package to hook into http requests
2014-03-20 17:53:32 +00:00
Hannah Wolfe
8bca485769
Merge pull request #2384 from ErisDS/showdown-refactor
...
Improving the showdown extensions
2014-03-20 17:48:06 +00:00
Hannah Wolfe
c02fd70c63
Improving the showdown extensions
...
fixes #2381
- renamed the ghost extensions
- added new html tests
2014-03-20 17:08:13 +00:00
Hannah Wolfe
3ad4c27968
Merge pull request #2456 from ErisDS/new-showdown-version
...
Showdown fork now has a version
2014-03-20 17:07:49 +00:00
Hannah Wolfe
762631f590
Showdown fork now has a version
...
fixes #2454
2014-03-20 16:48:13 +00:00
Fabian Becker
87f4092cd7
Properly display escaped tags in editor.
...
fixes #2149 , fixes #2453
- Escape tag before displaying in editor tag widget
2014-03-20 15:49:08 +01:00
Hannah Wolfe
45361e6a8a
Merge pull request #2452 from ErisDS/typography
...
Removing typography extension
2014-03-20 13:36:10 +00:00
Hannah Wolfe
d8f724d94d
Removing typography extension
...
issue #2312
- The typography extension is still interfering in HTML blocks, reference style links and other bits and pieces it probably shouldn't be :(
- We'll add it back when it's ready.
2014-03-20 13:22:28 +00:00
Hannah Wolfe
39957a7a1d
Merge pull request #2451 from ErisDS/showdown-fork
...
Switch Showdown to fork
2014-03-20 12:08:59 +00:00
Hannah Wolfe
51a7c7c00e
Update CONTRIBUTING.md
2014-03-20 11:53:28 +00:00
Hannah Wolfe
1102617768
Update README.md
2014-03-20 11:53:23 +00:00
Hannah Wolfe
6c3c0a5f6c
Switch Showdown to fork
...
fixes #2312
- showdown fork understands more html tags
2014-03-20 11:36:13 +00:00
Hannah Wolfe
ec3aabb384
Merge pull request #2405 from nicksahler/master
...
Fixed modal inconsistent fade problem
2014-03-19 16:15:14 +00:00
nicksahler
fbbac37762
Fixes modal fading inconsistency problem by disabling jQuery's
...
transition and allowing CSS to do its thing
closes #2400
- Removed fadeIn, jQuery's animation
- Added show(), which only manages display, giving transitions to CSS
2014-03-19 08:07:49 -04:00
Hannah Wolfe
4c0d31386d
Merge pull request #2438 from ErisDS/cm-mobile
...
Add shim for codemirror on touchscreens
2014-03-19 09:59:21 +00:00
Hannah Wolfe
5bed81563e
Add shim for codemirror on touchscreens
...
fixes #2385
- stolen the CM shim from js-bin
- if we're on a touchscreen device, don't use CM
- if we're on a touchscreen device, show a coming soon message for uploads
2014-03-19 09:26:45 +00:00
Hannah Wolfe
0221876919
Merge pull request #2437 from ErisDS/cm-scroll
...
Force preview to scroll to the end
2014-03-19 08:24:45 +00:00
Hannah Wolfe
701a9894b5
Merge pull request #2428 from Decad/master
...
Fix scoping issue on signup
2014-03-18 22:24:16 +00:00
Hannah Wolfe
c8dff829ee
Force preview to scroll to the end
...
fixes #958 , fixes #535
- If the cursor is within the last 5 lines, then scroll to the end of the preview window, rather than using a ratio
2014-03-17 23:23:55 +00:00
Hannah Wolfe
c09c196162
Merge pull request #2398 from ErisDS/cm-refactor
...
CodeMirror Refactor & Upgrade
2014-03-17 23:22:30 +00:00
Hannah Wolfe
00667f5bd1
Fix undo bug
...
issue #2436
2014-03-17 23:06:15 +00:00
Hannah Wolfe
6d3cd84309
Upgrade CodeMirror
...
closes #2108
- upgrade to 4.0.1
- requires removing the deprecated setLine method
2014-03-17 23:06:14 +00:00
Hannah Wolfe
80bdfd7967
Refactor the Ghost Editor
...
issue #2385 , issue #2108
- Separate out the various objects which form the editor into their own
modules
- Decouple the modules where possible
- Rename and reshuffle bits of modules for consistency
- Minimise public APIs of the modules, and ensure they are consistent
- Add comments to the modules
2014-03-17 23:06:12 +00:00
Declan Cook
4e5351ced4
Fix scoping issue on signup
...
closes #2429
2014-03-17 15:29:22 +00:00