dni ⚡
672a5b3a4d
fix: pay with nfc endpoint + add perform_withdraw ( #3352 )
2025-09-10 14:52:47 +02:00
dni ⚡
67c92a79cf
chore: update lnurl to v0.8.2 ( #3347 )
2025-09-03 17:17:48 +03:00
dni ⚡
213bde61a8
CI: add poetry lock file check job and update poetry lock ( #3343 )
2025-09-02 19:50:59 +03:00
dni ⚡
244de2ae86
chore: update lnurl to v0.8.0 ( #3326 )
2025-08-21 16:36:11 +02:00
dni ⚡
5ba06d42d0
feat: use uv instead of poetry for CI, docker and development ( #3325 )
...
Co-authored-by: arcbtc <ben@arc.wales>
2025-08-21 16:17:19 +02:00
dni ⚡
67dc096909
feat: use pydantic mypy plugin to have improved linting of models ( #3311 )
2025-08-19 11:37:00 +02:00
dni ⚡
2daddf8b74
chore: update lnurl to v0.7.3 ( #3320 )
2025-08-19 11:34:19 +02:00
dni ⚡
c24d2f24cf
fix: bump lnurl its not callback_url now, its just url ( #3312 )
2025-08-18 09:18:11 +02:00
dni ⚡
a36ab2d408
feat: update lnurl lib refactor lnurl endpoints ( #3271 )
2025-07-17 17:03:44 +03:00
dni ⚡
98f732fb6f
chore: update fastapi an starlette ( #3277 )
2025-07-17 16:41:54 +03:00
dni ⚡
fbfab880f3
chore: replace passlib with bcrypt ( #3279 )
2025-07-17 14:58:43 +03:00
Vlad Stan
4bd2a4fba9
chore: upgrade protobuf ( #3252 )
2025-07-15 11:14:29 +02:00
dni ⚡
69a7ef74fd
CI: fix using all optional dependecies ( #3251 )
2025-07-15 11:14:27 +02:00
Vlad Stan
fa89313e6f
[fix] bandit assert warnings ( #3243 )
...
Co-authored-by: dni ⚡ <office@dnilabs.com>
2025-07-15 11:14:23 +02:00
Vlad Stan
e0749e186e
[fix] Small bandit changes ( #3241 )
2025-07-15 11:14:20 +02:00
Riccardo Balbo
0529ee2835
feat: add Breez *Liquid* SDK funding source ( #2681 )
...
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
Co-authored-by: dni ⚡ <office@dnilabs.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2025-07-15 11:14:19 +02:00
dni ⚡
a16078a6ba
chore: update python packages + formatting + cleanup ( #3221 )
2025-07-08 10:17:27 +02:00
dni ⚡
ff24847980
feat: add nostr-sdk library ( #3217 )
2025-06-25 13:58:20 +03:00
Arc
659ec31edd
CI: lnbits-boltz docker, for those who want instant payments + boltz funding source UX tweak ( #3192 )
...
Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
Co-authored-by: dni ⚡ <office@dnilabs.com>
2025-06-25 12:20:46 +02:00
dni ⚡
55889abd88
chore: update poetry, disable nix workflow and python package updates ( #3213 )
2025-06-24 18:09:48 +02:00
dni ⚡
d774c7a742
security: update package h11 ( #3127 )
2025-04-28 15:32:32 +02:00
dni ⚡
1323a2005b
feat: cleanup on library dir creation and upload endpoints ( #3069 )
2025-04-01 10:27:11 +03:00
dni ⚡
c5964436b5
fix: python versions were defined incorrectly and remove 3.9 ( #3006 )
...
* chore: update requirements to python3.10
* chore: format RUF007 rule for py310
* wrongly specified python version
python3.13 there is a greenlet build error
2025-03-03 12:53:30 +01:00
dni ⚡
8c59f3f4ae
feat: add python-multipart for uploads ( #2873 )
2025-02-24 12:20:34 +02:00
Pavol Rusnak
cb5cc1e5e8
make things work with Python 3.13 + fix Nix ( #2908 )
...
* update pyproject to make things work with python 3.13
* fix nix build
2025-01-23 23:11:45 +02:00
Vlad Stan
b6bdf50ed7
[feat] Watchdog and notifications ( #2895 )
2025-01-23 13:23:09 +02:00
dni ⚡
8fa5c81088
chore: update to breez-sdk 0.6.6 ( #2878 )
...
* chore: update to breez-sdk 0.6.6
---------
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2025-01-10 11:56:10 +01:00
dni ⚡
368da935db
chore: update to corelightning 24.11 ( #2836 )
2024-12-17 10:02:34 +02:00
Vlad Stan
524a4c9213
[feat] custom exchange providers ( #2797 )
2024-12-13 14:01:54 +02:00
dni ⚡
291c69e470
chore: update to latest pytest ( #2800 )
2024-12-11 11:39:28 +02:00
Pavol Rusnak
80ec9e1307
update starlette and fastapi ( #2737 )
2024-10-16 07:00:12 +02:00
dni ⚡
21d87adc52
mega chore: update sqlalchemy ( #2611 )
...
* update sqlalchemy to 1.4
* async postgres
---------
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-09-24 10:56:03 +02:00
dni ⚡
e8a6870d7a
fix: update lnurl for backwards compatibility ( #2666 )
2024-09-03 12:03:26 +02:00
Pavol Rusnak
ab3eb967b4
chore: update pyproject dependencies ( #2619 )
2024-09-03 11:09:36 +02:00
dni ⚡
1900cf9aa4
feat: add boltz client fundingsource ( #2358 )
...
* feat: add boltz client standalone fundingsource
WIP.
https://docs.boltz.exchange/v/boltz-client
this fundingsource utilizing the boltz client standalone function: https://github.com/BoltzExchange/boltz-client/pull/123
this makes him act like a lightning node while submarine swapping everything on liquid network. like aqua does in its wallet.
* feat: paid_invoices_stream
* feat: proper invoice and payment status check
* feat: authenticate over insecure channel aswell
* chore: lint
* docs: add more setup instructions
* chore: add `boltz_client_cert` in frontend
* feat: populate fee_msat in get_payment_status and get_invoice_status
* fixup!
* chore: bundle
* added boltz logo
* add BoltzWallet to __all__
* chore: bump grpcio and protobuf deps and add grpcio-tools as dev dependency
* chore: update protos
* feat: pass description when creating swap
* fixup!
* chore: bundle
---------
Co-authored-by: jackstar12 <jkranawetter05@gmail.com>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-08-20 10:38:30 +01:00
Ross Savage
fb585402dd
update breez-sdk to 0.5.2 ( #2639 )
2024-08-14 15:42:12 +01:00
callebtc
0015314e11
feat: add Breez SDK wallet ( #1897 )
...
* add Breez SDK wallet
* use more description status classes
* fix: add try-except
---------
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
Co-authored-by: dni ⚡ <office@dnilabs.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2024-08-06 10:06:21 +02:00
Pavol Rusnak
19c231a2f4
chore: update pyln-client to 24.5 ( #2614 )
2024-07-30 18:04:28 +02:00
Pavol Rusnak
b14d36a0aa
chore(deps): replace python-jose with pyjwt ( #2591 )
...
python-jose had no release since 3 years
2024-07-24 10:42:47 +02:00
Pavol Rusnak
eda7e35c61
chore: update python deps ( #2586 )
2024-07-16 07:59:04 +02:00
Gonçalo Valério
7a6c3646fb
Fix: Wrong expiration date in invoice details ( #2506 )
...
* invoices without the x tag, should be assumed to take 3600 seconds to expire
* update bolt11 package and use built in method to calculate the invoice expiry date
* fix linter errors
2024-05-16 13:48:58 +01:00
Pavol Rusnak
f5293ca645
fix: compatibility with Python 3.12 ( #2463 )
...
by updating grpc a uvloop dependencies to latest
2024-04-24 08:39:41 +02:00
Vlad Stan
69ce0e565b
[test] create unit-test framework for RPC wallets ( #2396 )
...
---------
Co-authored-by: dni ⚡ <office@dnilabs.com>
2024-04-15 17:24:28 +02:00
Vlad Stan
bfda0b62da
test: add unit tests for wallets (funding sources) ( #2363 )
...
* test: initial commit
* feat: allow external label for `create_invoice` (useful for testing)
* chore: code format
* fix: ignore temp coverage files
* feat: add properties to the Status classes for a better readability
* fix: add extra validation for data
* fix: comment out bad `status.pending` (to be fixed in core)
* fix: 404 tests
* test: first draft of generic rest wallet tests
* test: migrate two more tests
* feat: add response type
* feat: test exceptions
* test: extract first `create_invoice` test
* chore: reminder
* add: error test
* chore: code format
* chore: experiment
* feat: adapt parsing
* refactor: data structure
* fix: some tests
* refactor: extract methods
* fix: make response uniform
* fix: test data
* chore: clean-up
* fix: uniform responses
* fix: user agent
* fix: user agent
* fix: user-agent again
* test: add `with error` test
* feat: customize test name
* fix: better exception handling for `status`
* fix: add `try-catch` for `raise_for_status`
* test: with no mocks
* chore: clean-up generalized tests
* chore: code format
* chore: code format
* chore: remove extracted tests
* test: add `create_invoice`: error test
* add: test for `create_invoice` with http 404
* test: extract `test_pay_invoice_ok`
* test: extract `test_pay_invoice_error_response`
* test: extract `test_pay_invoice_http_404`
* test: add "missing data"
* test: add `bad-json`
* test: add `no mocks` for `create_invoice`
* test: add `no mocks` for `pay_invoice`
* test: add `bad json` tests
* chore: re-order tests
* fix: response type
* test: add `missing data` test for `pay_imvoice`
* chore: re-order tests
* test: add `success` test for `get_invoice_status `
* feat: update test structure
* test: new status
* test: add more test
* fix: error handling
* chore: code clean-up
* test: add success test for `get_payment_status `
* test: add `pending` tests for `check_payment_status`
* chore: remove extracted tests
* test: add more tests
* test: add `no mocks` test
* fix: funding source loading
* refactor: extract `rest_wallet_fixtures_from_json` function
* chore: update comment
* feat: cover `cleanup` call also
* chore: code format
* refactor: start to extract data model
* refactor: extract mock class
* fix: typings
* refactor: improve typings
* chore: add some documentation
* chore: final clean-up
* chore: rename file
* chore: `poetry add --dev pytest_httpserver` (after rebase)
2024-04-08 12:18:21 +03:00
dni ⚡
209e2c5bff
test: make nice pytest reports on github ( #2376 )
...
* test: make nice pytest reports on github
utilizing this action: https://github.com/pavelzw/pytest-action/
2024-04-05 08:35:51 +02:00
dni ⚡
820882db28
refactor: use new fastapi lifespan instead of startup/shutdown events ( #2294 )
...
* refactor: use new fastapi lifespan instead of events
recommended use: https://fastapi.tiangolo.com/advanced/events/?h=lifespan
threw warnings in pytest
* make startup and shutdown functions
* nix: add override for asgi-lifespan
---------
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-04-05 07:05:26 +02:00
dni ⚡
cd66b7d70c
chore: fix pycryptodomex security issue
...
https://github.com/lnbits/lnbits/security/dependabot/41
2024-04-03 17:43:28 +02:00
dni ⚡
dc74f5816f
chore: update black, security warning
...
https://github.com/lnbits/lnbits/security/dependabot/52
2024-04-03 11:39:40 +02:00
dni ⚡
241b286e21
chore: update ruff and black in precommit config ( #2336 )
...
ran `poetry lock --no-update`
2024-03-21 11:05:01 +01:00
Pavol Rusnak
3e341a3555
update black to 24.2.0 and ruff to 0.3.0 ( #2307 )
...
Co-authored-by: Arc <33088785+arcbtc@users.noreply.github.com>
2024-03-07 09:55:37 +00:00