This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
forked from RadoslavGatev/Ghost-Azure
-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
1,649 additions
and
1,505 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
core/built/assets/ghost-dark-095b053148c24d2ffb75fd0fa823a57b.css
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
core/built/assets/ghost-dark-238f8ca6b00a0d7814a199863b3cf875.css
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
core/built/assets/ghost.min-47936cacd85040b08580d15467323266.css
This file was deleted.
Oops, something went wrong.
274 changes: 139 additions & 135 deletions
274
...t.min-0b46f9f865564fa84cad2aa0dd328a32.js → ...t.min-df2fe0c955ee1b61465ff01cbef9ba63.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
core/built/assets/ghost.min-f9735c3d67785b5111ee02370c351b41.css
Large diffs are not rendered by default.
Oops, something went wrong.
2,569 changes: 1,278 additions & 1,291 deletions
2,569
...r.min-5fd46fff106ec80fe8ce28621e77f569.js → ...r.min-c47f6ca352f1f698a0e25a7bdae5223a.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
core/server/data/migrations/versions/3.32/01-add-member-support-address-setting.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
const logging = require('../../../../../shared/logging'); | ||
|
||
module.exports = { | ||
config: { | ||
transaction: true | ||
}, | ||
|
||
async up({transacting: knex}) { | ||
const fromAddressSetting = await knex('settings') | ||
.select('value') | ||
.where('key', 'members_from_address') | ||
.first(); | ||
const fromAddressValue = fromAddressSetting ? fromAddressSetting.value : 'noreply'; | ||
logging.info(`Updating members_support_address setting to members group with value ${fromAddressValue}`); | ||
await knex('settings') | ||
.update({ | ||
group: 'members', | ||
flags: 'PUBLIC,RO', | ||
value: fromAddressValue | ||
}) | ||
.where({ | ||
key: 'members_support_address' | ||
}); | ||
}, | ||
|
||
async down() {} | ||
}; |
20 changes: 20 additions & 0 deletions
20
core/server/data/migrations/versions/3.32/02-add-member-reply-address-setting.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
const logging = require('../../../../../shared/logging'); | ||
|
||
module.exports = { | ||
config: { | ||
transaction: true | ||
}, | ||
|
||
async up({transacting: knex}) { | ||
logging.info('Updating members_reply_address setting to members group'); | ||
await knex('settings') | ||
.update({ | ||
group: 'members' | ||
}) | ||
.where({ | ||
key: 'members_reply_address' | ||
}); | ||
}, | ||
|
||
async down() {} | ||
}; |
20 changes: 20 additions & 0 deletions
20
core/server/data/migrations/versions/3.32/03-add-routes-hash-setting.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
const logging = require('../../../../../shared/logging'); | ||
module.exports = { | ||
config: { | ||
transaction: true | ||
}, | ||
|
||
async up({transacting: knex}) { | ||
logging.info('Updating routes_hash to group: core, type: string, flags: null'); | ||
|
||
await knex('settings') | ||
.update({ | ||
group: 'core', | ||
type: 'string', | ||
flags: null | ||
}) | ||
.where('key', 'routes_hash'); | ||
}, | ||
|
||
async down() {} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.