Commit graph

1464 commits

Author SHA1 Message Date
Jonathan Zernik
488ed5dfc4
Add global sell price setting (#1791)
* Add sell price setting to db

* Add rpc method for set and get sell price setting

* Fix servicer methods for get and set sell price

* Add settings page in frontend

* Include default sell price in get sell price rpc

* Show sell price in settings page

* Got set sell price working in frontend

* Remove frontend validation of sell price dialog

* Use sell price from settings when determining price

* Add rpc to clear sell price setting

* Add clear sell price to frontend

* Remove unused imports in frontend

* Update frontend build
2021-11-10 01:53:55 -08:00
Jonathan Zernik
3674595683
Add description to readme (#1788)
* Update readme with description

* Remove period from readme list
2021-11-08 05:08:08 -08:00
yzernik
e68f345442 Release version 0.1.168 2021-11-07 20:24:04 -08:00
Jonathan Zernik
de2f84e6f8
Use polymorphic class for downloaded object (#1787) 2021-11-07 18:50:27 -08:00
Jonathan Zernik
c96f7c7f7f
Add price policy class to determine sell price (#1785) 2021-11-07 04:40:17 -08:00
Jonathan Zernik
581ef4f226
Change print to log for lines in twitter stream class (#1784) 2021-11-07 02:47:09 -08:00
Jonathan Zernik
2f2f2059b4
Update frontend build (#1783) 2021-11-07 02:33:19 -08:00
Jonathan Zernik
c0141effcb
Implement share for free with saved peer (#1782)
* Add share_for_free column to peer table in db and to core struct

* Got set share for free toggle working in frontend

* Got share for free working with price zero in controller
2021-11-07 02:21:13 -08:00
yzernik
0e37f62a73 Release version 0.1.167 2021-11-06 22:23:33 -07:00
Jonathan Zernik
1074408083
Make twitter url fields lowercase (#1780) 2021-11-06 22:19:20 -07:00
Jonathan Zernik
4604063e01
Fix set profile custom price web request (#1779) 2021-11-06 22:09:38 -07:00
yzernik
5a447f8342 Release version 0.1.166 2021-11-06 21:11:32 -07:00
Jonathan Zernik
80de1b8ff2
Improve display of waiting indicator for squeak address page (#1777)
* Improve dislay of waiting indicator for squeak address page

* Update frontend build
2021-11-06 21:01:36 -07:00
Jonathan Zernik
baf58c0c48
Display bearer token in text field (#1770)
* Show bearer token in a read-only text field

* Fix unused imports in twitter frontend components

* Update frontend build
2021-11-06 03:12:53 -07:00
Jonathan Zernik
c0278dca3b
Refactor handle downloads (#1767)
* Refactor handle downloaded squeak to separate class from controller

* Refactor handle received offer to download handler class

* Remove old comments in controller
2021-11-06 01:03:50 -07:00
Jonathan Zernik
0d8f371d54
Show not implemented alert for re-squeak button click (#1765)
* Show not implemented alert for re-squeak button click

* Update frontend build
2021-11-05 01:42:53 -07:00
Jonathan Zernik
c7b847a497
Remove shell prompt from readme code snippets (#1762)
* Remove shell prompt from readme code snippets

* Remove shell prompt from code snippets in all docs
2021-11-04 23:33:00 -07:00
Jonathan Zernik
5e8174fa28
Update readme headers (#1761)
* Change readme headers

* Add spaces around code blocks in readme

* Change wording about configs

* Fix indentation in readme
2021-11-04 23:28:27 -07:00
yzernik
f9621ad3ed Update changelog 2021-11-04 22:01:47 -07:00
yzernik
fe75faf147 Release version 0.1.165 2021-11-04 20:54:11 -07:00
Jonathan Zernik
c6de020428
Add custom config for autoconnect peer interval (#1759) 2021-11-04 20:46:22 -07:00
Jonathan Zernik
7916ef1bee
Make rpc enabled config set to false by default (#1758) 2021-11-04 19:57:52 -07:00
Jonathan Zernik
ec6b2e17bd
Fix button text for submit button in add twitter account dialog (#1757)
* Fix button text for submit button in add twitter account dialog

* Update frontend build
2021-11-04 19:47:58 -07:00
Jonathan Zernik
6c40891ad8
Add twitter forwarder (#1755)
* Add twitter stream class

* Got twitter forwarder subscription working

* Add config table in db with twitter bearer token

* Only run forward tweets task when twitter bearer token and twitter handles are not null

* Add twitter page to frontend and add button to set bearer token

* Reload bearer token in ui after setting value

* Add twitter accounts table to db

* Got get twitter accounts request working

* Display twitter account list items in twitter page

* Show twitter accounts in twitter page

* Got create squeak from tweet working

* Update twitter stream upon twitter accounts changes

* Got terminate twitter stream connection working

* Update frontend build

* Remove print statements from itest

* Remove main function from twitter stream module

* Make tweet forwarder worker run as daemon thread

* Use custom config for subscribe tweets retry interval
2021-11-04 19:10:00 -07:00
yzernik
348dd1164c Update changelog 2021-11-02 02:08:40 -07:00
yzernik
00f1b6e6f4 Release version 0.1.164 2021-11-02 00:55:09 -07:00
Jonathan Zernik
15bdaa1565
Update received offers in display even when none downloaded (#1750)
* Update received offers in display even when none downloaded

* Update frontend build
2021-11-02 00:53:58 -07:00
Jonathan Zernik
356c3e5cc0
Make rpc enabled by default (#1749) 2021-11-02 00:47:51 -07:00
Jonathan Zernik
e241552765
Add license section to readme (#1747) 2021-11-01 20:45:09 -07:00
The Gitter Badger
c2efa37b84
Add Gitter badge (#1746) 2021-11-01 17:59:04 -07:00
Jonathan Zernik
2b88792fb7
Include network name in profile dropdown in header (#1743)
* Include network name in profile dropdown in header

* Update frontend build
2021-10-29 19:37:07 -07:00
yzernik
0fdbe92105 Update changelog 2021-10-28 01:21:31 -07:00
yzernik
c4e9eedaa7 Release version 0.1.163 2021-10-28 00:32:53 -07:00
Jonathan Zernik
670e8e3428
Remove hash from title of buy squeak dialog (#1741)
* Remove hash from title of buy squeak dialog

* Update frontend build
2021-10-28 00:27:36 -07:00
Jonathan Zernik
e765d584aa
Simplify method for handle save received squeak (#1740)
* Split up and simplify save received squeak method

* Got waiting dialog for download in progress for offers

* Remove old comments from squeak controller

* Fix call increment counter when lookup returns none

* Update frontend build
2021-10-28 00:01:24 -07:00
Jonathan Zernik
a8745d0dbd
Add test for download result to message (#1739) 2021-10-26 21:46:35 -07:00
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