Commit graph

14 commits

Author SHA1 Message Date
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
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
47a68505b7
Add test for connected peer to msg (#1610) 2021-10-15 20:47:27 -07:00
Jonathan Zernik
11d8c8a1e3
Add test for payment summary to msg (#1609) 2021-10-15 20:22:38 -07:00
Jonathan Zernik
2daec01ed1
Add test for msg to received payment (#1608)
* Add test for msg to received payment

* Rename param in message to functions

* Rename param in message to sent payment function
2021-10-15 19:59:15 -07:00
Jonathan Zernik
16e9db2376
Add test for msg to sent payment (#1606)
* Add test for msg to sent payment

* Remove redundant assertion about sent payment secret key
2021-10-15 19:37:58 -07:00
Jonathan Zernik
c8ac284749
Add test for msg to squeak entry (#1605) 2021-10-15 18:26:58 -07:00
Jonathan Zernik
9c3e63dd2e
Add test for squeak detail to msg (#1604) 2021-10-15 17:57:25 -07:00
Jonathan Zernik
636cd4155a
Add test for sent payment to msg (#1603) 2021-10-15 17:49:59 -07:00
Jonathan Zernik
8e0dae6507
Add test for received payment to msg (#1602)
* Add test for received payment to msg

* Rename received payment to msg function
2021-10-15 17:35:37 -07:00
Jonathan Zernik
95feeb3cbe
Add test for sent offer to msg (#1594) 2021-10-14 20:16:22 -07:00
Jonathan Zernik
d351613880
Add tests for squeak entry to message and profile to message (#1593)
* Add tests for squeak entry to message and profile to message

* Move fixtures for admin module to separate conftest

* Add test for peer to msg

* Use global fixture for peer_address in squeak core test

* Move common fixtures to global conftest

* Add fixture for received offer

* Add unit test for received offer to msg

* Add fixture for sent offer

* Rename received offer to msg function
2021-10-14 19:57:48 -07:00
Jonathan Zernik
4ca835b2fb
Replace use_tor field with network in peer address (#1558)
* Replace use_tor field with network in peer address

* Got itest passing with network column in db.

* Got frontend working with network (ipv4 or torv3) configurable

* Fix go to peer address page navigation from sent payment and received payment
2021-10-10 21:00:56 -07:00