Commit graph

11 commits

Author SHA1 Message Date
Jonathan Zernik
5198467889
Use new squeak protocol with schnorr and pubkey as identifier (#1870)
* Got all tests in core dir passing

* Got all tests in db dir passing

* Got tests for admin dir passing

* Got all unit tests passing

* Added migration for squeak table and profile table using new pubkey

* Re-start db migrations with new data-v2.db file

* Fix column type for profile public key

* Got all itests passing

* Log the public key in hex in create contact profile handle fn

* Rename rpc methods to use pubkey instead of address

* Got frontend mostly working with new profile pubkey

* Update frontend to use pubkey instead of address

* Change size of squeak profile detail item

* Update create contact profile dialog to use pubkey

* Update twitter account item to use pubkey

* Include label for pubkey in profile detail item

* Decrease size of profile detail item

* Update frontend build

* Improve logging of requests in handler
2021-12-20 09:28:38 -08:00
Jonathan Zernik
b4d1dce4e5
Improve display of dialog fields (#1819)
* Use outline and margin for dialog text field inputs

* Update frontend build
2021-11-22 18:52:26 -08: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
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
yzernik
aaf6ae975d Revert changes to use natural primary keys 2021-02-04 03:15:02 -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
azernik
0c6a7603c0
correctly show alerts for errors from dialogs (#677) 2021-01-23 21:20:42 -08: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
Renamed from frontend/squeak-node-frontend/src/components/CreateContactProfileDialog/CreateContactProfileDialog.js (Browse further)