Commit graph

702 commits

Author SHA1 Message Date
yzernik
ebd61823aa Revert back the revert to use address for profile primary key 2021-02-03 20:53:00 -08:00
Jonathan Zernik
5678fddf18
Use sqlite autoincrement for primary keys (#784)
* Use explicit autoincrement for sqlite primary keys

* Add migration to use sqlite_autoincrement
2021-02-03 03:06:31 -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
55a05bc78d
Update static build for using address as primary key for profile (#780) 2021-02-02 20:58:33 -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
f4ddecf93f
Fix handle null ids in admin message conversion (#778) 2021-02-02 17:05:03 -08:00
Jonathan Zernik
990c8cae61
Update static build for refactored navigation (#777) 2021-02-01 02:42:25 -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
7a6a9477ee
Use default name when empty (#774)
* Disallow empty name for contact profile

* Disallow empty name for signing profile

* Disallow empty name for peer
2021-01-31 23:34:42 -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
235dacab93
Use more type hints admin messages (#769)
* Use type hint for offer rpc message

* Add more type hints for admin messages

* Remove null check for admin message functions
2021-01-30 23:21:46 -08:00
Jonathan Zernik
defc7f5935
Use type hints for squeak display entry function (#768)
* Use type hint for squeak entry to message function

* Use type hint for squeak profile to msg function

* Rename messages module in admin
2021-01-30 22:25:29 -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
f6cd2bc7db
Return core types from peer client (#765)
* Create message module with util functions for peer protocol

* Use message util functions in rpc server servicer
2021-01-30 19:56:01 -08:00
Jonathan Zernik
12deeeaaf6
Delete old itest files (#760) 2021-01-30 06:09:02 -08:00
yzernik
f146e6baf8 Release version 0.1.33 2021-01-30 03:42:54 -08:00
Jonathan Zernik
3ff36cf3e3
Remove old log line from peer client (#755) 2021-01-30 03:29:48 -08:00
Jonathan Zernik
befe8db859
Fix graceful shutdown (#754)
* Refactored all components from main into squeaknode class

* Handle squeaknode initialization in constructor

* Got graceful shutdown working

* Use werkzeug for single threaded web server

* Fix import of werkzeug server

* Remove old log line
2021-01-30 03:17:15 -08:00
yzernik
a7a9ef97d9 Release version 0.1.32 2021-01-29 22:04:18 -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
e568e88206
Update static build for profile component (#751) 2021-01-29 18:56:15 -08:00
Jonathan Zernik
86a5b275d9
Use component for profile details (#750) 2021-01-29 18:48:17 -08:00
Jonathan Zernik
c4ae0835f4
Include network in peer rpc methods (#749) 2021-01-29 17:46:13 -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
Jonathan Zernik
42cd2a32a9
Show profile image in profile page using card (#746)
* Show profile image in profile page using card

* Update static build
2021-01-29 02:22:14 -08:00
Jonathan Zernik
627acea07c
Add custom profile image (#745)
* Add profile image field to db

* Add set profile image rpc

* Got clear profile image working

* Add has custom profile image field in profile rpc respones
2021-01-29 01:27:59 -08:00
Jonathan Zernik
4c004a60bd
Fix missing key frontend issue (#743)
* Fix missing key from timeline items

* Update static build for fix missing timeline key
2021-01-28 23:16:42 -08:00
Jonathan Zernik
d2828fb52b
Fix unknown squeak image (#742)
* Fix avatar image for unknown squeak

* Update static build for fix unknown squeak image
2021-01-28 22:58:31 -08:00
Jonathan Zernik
7de88933ab
Update static build for show default profile image (#741) 2021-01-28 22:42:17 -08:00
Jonathan Zernik
930c1ff20c
Show custom user avatar (#740)
* Use material avatar in timeline avatar

* Load default profile image from static file

* Include base64 image in squeak display entry response

* Got default profile image working
2021-01-28 22:37:55 -08:00
Jonathan Zernik
9ef1d80dbe
Fix race condition in get saved sent offer (#739) 2021-01-28 21:04:48 -08:00
Jonathan Zernik
3878291d66
Raise exception when received offer does not exist (#737) 2021-01-28 18:39:44 -08:00
Jonathan Zernik
e59a68b0a4
Add composite contraint of squeak hash and client addr in sent offers table (#736) 2021-01-28 18:23:03 -08:00
Jonathan Zernik
2cab41edff
Show payment summary vertically (#734)
* Show sent payment summary above received payment summary

* Update static build
2021-01-27 22:08:09 -08:00
yzernik
e8a691e498 Release version 0.1.31 2021-01-27 18:09:41 -08:00
Jonathan Zernik
43480865fe
Add unique constraint hash received offer (#732)
* Add unique constraint on payment hash in received offers table

* Fix unique constraint
2021-01-27 18:07:19 -08:00
Jonathan Zernik
26beeda41e
Show unlocked squeak without reload (#730)
* Show unlocked squeak after payment without reload

* Show snackbar on unlock squeak

* Remove todo comment

* Update static build for unlock squeak without reload
2021-01-27 16:26:48 -08:00
Jonathan Zernik
fbc8ecfd77
Refactor dialogs out of squeak detail (#728)
* Refactor dialogs out of squeak detail component

* Update static build for refactored squeak detail component
2021-01-27 15:40:32 -08:00
yzernik
32fc3213d3 Release version 0.1.30 2021-01-27 01:17:07 -08:00
Jonathan Zernik
de18ac8437
Fix material timeline opposite padding (#724)
* Fix material timeline opposite padding

* Update static build for fix opposite content padding
2021-01-27 00:47:06 -08:00
yzernik
45e2b43fb5 Release version 0.1.29 2021-01-26 23:43:25 -08:00
Jonathan Zernik
70766440e2
Fix received payments page (#720)
* Log received payments

* Use index zero for received payment tab

* Update static build for fix received payments page
2021-01-26 23:42:51 -08:00
yzernik
e7a1596045 Release version 0.1.28 2021-01-26 22:24:13 -08:00
Jonathan Zernik
f55db90698
Add squeak avatar component (#719)
* Add squeak avatar component

* Update static build for user avatar component
2021-01-26 22:20:17 -08:00
Jonathan Zernik
b6ce08eba4
Make avatar clickable (#718) 2021-01-26 21:57:34 -08:00
Jonathan Zernik
44dd21423b
Update static build for material timeline (#717) 2021-01-26 21:22:37 -08:00
Jonathan Zernik
dadd37e3e8
Use react timeline for thread (#716)
* Show conversation thread with react timeline

* Use material timeline for squeak page

* Use react timeline for main timeline page

* Use faceicon instead of dot in timeline

* Fix aligment of material ui timeline

* Use material ui timeline for squeakaddress page
2021-01-26 21:18:44 -08:00
yzernik
e968954793 Release version 0.1.27 2021-01-26 19:02:20 -08:00