Commit graph

1392 commits

Author SHA1 Message Date
Jonathan Zernik
dc6cef8cff
Add test for get sent offer by squeak and peer (#1693) 2021-10-22 22:20:10 -07:00
Jonathan Zernik
76e1bd29cc
Add test for get sent offer by payment hash missing (#1692) 2021-10-22 19:02:04 -07:00
Jonathan Zernik
74222b9a62
Add test for get sent offer by payment hash (#1691) 2021-10-22 18:56:07 -07:00
Jonathan Zernik
a14cbb4663
Add test for get sent payment with non existent id (#1690) 2021-10-22 18:41:33 -07:00
Jonathan Zernik
a9c97c5df7
Add test for get inserted sent payments (#1689) 2021-10-22 18:36:47 -07:00
Jonathan Zernik
ca7296849b
Remove squeak not liked db query property (#1687) 2021-10-22 18:07:00 -07:00
Jonathan Zernik
cc1a2c0a2b
Add test for get inserted sent payment db method (#1685) 2021-10-22 18:03:18 -07:00
Jonathan Zernik
ab4984ede4
Remove unused db query property for received offer does not exist (#1684) 2021-10-22 17:44:24 -07:00
Jonathan Zernik
2016f057d3
Rename received_offer is expired property of db class (#1682) 2021-10-22 17:42:54 -07:00
Jonathan Zernik
0173cc90a4
Remove db property for profile has no private key (#1680) 2021-10-22 17:27:12 -07:00
Jonathan Zernik
3fc34c8965
Add test for set received offer paid db method (#1678) 2021-10-22 17:16:37 -07:00
Jonathan Zernik
e320c9b497
Comment out unused delete offer method of db (#1677) 2021-10-22 16:51:05 -07:00
Jonathan Zernik
6fa1a36fca
Remove db query property for squeak has no secret key (#1676) 2021-10-22 16:43:52 -07:00
Jonathan Zernik
0f65bb93e3
Use negation function of sqlalchemy for expired received offer condition (#1675) 2021-10-22 16:41:25 -07:00
Jonathan Zernik
7d6bb76f74
Don't delete offers for squeak on delete squeak method in controller (#1674) 2021-10-22 16:18:35 -07:00
Jonathan Zernik
faa7a9513a
Add test for delete expired received offers (#1672) 2021-10-22 16:01:52 -07:00
Jonathan Zernik
704abeea24
Comment out get received offer by squeak and peer method (#1669) 2021-10-22 15:22:17 -07:00
Jonathan Zernik
bc8fc125b5
Add test for insert duplicate received offer (#1668) 2021-10-22 15:15:16 -07:00
Jonathan Zernik
4af20e7b03
Add test case for get received offer db method when none (#1667) 2021-10-22 12:44:25 -07:00
Jonathan Zernik
8b5c651db4
Add test for get received offers db method (#1666)
* Add test for get received offers db method

* Remove print statements
2021-10-22 12:32:26 -07:00
Jonathan Zernik
ded954fca9
Add test for insert and get received offer db methods (#1665) 2021-10-22 10:46:31 -07:00
Jonathan Zernik
695570064b
Add test for delete peer db method (#1664) 2021-10-22 10:35:23 -07:00
Jonathan Zernik
baa882056a
Add test for rename peer db method (#1663) 2021-10-22 10:27:08 -07:00
Jonathan Zernik
0193647cdf
Add test for get autoconnect peers (#1662) 2021-10-22 10:18:18 -07:00
Jonathan Zernik
1ea1db1d3d
Remove old commented methods in db class (#1661) 2021-10-20 13:29:56 -07:00
Jonathan Zernik
ef4bfcf36f
Add tests for get peers db method (#1660) 2021-10-20 13:27:38 -07:00
Jonathan Zernik
f437939895
Add tests for get peers db method (#1659) 2021-10-19 07:50:07 -07:00
Jonathan Zernik
17ad673a33
Add tests for get peer db method (#1658) 2021-10-19 07:16:38 -07:00
Jonathan Zernik
31dbb29fdc
Add test for delete squeak db method (#1657) 2021-10-19 06:53:20 -07:00
Jonathan Zernik
1a4e46c439
Add test for set profile image db method (#1656) 2021-10-19 06:32:23 -07:00
Jonathan Zernik
0fa9755dea
Simplify profile fixtures for test db (#1655)
* Simplify and remove fixtures for profile tests in db test

* Delete old comments
2021-10-19 06:16:15 -07:00
Jonathan Zernik
93057f90b4
Add test for delete profile db method (#1654) 2021-10-19 06:07:06 -07:00
Jonathan Zernik
aac56d4aa5
Add test for set profile name db method (#1653) 2021-10-19 05:58:59 -07:00
Jonathan Zernik
204d5a388e
Add test for profile use custom price db method (#1652)
* Add test for set profile use custom price field db method

* Add test for set profile custom price field db method
2021-10-19 05:49:30 -07:00
Jonathan Zernik
94b16e03e6
Add test for get profile by name (#1651) 2021-10-19 05:07:25 -07:00
Jonathan Zernik
77f89389db
Add test for get profile by addresss db method (#1650) 2021-10-19 04:59:33 -07:00
Jonathan Zernik
718cc60e9f
Simplify test for get profile method (#1649) 2021-10-19 04:53:00 -07:00
Jonathan Zernik
43f358adcc
Comment out unused db method (#1648) 2021-10-19 04:38:45 -07:00
Jonathan Zernik
3646fbb742
Add test for get following profiles db method (#1647) 2021-10-19 04:32:14 -07:00
Jonathan Zernik
70fbb9e7db
Add test for get profiles db method (#1646)
* Add test for get profiles db method

* Add test for get contact profiles db method
2021-10-19 01:34:50 -07:00
Jonathan Zernik
4b35021ba0
Fix error in config doc about sent offer retention (#1645) 2021-10-18 22:22:53 -07:00
Jonathan Zernik
bd56867e2f
Add doc for configuration (#1643)
* Added configs for node section to config doc

* Add bitcoin configs to config doc

* Add lnd configs to config doc

* Add tor configs to config doc

* Add db configs to config doc

* Add admin configs to config doc

* Add webadmin configs to config doc

* Add link to configuration doc in readme
2021-10-18 22:13:01 -07:00
Jonathan Zernik
26eae15509
Add test for db get old squeaks to delete (#1641)
* Add test for get squeaks to delete db method

* Improve test for get squeaks to delete db method

* Add test for get squeaks to delete with liked squeaks and authored squeak
2021-10-18 20:32:56 -07:00
Jonathan Zernik
3ffa122f4f
Add test for get num squeaks with address in block range db method (#1640) 2021-10-18 12:47:14 -07:00
Jonathan Zernik
0dfe29ef06
Add test for get num squeaks db method (#1639) 2021-10-18 12:21:51 -07:00
Jonathan Zernik
258bd53f31
Add tests for lookup method of squeak db (#1638)
* Add tests for lookup method of squeak db

* Add test for lookup squeaks db method for unlocked only
2021-10-18 11:58:03 -07:00
Jonathan Zernik
f4a317f571
Add unit test for get address squeaks method of db (#1637)
* Add unit test for get address squeaks method of db

* Add test for get search entries method of db

* Add tests for get ancestor squeaks method of db

* Add tests for get reply squeaks method of db
2021-10-18 09:51:00 -07:00
Jonathan Zernik
c78f711f4e
Add method in squeak controller that deletes both expired received offers and expired sent offers (#1633) 2021-10-18 00:32:19 -07:00
Jonathan Zernik
07bf467692
Add docstring and test for get_hash function (#1631) 2021-10-18 00:16:08 -07:00
Jonathan Zernik
78d23615b3
Refactor update subscribed squeak worker (#1630)
* Refactor forward subscribed squeak method to squeak controller

* Refactor forward subscribed secret key method to squeak controller

* Remove instance variable network manager from new squeak and new secret key subscription classes

* Remove old comments from subscription workers
2021-10-18 00:05:47 -07:00