Commit graph

427 commits

Author SHA1 Message Date
Jonathan Zernik
efd12e8332
Fix alembic messing up logging (#423) 2020-11-09 21:43:51 -05:00
Jonathan Zernik
1fb1c62a62
Add env var for db connection string (#422) 2020-11-09 21:19:47 -05:00
Jonathan Zernik
9b17906360
Use db connection string config (#421)
* Use db connection string config

* Fix get db connection string imports
2020-11-09 20:33:02 -05:00
Jonathan Zernik
24abdd0ee3
Add alembic (#418)
* Add alembic with init command

* Create separate models class

* Add target metadata to alembic config

* Got initial migration working

* Move migration code into separate module

* Add documentation for migrations
2020-11-08 21:23:19 -05:00
Jonathan Zernik
7297949239
Show address in profile page (#416)
* Show address in profile page

* Update static build
2020-11-08 14:16:08 -05:00
Jonathan Zernik
0a50a377e0
Add get profile by name rpc method (#415) 2020-11-08 12:09:46 -05:00
Jonathan Zernik
ba5ab85163
Add unique constraints for profile name and address (#414) 2020-11-08 11:32:07 -05:00
Jonathan Zernik
8b7ec2ecf6
Allow enable sync to be configured with envvar (#413) 2020-11-08 10:28:23 -05:00
Jonathan Zernik
12a8ddc88f
Add squeak detail page (#412)
* Created squeak detail page

* Add get squeak details rpc method

* Got squeak serialized data to show

* Put style back

* Show raw squeak data in text field

* Show hash in squeak details page

* Include link to zoom in to squeak detail page from squeak page

* Update static build and frontend makefile
2020-11-07 22:19:24 -05:00
Jonathan Zernik
59598dfcee
Show error aler on payment fail (#411)
* Show alert on payment failure with error message

* Show error alert when open channel fails

* Don't try to handle close channel response because it won't work

* Update static build
2020-11-07 17:57:05 -05:00
Jonathan Zernik
13a5be4d6b
Fix lnd unavailable logic (#409)
* Fix lnd unavailable function logic

* Update static build
2020-11-07 16:54:44 -05:00
Jonathan Zernik
0488696025
Show dialog when lnd is unavailable (#408)
* Show dialog when lnd is unavailable

* update static build
2020-11-07 16:47:33 -05:00
Jonathan Zernik
56b501cd4a
Fix error handling frontend request (#407)
* Makerequest function in frontend takes handleError argument

* Add deserializeMsg parameter to handleResponse function

* Update makeRequest function to handle deserialization

* Update requests to handle response better

* Stop showing alert when lndgetinfo fails
2020-11-07 16:24:15 -05:00
Jonathan Zernik
e2bf25d9ae
Fix add contact profile button (#406)
* Fix add contact profile button

* Fix add contact button

* Update static build
2020-11-07 15:32:17 -05:00
Jonathan Zernik
1a80c39c9b
Remove unnecessary clone of googleapis for proto gneration (#403) 2020-11-06 23:26:31 -05:00
Jonathan Zernik
478443af45
Make clean with makefile in frontend folder (#401) 2020-11-06 18:05:29 -05:00
Jonathan Zernik
c3a5740bbb
Remove old unused comments from dockerfile (#399) 2020-11-06 13:14:10 -05:00
Jonathan Zernik
a69a2bd859
Delete old unused modules (#398) 2020-11-06 12:51:07 -05:00
Jonathan Zernik
a90a34aa06
Fix example configs in README (#396) 2020-11-06 12:28:34 -05:00
Jonathan Zernik
245fee3f15
Fix click contact profile profiles page (#395)
* Fix click contact profile action in profiles page

* Update static build
2020-11-06 12:25:53 -05:00
Jonathan Zernik
dbc99925cc
Make log level configurable (#394) 2020-11-05 18:37:32 -05:00
Jonathan Zernik
d2e026f536
Clean up logging in main module (#393)
* Clean up logging in main module

* Clean up logging in main module
2020-11-05 17:46:18 -05:00
Jonathan Zernik
2961c45a22
Update frontend build with go to profile button (#392) 2020-11-05 17:16:05 -05:00
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