Commit graph

435 commits

Author SHA1 Message Date
Jonathan Zernik
fa9a84c1df
Include peer name in sent payment result (#433)
* Include peer_name sent payment rpc result

* Show peer name in sent payment in frontend
2020-11-10 17:32:20 -05:00
Jonathan Zernik
298d34efe8
Show sent payments in descending time order (#432) 2020-11-10 15:56:52 -05:00
Jonathan Zernik
b1d8d133e6
Show time in sent payment (#431)
* Get time field in sent payment rpc

* Show sent payment time in frontend
2020-11-10 15:55:26 -05:00
Jonathan Zernik
e709793617
Add payments page (#429)
* Add payments page

* Add payments page link to sidebar

* Create sent payment component

* Got sent payments list showing

* Show link to squeak and to lightning node in sent payment

* Fix lightning node pubkey link

* Add link to peer page from sent payment
2020-11-10 14:44:26 -05:00
Jonathan Zernik
6641e64995
Use msat as price unit (#427)
* Use price_msat for config and internally

* Use price_msat in admin protocol for offer message

* Use price_msat in sent payments table and protocol

* Update frontend to use new protocol with price_msat for offer

* Update static build
2020-11-10 02:35:24 -05:00
Jonathan Zernik
53fa118f20
Remove max squeaks config from docker config.ini (#426) 2020-11-09 23:12:22 -05:00
Jonathan Zernik
05e03a5979
Fix sync interval s config (#425) 2020-11-09 22:56:08 -05:00
Jonathan Zernik
2a0e861fb2
Add sync_interval_s config (#424) 2020-11-09 22:39:06 -05:00
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