Commit graph

164 commits

Author SHA1 Message Date
315bcae4ca Add client registration functionality: Implement API endpoint for client self-registration, including validation and error handling. Update frontend to support registration form and status checks, enhancing user experience for DCA clients. 2025-10-12 14:36:12 +02:00
c86d650e5a Refactor API authentication: Replace 'require_invoice_key' with 'require_admin_key' for dashboard endpoints to restrict access to admin users only. Update related frontend API calls to use 'adminkey' instead of 'inkey' for consistency. 2025-10-12 14:36:12 +02:00
74b7d0f9a3 Update database schema references in CRUD operations: Change all instances of 'satmachineadmin' to 'satoshimachine' in SQL queries and database connection to reflect the new schema name. 2025-10-12 14:36:12 +02:00
08fe66cc5a change font style/color 2025-10-12 14:36:12 +02:00
5f9cc828b3 Refine DCA dashboard display: Simplify text and enhance active stacking indicator with a new badge and spinner for improved user feedback when conditions are met. 2025-10-12 14:36:12 +02:00
9c0e3db828 Enhance DCA dashboard display: Add spinner and active stacking indicator to the dashboard for improved user feedback when current fiat balance is positive and DCA status is active. 2025-10-12 14:36:12 +02:00
a042745c04 Enhance milestone progress calculation and logging: Add detailed logging for the milestone progress function to aid in debugging and improve handling of cases with no dashboard data. Update HTML to display progress with two decimal places for better precision. 2025-10-12 14:36:12 +02:00
0962573176 Improve chart loading logic and state management: Enhance loading state handling to prevent conflicts during chart initialization, add detailed logging for better debugging, and ensure proper cleanup of existing charts before creating new ones. Implement checks to skip chart creation if the loading state changes, improving overall user experience. 2025-10-12 14:36:12 +02:00
9e65f05906 Enhance chart styling and interactivity: Improve placeholder chart appearance with enhanced styling, update Chart.js configuration for better visual clarity, and add tooltip functionality for displaying values in a user-friendly format. 2025-10-12 14:36:12 +02:00
6da61d953b Enhance chart loading and validation logic: Introduce loading state management to prevent multiple simultaneous requests, improve data validation for cumulative sats and labels, and add detailed logging for better debugging. Update HTML to ensure chart canvas is always rendered and disable button during loading. 2025-10-12 14:36:12 +02:00
d50033f834 Refactor cumulative sats chart logic: Implement timeline data usage for cumulative calculations, enhancing accuracy and performance. Introduce fallback mechanism to group cost basis history by date, ensuring unique entries and improved chart rendering. Add detailed chart configuration for better user interaction and visual clarity. 2025-10-12 14:36:12 +02:00
fee7ba13b2 Enhance date handling in analytics: Improve date parsing logic to correctly handle ISO strings with timezone information, ensuring accurate local date representation. Add debug logging for raw and formatted dates to aid in troubleshooting. 2025-10-12 14:36:12 +02:00
955eddd817 Improve error handling and data validation in client analytics: Update API to return empty analytics data instead of raising an error when no data is available. Enhance date formatting checks in analytics calculations and frontend chart rendering to ensure robustness against invalid date formats. 2025-10-12 14:36:12 +02:00
234daebef7 update and fix 2025-10-12 14:36:12 +02:00
c3adc37d84 Enhance DCA dashboard styling: Update text styles for improved emphasis on transaction data and milestones, including bolding key metrics and adjusting font sizes for better visual hierarchy. 2025-10-12 14:36:12 +02:00
a292f48544 replace 'sessions' with 'purchases' 2025-10-12 14:36:12 +02:00
733fbdd0b4 Update circular progress component styles: Adjust thickness and color properties for improved visual consistency in milestone tracking display. 2025-10-12 14:36:12 +02:00
7e030c5d0a Refactor milestone tracking: Introduce a new method to determine the next milestone based on total sats accumulated, and update progress calculations accordingly. Adjust frontend to display progress towards the next milestone and enhance user feedback with additional milestone indicators. 2025-10-12 14:36:12 +02:00
08e5cc20e3 Remove Bitcoin icon from DCA dashboard header for a cleaner visual presentation, maintaining focus on the content. 2025-10-12 14:36:12 +02:00
35060b01d7 Refactor dashboard icons: Replace icon components with emoji representations for improved visual appeal and clarity in the DCA dashboard, enhancing user engagement. 2025-10-12 14:36:12 +02:00
272041f8bb Enhance DCA dashboard: Add excitement to sat formatting for larger amounts, implement refresh functionality with notifications for data loading errors, and introduce stacking milestones and DCA tips sections for improved user engagement and insights. 2025-10-12 14:36:12 +02:00
1730c5cd81 Refactor transaction table: Disable sorting for transaction fields and streamline date formatting in the dashboard display for improved clarity and consistency. 2025-10-12 14:36:12 +02:00
9c4b7a307a improve frontend layout with a new table format for better user experience and clarity in transaction details. 2025-10-12 14:36:12 +02:00
79d29f52a1 Enhance transaction history display: Update SQL query and model to include transaction time 2025-10-12 14:36:12 +02:00
3d0fc9c910 Add fiat value toggle functionality: Introduce a button to show/hide fiat values in the dashboard, enhancing user control over displayed financial data. 2025-10-12 14:36:12 +02:00
fdf41c016a Update dashboard card styles: Change background colors and text classes for current value and unrealized gain/loss sections to enhance visual clarity and user experience. 2025-10-12 14:36:12 +02:00
591036aa54 Update dashboard summary calculations: Adjust unrealized gain/loss metrics to include current fiat balance alongside Bitcoin holdings, enhancing accuracy in financial insights for users. 2025-10-12 14:36:12 +02:00
9821be0406 Enhance client dashboard summary: Add current fiat value of Bitcoin holdings and wallet currency to the summary metrics. Update model and frontend to display current value and unrealized gains/losses, improving financial insights for users. 2025-10-12 14:36:12 +02:00
e05404fcab Enhance client dashboard summary: Add pending fiat deposits to the summary metrics and update the model and frontend to display pending deposits, improving visibility of cash awaiting confirmation for DCA processing. 2025-10-12 14:36:12 +02:00
9ea8c37940 Enhance client dashboard summary calculations: Update SQL queries to accurately reflect total confirmed and pending deposits, and adjust metrics for average cost basis and remaining balance. Modify API and frontend to ensure values are in full currency units, improving clarity and consistency in financial data representation. 2025-10-12 14:36:12 +02:00
4f0d2adf2a Refactor DCA dashboard components: Update Vue.js app structure and improve HTML template for better loading and error handling. Enhance dashboard layout with new card sections for summary and recent transactions, and add a sidebar for quick stats. Clean up unused methods and streamline data rendering. 2025-10-12 14:36:12 +02:00
f779d000b4 Update client API and frontend for DCA dashboard: Modify API endpoints to correctly reference wallet user, enhance Vue.js component with loading and error states, and implement data fetching for dashboard summary and transactions. Update HTML template to reflect new client extension structure and improve user experience with dynamic content rendering. 2025-10-12 14:36:12 +02:00
cc12d68953 Refactor client extension: Remove background task functionalities and transaction processing logic, simplifying the client extension to a read-only dashboard. Update related imports and clean up code for improved maintainability. 2025-10-12 14:36:12 +02:00
1570e7ba95 Refactor CRUD operations for client extension: Update database interactions to focus on the admin extension, streamline client dashboard functionalities, and enhance transaction history retrieval. Remove legacy DCA client references and improve code organization for better maintainability. 2025-10-12 14:36:12 +02:00
32e8f31b82 Refactor client API endpoints for DCA dashboard: Update endpoint structure to focus on client-specific functionalities, including dashboard summary, transaction history, and analytics. Enhance code readability with improved formatting and add support for exporting transaction data in CSV format. 2025-10-12 14:36:12 +02:00
edb0b4d05e Refactor migrations and models for client extension: Remove legacy DCA migration functions and simplify database schema. Update Pydantic models to reflect new client dashboard structure, consolidating and renaming classes for clarity and relevance to client extension functionality. 2025-10-12 14:36:12 +02:00
8328861e22 Clear out 2025-10-12 14:36:12 +02:00
462c93d18d move to parent directory 2025-10-12 14:36:12 +02:00
3f9e3d47ed change DCA Admin to DCA Client 2025-10-12 14:36:12 +02:00
0d02f243a9 change dcaAdmin to dcaClient 2025-10-12 14:36:12 +02:00
9b04d1af6c replace satmachineadmin varieties with satmachineclient; update pyprojec.toml 2025-10-12 14:36:12 +02:00
5a09c76ba4 update CLAUDE.md 2025-10-12 14:35:46 +02:00
30fa638c4e update manifest 2025-10-12 14:35:46 +02:00
6db94179cc Replace [mM]yextension with [sS]at[mM]achine[aA]dmin 2025-06-20 22:16:58 +02:00
896ca5f3ca Refactor DCA Admin migration script: Simplify and consolidate database schema creation for Dollar Cost Averaging administration, including DCA clients, deposits, payments, and Lamassu configuration. Remove legacy migration functions and enhance clarity with updated table structures and comments. 2025-06-20 22:10:16 +02:00
75dd03b15a Refactor MyExtension to DCA Admin: Update extension name and description in config.json, remove legacy MyExtension CRUD operations and related API endpoints, and adjust router tags. Clean up unused files and methods to streamline the codebase for DCA administration functionality.
Refactor DCA Admin page endpoints: Update description, remove unused CRUD operations and API endpoints related to MyExtension, and streamline the code for improved clarity and functionality.

