Commit Graph

2711 Commits

Author SHA1 Message Date
Arc
3b98a10c9e
Merge pull request #728 from motorina0/ext_satspay_onchain_fix
`satspay` extension improvements
2022-07-28 14:46:08 +01:00
Vlad Stan
ffcff3f441 fix: rebase issues 2022-07-28 16:37:42 +03:00
Vlad Stan
191124d8fc chore: code format 2022-07-28 16:34:42 +03:00
calle
f22e1e16af
build instruction (#800) 2022-07-28 15:26:43 +02: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
e960285c8f chore: code format 2022-07-28 15:35:39 +03:00
Vlad Stan
86f7ea64c4 fix: use the config mempool.space endpoint 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