Commit graph

181 commits

Author SHA1 Message Date
Jonathan Zernik
e300300d84
Fix frontend build copy static build to right folder (#609) 2021-01-11 17:47:27 -08:00
Jonathan Zernik
0442a9fc86
Improve frontend build so old build is deleted (#608) 2021-01-11 17:29:15 -08:00
Jonathan Zernik
3def6951e7
Update frontend build for new sent payment proto (#607) 2021-01-11 17:12:49 -08:00
azernik
f63c511149
fixed error handler for create squeak (#588) 2021-01-10 10:52:36 -08:00
Jonathan Zernik
b9eeaa3c32
Use correct base URL for block explorer block detail (#584)
* Add phony makefile targets in frontend folder

* Make block explorer url depending on network

* Got dynamic block explorer link working for detail page

* Got block explorer link working for ancestor thread squeaks

* Use network to get correct block explorer url in timeline

* Show correct block explorer link in address page

* Update static build
2021-01-09 00:09:36 -08:00
Jonathan Zernik
c39dbb44f1
Improve squeaknode entrypoint command (#583)
* Improve squeaknode entrypoint command

* Fix pargser in main module
2021-01-08 14:17:43 -08:00
azernik
87e4b9ae75
- use default value of '0' for port (#550)
- disable port input unless "use default port" toggled on
- remove unused styles
2021-01-06 23:58:29 -08:00
Jonathan Zernik
a94d4ccd63
Simplify frontend readme (#539)
* Simplify frontend readme

* Fix bitcoin user and pass configs in frontend readme
2021-01-01 22:21:27 -08:00
Jonathan Zernik
bf57996607
Update frontend dev readme (#538)
* Update instructions for frontend dev

* Update frontend README
2021-01-01 22:08:30 -08:00
azernik
c4b54a6a0a
Remove channel item expand btn (#496)
* added transaction details to TransactionItem display

* frontend wallet page changes

* fixed horizontal width bug
fixed ChannelItem.js click bug

* fixed pending channel bug

* fixed expand channel details

* added visualization to ChannelItem balance
2020-11-30 23:11:52 -05:00
azernik
6231832cbe
redid styles code for wallet page (#473)
* added transaction details to TransactionItem display

* frontend wallet page changes

* fixed horizontal width bug
fixed ChannelItem.js click bug

* fixed pending channel bug

* fixed expand channel details
2020-11-25 13:51:27 -05:00
Jonathan Zernik
c5e5889135
Rename get timeline squeak displays (#469)
* Rename get timeline squeak displays and don't filter for following

* Update static build
2020-11-20 23:26:14 -05:00
Jonathan Zernik
c240833815
Fix server defaults empty string (#460)
* Fix server_defaults for migration empty strings

* Show buyer client addr in frontend
2020-11-13 05:03:48 -05:00
Jonathan Zernik
2c8d6e0df5
Fix timestamp in get received payments (#453)
* Fix timestamp in get received payment rpc

* Update static build

* Fix proto numbering of received payment

* Include log line with returned received payments

* Lg the received payments reply

* Lg received payments reply list

* Lg received payments reply list

* Fix received payment component

* Remove log lines from frontend

* Remove log lines for received payment
2020-11-12 14:04:28 -05:00
Jonathan Zernik
1d68e0b569
Add sent offer table (#451)
* Rename received payments to sent offers

* Add received payments table

* Add get received payments rpc method

* Rename old received payment to sent offer in frontend

* Add received payment frontend component

* Improve logging of error in admin web request
2020-11-12 04:02:28 -05:00
Jonathan Zernik
d8ff4d3627
Update readmes (#449) 2020-11-11 16:23:23 -05:00
Jonathan Zernik
284916bbdb
Show received payments in frontend (#448)
* Show received payments in frontend

* Update static build

* Fix sent payments query

* Fixed frontend received payments code

* Update static build

* Remove received payments component

* Fill in received payments component

* Fix receive payments component

* Fix parameter setting in received payments

* Fix showing payment time for received payment

* Show special message for payment time when payment time is null

* Remove old console log lines in payments page
2020-11-11 14:28:54 -05:00
Jonathan Zernik
45dcfb1eb0
Remove old lnd unavailable dialog (#436)
* Remove old lnd unavailable dialog

* Update static build
2020-11-10 18:17:14 -05:00
Jonathan Zernik
c03d8c651e
Rename satoshis to sats (#434) 2020-11-10 17:33:58 -05:00
Jonathan Zernik
fa9a84c1df
Include peer name in sent payment result (#433)
* Include peer_name sent payment rpc result

* Show peer name in sent payment in frontend
2020-11-10 17:32:20 -05:00
Jonathan Zernik
b1d8d133e6
Show time in sent payment (#431)
* Get time field in sent payment rpc

* Show sent payment time in frontend
2020-11-10 15:55:26 -05:00
Jonathan Zernik
e709793617
Add payments page (#429)
* Add payments page

* Add payments page link to sidebar

* Create sent payment component

* Got sent payments list showing

* Show link to squeak and to lightning node in sent payment

* Fix lightning node pubkey link

* Add link to peer page from sent payment
2020-11-10 14:44:26 -05:00
Jonathan Zernik
6641e64995
Use msat as price unit (#427)
* Use price_msat for config and internally

* Use price_msat in admin protocol for offer message

* Use price_msat in sent payments table and protocol

* Update frontend to use new protocol with price_msat for offer

* Update static build
2020-11-10 02:35:24 -05:00
Jonathan Zernik
7297949239
Show address in profile page (#416)
* Show address in profile page

* Update static build
2020-11-08 14:16:08 -05:00
Jonathan Zernik
12a8ddc88f
Add squeak detail page (#412)
* Created squeak detail page

* Add get squeak details rpc method

* Got squeak serialized data to show

* Put style back

* Show raw squeak data in text field

* Show hash in squeak details page

* Include link to zoom in to squeak detail page from squeak page

* Update static build and frontend makefile
2020-11-07 22:19:24 -05:00
Jonathan Zernik
59598dfcee
Show error aler on payment fail (#411)
* Show alert on payment failure with error message

* Show error alert when open channel fails

* Don't try to handle close channel response because it won't work

* Update static build
2020-11-07 17:57:05 -05:00
Jonathan Zernik
13a5be4d6b
Fix lnd unavailable logic (#409)
* Fix lnd unavailable function logic

* Update static build
2020-11-07 16:54:44 -05:00
Jonathan Zernik
0488696025
Show dialog when lnd is unavailable (#408)
* Show dialog when lnd is unavailable

* update static build
2020-11-07 16:47:33 -05:00
Jonathan Zernik
56b501cd4a
Fix error handling frontend request (#407)
* Makerequest function in frontend takes handleError argument

* Add deserializeMsg parameter to handleResponse function

* Update makeRequest function to handle deserialization

* Update requests to handle response better

* Stop showing alert when lndgetinfo fails
2020-11-07 16:24:15 -05:00
Jonathan Zernik
e2bf25d9ae
Fix add contact profile button (#406)
* Fix add contact profile button

* Fix add contact button

* Update static build
2020-11-07 15:32:17 -05:00
Jonathan Zernik
478443af45
Make clean with makefile in frontend folder (#401) 2020-11-06 18:05:29 -05:00
Jonathan Zernik
245fee3f15
Fix click contact profile profiles page (#395)
* Fix click contact profile action in profiles page

* Update static build
2020-11-06 12:25:53 -05:00
Jonathan Zernik
feb6a83bce
Add button to go to squeaks from profile page (#388) 2020-11-05 16:34:13 -05:00
Jonathan Zernik
b29a8ca8ea
Remove whitelisted attribute, use following to build whitelist (#386)
* Remove whitelisted attribute, use following to build whitelist

* Fix update whitelist on set profile following method

* Remove whitelist feature toggle from fronted

* Update frontend build
2020-11-05 14:12:23 -05:00
Jonathan Zernik
34721af3b8
Add load offers button (#378)
* Add load offers button to buy offer page

* Fix sync single squeak upload when squeak is locked
2020-11-05 01:22:49 -05:00
Jonathan Zernik
6e1467152d
Update frontend build (#367) 2020-11-04 02:29:45 -05:00
Jonathan Zernik
22803b42d5
Got download single squeak working (#364) 2020-11-03 23:06:53 -05:00
Jonathan Zernik
5f16a88933
Handle reply and delete in squeak detail component (#363)
* Rename replyDialogOpen state variable

* Move reply dialog inside squeak detail component

* Move delete dialog inside squeak detail component
2020-11-03 22:34:27 -05:00
Jonathan Zernik
014d55aaeb
Remove unused gotosqueakpage function from squeak address page (#362) 2020-11-03 22:07:00 -05:00
Jonathan Zernik
304ef943d9
Show unknown hash squeak ancestor (#361)
* Show unknown squeak ancestor for replyto hash

* Don't show squeak has inside thread item content

* Fix handle squeak click for unknown squeak hash

* Fix get ancestors of unknown squeak hash

* Show missing squeak hash in squeak detail item component

* Remove handle click squeak from squeak thread component params

* Remove more click handler parameters from squeak components
2020-11-03 21:55:23 -05:00
Jonathan Zernik
c66de04303
Block detail link opens new tab (#357) 2020-11-01 13:34:50 -05:00
Jonathan Zernik
a6e0e3fa3c
Use env vars for frontend dev mode readme (#356) 2020-11-01 13:28:22 -05:00
Jonathan Zernik
f513f0f5c7
Fix current block height/hash in blockchain client, and show block detail url in timeline (#352) 2020-10-31 23:28:10 -04:00
Jonathan Zernik
b29cc9e925
Add build instructions for protoc in readme (#348)
* Add build instructions for protoc in readme

* Fix protoc download urls
2020-10-30 12:42:32 -04:00
Jonathan Zernik
f8cda6fef2
Organize frontend (#346)
* Remove intermediate squeak-node-frontend dir

* Create build-protos.sh

* Fix build-protos script in readme
2020-10-29 23:21:38 -04:00
Jonathan Zernik
927299cef0
Allow frontend testing without login (#345)
* Frontend testing working in dev mode

* Make login_disabled and cors configs configurables

* Update frontend readme
2020-10-29 18:22:01 -04:00
Jonathan Zernik
99ddc2df77
Rename to squeaknode (#342)
* Rename squeakserver to squeaknode and get itest passing

* Fix itest dockerfile

* Rename more squeakserver to squeaknode

* Rename database from squeakserver to squeaknode

* Update readme

* Remove frontend/build from git

* Rename squeakserver to squeaknode in tox and main
2020-10-29 14:35:17 -04:00
Jonathan Zernik
b68d393778
Handle flask request errors (#336)
* Handle flask rpc request errors

* Show failed requests in alert in frontend
2020-10-29 01:23:49 -04:00
Jonathan Zernik
a8564418b6
Show login and logout menu in frontend (#335) 2020-10-28 21:36:21 -04:00
Jonathan Zernik
0f875f8071
Add logout button (#334) 2020-10-28 20:30:23 -04:00