Remove QR Code dialog from MyExtension index.html: streamline the UI by eliminating unused dialog components, enhancing code clarity and maintainability.
2025-06-20 22:00:41 +02:00
edca91579c Update README.md to provide comprehensive documentation for DCA Admin Extension: include detailed overview, features, installation instructions, configuration management, usage guidelines for administrators and end users, technical details, and troubleshooting tips. Enhance clarity and usability for developers integrating with Lamassu ATM transactions.
fix
2025-06-20 02:00:21 +02:00
1af15b6e26 Add Lamassu transaction endpoints and UI integration: implement API endpoints for retrieving all processed Lamassu transactions and specific transaction details, including distribution information. Enhance frontend to display transaction data in a table format with export functionality and detailed views for distributions, improving user experience and data accessibility. 2025-06-20 01:37:31 +02:00
dc35cae44e Add CRUD operations for Lamassu transactions: implement create, retrieve, and update functions for storing processed Lamassu transactions in the database. Enhance migration script to create the necessary database table and update models to include transaction data structures. Integrate transaction storage into the LamassuTransactionProcessor for improved audit and UI display capabilities. 2025-06-20 00:49:46 +02:00
c38a20b6da Enhance transaction detail extraction in LamassuTransactionProcessor: implement None-safe defaults for transaction fields and add validation checks for required fields, improving error handling and logging for missing data. 2025-06-20 00:16:33 +02:00