Commit Graph

166 Commits

Author SHA1 Message Date
Vlad Stan
b5a39e32c3 fix: old env variables 2022-12-09 14:13:41 +02:00
Vlad Stan
4cd2fe7ee1
Merge branch 'main' into FinalAdminUI 2022-12-09 14:06:47 +02:00
Arc
ee874a4a80
Merge pull request #1154 from iWarpBTC/tpos/user-agent
TPOS identifies itself via user-agent
2022-12-07 11:00:48 +00:00
ben
44d7435163 format 2022-12-07 10:42:48 +00:00
ben
97565fde02 Adds PoS websocket endpoint
Receives all payments to a pos
2022-12-07 10:21:45 +00:00
Gene Takavic
9756e6fad8 formating 2022-11-29 11:28:17 +01:00
Gene Takavic
33631d6375 tpos identifies itself via user-agent 2022-11-29 11:14:51 +01:00
dni ⚡
74eece78de merge from master 2022-11-24 14:35:32 +01:00
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 ⚡
82e322ae43 make extension use new settings 2022-10-25 09:20:16 +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