Commit graph

45 commits

Author SHA1 Message Date
ThomasV
747ab7a0a2 Integrate http_server (previously in electrum-merchant)
Use submodule to fetch HTML and CSS files
2019-09-04 12:20:05 +02:00
ThomasV
a50f935aec Restructure invoices and requests (WIP)
- Terminology: use 'invoices' for outgoing payments, 'requests' for incoming payments
 - At the GUI level, try to handle invoices in a generic way.
 - Display ongoing payments in send tab.
2019-09-02 15:35:44 +02:00
ThomasV
8010123c08 Display and refresh the status of incoming payment requests:
- All requests have an expiration date
 - Paid requests are automatically removed from the list
 - Unpaid, unconfirmed and expired requests are displayed
 - Fix a bug in get_payment_status, conf was off by one
2019-08-22 06:00:45 +02:00
ThomasV
98a1c9268a qt: do not show paid requests 2019-08-20 09:03:12 +02:00
ThomasV
70cd29f9e1 GUI refactoring for Kivy and lightning.
This also touches Qt and wallet code.
2019-08-20 09:03:12 +02:00
ThomasV
234591624e request_lists: remove non-sense 2019-08-20 09:03:11 +02:00
ThomasV
e53ecb9b77 add labels to lightning history 2019-08-20 09:03:11 +02:00
ThomasV
842fff832f enable lightning through command line option 2019-08-20 09:03:11 +02:00
ThomasV
8d77a7ecd8 save timestamps in htlc log 2019-08-20 09:03:11 +02:00
SomberNight
962628ac3d lnworker: minor clean-up re payment_completed 2019-08-20 09:03:11 +02:00
SomberNight
828f07a1ff qt request_list: disable editing existing items 2019-08-20 09:03:11 +02:00
SomberNight
f0b4d1ecce qt request_list: minor fix for context menu 2019-08-20 09:03:11 +02:00
SomberNight
64b2844e81 qt request_list: fix changing between items 2019-08-20 09:03:11 +02:00
ThomasV
62be0c481c lightning: Save invoices and preimages separately. Save preimages when forwarding 2019-08-20 09:03:11 +02:00
SomberNight
2976f50b8c lightning post-rebase fixups 2019-08-20 09:03:11 +02:00
Janus
f5cee9ecf6 lightning: post-rebase fixes, read_QIcon and invalid import 2019-08-20 09:03:11 +02:00
ThomasV
7bb4ea150f gui: show incoming lightning requests, add on-chain icon 2019-08-20 09:03:11 +02:00
ThomasV
2af178a586 Store boolean is_received in lightning invoices. Sort lightning history with timestamp. Minor fixes 2019-08-20 09:03:11 +02:00
ThomasV
0e8dba897e lightning:
* store invoices for both directions
* do not store lightning_payments_inflight, lightning_payments_completed in lnworker
* payment history is returned by get_payments method of LNChannel
* command line: lightning history, lightning_invoices
* re-enable push_msat
2019-08-20 09:03:11 +02:00
ThomasV
b0d6000771 turn lightning_payments_completed into dict. Show status of lightning payments in GUI. Make 'listchannels' available offline 2019-08-20 09:03:11 +02:00
Janus
1f1207ecbe ln: request_list: post rebase fixup (remove new_request_button deactivation) 2019-08-20 09:03:11 +02:00
ThomasV
02798aeb39 sort requests by date 2019-08-20 09:03:11 +02:00
ThomasV
3ce0f7f0cd simplify requests list 2019-08-20 09:03:11 +02:00
Janus
ef88bb1c28 request_list: select new items 2019-08-20 09:03:11 +02:00
Janus
9cbf55f977 request_list: do not mention that ln invoice is bolt-11 2019-08-20 09:03:11 +02:00
Janus
720146ee40 request_list: fix qr code display and keyboard selection of lightning invoices 2019-08-20 09:03:11 +02:00
Janus
4a2a45d7e3 lightning: post rebase qt gui fixes 2019-08-20 09:03:11 +02:00
SomberNight
54edc9488a lnworker: store invoices based on payment_hash 2019-08-20 09:03:10 +02:00
ThomasV
3caccbebcd follow-up a7e5b9421c014fc0be72696837cb9d77519c5e03 2019-08-20 09:03:10 +02:00
ThomasV
18bc5aa27b lightning: improve receive in Qt GUI 2019-08-20 09:03:10 +02:00
ThomasV
8346e358b2 move lnaddr.py to lib 2019-08-20 09:03:10 +02:00
SomberNight
0d4593eebf improve Qt Receive tab for LN payment requests 2019-08-20 09:03:10 +02:00
ThomasV
40fcf58fec lightning: display remote balance in gui 2019-08-20 09:03:10 +02:00
ThomasV
12d3877873 lightning GUI: use existing receive and send tabs with lightning invoices 2019-08-20 09:03:10 +02:00
SomberNight
41802d8094
qt receive tab: "receive address" is now coloured red if already used
closes #3812
closes #5374
2019-05-27 20:24:09 +02:00
SomberNight
46a236f167
qt tabs: restore filter state after refresh 2019-04-19 19:12:42 +02:00
Abdussamad Abdurrazzaq
ffe676bc28 Strip whitespace from amounts when copying. Fix bug in request list where address was copied instead of column specific data (#5228) 2019-04-05 15:59:14 +02:00
SomberNight
c23b869d3c
qt MyTreeView subclasses: change "headers" from list to dict 2019-02-10 21:13:53 +01:00
SomberNight
5aafcb2875
qt MyTreeView subclasses: use IntEnum for columns 2019-02-10 21:00:08 +01:00
SomberNight
16bac5fd73
rm qt icons file
so we don't need pyrcc5, which is not deterministic,
and so we don't need the submodule for the icons

based on electrumsv/electrumsv@bf8802c2ea
2019-02-01 20:15:28 +01:00
SomberNight
ef94af950c
wallet: try detecting internal address corruption 2018-12-12 20:50:53 +01:00
SomberNight
9bbfd610be
qt: don't flash QWidgets on startup before main window is visible
Consider wallet without password set. Using Qt GUI.
When starting the app, before the main window appears, small artefacts
("minimised" windows?) would appear very briefly and then disappear.
2018-12-12 19:58:13 +01:00
Janus
5473320ce4 qt: use QStandardItemModel 2018-12-03 15:35:54 +01:00
SomberNight
33d14e4238
some import clean-up in qt 2018-09-25 18:15:28 +02:00
Janus
097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00
Renamed from gui/qt/request_list.py (Browse further)