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
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
fd4928e7f1
Show address when author unknown ( #222 )
...
* Show address for squeak when author unknown
* Fix left join query to show squeaks for address when profile does not exist
2020-08-04 20:03:03 -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
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
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
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
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
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
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
yzernik
e01b4de121
Add todo to get followed squeaks query
2020-07-28 15:25:26 -07:00
Jonathan Zernik
06e642b19c
Add profile whitelist ( #160 )
...
* Add whitelisted field to profile table
* Fix adding whitelisted field to profile, itest passes now
2020-07-28 02:05:33 -07:00
Jonathan Zernik
b207469046
Add max squeak per block config ( #159 )
...
* Add max squeaks per block per address config
* Add rate limiter class
* Check rate limiter in squeaknode before saving squeak
* Got working itest with rate-limited requests
2020-07-28 01:10:04 -07:00
Jonathan Zernik
35de989e14
Fix order of ancestor thread squeaks ( #156 )
2020-07-27 03:36:47 -07:00
Jonathan Zernik
a37296565c
Thread ancestors db query ( #153 )
...
* Add replyto field to squeak display response in rpc method
* Got thread ancestors query working mostyly
* Got thread ancestors query working
* Fix docstring for ancestor query
* Add check for ancestor query to itest
2020-07-27 00:55:58 -07:00
Jonathan Zernik
441aecd148
Create tabls in profiles page ( #137 )
...
* Create tab for signing profiles in profiles page
* Add rpc methods to create and get contact profiles
* Create tab for contact profiles
* Create page for create profile
* Fix submit create contact profile form
* Fix get contact profiles request in profiles page
* Fix validation of squeak address in create contact method
* Validate squeak address in create contact profile frontend
2020-07-24 22:43:39 -07:00
Jonathan Zernik
47617b0276
Add makesqueak page ( #117 )
...
* Add makesqueak page
* Return None when squeak is not found in database
2020-07-22 16:51:41 -07:00
Jonathan Zernik
bd100c3006
Add get profile by address rpc method ( #112 )
2020-07-21 17:42:19 -07:00
Jonathan Zernik
cb282d9af3
Add get squeaks for address rpc method ( #108 )
2020-07-21 16:12:26 -07:00
Jonathan Zernik
6924bdb671
Add get signing profiles rpc ( #103 )
...
* Add get signing profiles rpc method
* Don't include private key in squeak profile response, only a boolean
2020-07-21 04:23:52 -07:00
Jonathan Zernik
a32ae4f299
Include block time in squeak entry response ( #93 )
2020-07-19 04:02:31 -07:00
Jonathan Zernik
4bbca79979
Auto format ( #92 )
2020-07-19 02:31:45 -07:00
Jonathan Zernik
195e5be57f
Parse squeak entry in helper method ( #91 )
...
* Use helper method to parse squeak entry from db query
* Use helper method to parse squeak profile from query resuly, and use dictionary row results for all query results
2020-07-19 02:25:35 -07:00
Jonathan Zernik
149c55b4d3
Use lowercase and underscores in sql tables column names ( #90 )
2020-07-19 01:50:48 -07:00
Jonathan Zernik
888eeeca6b
Return squeak with profile ( #89 )
...
* Return squeakentry with profile using join in admin rpc.
* Return squeak display entry successfully in itest.
2020-07-19 01:25:34 -07:00
Jonathan Zernik
970a991ebc
Return squeakentry with squeak and blockheader from db query ( #88 )
2020-07-18 23:49:45 -07:00
Jonathan Zernik
6f15f8196d
Save block header in squeak table after verifying block hash of squeak ( #87 )
2020-07-18 22:35:26 -07:00
Jonathan Zernik
4a2961de54
Add black to make codeformat in makefile ( #85 )
2020-07-18 19:40:28 -07:00
Jonathan Zernik
87b2a3de7d
Format imports with isort in makefile ( #84 )
2020-07-18 19:25:31 -07:00
Jonathan Zernik
81a6915506
Improve squeak block verifier ( #82 )
...
* Improve squeak block verifier
* Add worker to process unverified squeaks from queue
2020-07-18 17:59:08 -07:00
Jonathan Zernik
404772372f
Add btcd credentials to sqkserver config ( #81 )
...
* Add btcd credentials and rpc cert to sqkserver configs
* Start the squeak block verifier worker thread on startup
* Btcd request still failing because of cert
* Got btcd client working
* Use valid block hash and height in itest
2020-07-18 17:19:43 -07:00