update the butter config.json for keanu/convene #7
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: butter/churn#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
{
"appName": "Message Board",
"appNames": {},
"productLink": "butterbox.local",
"defaultServer": "http://butterbox.local",
"defaultMatrixDomainPart": "butterbox.local",
"defaultBaseUrl": "http://butterbox.local",
"rtl": false,
"analytics": {
"enabled": false
}
}
In: https://guardianproject.dev/butter/churn/src/branch/new_portal_changes/ansible/templates/keanu-weblite-config.json.j2
I currently have the following:
{
"appName": "Keanu on Butter Box",
"appNames": {},
"productLink": "{{ butter_name }}.local",
"defaultServer": "http://{{ butter_name }}.local",
"rtl": false,
"analytics": {
"enabled": false
}
}
I can change the app name to 'Message board', and I didn't see any documentation around the other options you reference (defaultMatrixDomainPart and defaultBaseUrl) so I will need to do some tests before integrating them.
Okay will get this info from n-pex:
defaultMatrixDomainPart
defaultBaseUrl
defaultMatrixDomainPart is what kind of usernames your server creates, i.e. the domain part like "@n8fr8:". It is then used to determine which matrix server to connect to, in the following priority order: 1. Config file entries in the "matrixDomainPartMapping" config value, 2. Auto discovery (https://matrix-org.github.io/matrix-js-sdk/classes/matrix.AutoDiscovery.html#findclientconfig), 3. defaultBaseUrl.
defaultMatrixDomainPart is same as "productLink" then
and
defaultBaseUrl is same as defaultServer
I noticed that after I changed the hostname via the butter portal, the hostnames in the Dendrite config and Keanu/Convene config were not updated. They were stil set to "butterbox.local"
Moved to butter/butter-portal#14