Hannah Wolfe
14940cc397
Merge pull request #1586 from jgillich/live-reloading
...
Permalinks live reloading support
2013-11-30 10:03:15 -08:00
Hannah Wolfe
41c58cd5eb
Merge pull request #1590 from halfdan/1333-pg-travis
...
Remove direct pg dependency
2013-11-29 08:04:18 -08:00
Fabian Becker
a4434fd39a
Remove direct pg dependency
...
refs #1333
- Adjust Travis build to install pg
- Remove pg from package.json
2013-11-29 00:58:24 +00:00
Jakob Gillich
30861fbab8
Permalinks live reloading support
...
issue #1395
2013-11-28 21:24:31 +01:00
John O'Nolan
e4a5356a69
Merge pull request #1587 from ErisDS/tag-css
...
Scoping tag styling to the tag control
2013-11-28 11:41:01 -08:00
Hannah Wolfe
505b6d0d6f
Scoping tag styling to the tag control
...
fixes #1309
2013-11-28 19:09:25 +00:00
Hannah Wolfe
dedc5d9239
Update activeTheme path on theme switch
...
fixes #1583
- the active theme path wasn't getting updated when we were switching theme
2013-11-28 16:10:34 +00:00
Hannah Wolfe
0582470682
Updating to the latest casper
...
issue TryGhost/Ghost#1577
- adding asset helper for subdirectory support
2013-11-28 15:22:18 +00:00
Hannah Wolfe
7fb45522e0
Merge pull request #1580 from hswolff/death-to-ghost-singleton
...
Move further away from the ghost singleton object
2013-11-28 06:42:37 -08:00
Harry Wolff
37b2fd93d8
This commit removes a lot of code from ghost.js, including:
...
Move helper functions registerThemeHelper and registerAsyncThemeHelper
to the helpers module.
Also update the app proxy object to reflect this new code location,
and the tests to reflect that as well
Create ./sore/server/filters which houses all filter related behavior.
Was previously on the ghost singleton.
Also create the filters_spec file for testing
and update all code and tests to use new code location.
Create ./sore/server/helpers/template which houses all template related behavior.
Was previously on the ghost singleton.
Also create the helpers_template_spec file for testing
and update all code and tests to use new code location.
Move ghost.mail instance onto the mail module directly
and update related code and tests to use new location
Move Polyglot instance onto require module directly
Move ghost.availablePlugins to plugins module directly
2013-11-28 09:21:53 -05:00
Hannah Wolfe
16c33ac732
Merge pull request #1225 from enahs/patch-1
2013-11-28 14:02:03 +00:00
enahs
dddf2ec5b2
More verbose error message for invalid JSON in config.js
...
if you enter an invalid json object such as:
```
{
server: "http://foo.com "
host: "0.0.0.0"
}
```
while configuring, you get errors but are still able to run forever and the message previously was not as indicative of other potential configuration problems.
2013-11-28 13:58:28 +00:00
Hannah Wolfe
12c7f30076
Merge pull request #1110 from rektide/feature-config-arg-rebased
2013-11-28 13:48:34 +00:00
rektide
42dc8b4a8f
Accept a config filename as an optional parameter to Ghost start-up.
...
Closes #1110 .
- Promotes config-loader from a validator, to the central place where configuration state is held
- Allow config-loader two means to be told of config file to be used:
- A preferred first argument passed into Ghost
- A secondary GHOST_CONFIG environmental variable
- Failing to see either of the above passed in, config-loader will continue to use "config.js"
- Config-loader validates the target configuration (unchanged) & then copies that object into it's own exports
- Components needing to read configuration now require config-loader to retrieve the configuration state
- Config file continues to be loaded via require(): this is assumed to be a static json file
2013-11-28 13:47:00 +00:00
Hannah Wolfe
7b2bf5b98c
Merge pull request #1577 from halfdan/527-subdir-admin
...
Fix Admin interface with sub directories
2013-11-28 05:14:23 -08:00
Hannah Wolfe
6bb92b4394
Swapping url.resolve back out
2013-11-28 13:03:05 +00:00
Hannah Wolfe
050466e23c
Improvements to date handling in post settings menu
...
issue #1350 , #1351
- make sure we don't fire save if the date hasn't changed - and removes a few errors
2013-11-28 12:37:34 +00:00
Hannah Wolfe
2dd1f4a635
Test bug fix
...
- test should use testing config, not development config. If you run the tests whilst also running the dev server, the tests fail.
2013-11-28 12:33:02 +00:00
Hannah Wolfe
76f3730427
Bug fixes for paths / windows & tests
...
- removed path.join used for urls
- made sure async tests fail/timeout correctly
2013-11-28 11:21:49 +00:00
Hannah Wolfe
01736359ad
Content pane update for static pages
...
fixes #1350
- no concept of published page
2013-11-28 10:48:50 +00:00
Hannah Wolfe
6c5b687f13
Merge pull request #1410 from schmanu/iss1368
...
Added new notification message on updating a post.
2013-11-27 15:01:03 -08:00
Hannah Wolfe
5566840d82
Merge pull request #1569 from hswolff/ghost-module-support
2013-11-27 21:49:30 +00:00
Harry Wolff
89154ad997
Restore support for using ghost as a npm module fixes #1326
2013-11-27 17:39:14 +00:00
Hannah Wolfe
8a55d60c2d
Merge pull request #1579 from ErisDS/master-fix
...
Removing error handling using process.stderr
2013-11-27 09:22:49 -08:00
Hannah Wolfe
84ce7cc77e
Removing error handling using process.stderr
...
- process.stdin/out/error is problematic, see https://github.com/joyent/node/issues/3584
2013-11-27 16:06:56 +00:00
Hannah Wolfe
5601594d3e
Merge pull request #1573 from halfdan/1333-pg
...
Update Knex/Bookshelf, Fix Postgres Build
2013-11-27 02:26:17 -08:00
Micheil Smith
3167a9b52c
Fix several redirects in frontend and admin
...
refs #527
2013-11-27 09:57:44 +00:00
Fabian Becker
dcd3b192c1
Subdir support for admin interface
...
refs #527
2013-11-27 09:57:38 +00:00
Tim Griesser
726014f59a
bumping to knex 0.5 and bookshelf 0.6.1
2013-11-26 23:10:31 +00:00
Fabian Becker
0169f47752
Fix failing migration.reset for Postgres.
...
refs #1333
2013-11-26 23:10:31 +00:00
Hannah Wolfe
a193779a73
Merge pull request #1570 from sebgie/issue#1437
...
Remove cookie from Frontend
2013-11-26 14:49:09 -08:00
Sebastian Gierlinger
e95b592028
Remove cookie from Frontend
...
closes #1437
closes #1472
- changed cookie to path:'/ghost'
- added conditional CSRF middleware
- added redirects for signup, signin, signout to /ghost/sign*/
2013-11-26 10:38:54 +01:00
Manuel Gellfart
28c3c5670c
Restructure error and success messages for the editor.
...
closes #1368
- merged the Maps for Error/Notification Messages into one JSON-structure
- this structure is more translation-friendly and influenced by I18n-standards.
Merged the Error and Message Map into one structure
The new JSON-structure is more translation friendly and similiar to i18n.
2013-11-26 01:00:46 +01:00
Hannah Wolfe
cf4fdb3a49
Merge pull request #1555 from halfdan/1333-allowed-failure
...
Add postgres build and allow it to fail.
2013-11-25 14:04:41 -08:00
Hannah Wolfe
330722efdc
Merge pull request #1535 from hswolff/create-config-module
...
Create config module to standardise getting paths and abs URLs
2013-11-25 14:03:29 -08:00
Hannah Wolfe
b7a8ea5945
Merge pull request #1565 from ErisDS/redirect-fixes
...
Putting back relative redirects
2013-11-25 13:57:07 -08:00
Harry Wolff
b920662790
Create the config module, initially used
...
to standardise getting paths and absolute URLs. Easy
to extend for other configurations we may need.
2013-11-25 16:35:16 -05:00
Hannah Wolfe
4730ff78e2
Merge pull request #1557 from alicoding/issue1556
...
Issue #1556 - Fix meta_title is undefined
2013-11-25 13:31:34 -08:00
Hannah Wolfe
5ad2d6178b
Putting back relative redirects
...
issue #1523
- also added some comments to indicate the difference between the two custom middleware files.
2013-11-25 21:00:27 +00:00
Hannah Wolfe
71ddd73a00
Merge pull request #1559 from sebgie/failing-tests
...
Fix failing casper tests
2013-11-25 12:50:39 -08:00
Sebastian Gierlinger
3627d48445
Fix failing casper tests
...
no issue
- spam test: changed waitForSelector to waitForText
- feature test: changed waitForRessource to watiForSelector
2013-11-25 16:03:54 +01:00
ali
7946431b8d
Issue #1556 - Fix meta_title is undefined
...
Closes #1556 and #1530
This should also fix meta_description in #1530 as well as the other bug that is not
filed for body_class
2013-11-25 13:47:56 +00:00
Fabian Becker
3cb80a2ed9
Add postgres build and allow it to fail.
...
refs #1333
2013-11-25 00:41:40 +00:00
Hannah Wolfe
727b845254
Merge pull request #1523 from halfdan/527-subdir-support
2013-11-24 21:20:24 +00:00
Fabian Becker
e210e75e97
Install in sub-directory support.
...
refs #527
2013-11-24 21:11:34 +00:00
Hannah Wolfe
53af625c49
Merge pull request #1247 from sebgie/bookshelf-session
...
Replace cookieSession with session
2013-11-24 10:43:26 -08:00
Hannah Wolfe
d6aa1df49d
Merge pull request #1548 from bastilian/improve_image_uploader_ui
...
Improve image uploader UI
2013-11-24 10:07:38 -08:00
Hannah Wolfe
fd3010b07c
Merge pull request #1552 from bastilian/markdown-underscores
...
Modified ghostdown markdown extension to allow for 4+ inline underscores
2013-11-24 09:48:47 -08:00
Daniel Hanson
03be4abaaa
Modified ghostdown markdown extension to allow for 4+ inline underscores
...
See #1113
- added additional regex rule to replace 4+ underscores with their coded equivalent: _
2013-11-24 17:39:01 +01:00
Sebastian Gräßl
038e0cf3c1
add test for allowing 4 underscores in markdown
2013-11-24 17:38:12 +01:00