Jonathan Zernik
583d076394
Use payment hash as parameter for set received offer paid ( #1718 )
2021-10-24 16:19:23 -07:00
Jonathan Zernik
b2d5326d34
Delete received offers when out of configured retention from download time ( #1708 )
2021-10-23 09:34:21 -07:00
Jonathan Zernik
dea903e98e
Add tests for get received payment summary and get sent payment summary ( #1705 )
2021-10-23 09:04:20 -07:00
Jonathan Zernik
cb0a5971ec
Add test for get latest settle index and clear settle indexes ( #1704 )
2021-10-23 08:51:23 -07:00
Jonathan Zernik
dca65ede97
Add test for yield received payments from settle index ( #1703 )
2021-10-23 08:38:44 -07:00
Jonathan Zernik
d0754d27a3
Add test for duplicate inserted received payment db method ( #1702 )
2021-10-23 08:24:58 -07:00
Jonathan Zernik
773b38de2f
Add test for get multiple received payments db method ( #1700 )
2021-10-23 08:16:09 -07:00
Jonathan Zernik
4c71be584a
Add test for set sent offer paid ( #1698 )
...
* Add test for set sent offer paid
* Add test for set sent offer not paid
2021-10-23 00:26:04 -07:00
Jonathan Zernik
5d739bd4d0
Add tests for delete expired sent offers db method ( #1696 )
2021-10-22 23:24:44 -07:00
Jonathan Zernik
ee6e7ca1a9
Add test for get sent offers ( #1695 )
2021-10-22 23:04:40 -07:00
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
cc1a2c0a2b
Add test for get inserted sent payment db method ( #1685 )
2021-10-22 18:03:18 -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
faa7a9513a
Add test for delete expired received offers ( #1672 )
2021-10-22 16:01:52 -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
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
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
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
07bf467692
Add docstring and test for get_hash function ( #1631 )
2021-10-18 00:16:08 -07:00
Jonathan Zernik
d1477b0b99
Rename admin webapp user module ( #1628 )
2021-10-17 22:33:36 -07:00
Jonathan Zernik
b314b138a5
Add tests for webapp user ( #1621 )
...
* Add unit test for webapp user
* Add assertion for test webapp user with wrong username
2021-10-16 19:58:15 -07:00
Jonathan Zernik
fd6ad232e1
Add function to get private key from profile ( #1619 )
2021-10-16 19:35:24 -07:00
Jonathan Zernik
0e85b37f02
Add functions for optional types to msgs ( #1618 )
...
* Add functions for convert some optional types to msgs
* Add functions for convert optional squeak entry to msg
* Add function for convert optional peer to msg
* Add function for convert optional received offer to msg
* Add function for convert optional sent payment to msg
* Add function for convert optional squeak to detail msg
* Add function for convert optional connected peer to msg
* Use function for convert optional connected peer to msg in handler
2021-10-16 18:59:56 -07:00
Jonathan Zernik
b374aab2d9
Add init with retries method to squeak db ( #1616 )
...
* Add init with retries method to squeak db
* Use db init_with_retries method in squeak node class
* Add unit test for db init with retries method
* Raise exception with message on init with retry fail
2021-10-16 02:04:28 -07:00
Jonathan Zernik
69a4c7a663
Simplify fixtures for test db ( #1615 )
...
* Simplify fixtures for db test
* Remove redundant peer fixture in test db
2021-10-15 22:07:00 -07:00