Rebrand project as Skald

This commit is contained in:
Storm Dragon
2026-05-17 22:16:08 -04:00
parent 77edf0539c
commit bda0e548d3
53 changed files with 479 additions and 433 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/common.css">
<link rel="stylesheet" href="/change-password.css">
<link rel="stylesheet" type="text/css" href="/galene.css"/>
<link rel="stylesheet" type="text/css" href="/skald.css"/>
<link rel="author" href="https://www.irif.fr/~jch/"/>
</head>
+1 -1
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Galène client example</title>
<title>Skald client example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="author" href="https://www.irif.fr/~jch/"/>
</head>
+1 -1
View File
@@ -1,4 +1,4 @@
/* Galene client example. */
/* Skald client example. */
/**
* The main function.
+4 -4
View File
@@ -1,19 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Galène</title>
<title>Skald</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/common.css">
<link rel="stylesheet" href="/mainpage.css">
<link rel="stylesheet" type="text/css" href="/galene.css"/>
<link rel="stylesheet" type="text/css" href="/skald.css"/>
<link rel="author" href="https://www.irif.fr/~jch/"/>
</head>
<body>
<div class="home">
<h1 id="title" class="navbar-brand">Galène</h1>
<h1 id="title" class="navbar-brand">Skald</h1>
<form id="groupform">
<label for="group">Group:</label>
@@ -30,7 +30,7 @@
</div>
</div>
<footer class="signature">
<p><a href="https://galene.org/">Galène</a> by <a href="https://www.irif.fr/~jch/" rel="author">Juliusz Chroboczek</a></p>
<p><a href="https://skald.org/">Skald</a> by <a href="https://www.irif.fr/~jch/" rel="author">Juliusz Chroboczek</a></p>
</footer>
<script src="/mainpage.js" defer></script>
+13 -13
View File
@@ -159,7 +159,7 @@ async function updateObject(url, values, etag) {
* @returns {Promise<Array<string>>}
*/
async function listGroups() {
return await listObjects('/galene-api/v0/.groups/');
return await listObjects('/skald-api/v0/.groups/');
}
/**
@@ -170,7 +170,7 @@ async function listGroups() {
* @returns {Promise<Object>}
*/
async function getGroup(group, etag) {
return await getObject(`/galene-api/v0/.groups/${group}`, etag);
return await getObject(`/skald-api/v0/.groups/${group}`, etag);
}
/**
@@ -180,7 +180,7 @@ async function getGroup(group, etag) {
* @param {Object} [values]
*/
async function createGroup(group, values) {
return await createObject(`/galene-api/v0/.groups/${group}`, values);
return await createObject(`/skald-api/v0/.groups/${group}`, values);
}
/**
@@ -190,7 +190,7 @@ async function createGroup(group, values) {
* @param {string} [etag]
*/
async function deleteGroup(group, etag) {
return await deleteObject(`/galene-api/v0/.groups/${group}`, etag);
return await deleteObject(`/skald-api/v0/.groups/${group}`, etag);
}
/**
@@ -203,7 +203,7 @@ async function deleteGroup(group, etag) {
* @param {string} [etag]
*/
async function updateGroup(group, values, etag) {
return await updateObject(`/galene-api/v0/.groups/${group}`, values);
return await updateObject(`/skald-api/v0/.groups/${group}`, values);
}
/**
@@ -213,7 +213,7 @@ async function updateGroup(group, values, etag) {
* @returns {Promise<Array<string>>}
*/
async function listUsers(group) {
return await listObjects(`/galene-api/v0/.groups/${group}/.users/`);
return await listObjects(`/skald-api/v0/.groups/${group}/.users/`);
}
/**
@@ -225,11 +225,11 @@ async function listUsers(group) {
*/
function userURL(group, user, wildcard) {
if(wildcard)
return `/galene-api/v0/.groups/${group}/.wildcard-user`;
return `/skald-api/v0/.groups/${group}/.wildcard-user`;
else if(user === "")
return `/galene-api/v0/.groups/${group}/.empty-user`;
return `/skald-api/v0/.groups/${group}/.empty-user`;
else
return `/galene-api/v0/.groups/${group}/.users/${user}`
return `/skald-api/v0/.groups/${group}/.users/${user}`
}
/**
@@ -320,7 +320,7 @@ async function setPassword(group, user, wildcard, password, oldpassword) {
* @returns {Promise<Array<string>>}
*/
async function listTokens(group) {
return await listObjects(`/galene-api/v0/.groups/${group}/.tokens/`);
return await listObjects(`/skald-api/v0/.groups/${group}/.tokens/`);
}
/**
@@ -332,7 +332,7 @@ async function listTokens(group) {
* @returns {Promise<Object>}
*/
async function getToken(group, token, etag) {
return await getObject(`/galene-api/v0/.groups/${group}/.tokens/${token}`,
return await getObject(`/skald-api/v0/.groups/${group}/.tokens/${token}`,
etag);
}
@@ -353,7 +353,7 @@ async function createToken(group, template) {
}
let r = await fetch(
`/galene-api/v0/.groups/${group}/.tokens/`,
`/skald-api/v0/.groups/${group}/.tokens/`,
options);
if(!r.ok)
throw httpError(r);
@@ -373,6 +373,6 @@ async function updateToken(group, token, etag) {
if(!token.token)
throw new Error("Unnamed token");
return await updateObject(
`/galene-api/v0/.groups/${group}/.tokens/${token.token}`,
`/skald-api/v0/.groups/${group}/.tokens/${token.token}`,
token, etag);
}
+1 -1
View File
@@ -1619,7 +1619,7 @@ function TransferredFile(sc, userid, id, up, username, name, mimetype, size) {
* The negotiated file-transfer protocol version.
*
* This is the version of the file-transfer protocol, and is not
* necessarily equal to the version of the Galene protocol used by the
* necessarily equal to the version of the Skald protocol used by the
* server connection.
*
* @type {string}
+2 -2
View File
@@ -1109,7 +1109,7 @@ legend {
border-right: 1px solid #dcdcdc;
}
#left-sidebar .galene-header {
#left-sidebar .skald-header {
display: inline-block;
}
@@ -1127,7 +1127,7 @@ header .collapse:hover {
color: #c2a4e0;
}
.galene-header {
.skald-header {
font-size: 1.3rem;
font-weight: 900;
color: #dbd9d9;
+5 -5
View File
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Galène</title>
<title>Skald</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="ScreenOrientation" content="autoRotate:disabled">
<link rel="stylesheet" type="text/css" href="/common.css"/>
<link rel="stylesheet" type="text/css" href="/galene.css"/>
<link rel="stylesheet" type="text/css" href="/skald.css"/>
<link rel="author" href="https://www.irif.fr/~jch/"/>
<link rel="stylesheet" type="text/css" href="/third-party/fontawesome/css/fontawesome.min.css"/>
<link rel="stylesheet" type="text/css" href="/third-party/fontawesome/css/solid.min.css"/>
@@ -20,7 +20,7 @@
<div class="row full-height">
<nav id="left-sidebar">
<div class="users-header">
<div class="galene-header">Galène</div>
<div class="skald-header">Skald</div>
</div>
<div class="header-sep"></div>
<div id="users"></div>
@@ -32,7 +32,7 @@
<button class="collapse" aria-label="Toggle left panel" aria-expanded="true" id="sidebarCollapse">
<i class="fas fa-align-left" aria-hidden="true"></i>
</button>
<h1 id="title" class="header-title">Galène</h1>
<h1 id="title" class="header-title">Skald</h1>
</div>
<ul class="nav-menu">
@@ -312,6 +312,6 @@
<script src="/protocol.js" defer></script>
<script src="/third-party/toastify/toastify.js" defer></script>
<script src="/third-party/contextual/contextual.js" defer></script>
<script src="/galene.js" defer></script>
<script src="/skald.js" defer></script>
</body>
</html>
+2 -2
View File
@@ -2869,7 +2869,7 @@ function setTitle(title) {
if(title)
set(title);
else
set('Galène');
set('Skald');
}
/**
@@ -3245,7 +3245,7 @@ function gotUserMessage(id, dest, username, time, privileged, kind, error, messa
if('share' in navigator) {
try {
navigator.share({
title: `Invitation to Galene group ${message.group}`,
title: `Invitation to Skald group ${message.group}`,
text: f[0],
url: f[1],
});
+2 -2
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Galène statistics</title>
<title>Skald statistics</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/common.css">
@@ -10,7 +10,7 @@
<body>
<h1 id="title" class="navbar-brand">Galène statistics</h1>
<h1 id="title" class="navbar-brand">Skald statistics</h1>
<table id="stats-table"></table>
<script src="/stats.js" defer></script>
</body>
+1 -1
View File
@@ -25,7 +25,7 @@ async function listStats() {
let l;
try {
let r = await fetch('/galene-api/v0/.stats');
let r = await fetch('/skald-api/v0/.stats');
if(!r.ok)
throw new Error(`${r.status} ${r.statusText}`);
l = await r.json();
+1 -1
View File
@@ -15,7 +15,7 @@
},
"files": [
"protocol.js",
"galene.js",
"skald.js",
"management.js",
"example/example.js"
]