Commit graph

372 commits

Author SHA1 Message Date
Jonathan Zernik
4ca835b2fb
Replace use_tor field with network in peer address (#1558)
* Replace use_tor field with network in peer address

* Got itest passing with network column in db.

* Got frontend working with network (ipv4 or torv3) configurable

* Fix go to peer address page navigation from sent payment and received payment
2021-10-10 21:00:56 -07:00
Jonathan Zernik
9f6307cbb3
Add rpc to get default peer port (#1556)
* Added get default peer port rpc command

* Use default port in connect peer dialog

* Got default port working on create peer dialog

* Got default port working in both connect peer and create peer.

* Remove default peer usage in create peer backend

* Remove default peer handling for connect peer in backend

* Reset port back to empty when use custom is checked or unchecked.
2021-10-10 00:30:27 -07:00
Jonathan Zernik
12f7b62349
Add toggle for connect with tor (#1550)
* Added use_tor option to peer address class and grpc message

* Got itest passing without tor

* Got peer connection working in UI with tor toggle

* Able to connect to with and without tor

* Got save peer working with tor and without tor

* Add use_tor field to peer address everywhere.

* Fix usage of useMemo in peer address page
2021-10-09 22:26:54 -07:00
Jonathan Zernik
7c33f33c51
Use stop propagation to ignore click on tx details in transaction item (#1502) 2021-10-04 20:29:09 -07:00
Jonathan Zernik
f2ba8dc004
Fix autofocus in open channel dialog (#1501) 2021-10-04 20:22:30 -07:00
Jonathan Zernik
596a04b20f
Update docs to use pip install . (#1500) 2021-10-04 20:16:20 -07:00
Jonathan Zernik
028b0b5ef1
Use separate lnd container in docker compose (#1479)
* Other lnd container in docker-compose seems to work

* Add new docker-compose using btcd

* Fix external host config for docker-compose

* Remove btcctl container from docker-compose in docker dir

* Mount btcd rpc certs dir to host dir

* Revert "Mount btcd rpc certs dir to host dir"

This reverts commit a79246fb3c.

* Use bitcoin-core instead of btcd in docker-compose.btcd

* Got squeaknode connection and buy working from host machine to container

* Got host to container connection working in main docker-compose

* Remove old comments from docker-compose

* Make squeaknode container use persistent volume

* Add tor proxy to dockerfile

* Update development doc with containerized squeaknode info

* Remove docker-compose.btcd.yml

* Remove unused configs from docker config.ini

* Add zmq hash block port to docker config.ini
2021-10-04 15:12:45 -07:00
Jonathan Zernik
c8db46fd75
Remove spacing from squeak detail item (#1453) 2021-10-01 00:30:18 -07:00
Jonathan Zernik
1c909da201
Update frontend build with timedisplay component (#1450)
* Run make lint

* Update frontend build
2021-09-30 22:30:18 -07:00
Abhishek Shandilya
8f3bc9c47d
Fixes #1147 (#1393)
* Fixes #1147

* convert squeak time to a reusable component

* add spacing between grid containers
2021-09-30 22:24:52 -07:00
Abhishek Shandilya
fc9d217a5b
Buttongroup uses full width to accommodate onion address (#1429) 2021-09-27 14:58:42 -07:00
Jonathan Zernik
678e6a0829
Show external address as selectable text field (#1427)
* Show external address as text field instead of button

* Run frontend lint
2021-09-27 12:22:03 -07:00
Jonathan Zernik
afbd2b8238
Show status of saved peers (#1399)
* Show connection status of saved peers with icon

* Make frontend lint

* Make frontend lint
2021-09-23 22:01:29 -07:00
Jonathan Zernik
f81ee98157
Update npm deps (#1384)
* Update npm deps

* Update deps with make rundev
2021-09-22 13:34:15 -07:00
Abhishek Shandilya
02fe4a8ae3
Copy external address to clipboard (#1380)
* Copy external address to clipboard, and set maxwidth to accommodate onion address

* Add description and tooltip

* edit description
2021-09-22 13:14:56 -07:00
Jonathan Zernik
1658ea65fd
Do handshake in connection class, use queue for synchronous connect peer (#1370)
* Do handshake in connection class, use queue for synchronous connect peer

* Update handshake timer in connection class

* Initialize peer in connection manager

* Remove old comments in peer handler

* Remove unused local_address param from peer handler

* Remove old comment for sleep in itest

* Fix stop waiting indicator after peer connect fail
2021-09-20 20:53:44 -07:00
Jonathan Zernik
4f0d30e08c
Update frontend build with create saved peer in address (#1366)
* Run frontend lint

* Update frontend build
2021-09-20 15:46:35 -07:00
Jonathan Zernik
5d7463de8c
Got create saved peer button working in peer address page (#1365) 2021-09-20 15:40:06 -07:00
Jonathan Zernik
c2533d5a1c
Run frontend lint for saved peer changes (#1363)
* Run frontend lint

* Update frontend build
2021-09-20 14:04:21 -07:00
Jonathan Zernik
864d6828c7
Show saved peer name in connected peers list (#1362) 2021-09-20 13:58:45 -07:00
Jonathan Zernik
0a93ef7fb5
Fix search url without text (#1349)
* Search page works with empty search text

* Fix react warning about callback dependency

* Run frontend lint

* Update frontend build
2021-09-18 20:59:21 -07:00
Jonathan Zernik
ba01a2eb0a
Show waiting indicator open channel dialog (#1344)
* Got waiting indicator to show, but style doesn't work yet

* Waiting indicator for open channel dialog seems to be working

* Update frontend build
2021-09-18 19:47:08 -07:00
Jonathan Zernik
51bc17ace2
Add waiting indicator for lnd node connect disconnect (#1343)
* Add waiting indicator for lnd node page click connect or disconnect

* Improved lightning page so page doesn't reload on list peers response

* Fix react warning by making listPeers function useCallback

* Run frontend lint

* Update frontend build
2021-09-18 19:00:04 -07:00
Jonathan Zernik
f5e3e8c069
Change unit to sats for sent payment and received payment display (#1341)
* Change unit to sats for sent payment and received payment display

* Update frontend build
2021-09-18 15:50:14 -07:00
Jonathan Zernik
cd7726c1ef
Fix decode url-encoded search text in search page (#1340)
* Fix decode url-encoded search text in search page

* Update frontend build
2021-09-18 15:41:20 -07:00
Jonathan Zernik
29c58d9231
Show waiting indicator for make squeak dialog click (#1338)
* Show waiting indicator for make squeak dialog click

* Run frontend lint

* Update frontend build
2021-09-18 15:00:40 -07:00
Jonathan Zernik
0410e890e4
Use consistent name in frontend (#1333)
* Rename Squeak Node to Squeaknode in frontend

* Update frontend build
2021-09-18 00:15:57 -07:00
Jonathan Zernik
c8646514da
Update display for peer address after clicking connect or disconnect (#1332)
* Update display for peer address after clicking connect or disconnect

* Run frontend lint

* Update frontend build
2021-09-17 23:56:31 -07:00
Jonathan Zernik
fc7749ea26
Show waiting indicator for connect peer (#1327)
* Show waiting indicator in connect peer dialog while waiting

* Update style for connect peer dialog to show waiting indicator in button

* Remove unused import

* Run frontend lint

* Update frontend build

* Remove testing comment from peer handler
2021-09-17 22:48:52 -07:00
Jonathan Zernik
cc950eb173
Do handshake in peer handler, not in connection class (#1326)
* Do handshake in peer handler, not in connection class

* Do handle connection synchronously

* Start connection context manager and handler in separate thread

* Update frontend build
2021-09-17 22:03:00 -07:00
Jonathan Zernik
73b36ebb33
Fix sent payment display (#1303)
* Fix duplicate  text in sent payment display

* Update frontend build
2021-09-16 09:41:49 -07:00
Jonathan Zernik
b765ba0014
Fix search click with same text (#1301)
* Fix handle submit search with same text as current page

* Update frontend build
2021-09-16 09:19:50 -07:00
Jonathan Zernik
6173826cac
Make search bar open always (#1300)
* Make search input in header always open

* Make isSearchOpen a const

* Update frontend build
2021-09-16 09:06:35 -07:00
Jonathan Zernik
c6a1f2caaf
Fix setting state for frontend search page on new query (#1299)
* Fix setting state for frontend search page on new query

* Make frontent lint

* Update frontend build
2021-09-16 08:52:33 -07:00
Jonathan Zernik
d9f86b2fb6
Add search page (#1293)
* Got search working in frontend

* Got search bar working

* Make frontent lint

* Remove unused state from search page

* Update frontend build

* Reset search results to empty array on search bar enter

* Make frontent lint

* Update frontend build
2021-09-15 18:21:05 -07:00
Jonathan Zernik
ffd3cdee48
Show connect peer failure in frontend (#1282)
* Show error in frontend on connect peer failure

* Update frontend build
2021-09-13 19:29:00 -07:00
Jonathan Zernik
127af61648
Show alert on create contact error (#1267)
* Fix handleErr callback in create contact request function

* Fix handleErr callback in more request functions

* Update frontend build
2021-09-10 07:46:42 -07:00
Jonathan Zernik
599e83937a
Fix get error message to display for failed payment (#1263)
* Fix get error message to display for failed payment

* Update frontend build
2021-09-09 22:41:35 -07:00
Jonathan Zernik
259a712dd5
Show waiting indicator on peers page (#1262)
* Show waiting indicator on peers page for both tabs

* Run frontend lint

* Update frontend build
2021-09-09 22:10:37 -07:00
Jonathan Zernik
47c73001fd
Hide connection info and show waiting indicator on peer address page … (#1260)
* Hide connection info and show waiting indicator on peer address page while waiting

* Run frontend lint

* Update frontend build
2021-09-09 21:30:42 -07:00
Jonathan Zernik
af5577ff8d
Show external address in dialog on button click and remove from page … (#1258)
* Show external address in dialog on button click and remove from page text

* Run frontend lint

* Remove unused reset fields function

* Update frontend build
2021-09-09 20:41:28 -07:00
Jonathan Zernik
4de8078321
Fix text in view more button for payments (#1249)
* Fix text in view more button for payments

* Update frontend build
2021-09-09 15:16:06 -07:00
Jonathan Zernik
48d4c3cf82
Remove routes tab from lightning node page (#1248)
* Remove routes tab from lightning node page

* Update frontend build

* Fix favicon for real

* Update frontend build
2021-09-09 15:05:53 -07:00
Jonathan Zernik
5e561e6ec2
Implemented get external address rpc method (#1236)
* Implemented get external address rpc method

* Display external address on peers page in frontend

* Update frontend build
2021-09-08 20:15:32 -07:00
Jonathan Zernik
b2858d714b
Paginate received payments (#1234)
* Add pagination to get received payments rpc

* Add pagination to received payments frontend page

* Comment unused method used for streaming in timeline page

* Run frontend lint

* Update frontend build
2021-09-08 17:54:49 -07:00
Jonathan Zernik
b9dad8ce0e
Remove envoy code (#1233) 2021-09-08 16:50:00 -07:00
Jonathan Zernik
db851936a4
Fix get connected peer request (#1228) 2021-09-08 14:00:57 -07:00
Jonathan Zernik
099d33a893
Change requests to flask (#1225)
* Got timeline request using flask endpoint

* Better error handling for javascript requests

* Got all lnd rpc methods working with flask requests

* Use flask endpoints for more rpc methods

* Use flask endpoints for even more rpc methods

* Use flask endpoints for even more rpc methods

* Use flask endpoints for even more rpc methods

* Use flask endpoints for even more rpc methods

* Comment out streaming frontend requests

* Comment out all streaming requests

* Remove grpc web client from requests

* Run frontend lint

* Update frontend build
2021-09-08 10:42:24 -07:00
Jonathan Zernik
dc524f80ec
Change create time sent payment to integer (#1221)
* Change created time in sent payment to milliseconds integer

* Change time field of sent payment rpc message to ms

* Update frontend for sent payment to get new milliseconds field

* Update frontend build

* Use milliseconds for received offer created time in database

* Use milliseconds for sent offer created time in database

* Change created time to milliseconds for received payment

* Update frontend to use milliseconds for received payment

* Update frontend to use milliseconds for peer and profile in database

* Change created time and liked time to milliseconds for squeak

* Remove use of datetime module from squeak db

* Fix get liked time in milliseconds in frontend

* Update frontend build

* Simplify squeak retention query
2021-09-07 21:14:17 -07:00
Jonathan Zernik
4b76ad832d
Add pagination for sent payments (#1220)
* Add pagination to get sent payments rpc method

* Got frontend mostly working for paginating sent payments

* Fix warning for missing arg in load sent payments effect

* Update frontend build
2021-09-07 09:26:34 -07:00