Commit graph

330 commits

Author SHA1 Message Date
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
Jonathan Zernik
3402527f26
Add input for set custom price (#1214)
* Add rpc method for set profile custom sell price

* Got change profile custom price in frontend working

* Run frontend lint

* Update frontend build

* Got send offers with correct custom price working
2021-09-06 19:28:40 -07:00
Jonathan Zernik
ad52878499
Update frontend build with use custom price (#1196)
* Run frontend lint

* Update frontend build
2021-09-05 12:37:12 -07:00
Jonathan Zernik
76ad744936
Updrage squeaklib to 0.7.1 (#1194)
* Updrage squeaklib to 0.7.1

* Add case to handle secret key msg in peer msg handler

* Add fields for custom price and use custom price to profile table

* Got itest working with new profile fields

* Use default values for profile struct constructor

* Fix db migration to use use profile columns

* Got itest passing for set use custom price

* Show custom price or default price in profile page

* Change wording of selling with price in profile page

* Got set use custom price toggle working in configure profile dialog
2021-09-05 12:30:58 -07:00
Jonathan Zernik
f8ad36d7ef
Remove action bar from squeak detail component when squeak is null (#1191)
* Remove action bar from squeak detail component when squeak is null

* Run frontend lint

* Update frontend build
2021-09-04 18:04:30 -07:00
Jonathan Zernik
b483267bd0
Fix show unknown squeak (#1189)
* Fix show unknown squeak

* Update frontend build
2021-09-04 17:41:15 -07:00
Jonathan Zernik
6872423e6d
Fix unsubscribe connected peer (#1185)
* Fix unsubscribe connected peer in peer address page

* Run frontend lint

* Update frontend build
2021-09-04 13:20:16 -07:00
Jonathan Zernik
f703841885
Fix clear replies from previous page on load squeak page (#1183)
* Fix clear replies from previous page on load squeak page

* Show empty squeak until ancestors finish loading

* Update frontend build
2021-09-04 12:49:37 -07:00
Jonathan Zernik
dca06a22d1
Fix use effect warning (#1181)
* Fix useeffect warnings for peer address page

* Fix more useeffect warnings

* Fix more warnings

* Fix more warnings

* Run frontend lint

* Fix useeffect warning on timeline page

* Fix useless concat

* Add re-download offers button to buy dialog

* Rename components in buy dialog

* Fix useeffect warnings in squeak page

* Remove unused components in squeak page

* Fix duplicate prop warning in create contact dialog

* Run frontend lint
2021-09-04 12:11:46 -07:00
Jonathan Zernik
8431168e92
Remove unused vars frontend (#1180)
* Remove some unused vars

* Fix image preview alt

* Remove more unused vars

* Remove more unused vars
2021-09-04 10:56:44 -07:00
Jonathan Zernik
038a19856e
Add pagination for likes (#1179)
* Add pagination for get liked entries rpc

* Update rpc proto for pagination for get liked entries

* Got pagination working for likes page

* Update frontend build
2021-09-04 09:27:50 -07:00
Jonathan Zernik
47be5c96f9
Use last squeak entry as field in pagination rpc (#1177)
* Update timeline to use more efficient pagination rpc with last entry

* Update address squeaks to use more efficient pagination rpc with last entry

* Update reply squeaks to use more efficient pagination rpc with last entry

* Use last_entry as param in get_timeline db query function

* Use last_entry as param in get address squeaks db query function

* Use last_entry as param in get reply squeaks db query function
2021-09-04 08:31:24 -07:00
Jonathan Zernik
cb10b2f6c4
Add pagination for replies (#1174)
* Implement pagination for get reply squeaks

* Got replies pagination working

* Remove log lines from requests js

* Update frontend build
2021-09-03 18:56:14 -07:00
Jonathan Zernik
fd9a75b417
Add pagination to get address squeaks rpc (#1173)
* Add pagination to get address squeaks rpc

* Implement frontend pagination for address squeaks page

* Got pagination working on address squeaks page

* Update frontend build

* Run frontend lint

* Update frontend build
2021-09-03 17:00:38 -07:00
Jonathan Zernik
13e7dd0226
Only show followed squeaks in timeline (#1171)
* Only show followed squeaks in timeline

* Add rpc method to subscribe timeline squeaks

* Use subscribe new timeline squeaks rpc method in frontend
2021-09-03 14:45:44 -07:00
Jonathan Zernik
86c0b4ab86
Fix failed user request in dev mode (#1160)
* Fix failed flask user request in dev mode

* Run frontend lint

* Update frontend build
2021-09-03 04:22:44 -07:00
Jonathan Zernik
81d5c96a9f
Fix avatar click for unknown address (#1145)
* Fix avatar click for unknown address

* Update frontend build
2021-09-01 10:43:58 -07:00
Jonathan Zernik
abf1ea6984
Fix ugly gray outline around avatar (#1144)
* Fix ugly gray outline around avatar

* Make avatar bigger

* Make avatar even bigger

* Update frontend build
2021-09-01 10:15:01 -07:00
Jonathan Zernik
48b5402d1b
Fix regression display unknown squeak (#1142)
* Fix regression in display of unknown squeak

* Update frontend build
2021-09-01 07:59:33 -07:00
Jonathan Zernik
77bfdef59a
Show waiting indicator on profiles page (#1139)
* Added waiting indicator to profiles page

* Update frontend build
2021-09-01 00:53:55 -07:00
Jonathan Zernik
2e420ddda4
Fix waiting indicator on squeak address page (#1138)
* Fix close waiting indicator on squeak address page

* Update frontend build
2021-09-01 00:26:55 -07:00
Jonathan Zernik
ae65ff9320
Add new squeaks available button to timeline (#1137)
* Add rpc method to subscribe to new squeaks

* Got floating action button showing for refresh

* Change spacing of refresh button

* Load new squeaks in timeline from rpc subscription

* Got refresh button correctly showing new squeaks from peer

* Got refresh button action working correctly

* Update frontend build
2021-08-31 23:40:26 -07:00
Jonathan Zernik
3cd21391ae
Add waiting indicator squeak address page (#1136)
* Add waiting indicator on squeak address page

* Update frontend build

* Hide load more squeaks button while loading

* Increase size of circular waiting indicator

* Update frontend build
2021-08-31 22:27:42 -07:00
Jonathan Zernik
a08dc2cb27
Add waiting indicator for squeak page (#1135)
* Add waiting indicator for squeak page

* Update frontend build
2021-08-31 21:37:54 -07:00
Jonathan Zernik
023bb5e397
Show empty timeline message only after loading timeline (#1133) 2021-08-31 20:57:47 -07:00
Jonathan Zernik
5f5a6c4039
Show loading indicator without backdrop in timeline (#1128)
* Show load more button on timeline even when empty

* Got timeline loading working without backdrop

* Update frontend build
2021-08-31 02:11:42 -07:00
Jonathan Zernik
0e1246ce85
Run frontend lint (#1126) 2021-08-31 01:15:27 -07:00
Jonathan Zernik
2549404253
Implement progress indicator (#1125)
* Show waiting indicator in timeline page

* Show text when no squeaks found in timeline

* Update frontend build

* Got progress indicator working for buy squeak

* Fixed spinning indicator in button in buy squeak dialog

* Update frontend build
2021-08-31 00:30:34 -07:00
Jonathan Zernik
670f84e953
Implement progress indicator (#1123)
* Show waiting indicator in timeline page

* Show text when no squeaks found in timeline

* Update frontend build
2021-08-30 22:44:26 -07:00
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