Commit graph

1254 commits

Author SHA1 Message Date
Jonathan Zernik
3f9a67a439
Change description in setup.py (#1497) 2021-10-04 19:20:12 -07:00
Jonathan Zernik
b020b9aff9
Update development doc move lnd dir permissions (#1496)
* Update development doc to explain lnd dir permissions in backend section

* Try fix formatting of tor env vars

* Try again fix formatting of tor env vars
2021-10-04 19:18:45 -07:00
Jonathan Zernik
411f050c93
Got itest working with lnd using tor for both listen and connect (#1495)
* Got itest working with lnd using tor for both listen and connect

* Got itest working with configurable target address for lnd tor config

* Update development doc with tor service in background services
2021-10-04 18:33:16 -07:00
Jonathan Zernik
028b0b5ef1
Use separate lnd container in docker compose (#1479)
* Other lnd container in docker-compose seems to work

* Add new docker-compose using btcd

* Fix external host config for docker-compose

* Remove btcctl container from docker-compose in docker dir

* Mount btcd rpc certs dir to host dir

* Revert "Mount btcd rpc certs dir to host dir"

This reverts commit a79246fb3c.

* Use bitcoin-core instead of btcd in docker-compose.btcd

* Got squeaknode connection and buy working from host machine to container

* Got host to container connection working in main docker-compose

* Remove old comments from docker-compose

* Make squeaknode container use persistent volume

* Add tor proxy to dockerfile

* Update development doc with containerized squeaknode info

* Remove docker-compose.btcd.yml

* Remove unused configs from docker config.ini

* Add zmq hash block port to docker config.ini
2021-10-04 15:12:45 -07:00
Jonathan Zernik
742f524263
Add unit test for network connection using connection manager (#1493) 2021-10-04 00:48:46 -07:00
Jonathan Zernik
5d753ace14
Add unit test for get squeak secret key from db (#1492)
* Add unit test for get squeak secret key from db

* Add unit test for get missing squeak secret key from db
2021-10-03 21:31:17 -07:00
Jonathan Zernik
3effe81546
Add unit test for get missing squeak entry from db (#1491) 2021-10-03 21:11:28 -07:00
Jonathan Zernik
2eb1f1025d
Add unit test for get squeak entry from db (#1490) 2021-10-03 21:02:29 -07:00
Jonathan Zernik
080d6299b5
Add unit test for duplicate squeak (#1489)
* Add unit test for insert duplicate squeak in db

* Add unit test for get missing squeak from db
2021-10-03 20:52:04 -07:00
Jonathan Zernik
2e0fc25051
Got unit test working for insert and retrieve squeak in db (#1488) 2021-10-03 20:39:24 -07:00
Jonathan Zernik
70511ea291
Remove print statements from unit test (#1487) 2021-10-03 19:53:06 -07:00
Jonathan Zernik
24e64fc30b
Mock out db in unit test (#1485)
* Simplify fixtures in squeak node unit test

* Mock out get connection string which creates data dir
2021-10-03 19:49:22 -07:00
Jonathan Zernik
be8ebe7f42
Add config to enable squeak node test to cover everything (#1484)
* Add config to enable squeak node test to cover everything

* Add separate test for webadmin enabled
2021-10-03 16:14:42 -07:00
Jonathan Zernik
4fe0953f43
Got test passing for start stop squeaknode (#1483)
* Got test passing for start stop squeaknode

* Remove print statements from test
2021-10-03 15:24:24 -07:00
Jonathan Zernik
985d160372
Raise custom error when inserting duplicate squaek in db. (#1478)
* Raise custom error when inserting duplicate squaek in db.

* Don't raise error in insert db method, return optional primary key

* Update the docstring for insert squeak

* Insert received offer db method returns optional primary key

* Use optional return type for insert received payment method

* Comment out unused db exceptions for duplicate inserts
2021-10-03 01:09:35 -07:00
Jonathan Zernik
d7b9c76555
Raise custom error when inserting duplicate received offer in db. (#1476) 2021-10-02 12:06:04 -07:00
Jonathan Zernik
1ede8b9468
Move create saved peer function to peers module (#1473) 2021-10-02 11:25:08 -07:00
Jonathan Zernik
e2bd6ae384
Add profiles module with unit tests (#1468) 2021-10-02 02:48:09 -07:00
Jonathan Zernik
b7afc1f921
Add codecov badge (#1466)
* Add codecov badge to readme

* Change spacing of readme badges
2021-10-02 01:17:04 -07:00
Jonathan Zernik
b5438d2461
Add codecov to github workflow (#1465)
* Add codecov to github workflow

* Include setup python and tox in github workflow

* Install tox in github workflow test step

* Add protoc install to github ci

* Call coverage directly in github ci

* Install requirements-dev in github ci

* Call make gen-protos in github ci before pytest

* Install tox before run tests

* Call coverage xml before codecov upload

* Use codecov token

* Don't use codecov token
2021-10-02 01:09:51 -07:00
Jonathan Zernik
f68d8628ea
Move secret key tweak functions to secret keys module (#1464) 2021-10-02 00:07:51 -07:00
Jonathan Zernik
52cfc3765a
Remove unused functions in core util module (#1463) 2021-10-01 21:46:13 -07:00
Jonathan Zernik
ed13f363f7
Remove unused bxor function (#1462) 2021-10-01 21:37:10 -07:00
Jonathan Zernik
77fda8114f
Create squeaks module (#1460)
* Create new squeaks module in core and add make squeak function

* Move get_hash function to squeaks module

* Add unit test for squeaks module

* Add check squeak function to squeaks module

* Add get decrypted content function to squeaks module

* Add function to get payment point in squeaks module

* Use conftest for fixtures in core directory

* Add test cases for squeak matches interest function

* Remove old comment in squeak core
2021-10-01 21:24:09 -07:00
Jonathan Zernik
e03c858ead
Fix test coverage omitted files (#1458)
* Omit squeak_admin_server_servicer.py and app.py from test coverage

* Add newline to setup.cfg
2021-10-01 16:51:26 -07:00
Jonathan Zernik
107a8176ab
Link github CI badge to CI workflow action (#1456) 2021-10-01 15:28:53 -07:00
Lateefah Bello
c14468ef94
added github CI workflow badge to README (#1455) 2021-10-01 15:18:23 -07:00
yzernik
412e54f0d3 Release version 0.1.157 2021-10-01 01:01:46 -07:00
Jonathan Zernik
a2efa9267a
Update frontend build (#1454) 2021-10-01 00:42:49 -07:00
Jonathan Zernik
c8db46fd75
Remove spacing from squeak detail item (#1453) 2021-10-01 00:30:18 -07:00
Jonathan Zernik
1c909da201
Update frontend build with timedisplay component (#1450)
* Run make lint

* Update frontend build
2021-09-30 22:30:18 -07:00
Abhishek Shandilya
8f3bc9c47d
Fixes #1147 (#1393)
* Fixes #1147

* convert squeak time to a reusable component

* add spacing between grid containers
2021-09-30 22:24:52 -07:00
Jonathan Zernik
62f5e332a8
Refactor core interest functions (#1449)
* Convert iterable to list in interest unit tests

* Refactor interests functions into separate module

* Simplify assertions in test interests unit tests
2021-09-30 21:59:55 -07:00
Jonathan Zernik
10ec953084
Remove unused volumes section from docker-compose (#1446) 2021-09-30 13:56:03 -07:00
Jonathan Zernik
d797e76ed4
Run extra squeaknode instance in docker-compose (#1444) 2021-09-29 22:47:39 -07:00
Jonathan Zernik
508a4cb423
Remove libpq-dev as requirement for standard install (#1442) 2021-09-29 12:37:04 -07:00
Jonathan Zernik
736b2af9cf
Move tor proxy to optional section in readme (#1441) 2021-09-28 23:55:31 -07:00
yzernik
45ef7c8996 Release version 0.1.157 2021-09-28 12:13:32 -07:00
Jonathan Zernik
d03d1c5ed6
Upgrade sqlalchemy to 1.4 (#1438) 2021-09-28 11:43:50 -07:00
Jonathan Zernik
f73226b621
Upgrade version of squeaklib to 0.7.7 (#1435) 2021-09-27 21:38:44 -07:00
yzernik
cab5a5b995 Release version 0.1.156 2021-09-27 15:13:04 -07:00
Jonathan Zernik
0d3014786b
Update frontend build (#1431) 2021-09-27 15:04:34 -07:00
Abhishek Shandilya
fc9d217a5b
Buttongroup uses full width to accommodate onion address (#1429) 2021-09-27 14:58:42 -07:00
yzernik
629dc86dba Release version 0.1.155 2021-09-27 14:52:50 -07:00
Jonathan Zernik
03b87c493f
Update frontend build (#1428) 2021-09-27 12:26:01 -07:00
Jonathan Zernik
678e6a0829
Show external address as selectable text field (#1427)
* Show external address as text field instead of button

* Run frontend lint
2021-09-27 12:22:03 -07:00
Jonathan Zernik
9d275ae915
Remove info log lines in update local subscriptiion method (#1425) 2021-09-26 20:45:35 -07:00
Jonathan Zernik
86088f4a9a
Use differential interests after updating subscribed interests (#1424) 2021-09-26 20:25:51 -07:00
Jonathan Zernik
08be7b6faf
Don't send old squeaks in subscribe response in new proto version (#1423)
* Don't send old squeaks in subscribe response in new proto version

* Remove old comment in update subscription method
2021-09-26 13:09:05 -07:00
Jonathan Zernik
be64e00b3d
Rename remote subscription attribute of peer class (#1422) 2021-09-26 10:57:04 -07:00