mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-11 10:03:44 +01:00
fix: minor fixes for yukimochi/Activity-Relay compatibility
This commit is contained in:
@@ -91,6 +91,10 @@ define('admin/settings/activitypub', [
|
||||
},
|
||||
});
|
||||
|
||||
modal.on('shown.bs.modal', function () {
|
||||
modal.find('input').focus();
|
||||
});
|
||||
|
||||
// category switcher
|
||||
categorySelector.init(modal.find('[component="category-selector"]'), {
|
||||
onSelect: function (selectedCategory) {
|
||||
@@ -128,6 +132,10 @@ define('admin/settings/activitypub', [
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
modal.on('shown.bs.modal', function () {
|
||||
modal.find('input').focus();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ ActivityPub._constants = Object.freeze({
|
||||
],
|
||||
acceptableActorTypes: new Set(['Application', 'Organization', 'Person', 'Service']),
|
||||
acceptableGroupTypes: new Set(['Group']),
|
||||
requiredActorProps: ['inbox', 'outbox'],
|
||||
requiredActorProps: ['inbox'],
|
||||
acceptedProtocols: ['https', ...(process.env.CI === 'true' ? ['http'] : [])],
|
||||
acceptable: {
|
||||
customFields: new Set(['PropertyValue', 'Link', 'Note']),
|
||||
|
||||
Reference in New Issue
Block a user