Commit Graph

2343 Commits

Author SHA1 Message Date
calle
4feb45d745
LNURLp: NFC UI improvement (#767) 2022-07-21 13:39:21 +02:00
calle
76a5196dbf
LNURLp: Write NFC tags with LNURL-pay links (#766)
* NFC for LNURL-pay

* notification ui improvements
2022-07-21 12:38:30 +02:00
calle
45c356cf6c
change prefix to lightning: until wallets fix their bugs (#762) 2022-07-19 17:35:00 +02:00
calle
0f73501a88
LNURLw: NFC fix uri prefix (#761)
* fix uri prefix

* prettier
2022-07-19 17:20:50 +02:00
calle
b8c99a15d1
do not mark payments as failed (#750) 2022-07-19 12:33:28 +02:00
blackcoffeexbt
fe2cbe8774
Jukebox improvements (#759)
* Improved styling of Spotify redirect URI clipboard copy text

* Jukebox extension - Moved links to Spotify into buttons to make set up steps more obvious

* Jukebox extension - Tweaks to titles of set up steps to clarify

* Prettified jukebox template
2022-07-19 12:28:49 +02:00
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
Lee Salminen
b6d01792e2
Add NFC Writing support to LNURLw extension (#725) 2022-07-18 16:56:15 +02:00
calle
f4580955b9
loguru warnings (#751) 2022-07-17 22:25:37 +02:00
Tiago Vasconcelos
c8ab2859fd
Splitpayments: floating point percentage for split value (#690)
* allow for float in model

* recreate DB with float type

* remove rounding in UI

* black

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-17 20:00:06 +02:00
Tiago Vasconcelos
2b827d37fa
return lnurl in create link (#685) 2022-07-17 14:39:02 +02:00
Lee Salminen
8079325ec9
fix /usermanager/api/v1/extensions (#730)
Requests to `POST /usermanager/api/v1/extensions` would silently fail due to a missing `await`.
2022-07-17 14:38:00 +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
d4c30a1091
remove old files (#748) 2022-07-17 14:04:59 +02:00
calle
2febb364ca
lnurldevice migration: typo fix (#746)
* typo fix

* fix table name

* revert typo
2022-07-17 13:22:23 +02:00
calle
ad2aad05e0
CI: Migration SQLite to PostgreSQL (#719)
* migrate all extensions
* errors if migration is missing
2022-07-17 13:11:13 +02:00
calle
f4e7d62ca3
make format everything (#743) 2022-07-16 14:23:03 +02:00
calle
69516bb751
regtest on push (#742) 2022-07-16 14:17:45 +02:00
calle
99b6b9d71c
CI: regtest with LndRestWallet and CLightningWallet (#738)
* add regtest
* test LndRestWallet
* test CLightningWallet
2022-07-16 14:10:43 +02:00
calle
6a3a72b944
Uvicorn loguru format (#741)
* use loguru formatting for uvicorn logs

* remove depth from logging interceptor

* format for uvicorn

* black

* isort

* black again

* python3-dev

* python3-dev

* leaner pipeline

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-15 19:54:12 +02:00
Tiago Vasconcelos
348033da1b
python code styling (#739) 2022-07-15 19:11:11 +02:00
Arc
37c7553c19
Update installation.md 2022-07-15 08:18:07 +01:00
calle
1f13bdeb2f
Pipenv/fix install loguru (#732)
* update pipfile

* pipenv workflow

* pipfile jinja

* Pipfile installs dev files

* python3.8 tests only

* version tag yaml

* all tests

* pipenv with pip

* only 3.7

* activate env

* test-pipenv

* pipenv importlib_metadata

* importlib-metadata

* 3.8

* 3.7 only oops

* merge install guides

* install guide in README
2022-07-13 01:15:48 +02:00
calle
357860d849
Spark: increase timeout and improved error handling (#718)
* increase timeout and more error handling

* more error handling

* add timeout exception
2022-07-12 13:22:55 +02:00
Arc
41dda6fd01
Revert "Fixed psycopg2 error on aarch64" (#729)
* Revert "Fixed psycopg2 error on aarch64 (#658)"

This reverts commit 8a20b779df.

* remove psycopg from build pipeline

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-11 17:18:28 +02:00
Bitkarrot
46462b4f01
Update extensions.md (#724)
suggestion for gsed on macOS, as sed may not work

reference: https://apple.stackexchange.com/questions/414568/i-get-an-error-sed-1-12d-invalid-command-code-when-i-use-sed-12d-samp
2022-07-11 13:40:46 +02:00
Daniel Krahofer
a57980469b
addition to dockerignore (#722)
* add venv, data, tests to dockerignore

* add config files to ignore

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-11 13:40:22 +02:00
calle
0825519361
None check (#720) 2022-07-07 21:58:39 +02:00
Daniel Krahofer
b1d6c82466
fix dockerfile and add docker ignore (#714)
* fix dockerfile and add docker ignore

* fixup comment in dockerignore

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-07 18:30:21 +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
262bd32f44
debug format more expressive (#715) 2022-07-07 16:24:36 +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
Tiago Vasconcelos
847fd18796
update readme link (#687)
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-07 00:14:27 +02:00
Arc
ed6ddd0f5e
Merge pull request #700 from leesalminen/improved-pwa
Improved support for Progressive Web Apps (PWA)
2022-07-06 11:18:03 +01: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
Tiago Vasconcelos
1b064ceda4
fix issue #683 (#684) 2022-07-05 21:40:05 +02:00
calle
92887ed169
Format: prettier (#707)
* format: prettier

* gh-actions: add prettier checkg

* actions
2022-07-05 21:14:56 +02:00
calle
d55f8dc36e
readd prettier (#706) 2022-07-05 17:52:01 +02:00
Lee Salminen
80f8d83548 Merge remote-tracking branch 'origin/main' into improved-pwa 2022-07-05 09:21:41 -06:00
blackcoffeexbt
e5b4c54348
Added line wrapping for text in code examples to make it readable on normal sized screens (#688) 2022-07-05 17:20:59 +02:00
blackcoffeexbt
f44bd55b4b
Corrected example CURL requests in multiple extension API docs (#689)
* Updated api docs example CURL calls for satspay server

* Updated api docs example CURL calls for copilot extension

* Updated api docs example CURL calls for jukebox extension

* Updated api docs example CURL calls for livestream extension

* Updated api docs example CURL calls for lnaddress extension

* Updated api docs example CURL calls for lnurldevices extension

* Updated api docs example CURL calls for lnurlp extension

* Updated api docs example CURL calls for offlineshop extension

* Updated api docs example CURL calls for paywall extension

* Updated api docs example CURL calls for satsdice extension

* Updated api docs example CURL calls for splitpayments extension

* Fix typo double slash in satsdice extension api docs

* Updated api docs example CURL calls for tpos extension

* Updated api docs example CURL calls for watchonly extension
2022-07-05 17:20:42 +02:00
calle
17c79cd044
Makefile: remove prettier (#705)
* remove prettier

* black
2022-07-05 17:18:22 +02:00
Lee Salminen
56c60587a1 fix prettier 2022-07-05 09:14:24 -06:00
Arc
c2399cf9aa
Merge pull request #697 from leesalminen/tpos-tips
Enhancements to TPOS Extension
2022-07-05 13:16:55 +01:00
Lee Salminen
f9b929ae7d add PWA support for the tpos extension 2022-07-04 16:39:05 -06:00
Lee Salminen
52b8506d0a reduce noise 2022-07-04 16:10:31 -06:00
Lee Salminen
102dc56c4a cant force the color 2022-07-04 13:38:05 -06:00