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
4c0bd132b1
bug: cln paymentstate check on error ( #2151 )
...
* CLN: paymentstate check on error
---------
Co-authored-by: dni ⚡ <office@dnilabs.com >
2024-03-12 13:56:36 +01:00
callebtc and GitHub
14519135d8
Fix: LNbits backend payent state ( #2187 )
2024-03-12 13:43:41 +01:00
d9d2d59b73
Wallet limits: max balance, daily max withdraw, transactions per sec ( #2223 )
...
Co-authored-by: benarc <ben@arc.wales >
Co-authored-by: Pavol Rusnak <pavol@rusnak.io >
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com >
2024-02-09 17:25:53 +02:00
callebtc and GitHub
165d7499ea
LndResWallet: catch http errors ( #2133 )
2023-12-19 15:33:18 +00:00
callebtc and GitHub
4839cdf2f8
fix: fee reserve for internal ( #2150 )
2023-12-05 10:31:53 +00:00
callebtc and GitHub
0eb74c86ba
CLN: return payment failure if no payment is found ( #2113 )
...
* CLN: return payment failure if no payment is found
2023-11-21 12:54:55 +01:00
6a27b91fcb
Add service fee to specific wallet ( #2050 )
...
* add service fee to specific wallet
* add to .env.example
* Added service fee wallet to manage server
* cleaned
* prettier
* Added badge for service fee
* Added tooltip
* Added service fee max
* allow ignoring service fee for internal transactions
* add fee_reserve_total helper funciton that includes service_fee
* html for admin ui
* typo
* Update .env.example
Co-authored-by: Pavol Rusnak <pavol@rusnak.io >
* fix .env.template comment
* bundle
* WIP: expose fee reserve endpoint
---------
Co-authored-by: Arc <ben@arc.wales >
Co-authored-by: dni ⚡ <office@dnilabs.com >
Co-authored-by: Pavol Rusnak <pavol@rusnak.io >
2023-11-21 11:11:21 +00:00
callebtc and GitHub
4dcf26bcb3
Update to c-lightning-REST v0.10.5 ( #2109 )
...
* Update to c-lightning-REST v0.10.5
* update invoice stream
2023-11-18 12:14:29 +01:00
callebtc and Pavol Rusnak
3e91200d3f
FakeWallet: provide payment preimage
2023-11-13 15:42:57 +01:00
callebtc and GitHub
29e779d09d
Merge pull request #2061 from lnbits/main
...
Sync main->dev
2023-10-25 10:03:58 +02:00
callebtc and GitHub
6b52c42b2b
Revert "Update installation.md ( #2052 )" ( #2060 )
...
This reverts commit ddd27fe426 .
2023-10-24 12:39:07 +02:00
b2384c10cc
Refactor: Calculate invoice expiry outside of the crud ( #1849 )
...
* expiry before crud
* using Bolt11 as argument instead of payment_request
* fix missing expiry
---------
Co-authored-by: dni ⚡ <office@dnilabs.com >
2023-10-10 12:03:24 +02:00
callebtc and GitHub
36445732d2
catch exceptions in migrations for extensions ( #1987 )
2023-10-04 12:09:54 +02:00
50561a8696
Startup optimization: nonblocking expiry check ( #1943 )
...
* nonblocking expiry check
* autoruff
* smaller interval
---------
Co-authored-by: dni ⚡ <office@dnilabs.com >
2023-09-25 12:32:01 +02:00
callebtc and GitHub
d3d1010360
remove LNURL-p description_hash validation ( #1951 )
2023-09-20 12:09:48 +02:00
callebtc and GitHub
b8922a7cd7
extension loader: do not panic! ( #1945 )
2023-09-18 19:29:10 +01:00
0b3d5bbe0e
[CORE] Document CoreLightningRestWallet ( #1920 )
...
* document CoreLightningRestWallet
* pushed to comment
* fixed base64 comment
---------
Co-authored-by: Ben <ben@arc.wales >
2023-09-12 12:14:47 +02:00
callebtc and GitHub
172c277c2d
fakewallet: set tag of description_hash invoice correctly ( #1901 )
2023-08-28 11:02:58 +01:00
3a653630f1
Wallets: add cln-rest ( #1775 )
...
* receive and pay works
* fix linter issues
* import Paymentstatus from core.models
* fix test real payment
* fix get_payment_status check in lnbits
* fix tests?
* simplify
* refactor AsyncClient
* inline import of get_wallet_class
fixes the previous cyclic import
* invoice stream working
* add notes as a reminder to get rid of labels when cln-rest supports payment_hash
* create Payment dummy classmethod
* remove unnecessary fields from dummy
* fixes tests?
* fix model
* fix cln bug (#1814 )
* auth header
* rename cln to corelightning
* add clnrest to admin_ui
* add to clnrest allowed sources
* add allowed sources to .env.example
* allow macaroon files
* add corelightning rest to workflow
* proper env names
* cleanup routine
* log wallet connection errors and fix macaroon clnrest
* print error on connection fails
* clnrest: handle disconnects faster
* fix test use of get_payment_status
* make format
* clnrest: add unhashed_description
* add unhashed_description to test
* description_hash test
* unhashed_description not supported by clnrest
* fix checking_id return in api_payments_create_invoice
* refactor test to use client instead of api_payments
* formatting, some errorlogging
* fix test 1
* fix other tests, paid statuses was missing
* error handling
* revert unnecessary changes (#1854 )
* apply review of motorina0
---------
Co-authored-by: jackstar12 <jkranawetter05@gmail.com >
Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com >
Co-authored-by: dni ⚡ <office@dnilabs.com >
2023-08-23 08:59:39 +02:00
callebtc and GitHub
9bc8a9db55
UI: paste payment request from clipboard ( #1845 )
...
* paste payment request from clipboard
* remove unelevated
2023-08-02 12:42:23 +01:00
callebtc and GitHub
9f40b3cdbd
Tests: hold invoice tests pending during payment ( #1839 )
...
* tests: hold invoice tests pending during payment
* sigh...
* ok
* hash preimage
* preimage_hash == payment_hash
* should error
* check that payment is gone
* cancel task while in-flight
* lnbits endpoing return error
* return error
* add both options
* fix list
* respond to error
* return false if payment status errors
* outgoing invoice should be deleted after one status check
* test api_payments_create error
2023-07-31 20:25:22 +02:00
callebtc and GitHub
11fec7a889
[Wallets] CLN: fix pending state check ( #1770 )
...
* better checking
* flake8 fix
* make format
* invoices scope are function for tests
* invoice back to sessionbut keep real_invoice for now
* make format
* comment
* get payment by checking id and test
2023-07-24 12:00:41 +02:00
callebtc and GitHub
2d4c9f349b
Wallets: Catch errors during cleanup ( #1829 )
...
* jetz aba
* catch RuntimeError
2023-07-21 09:50:50 +02:00
callebtc and GitHub
b9db3eafe0
remove sleep ( #1797 )
2023-07-03 11:12:09 +02:00
callebtc and GitHub
be7c589722
add pre-commit-config ( #1785 )
2023-06-26 10:38:16 +02:00
callebtc and GitHub
d66c83c91a
no timeout for the sse connection ( #1784 )
2023-06-26 10:02:49 +02:00
callebtc and GitHub
339645a912
docs: add precommit hooks ( #1772 )
...
* docs: add precommit hooks
* adjust test
2023-06-20 08:41:23 +02:00
callebtc and GitHub
e39241a9e9
Fix: get_payments crud default Filter values. ( #1703 )
...
* get_payments: deafult values for filter
* lololololoolol
2023-05-11 18:36:20 +02:00
callebtc
b6223f0e6d
get_payments: deafult values for filter
2023-05-11 18:29:08 +02:00
4ec16b56bf
Extend bar for mobile ( #1544 )
...
* extend bar for mobile
* smaller padding
* center buttons
* Added rounded style
* Added icons, looks better
* service worker
* Changed icon
* Fixed show if
---------
Co-authored-by: ben <ben@arc.wales >
2023-05-11 00:12:48 +01:00
callebtc and GitHub
b4fce8b00b
fix internal invoice check ( #1681 )
...
* fix internal invoice check
* return error
* make format
2023-05-04 17:20:37 +02:00
callebtc and dni ⚡
9b7bda4e4e
finish services.py
2023-04-04 07:35:20 +02:00
callebtc and dni ⚡
a8103ba091
remove unnecessary checking_id from fakewallet
2023-04-04 07:35:20 +02:00
callebtc and dni ⚡
234b508368
shorten and ignore cln.py
2023-04-04 07:35:19 +02:00
callebtc and dni ⚡
f766f9b2c3
comment
2023-04-04 07:35:05 +02:00
callebtc and dni ⚡
370ec7e366
remove error fallback
2023-04-04 07:35:04 +02:00
calle and GitHub
58c3b05e29
fix internal payment check ( #1604 )
2023-04-03 15:15:34 +02:00
calle and GitHub
994b203a8e
return fee in status ( #1598 )
2023-03-29 19:40:52 +02:00
calle and GitHub
f7e43cdd95
check for amountless invoices deeper in the call stack ( #1536 )
2023-02-22 13:30:45 +01:00
calle and GitHub
84e369aad2
UI: rename extensions button ( #1535 )
...
* UI: rename extensions button
* change JS
2023-02-22 10:01:52 +01:00
calle and GitHub
c5e2bbc1c6
Installer: log process ( #1530 )
2023-02-21 12:19:50 +01:00
callebtc
bb26f2c7f0
Merge branch 'main' into default_ext_install
2023-02-20 16:30:30 +01:00
calle and GitHub
0b7e4269be
fix gitignore ( #1527 )
...
* fix gitignore
* fix
2023-02-20 16:26:35 +01:00
calle and GitHub
77a6ac041c
Cashu: add LNURLp ( #1484 )
2023-02-13 16:24:15 +01:00
calle and GitHub
9467a8da07
Cashu: fix decode QR link ( #1472 )
2023-02-06 18:00:31 +01:00
calle and GitHub
4593f7a942
Cashu: fix recv_token param ( #1471 )
2023-02-06 17:55:23 +01:00
calle and GitHub
479ca16118
Cashu: fix mint init ( #1470 )
2023-02-06 17:44:46 +01:00
calle and GitHub
c117ad6aa4
Cashu: mint selection UI ( #1467 )
2023-02-06 00:28:34 +01:00
calle and GitHub
edc5531d24
Cashu: Multimint swaps ( #1466 )
...
* Cashu: Multimint swaps
* clean up comments
* clean up comments
2023-02-05 23:56:36 +01:00
calle and GitHub
77e0dc0288
Cashu: mint adding notification ( #1465 )
2023-02-05 20:32:21 +01:00
calle and GitHub
d41afe4236
Cashu: better error handling ( #1464 )
2023-02-05 20:25:08 +01:00
calle and GitHub
65ea2a05f9
Cashu: minor UI fixes ( #1463 )
2023-02-05 19:33:08 +01:00
calle and GitHub
97da27b6bb
Cashu: minor UI fixes ( #1462 )
2023-02-05 19:13:36 +01:00
calle and GitHub
a55e72f66f
Cashu: minor UI fixes ( #1460 )
2023-02-05 18:22:58 +01:00
calle and GitHub
d4d5cd887d
Cashu: fix short url label ( #1459 )
2023-02-05 18:08:01 +01:00
calle and GitHub
67d246b675
Cashu: hide bottom bar on camera ( #1458 )
2023-02-05 17:48:57 +01:00
calle and GitHub
04d6656b27
Cashu: Fix bottom bar ( #1457 )
...
* Cashu: fix button label
* hide bottom on dialogs
2023-02-05 17:45:48 +01:00
calle and GitHub
f03efd7a77
cashu: hide navbar on welcome dialog ( #1456 )
2023-02-05 16:17:33 +01:00
calle and GitHub
754db04d99
Cashu: PWA install button ( #1455 )
2023-02-05 14:04:23 +01:00
calle and GitHub
9f177dea98
cashu: fix balance on all mints label ( #1454 )
2023-02-05 12:49:42 +01:00
calle and GitHub
970a0ce1d0
Cashu: UI upgrades and fixes ( #1453 )
...
* Cashu: UI updates and automatic mint activation
* welcome dialog
* welcome dialog
* UI updates
2023-02-05 12:44:56 +01:00
calle and GitHub
9d2008d45c
Cashu: fix multimint switch ( #1452 )
2023-02-04 05:12:44 +01:00
calle and GitHub
bbbbb8b9af
cashu: fix manifest ( #1451 )
2023-02-04 04:54:37 +01:00
calle and GitHub
661fc6c625
Cashu: fix UI bugs ( #1450 )
2023-02-04 04:17:30 +01:00
calle and GitHub
7968c495ea
☮️ peace ( #1449 )
...
* ☮️ peace
* cashu: fix default tab
2023-02-04 03:50:05 +01:00
calle and GitHub
d01c5dfdec
Cashu waket: multimint support ( #1448 )
...
* multimint working
* working
* fix typo
* migrations
* migration
* migration
* migration
* fix local storage
* notifications
* strings
* add mint dialog
* make format
* update favicons
* icons
2023-02-04 03:45:08 +01:00
calle and GitHub
0dca98ca2e
Cashu fix: token spendable check ( #1445 )
2023-02-03 07:41:01 +01:00
calle and GitHub
52e654af86
respect https setting in admin ui link ( #1416 )
...
* respect https setting in admin ui link
* make format
2023-01-30 11:30:23 +01:00
calle and GitHub
80a94aa9ce
Fix/cashu update protocol ( #1433 )
...
* updates NOTE: fix pyproject and requirements
* revert GET to POST
* update cashu on pip and change name of models
* adjust client to spendable
* refactor spendable
2023-01-30 09:29:44 +01:00
calle and GitHub
ff3f86afa6
fix gitignore ( #1429 )
2023-01-29 11:25:43 +01:00
calle and GitHub
86d1ce2d6e
merely updates the version tag in pyproject.toml ( #1421 )
2023-01-26 14:28:10 +01:00
calle and GitHub
12d037901e
Dependencies: update protobuf and grpcio to latest versions ( #1420 )
...
* update protobuf and grpcio to latest versions
* fix their versions
2023-01-26 14:24:17 +01:00
calle and GitHub
9a39a5d5ba
fix all library versions ( #1419 )
2023-01-26 13:51:12 +01:00
calle and GitHub
f6e0301209
Dependencies: fix cashu and boltz version ( #1418 )
...
* fix cashu version
* fix boltz version
2023-01-26 13:35:27 +01:00
f0d58a8365
Wallets: add custom invoice expiry ( #1396 )
...
* expiry for fakewallet
* expiry for lnd
* lnbits backend
* fix: eclair descriptionHash fixed and expiry added
* cln and sparko
* test expiry
* Eclair from AdminUI and bugfix for nonexistent payments
* add to settings and .env and remove lntxbot
* remove duplicate and format
* add invoice expiry
* add min max and step
* UI works now
* test should fail, sanity check, will revert
* revert, ready for merge
Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com >
2023-01-26 11:08:40 +01:00
calle and GitHub
45a0657828
do not reference these object ( #1412 )
2023-01-25 13:24:36 +01:00
calle and GitHub
1c4414d311
await ledeger verify ( #1411 )
2023-01-25 13:14:52 +01:00
calle and GitHub
ffb5a91f67
add robots.txt ( #1383 )
2023-01-20 09:25:46 +01:00
calle and GitHub
9d3290cd9a
fix: lntips payment lookup error handling ( #1374 )
2023-01-18 12:02:32 +01:00
calle and GitHub
17f5b734b2
Cashu 0.8 ( #1370 )
...
* support cashu 0.8
* dont comment out script
* update cashu logo on mint page
* fixing versions
* installing cashu from pypi works
* update requirements.txt
2023-01-15 11:24:11 +01:00
calle and GitHub
492eda5fdc
Merge pull request #1332 from lnbits/feat/poetry-metadata
...
FEAT: add additional metadata to pyproject, description, version, authors
2023-01-12 15:48:08 +01:00
calle and GitHub
97fd5eac8f
Update pyproject.toml
2023-01-12 15:47:42 +01:00
calle and GitHub
717ae540b0
Merge pull request #1352 from lnbits/fix/OffShopImageSize
...
add image by URL and limit size on API
2023-01-12 15:45:49 +01:00
calle and GitHub
3e9bb25b76
Merge pull request #1354 from joelklabo/make-nip5-editable
...
Enabled Editing the Price for NIP-5 Domains
2023-01-12 15:45:27 +01:00
calle and GitHub
d96aabc14c
Merge pull request #1357 from lnbits/addpoetryupdatetodocs
...
update poetry
2023-01-12 12:08:30 +01:00
calle and dni ⚡
a3f7636db0
Update pyproject.toml
2023-01-12 07:53:22 +01:00
calle and GitHub
a813a37e68
Merge pull request #1325 from lnbits/fix/mypy-bleskomat
...
fix bleskomat mypy issue
2023-01-11 18:24:04 +01:00
callebtc
5f60b025d5
if this isnt the last commit I will burn it all down
2023-01-11 18:06:42 +01:00
callebtc
a0c66871fa
relative import
2023-01-11 18:03:50 +01:00
callebtc
c3ded0b51c
come on bro
2023-01-11 18:01:21 +01:00
callebtc
701b66e71e
make format
2023-01-11 17:54:28 +01:00
calle and GitHub
affcb9feca
Merge branch 'main' into fix/mypy-bleskomat
2023-01-11 17:50:37 +01:00
callebtc
8efa81136b
maybe one day Ill learn to use poetry
2023-01-11 17:41:36 +01:00
callebtc
5b51ad6437
fix pyproject
2023-01-11 17:35:59 +01:00
callebtc
6d25fa4fa0
fix it!
2023-01-11 17:32:39 +01:00
calle and GitHub
e886d17f15
Merge pull request #1350 from lnbits/poetry/update_lock_1.3.1
...
update poetry.lock to 1.3.1
2023-01-11 13:00:25 +01:00
callebtc
1f23d45d11
make format
2023-01-11 12:52:47 +01:00
callebtc
6afdff0f29
relative import
2023-01-11 12:49:11 +01:00
callebtc
c57ddf6aff
ignore livestream
2023-01-11 12:40:02 +01:00