Commit graph

1544 commits

Author SHA1 Message Date
Jonathan Zernik
be2110d061
Fix codecov badge in readme (#1904) 2021-12-27 17:22:34 -08:00
Jonathan Zernik
ff3402a802
Use codecov token in github action (#1903) 2021-12-27 17:19:34 -08:00
Jonathan Zernik
d2e61a02f4
Validate squeak against blockchain inside squeak store class (#1902) 2021-12-27 17:00:03 -08:00
Jonathan Zernik
ba18874d16
Remove old comments in controller (#1901)
* Remove old comments in controller

* Add docstring to controller class
2021-12-27 14:24:34 -08:00
Jonathan Zernik
e6e59bb3fb
Include block header in make squeak method (#1900)
* Update make squeak method to include block header in return value

* Remove type hint from make squeak in twitter forwarder
2021-12-27 14:17:12 -08:00
Jonathan Zernik
cf64664a44
Update squeaklib to support private messages (#1898)
* Update squeaklib and update import from keys module

* Rename signing key variable to private key in test util

* Fix calling make squeak function

* Update db data file to v3

* Add recipient public key column to squeak table

* Got squeak entry db query working with alias for profiles table

* Add test for make squeak with recipient

* Add test case for get profile from squeak entry query

* Got outer join with recipient profile working

* Use outer join to get recipient profile for all squeak entry db queries

* Got itest passing with refactored squeak_store

* Remove unused config from squeak store class
2021-12-27 01:15:05 -08:00
Jonathan Zernik
51f412d75f
Update squeaklib to support private messages (#1897)
* Update squeaklib and update import from keys module

* Rename signing key variable to private key in test util

* Fix calling make squeak function

* Update db data file to v3

* Add recipient public key column to squeak table

* Got squeak entry db query working with alias for profiles table

* Add test for make squeak with recipient

* Add test case for get profile from squeak entry query

* Got outer join with recipient profile working

* Use outer join to get recipient profile for all squeak entry db queries
2021-12-27 00:56:31 -08:00
Jonathan Zernik
1a159a5f10
Fix max squeaks per public key per block height config (#1896) 2021-12-26 10:08:00 -08:00
Jonathan Zernik
47ebb3c49f
Refactor handle get data msg (#1895)
* Refactor handle get squeaks in connection

* Refactor handle get data in connection

* Remove old commented code

* Handle notfound response when not able to find squeak or secret key
2021-12-25 21:30:31 -08:00
Jonathan Zernik
0ecb73fac3
Update squeaklib and use new msg type (#1894)
* Use updated squeaklib with offer msg removed

* Bump squeaklib version and use methods to check if message has offer
2021-12-25 19:47:07 -08:00
Jonathan Zernik
427e82959a
Refactor save squeak in connection (#1893)
* Refactor save squeak method in connection

* Delete old commented methods

* Refactor save received offer in connection

* Refactor get squeaks and secret keys for interest in connection

* Delete old comments
2021-12-25 17:20:52 -08:00
Jonathan Zernik
69f31dda8b
Refactor connection methods into network handler (#1892)
* Refactor get unknown invs method to network handler

* Rename get unknown invs methods

* Rename get unknown invs methods

* Move get unknown invs method to network handler
2021-12-25 15:43:29 -08:00
Jonathan Zernik
6b16c0405a
Remove download handler (#1891)
* Remove download handler class

* Remove old comments about download handler
2021-12-25 13:37:18 -08:00
Jonathan Zernik
3c4504fbdd
Fix bug when lightning payment is not a squeak payment (#1890) 2021-12-25 11:04:25 -08:00
Jonathan Zernik
53533c04aa
Fix create contact profile from pubkey page (#1888)
* Fix create contact profile dialog open from pubkey page

* Update frontend build
2021-12-25 10:24:33 -08:00
Jonathan Zernik
b5801097b8
Implement squeak store v3 (#1886)
* Add test for insert squeak in squeak store

* Add test for delete squeak in squeak store

* Add test for save and get sent offer

* Add test for get received offer in squeak store

* Add subscription methods for squeak store

* Use squeak store in squeak controller

* Use squeak store for save squeak method in controller

* Use squeak store for unlock squeak method in controller

* Add comment to make squeak method

* Use squeak_store for more methods in controller

* Use squeak_store for price policy in controller

* Use squeak_store for create signing profile in controller

* Use squeak_store for more profile methods in controller

* Use squeak_store for more profile methods in controller

* Use squeak_store for create peer method in controller

* Use squeak_store for more peer methods in controller

* Use squeak_store for pay offer method in controller

* Use squeak_store for get sent payments and received payments method in controller

* Use squeak_store for get received offers method in controller

* Use squeak store for delete expired offers method

* Use squeak store for get squeak entries methods

* Use squeak store for save received offer method of controller

* Use squeak store for get followed public keys method of controller

* Use squeak store for reprocess received payments method of controller

* Use squeak store for delete old squeaks method of controller

* Use squeak store for like and unlike squeak method of controller

* Use squeak store for get connected peers method of controller

* Use squeak store for add and remove twitter account methods of controller

* Remove squeak_db param from controller constructor

* Use squeak core in squeak store for save squeak andunlock squeak

* Use squeak core in squeak store for make and get sent offer

* Remove old comments

* Remove more old comments

* Use squeak core in squeak store for save received offer

* Use squeak core in squeak store for pay received offer

* Use squeak core in squeak store for get interested struct

* Update twitter forwarder to use squeak store instead of squeak controller

* Update squeak deletion worker to use squeak store instead of squeak controller

* Delete old comments with lines about squeak controller

* Update squeak forwarder worker to use squeak store instead of squeak controller

* Update squeak secret key forwarder worker to use squeak store instead of squeak controller

* Update delete expired offers worker to use squeak store instead of squeak controller

* Update peer subscription workers to use squeak store instead of squeak controller

* Update peer autoconnect worker to use squeak store instead of squeak controller

* Remove usage of squeak controller in download manager start method.

* Add network handler class

* Remove unused constructor params from network handler

* Remove old comments
2021-12-25 09:47:55 -08:00
Jonathan Zernik
c2aeb344bc
Implement node settings (#1884)
* Implement node settings class

* Fix price policy for zero price

* Remove old comment

* Remove old comments

* Remove old comments
2021-12-23 08:33:40 -08:00
yzernik
d4a1843e30 Release version 0.1.187 2021-12-22 21:33:06 -08:00
Jonathan Zernik
cb8e8f2256
Remove old rpc servicer methods for bearer token commands (#1882) 2021-12-22 16:52:47 -08:00
Jonathan Zernik
9f0d5e4097
Include bearer token in twitter account (#1881)
* Got twitter forwarder working with bearer token in twitter accounts table

* Update frontend to use bearer token in twitter account

* Update frontend build
2021-12-22 16:10:03 -08:00
yzernik
ae88dcc75f Release version 0.1.186 2021-12-20 17:14:32 -08:00
Jonathan Zernik
162bb247e9
Rename controller methods to use pubkey (#1876)
* Rename get profile by public key method

* Rename get entries by public key method

* Rename download squeaks by public key method

* Rename subscribe entries by public key method
2021-12-20 17:12:54 -08:00
Jonathan Zernik
3860ec3b11
Rename methods using address to pubkey (#1875)
* Rename get_profile_by_pubkey method

* Rename get entries by pubkey method

* Rename download squeaks by pubkey method

* Rename subscribe entries by pubkey method
2021-12-20 16:23:52 -08:00
Jonathan Zernik
88647dd783
Change url path for pubkey page (#1873)
* Change url path for pubkey page

* Update frontend build
2021-12-20 10:27:29 -08:00
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
788ab47334
Add telegram group (#1869)
* Add link to telegram group to readme

* Fix link to telegram group

* Fix link to telegram group
2021-12-17 05:50:37 -08:00
yzernik
d1ce6d6a3b Release version 0.1.185 2021-12-16 06:13:02 -08:00
Jonathan Zernik
090dc832a3
Remove build step to echo image digest (#1867) 2021-12-16 06:05:41 -08:00
Jonathan Zernik
8ede6a8f47
Add more tags to docker build for container registry (#1866) 2021-12-16 06:04:01 -08:00
yzernik
764ec5d40b Release version 0.1.184 2021-12-16 05:16:56 -08:00
Jonathan Zernik
8e69f7f77d
Use check icon for twitter mirror status (#1864)
* Use check mark icon for twitter mirroring status

* Update frontend build
2021-12-16 04:39:37 -08:00
Jonathan Zernik
72aeb2023b
Improve UI twitter page (#1863)
* Remove text with count of twitter accounts

* Rephrase text for twitter connections status

* Update frontend build

* Change text for twitter mirroring status

* Update frontend build
2021-12-16 04:00:42 -08:00
Jonathan Zernik
ed50b71ce2
Change sidebar peers icon (#1862)
* Change sidebar icon for peers page

* Update frontend build
2021-12-15 14:42:39 -08:00
Jonathan Zernik
8e975ca811
Make start/stop twitter stream thread-safe (#1859)
* Make start/stop twitter stream thread-safe

* Add rpc for get twitter stream status

* Add get twitter stream status rpc to flask

* Display twitter stream connection status in twitter page

* Fix twitter forwarder task stop

* Update frontend build
2021-12-15 14:29:36 -08:00
Aaron Dewes
6f08e8c0f2
Use ghcr.io instead of Docker Hub (#1855) 2021-12-14 13:25:35 -08:00
yzernik
6a8bd2448e Release version 0.1.183 2021-12-14 07:00:32 -08:00
Jonathan Zernik
f8e1cc5b41
Remove ugly paper from a bunch of pages (#1854)
* Remove ugly paper from a bunch of pages

* Update frontend build
2021-12-14 06:59:47 -08:00
Jonathan Zernik
b9761476d2
Upgrade lnd in docker (#1852) 2021-12-14 06:26:16 -08:00
Jonathan Zernik
2935130e79
Change text of button for go to peer config (#1849)
* Change text of button for go to peer config

* Got basic saved peer detail component working

* Got toggle saved peer configs dialog working

* Show network, host, and port for saved peer detail component

* Update frontend build

* Improve styles for detail cards

* Update frontend build
2021-12-14 03:10:11 -08:00
Jonathan Zernik
ecf3d8cecb
Use docker tor simple (#1847)
* Got docker-compose working with tor-simple tor proxy

* Got itest working with simple-tor docker image

* Delete old commented containers for tor
2021-12-13 11:36:25 -08:00
yzernik
f0ccc7288a Release version 0.1.182 2021-12-11 23:55:30 -08:00
Jonathan Zernik
353c543439
Fix default port display (#1844)
* Remove unnecessary peerName state from connect peer dialog

* Fix display of default peer port in connect peer dialog

* Fix display of default peer port in create saved peer dialog

* Fix overlapping value for default port when disabled

* Update frontend build
2021-12-11 23:43:53 -08:00
Jonathan Zernik
d70953c071
Rephrase db migration instruction (#1843) 2021-12-11 09:13:43 -08:00
yzernik
3d29338d56 Release version 0.1.181 2021-11-30 23:03:46 -08:00
Jonathan Zernik
6233890e5b
Remove squeak detail include in squeak entry (#1837)
* Got squeak details dialog working without details rpc request

* Remove get squeak detail from rpc proto

* Update frontend build

* Remove old get squeak detail itest

* Remove unused fixture for squeak detail item
2021-11-30 22:25:43 -08:00
yzernik
4ece90d9d2 Release version 0.1.180 2021-11-29 17:27:03 -08:00
Jonathan Zernik
9c80e1e7c7
Fix bitcoin component using svgicon component (#1834)
* Fix bitcoin component using svgicon component

* Update frontend build
2021-11-29 17:25:37 -08:00
yzernik
d9eed4a52a Release version 0.1.179 2021-11-29 16:42:37 -08:00
Jonathan Zernik
c1bdf3beb3
Fix sidebar bitcoin icon height (#1833)
* Fix bitcoin icon height in sidebar

* Update frontend build
2021-11-29 16:41:55 -08:00
yzernik
896aaca871 Release version 0.1.178 2021-11-29 16:07:32 -08:00