Hannah Wolfe
aa60a6386f
Moving default location of the Database
...
closes #579
- adding a readme to the content/data folder to make sure it is always created
- also fixes a rebasing error
2013-09-12 15:51:55 +01:00
Hannah Wolfe
8c9bcf661f
Merge pull request #707 from sebgie/stable-db-version
...
Remove path from activeTheme
2013-09-12 07:40:37 -07:00
Adam Howard
00199cee67
Refactor the initial boot of Ghost, allowing Ghost updates to keep current configuration intact.
...
Extracts all express-server-related code in index.js to core/server.js, leaving index.js purely for booting up Ghost's core components in a sensible order.
Aside from the project's tidiness, this means that we can perform asynchronous configuration loading/checks before requiring any modules that read the config.
2013-09-12 15:38:11 +01:00
Sebastian Gierlinger
212521712d
Clean up config (drop 'env')
...
closes #628
- removed .env from config.js
- ghost.config() returns correct config for NODE_ENV
- removed .env[process.env.NODE_ENV]
- updated tests
- deleted users.hbs, plugins.hbs, appearance.hbs (forgot to delete in PR #649 )
2013-09-12 15:25:58 +01:00
Hannah Wolfe
cc785cc981
Merge pull request #686 from matthojo/Sign-up-screen-UI
...
Improved Auth screen markup and validation checks
2013-09-12 06:25:27 -07:00
Hannah Wolfe
4cd9f79116
Merge pull request #703 from matthojo/Dashboard-Removal
...
Temporarily removed the Dashboard and all references
2013-09-12 06:19:59 -07:00
Matthew Harrison-Jones
2678de902d
Improved Auth screen markup and validation checks
...
* Signup now focuses on 'name' on load
* Fixed fade in on auth forms to work with `display: table`
* The 'name' field is required on Sign up forms
* The length check on the Signup form is in order of inputs
* Added check for password length
* Changed the auth form class names to better represent individual pages
* Updated CasperJS tests
2013-09-12 09:59:58 +01:00
Sebastian Gierlinger
8d16b20c49
Remove path from activeTheme
...
no issue
- obvious
2013-09-11 19:51:56 +02:00
Sebastian Gierlinger
cfb83d6e40
Fix for image upload with clean database
...
no issue
- reversed workaround for PUT to model
- changed save function for image to unset availableThemes
2013-09-11 16:45:59 +00:00
Hannah Wolfe
eadc8b9371
Fixing minor bug in settings template
2013-09-11 16:27:54 +01:00
Matthew Harrison-Jones
a85e8e1efc
Temporarily removed the Dashboard and all references
...
This also updates the CasperJS to match the new changes.
2013-09-11 15:38:09 +01:00
Hannah Wolfe
f84de01dc0
Merge pull request #698 from skattyadz/issue-642
...
Allow UPPERCASE in tag names
2013-09-11 06:53:24 -07:00
Hannah Wolfe
821106b5f0
Merge pull request #697 from jamesbloomer/619-image-upload-overwrites-existing-images-merge
...
Ensure image uploads do not overwrite if they have the same name
2013-09-11 06:51:55 -07:00
Hannah Wolfe
d89b457257
Merge pull request #693 from gotdibbs/Issue511
...
Remove publish status reversion on failed save
2013-09-11 06:38:37 -07:00
Hannah Wolfe
61444bcf9a
Merge pull request #692 from gotdibbs/Issue352
...
Publish button fixes
2013-09-11 06:37:26 -07:00
Hannah Wolfe
695d2faeaa
Merge pull request #681 from matthojo/Notifications-On-Mobile
...
Improved visibility of notifications on mobile devices
2013-09-11 06:35:51 -07:00
Adam Howard
90549fbb07
Allow UPPERCASE in tag names
...
Fixes #642
Fairly self-explanatory
2013-09-11 00:38:45 +01:00
jamesbloomer
3e28803672
Ensure image uploads do not overwrite if they have the same name
...
closes #619
- check if uploaded image name exists in month/year path
- if unique then save
- if not unique then add -1 to the end of the name eg. image-1.jpg
- if image-1.jpg exists then increment to -2
- keep going until a unique name is found
- uses tail recursion as normal path will be to save the first filename and deep recursion will be the exception
- (the alternative of loading the names of all the files in the directory could result in a large in memory array)
2013-09-10 22:02:28 +01:00
Hannah Wolfe
687d7ed72d
Changing icon setting to cover in defaults
...
issue #571
- forgot to do this
2013-09-10 20:05:35 +01:00
Michael Schmidt-Voigt
4d29a36b75
Add breakpoint to switch to mobile friendly form layout
...
issue #149
- added breakpoint at 550px to change form layout
- labels are on top of form fiels
- form fields change to 100% width
2013-09-10 13:30:06 -03:00
William Dibbern
48a4c30fef
Remove publish status reversion on failed save
...
Fixes #511
- Removed logic to revert publish status back to page default on error.
2013-09-10 09:42:27 -05:00
William Dibbern
2329b34be7
Publish button fixes
...
Fixes #352
- Ensure publish button's default status is set in the `render`
function.
- Ensure publish button's popup arrow has animation reverted when a
status has been selected.
- Bumped up timeout in failing mocha test for exports-002.
2013-09-10 09:32:02 -05:00
Matthew Harrison-Jones
2280276fdd
Removed unused user menu items and linked "Help / Support" to the right place
...
Also updated CasperJS tests to support changes
2013-09-10 15:05:42 +01:00
John O'Nolan
087872484b
Merge pull request #688 from matthojo/Post-Menu
...
Temporarily remove unused Post Menu options
2013-09-10 06:03:05 -07:00
Matthew Harrison-Jones
84c2767da6
Temporarily remove unused Post Menu options
2013-09-10 13:53:01 +01:00
Hannah Wolfe
9d7db3155d
Merge pull request #678 from matthojo/iOS-White-Space-Bug
...
Bug Fix: Fixed extra white space on landscape to portrait orientation change
2013-09-10 02:53:49 -07:00
Matthew Harrison-Jones
0e3cefa770
Bug Fix: Fixed extra white space on landscape to portrait orientation change
...
This breaks focus on focused element to keep layout. This is because the
layout still breaks if an element is focused, and you cannot trigger
the system keyboard through Javascript to refocus an element after.
2013-09-10 10:21:43 +01:00
Hannah Wolfe
773fe0f3d9
Further improvements to markdown implementation
...
closes 644
- replaced showdown's implementation of bold and emphasis with a version close to marked's
- reverted the underscore-in-word handling to only deal with 2 or more underscores & commented the test this causes to fail - this was causing problems with double underscores.
2013-09-09 22:55:32 +01:00
cobbspur
f3d58f5ecb
fixed loading icon bug
...
closes #662
- stops loading cat icon appearing by mistake
2013-09-09 20:18:35 +01:00
John O'Nolan
1d2f6c96d3
New favicon
2013-09-09 20:14:34 +02:00
William Dibbern
9064914829
Added redirect to get rid of /page/1/
...
Fixes #592
- Added *permanent* redirect to ensure `/page/1/` isn't used and that
`/` is used instead.
- Added pageUrl helper (and unit tests) to generate client side url
fragment for blog pages conforming to the above standard.
- Updated pagination helper to use new `pageUrl` theme helper.
- Added functional tests for redirects and added scaffolding for
functional frontend tests in general.
2013-09-09 18:32:44 +01:00
Hannah Wolfe
6417ef778a
Added blog cover image
...
closes #571
- added blog cove beneath logo, wired it up to the {{@blog}} globals
- updated casper
- also deleted settings/content
2013-09-09 18:13:19 +01:00
Hannah Wolfe
0b3f2797e9
Fix for file upload paths on Windows
...
closes #669
- override incorrect path separators with / in the src for an image.
2013-09-09 17:19:58 +01:00
Hannah Wolfe
bbbfed9921
Temporary aliasing on the User model
...
issue #389
- Output only aliases (saving data with these keys won't work) gives us the right names in the theme API
2013-09-09 15:25:20 +01:00
Hannah Wolfe
add7136bd6
Merge pull request #660 from sebgie/issue#626
...
Remove {{nav}} helper
2013-09-09 06:11:06 -07:00
Matthew Harrison-Jones
9d41e23cb0
Improved visibility of notifications on mobile devices
2013-09-09 14:09:34 +01:00
Hannah Wolfe
718c285808
Merge pull request #648 from jfi/iss545
...
Notifications are too long
2013-09-09 04:48:41 -07:00
Hannah Wolfe
d01a4c4662
Merge pull request #665 from JohnONolan/ie
...
Remove detection for IE7 and lower
2013-09-09 04:36:40 -07:00
John O'Nolan
42a011d6a9
Introducing chromeframe, correcting content type meta tag.
2013-09-09 13:03:36 +02:00
Sebastian Gierlinger
1da0a15be2
Remove {{nav}} helper
...
closes #626
- removed nav from config.js
- removed navHelper
- removed navHelper tests
- removed core/server/filters
2013-09-09 13:00:56 +02:00
Hannah Wolfe
a86e6b1a71
Merge pull request #664 from ErisDS/email-template
...
Updating forgotten password email template
2013-09-09 03:59:31 -07:00
John O'Nolan
935afbf873
Remove detection for IE7 and lower
2013-09-09 12:58:48 +02:00
Hannah Wolfe
946544996c
Updating forgotten password email template
...
closes #288
- added sign off using url from config
2013-09-09 11:51:12 +01:00
John O'Nolan
d85ec43fb9
Updated modal styles
2013-09-09 11:20:44 +02:00
Hannah Wolfe
1e90c2dfbf
Merge pull request #661 from JohnONolan/uploader-bugs
...
Added styling enhancements to image uploader
2013-09-09 02:00:50 -07:00
Hannah Wolfe
3f51d51e47
Merge pull request #656 from JohnONolan/signup-screen
...
Signup screen
2013-09-09 01:59:32 -07:00
John O'Nolan
debae0e307
Added styling enhancements to image uploader
2013-09-09 10:33:42 +02:00
Hannah Wolfe
a69cb49105
Merge pull request #649 from sebgie/issue#345
...
Clean up settings/general screen
2013-09-09 01:32:35 -07:00
Hannah Wolfe
4307f48084
Merge pull request #655 from cobbspur/userprofile
...
User Profile Image Upload
2013-09-09 00:59:57 -07:00
John O'Nolan
1e7e6631bd
Added styles for forgotten password screen
2013-09-09 08:58:24 +02:00