Fabian Becker
b7be4adede
Change HTML email link to hide token
...
closes #3305
- Hide token in HTML email
2014-09-20 11:08:27 +00:00
Hannah Wolfe
a3093b9b42
Merge pull request #4075 from jaswilli/morgan
...
Adjust morgan call to avoid deprecation warning
2014-09-19 20:39:05 +01:00
Fabian Becker
3e6d11e8fa
Fix ghost-ui reference
...
fixes #4072
- Correct reference to ghost.min.css
2014-09-19 18:31:21 +00:00
Jason Williams
12957b1918
Adjust morgan call to avoid deprecation warning
...
No Issue
- Change the invocation of the morgan logging package to
conform to the new function signature introduced in
morgan 1.2.0.
2014-09-19 16:31:22 +00:00
Hannah Wolfe
5cdb6510ae
Merge pull request #4065 from jaswilli/transition
...
Prevent transition to signup on invalid invitation
2014-09-19 17:17:13 +01:00
Hannah Wolfe
cb9d9b748a
Merge pull request #4062 from halfdan/4059-skip-not-found
...
Ignore unknown setting keys on import
2014-09-19 16:54:35 +01:00
Fabian Becker
0efb449103
Delay updateCheck to +24h on error
...
fixes #4036
- delay update check by 24h when an error happens
- set connection timeout to 10 seconds
2014-09-19 17:10:30 +02:00
Fabian Becker
9394fad6aa
Have /ghost use its own express instance
...
closes #1961
- Refactor admin to use its own express instance
- Refactor middlewares to work with /ghost mounted admin express instance
2014-09-19 08:57:13 +00:00
Jason Williams
63546be1eb
Prevent transition to signup on invalid invitation
...
Refs #3876
- Prevent signup page from flashing when an invalid invitation
token is used.
- Clear sensitive information from signup controller.
- Make isInvitation API behavior consistent with other auth
related APIs.
2014-09-19 04:52:45 +00:00
Matt Enlow
9fb038f8d3
Merge branch 'pr/3876'
...
* pr/3876:
Redirect user if signup invitation isn't valid
2014-09-18 19:22:39 -06:00
Felix Rieseberg
b1c1b03015
Redirect user if signup invitation isn't valid
...
Closes #3565
- Added server API isInvitation (analog to isSetup), checking if an
invitation exists for a given email address.
- If the invitation is no longer valid (or didn’t exist in the first
place), the user is redirected and an error notification is shown.
2014-09-18 19:11:40 -06:00
Matt Enlow
a4de40abc6
Merge pull request #3976 from halfdan/1889-generate-slug
...
Cleanup reserved words in generateSlug
2014-09-18 18:54:48 -06:00
Matt Enlow
a5f4fca7b2
Merge pull request #3992 from halfdan/favicon
...
Let Ghost serve favicon instead of using dependency
2014-09-18 18:40:22 -06:00
Fabian Becker
4cc1f509ac
Ignore unknown setting keys on import
...
fixes #4059
- Ignore NotFound setting keys
2014-09-18 12:48:18 +00:00
Fabian Becker
c9b0df752f
Cleanup reserved words in generateSlug
...
closes #1889
- Adds a new filter for slugs
- Move slugs to config.slugs
2014-09-18 13:56:51 +02:00
Fabian Becker
f2fcb5b62b
Let Ghost serve favicon instead of using dependency
...
no ref
- Remove static-favicon dependency
- Refactor robots.txt middleware to also serve favicon
- Add ETag
2014-09-18 13:51:41 +02:00
Hannah Wolfe
aad595de7d
Updating express to 4.9.2 & related packages
...
ref #3795
- express updated to 4.9.2
- express 4.9.0 introduced res.sendStatus() to replace res.status().end()
- we no longer need express-session, connect or cookie-parser
- body-parser, busboy, compression, express-hbs, morgan, all bumped to
latest versions as well - there doesn't seem to be any breaking changes
2014-09-18 11:50:28 +01:00
Harry Wolff
469aaa398c
Add jscs task to grunt file and clean up files to adhere to jscs rules.
...
resolves #1920
- updates all files to conform to style settings.
2014-09-17 21:44:29 -04:00
Harry Wolff
457f360765
Updates image upload directories to be number based.
...
resolves #2285
- Moves to using moment.format('MM') to use the date formatting of a month
2014-09-16 13:23:29 -04:00
Paul Davis
fcab1a961b
Merge pull request #4033 from halfdan/getting-typos
...
Fix Markdown help modal table positioning
2014-09-16 16:36:53 +01:00
Hannah Wolfe
b7fdf7d872
Merge pull request #3947 from hswolff/goodbye-config-theme
...
Removes config.theme and restructures how theme variables are cached
2014-09-15 21:30:44 +01:00
Hannah Wolfe
aa0d9fda46
Merge pull request #4025 from mvalipour/master
...
URL replacement in RSS feed mucks with content
2014-09-15 20:35:18 +01:00
Jason Williams
d93bf82795
Merge pull request #4005 from ErisDS/dbhash-first-run
...
Fixes the first run messages
2014-09-15 08:28:06 -05:00
Hannah Wolfe
b890f31d98
Fixes the first run messages
...
no issue
- Whilst testing the mail PR #3915 I noticed the first run messages aren't
appearing because the dbHash is getting pre-populated, but there doesn't
appear to be a reason why this is necessary
2014-09-15 09:49:25 +01:00
Fabian Becker
7830d68000
Fix Markdown help modal table positioning
...
no ref
- Fix top spacing of markdown table
- Fix width of table and left align table head
- Fix grammar, whitespace in getting-started post
2014-09-15 09:56:54 +02:00
Hannah Wolfe
7b71d0cbc2
Merge pull request #3948 from hswolff/refactor-storage-module
...
Moves storage module to use prototypes for inheritance and structure.
2014-09-14 11:16:01 +01:00
Mo Valipour
98d0954e32
Fix URL replacement in RSS feed mucking with content
...
closes #3983
- removed naive regex implementation
- added cheerio to project dependencies
- used cheerio to parse RSS content
- use attribute getter/setter to replace href/src attribute urls with the resolved version
2014-09-13 18:11:07 +01:00
Hannah Wolfe
5faeb2996b
Merge pull request #3874 from morficus/issue-3241
...
adding config flags to control all items mentioned in PRIVACY.md
2014-09-13 17:23:56 +01:00
Maurice Williams
3583515e44
adding config flags to control all items mentioned in PRIVACY.md
...
closes #3241
- in config.js, the `privacy` attribute holds all privacy-related flags
- `privacy.userTinfoil: true` disables everything (equivalent to setting all flags to false)
- added helper function to core/server/config/index.js to checking privacy flags
- added helper function to core/server/config/index.js to show warning about deprecated items
2014-09-13 12:04:01 -04:00
Harry Wolff
66845def85
Moves storage module to use prototypes for inheritance and structure.
...
addresses #2852
- Moves storage modules to use prototypes and to create prototypes
that inherit from the base storage ctor.
- Makes storage/base conform to an all Promise interface.
2014-09-12 21:41:29 -04:00
Hannah Wolfe
07eaaae8bf
Merge pull request #3915 from javorszky/iss1538b
...
Replaces sendmail with direct
2014-09-11 20:47:18 +01:00
Fabian Becker
c684ee5b38
Delete revoked tokens
...
closes #3758
- new API method to delete access and refresh token
- use new ember-simple-auth config to revoke tokens on logout
- new method to delete tokens by .. token
2014-09-10 20:19:52 +02:00
Hannah Wolfe
a21ce4dd55
Merge pull request #3990 from halfdan/handle-addrinuse
...
Handle EADDRINUSE
2014-09-09 19:16:03 +01:00
Fabian Becker
5430e72753
Handle EADDRINUSE
...
no ref
- Show a human readable message on EADDRINUSE
2014-09-09 20:05:11 +02:00
Hannah Wolfe
2aff9ed8eb
Force apps flag to be boolean in config API
...
ref #3969
- it shouldn't be possible to set keys via this flag
2014-09-09 08:40:38 +01:00
Gabor Javorszky
187c486b2f
Replaces sendmail with direct
...
Closes #1538
* rips out sendmail
* adds direct
* updates nodemailer to 0.7.1
* changes unit tests for mail
* changed integration tests for mail
* adds mail api tests
2014-09-08 20:52:10 +01:00
Matt Enlow
9c0b203dce
Merge pull request #3867 from hswolff/middleware-work
...
Makes the Ghost application more express middleware friendly.
2014-09-08 13:43:48 -06:00
Hannah Wolfe
805f45900e
Merge pull request #3902 from Chrisui/custom-tag-templates
...
Custom template files for custom tags
2014-09-08 20:14:48 +01:00
Chris Pearce
97946cbc14
Ability to create custom template files for custom tags. Eg. tag-design.hbs
2014-09-05 17:35:30 +01:00
Thai Phan
76f7412a75
Stop packagePath variable from being undefined
2014-09-05 22:52:24 +10:00
Jason Williams
c5b1319936
Merge pull request #3852 from ErisDS/issue-1967
...
Add the new body classes
2014-09-03 10:13:06 -05:00
Harry Wolff
2bb1b14ebd
Removes config.theme and restructures how theme variables are cached
...
resolves #1789
- removes config/theme.js
- moves caching of theme variables to api/settings.js which is where the
rest of the settings cache occurs. this removes the requirement of having
to push changes to cache, now it simply occurs alongside when settings
are changed.
- updates relevant tests.
2014-09-02 23:15:15 -04:00
Hannah Wolfe
e0924f866a
Merge pull request #3912 from halfdan/3909-config-api
...
Remove permissions from configuration API
2014-09-02 20:29:09 +01:00
Fabian Becker
c0adf5894f
Remove permissions from configuration API
...
closes #3909
- Remove permissions from configuration API
- Remove permission setup from integration test
- Remove permissions from permissions.json
2014-09-02 15:48:32 +00:00
Fabian Becker
33a6b3d6a6
Add alternative names for pg
...
refs #3864
- map alternative valid pg names to pg
2014-09-01 21:29:12 +00:00
Hannah Wolfe
17f5ce6a2c
Merge pull request #3888 from felixrieseberg/iss3884-content
...
Return leading image for {{content words="0"}}
2014-09-01 20:13:32 +01:00
Fabian Becker
5ab8c661ec
Fix regex from #3898
...
refs #3898
2014-09-01 15:39:53 +02:00
Sebastian Gierlinger
57b5f4da00
Merge pull request #3841 from halfdan/3619-configuration-api
...
Implements new Configuration API
2014-09-01 15:15:05 +02:00
Fabian Becker
a0b7941439
Restrict uncapitalise middleware for API
...
no ref
- Do not lowercase anything after /api/v0.1/<resource>/ to protect :key/:slug
2014-09-01 12:38:06 +00:00
Fabian Becker
688b3914e4
Implements new Configuration API
...
closes #3619
- adds new permissions for configuration API
- adds integration tests
- adds configuration API for reading allowed values
2014-08-31 20:54:17 +00:00