-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added configuration controller to v2 API #10056
Conversation
df7ec90
to
e18df61
Compare
core/server/api/v2/configuration.js
Outdated
@@ -0,0 +1,67 @@ | |||
const Promise = require('bluebird'), |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
request; | ||
|
||
describe('Configuration API', function () { | ||
var accesstoken = '', ghostServer; |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Other than some non-crucial improvements it's good to 🚢 |
e18df61
to
f2cd3d5
Compare
9867021
to
49cabc0
Compare
@rishabhgrg could u please update this one? would love to clean up our PR list :) |
49cabc0
to
048d6ef
Compare
function getBaseConfig() { | ||
return { | ||
useGravatar: !config.isPrivacyDisabled('useGravatar'), | ||
publicAPI: labs.isSet('publicAPI'), |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@@ -0,0 +1,11 @@ | |||
const debug = require('ghost-ignition').debug('api:v2:utils:serializers:output:mail'); |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to self merge 👍
d9d62a6
to
f0e99fc
Compare
f0e99fc
to
0d80e39
Compare
* master: Version bump to 2.7.0 Updated Ghost-Admin to 2.7.0 🐛 Fixed contributors being able to delete draft posts as co-author (#10239) Added configuration controller to v2 API (#10056) 🐛 Fixed site changed webhook not triggered for scheduled posts 🐛 Fixed invalid imported subscribers count (#10229) 🐛Fixed auto redirect for extra data queries on post and page resources (#9828) Included relations if static resource is post | page (#10148) Renamed API -> Api for v2 auth logic (#10142) 🐛Removed user reference warning from importer report if post is a draft (#10169) 🐛 Fixed edit permission of the common article by multiple authors (#10214) Updated npm keywords (#10217)
* master: Version bump to 2.7.1 Updated Ghost-Admin to 2.7.1 Version bump to 2.7.0 Updated Ghost-Admin to 2.7.0 🐛 Fixed contributors being able to delete draft posts as co-author (#10239) Added configuration controller to v2 API (#10056) 🐛 Fixed site changed webhook not triggered for scheduled posts 🐛 Fixed invalid imported subscribers count (#10229) 🐛Fixed auto redirect for extra data queries on post and page resources (#9828) Included relations if static resource is post | page (#10148) Renamed API -> Api for v2 auth logic (#10142) 🐛Removed user reference warning from importer report if post is a draft (#10169) 🐛 Fixed edit permission of the common article by multiple authors (#10214) Updated npm keywords (#10217)
refs #10060