diff --git a/.env.example b/.env.example index 09653da..9e7f43b 100644 --- a/.env.example +++ b/.env.example @@ -26,4 +26,4 @@ SMTP_USERNAME= SMTP_PASSWORD= SMTP_FROM_EMAIL=no-reply@example.com -TOTP_ISSUER=RBox +TOTP_ISSUER=MyWebdav diff --git a/Makefile b/Makefile index c05ca7b..148b103 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ all: $(MYWEBDAV) --port 9004 help: - @echo "RBox Development Makefile" + @echo "MyWebdav Development Makefile" @echo "" @echo "Available commands:" @echo " make all Run the application on port 9004" @@ -44,7 +44,7 @@ dev: @echo "Development dependencies installed successfully" run: - @echo "Starting RBox application..." + @echo "Starting MyWebdav application..." @echo "Access the application at http://localhost:8000" $(PYTHON) -m mywebdav.main diff --git a/mywebdav/billing/invoice_generator.py b/mywebdav/billing/invoice_generator.py index 5a51b61..2e5982d 100644 --- a/mywebdav/billing/invoice_generator.py +++ b/mywebdav/billing/invoice_generator.py @@ -172,7 +172,7 @@ The MyWebdav Team """ queue_email( to_email=invoice.user.email, - subject=f"Your RBox Invoice {invoice.invoice_number}", + subject=f"Your MyWebdav Invoice {invoice.invoice_number}", body=body, html=html ) diff --git a/mywebdav/main.py b/mywebdav/main.py index db52d12..3d0352e 100644 --- a/mywebdav/main.py +++ b/mywebdav/main.py @@ -96,7 +96,7 @@ async def read_root(): return f.read() 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("--port", type=int, default=8000, help="Port to listen on") args = parser.parse_args() diff --git a/mywebdav/routers/auth.py b/mywebdav/routers/auth.py index 7a1c29e..ffd8fd1 100644 --- a/mywebdav/routers/auth.py +++ b/mywebdav/routers/auth.py @@ -112,7 +112,7 @@ async def setup_two_factor_authentication(current_user: User = Depends(get_curre current_user.two_factor_secret = secret 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) recovery_codes = generate_recovery_codes() diff --git a/run_dev.sh b/run_dev.sh index 48c1c16..9351fb4 100755 --- a/run_dev.sh +++ b/run_dev.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo "Starting RBox development server..." +echo "Starting MyWebdav development server..." if [ ! -f .env ]; then echo "Creating .env file from .env.example..." diff --git a/static/index.html b/static/index.html index f328f5f..3da5c14 100644 --- a/static/index.html +++ b/static/index.html @@ -3,7 +3,7 @@
-Self-hosted cloud storage