change DCA Admin to DCA Client
This commit is contained in:
parent
0d02f243a9
commit
3f9e3d47ed
9 changed files with 11 additions and 11 deletions
|
|
@ -90,7 +90,7 @@ The global `this.g` object provides access to:
|
|||
|
||||
## Configuration Files
|
||||
|
||||
- `config.json` - Extension configuration (name: "DCA Admin")
|
||||
- `config.json` - Extension configuration (name: "DCA Client")
|
||||
- `manifest.json` - Extension manifest for installation
|
||||
- `pyproject.toml` - Python dependencies and tool configuration
|
||||
- `package.json` - JavaScript dependencies
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# DCA Admin Extension - Technical Specification
|
||||
# DCA Client Extension - Technical Specification
|
||||
|
||||
## Goal
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# DCA Admin Extension for LNBits
|
||||
# DCA Client Extension for LNBits
|
||||
|
||||
A Dollar Cost Averaging (DCA) administration extension for LNBits that integrates with Lamassu ATM machines to automatically distribute Bitcoin to registered clients based on their deposit balances.
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ This extension enables automated Bitcoin distribution from Lamassu ATM transacti
|
|||
### Database Setup
|
||||
|
||||
1. **Configure Lamassu Database Connection**
|
||||
- Navigate to the DCA Admin extension
|
||||
- Navigate to the DCA Client extension
|
||||
- Click "Configure Database" in the sidebar
|
||||
- Enter your Lamassu PostgreSQL connection details:
|
||||
- Host and port
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ logger.debug(
|
|||
)
|
||||
|
||||
|
||||
satmachineclient_ext: APIRouter = APIRouter(prefix="/satmachineclient", tags=["DCA Admin"])
|
||||
satmachineclient_ext: APIRouter = APIRouter(prefix="/satmachineclient", tags=["DCA Client"])
|
||||
satmachineclient_ext.include_router(satmachineclient_generic_router)
|
||||
satmachineclient_ext.include_router(satmachineclient_api_router)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "DCA Admin",
|
||||
"name": "DCA Client",
|
||||
"short_description": "Dollar Cost Averaging administration for Lamassu ATM integration",
|
||||
"tile": "/satmachineclient/static/image/aio.png",
|
||||
"min_lnbits_version": "1.0.0",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# DCA Admin Extension Database Migrations
|
||||
# DCA Client Extension Database Migrations
|
||||
# Creates all necessary tables for Dollar Cost Averaging administration
|
||||
# with Lamassu ATM integration
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ window.app = Vue.createApp({
|
|||
delimiters: ['${', '}'],
|
||||
data: function () {
|
||||
return {
|
||||
// DCA Admin Data
|
||||
// DCA Client Data
|
||||
dcaClients: [],
|
||||
deposits: [],
|
||||
lamassuTransactions: [],
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@
|
|||
<q-card>
|
||||
<q-card-section>
|
||||
<h6 class="text-subtitle1 q-my-none">
|
||||
{{SITE_TITLE}} DCA Admin Extension
|
||||
{{SITE_TITLE}} DCA Client Extension
|
||||
</h6>
|
||||
<p>
|
||||
Dollar Cost Averaging administration for Lamassu ATM integration. <br />
|
||||
|
|
|
|||
4
views.py
4
views.py
|
|
@ -1,4 +1,4 @@
|
|||
# Description: DCA Admin page endpoints.
|
||||
# Description: DCA Client page endpoints.
|
||||
|
||||
from fastapi import APIRouter, Depends, Request
|
||||
from fastapi.responses import HTMLResponse
|
||||
|
|
@ -13,7 +13,7 @@ def satmachineclient_renderer():
|
|||
return template_renderer(["satmachineclient/templates"])
|
||||
|
||||
|
||||
# DCA Admin page
|
||||
# DCA Client page
|
||||
@satmachineclient_generic_router.get("/", response_class=HTMLResponse)
|
||||
async def index(req: Request, user: User = Depends(check_user_exists)):
|
||||
return satmachineclient_renderer().TemplateResponse(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue