Jonathan Zernik
7ce8aff7c0
Delete offers when squeak deleted ( #309 )
2020-10-19 15:26:40 -04:00
Jonathan Zernik
a28e04b106
Improve channel item component ( #304 )
...
* Improve channel item component
* Fix clearing offers for squeak on squeak download
2020-10-18 21:37:42 -04:00
Jonathan Zernik
3b284ab699
Handle failed payment ( #302 )
...
* Show popup error message when payment failes
* Remove log lines from pay offer backend method
2020-10-18 19:29:14 -04:00
Jonathan Zernik
7051a07361
Add rpc method for get sent payment by id ( #300 )
2020-10-18 16:23:59 -04:00
Jonathan Zernik
e834547cf6
Get sent payments working in test ( #299 )
2020-10-18 14:26:58 -04:00
Jonathan Zernik
a8ef9bc8b4
Check preimage hash ( #298 )
...
* Check preimage hash after pay offer
* Only try to unlock squeak when preimage hash is correct
2020-10-18 01:42:07 -04:00
Jonathan Zernik
2e6777ccd9
Remove log lines from pay offer method ( #297 )
2020-10-18 00:44:18 -04:00
Jonathan Zernik
8ebdc754ca
Add pay offer dialog and backend method ( #296 )
...
* Add insert sent payment method
* Delete db container from itest
* Add other container in itest
* Connect to other squeak node in itest
* Use client lightning container for itest to get offers from main node
* Get offers itest working
* Open channel to buy offer in itest
* Successfully pay offer
* Remove old print statements from itest
* Successfully unlock squeak in pay offer method
* Assert that decrypted content is correct in pay offer itest
2020-10-18 00:27:49 -04:00
Jonathan Zernik
aef185830b
Remove todo comment in get offer ( #294 )
2020-10-15 20:24:23 -04:00
Jonathan Zernik
88c137c0ed
Use peer host as default when lnd host not specified ( #293 )
2020-10-15 19:58:56 -04:00
Jonathan Zernik
f3c7653c60
Add offer page ( #277 )
2020-10-04 01:16:06 -07:00
Jonathan Zernik
8d1bb513ac
Run codeformat with tox ( #258 )
2020-09-26 01:51:41 -07:00
Jonathan Zernik
fafb89006a
Add config to enable sync ( #255 )
...
* Add config to enable sync
* Include block information in logs
2020-09-16 01:47:36 -07:00
Jonathan Zernik
cb27225b5e
Make logs less verbose with debug level ( #243 )
2020-08-16 00:29:27 -07:00
Jonathan Zernik
61c460de40
Add thread to remove expired offers ( #241 )
...
* Add thread to remove expired offers
* Remove old comment from squeak offer getter
* Remove load offers request from buy frontend page
2020-08-15 18:36:21 -07:00
Jonathan Zernik
86a3bd5ba1
Get offers in sync thread ( #240 )
...
* Get offers in sync background thread
* Fix get squeaks needing offer database query
* Fix getting squeak download and offer in signle sync
* Remove get offer controller
* Remove old comments and log lines
* Remove load offers rpc method
2020-08-15 17:41:09 -07:00
Jonathan Zernik
f9313527ec
Include peer in offer response ( #238 )
...
* Include peer in offer display entry
* Show peer info in offer item display
2020-08-07 19:31:35 -07:00
Jonathan Zernik
686edbcd77
Decode payment request on get offer ( #235 )
...
* Decode payment request after getting offer
* Decode amount and node_pubkey from payment request string
* Rename fields in offer database table
* Include invoice time and expiry time in offer table
* Fix block time display in squeak detail component
2020-08-07 17:50:06 -07:00
Jonathan Zernik
a365128b40
Show offers in buy page ( #234 )
...
* Successfully load offers from rpc request
* Create offer item component
* Change display of offers
2020-08-06 18:15:39 -07:00
Jonathan Zernik
9648e70034
Improve logging in uploader and downloader ( #233 )
2020-08-06 01:56:58 -07:00
Jonathan Zernik
de353e5891
Add get offers method ( #232 )
...
* Include offer id field in offer namedtuple
* Add go to buy page on click on buy button
* Use button for buy click area in squeak detail component
2020-08-06 01:43:10 -07:00
Jonathan Zernik
be36252131
Add buy page ( #231 )
...
* Add todo comments to handle exceptions in upload/download
* Log the proof and expected proof in get offer task
* Convert offer message to namedtuple
* Successfully save offer in database
2020-08-05 23:39:52 -07:00
Jonathan Zernik
901b257b37
Add peer get offer ( #230 )
...
* Add rpc method to load buy offers for squeak hash
* Add test for load buy offers
* Fix get buy offer method challenge parameter
* Add get offers rpc method
* Fix min_block and max_block params in lookup request
2020-08-05 20:48:49 -07:00
Jonathan Zernik
fc08f74801
Improve setup download upload threads ( #228 )
...
* Improve setup of download and upload threads
* Rename squeak peer sync worker class
2020-08-05 02:44:22 -07:00
Jonathan Zernik
fe47116430
Add delete profile method ( #218 )
2020-08-04 03:33:14 -07:00
Jonathan Zernik
e7a515fae3
Add delete peer method ( #217 )
...
* Add delete peer method
* Include error details when peer resource not found
2020-08-04 03:07:32 -07:00
Jonathan Zernik
089e0d8fbf
Fail gracefully in block verifier when blockchain not available ( #216 )
2020-08-04 01:23:43 -07:00
Jonathan Zernik
c53c4b4205
Enable block verifier periodic worker thread ( #215 )
2020-08-04 01:15:29 -07:00
Jonathan Zernik
af0ffca75a
Add peer sync ( #214 )
...
* Add peer sync controller class
* Got sync downloader with remote connection working
* Got lookup hashes to download working in sync downloader
* Add peer sync status class
* Check stopped event flag before continuing with download
* Got peer download running in a separate thread for each peer
* Rename peer download class
* Fix get current download in sync status
* Add peer upload thread
* Got peer upload working
* Got peer download working
* Display different message in frontend when squeak is locked
* Change default quota for upload rate limit
2020-08-04 00:54:14 -07:00
Jonathan Zernik
2486a05d60
Rename subscription to peer ( #212 )
...
* Rename subscription to peer
* Rename subscribed to downloading
* Rename publishing to uploading
* Rename subcription to peer in frontend
2020-08-03 04:20:05 -07:00
Jonathan Zernik
087e68eb0b
Change sqkserver log level in docker ( #210 )
2020-08-02 23:11:06 -07:00
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
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
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
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
b16af17224
Add get servers rpc method ( #190 )
2020-08-01 01:24:48 -07:00
Jonathan Zernik
a3cd29f430
Run codeformat ( #184 )
2020-07-31 16:47:17 -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
1438b96de4
Add delete squeak method ( #174 )
2020-07-30 00:42:44 -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
3543f498cc
Fix set followed method ( #168 )
...
* Fix set followed rpc method
* Fix get followed squeaks method
2020-07-29 16:53:52 -07:00