Update.
This commit is contained in:
parent
74c9fd82d7
commit
798aa67135
@ -26,4 +26,4 @@ SMTP_USERNAME=
|
|||||||
SMTP_PASSWORD=
|
SMTP_PASSWORD=
|
||||||
SMTP_FROM_EMAIL=no-reply@example.com
|
SMTP_FROM_EMAIL=no-reply@example.com
|
||||||
|
|
||||||
TOTP_ISSUER=RBox
|
TOTP_ISSUER=MyWebdav
|
||||||
|
|||||||
4
Makefile
4
Makefile
@ -11,7 +11,7 @@ all:
|
|||||||
$(MYWEBDAV) --port 9004
|
$(MYWEBDAV) --port 9004
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "RBox Development Makefile"
|
@echo "MyWebdav Development Makefile"
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "Available commands:"
|
@echo "Available commands:"
|
||||||
@echo " make all Run the application on port 9004"
|
@echo " make all Run the application on port 9004"
|
||||||
@ -44,7 +44,7 @@ dev:
|
|||||||
@echo "Development dependencies installed successfully"
|
@echo "Development dependencies installed successfully"
|
||||||
|
|
||||||
run:
|
run:
|
||||||
@echo "Starting RBox application..."
|
@echo "Starting MyWebdav application..."
|
||||||
@echo "Access the application at http://localhost:8000"
|
@echo "Access the application at http://localhost:8000"
|
||||||
$(PYTHON) -m mywebdav.main
|
$(PYTHON) -m mywebdav.main
|
||||||
|
|
||||||
|
|||||||
@ -172,7 +172,7 @@ The MyWebdav Team
|
|||||||
"""
|
"""
|
||||||
queue_email(
|
queue_email(
|
||||||
to_email=invoice.user.email,
|
to_email=invoice.user.email,
|
||||||
subject=f"Your RBox Invoice {invoice.invoice_number}",
|
subject=f"Your MyWebdav Invoice {invoice.invoice_number}",
|
||||||
body=body,
|
body=body,
|
||||||
html=html
|
html=html
|
||||||
)
|
)
|
||||||
|
|||||||
@ -96,7 +96,7 @@ async def read_root():
|
|||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser(description="Run the RBox application.")
|
parser = argparse.ArgumentParser(description="Run the MyWebdav application.")
|
||||||
parser.add_argument("--host", type=str, default="0.0.0.0", help="Host address to bind to")
|
parser.add_argument("--host", type=str, default="0.0.0.0", help="Host address to bind to")
|
||||||
parser.add_argument("--port", type=int, default=8000, help="Port to listen on")
|
parser.add_argument("--port", type=int, default=8000, help="Port to listen on")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|||||||
@ -112,7 +112,7 @@ async def setup_two_factor_authentication(current_user: User = Depends(get_curre
|
|||||||
current_user.two_factor_secret = secret
|
current_user.two_factor_secret = secret
|
||||||
await current_user.save()
|
await current_user.save()
|
||||||
|
|
||||||
totp_uri = generate_totp_uri(secret, current_user.email, "RBox")
|
totp_uri = generate_totp_uri(secret, current_user.email, "MyWebdav")
|
||||||
qr_code_base64 = generate_qr_code_base64(totp_uri)
|
qr_code_base64 = generate_qr_code_base64(totp_uri)
|
||||||
|
|
||||||
recovery_codes = generate_recovery_codes()
|
recovery_codes = generate_recovery_codes()
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Starting RBox development server..."
|
echo "Starting MyWebdav development server..."
|
||||||
|
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
echo "Creating .env file from .env.example..."
|
echo "Creating .env file from .env.example..."
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>RBox Cloud Storage</title>
|
<title>MyWebdav Cloud Storage</title>
|
||||||
<link rel="stylesheet" href="/static/css/style.css">
|
<link rel="stylesheet" href="/static/css/style.css">
|
||||||
<link rel="stylesheet" href="/static/css/billing.css">
|
<link rel="stylesheet" href="/static/css/billing.css">
|
||||||
<link rel="stylesheet" href="/static/lib/codemirror/codemirror.min.css">
|
<link rel="stylesheet" href="/static/lib/codemirror/codemirror.min.css">
|
||||||
|
|||||||
@ -14,7 +14,7 @@ export class LoginView extends HTMLElement {
|
|||||||
this.innerHTML = `
|
this.innerHTML = `
|
||||||
<div class="auth-container">
|
<div class="auth-container">
|
||||||
<div class="auth-box">
|
<div class="auth-box">
|
||||||
<h1>RBox</h1>
|
<h1>MyWebdav</h1>
|
||||||
<p class="auth-subtitle">Self-hosted cloud storage</p>
|
<p class="auth-subtitle">Self-hosted cloud storage</p>
|
||||||
|
|
||||||
<div class="auth-tabs">
|
<div class="auth-tabs">
|
||||||
|
|||||||
@ -22,7 +22,7 @@ const api = app.getAPI();
|
|||||||
const logger = app.getLogger();
|
const logger = app.getLogger();
|
||||||
const appState = app.getState();
|
const appState = app.getState();
|
||||||
|
|
||||||
export class RBoxApp extends HTMLElement {
|
export class MyWebdavApp extends HTMLElement {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.currentView = 'files';
|
this.currentView = 'files';
|
||||||
@ -44,7 +44,7 @@ export class RBoxApp extends HTMLElement {
|
|||||||
logger.debug('Popstate listener attached');
|
logger.debug('Popstate listener attached');
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error('Failed to initialize RBoxApp', error);
|
logger.error('Failed to initialize MyWebdavApp', error);
|
||||||
this.innerHTML = `
|
this.innerHTML = `
|
||||||
<div style="padding: 2rem; text-align: center; font-family: sans-serif;">
|
<div style="padding: 2rem; text-align: center; font-family: sans-serif;">
|
||||||
<h1 style="color: #d32f2f;">Failed to Load Application</h1>
|
<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>
|
<li><a href="/static/legal/contact_complaint_mechanism.md" target="_blank" rel="noopener noreferrer">Contact & Complaints</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<p class="footer-text">© ${new Date().getFullYear()} RBox Cloud Storage. All rights reserved.</p>
|
<p class="footer-text">© ${new Date().getFullYear()} MyWebdav Cloud Storage. All rights reserved.</p>
|
||||||
</footer>
|
</footer>
|
||||||
<cookie-consent></cookie-consent>
|
<cookie-consent></cookie-consent>
|
||||||
`;
|
`;
|
||||||
@ -127,7 +127,7 @@ export class RBoxApp extends HTMLElement {
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<header class="app-header">
|
<header class="app-header">
|
||||||
<div class="header-left">
|
<div class="header-left">
|
||||||
<h1 class="app-title">RBox</h1>
|
<h1 class="app-title">MyWebdav</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-center">
|
<div class="header-center">
|
||||||
<input type="search" placeholder="Search..." class="search-input" id="search-input">
|
<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>
|
<li><a href="/static/legal/contact_complaint_mechanism.md" target="_blank" rel="noopener noreferrer">Contact & Complaints</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<p class="footer-text">© ${new Date().getFullYear()} RBox Cloud Storage. All rights reserved.</p>
|
<p class="footer-text">© ${new Date().getFullYear()} MyWebdav Cloud Storage. All rights reserved.</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
<cookie-consent></cookie-consent>
|
<cookie-consent></cookie-consent>
|
||||||
|
|||||||
@ -27,7 +27,7 @@ if (startupResults.failed.length > 0) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
customElements.define('mywebdav-app', mywebdavApp.RBoxApp);
|
customElements.define('mywebdav-app', mywebdavApp.MyWebdavApp);
|
||||||
|
|
||||||
if ('serviceWorker' in navigator) {
|
if ('serviceWorker' in navigator) {
|
||||||
window.addEventListener('load', () => {
|
window.addEventListener('load', () => {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
This Cookie Policy (\"Agreement\") is entered into by and between:
|
This Cookie Policy (\"Agreement\") is entered into by and between:
|
||||||
|
|
||||||
**Company:** RBox Technologies
|
**Company:** MyWebdav Technologies
|
||||||
Address: [Company Address]
|
Address: [Company Address]
|
||||||
Website: https://mywebdav.com
|
Website: https://mywebdav.com
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
**Last Updated:** November 12, 2025
|
**Last Updated:** November 12, 2025
|
||||||
|
|
||||||
RBox operates the mywebdav website and web application (the "Service"). This page informs you of our policies regarding the collection, use, and disclosure of personal information when you use our Service.
|
MyWebdav operates the mywebdav website and web application (the "Service"). This page informs you of our policies regarding the collection, use, and disclosure of personal information when you use our Service.
|
||||||
|
|
||||||
If you choose to use our Service, you agree to the collection and use of information in relation to this policy. The personal information we collect is used to provide and improve the Service. We will not use or share your information except as described in this Privacy Policy.
|
If you choose to use our Service, you agree to the collection and use of information in relation to this policy. The personal information we collect is used to provide and improve the Service. We will not use or share your information except as described in this Privacy Policy.
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
**Last Updated:** November 12, 2025
|
**Last Updated:** November 12, 2025
|
||||||
|
|
||||||
Welcome to RBox! These Terms of Service ("Terms") govern your use of the RBox website and web application (the "Service") operated by RBox Technologies ("we," "us," or "our").
|
Welcome to MyWebdav! These Terms of Service ("Terms") govern your use of the MyWebdav website and web application (the "Service") operated by MyWebdav Technologies ("we," "us," or "our").
|
||||||
|
|
||||||
By accessing or using our Service, you agree to be bound by these Terms. If you do not agree to these Terms, please do not use the Service.
|
By accessing or using our Service, you agree to be bound by these Terms. If you do not agree to these Terms, please do not use the Service.
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ By creating an account or using the Service, you accept and agree to these Terms
|
|||||||
|
|
||||||
## 2. Description of Service
|
## 2. Description of Service
|
||||||
|
|
||||||
RBox is a web application that allows users to manage and share repositories, files, and collaborate on projects. The Service includes features such as repository creation, file storage, collaboration tools, and public browsing of repositories.
|
MyWebdav is a web application that allows users to manage and share repositories, files, and collaborate on projects. The Service includes features such as repository creation, file storage, collaboration tools, and public browsing of repositories.
|
||||||
|
|
||||||
## 3. User Accounts
|
## 3. User Accounts
|
||||||
|
|
||||||
@ -76,4 +76,4 @@ We reserve the right to modify these Terms at any time. We will notify users of
|
|||||||
|
|
||||||
If you have questions about these Terms, please contact us at legal@mywebdav.com.
|
If you have questions about these Terms, please contact us at legal@mywebdav.com.
|
||||||
|
|
||||||
By using RBox, you acknowledge that you have read, understood, and agree to be bound by these Terms of Service.
|
By using MyWebdav, you acknowledge that you have read, understood, and agree to be bound by these Terms of Service.
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "RBox Cloud Storage",
|
"name": "MyWebdav Cloud Storage",
|
||||||
"short_name": "RBox",
|
"short_name": "MyWebdav",
|
||||||
"description": "A self-hosted cloud storage web application",
|
"description": "A self-hosted cloud storage web application",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
|
|||||||
@ -20,7 +20,7 @@ async def browser():
|
|||||||
async def context(browser):
|
async def context(browser):
|
||||||
context = await browser.new_context(
|
context = await browser.new_context(
|
||||||
viewport={"width": 1920, "height": 1080},
|
viewport={"width": 1920, "height": 1080},
|
||||||
user_agent="Mozilla/5.0 (X11; Linux x86_64) RBox E2E Tests",
|
user_agent="Mozilla/5.0 (X11; Linux x86_64) MyWebdav E2E Tests",
|
||||||
ignore_https_errors=True,
|
ignore_https_errors=True,
|
||||||
service_workers='block'
|
service_workers='block'
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user