Commit graph

244 commits

Author SHA1 Message Date
Jonathan Zernik
6ed3ad7d2f
Change default subscribe update interval to 60 seconds (#209) 2020-08-02 03:45:18 -07:00
Jonathan Zernik
62f6c20b0f
Fail gracefully when blockchain client fails in subscriber (#208) 2020-08-02 03:37:32 -07:00
Jonathan Zernik
f8b6900f34
Comment out to disable subscription downloader thread (#207) 2020-08-02 03:10:59 -07:00
Jonathan Zernik
32bb298cf3
Log current block height in subscriber thread (#206) 2020-08-02 02:37:52 -07:00
Jonathan Zernik
ad0632bd1c
Use blockchain client to get subscription (#205)
* Use blockchain client in subscription class

* Refactor bitcoin blockchain client

* Use blockchain client instead of lightning client in squeak maker
2020-08-02 02:21:28 -07:00
Jonathan Zernik
9db19bcb46
Log all subscription names in subscribe thread (#204) 2020-08-01 23:16:04 -07:00
Jonathan Zernik
3ee17aa367
Run subscriber periodically (#203) 2020-08-01 22:17:28 -07:00
Jonathan Zernik
23fcc66325
Update config in redme (#202) 2020-08-01 21:33:57 -07:00
Jonathan Zernik
bb15da7058
Add squeak store class (#201)
* Add squeak store class

* Use squeak store class to save squeaks made from make method

* Use squeak store class to get public squeak for server get

* Use squeak store class for other squeak node methods
2020-08-01 21:27:07 -07:00
Jonathan Zernik
94ad7b8005
Add toggles for subscription in frontend (#200)
* Remove unused state from profile page

* Added toggle for subscribed in subscription page

* Add publishing toggle to subscription page
2020-08-01 17:16:55 -07:00
Jonathan Zernik
5aeab1348a
Fix renaming labels in subscriptions page (#199) 2020-08-01 17:03:48 -07:00
Jonathan Zernik
912d122e2c
Add sleep in itest so htlc settles before close (#198) 2020-08-01 17:02:07 -07:00
Jonathan Zernik
3c1d7aca36
Add set subscribed rpc method (#197)
* Add set subscribed rpc method

* Add set publishing rpc method
2020-08-01 16:51:23 -07:00
Jonathan Zernik
c9a2a3433c
Rename subscribed and publishing in subscription (#196)
* Rename subscribed and publishing fields in subscriptin

* Show publishing and subscribed in subscriptions table
2020-08-01 16:12:03 -07:00
Jonathan Zernik
bb4e4d0c00
Add subscription page and go to it from click on subscription row in table (#195) 2020-08-01 15:30:19 -07:00
Jonathan Zernik
ddd5b3d9c3
Include port in subscription input form (#194) 2020-08-01 15:07:15 -07:00
Jonathan Zernik
4cb447eb0c
Update docker config.ini file (#193) 2020-08-01 14:59:41 -07:00
Jonathan Zernik
874f27df58
Rename subscription (#192)
* Rename addserver request to createsubscription

* Rename server to subscription

* Show subscriptions in frontend
2020-08-01 04:52:35 -07:00
Jonathan Zernik
3a0a322439
Add servers page (#191)
* Add servers page in frontend

* Got add new server subscription working in frontend
2020-08-01 02:43:48 -07:00
Jonathan Zernik
b16af17224
Add get servers rpc method (#190) 2020-08-01 01:24:48 -07:00
Jonathan Zernik
d8da438247
Fix setting up schema in createdb and postgres params (#189) 2020-07-31 22:08:19 -07:00
Jonathan Zernik
d9783d8c9a
Fix search path for schema in db (#188) 2020-07-31 20:21:29 -07:00
Jonathan Zernik
e5f51002cc
Fix set search path for postgres schema in all connection pool threads (#187) 2020-07-31 19:45:38 -07:00
Jonathan Zernik
68786f9a76
Only create schema if not exists (#186) 2020-07-31 17:47:31 -07:00
Jonathan Zernik
30417987ba
Use the network name as the db schema (#185) 2020-07-31 17:33:49 -07:00
Jonathan Zernik
a3cd29f430
Run codeformat (#184) 2020-07-31 16:47:17 -07:00
Jonathan Zernik
9a7d034771
Use dialog for create profile (#183)
* Use dialog for create signing profile

* Create signing profile dialog working

* Add create contact profile dialog

* Delete create signing profile page and create contact profile page
2020-07-31 04:12:40 -07:00
Jonathan Zernik
80713c94ea
Use network config from config file to set paramas (#182) 2020-07-31 03:06:10 -07:00
Jonathan Zernik
5976623f74
Add itest for lookup method (#181) 2020-07-31 01:57:02 -07:00
Jonathan Zernik
6390f5d8ad
Fix squeak server get method (#180) 2020-07-31 00:59:30 -07:00
Jonathan Zernik
10b93dd03b
Add server table (#179)
* Add server table

* Add server rpc method

* Add method to get server by id
2020-07-30 05:25:45 -07:00
Jonathan Zernik
7c4b84056b
Use created time for rate limiter (#178)
* Use created time to rate limit based on last hour

* Delete commented lines in rate limiter
2020-07-30 03:05:21 -07:00
Jonathan Zernik
6ce7723c35
Remove print line from itest (#177) 2020-07-30 02:19:20 -07:00
Jonathan Zernik
fa81721d5c
Fix delete squeak dialog title (#176) 2020-07-30 02:16:01 -07:00
Jonathan Zernik
0264fe7f9c
Add delete squeak dialog (#175) 2020-07-30 01:35:44 -07:00
Jonathan Zernik
1438b96de4
Add delete squeak method (#174) 2020-07-30 00:42:44 -07:00
Jonathan Zernik
fd23d38fa3
Rename sell itest (#173) 2020-07-29 23:23:48 -07:00
Jonathan Zernik
2c170c3c2d
Add frontend switch for whitelisted (#172) 2020-07-29 22:41:09 -07:00
Jonathan Zernik
c172bfe142
Add set sharing method (#171)
* Add rpc method to set sharing in profile

* Fix rpc request for set sharing
2020-07-29 22:36:31 -07:00
Jonathan Zernik
cdca52b7e2
Rename followed to following (#170)
* Rename followed field to following in profile

* Rename shared field to sharing in profile

* Revert changes to icons.js

* Rename following squeaks to followed squeaks

* Fix frontend for renamed get followed request
2020-07-29 21:48:42 -07:00
Jonathan Zernik
bb97f8a515
Add switch to profile frontend to follow or unfollow (#169) 2020-07-29 20:22:06 -07:00
yzernik
cd5a009a14 Fix frontend shared and followed fields 2020-07-29 17:26:37 -07:00
Jonathan Zernik
3543f498cc
Fix set followed method (#168)
* Fix set followed rpc method

* Fix get followed squeaks method
2020-07-29 16:53:52 -07:00
Jonathan Zernik
b39bb94a92
Use fixtures for testmakesqueak itest (#167) 2020-07-29 15:55:22 -07:00
yzernik
ba1e12f302 Remove printlns from itest 2020-07-29 04:55:09 -07:00
yzernik
8d25d9485d Use fixture in make reply itest 2020-07-29 04:44:43 -07:00
yzernik
06eb835103 Add fixture for contact profile 2020-07-29 04:33:05 -07:00
Jonathan Zernik
bda3afcbd8
Add itests for post squeak (#166)
* Add itests cases for post squeak for success and failutre from non whitelisted key

* Use fixture for saved squeak hash in buy squeak est

* Clean up buy squeak test
2020-07-29 04:16:09 -07:00
Jonathan Zernik
5f734ff142
Fix whitelist refresh (#165)
* Fix refreshing whitelist when it changes, and fix the itest

* Use fixture to get whitelisted signing key.
2020-07-29 02:57:23 -07:00
Jonathan Zernik
cbe0d4014a
Add whitelist (#164)
* Add whitelist class

* Add itest for setting whitelisted field of a profile
2020-07-29 01:09:23 -07:00