Commit Graph

479 Commits

Author SHA1 Message Date
ben
9a9733c1ce Auto stash before merge of "universalwebsocket" and "origin/universalwebsocket" 2022-11-29 11:23:34 +00:00
Arc
a7fd44f4ca
Merge branch 'main' into universalwebsocket 2022-11-29 11:12:28 +00:00
ben
31d9f2e2ee Removed returns and reverted socket check so multiple clients can join 2022-11-29 11:09:54 +00:00
Tiago Vasconcelos
b68172696d change status code to 400 on exception 2022-11-29 10:28:19 +00:00
ben
187d709098 isort 2022-11-28 13:28:11 +00:00
ben
bb84f6b0e8 Black 2022-11-28 13:24:10 +00:00
ben
aefd1fad69 isort 2022-11-28 13:13:45 +00:00
ben
746e119046 added vlads suggestion 2022-11-28 13:04:35 +00:00
ben
00123d6c16 Merge remote-tracking branch 'origin/main' into universalwebsocket 2022-11-28 12:29:34 +00:00
ben
3cea3a0ba8 Removed payments websocket example
To be prob added back at a later date
2022-11-24 11:18:38 +00:00
Arc
e1b44a000b
Merge pull request #1140 from motorina0/fix_cln_unhashed_description
fix: allow both `description_hash` and `unhashed_description` to be present
2022-11-24 02:57:42 -08:00
ben
dce4da96b7 fixed function name clash 2022-11-24 00:46:39 +00:00
ben
c2a737ab84 Black 2022-11-24 00:34:46 +00:00
ben
f876f0659f Moved into correct files, and added payment example 2022-11-24 00:21:39 +00:00
ben
fde128e961 Better naming 2022-11-23 23:35:02 +00:00
ben
cea4f9350c black 2022-11-23 22:42:32 +00:00
ben
152991fbec added try for return 2022-11-23 22:31:11 +00:00
ben
2f08255e92 added get option 2022-11-23 22:27:09 +00:00
ben
4b707b5a30 updated function names 2022-11-23 22:22:33 +00:00
ben
51ca515d26 renamed for clarity 2022-11-23 21:51:32 +00:00
ben
5a96bcd558 Adds universal websocket manager any extension can use
Connect to the `ws://<your-lnbits>/api/v1/ws/{item_id}` endpoint

POST data to the websocket with `https://<your-lnbits>/api/v1/ws/{item_id}`
2022-11-23 21:47:26 +00:00
ben
390d74eaf6 prettier 2022-11-23 16:57:27 +00:00
Vlad Stan
3edbe1b895 fix: allow both description_hash and unhashed_description to be present 2022-11-22 11:52:29 +02:00
ben
27ad32eede slight ui tweak for mobile 2022-11-20 18:06:29 +00:00
ben
0836ba6c77 Added to homescreen 2022-11-20 17:59:43 +00:00
ben
0c94b159e2 Improved ad space function 2022-11-20 17:29:07 +00:00
Vlad Stan
ea1d9eb088
Merge pull request #1116 from lnbits/add/add_tpos_last_tx_list
Add the ability to check for last (5) transactions
2022-11-18 13:13:55 +02:00
Tiago Vasconcelos
4549190e86 abstract get latest payments for extensions 2022-11-17 12:59:40 +00:00
ChuckNorrison
1971b9a24b
fix integer out of range for apipayments
related to #1030, this was missing
2022-11-16 23:06:21 +01:00
dni ⚡
09cf654427
Proper Error Handling for qrcode-stream components (#1076)
* proper errorhandling for camera

* fix javascript for calle
2022-10-24 12:32:20 +02:00
Anton Kovalenko
193d037ad6
Allow more than 2-nd level domain in incoming ln-addresses (#914) 2022-10-24 12:23:11 +02:00
calle
d1302e4868
show progress (#987) 2022-10-11 08:52:39 +02:00
Arc
00667badfd
Merge pull request #1022 from tehelsper/main
Add MYNODE Image
2022-10-06 17:50:31 +01:00
calle
5a12f4f237
Improved SSE listeners (#865)
* logging listeners

* comments

* generate privkey upon init

* listener queue

* remove duplicate check

* make format

* reuse channel

* error handling in sse listener

* uuid for listeners

* register named invoices

* uuid for listeners and listener list

* fix poetry lock

* setuptools

* requirements asyncio timeout

* setuptool;s

* make format

* remove async-timeout

* async_timeout readd

* try lower setuptools version

* try lower lower setuptools version

* back to current version + fix, maybe

* fix worflows to use poetry 1.2.1

* remove uneeded setuptools from build-system

* fix up formatting workflow

* debug to trace

* more traces

* debug logs to trace

Co-authored-by: dni  <office@dnilabs.com>
2022-10-04 09:51:47 +02:00
Taylor Helsper
148789a86f
Fix formatting 2022-09-30 10:19:17 -05:00
Taylor Helsper
04cfdc2bf3
Update index.html 2022-09-29 23:06:45 -05:00
dni ⚡
325139066c
fix service-worker.js issue #1009 (#1017)
* service-worker.js fix for issue #1009

fixup

* remove weird comment
2022-09-29 20:40:58 +02:00
Gene Takavic
e75610a04f
API auditor (#1002)
* just quick auditor

* fix for none balance

* handle node down case

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-09-23 16:33:51 +03:00
dni ⚡
a98c5f9a85
fixes issue #977 (#999)
* fixes issue #977

* fix prettier formatting, when pre-commit
2022-09-23 11:00:45 +03:00
calle
b0bedd53df
Fix lndgrpc preimage (#998) 2022-09-22 11:15:28 +03:00
calle
e7a6e86e7a
Fix/duplicate payments (#973)
* check if wallet exists

* check wallet existence in key check

* fix duplicate removal
2022-09-18 16:27:03 +03:00
calle
232d50baaa
Fix: tasks.py reuse db connection for invoice deletion (#971)
* check if wallet exists

* check wallet existence in key check

* reuse db connection for payment deletion
2022-09-15 14:48:59 +03:00
Arc
2782a92aaa
Merge pull request #957 from iWarpBTC/fix/withdrawQR
fix for uppercase QR
2022-09-13 15:49:27 +01:00
Arc
9e652d98ea
Merge pull request #958 from AaronDewes/patch-1
Change message about login functionality
2022-09-13 15:48:37 +01:00
calle
d0ca0b18da
Fix/db reuse connection mark pending (#964)
* check if wallet exists

* check wallet existence in key check

* reuse connection for stataus update

* make format
2022-09-12 20:57:23 +03:00
calle
1660b9dcf1
Revert "Revert "API key check: assert that wallet exists (#961)" (#962)" (#963)
This reverts commit 57fffa0c7f.
2022-09-12 18:49:57 +03:00
calle
57fffa0c7f
Revert "API key check: assert that wallet exists (#961)" (#962)
This reverts commit 0930fca7ec.
2022-09-12 18:41:27 +03:00
calle
0930fca7ec
API key check: assert that wallet exists (#961)
* check if wallet exists

* check wallet existence in key check
2022-09-12 18:39:53 +03:00
dni ⚡
d6e3eb5837
Fix donate link on start page 2022-09-12 14:38:37 +02:00
Aaron Dewes
b8531f9e0e
Change message about login functionality
According to the README, Lnbits is already at 0.9. Claiming a feature will be added in 0.2 doesn't make sense.
2022-09-12 12:32:03 +02:00