Commit graph

157 commits

Author SHA1 Message Date
Thomas Verstreken
b698dac52c
Fix typo's (#1136)
Costumer to Customer, costumer to customer
2022-11-19 14:10:12 -06:00
Vlad Stan
d64e960ef6 chore: code clean-up and formatting 2022-11-18 13:58:56 +02:00
Tiago Vasconcelos
edf76ad7cc add input number 2022-11-18 13:28:53 +02:00
Tiago Vasconcelos
1b76a7d068 format 2022-11-18 13:28:53 +02:00
Tiago Vasconcelos
12b69a7f82 fix reseting rounding and better UX 2022-11-18 13:28:53 +02:00
callebtc
f4c0c92655 strings 2022-11-18 13:28:52 +02:00
Tiago Vasconcelos
9430aa28c7 add rounding tip option 2022-11-18 13:28:52 +02:00
Tiago Vasconcelos
96046b8d0c add default tip by rounding to value 2022-11-18 13:28:52 +02:00
Vlad Stan
0039a48e73 fix: total amount (amount + tip) 2022-11-18 13:14:21 +02:00
Vlad Stan
9ecf6f273b fix: total amount for invoice 2022-11-18 13:14:21 +02:00
Tiago Vasconcelos
476f915fd2 format 2022-11-18 13:14:21 +02:00
Tiago Vasconcelos
b0b1446483 fixed display amount 2022-11-18 13:14:21 +02:00
Tiago Vasconcelos
79fc0b9be4 wrap db call in try except 2022-11-18 10:56:14 +00:00
Tiago Vasconcelos
28e62f3333 make format 2022-11-18 10:27:23 +00:00
Tiago Vasconcelos
ebeecdecca add "No paid invoices" if... no paid invoices 2022-11-18 10:22:11 +00:00
Tiago Vasconcelos
2eaf5e5668 remove commented out code 2022-11-17 15:33:20 +00:00
Tiago Vasconcelos
e93d1b322b make format 2022-11-17 13:02:32 +00:00
Tiago Vasconcelos
121331fa0b refactor get latest payments 2022-11-17 13:00:53 +00:00
Tiago Vasconcelos
facc7bbf5e remove core db action from extension 2022-11-17 13:00:17 +00:00
Tiago Vasconcelos
a2092675cd added some UI sugar, removed pending tx 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
8e85651c4f make format 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
9f7b4c1370 add button and list 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
8d8a309258 api endpoint to get last payments 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
0b883d02b3 get payment from db 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
7d7a2b67ee fix raise error on delete request 2022-11-17 14:47:52 +02:00
dni âš¡
fe879ad9b9 add tpos to pr 2022-10-21 18:15:27 +02: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
Tiago vasconcelos
fad040edf1 remove toast - click checkmark to dismiss 2022-09-12 08:49:12 +01:00
Tiago vasconcelos
d1eb0b0c4d rollback on removing NFC button 2022-09-08 14:59:19 +01:00
Tiago vasconcelos
0177316075 display NFC button on supported and fix null tip options 2022-09-08 14:59:19 +01:00
Tiago vasconcelos
ddc3ec7e2f add a tooltip and label for adding tip options 2022-09-05 11:55:24 +01:00
Tiago vasconcelos
e5644ec4f6 show a dismissable notification after payment succeed 2022-09-05 11:47:27 +01:00
Tiago Vasconcelos
1d55fe1d1a
add copy invoice button (#917) 2022-08-21 23:06:47 +02:00
Lee Salminen
6aef9bfd45
Add NFC support to TPOS Extension (#856)
* WIP

* styling

* WIP

* WIP

* WIP

* Clean up for PR

* isort

* hold abortContoller for a while longer
2022-08-15 15:37:10 +02:00
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