Commit graph

5058 commits

Author SHA1 Message Date
78840f115f fix: correct LNBits newFunding return format for funding page
Updates the newFunding function to return the expected interface:
- fundingPendingBalance: BN(0) for Lightning Network
- fundingConfirmedBalance: actual wallet balance as BN object
- fundingAddress: bolt11 invoice for funding

This fixes the TypeError "Cannot read properties of undefined (reading
'minus')"
that occurred when accessing the funding page in the admin UI.
2025-10-12 14:24:29 +02:00
c58e4e330c fix: update LNBits payment request handling
- Changed the response handling in the newAddress function to return the bolt11 invoice instead of the payment request.
- Updated error message to reflect the change in response structure from LNBits.
2025-10-12 14:24:29 +02:00
7ebd809abc feat: implement LNURL payment handling in LNBits plugin
- Added a new function to handle LNURL payments, allowing users to send payments via LNURL addresses.
- Integrated LNURL payment processing into the existing sendCoins function, enhancing the wallet's capabilities for Lightning Network transactions.
2025-10-12 14:24:29 +02:00
31f1208046 feat: add bolt11 library for Lightning Network invoice handling
- Included the bolt11 library in the server package to facilitate the creation and parsing of Lightning Network invoices.
2025-10-12 14:24:29 +02:00
ee625a91e9 feat: integrate LNBits wallet schema and configuration
- Added LNBits wallet schema to the admin UI, including validation and input components.
- Updated the services index to include LNBits in the available wallet options.
- Enhanced the wallet selection component to handle LNBits configuration input.
2025-10-12 14:24:29 +02:00
0f64df1d69 refactor: update LNBits migration to use configuration object
- Replaced SQL statements with a configuration object for LNBits settings, enhancing code clarity and maintainability.
- Simplified the migration process by utilizing the saveConfig function for applying configurations.
- Marked the down migration as a no-op to prevent breaking existing configurations.
2025-10-12 14:24:29 +02:00
abe45c49f1 refactor: streamline LNBits migration SQL statements
- Updated the migration script for LNBits configuration to use an array for SQL statements, improving readability and maintainability.
- Consolidated the insertion and deletion operations for user configuration related to LNBits and Lightning Network wallet options.
2025-10-12 14:24:29 +02:00
67f62169d1 chore: add placeholder migration files for previously applied migrations
- Introduced placeholder migration files to satisfy the migration system for various compliance triggers and machine groups.
- Each file includes no-op functions for both 'up' and 'down' migrations, indicating that the migrations were already applied to the database.
2025-10-12 14:24:29 +02:00
fc761844b7 feat: add LNBits wallet plugin integration
- Introduced LNBits as a Lightning Network wallet provider for Lamassu ATMs.
- Added configuration options for LNBits in the environment variables.
- Implemented core functionalities including invoice creation, payment processing, balance monitoring, and payment status tracking.
- Created unit tests for the LNBits plugin to ensure functionality and error handling.
- Updated development environment setup to include LNBits configuration.
2025-10-12 14:24:29 +02:00
2f0cc901eb miscellaneous files 2025-10-12 14:24:29 +02:00
Rafael Taranto
3c26a15ffe chore: version bump 2025-07-31 09:18:26 +01:00
Rafael Taranto
36e051af8d Merge pull request #1926 from RafaelTaranto/fix/receipt-paper-null
LAM-1498 fix: receipt paper null
2025-07-25 10:57:48 +01:00
Rafael Taranto
a6f4037041 fix: receipt paper null 2025-07-25 08:44:32 +01:00
Rafael Taranto
9a01056212 chore: version bump 2025-07-23 15:30:24 +01:00
Rafael Taranto
44410fe2a8 Merge pull request #1923 from RafaelTaranto/chore/log-exchange-error-on-getMarkets
LAM-1499 chore: log exchange errors on getMarkets
2025-07-23 14:38:10 +01:00
Rafael Taranto
bc4d41951a Merge pull request #1921 from RafaelTaranto/fix/coin-change-with-empty-box
LAM-1496 fix: coin change with empty box
2025-07-23 14:37:46 +01:00
Rafael Taranto
5c2046e6d0 chore: log exchange errors on getMarkets 2025-07-23 08:48:20 +01:00
Rafael Taranto
f05591e4cf Merge pull request #1922 from RafaelTaranto/fix/email-redeem
LAM-1493 fix: email redeem
2025-07-23 08:47:03 +01:00
Rafael Taranto
bb91cac810 fix: coin change with empty box 2025-07-23 08:46:45 +01:00
Rafael Taranto
d3a2559429 chore: use same standard as other routes 2025-07-20 13:12:16 +01:00
Rafael Taranto
dfe512895a fix: redeem with email 2025-07-20 13:10:54 +01:00
CrypticaScriptura
278a53732d chore: v11.0.0-beta.4 (#1919) 2025-07-15 19:55:34 -04:00
Rafael Taranto
98ab1d7dd1 Merge pull request #1912 from RafaelTaranto/fix/contact-information-toggle
LAM-1492 fix: contact information toggle
2025-07-15 16:08:45 +01:00
Rafael
d0b9a807bb fix: contact info toggle save 2025-07-11 15:09:06 +01:00
CrypticaScriptura
f596411cb9 chore: v11.0.0-beta.3 (#1910) 2025-07-10 13:17:41 -04:00
Rafael Taranto
ec38e7ad87 Merge pull request #1908 from RafaelTaranto/fix/batch-diagnostics
LAM-1425 fix: batch diagnostics
2025-07-10 13:50:16 +01:00
Rafael Taranto
7ed9b88ccd Merge pull request #1909 from siiky/fix/lam-1489/include-re-paired-machine-bills
LAM-1489 fix: includes bills from re-paired machines
2025-07-10 13:49:57 +01:00
siiky
325d7ad511 fix: includes bills from re-paired machines 2025-07-10 10:45:22 +01:00
Rafael Taranto
3fc90e188a fix: batch diagnostics 2025-07-10 10:10:59 +01:00
Rafael Taranto
ac534e0cec chore: version bump 2025-07-09 09:35:02 +01:00
CrypticaScriptura
750ca291f8 chore: v11.0.0-beta.2 (#1907) 2025-07-08 14:24:47 -04:00
Rafael Taranto
5c7fae5cbf Merge pull request #1906 from RafaelTaranto/fix/manual-data-entry-ui
LAM-1483 fix: manual data entry UI
2025-07-07 12:19:32 +01:00
Rafael Taranto
72a749acfc fix: manual data entry UI 2025-07-07 11:20:45 +01:00
Rafael Taranto
c5f38f0572 Merge pull request #1902 from RafaelTaranto/fix/cash-unit-loading
LAM-1480 fix: ramda range now requires an int
2025-07-03 14:10:20 +01:00
Rafael Taranto
4efd40e1dd Merge pull request #1903 from RafaelTaranto/fix/customer-sidebard-rerenders
LAM-1479 fix: prevent customer sidebar from re-rendering
2025-07-03 14:09:49 +01:00
Rafael Taranto
1057cc2dd0 Merge pull request #1904 from siiky/refactor/lam-1137/machine-status
LAM-1137 feat: add _Booting up_ and _Stuck booting up_ machine statuses
2025-07-03 14:07:13 +01:00
siiky
8654ad0b19 feat: add _Stuck booting up_ machine status 2025-07-02 12:52:09 +01:00
siiky
9ad884be5d feat: add _Booting up_ machine status 2025-07-02 12:52:07 +01:00
siiky
ff3c51623f refactor: prepare machine statuses code for new statuses 2025-07-02 12:52:00 +01:00
siiky
f7c42992d8 feat: don't try to parse already-parsed JSON note 2025-07-02 12:51:55 +01:00
siiky
dec172576c refactor: clarify machine pings object construction 2025-07-02 12:51:51 +01:00
Rafael Taranto
8d1428c399 fix: prevent customer sidebar from re-rendering 2025-07-02 08:55:24 +01:00
Rafael Taranto
5d15895d03 fix: ramda range now requires an int 2025-07-01 16:56:48 +01:00
Rafael Taranto
f49b8f4f46 Merge pull request #1900 from RafaelTaranto/fix/duplicated-empty-table-on-cash-units
LAM-1475 fix: duplicated empty table on cash units
2025-06-30 12:53:45 +01:00
Rafael Taranto
d2d8668540 fix: duplicated empty table on cash units 2025-06-30 11:55:21 +01:00
Rafael Taranto
6b1e966305 Merge pull request #1899 from RafaelTaranto/fix/fiat-balance-overrides-not-saving
LAM-1469 fix: fiat balance overrides not saving
2025-06-30 11:29:22 +01:00
Rafael Taranto
8cc1db27fa Merge pull request #1898 from RafaelTaranto/fix/fiat-balance-recycler-label
LAM-1470 fix: fiat balance notification recycler label
2025-06-30 11:29:01 +01:00
Rafael Taranto
f3ef99c6aa fix: fiat balance overrides not saving 2025-06-30 07:26:05 +01:00
Rafael Taranto
15e4cba0dc fix: fiat balance notification recycler label 2025-06-30 07:17:41 +01:00
Rafael Taranto
2464012256 Merge pull request #1897 from RafaelTaranto/fix/footer-spacing-wizard
fix: footer spacing on wizard
2025-06-30 07:12:07 +01:00