Commit graph

947 commits

Author SHA1 Message Date
yzernik
dbcd160fda Release version 0.1.95 2021-08-26 23:59:30 -07:00
Jonathan Zernik
164a3e9637
Add connection class (#1071)
* Add connection class and got itest working

* Remove open_connection context manager from peer class

* Remove old methods from peer class

* Handle initial sync in connection class

* Remove old comments from peer class

* Removed stop event from peer class

* Handle received messages in connection class

* Remove old comment from peer class
2021-08-26 23:55:36 -07:00
Jonathan Zernik
d79c65afee
Do initial peer sync outside context manager (#1069)
* Do initial peer sync outside context manager

* Simplify context manager for opening peer connection
2021-08-25 03:54:57 -07:00
Jonathan Zernik
eb25075809
Include profile in squeak entry and remove old entry with profile class (#1067)
* Include profile in squeak entry and remove old entry with profile class

* Remove old comments
2021-08-25 01:24:42 -07:00
yzernik
12e3034ba0 Release version 0.1.95 2021-08-25 00:22:54 -07:00
Jonathan Zernik
529c87d048
Use threaded werkzeug server (#1066) 2021-08-25 00:13:00 -07:00
Jonathan Zernik
de5a5f9f75
Use more concise log line when rpc stream done (#1065) 2021-08-24 23:49:45 -07:00
Jonathan Zernik
bda01fdc58
Remove intro doc (#1064) 2021-08-24 21:39:20 -07:00
yzernik
876326e0ad Release version 0.1.94 2021-08-24 21:37:37 -07:00
Jonathan Zernik
f02c9cdf58
Fix license files config (#1063) 2021-08-24 21:22:00 -07:00
Jonathan Zernik
71fdd143a0
Use elif conditions for handle msg (#1062) 2021-08-24 21:07:12 -07:00
Jonathan Zernik
a59647c77f
Remove old comments from network manager (#1061) 2021-08-24 20:59:13 -07:00
Jonathan Zernik
1101dd7480
Simplify getting address from peer class (#1060)
* Simplify getting address from peer class

* Improved getting caddress field in version messages

* Simplified getting caddress even more

* Include local address and remote address as params for peer constructor

* Remove old comments from peer class
2021-08-24 20:56:51 -07:00
Jonathan Zernik
11d1b4be25
Change type of columns to binary from string (#1058) 2021-08-24 18:42:21 -07:00
yzernik
c2e6342470 Release version 0.1.93 2021-08-24 17:40:56 -07:00
Jonathan Zernik
e78c2560bb
Make reply to hash nullable (#1057)
* Make reply to hash column nullable

* Add itest for null reply_to field
2021-08-24 17:39:49 -07:00
Jonathan Zernik
641b81ac38
Remove todo comment about decrypted content (#1055) 2021-08-24 05:52:13 -07:00
Jonathan Zernik
5a3f255d52
Remove old routes from flask app (#1053) 2021-08-24 05:48:11 -07:00
Jonathan Zernik
dd4ddabb5a
Load squeak display entry without deserializing squeak object (#1052)
* Load squeak display entry without deserializing squeak object

* Use block time column instead of block header in squeak table

* Include block time in squeak display response
2021-08-24 05:09:00 -07:00
Jonathan Zernik
2b09900828
Add db query to load squeak directly without entry class (#1049) 2021-08-24 03:08:00 -07:00
Jonathan Zernik
50589845ec
Add content to squeak db table (#1047)
* Add content column to squeaks db table

* Change content column to str

* Load rpc response for squeak display content from db column
2021-08-24 02:35:31 -07:00
Jonathan Zernik
dba7c525e9
Rename core config to node config (#1045) 2021-08-24 01:13:24 -07:00
Jonathan Zernik
b4f210744f
Simplify save squeak method by removing squeak entry object (#1043) 2021-08-24 00:51:14 -07:00
Jonathan Zernik
f69f059cdb
Fix frontend request to download squeak (#1042)
* Fix frontend request to download squeak

* Update frontend build
2021-08-24 00:44:01 -07:00
Jonathan Zernik
fc0f485e9a
Simplify save squeak method by removing unlock (#1041) 2021-08-24 00:23:27 -07:00
Jonathan Zernik
e9fd648cd2
Improve squeak core (#1040)
* Update squeak core methods to return results

* Re-order controller methods
2021-08-23 23:36:47 -07:00
Jonathan Zernik
fba8bade01
Fix alembic migration for rename peer host and peer port (#1039) 2021-08-23 22:37:13 -07:00
Jonathan Zernik
bb891117fa
Rename client host and client port to peer host and peer port in db (#1037) 2021-08-23 00:37:54 -07:00
Jonathan Zernik
21246dd151
Rename sync squeaks to download squeaks (#1036)
* Rename download_squeaks rpc

* Fix proto definition comment

* Rename download_squeak rpc

* Fix proto definition comment
2021-08-23 00:16:36 -07:00
Jonathan Zernik
40ee4b70f9
Use newer version of squeaklib with fixed repr (#1035) 2021-08-22 23:46:43 -07:00
Jonathan Zernik
b4bf89eeb0
Fix log line using hex for hash in save squeak (#1034) 2021-08-22 22:41:13 -07:00
Jonathan Zernik
95a58ad0e1
Do squeak validation in core module (#1032) 2021-08-22 22:22:52 -07:00
Jonathan Zernik
d92ee19a7a
Add max squeaks config (#1031)
* Organize save squeak method

* Include check for max squeaks exceeded in save squeak
2021-08-22 22:12:45 -07:00
Jonathan Zernik
0c136a3b80
Remove sync (#1030)
* Remove sync configs

* Remove sync peers worker
2021-08-22 21:21:18 -07:00
yzernik
04e8cf3ded Release version 0.1.92 2021-08-22 20:43:06 -07:00
Jonathan Zernik
dddaf4ac41
Revert to old commit before rpc proxy config (#1029)
* Revert to old commit before rpc proxy host config

* Update frontend build
2021-08-22 20:42:19 -07:00
yzernik
fb5a430744 Release version 0.1.91 2021-08-22 20:24:50 -07:00
Jonathan Zernik
b1de09a615
Get rpc proxy host from flask (#1028)
* Make rpc proxy host configurable in backend and frontend

* Update frontend build

* Use constant value of rpc proxy port

* Update frontend build
2021-08-22 20:24:03 -07:00
yzernik
d23733ae08 Release version 0.1.90 2021-08-22 09:11:37 -07:00
Jonathan Zernik
b923ef5321
Create new profiles set to following by default (#1025) 2021-08-22 09:11:07 -07:00
yzernik
a8f93c1c94 Release version 0.1.89 2021-08-22 02:27:06 -07:00
Jonathan Zernik
9f707c87ff
Change log level to debug for some subscription client lines (#1018)
* Change log level to debug for some subscription client lines

* Remove more log lines

* Fix get squeak locator when follow list is empty

* Handle poison pills more cleanly in subscription clients
2021-08-22 02:25:11 -07:00
yzernik
144791af51 Release version 0.1.87 2021-08-22 01:48:18 -07:00
Jonathan Zernik
9023131112
Add subscribe msg (#1016)
* Added subscribe message and send after connection handshake

* Added new squeak worker

* Got itest working for subscribe squeaks peer message

* Update peer squeak subscriptions on follow profile changed.

* Remove sync squeaks worker
2021-08-22 01:46:05 -07:00
Jonathan Zernik
720a8a16f5
Improve itest with more util functions for rpc calls (#1014)
* Add itest for lookup squeak with getsqueaks method

* Simplify itest for download single squeak

* Use util function for get profile rpc method in itest

* Add more util methods for itest rpc calls

* Use util rpc function more in itest

* Add rpc util function for download squeaks

* Add rpc util function for create contact profile

* Add rpc util function for create signing profile

* Use rpc util function for create delete profile

* Use rpc util function for import profile
2021-08-21 20:28:52 -07:00
yzernik
ed6a64daa0 Release version 0.1.86 2021-08-21 02:26:25 -07:00
Jonathan Zernik
d9e50ed07e
Fix update connected status from stream on peer address page (#1008)
* Fix update connected status from stream on peer address page

* Update frontend build
2021-08-21 02:25:38 -07:00
yzernik
aba32c089f Release version 0.1.85 2021-08-21 02:00:44 -07:00
Jonathan Zernik
4b04aa562e
Fix reconnecting to already connected peer address (#1007) 2021-08-21 02:00:15 -07:00
yzernik
2637debe21 Release version 0.1.84 2021-08-21 01:37:58 -07:00