Commit graph

1238 commits

Author SHA1 Message Date
Tiago vasconcelos
4ca701a442 Merge remote-tracking branch 'lnbits/fix/offlineshop_fiat_decimals' into fix/offlineshop_fiat_decimals 2022-07-28 11:09:06 +01:00
Tiago vasconcelos
a601e178ea add missing param in add item 2022-07-28 11:08:15 +01:00
ben
85db59c359 make format 2022-07-28 10:32:17 +01:00
ben
fa0649646c Merge remote-tracking branch 'origin/main' into fix/offlineshop_fiat_decimals 2022-07-28 10:31:28 +01:00
Tiago vasconcelos
254fa67859 allow for decimals in fiat unit 2022-07-27 22:49:23 +01:00
Arc
f973de2f22
Merge pull request #790 from lnbits/addswagger
Adds link to swagger docs in all extensions
2022-07-27 19:40:22 +01:00
ben
64ea5db608 disabled lnurlpayout again 2022-07-27 19:36:32 +01:00
ben
3a28ff1020 added swagger to extensions 2022-07-27 19:21:04 +01:00
ben
58659d2f47 Added meta for api /docs 2022-07-27 18:20:36 +01:00
ben
1c77d165e2 Made reliable
Fixed issue scanning tickets by adding "ticket://" prefix
2022-07-27 17:32:03 +01:00
Tiago Vasconcelos
41dc1b0512
Fix/hotfix tpos 2 (#783)
* fix older tpos without tips

* bad math requesting invoice

* make format
2022-07-27 16:45:17 +02:00
ben
3ffcab2d4d Merge branch 'main' into matthewcroughan/nixify 2022-07-25 15:01:33 +01:00
Tiago Vasconcelos
27b4db9877
fix older tpos without tips (#778) 2022-07-25 12:52:28 +02:00
ben
5f3183c54c Merge branch 'main' into matthewcroughan/nixify 2022-07-25 10:34:29 +01:00
Tiago Vasconcelos
7fbea79e62
Add voucher design (#704)
* allow for custom print of vouchers

* lnbits defaul voucher

* reduce png size

* add template for custom design

* rename lnbits voucher

* send voucher amount to UI

* add some tweaks for default voucher

* added bonus in readme

* blacked

* make default string as constant
2022-07-25 11:22:21 +02:00
Tiago Vasconcelos
ff5b1189b5
Fix/tpos tips #697 (#713)
* small fastapi convertion

* make tip add up to invoice

* make tip add to invoice

* display existing tpos

* clean console logs

* suggestion from @leesalminen

* blacked
2022-07-25 11:19:03 +02:00
ben
244d6f23bf Merge branch 'main' into matthewcroughan/nixify 2022-07-23 20:09:24 +01:00
ben
0e8da3c368 Fixed path for extension templates 2022-07-23 20:08:59 +01:00
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
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
Lee Salminen
b6d01792e2
Add NFC Writing support to LNURLw extension (#725) 2022-07-18 16:56:15 +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
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
Tiago Vasconcelos
348033da1b
python code styling (#739) 2022-07-15 19:11:11 +02:00
matthewcroughan
36e92765d3 treewide: use StaticFiles() rather than rel path
This commit is not exhaustive, and it is a trend in this codebase to not
use StaticFiles() and instead use relative paths. This means the code
cannot run anywhere other than the source code directory, as it will not
find the files it is looking for
2022-07-08 11:06:26 +01: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
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
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
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
f9b929ae7d add PWA support for the tpos extension 2022-07-04 16:39:05 -06:00
Lee Salminen
102dc56c4a cant force the color 2022-07-04 13:38:05 -06:00
Lee Salminen
82d7bfbba8 Enhancements to TPOS Extension
- Add new tip % option to TPOS extension.
        - When adding a new TPOS, a user can choose 1 or more tip % options to be displayed to the customer.
        - When adding a new TPOS, a user can choose a wallet to send all collected tips to.

- UI Refresh on TPOS extension.
        - Moved the share button to the top navigation, next to the TPOS name, and changed the icon to a more recognizable one.
        - Re-arranged the buttons on the keypad to be more ergonomic.
2022-07-03 15:49:31 -06:00
calle
e7dd3ec64f
reactivate actions (#682)
* reactivate other actions

* black

* codeql 2

* black only

* remove mock event loop

* do not follow grpc
2022-06-27 01:11:35 +02:00
calle
06fbc4b0ae
move fiat_base_multiplier multiplication into api_link_create_or_update() (#675) 2022-06-22 12:28:40 +02:00
Arc
b90eb0a3ba
Merge pull request #648 from lnbits/black_formatting
Code cleanup: black formatting
2022-06-20 20:57:44 +01:00
calle
1dec874af7
lnurlp: do not divide twice (#669) 2022-06-15 12:48:13 +02:00
Arc
8e9972ead1
Merge pull request #632 from bennyhodl/patch-1
Fix GET transactions endpoint in usermanager docs
2022-06-15 09:10:47 +01:00
callebtc
c5ddd1a2c6 fiat_base_multiplier also in rate conversion 2022-06-10 16:08:29 +02:00