Commit graph

970 commits

Author SHA1 Message Date
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
Jonathan Zernik
286b5c1e07
Remove old comments (#1095)
* Remove old comments

* Change log level of on_peer_changed line

* Change log line of connection setup lines

* Change log level of subscription client lines
2021-08-28 05:35:02 -07:00
yzernik
331019c80c Release version 0.1.102 2021-08-28 04:55:06 -07:00
Jonathan Zernik
97778d9cf2
Subscribe received offers (#1094)
* Add subscribe received offers rpc

* Change return type for subscribe received offers

* Load received offers in buy dialog without reloading page

* Remove download button from buy offer dialog

* Update frontend build
2021-08-28 04:48:57 -07:00
yzernik
ca04d89efd Release version 0.1.101 2021-08-28 02:49:56 -07:00
Jonathan Zernik
dfba41a909
Share addrs with peer (#1090)
* Share addrs with peer on connection initial sync

* Add TODO comments on handling addr and getaddr

* Add TODO comments on setting stop event in connection class
2021-08-28 02:42:37 -07:00
yzernik
40aa8e16dd Release version 0.1.100 2021-08-28 01:13:17 -07:00
Jonathan Zernik
2aec5a58f8
Fix close peer socket on connection failure (#1086) 2021-08-28 01:12:42 -07:00
yzernik
2db3b47cb1 Release version 0.1.99 2021-08-28 00:42:43 -07:00
Jonathan Zernik
4c6391c586
Add peer state subscription (#1085)
* Add peer changed listener to peer class

* Add rpc for subscribe peer state

* Got basic connected peer subscription working

* Got basic connected peer subscription working

* Fix multiple yields in single peer subscription handler

* Got subscribe connect peer working pretty well

* Remove old comments from frontend peer address page

* Update frontend build

* Include last msg recv time in connected peer subscription

* Got num sent and received msgs and bytes in peer subscription

* Show peer connection details from subscription

* Update frontend build
2021-08-28 00:37:48 -07:00
Jonathan Zernik
3d422db734
Delete old new squeak listener (#1084) 2021-08-27 21:41:23 -07:00
Jonathan Zernik
2b27d4b0ef
Create generic event listener (#1083)
* Create generic event listener

* Remove old comments from connection manager

* Use generic event subscription client for handling new squeak
2021-08-27 21:33:54 -07:00
Jonathan Zernik
ef9bda769a
Show following in profile detail component (#1082)
* Got following indicator working in squeak profile detail component

* Show following indicator in profile detail component and profile list item component

* Update frontend build
2021-08-27 19:49:22 -07:00
yzernik
f017d33039 Release version 0.1.98 2021-08-27 18:49:40 -07:00
Jonathan Zernik
620cdae96c
Add license headers (#1080)
* Add pre-commit hook for license headers

* Configure pre-commit hook for license headers only for python

* Add license headers to python files
2021-08-27 18:31:53 -07:00
Jonathan Zernik
7058fb074d
Combine contact profiles and signing profiles (#1078)
* Include key icon in profile list item when signing profile

* Fix event propagation in avatar click

* Show contact and signing profiles in same list

* Update frontend build
2021-08-27 18:11:58 -07:00
Jonathan Zernik
2fabdd87df
Use tuple comparison for pagination query (#1077) 2021-08-27 16:31:59 -07:00
Jonathan Zernik
1a4b908f00
Fix type hints for conection manager (#1076) 2021-08-27 06:36:19 -07:00
yzernik
87e5b0b079 Release version 0.1.97 2021-08-27 06:03:44 -07:00
Jonathan Zernik
94fc880fa5
Change log level of debug line for timeline query (#1075) 2021-08-27 05:44:27 -07:00
Jonathan Zernik
1aa3af8b9a
Use icon for paginate button (#1074)
* Add icon to paginate button on timeline page

* Update frontend build
2021-08-27 05:40:31 -07:00
Jonathan Zernik
0a8d30d5fc
Add pagination (#1073)
* Got tuple comparison for timeline pagination query working

* Include limit parameter in get timeline rpc

* Got view more squeaks frontend button working

* Got basic pagination working

* Include squeak time in display rpc struct

* Got pagination working

* Fix sql query to break ties manually in comparison

* Update frontend build
2021-08-27 05:31:37 -07:00
Jonathan Zernik
623aada9a0
Remove old comments from frontend requests file (#1072)
* Remove old comments from frontend requests file

* Update frontend build
2021-08-27 02:44:55 -07:00
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