diff --git a/README.md b/README.md index b6de2e5..79aca86 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# RBox +# MyWebdav -RBox is a self-hosted cloud storage web application designed for secure, scalable file management and sharing. Built with modern web technologies, it provides a comprehensive solution for individuals and organizations seeking full control over their data storage. +MyWebdav is a commercial cloud storage web application designed for secure, scalable file management and sharing. Built with modern web technologies, it provides a comprehensive solution for individuals and organizations seeking full control over their data storage. ## Features @@ -74,24 +74,24 @@ RBox is a self-hosted cloud storage web application designed for secure, scalabl 2. Set up the database: ```bash - createdb rbox + createdb mywebdav ``` 3. Configure environment variables in `.env` 4. Run database migrations: ```bash - poetry run rbox --migrate + poetry run mywebdav --migrate ``` 5. Start the application: ```bash - poetry run rbox --host 0.0.0.0 --port 8000 + poetry run mywebdav --host 0.0.0.0 --port 8000 ``` ## Configuration -RBox uses environment variables for configuration. Key settings include: +MyWebdav uses environment variables for configuration. Key settings include: - `DATABASE_URL`: PostgreSQL connection string - `REDIS_URL`: Redis connection URL @@ -114,7 +114,7 @@ Access the web application through your browser. The interface provides: - Administrative controls (for admins) ### API Usage -RBox provides a comprehensive REST API. Example requests: +MyWebdav provides a comprehensive REST API. Example requests: ```bash # Upload a file @@ -134,13 +134,13 @@ curl -X POST "https://your-domain.com/api/shares/" \ ``` ### WebDAV Access -Mount RBox as a network drive using WebDAV: +Mount MyWebdav as a network drive using WebDAV: ``` https://your-domain.com/webdav/ ``` ### SFTP Access -Connect via SFTP using your RBox credentials on port 22. +Connect via SFTP using your MyWebdav credentials on port 22. ## Deployment diff --git a/rbox/billing/invoice_generator.py b/rbox/billing/invoice_generator.py index 319b1f4..45f57d8 100644 --- a/rbox/billing/invoice_generator.py +++ b/rbox/billing/invoice_generator.py @@ -107,7 +107,7 @@ class InvoiceGenerator: stripe_invoice = await StripeClient.create_invoice( customer_id=subscription.stripe_customer_id, - description=f"RBox Usage Invoice for {period_start.strftime('%B %Y')}", + description=f"MyWebdav Usage Invoice for {period_start.strftime('%B %Y')}", line_items=stripe_line_items, metadata={"rbox_invoice_id": str(invoice.id)} ) @@ -153,7 +153,7 @@ Due Date: {invoice.due_date} You can view and pay your invoice at: {invoice.user.email} # Placeholder, should be a link to invoice page Best regards, -The RBox Team +The MyWebdav Team """ html = f"""
Due Date: {invoice.due_date}
You can view and pay your invoice at: Invoice Link
-Best regards,
The RBox Team
Best regards,
The MyWebdav Team
Hi {user.username},
Welcome to RBox! Your account has been created successfully.
Best regards,
The RBox Team
Hi {user.username},
Welcome to MyWebdav! Your account has been created successfully.
Best regards,
The MyWebdav Team
Password: {share_in.password}
' if share_in.password else ''}This link is valid{expiry_text}.
RBox File Sharing Service
+MyWebdav File Sharing Service