Commit graph

404 commits

Author SHA1 Message Date
Jonathan Zernik
7da220bcf2
Fix port number in url in readme (#391) 2020-11-05 17:02:58 -05:00
Jonathan Zernik
0294a47c4e
Include browser location in readme (#390) 2020-11-05 16:46:28 -05:00
Jonathan Zernik
240a32a123
Update readme to explain config.ini (#389) 2020-11-05 16:40:29 -05:00
Jonathan Zernik
feb6a83bce
Add button to go to squeaks from profile page (#388) 2020-11-05 16:34:13 -05:00
Jonathan Zernik
f0290e0677
Remove count variable from network sync (#387) 2020-11-05 15:43:27 -05:00
Jonathan Zernik
b29a8ca8ea
Remove whitelisted attribute, use following to build whitelist (#386)
* Remove whitelisted attribute, use following to build whitelist

* Fix update whitelist on set profile following method

* Remove whitelist feature toggle from fronted

* Update frontend build
2020-11-05 14:12:23 -05:00
Jonathan Zernik
ab3284dafc
Use hex string for squeak hash everywhere (#384)
* Use hex string for squeak hash everywhere

* Fix squeak hash in post squeak method
2020-11-05 12:54:59 -05:00
Jonathan Zernik
7289c36120
Fix downloading offers for single squeak (#382) 2020-11-05 02:35:25 -05:00
Jonathan Zernik
68fd77ee6e
Update frontend build with load offers (#379) 2020-11-05 01:27:13 -05:00
Jonathan Zernik
34721af3b8
Add load offers button (#378)
* Add load offers button to buy offer page

* Fix sync single squeak upload when squeak is locked
2020-11-05 01:22:49 -05:00
Jonathan Zernik
8c4db6f85a
Rename squeaknode docker container (#377) 2020-11-04 23:35:32 -05:00
Jonathan Zernik
724f72f1e5
Use more config defaults (#376)
* Use default configs for webadmin

* Remove sqlite config from config file

* Use default config for sqk dir

* Use derived default lnd tls cert path in config

* Use default config for macaroon path

* Remove macaroon path config from docker config.ini

* Got mainnet working in docker

* Update readme

* Remove unused network param in docker config.ini file

* Update readme
2020-11-04 23:18:04 -05:00
Jonathan Zernik
225cd7fdf1
Use better config defaults (#375)
* Use default ports for bitcoin rpc

* Use default configs for lnd ports

* Use default configs for server host/port and admin host/port
2020-11-04 21:24:04 -05:00
Jonathan Zernik
611e13c07f
New config class (#374)
* Create new config class

* Load lnd configs from new config class

* Use new config class for server and webadmin

* Use new config for webadmin

* Fix boolean configs for webadmin

* Use new config class for squeaknode configs

* Use new config for postgresql configs

* Use configparser get method for all configs

* Remove old configparser from main module
2020-11-04 19:06:49 -05:00
Jonathan Zernik
d73b40c4c3
Rename getoffer rpc method (#373) 2020-11-04 07:19:39 -05:00
Jonathan Zernik
a94932fc69
Include allowed addresses lookup response (#372)
* Handle lookup rpc method in handler class

* Check for whitelist before trying to upload

* Fix uploading squeak log line
2020-11-04 07:04:49 -05:00
Jonathan Zernik
6e1467152d
Update frontend build (#367) 2020-11-04 02:29:45 -05:00
Jonathan Zernik
4e9bc47440
Simplify get squeak with cleared decryption key (#366)
* Simplify get squeak method of squeak store working

* Shorten sleep time for mining blocks
2020-11-04 02:23:22 -05:00
Jonathan Zernik
f29831fbe1
Make save squeak idempotent not raise error (#365)
* Got idempotent save squeak working

* Remove old commented save squeak methods
2020-11-04 01:27:13 -05:00
Jonathan Zernik
22803b42d5
Got download single squeak working (#364) 2020-11-03 23:06:53 -05:00
Jonathan Zernik
5f16a88933
Handle reply and delete in squeak detail component (#363)
* Rename replyDialogOpen state variable

* Move reply dialog inside squeak detail component

* Move delete dialog inside squeak detail component
2020-11-03 22:34:27 -05:00
Jonathan Zernik
014d55aaeb
Remove unused gotosqueakpage function from squeak address page (#362) 2020-11-03 22:07:00 -05:00
Jonathan Zernik
304ef943d9
Show unknown hash squeak ancestor (#361)
* Show unknown squeak ancestor for replyto hash

* Don't show squeak has inside thread item content

* Fix handle squeak click for unknown squeak hash

* Fix get ancestors of unknown squeak hash

* Show missing squeak hash in squeak detail item component

* Remove handle click squeak from squeak thread component params

* Remove more click handler parameters from squeak components
2020-11-03 21:55:23 -05:00
Jonathan Zernik
9e1defb037
Yield results from network sync (#360)
* Use queue to signal peer sync completion/failure

* Got network sync result from multiple peers

* Add peer connection class

* Got network sync working with network sync class

* Simplify peer timeline sync

* Remove old comments

* Make timeline sync and single squeak sync work for both upload and download

* Simplify timeline sync worker

* Got itest working for sync squeaks and download squeak

* Got sync squeak and sync squeaks rpc methods working with reply on completion of sync.

* Delete unused node controller class
2020-11-03 02:46:07 -05:00
Jonathan Zernik
5170ae4246
Update build static files (#358) 2020-11-01 23:03:00 -05:00
Jonathan Zernik
c66de04303
Block detail link opens new tab (#357) 2020-11-01 13:34:50 -05:00
Jonathan Zernik
a6e0e3fa3c
Use env vars for frontend dev mode readme (#356) 2020-11-01 13:28:22 -05:00
Jonathan Zernik
7f8b71841f
Use env var to set use_ssl, login_disabled and allow_cors configs (#355) 2020-11-01 13:25:12 -05:00
Jonathan Zernik
26e054de3c
Change log level of network task logs (#354) 2020-11-01 00:08:44 -04:00
Jonathan Zernik
f513f0f5c7
Fix current block height/hash in blockchain client, and show block detail url in timeline (#352) 2020-10-31 23:28:10 -04:00
Jonathan Zernik
e66dbdeebd
Create peer sync task class (#350)
* Create peer sync task class

* Convery peer upload to subclass of peer sync tsk

* Use network task class for download task

* Use network task class for single squeak download

* comment unused network sync methods

* Remove old network controller methods

* Move all peer task methods into peer task class

* Move get offer method into peer sync class

* Delete get offer class

* Upload timeline squeaks using network task subclass

* Fix upload squeaks to only upload unlocked squeaks

* Remove unused synctask class
2020-10-31 21:48:25 -04:00
Jonathan Zernik
d42f2362f3
Only accept unlocked squeak post (#351)
* Only accept squeak upload post if unlocked

* Fix handling of invalid squeak upload in squeak post rpc method
2020-10-31 21:31:08 -04:00
Jonathan Zernik
fc81868e45
Add download single squeak method (#349)
* Add download single squeak method

* Add test for download squeak rpc method

* Imprive peerdownload class to only use block height only for sync method
2020-10-30 23:31:16 -04:00
Jonathan Zernik
b29cc9e925
Add build instructions for protoc in readme (#348)
* Add build instructions for protoc in readme

* Fix protoc download urls
2020-10-30 12:42:32 -04:00
Jonathan Zernik
f8cda6fef2
Organize frontend (#346)
* Remove intermediate squeak-node-frontend dir

* Create build-protos.sh

* Fix build-protos script in readme
2020-10-29 23:21:38 -04:00
Jonathan Zernik
927299cef0
Allow frontend testing without login (#345)
* Frontend testing working in dev mode

* Make login_disabled and cors configs configurables

* Update frontend readme
2020-10-29 18:22:01 -04:00
Jonathan Zernik
add72380ef
Add step to build docker-compose in readme (#343) 2020-10-29 16:19:08 -04:00
Jonathan Zernik
99ddc2df77
Rename to squeaknode (#342)
* Rename squeakserver to squeaknode and get itest passing

* Fix itest dockerfile

* Rename more squeakserver to squeaknode

* Rename database from squeakserver to squeaknode

* Update readme

* Remove frontend/build from git

* Rename squeakserver to squeaknode in tox and main
2020-10-29 14:35:17 -04:00
Jonathan Zernik
363a5eef0c
Remove log lines in admin handle (#338) 2020-10-29 13:21:58 -04:00
Jonathan Zernik
400d7faf5c
Use host machine volumes for lnd and sqk (#337) 2020-10-29 01:39:15 -04:00
Jonathan Zernik
b68d393778
Handle flask request errors (#336)
* Handle flask rpc request errors

* Show failed requests in alert in frontend
2020-10-29 01:23:49 -04:00
Jonathan Zernik
a8564418b6
Show login and logout menu in frontend (#335) 2020-10-28 21:36:21 -04:00
Jonathan Zernik
0f875f8071
Add logout button (#334) 2020-10-28 20:30:23 -04:00
Jonathan Zernik
6faea1b525
Add login required for all flask endpoints (#333) 2020-10-28 19:37:59 -04:00
Jonathan Zernik
bac8d27072
Fix external lnd host env (#332)
* Fix lnd external host env

* Open port 9735 on lnd host in docker
2020-10-28 15:58:19 -04:00
Jonathan Zernik
d135f59250
Fix static url path for flask (#331) 2020-10-28 15:37:19 -04:00
Jonathan Zernik
0be9ade5ad
Include static react assets in setup install (#330)
* Include react build assets in static folder in setup install

* Remove comments from flask app startup
2020-10-28 15:00:21 -04:00
Jonathan Zernik
cf4699d6f8
Remove unused proto dir copy in dockerfile (#329) 2020-10-28 14:48:49 -04:00
Jonathan Zernik
cd4caa0447
Ignore generated python pb2 files (#328)
* Got setup.py install working I think

* Got setup.py build working with both templates and protos

* Delete unused old proto dir inside squeakserver
2020-10-28 14:26:25 -04:00
Jonathan Zernik
287d0f34ca
Simplify sqkserver docker (#327)
* Simplify sqkserver docker by copying entire repository to image

* Got flask templates working without custom root path

* Remove unused comment in setup.py
2020-10-27 01:04:48 -04:00