Vlad Stan
9de38f908b
fix: wallet not found error ( #1063 )
2022-10-20 16:40:23 +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
9154660479
Fix/tipjar desc and satspay ( #824 )
...
* fix tipjar description from screwing charges
* small fix for charges when onchain isn't set
* make dni happy
* make black happy
2022-08-02 16:16:32 +02:00
Vlad Stan
191124d8fc
chore: code format
2022-07-28 16:34:42 +03:00
Vlad Stan
66a3b24dd5
chore: code clean-up
2022-07-28 15:35:54 +03:00
Vlad Stan
809d03d3db
fix: at least one charge must be active in order to fetch balance
2022-07-28 15:35:54 +03:00
Vlad Stan
f9fd071315
feat: update API doc to use swagger
2022-07-28 15:35:54 +03:00
Vlad Stan
739c108bdf
feat: add (hh:mm)
to time columns
2022-07-28 15:35:39 +03:00
Vlad Stan
c419afc1b1
refactor: code clean-up
2022-07-28 15:35:39 +03:00
Vlad Stan
46a7b54a00
fix: fix progress for charges
2022-07-28 15:35:39 +03:00
Vlad Stan
0f204485c3
feat: return time_elapsed
, time_left
and paid
fields
2022-07-28 15:35:39 +03:00
Vlad Stan
8c6b31ec12
feat: mapCharge
now computes fields progress
, timeLeft
and fixes time
2022-07-28 15:35:39 +03:00
Vlad Stan
d79d4e371e
feat: use datetime
to compute time_left
and time_elapsed
2022-07-28 15:35:39 +03:00
Vlad Stan
e4078504ba
fix: do not update charge if balance has not changed
2022-07-28 15:35:39 +03:00
Vlad Stan
25f37b0e4f
chore: code clean-up
2022-07-28 15:35:39 +03:00
Vlad Stan
057de41678
feat: only refresh balance on the back-end if new funds are detected by the front-end refresh
2022-07-28 15:35:39 +03:00
Vlad Stan
31b6a9410c
refactor: move setInterval outside method logic
2022-07-28 15:35:39 +03:00
Vlad Stan
ac3f95e6c2
feat: use custom mempool_endpoint for the charge details
2022-07-28 15:35:39 +03:00
Vlad Stan
4cb54ce549
feat: allow refresh balance for individual charge
...
- expired or paid charges are not auto-refreshed
2022-07-28 15:35:39 +03:00
Vlad Stan
5a3e1d7fbb
feat: add expanding details to rows
2022-07-28 15:35:39 +03:00
Vlad Stan
4fa8b5a292
feat: enforce order for charges ORDER BY "timestamp" DESC
2022-07-28 15:35:39 +03:00
Vlad Stan
ccae7876d9
feat: show status as badge
2022-07-28 15:35:39 +03:00
Vlad Stan
cce341fb39
fix: search and export csv layout
2022-07-28 15:35:39 +03:00
Vlad Stan
5317d5afd5
feat: use multiple charges balance endpoint (one call only)
2022-07-28 15:35:39 +03:00
Vlad Stan
6da62c648a
feat: use single charge endpoint for balance
2022-07-28 15:35:39 +03:00
Vlad Stan
40f5cf77f6
feat: add endpoint for multiple charges balance;
2022-07-28 15:35:39 +03:00
Vlad Stan
475fd566e6
fix: remove retry logic for pending funds
2022-07-28 15:35:39 +03:00
Vlad Stan
a9506cee11
feat: show pending funds
2022-07-28 15:35:39 +03:00
Vlad Stan
efbf34a51e
feat: show message when new payment detected
2022-07-28 15:35:39 +03:00
Vlad Stan
0cd8ba956a
feat: more UI polishing
2022-07-28 15:35:39 +03:00
Vlad Stan
05bc887ad5
feat: make the panels responsive
2022-07-28 15:35:39 +03:00
Vlad Stan
80e1545920
core: code format
2022-07-28 15:35:39 +03:00
Vlad Stan
728209da7d
refactor: replace mempool
internal API with a more generic config
API
2022-07-28 15:35:39 +03:00
Vlad Stan
3bd4253292
feat: use bootstrap tables for the layout (not fixed px values)
2022-07-28 15:34:37 +03:00
Vlad Stan
912a7e1c4b
feat: add web-socket to mempool; & replace UI mappings
2022-07-28 15:34:37 +03:00
Vlad Stan
d74b48b0b6
refactor: method renamings
2022-07-28 15:34:37 +03:00
Vlad Stan
615520bcb3
feat: separate invoice check from onchain check
2022-07-28 15:34:36 +03:00
Vlad Stan
1dd51a2752
refactor: extract methods to utils
2022-07-28 15:34:36 +03:00
Vlad Stan
e3d36e6a3a
feat: extract utils to static/js
2022-07-28 15:34:36 +03:00
Vlad Stan
09a9a0f9ec
refactor: remove extra state fields
2022-07-28 15:34:36 +03:00
Vlad Stan
74322232d0
fix: add await for rescan
2022-07-28 15:34:36 +03:00
Vlad Stan
91c6d32852
feat: do client side rescan for onchain address
2022-07-28 15:34:36 +03:00
Vlad Stan
6c21bf359c
choe: format
2022-07-28 15:34:36 +03:00
Vlad Stan
b5e97f08a6
chore: code clean-up
2022-07-28 15:34:36 +03:00
Vlad Stan
8e05a11978
refactor: replace var
with const
2022-07-28 15:34:36 +03:00
Vlad Stan
50b2dcfcaa
refactor: clean-up unnecessary self
2022-07-28 15:34:36 +03:00
Vlad Stan
6cfa8e30bc
refactor: replace promises with async/await
2022-07-28 15:34:36 +03:00
Vlad Stan
5a005e830c
chore: add a todo
2022-07-28 15:34:36 +03:00
Vlad Stan
d93b199735
fix: pass charge
param as JSON
2022-07-28 15:34:36 +03:00
Vlad Stan
2b5fc82110
feat: update text Watch-Only
-> Onchain Wallet (watch-only)
2022-07-28 15:03:22 +03:00