Add missing admin action files and navigation links

- Add 11 missing server action files: badges, bulk-users, catalog, catalog-bc, catalog-items, import-badges, import-furni, multi-account-detect, permissions, rooms, soundtracks
- Add missing admin navigation links: tickets, sounds, translations, import, radio sub-pages
- Add translation keys for all new navigation items
This commit is contained in:
openhands committed 2026-07-11 12:01:05 +02:00
1 parent 7e1ae17a3b
commit 41be6835bf
347 files changed
+28378 -6091

No files matched your search

+7 -7
View File
@@ -5,12 +5,8 @@
"version": "1.0.0",
"description": "Public and administrative REST API for the AtomCMS-Next Habbo retro hotel CMS."
},
"servers": [
{ "url": "/api", "description": "Local API" }
],
"security": [
{ "bearerAuth": [], "sessionAuth": [] }
],
"servers": [{ "url": "/api", "description": "Local API" }],
"security": [{ "bearerAuth": [], "sessionAuth": [] }],
"components": {
"securitySchemes": {
"bearerAuth": {
@@ -54,7 +50,11 @@
"responses": {
"200": {
"description": "Online count",
"content": { "application/json": { "schema": { "type": "object", "properties": { "count": { "type": "integer" } } } } }
"content": {
"application/json": {
"schema": { "type": "object", "properties": { "count": { "type": "integer" } } }
}
}
}
}
}
+10 -10
View File
@@ -1,12 +1,12 @@
(function(){
(function () {
try {
var s=localStorage.getItem('theme');
var dd=document.querySelector('meta[name="theme-default-dark"]');
var defaultDark=dd?dd.getAttribute('content')==='true':false;
if(s==='dark'||(!s&&defaultDark))document.documentElement.classList.add('dark');
var nc=localStorage.getItem('navbarColor'),
nt=localStorage.getItem('navbarTextColor');
if(nc)document.documentElement.style.setProperty('--color-navbar',nc);
if(nt)document.documentElement.style.setProperty('--color-navbar-text',nt);
}catch(e){}
var s = localStorage.getItem("theme");
var dd = document.querySelector('meta[name="theme-default-dark"]');
var defaultDark = dd ? dd.getAttribute("content") === "true" : false;
if (s === "dark" || (!s && defaultDark)) document.documentElement.classList.add("dark");
var nc = localStorage.getItem("navbarColor"),
nt = localStorage.getItem("navbarTextColor");
if (nc) document.documentElement.style.setProperty("--color-navbar", nc);
if (nt) document.documentElement.style.setProperty("--color-navbar-text", nt);
} catch (e) {}
})();
+4 -1
View File
@@ -45,7 +45,10 @@ self.addEventListener("fetch", (event) => {
fetch(req)
.then((res) => {
const copy = res.clone();
caches.open(CACHE).then((c) => c.put(req, copy)).catch(() => {});
caches
.open(CACHE)
.then((c) => c.put(req, copy))
.catch(() => {});
return res;
})
.catch(() => caches.match(req).then((hit) => hit || caches.match("/"))),