Commit graph

1428 commits

Author SHA1 Message Date
Jonathan Zernik
a442b3eb17
Add docstring for received payments client class (#1738) 2021-10-26 21:24:12 -07:00
Jonathan Zernik
c51a1a82be
Show alert on all download request results (#1737)
* Show alert on all download request results

* Update frontend build
2021-10-26 21:13:40 -07:00
Jonathan Zernik
c142dc3f73
Remove old comments from squeak db class (#1736) 2021-10-26 19:52:27 -07:00
Jonathan Zernik
13d31541d2
Update description of squeak retention config (#1735) 2021-10-26 19:44:22 -07:00
Jonathan Zernik
244592014e
Update docstring for peer server class (#1734) 2021-10-26 19:12:57 -07:00
Jonathan Zernik
8daeee2717
Return immediately from download when zero connected peers (#1733) 2021-10-26 15:27:06 -07:00
Jonathan Zernik
31cd1d93cf
Got download in progress dialog working on squeak address page (#1732)
* Got download in progress dialog working on squeak address page

* Got progresss indicator working for download replies

* Got progresss indicator working for single squeak

* Separate function for hanlde download replies and click

* Run frontend lint

* Update frontend build

* Remove todo

* Update frontend build
2021-10-26 13:10:14 -07:00
Jonathan Zernik
79e59bdf97
Return download result in rpc responses for download commands (#1731)
* Return download result in rpc responses for download commands

* Remove commented sleep statements in itest
2021-10-26 01:46:18 -07:00
Jonathan Zernik
00eb68cf72
Add test for is interested for download interest (#1728) 2021-10-25 16:49:25 -07:00
Jonathan Zernik
635dff92ac
Fix shutdown threadpool in download manager (#1727)
* Fix shutdown threadpool in download manager

* Call event.wait with timeout value so it stops eventually

* Cancel all running downloads when download manager shuts down
2021-10-25 16:24:19 -07:00
Jonathan Zernik
dbc6c31381
Make download async (#1725)
* Use active download class for explicit downloads

* Delete old temporary interest manager and expiringdict dependency

* Delete old comments related to temporary interest manager

* Add log line after successful download single squeak

* Add unit test for mark download complete

* Add unit test for wait for stop method of download

* Add test for download hash not interested

* Add test for get download result

* Add test for initiate download for hash download

* Add test for initiate download for interest download

* Rename interest download

* Remove commented old method

* Remove another comment from active download

* Use limit 1 for hash download

* Rename wait for complete method of download
2021-10-25 14:48:12 -07:00
yzernik
fa4d57181a Release version 0.1.162 2021-10-24 19:13:06 -07:00
Jonathan Zernik
2afb406a89
Make update subscriptions async (#1723)
* Update subscriptions asynchronously when follows list changes

* Change log level of lines in update follows worker

* Remove old commented lines for update follows subscription

* Use update subscription event class to represent new subscription change required
2021-10-24 18:48:45 -07:00
Jonathan Zernik
1a53bc27c2
Remove old delete offers db methods (#1722) 2021-10-24 17:31:55 -07:00
Jonathan Zernik
307777fd4e
Override repr method for peer address network class (#1721) 2021-10-24 17:25:24 -07:00
Jonathan Zernik
0b1f0a9257
Use custom db error when db init fails (#1720) 2021-10-24 16:53:39 -07:00
Jonathan Zernik
80cebd8514
Rename db query properties to remove negations (#1719) 2021-10-24 16:35:00 -07:00
Jonathan Zernik
583d076394
Use payment hash as parameter for set received offer paid (#1718) 2021-10-24 16:19:23 -07:00
Jonathan Zernik
d3d48214c7
Rename property in squeak db for received offer invoice expired (#1717) 2021-10-23 18:59:31 -07:00
Jonathan Zernik
2bbadbd7de
Rename rpc config section (#1716) 2021-10-23 18:45:14 -07:00
Jonathan Zernik
6b774815c8
Update configuration doc for server configs (#1714) 2021-10-23 18:07:08 -07:00
Jonathan Zernik
6cbd7e0c7b
Rename configs in server section (#1713) 2021-10-23 18:00:17 -07:00
Jonathan Zernik
1d090f4283
Move external address config to server section (#1712) 2021-10-23 10:22:56 -07:00
Jonathan Zernik
2033f32227
Make received offer retention a config (#1710) 2021-10-23 10:03:48 -07:00
Jonathan Zernik
62edc9bf4c
Fix args for calling delete old received offers (#1709) 2021-10-23 09:57:09 -07:00
Jonathan Zernik
b2d5326d34
Delete received offers when out of configured retention from download time (#1708) 2021-10-23 09:34:21 -07:00
Jonathan Zernik
899455b613
Rename sent offer out of retention db query property (#1706) 2021-10-23 09:12:40 -07:00
Jonathan Zernik
dea903e98e
Add tests for get received payment summary and get sent payment summary (#1705) 2021-10-23 09:04:20 -07:00
Jonathan Zernik
cb0a5971ec
Add test for get latest settle index and clear settle indexes (#1704) 2021-10-23 08:51:23 -07:00
Jonathan Zernik
dca65ede97
Add test for yield received payments from settle index (#1703) 2021-10-23 08:38:44 -07:00
Jonathan Zernik
d0754d27a3
Add test for duplicate inserted received payment db method (#1702) 2021-10-23 08:24:58 -07:00
Jonathan Zernik
773b38de2f
Add test for get multiple received payments db method (#1700) 2021-10-23 08:16:09 -07:00
Jonathan Zernik
4c71be584a
Add test for set sent offer paid (#1698)
* Add test for set sent offer paid

* Add test for set sent offer not paid
2021-10-23 00:26:04 -07:00
Jonathan Zernik
5d739bd4d0
Add tests for delete expired sent offers db method (#1696) 2021-10-22 23:24:44 -07:00
Jonathan Zernik
ee6e7ca1a9
Add test for get sent offers (#1695) 2021-10-22 23:04:40 -07:00
Jonathan Zernik
bde1b162f8
Comment out delete sent offer method (#1694) 2021-10-22 22:40:57 -07:00
Jonathan Zernik
dc6cef8cff
Add test for get sent offer by squeak and peer (#1693) 2021-10-22 22:20:10 -07:00
Jonathan Zernik
76e1bd29cc
Add test for get sent offer by payment hash missing (#1692) 2021-10-22 19:02:04 -07:00
Jonathan Zernik
74222b9a62
Add test for get sent offer by payment hash (#1691) 2021-10-22 18:56:07 -07:00
Jonathan Zernik
a14cbb4663
Add test for get sent payment with non existent id (#1690) 2021-10-22 18:41:33 -07:00
Jonathan Zernik
a9c97c5df7
Add test for get inserted sent payments (#1689) 2021-10-22 18:36:47 -07:00
Jonathan Zernik
ca7296849b
Remove squeak not liked db query property (#1687) 2021-10-22 18:07:00 -07:00
Jonathan Zernik
cc1a2c0a2b
Add test for get inserted sent payment db method (#1685) 2021-10-22 18:03:18 -07:00
Jonathan Zernik
ab4984ede4
Remove unused db query property for received offer does not exist (#1684) 2021-10-22 17:44:24 -07:00
Jonathan Zernik
2016f057d3
Rename received_offer is expired property of db class (#1682) 2021-10-22 17:42:54 -07:00
Jonathan Zernik
0173cc90a4
Remove db property for profile has no private key (#1680) 2021-10-22 17:27:12 -07:00
Jonathan Zernik
3fc34c8965
Add test for set received offer paid db method (#1678) 2021-10-22 17:16:37 -07:00
Jonathan Zernik
e320c9b497
Comment out unused delete offer method of db (#1677) 2021-10-22 16:51:05 -07:00
Jonathan Zernik
6fa1a36fca
Remove db query property for squeak has no secret key (#1676) 2021-10-22 16:43:52 -07:00
Jonathan Zernik
0f65bb93e3
Use negation function of sqlalchemy for expired received offer condition (#1675) 2021-10-22 16:41:25 -07:00