Commit graph

983 commits

Author SHA1 Message Date
Jonathan Zernik
dec871876e
Use yield from where possible (#1120) 2021-08-30 20:23:12 -07:00
yzernik
ce47db2e6b Release version 0.1.105 2021-08-30 20:09:15 -07:00
Jonathan Zernik
e2933784ac
Use only ancestors rpc for squeak page (#1118)
* Got squeak page working without get squeak entry rpc, no streaming yet

* Implement subscribe ancestors

* Got subscribe ancestors working in frontend with download squeak click

* Delete old comments

* Update frontend build

* Remove old log lines
2021-08-30 20:08:37 -07:00
Jonathan Zernik
2934435a1d
Fix showing reply to on download squeak (#1117) 2021-08-30 06:33:45 -07:00
Jonathan Zernik
042bac2649
Fix wrong offers show in dialog (#1115)
* Fix loading buy offers from stream

* Loading offers seems to be working now

* Update frontend build
2021-08-30 05:19:57 -07:00
yzernik
0150d9fd26 Release version 0.1.104 2021-08-30 02:46:52 -07:00
Jonathan Zernik
c801060d35
Add subscribe address display squeaks (#1112)
* Implement rpc command for subscribe address squeak entires

* Got subscription working for address squeaks

* Implemented download squeaks for address rpc

* Fix handling new squeak items from subscription appending to state array

* Update frontend build
2021-08-30 02:43:44 -07:00
Jonathan Zernik
d589b0a4a7
Fix download replies (#1111)
* Fix add temporary interest when downloading replies

* Add subscribe replies rpc

* Got reply squeaks subscription working in frontend

* Update frontend build
2021-08-29 23:49:42 -07:00
Jonathan Zernik
2f0d447603
Fixed close streams for subscriptions on react component unmount (#1110)
* Fixed close streams for subscriptions on react component unmount

* Update frontend build
2021-08-29 22:54:30 -07:00
Jonathan Zernik
a0d78844da
Download squeaks with custom params (#1108)
* Add rpc method for subscribe squeak entry

* Download squeak without reloading page using squeak entry subscription

* Fix stream termination of component unmount for subscribe squeak entry

* Update frontend build
2021-08-29 22:39:10 -07:00
Jonathan Zernik
c38b177340
Use broadcast instead of manual send to all peer in update subscription (#1103) 2021-08-29 06:52:39 -07:00
Jonathan Zernik
512129b8ec
Implement per address rate limit (#1102)
* Add check for per address rate limit in controller

* Delete rate limiter class

* Add check for interest and rate limit to save received squeak

* Got single squeak download working using temporary interest

* Use polymorphic interest classes for temporary interest manager

* Change order of checking temporary interests before permanent interests

* Used timed dict for temporary interests

* Include check for limit in temporary interest
2021-08-29 06:36:14 -07:00
Jonathan Zernik
9ba2d606bd
Create separate module for received payment result (#1100)
* Move received payment class to separate module

* Rename received payments stream class
2021-08-28 21:57:27 -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
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