Commit graph

257 commits

Author SHA1 Message Date
Jonathan Zernik
88647dd783
Change url path for pubkey page (#1873)
* Change url path for pubkey page

* Update frontend build
2021-12-20 10:27:29 -08:00
Jonathan Zernik
5198467889
Use new squeak protocol with schnorr and pubkey as identifier (#1870)
* Got all tests in core dir passing

* Got all tests in db dir passing

* Got tests for admin dir passing

* Got all unit tests passing

* Added migration for squeak table and profile table using new pubkey

* Re-start db migrations with new data-v2.db file

* Fix column type for profile public key

* Got all itests passing

* Log the public key in hex in create contact profile handle fn

* Rename rpc methods to use pubkey instead of address

* Got frontend mostly working with new profile pubkey

* Update frontend to use pubkey instead of address

* Change size of squeak profile detail item

* Update create contact profile dialog to use pubkey

* Update twitter account item to use pubkey

* Include label for pubkey in profile detail item

* Decrease size of profile detail item

* Update frontend build

* Improve logging of requests in handler
2021-12-20 09:28:38 -08:00
Jonathan Zernik
8e69f7f77d
Use check icon for twitter mirror status (#1864)
* Use check mark icon for twitter mirroring status

* Update frontend build
2021-12-16 04:39:37 -08:00
Jonathan Zernik
72aeb2023b
Improve UI twitter page (#1863)
* Remove text with count of twitter accounts

* Rephrase text for twitter connections status

* Update frontend build

* Change text for twitter mirroring status

* Update frontend build
2021-12-16 04:00:42 -08:00
Jonathan Zernik
ed50b71ce2
Change sidebar peers icon (#1862)
* Change sidebar icon for peers page

* Update frontend build
2021-12-15 14:42:39 -08:00
Jonathan Zernik
8e975ca811
Make start/stop twitter stream thread-safe (#1859)
* Make start/stop twitter stream thread-safe

* Add rpc for get twitter stream status

* Add get twitter stream status rpc to flask

* Display twitter stream connection status in twitter page

* Fix twitter forwarder task stop

* Update frontend build
2021-12-15 14:29:36 -08:00
Jonathan Zernik
f8e1cc5b41
Remove ugly paper from a bunch of pages (#1854)
* Remove ugly paper from a bunch of pages

* Update frontend build
2021-12-14 06:59:47 -08:00
Jonathan Zernik
2935130e79
Change text of button for go to peer config (#1849)
* Change text of button for go to peer config

* Got basic saved peer detail component working

* Got toggle saved peer configs dialog working

* Show network, host, and port for saved peer detail component

* Update frontend build

* Improve styles for detail cards

* Update frontend build
2021-12-14 03:10:11 -08:00
Jonathan Zernik
353c543439
Fix default port display (#1844)
* Remove unnecessary peerName state from connect peer dialog

* Fix display of default peer port in connect peer dialog

* Fix display of default peer port in create saved peer dialog

* Fix overlapping value for default port when disabled

* Update frontend build
2021-12-11 23:43:53 -08:00
Jonathan Zernik
6233890e5b
Remove squeak detail include in squeak entry (#1837)
* Got squeak details dialog working without details rpc request

* Remove get squeak detail from rpc proto

* Update frontend build

* Remove old get squeak detail itest

* Remove unused fixture for squeak detail item
2021-11-30 22:25:43 -08:00
Jonathan Zernik
9c80e1e7c7
Fix bitcoin component using svgicon component (#1834)
* Fix bitcoin component using svgicon component

* Update frontend build
2021-11-29 17:25:37 -08:00
Jonathan Zernik
c1bdf3beb3
Fix sidebar bitcoin icon height (#1833)
* Fix bitcoin icon height in sidebar

* Update frontend build
2021-11-29 16:41:55 -08:00
Jonathan Zernik
45a3610dec
Use bitcoin icon for wallet in sidebar (#1832)
* Use bitcoin icon for wallet in sidebar

* Update frontend build
2021-11-29 15:51:19 -08:00
Jonathan Zernik
72f7ef5d4b
Fix waiting indicator for squeak address page (#1826)
* Fix waiting indicator for squeak address page

* Update frontend build
2021-11-23 18:15:54 -08:00
Jonathan Zernik
c53dadb006
Fix toggle profile and peer (#1824)
* Fix toggle reload for profile page and peer page

* Update frontend build
2021-11-22 22:04:53 -08:00
Jonathan Zernik
fa45dc444c
Improve buttons in peer address page (#1823)
* Improve buttons in peer address page

* Improve saved peer page

* Update frontend build
2021-11-22 20:10:39 -08:00
Jonathan Zernik
66f5a70852
Improve goto/create profile button in squeak address page (#1822)
* Improve goto/create profile button in squeak address page

* Update frontend build
2021-11-22 19:47:07 -08:00
Jonathan Zernik
1cd38094df
Rename button for add saved peer (#1821)
* Rename button for add saved peer

* Update frontend build
2021-11-22 19:21:10 -08:00
Jonathan Zernik
b4d1dce4e5
Improve display of dialog fields (#1819)
* Use outline and margin for dialog text field inputs

* Update frontend build
2021-11-22 18:52:26 -08:00
Jonathan Zernik
b7ceb75408
Show waiting indicator for peers page (#1818)
* Show waiting indicator for peers page

* Show waiting indicator for peer page

* Show waiting indicator for peer address page

* Show waiting indicator for payments page

* Update frontend build
2021-11-22 16:37:03 -08:00
Jonathan Zernik
8257978761
Improve waiting indicators (#1814)
* Improve display of waiting indicator for liked page

* Show waiting indicator for initial load

* Use null to represent unloaded state items

* Improve waiting indicators on squeak page

* Improve loading indicator for squeak address page

* Improve waiting indicator for profile page

* Improve waiting indicator for profiles page

* Show waiting indicator for wallet page

* Improve waiting indicator for search page

* Fix issue with empty search input

* Remove unnecessary arg for search function

* Update frontend build
2021-11-21 22:34:51 -08:00
Jonathan Zernik
bd0e2656f7
Update frontend dependencies fix conflicts (#1811)
* Update some frontend dependencies

* Update yarn

* Upgraded dependences with yarn upgrade --latest

* Got frontend working with upgraded dependencies

* Update frontend build
2021-11-20 20:28:53 -08:00
Jonathan Zernik
0a5d0d1d10
Remove profile custom price (#1807)
* Remove custom price from profile

* Remove profile custom price from frontend

* Update frontend build
2021-11-19 00:04:07 -08:00
Jonathan Zernik
82a656a47e
Remove hash from buy offer display in dialog (#1792)
* Remove hash from buy offer display in dialog

* Update frontend build
2021-11-10 02:18:42 -08:00
Jonathan Zernik
488ed5dfc4
Add global sell price setting (#1791)
* Add sell price setting to db

* Add rpc method for set and get sell price setting

* Fix servicer methods for get and set sell price

* Add settings page in frontend

* Include default sell price in get sell price rpc

* Show sell price in settings page

* Got set sell price working in frontend

* Remove frontend validation of sell price dialog

* Use sell price from settings when determining price

* Add rpc to clear sell price setting

* Add clear sell price to frontend

* Remove unused imports in frontend

* Update frontend build
2021-11-10 01:53:55 -08:00
Jonathan Zernik
c0141effcb
Implement share for free with saved peer (#1782)
* Add share_for_free column to peer table in db and to core struct

* Got set share for free toggle working in frontend

* Got share for free working with price zero in controller
2021-11-07 02:21:13 -08:00
Jonathan Zernik
80de1b8ff2
Improve display of waiting indicator for squeak address page (#1777)
* Improve dislay of waiting indicator for squeak address page

* Update frontend build
2021-11-06 21:01:36 -07:00
Jonathan Zernik
baf58c0c48
Display bearer token in text field (#1770)
* Show bearer token in a read-only text field

* Fix unused imports in twitter frontend components

* Update frontend build
2021-11-06 03:12:53 -07:00
Jonathan Zernik
0d8f371d54
Show not implemented alert for re-squeak button click (#1765)
* Show not implemented alert for re-squeak button click

* Update frontend build
2021-11-05 01:42:53 -07:00
Jonathan Zernik
ec6b2e17bd
Fix button text for submit button in add twitter account dialog (#1757)
* Fix button text for submit button in add twitter account dialog

* Update frontend build
2021-11-04 19:47:58 -07:00
Jonathan Zernik
6c40891ad8
Add twitter forwarder (#1755)
* Add twitter stream class

* Got twitter forwarder subscription working

* Add config table in db with twitter bearer token

* Only run forward tweets task when twitter bearer token and twitter handles are not null

* Add twitter page to frontend and add button to set bearer token

* Reload bearer token in ui after setting value

* Add twitter accounts table to db

* Got get twitter accounts request working

* Display twitter account list items in twitter page

* Show twitter accounts in twitter page

* Got create squeak from tweet working

* Update twitter stream upon twitter accounts changes

* Got terminate twitter stream connection working

* Update frontend build

* Remove print statements from itest

* Remove main function from twitter stream module

* Make tweet forwarder worker run as daemon thread

* Use custom config for subscribe tweets retry interval
2021-11-04 19:10:00 -07:00
Jonathan Zernik
15bdaa1565
Update received offers in display even when none downloaded (#1750)
* Update received offers in display even when none downloaded

* Update frontend build
2021-11-02 00:53:58 -07:00
Jonathan Zernik
2b88792fb7
Include network name in profile dropdown in header (#1743)
* Include network name in profile dropdown in header

* Update frontend build
2021-10-29 19:37:07 -07:00
Jonathan Zernik
670e8e3428
Remove hash from title of buy squeak dialog (#1741)
* Remove hash from title of buy squeak dialog

* Update frontend build
2021-10-28 00:27:36 -07:00
Jonathan Zernik
e765d584aa
Simplify method for handle save received squeak (#1740)
* Split up and simplify save received squeak method

* Got waiting dialog for download in progress for offers

* Remove old comments from squeak controller

* Fix call increment counter when lookup returns none

* Update frontend build
2021-10-28 00:01:24 -07:00
Jonathan Zernik
c51a1a82be
Show alert on all download request results (#1737)
* Show alert on all download request results

* Update frontend build
2021-10-26 21:13:40 -07:00
Jonathan Zernik
8daeee2717
Return immediately from download when zero connected peers (#1733) 2021-10-26 15:27:06 -07:00
Jonathan Zernik
31cd1d93cf
Got download in progress dialog working on squeak address page (#1732)
* Got download in progress dialog working on squeak address page

* Got progresss indicator working for download replies

* Got progresss indicator working for single squeak

* Separate function for hanlde download replies and click

* Run frontend lint

* Update frontend build

* Remove todo

* Update frontend build
2021-10-26 13:10:14 -07:00
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
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