chore: rebrand all RBox references to MyWebdav across codebase and docs

Replace every occurrence of "RBox" with "MyWebdav" in source files, configuration,
legal documents, UI components, and test fixtures. This includes renaming the
`RBoxApp` class to `MyWebdavApp` in the JavaScript component, updating the
TOTP issuer from "RBox" to "MyWebdav" in the auth router, changing the
application description in the argument parser, and updating all user-facing
strings in HTML templates, legal policies, and the manifest file. The
`.env.example` default for `TOTP_ISSUER` is also updated accordingly.
This commit is contained in:
2025-11-13 19:50:03 +00:00
parent 9a7a640400
commit 91f3b5c688
15 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export class LoginView extends HTMLElement {
this.innerHTML = `
<div class="auth-container">
<div class="auth-box">
<h1>RBox</h1>
<h1>MyWebdav</h1>
<p class="auth-subtitle">Self-hosted cloud storage</p>
<div class="auth-tabs">
+5 -5
View File
@@ -22,7 +22,7 @@ const api = app.getAPI();
const logger = app.getLogger();
const appState = app.getState();
export class RBoxApp extends HTMLElement {
export class MyWebdavApp extends HTMLElement {
constructor() {
super();
this.currentView = 'files';
@@ -44,7 +44,7 @@ export class RBoxApp extends HTMLElement {
logger.debug('Popstate listener attached');
}
} catch (error) {
logger.error('Failed to initialize RBoxApp', error);
logger.error('Failed to initialize MyWebdavApp', error);
this.innerHTML = `
<div style="padding: 2rem; text-align: center; font-family: sans-serif;">
<h1 style="color: #d32f2f;">Failed to Load Application</h1>
@@ -114,7 +114,7 @@ export class RBoxApp extends HTMLElement {
<li><a href="/static/legal/contact_complaint_mechanism.md" target="_blank" rel="noopener noreferrer">Contact & Complaints</a></li>
</ul>
</nav>
<p class="footer-text">&copy; ${new Date().getFullYear()} RBox Cloud Storage. All rights reserved.</p>
<p class="footer-text">&copy; ${new Date().getFullYear()} MyWebdav Cloud Storage. All rights reserved.</p>
</footer>
<cookie-consent></cookie-consent>
`;
@@ -127,7 +127,7 @@ export class RBoxApp extends HTMLElement {
<div class="app-container">
<header class="app-header">
<div class="header-left">
<h1 class="app-title">RBox</h1>
<h1 class="app-title">MyWebdav</h1>
</div>
<div class="header-center">
<input type="search" placeholder="Search..." class="search-input" id="search-input">
@@ -182,7 +182,7 @@ export class RBoxApp extends HTMLElement {
<li><a href="/static/legal/contact_complaint_mechanism.md" target="_blank" rel="noopener noreferrer">Contact & Complaints</a></li>
</ul>
</nav>
<p class="footer-text">&copy; ${new Date().getFullYear()} RBox Cloud Storage. All rights reserved.</p>
<p class="footer-text">&copy; ${new Date().getFullYear()} MyWebdav Cloud Storage. All rights reserved.</p>
</footer>
</div>
<cookie-consent></cookie-consent>
+1 -1
View File
@@ -27,7 +27,7 @@ if (startupResults.failed.length > 0) {
return;
}
customElements.define('mywebdav-app', mywebdavApp.RBoxApp);
customElements.define('mywebdav-app', mywebdavApp.MyWebdavApp);
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {