Commit graph

158 commits

Author SHA1 Message Date
033e329870 Add crediting functionality for source wallet in transaction processing: implement credit_source_wallet method to credit the source wallet with the full crypto amount from Lamassu transactions. Update process_transaction method to call this new functionality before calculating DCA distributions, ensuring accurate wallet balance management. 2025-06-19 16:58:44 +02:00
1c1f358d82 Add source wallet ID support for DCA distributions: update Lamassu configuration to include source_wallet_id, modify related models and CRUD operations, and enhance transaction processing to utilize the configured source wallet for payments. Update UI components to allow selection of the source wallet. 2025-06-19 16:35:11 +02:00
1388133f22 Add DCA payment sending functionality in LamassuTransactionProcessor: implement send_dca_payment method to create and send Bitcoin payments to clients' wallets, including invoice creation and error handling. Update transaction processing to log payment success or failure. 2025-06-19 16:09:06 +02:00
c5755d48d1 Refactor transaction fetching in LamassuTransactionProcessor: update SQL query to filter for confirmed and authorized transactions, ensuring only valid dispenses are retrieved. Adjust transaction time field to use confirmed_at for improved accuracy. 2025-06-19 10:35:54 +02:00
63638c089f Enhance DCA system documentation: add detailed progress updates on completed features, current state, next steps, and technical implementation details. Include sections on SSH-based database polling, transaction processing, smart poll tracking, client management, admin interface, and database schema. 2025-06-18 17:30:26 +02:00
2bc9a00c47 Implement client username display in myextension: add getClientUsername method to retrieve usernames for clients and update the UI to show usernames instead of client IDs in the table. 2025-06-18 17:06:54 +02:00
b615ed0504 Add username field to DCA clients: update database schema, CRUD operations, and UI components to support username functionality for improved user experience. 2025-06-18 17:04:54 +02:00
1d9cda3931 change myextension icon to aio graphic 2025-06-18 16:46:54 +02:00
c63785f6b9 Update commission percentage handling in transaction processing: adjust logic to use decimal values directly from transaction data, which is how Lamassu stores them 2025-06-18 16:40:41 +02:00
33b148415f Refactor commission and exchange rate calculations in transaction processing: update logic to derive base crypto amount from total crypto, enhance logging to reflect base amounts for DCA distribution, and ensure accurate client share calculations based on base amounts. 2025-06-18 16:36:53 +02:00
ba03953291 Update transaction processing to include discount in commission calculations: adjust effective commission logic, enhance logging for transaction details, and ensure accurate net crypto distribution for clients. 2025-06-18 16:33:18 +02:00
e00eb0f88c Enhance transaction processing to include discount handling: update commission calculation to account for discounts, improve logging for transaction details, and adjust client distribution logic to reflect net crypto amounts after commission and discounts. 2025-06-18 16:33:10 +02:00
ac2b0f539c Implement date and time formatting for polling information in Lamassu configuration: add formatDateTime method to enhance date display, update UI to utilize new formatting for last poll and last successful poll timestamps. 2025-06-18 16:14:33 +02:00
a4c5d11d99 Refactor transaction fetching logic in LamassuTransactionProcessor: update query to retrieve all transactions since the threshold, filter out already processed transactions using local database, and enhance logging to provide detailed insights on new transactions. 2025-06-18 16:07:33 +02:00
a107f825af Add last poll tracking to Lamassu configuration: update database schema to include last_poll_time and last_successful_poll fields, modify CRUD operations to record poll times, and enhance transaction processing to utilize these timestamps for improved polling accuracy. 2025-06-18 15:56:55 +02:00
3c6262b309 Refactor transaction processing to utilize SSH for database queries: implement execute_ssh_query method, enhance error handling, and update connection testing steps. Modify API to fetch transactions via SSH configuration, improving security and reliability. 2025-06-18 15:37:00 +02:00
c4ab8c27ef Enhance SSH tunnel functionality in transaction processing: implement subprocess-based SSH tunnel as a fallback, improve error handling, and add detailed connection testing with step-by-step reporting. Update API to utilize new testing method and enhance UI to display detailed results. 2025-06-18 15:33:51 +02:00
8f046ad0c5 Add SSH tunnel support to Lamassu configuration: update database schema, models, and UI components to include SSH settings. Implement SSH tunnel setup and teardown in transaction processing for enhanced security. 2025-06-18 13:40:30 +02:00
1f7999a556 Add Lamassu database configuration: implement CRUD operations, polling tasks, and UI components for managing database settings. Introduce hourly transaction polling and manual poll functionality. 2025-06-18 10:56:05 +02:00
c9f7140d95 Refactor total DCA balance calculation: remove redundant state variable and update computed property to directly calculate balance from deposits. 2025-06-18 10:08:44 +02:00
46b7a1450d Add temporary DCA client creation endpoint for testing and enhance quick deposit UI with new form for adding deposits. Clean up code formatting for consistency. 2025-06-17 20:09:53 +02:00
b3332e585a Refactor DCA client management: remove CRUD operations for clients and update UI to focus on deposit management. Introduce quick deposit form for existing clients. 2025-06-17 19:28:53 +02:00
7bafc67370 Add DCA admin extension with CRUD operations for clients and deposits, including UI components for managing deposits and client details. 2025-06-17 19:26:31 +02:00
1196349cbc Remove the FOREIGN KEY constraints which can cause issues in SQLite; clean up the syntax 2025-06-17 18:30:09 +02:00
22ebdc76bb Add DCA CRUD operations and models for clients, deposits, and payments 2025-06-17 18:29:23 +02:00
a8e1918633 add project specification files 2025-06-17 18:18:44 +02:00
5d77957b55 create claude.md 2025-06-17 18:15:28 +02:00
arcbtc
95af4d58b0 removed old reactionwebsocket 2025-02-13 22:20:58 +00:00
Arc
532cd08698 fixed update 2024-11-19 01:23:51 +00:00
Arc
dd1dea90c1 quickfix 2024-11-19 00:57:27 +00:00
Arc
2b0281857a Merge pull request #3 from lnbits/feat_lnurl_v1
another v1 fixup + moved lnurl stuff to models
2024-11-18 22:47:16 +00:00
Arc
911aabd7d7 Working 2024-11-18 22:45:33 +00:00
Arc
08dad16611 Mostly working 2024-11-18 21:54:27 +00:00
Arc
5a2ba743cf Added lnurl helper, and I hate mypy 2024-11-18 20:49:24 +00:00
Arc
a8e05612da pulled out js 2024-11-18 15:55:21 +00:00
Arc
451e89682e Improved comment 2024-11-18 15:49:09 +00:00
Arc
5e988aa9f7 cleaned up api 2024-11-18 15:46:06 +00:00
Arc
5bdc334249 Merge branch 'v1' into feat_lnurl_v1 2024-11-18 13:44:41 +00:00
Arc
291428313e missed await 2024-11-18 13:32:00 +00:00
Arc
5549ef91f4 changed icon 2024-11-18 13:26:02 +00:00
Arc
8b2b36a4f9 another v1 fixup + moved lnurl stuff to models 2024-11-15 00:06:28 +00:00
dni ⚡
48b1069a9f feat: update to v1.0.0 2024-10-21 14:38:03 +02:00
dni ⚡
42b5edaf5d feat: code quality
format

add ci

fixup ci
2024-08-13 08:20:45 +02:00
benarc
09bb033f85 updated release 2024-07-20 18:36:40 +01:00
benarc
db47653ca6 Cleanup 2024-07-20 18:27:05 +01:00
benarc
727eb66aef removed logs 2024-06-05 13:09:17 +01:00
benarc
f463c8ad2d fixed routes 2024-06-05 12:53:22 +01:00
benarc
5fccd3c9c6 Updated listener task to most recent 2024-06-05 12:23:28 +01:00
Arc
df48d2c638 Delete __pycache__ directory 2024-06-04 13:02:40 +01:00
benarc
a4cad01c16 updated description + added gitignore 2024-06-04 13:00:37 +01:00