Tiago Vasconcelos
ed2c5cc586
Fix/lnurl auth ( #757 )
...
* remove g() and add wallet
* wallet type
* add wallet object
* send wallet as param
* make lnurlauth work
* remove g() and add wallet
* wallet type
* add wallet object
* send wallet as param
* make lnurlauth work
* black'ed
* blacked
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-19 11:35:28 +02:00
calle
f4580955b9
loguru warnings ( #751 )
2022-07-17 22:25:37 +02:00
calle
6646fce549
Core: add internal flag for invoice creation to use FakeWallet ( #646 )
...
* add internal flag for invoice creation to use FakeWallet
2022-07-17 14:34:25 +02:00
calle
f4e7d62ca3
make format
everything (#743 )
2022-07-16 14:23:03 +02:00
calle
63d4e60542
Testing: postgres db backend ( #711 )
...
* try postgres run
* fix yaml
* test with postgres
* check with postgres
* inkey_from
* remove trio
* add coverage
* add coverage
* more python testing
* use @pytest_asyncio.fixture
* remove unused imports
* fix api_payment payment lookup
* measure durations
2022-07-07 18:29:26 +02:00
calle
089313f613
Logging with loguru ( #708 )
...
* logging
* requirements
* add loguru dependency
* restore it
* add loguru
* set log level in .env file
* remove service fee print
* set log level
* more logging
* more logging
* more logging
* pyament.checking_id
* fix
2022-07-07 14:30:16 +02:00
Lee Salminen
94e4495026
run prettier
2022-07-05 16:16:46 -06:00
Lee Salminen
aa51d85d65
Merge branch 'main' into improved-pwa
2022-07-05 15:10:57 -06:00
Lee Salminen
ebeb3d213b
alter injection of tpos to match
2022-07-05 15:09:04 -06:00
Lee Salminen
2cb87d96f2
better way of handling injection of webmanifests
2022-07-05 15:05:31 -06:00
calle
92887ed169
Format: prettier ( #707 )
...
* format: prettier
* gh-actions: add prettier checkg
* actions
2022-07-05 21:14:56 +02:00
Lee Salminen
56c60587a1
fix prettier
2022-07-05 09:14:24 -06:00
Lee Salminen
52b8506d0a
reduce noise
2022-07-04 16:10:31 -06:00
Lee Salminen
d88ffeb237
segregate cache by api key header
2022-07-04 12:32:28 -06:00
Lee Salminen
d0ba5c6f30
Improved support for Progressive Web Apps (PWA)
...
- modify webmanifest to use LNBITS_SITE_TITLE and LNBITS_CUSTOM_LOGO env vars
- modify webmanifest to have a more accurate description, start_url and set theme_color to match default lnbits theme
- add service worker to cache requests (chrome requires a registered service worker to activate some pwa functionality)
- move webmanifest to <head> (chrome acts weird with it in the body)
2022-07-04 11:01:08 -06:00
Tiago vasconcelos
6154454f15
hotfix api_payments failing
2022-06-29 10:55:54 +01:00
calle
f6da260464
Automated tests ( #566 )
...
* return error for wrong key
* payment check use key dependency
* more expressive error
* re-add optional key
* more tests
* more
* more granular
* more testing
* custom event_loop
* tests work
* fix lots of mypy errors
* test_public_api
* both files
* remove unused import
* tests
* tests working
* rm empty file
* minimal test
* set FAKE_WALLET_SECRET="ToTheMoon1"
* set FAKE_WALLET_SECRET="ToTheMoon1"
* trial and error
* trial and error
* test postgres
* test postgres
* test postgres
* test postgres
* test postgres
* test postgres
* test build
* skip mypy
2022-06-27 00:11:46 +02:00
calle
2c68f53c91
/api/v1/payments with limit and offset ( #594 )
2022-06-26 19:05:34 +02:00
Arc
b90eb0a3ba
Merge pull request #648 from lnbits/black_formatting
...
Code cleanup: black formatting
2022-06-20 20:57:44 +01:00
ben
2ff282ce4c
Chnaged to primary
2022-06-13 21:27:24 +01:00
calle
906f0166bd
Core: fix internal webhooks ( #649 )
...
* fix internal webhooks
* argument annotation
2022-06-03 14:33:31 +02:00
callebtc
f8400512f7
black formating
2022-06-01 14:53:05 +02:00
Arc
b4ad0e101d
Revert "Check invoice status outgoing"
2022-05-20 14:35:00 +01:00
Arc
313c40dc2b
Merge pull request #609 from ashkanjalaliQ/patch-1
...
Update _api_docs.html
2022-05-17 14:20:20 +01:00
Arc
2337471e45
Merge pull request #619 from lnbits/check_invoice_status_outgoing
...
Check invoice status outgoing
2022-05-17 14:17:41 +01:00
Tiago vasconcelos
98891b7680
get bookmark promp fired on new wallet
2022-05-17 12:16:41 +01:00
Tiago vasconcelos
c8aaf3377f
clean logs
2022-05-16 11:23:34 +01:00
Tiago vasconcelos
caa23e6c9d
key issues fixed
2022-05-16 11:21:30 +01:00
callebtc
ebd6d6d58b
key check
2022-05-10 22:00:50 +02:00
callebtc
f08fbc2487
core: check_invoice_status for outgoing payments
2022-05-10 21:48:24 +02:00
Ashkan Jalali
d77e304e12
Update _api_docs.html
...
add "webhook" and "unit" arguments to api document
2022-04-28 17:07:58 +04:30
Tiago vasconcelos
13f490b586
Merge branch 'main' into fix/renameWallet
2022-04-12 10:19:31 +01:00
Tiago vasconcelos
950408ef64
Merge branch 'main' into fix/renameWallet
2022-04-01 10:42:16 +01:00
calle
b1c75813a0
fix decodepay ( #568 )
2022-03-24 12:50:57 +01:00
Tiago vasconcelos
c59d0a51ff
change key on PUT request
2022-03-18 20:58:47 +00:00
calle
1209526147
remove get_payment_status ( #562 )
...
* remove get_payment_status
* remove comments
2022-03-18 18:51:28 +01:00
calle
0f97f8f18b
Fee reserve for lightning backends ( #557 )
...
* preparing fees
* fee_limit_msat
* await resp result
* clightning
* fix tests
* fix test
* add fee to test
* mypy
* invoice_status
* checking id fix
* fee reserve error message
* only for external payments
2022-03-16 07:20:15 +01:00
Ben Arc
435b4056fd
fixed conversion api
2022-03-10 12:16:51 +00:00
Ben Arc
52ef2da76d
added wrong key type
2022-03-08 22:22:51 +00:00
Ben Arc
e4dd0972a5
Wrong key int being returned
2022-03-08 22:15:45 +00:00
Ben Arc
c708cb1e2b
Important fix to payment check
2022-03-07 18:27:03 +00:00
benarc
9bbf78e026
Assigned wallet var
2022-03-07 08:19:14 +00:00
benarc
d62ef0bb80
Added extra pay details
2022-03-07 08:08:08 +00:00
benarc
72f2ec0be8
Merge remote-tracking branch 'origin/main' into main
2022-03-07 04:26:40 +00:00
Arc
ef6d12fe10
Merge pull request #545 from talvasconcelos/fix/paymentsDecode
...
fix payments decode
2022-03-07 04:24:32 +00:00
benarc
5f52658626
Merge remote-tracking branch 'origin/main' into main
2022-03-07 04:05:43 +00:00
Joseph Pentland
baf55afc28
api: Fix conversion from fiat to satoshis ( #516 )
...
Conversion to satoshis incorrectly used data.to as fiat currency rather
than data._from.
2022-03-01 23:11:39 +03:00
benarc
e96701cb59
Added template banner
2022-02-24 16:03:10 +00:00
benarc
4a588dda1b
Added ad space and option to turn off api docs
2022-02-23 13:51:30 +00:00
Tiago vasconcelos
eb7b369b6d
fix payments decode
2022-02-22 16:45:35 +00:00