Update directory.owncast.online -> owncast.directory (#4485)
* chore: change directory.owncast.online -> owncast.directory. For #4483 * chore: update extracted translations --------- Co-authored-by: Owncast default web localizations <owncast@owncast.online>
This commit is contained in:
co-authored by
Owncast default web localizations
parent
c65f11e102
commit
074bff32c1
@@ -60,7 +60,7 @@ const defaultPageContent = `<h1>Welcome to Owncast!</h1>
|
||||
<p>This is a live stream powered by <a href="https://owncast.online">Owncast</a>, a free and open source live streaming server.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>To discover more examples of streams, visit <a href="https://directory.owncast.online">Owncast's directory</a>.</p>
|
||||
<p>To discover more examples of streams, visit <a href="https://owncast.directory">Owncast's directory</a>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>If you're the owner of this server you should visit the admin and customize the content on this page.</p>
|
||||
@@ -158,7 +158,7 @@ test('verify default admin configuration', async () => {
|
||||
expect(res.body.instanceDetails.offlineMessage).toBe(defaultOfflineMessage);
|
||||
expect(res.body.instanceDetails.tags).toStrictEqual(defaultTags);
|
||||
expect(res.body.instanceDetails.socialHandles).toStrictEqual(
|
||||
defaultSocialHandlesAdmin
|
||||
defaultSocialHandlesAdmin,
|
||||
);
|
||||
expect(res.body.forbiddenUsernames).toStrictEqual(defaultForbiddenUsernames);
|
||||
expect(res.body.streamKeys).toStrictEqual(defaultStreamKeys);
|
||||
@@ -171,7 +171,7 @@ test('verify default admin configuration', async () => {
|
||||
res.body.adminPassword,
|
||||
function (err, result) {
|
||||
expect(result).toBe(true);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
expect(res.body.s3.enabled).toBe(defaultS3Config.enabled);
|
||||
@@ -182,13 +182,13 @@ test('verify default admin configuration', async () => {
|
||||
expect(res.body.federation.username).toBe(defaultFederationConfig.username);
|
||||
expect(res.body.federation.isPrivate).toBe(defaultFederationConfig.isPrivate);
|
||||
expect(res.body.federation.showEngagement).toBe(
|
||||
defaultFederationConfig.showEngagement
|
||||
defaultFederationConfig.showEngagement,
|
||||
);
|
||||
expect(res.body.federation.goLiveMessage).toBe(
|
||||
defaultFederationConfig.goLiveMessage
|
||||
defaultFederationConfig.goLiveMessage,
|
||||
);
|
||||
expect(res.body.federation.blockedDomains).toStrictEqual(
|
||||
defaultFederationConfig.blockedDomains
|
||||
defaultFederationConfig.blockedDomains,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -247,7 +247,7 @@ test('set s3 configuration', async () => {
|
||||
test('set forbidden usernames', async () => {
|
||||
await sendAdminRequest(
|
||||
'config/chat/forbiddenusernames',
|
||||
newForbiddenUsernames
|
||||
newForbiddenUsernames,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -259,35 +259,35 @@ test('set server url', async () => {
|
||||
test('set federation username', async () => {
|
||||
await sendAdminRequest(
|
||||
'config/federation/username',
|
||||
newFederationConfig.username
|
||||
newFederationConfig.username,
|
||||
);
|
||||
});
|
||||
|
||||
test('set federation goLiveMessage', async () => {
|
||||
await sendAdminRequest(
|
||||
'config/federation/livemessage',
|
||||
newFederationConfig.goLiveMessage
|
||||
newFederationConfig.goLiveMessage,
|
||||
);
|
||||
});
|
||||
|
||||
test('toggle private federation mode', async () => {
|
||||
await sendAdminRequest(
|
||||
'config/federation/private',
|
||||
newFederationConfig.isPrivate
|
||||
newFederationConfig.isPrivate,
|
||||
);
|
||||
});
|
||||
|
||||
test('toggle federation engagement', async () => {
|
||||
const res = await sendAdminRequest(
|
||||
'config/federation/showengagement',
|
||||
newFederationConfig.showEngagement
|
||||
newFederationConfig.showEngagement,
|
||||
);
|
||||
});
|
||||
|
||||
test('set federation blocked domains', async () => {
|
||||
await sendAdminRequest(
|
||||
'config/federation/blockdomains',
|
||||
newFederationConfig.blockedDomains
|
||||
newFederationConfig.blockedDomains,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -318,14 +318,14 @@ test('enable directory', async () => {
|
||||
test('enable federation', async () => {
|
||||
await sendAdminRequest(
|
||||
'config/federation/enable',
|
||||
newFederationConfig.enabled
|
||||
newFederationConfig.enabled,
|
||||
);
|
||||
});
|
||||
|
||||
test('disable search indexing', async () => {
|
||||
await sendAdminRequest(
|
||||
'config/disablesearchindexing',
|
||||
newDisableSearchIndexing
|
||||
newDisableSearchIndexing,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -336,7 +336,7 @@ test('change admin password', async () => {
|
||||
test('verify admin password change', async () => {
|
||||
const res = await getAdminResponse(
|
||||
'serverconfig',
|
||||
(adminPassword = newAdminPassword)
|
||||
(adminPassword = newAdminPassword),
|
||||
);
|
||||
|
||||
bcrypt.compare(
|
||||
@@ -344,7 +344,7 @@ test('verify admin password change', async () => {
|
||||
res.body.adminPassword,
|
||||
function (err, result) {
|
||||
expect(result).toBe(true);
|
||||
}
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
@@ -352,7 +352,7 @@ test('reset admin password', async () => {
|
||||
await sendAdminRequest(
|
||||
'config/adminpass',
|
||||
defaultAdminPassword,
|
||||
(adminPassword = newAdminPassword)
|
||||
(adminPassword = newAdminPassword),
|
||||
);
|
||||
});
|
||||
|
||||
@@ -394,7 +394,7 @@ test('verify updated admin configuration', async () => {
|
||||
expect(res.body.instanceDetails.offlineMessage).toBe(newOfflineMessage);
|
||||
expect(res.body.instanceDetails.tags).toStrictEqual(newTags);
|
||||
expect(res.body.instanceDetails.socialHandles).toStrictEqual(
|
||||
newSocialHandles
|
||||
newSocialHandles,
|
||||
);
|
||||
expect(res.body.instanceDetails.customStyles).toBe(customCSS);
|
||||
expect(res.body.instanceDetails.customJavascript).toBe(customJavascript);
|
||||
@@ -405,10 +405,10 @@ test('verify updated admin configuration', async () => {
|
||||
|
||||
expect(res.body.videoSettings.latencyLevel).toBe(latencyLevel);
|
||||
expect(res.body.videoSettings.videoQualityVariants[0].framerate).toBe(
|
||||
streamOutputVariants.framerate
|
||||
streamOutputVariants.framerate,
|
||||
);
|
||||
expect(res.body.videoSettings.videoQualityVariants[0].cpuUsageLevel).toBe(
|
||||
streamOutputVariants.cpuUsageLevel
|
||||
streamOutputVariants.cpuUsageLevel,
|
||||
);
|
||||
|
||||
expect(res.body.yp.enabled).toBe(newYPConfig.enabled);
|
||||
@@ -419,7 +419,7 @@ test('verify updated admin configuration', async () => {
|
||||
res.body.adminPassword,
|
||||
function (err, result) {
|
||||
expect(result).toBe(true);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
expect(res.body.s3.enabled).toBe(newS3Config.enabled);
|
||||
@@ -435,13 +435,13 @@ test('verify updated admin configuration', async () => {
|
||||
expect(res.body.federation.isPrivate).toBe(newFederationConfig.isPrivate);
|
||||
expect(res.body.federation.username).toBe(newFederationConfig.username);
|
||||
expect(res.body.federation.goLiveMessage).toBe(
|
||||
newFederationConfig.goLiveMessage
|
||||
newFederationConfig.goLiveMessage,
|
||||
);
|
||||
expect(res.body.federation.showEngagement).toBe(
|
||||
newFederationConfig.showEngagement
|
||||
newFederationConfig.showEngagement,
|
||||
);
|
||||
expect(res.body.federation.blockedDomains).toStrictEqual(
|
||||
newFederationConfig.blockedDomains
|
||||
newFederationConfig.blockedDomains,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user