Commit graph

294 commits

Author SHA1 Message Date
Jonathan Zernik
e2933784ac
Use only ancestors rpc for squeak page (#1118)
* Got squeak page working without get squeak entry rpc, no streaming yet

* Implement subscribe ancestors

* Got subscribe ancestors working in frontend with download squeak click

* Delete old comments

* Update frontend build

* Remove old log lines
2021-08-30 20:08:37 -07:00
Jonathan Zernik
2934435a1d
Fix showing reply to on download squeak (#1117) 2021-08-30 06:33:45 -07:00
Jonathan Zernik
042bac2649
Fix wrong offers show in dialog (#1115)
* Fix loading buy offers from stream

* Loading offers seems to be working now

* Update frontend build
2021-08-30 05:19:57 -07:00
Jonathan Zernik
c801060d35
Add subscribe address display squeaks (#1112)
* Implement rpc command for subscribe address squeak entires

* Got subscription working for address squeaks

* Implemented download squeaks for address rpc

* Fix handling new squeak items from subscription appending to state array

* Update frontend build
2021-08-30 02:43:44 -07:00
Jonathan Zernik
d589b0a4a7
Fix download replies (#1111)
* Fix add temporary interest when downloading replies

* Add subscribe replies rpc

* Got reply squeaks subscription working in frontend

* Update frontend build
2021-08-29 23:49:42 -07:00
Jonathan Zernik
2f0d447603
Fixed close streams for subscriptions on react component unmount (#1110)
* Fixed close streams for subscriptions on react component unmount

* Update frontend build
2021-08-29 22:54:30 -07:00
Jonathan Zernik
a0d78844da
Download squeaks with custom params (#1108)
* Add rpc method for subscribe squeak entry

* Download squeak without reloading page using squeak entry subscription

* Fix stream termination of component unmount for subscribe squeak entry

* Update frontend build
2021-08-29 22:39:10 -07:00
Jonathan Zernik
cb73a6bfd2
Configure eslint (#1097)
* Configure eslint

* Fix eslint for frontend requests file

* Configure no unused import in eslint

* lint requests frontend file

* Run lint on all pages files

* Run lint on all component files

* Run lint on all remaining source files

* Add makefile target for frontend lint

* Update frontend build
2021-08-28 21:09:22 -07:00
Jonathan Zernik
97778d9cf2
Subscribe received offers (#1094)
* Add subscribe received offers rpc

* Change return type for subscribe received offers

* Load received offers in buy dialog without reloading page

* Remove download button from buy offer dialog

* Update frontend build
2021-08-28 04:48:57 -07:00
Jonathan Zernik
4c6391c586
Add peer state subscription (#1085)
* Add peer changed listener to peer class

* Add rpc for subscribe peer state

* Got basic connected peer subscription working

* Got basic connected peer subscription working

* Fix multiple yields in single peer subscription handler

* Got subscribe connect peer working pretty well

* Remove old comments from frontend peer address page

* Update frontend build

* Include last msg recv time in connected peer subscription

* Got num sent and received msgs and bytes in peer subscription

* Show peer connection details from subscription

* Update frontend build
2021-08-28 00:37:48 -07:00
Jonathan Zernik
ef9bda769a
Show following in profile detail component (#1082)
* Got following indicator working in squeak profile detail component

* Show following indicator in profile detail component and profile list item component

* Update frontend build
2021-08-27 19:49:22 -07:00
Jonathan Zernik
7058fb074d
Combine contact profiles and signing profiles (#1078)
* Include key icon in profile list item when signing profile

* Fix event propagation in avatar click

* Show contact and signing profiles in same list

* Update frontend build
2021-08-27 18:11:58 -07:00
Jonathan Zernik
1aa3af8b9a
Use icon for paginate button (#1074)
* Add icon to paginate button on timeline page

* Update frontend build
2021-08-27 05:40:31 -07:00
Jonathan Zernik
0a8d30d5fc
Add pagination (#1073)
* Got tuple comparison for timeline pagination query working

* Include limit parameter in get timeline rpc

* Got view more squeaks frontend button working

* Got basic pagination working

* Include squeak time in display rpc struct

* Got pagination working

* Fix sql query to break ties manually in comparison

* Update frontend build
2021-08-27 05:31:37 -07:00
Jonathan Zernik
623aada9a0
Remove old comments from frontend requests file (#1072)
* Remove old comments from frontend requests file

* Update frontend build
2021-08-27 02:44:55 -07:00
Jonathan Zernik
f69f059cdb
Fix frontend request to download squeak (#1042)
* Fix frontend request to download squeak

* Update frontend build
2021-08-24 00:44:01 -07:00
Jonathan Zernik
dddaf4ac41
Revert to old commit before rpc proxy config (#1029)
* Revert to old commit before rpc proxy host config

* Update frontend build
2021-08-22 20:42:19 -07:00
Jonathan Zernik
b1de09a615
Get rpc proxy host from flask (#1028)
* Make rpc proxy host configurable in backend and frontend

* Update frontend build

* Use constant value of rpc proxy port

* Update frontend build
2021-08-22 20:24:03 -07:00
Jonathan Zernik
d9e50ed07e
Fix update connected status from stream on peer address page (#1008)
* Fix update connected status from stream on peer address page

* Update frontend build
2021-08-21 02:25:38 -07:00
Jonathan Zernik
81d79cc7ce
Update connected peer proto struct (#1005)
* Update connected peer proto struct

* Use new connected peers struct in frontend

* Update frontend build
2021-08-21 01:37:14 -07:00
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