Commit graph

274 commits

Author SHA1 Message Date
Jonathan Zernik
b9ac4b86b4
Use peer address struct in requests (#1004)
* Update connect peer and disconnect peer rpc to use peer addrss struct

* Update get connected peer rpc to use peer addrss struct

* Use peer address struct in create saved peer rpc

* Use peer address struct in squeak peer struct

* Use peer address for requests functions in frontend

* Update frontend build
2021-08-21 00:54:48 -07:00
Jonathan Zernik
4f2f6107fe
Replace host port with peer address object (#1002)
* Delete old offer with peer and sent payment with peer structs

* Use peer_address as field name for all structs

* Use peer address object in proto responses

* Update frontend to use new peer address struct

* Undo change to navigate to peer address page params

* Update frontend build
2021-08-20 22:03:32 -07:00
Jonathan Zernik
d6902bd606
Link to peer address from received payment display (#1001)
* Include link to peer address page in received payment display

* Update frontend build
2021-08-20 20:37:31 -07:00
Jonathan Zernik
8e30af2f2a
Use peer host and peer port for received payment messag (#1000)
* Use peer host and peer port for received payment messag

* Update frontend build
2021-08-20 20:20:19 -07:00
Jonathan Zernik
7e0a6ed21e
Show peer address for sent payment (#999)
* Remove peer from sent payment response in backeng

* Got peer address showing in sent payment display in frontend

* Fix display of available offers dropdown in buy dialog

* Update frontend build
2021-08-20 19:56:39 -07:00
Jonathan Zernik
b1489e45ed
Show peer info for buy offer (#998)
* Show peer host and port in offer detail component

* Remove peer field from offer display entry
2021-08-20 19:07:59 -07:00
Jonathan Zernik
0de52cc20f
Show avatar image in profile list item component (#996)
* Show avatar image in profile list item component

* Update frontend build
2021-08-20 17:20:37 -07:00
Jonathan Zernik
eb622a8aee
Terminate unhandshaked peer on shutdown (#995)
* Fix connect to saved peers with autoconnect set

* Show peer address for saved peer page

* Update frontend build
2021-08-20 16:52:16 -07:00
Jonathan Zernik
f9197f7035
Remove uploading and downloading fields and add autoconnect field in … (#993)
* Remove uploading and downloading fields and add autoconnect field in all backend code

* Remove uploading and downloading fields and add autoconnect in frontend

* Update frontend build
2021-08-20 15:46:54 -07:00
Jonathan Zernik
deb8b1b99b
Remove sharing field profile (#990)
* Remove sharing field from all backend code

* Add db migration to remove sharing field

* Remove profile sharing field from frontend

* Update frontend build
2021-08-20 14:18:04 -07:00
Jonathan Zernik
2a83d94373
Show number of connected peers (#987)
* Show number of connected peers

* Update frontend build
2021-08-20 01:43:26 -07:00
Jonathan Zernik
1d4ec43a10
Add config for stream idle timeout in envoy (#985) 2021-08-20 00:20:23 -07:00
Jonathan Zernik
b80a3425a4
Fix lnd open channel (#983)
* Fix lnd open channel

* Fix go to channel page function call

* Got streaming peers and peer frontend pages working

* Update frontend build
2021-08-19 22:22:54 -07:00
Jonathan Zernik
a25c0c6be7
Show alert on connect lnd peer fail (#982) 2021-08-19 19:58:15 -07:00
Jonathan Zernik
89b9db9235
Convert frontend request to use rpc client (#980)
* Convert frontend request to use rpc client

* Remove itnernal routes from webapp

* Fix handling of payoffer rpc failure
2021-08-19 17:42:49 -07:00
Jonathan Zernik
ebf08e7fe0
Use envoy proxy for rpc (#977)
* Got basic envoy proxy use working

* Got envoy proxy working with frontend dev mode and envoy v 1.16.0

* Change envoy proxy port to 15081
2021-08-19 15:14:14 -07:00
yzernik
eb15a1bf53 Revert to version before envoy proxy 2021-08-19 02:13:00 -07:00
yzernik
6a7bd3804d Revert commit: 9ab6dba379 2021-08-19 00:11:06 -07:00
Jonathan Zernik
a2bb65a051
Configure grpc proxy port (#973) 2021-08-18 20:51:35 -07:00
Jonathan Zernik
f766a8cd1b
Use different port for envoy in javascript client config (#972) 2021-08-18 19:47:47 -07:00
Jonathan Zernik
afd8787027
Use envoy frontend proxy (#971)
* Envoy requets seems to be working

* Use grpcweb with proxy for get timeline squeaks
2021-08-18 18:52:39 -07:00
Jonathan Zernik
bf6fbc0ab7
Add download replies button (#965)
* Add download replies rpc command

* Add download replies button to squeak page

* Use reply to hash in lookup query

* Update frontend build
2021-08-17 23:00:58 -07:00
Jonathan Zernik
95176be9c0
Got full width working for squeak detail display (#964)
* Got full width working for squeak detail display

* Update frontend build
2021-08-17 21:31:54 -07:00
Jonathan Zernik
cb37640d71
Remove action bar from reply to dialog (#960)
* Remove action bar from reply to dialog

* Update frontend build
2021-08-17 20:27:50 -07:00
Jonathan Zernik
53c71d64c2
Refactor ancestors thread (#943)
* Refactor uknown ancestor component into SqueakThread component

* Update comments in peer message handler
2021-08-14 23:43:12 -07:00
Jonathan Zernik
8aba1d9135
Remove old components from squeak detail (#942)
* Remove old components from squeak detail component

* Fix handleReloadSqueakItem for SqueakThread component

* Update frontend build
2021-08-14 23:07:47 -07:00
Jonathan Zernik
32bb960f6a
Only download offers on click (#941)
* Only download offers for squeak when rpc method called

* Only download offers after explicit click in frontend

* Update frontend build
2021-08-14 22:14:14 -07:00
Jonathan Zernik
155e68796b
Load buy offers on dialog open (#938)
* Include key param for squeak detail item component

* Load received offers only when buy dialog opens

* Update frontend build
2021-08-14 19:13:27 -07:00
Jonathan Zernik
d532d5e58f
Only fetch backend data in dialogs on dialog open (#934)
* Only fetch backend data in dialogs on dialog open

* Update frontend build
2021-08-14 01:07:15 -07:00
Jonathan Zernik
c47051fa23
Refactor action bar component (#933)
* Got refactored action bar component working

* Fixed action bar component

* Almost got action bar working in squeak thread item components

* Got action component working for squeak thread item in timeline

* Create reusable component for squeak list

* Add squeak ancestor thread component

* Created squeak replies component

* Use squeak list component in squeak address page

* Update frontend build
2021-08-14 00:34:45 -07:00
Jonathan Zernik
c6fc75048e
Use grid for frontend width (#932)
* Use grid to limit width of frontend components

* Remove page titles

* Remove page title from peer address page

* Use grid width for more pages

* Update static build
2021-08-13 14:51:01 -07:00
Jonathan Zernik
aab50fa287
Add peer address page (#927)
* Go to peer address page on connected peer item click

* Added disconnect button to peer address page

* Add get connected peer rpc method

* Add disconnect button to peer address page

* Add both connect and disconnect button to peer address page

* Update frontend build
2021-08-12 21:59:26 -07:00
Jonathan Zernik
e64289be7d
Use host port to connect peer (#926)
* Use host and port for connect_peer rpc command

* Use host and port for disconnect peer command

* Got connect peer dialog frontend working

* Add disconnect peer request frontend function

* Update frontend build
2021-08-12 19:53:25 -07:00
Jonathan Zernik
3098b7c707
Improve saved peers list frontend UI (#925)
* Use tabs for peers page

* Improved look of saved peers ui

* Use different icon for lightning peer and squeak peer list items

* Successfully show connected peers on peers page

* Show both connected peers and saved peers on peers page

* Update frontend build
2021-08-12 18:21:46 -07:00
Jonathan Zernik
6656d6958b
Fix show squeak detail liked (#923)
* Fix show squeak detail item liked

* Update frontend build
2021-08-12 13:31:00 -07:00
Jonathan Zernik
dea8a854e2
Improve profile list item frontent (#922)
* Improve frontent ui for profile list item

* Update frontent build
2021-08-12 13:14:26 -07:00
Jonathan Zernik
36d89bd25e
Fix peer server thread shutdown (#903) 2021-08-10 18:48:00 -07:00
dependabot[bot]
b63ee36358
Bump @grpc/grpc-js from 1.0.5 to 1.1.8 in /frontend (#891)
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.0.5 to 1.1.8.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 18:04:31 -07:00
Jonathan Zernik
c4477a9168
Add liked page (#879)
* Add query filter for getting only liked squeak displays

* Got liked page working

* Fix showing action bar for squeak page with null squeak
2021-02-22 20:17:45 -08:00
Jonathan Zernik
6a71bf5129
Add liked column (#878)
* Add liked column to squeak table

* Add rpc methods for like and unlike

* Fix migration to add liked column

* Got like squeak working

* Set squeak liked without reloading page

* Download squeak button reloads squeak without reloading page

* Use inconbutton for actions in squeak detail component

* Update static build
2021-02-22 18:54:20 -08:00
Jonathan Zernik
a93025a026
Save host and port of buyer client (#868)
* Save host and port of buyer client

* Show buyer port in frontend for received payments
2021-02-21 20:01:02 -08:00
Jonathan Zernik
bee8ced886
Add info for reprocess received payments (#818)
* Add info text for process received payments

* Update static build
2021-02-12 00:34:58 -08:00
Jonathan Zernik
9e15962d1a
Allow reprocess invoice without duplicate (#816)
* Allow reprocessing the same invoice without duplicate insert of received payment

* Use stopped event to stop processing invoices

* Got itest working with payment processor class

* Use payment processor class in squeak controller constructor

* Add rpc method for reprocess received payments

* Add reprocess received payments button

* Add reprocess received payments to admin web app

* Handle processing received payments subscription rpc better

* Add frontend button to reprocess received payments

* Clear settle indices in reprocess received payments

* Update static build
2021-02-12 00:14:45 -08:00
Jonathan Zernik
6c0dc044d5
Cleanup old squeak page (#813)
* Delete old comments from squeak page

* Delete old comments from squeak detail component

* Update static build
2021-02-10 04:43:52 -08:00
Jonathan Zernik
cc4b0432d9
Move dialogs inside squeak detail item component (#812) 2021-02-10 04:35:51 -08:00
Jonathan Zernik
b2dd9e7ff3
Add clear image dialog (#811)
* Added clear profile image dialog

* Reload profile without reloading page after making changes

* Update static build
2021-02-10 03:42:01 -08:00
Jonathan Zernik
37609a85d4
Profile dialogs inside component (#810)
* Move dialogs inside squeak profile detail component

* Add rename profile dialog

* Updates static build
2021-02-10 03:03:37 -08:00
Jonathan Zernik
3af03ad37e
Show profile image in foreground (#790) 2021-02-06 01:53:39 -08:00
yzernik
aaf6ae975d Revert changes to use natural primary keys 2021-02-04 03:15:02 -08:00
Jonathan Zernik
64cf97dfe9
Try changing peer primary key to hash, not done (#782)
* Try changing peer primary key to hash, not done

* Got backend working with peer hash as primary key

* Got frontend working with peer hash as primary key for peer
2021-02-04 00:09:58 -08:00