Commit graph

263 commits

Author SHA1 Message Date
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
yzernik
ebd61823aa Revert back the revert to use address for profile primary key 2021-02-03 20:53:00 -08:00
Jonathan Zernik
855d357ca4
Revert to using integer primary key for profile table (#783) 2021-02-03 01:42:47 -08:00
Jonathan Zernik
7c5734bd86
Use addresss for profile primary key (#779)
* Use address as primary key for profile table

* Delete old sql query comments

* Update frontend to use address for profile primary key

* Fix profiles page data table goto action

* Fix usage of get profile by address in remaining frontend
2021-02-02 20:54:11 -08:00
Jonathan Zernik
0022860e7f
Refactor navigation functions (#776)
* Refactor navigation functions out of offer detail component

* Remove old commentes

* Fix go to lightning node from offer detail

* Refactor more navigation functions

* Refactor goto function out of create contact profile

* Refactor goto out of create peer dialog

* Refactor goto out of create signing dialog

* Refactor goto out of delete squeak dialog

* Refactor goto out of import signing profile dialog

* Refactor goto out of lightning peer list dialog

* Refactor goto out of make squeak dialog

* Refactor goto out of open channel dialog

* Refactor goto out of pending open channel component

* Refactor goto out of pending received payment component

* Refactor goto out of send bitcoin dialog

* Refactor goto out of sent offer component

* Refactor goto out of sent payment component

* Refactor goto out of squeak detail component

* Refactor goto out of profile detail component

* Refactor goto out of squeak thread item component

* Refactor goto out of payments page

* Refactor goto out of peers page

* Refactor goto out of profile page

* Refactor goto out of squeak page

* Refactor goto out of squeak address page

* Refactor goto out of timeline page

* Refactor reload out of buy dialog

* Refactor reload out of delete peer dialog

* Refactor reload out of delete profile dialog

* Refactor reload out of delete squeak dialog

* Refactor reload out of header

* Refactor reload out of squeak detail component

* Refactor goto out of timeline avatar component

* Refactor reload out of upload image dialog

* Refactor reload out of channel page

* Refactor reload out of lightning node page

* Refactor goto out of profiles page
2021-02-01 02:39:00 -08:00
Jonathan Zernik
9312e5f23b
Handle missing peer for receieved offer sent payment (#773)
* Add has peer field to rpc messages with optional peer

* Handle possible missing nested peer in sent payment

* Fix showing offer and payment with no nested peer

* Update static build
2021-01-31 02:59:26 -08:00
Jonathan Zernik
919738fdce
Use nested peer msg in sent payments msg (#770)
* Use nested peer msg in sent payments msg

* Use nested peer msg in sent payment in frontend

* Update static build for nested peer msg in sent paymen
2021-01-30 23:54:23 -08:00
Jonathan Zernik
a07e73faa4
Use nested profile msg in squeak display msg (#767)
* Use nested squeak profile msg inside squeak display entry in rpc proto

* Include author address in squeak display entry msg

* Use nested squeak profile in squeak display message in frontend

* Update static build with nested squeak profile in squeak display msg
2021-01-30 21:29:57 -08:00
Jonathan Zernik
d0fc4d5c73
Add update profile image dialog (#752)
* Added update profile dialog

* Add select file input for image upload

* Add set and clear profile image rpc methods

* Remove unused bytes field from clear image rpc

* Display selected file name in upload image dialog

* Set profile image rpc uses base64 string field

* Got set profile image working

* Show profile image in timeline

* Update static build with update custom profile image working
2021-01-29 22:01:32 -08:00
Jonathan Zernik
86a5b275d9
Use component for profile details (#750) 2021-01-29 18:48:17 -08:00
Jonathan Zernik
128a8ac900
Improve profile page using card menu (#748)
* Improve profile page using card with menu

* Update static build for improved profile card
2021-01-29 03:38:37 -08:00
Jonathan Zernik
2f5b611c54
Improve profile display (#747)
* Improve profile display

* Update static build for profile card changes
2021-01-29 02:52:14 -08:00