Commit graph

123 commits

Author SHA1 Message Date
ben
3a28ff1020 added swagger to extensions 2022-07-27 19:21:04 +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
Tiago Vasconcelos
27b4db9877
fix older tpos without tips (#778) 2022-07-25 12:52:28 +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
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
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
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
benarc
8042dc51b3 prettier tpos 2022-04-20 11:16:00 +01:00
benarc
1874d7fd54 TPoS now theme dependent 2022-04-20 10:42:55 +01:00
arcbtc
810b918619 quick fix 2022-04-02 00:36:50 +01:00
Ashkan Jalali
c5c76468cb
add "IRT" currency to TPos extention 2022-04-01 20:05:53 +04:30
Tiago vasconcelos
cfac70d394 general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
benarc
267dea4f75 black 2021-11-12 04:14:55 +00:00
benarc
e03370188a Fixed payment checking 2021-10-22 00:41:30 +01:00
Tiago vasconcelos
a840970366 fix require admin key endpoints 2021-10-20 12:03:11 +01:00
Tiago vasconcelos
70885ce160 clean up (black, sort) 2021-10-18 10:58:09 +01:00
benarc
1d3bb016a2 I want them to turn black 2021-10-17 18:33:29 +01:00
Ben Arc
fb09b94e25 Pretty confirm for TPoS 2021-10-12 19:02:00 +01:00
Ben Arc
cace0892f2 jukebox working(ish) 2021-10-12 18:54:40 +01:00
Tiago vasconcelos
7b93299ef7 axios query params fix 2021-10-08 11:03:55 +01:00
Tiago vasconcelos
0a85bae405 undo stringify 2021-10-07 11:01:26 +01:00
Tiago vasconcelos
683f138f1b invoice gets undefined 2021-10-06 19:43:57 +01:00
Tiago vasconcelos
d9aaae7872 added tpos extension 2021-10-06 14:49:00 +01:00
Tiago vasconcelos
6edac8ae8d remove extensions 2021-10-01 10:49:11 +01:00
Ben Arc
bbdb96f4ac Converted views 2021-08-21 01:55:07 +01:00
Ben Arc
76cb93b276 Started watchonly 2021-08-20 19:48:44 +01:00
Tiago vasconcelos
12846f5cac testing push 2021-08-20 17:51:30 +01:00
Tiago vasconcelos
edf748d690 refactor for fastAPI 2021-08-20 17:14:44 +01:00
Tiago vasconcelos
de0f6389ae change class to pydantic 2021-08-20 17:14:26 +01:00
Tiago vasconcelos
0cd828d43f added tpos back 2021-08-20 10:34:52 +01:00
Ben Arc
9c313586bd removed all but one extension, so we can focus on core 2021-08-16 18:12:48 +01:00
Ben Arc
734bf1bcd5 made polling longer 2021-08-16 07:36:02 +01:00
Ben Arc
aa1c83cdc4 added dynamic titles for continuity 2021-07-25 14:26:20 +01:00
fiatjaf
2f309c9863 postgres support. 2021-07-02 17:34:31 -03:00
Ben Arc
b0c0b9f851 Changed primary/secondary colours to branded 2021-06-29 02:10:30 +01:00
Tiago Vasconcelos
ebf3dfd076
New Docs (#195)
New docs for TPOS and Events, and a fix in Events extension!

Co-authored-by: Tiago Vasconcelos <tvasconcelos@gmail.com>
2021-06-01 19:25:57 -03:00
fiatjaf
42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
fiatjaf
88eb8e0e78 fix curl examples in extensions, path was duplicating the plugin names. 2021-02-07 08:23:01 -03:00
benarc
31b1c0d1d5 Fixed tpos links not being fetched 2020-12-01 22:53:52 +00:00
fiatjaf
d3fc52cd49 migrate to sqlalchemy-aio.
a big refactor that:

- fixes some issues that might have happened (or not) with asynchronous
    reactions to payments;
- paves the way to https://github.com/lnbits/lnbits/issues/121;
- uses more async/await notation which just looks nice; and
- makes it simple(r?) for one extension to modify stuff from other extensions.
2020-11-21 23:02:14 -03:00
fiatjaf
f01028eac7 migrate from flask to quart.
also remove all flaskiness from static file serving.
and reference all vendored scripts on the base tempĺate for simplicity.
2020-09-14 16:03:25 -03:00