Kukks
77588182b9
Make validation uniform
2020-03-24 23:44:26 -05:00
Kukks
ca00caa4a4
Do not allow 0 amount invocies for crowdfund and payment requests
2020-03-24 23:43:56 -05:00
Kukks
36bd76248b
Allow Pay Button to work on Apps
...
This PR allows you to use the pay button generator to create buttons that target apps. This means that you can generate an invoice that is linked to an item on the POS/Crowdfund (targeting the item is optional). The POS/Crowdfund item amount -> invoice creation amount validation works too so that the user cannot modify the amount of a perk using just html ( fixes #1392 )
2020-03-24 23:43:47 -05:00
Kukks
f0f05acdfd
Let 0 amount invoices pass through and allow email to be set when required but paid
...
@ketominer @Askuwheteau @IAskuwheteau
2020-03-24 23:43:19 -05:00
nicolas.dorier
d57fdd4785
Remove useless delay in tests
2020-03-23 17:19:19 +09:00
nicolas.dorier
805e1f53b3
Test Wallet Receive, Send with NBX, Coin selection
2020-03-23 15:46:54 +09:00
Nicolas Dorier
40953ef2c6
Merge pull request #1399 from Kukks/coin-selection
...
New feature: Coin Selection
2020-03-23 14:05:11 +09:00
Nicolas Dorier
ff055c08fb
Merge pull request #1404 from btcpayserver/pr/can-manage-wallet
...
Additional logging and tweaking for CanManageWallet test
2020-03-22 13:53:29 +09:00
rockstardev
f3d5cf3622
Additional logging and tweaking for CanManageWallet test
2020-03-21 12:23:02 -05:00
nicolas.dorier
478b1463ff
Improve documentation
2020-03-20 20:26:36 +09:00
nicolas.dorier
7e7f0053e2
Improve documentation
2020-03-20 20:25:10 +09:00
nicolas.dorier
9a940a044e
Fix tests
2020-03-20 20:00:30 +09:00
nicolas.dorier
d2864ccd7c
Make sure ApiKeyData set all the fields, remove UserId
2020-03-20 20:00:05 +09:00
nicolas.dorier
ad4dbdad6d
Fix the PermissionJsonConverter
2020-03-20 19:57:00 +09:00
nicolas.dorier
094307d688
Remove warning and improve UI of permission selection
2020-03-20 19:39:02 +09:00
nicolas.dorier
53e7c84e73
Fix tests
2020-03-20 18:56:30 +09:00
Nicolas Dorier
2a865284da
Merge pull request #1402 from Kukks/liquid-assets-divisibility
...
Fix liquid asset BIP21 decimal precision
2020-03-20 18:39:05 +09:00
nicolas.dorier
4666238e38
Fix build
2020-03-20 18:38:21 +09:00
Kukks
b54a7b80e3
add tests and fix
2020-03-20 09:31:22 +01:00
nicolas.dorier
432d6bb261
Update documentation
2020-03-20 14:33:11 +09:00
nicolas.dorier
fb36ed2cae
Fix tests
2020-03-20 14:07:42 +09:00
nicolas.dorier
55516a3253
Remove excessive folders
2020-03-20 14:03:28 +09:00
nicolas.dorier
a0e638d500
Switch from System.Text.Json to Newtonsoft, typify the BTCPayServer.Client
2020-03-20 14:01:51 +09:00
nicolas.dorier
2def9e7bd3
fix build
2020-03-20 13:58:07 +09:00
nicolas.dorier
0bfc12ae3d
Fix build
2020-03-20 13:44:02 +09:00
nicolas.dorier
318d826694
Rename Permissions.Can.. to Policies.Can..
2020-03-20 13:41:47 +09:00
Nicolas Dorier
44b3bb34a4
Merge pull request #1400 from NicolasDorier/refactor/permissions
...
Refactor permissions of GreenField
2020-03-20 13:30:58 +09:00
nicolas.dorier
46edc281b6
Fix tests
2020-03-20 13:22:10 +09:00
Kukks
d72139c2c1
Fix liquid asset BIP21 decimal precision
...
The way liquid assets decimal precision works is just an ui layer. Each unit of an asset is actually 1sat.
Fixes https://github.com/Blockstream/green_android/issues/86
2020-03-19 16:00:33 +01:00
nicolas.dorier
29a807696b
Refactor permissions of GreenField
2020-03-19 23:43:51 +09:00
Kukks
517c65f1fc
make no js version a littler better
2020-03-19 10:08:33 +01:00
Kukks
8f18be727b
add clear option
2020-03-19 10:02:31 +01:00
Kukks
d6c66d0c03
New feature: Coin Selection
...
This opt-in feature allows you to select which utxos you want to use for a specific transaction.
2020-03-19 09:44:47 +01:00
nicolas.dorier
eac33d494a
Add logs
2020-03-19 13:34:11 +09:00
nicolas.dorier
2105b44610
Make sure the create user is respecting the disable-registration settings
2020-03-19 13:30:53 +09:00
Nicolas Dorier
ab74013a05
Merge pull request #1398 from btcpayserver/pr/fix-tests
...
Adding loggin in CanManageWallet test, fixing UserControllerTests
2020-03-19 13:15:17 +09:00
rockstardev
967b02e373
Commenting out conflicting check
2020-03-18 19:17:15 -05:00
rockstardev
8432cd5477
Adding new check for expected behavior in UsersControllerTests
2020-03-18 19:01:27 -05:00
rockstardev
ccfca65c41
Reverting changes to UsersController because of CanCreateUsersViaAPI test
2020-03-18 18:55:45 -05:00
rockstardev
0a8abaf7d5
Refactoring if condition to ensure CanCreateUser permission
...
Fixing UsersControllerTests
2020-03-18 18:40:21 -05:00
rockstardev
47c1164003
Adding logging to detect failure of CanManageWallet test
...
If all logs are present it's possibly issue with TempData
2020-03-18 18:17:21 -05:00
nicolas.dorier
65d26ad8a1
improve redoc documentation
2020-03-18 23:35:17 +09:00
nicolas.dorier
0a0d8d53a4
Improve redoc
2020-03-18 23:30:27 +09:00
nicolas.dorier
e50e3f662d
Can create user without authentication if there is no admin
2020-03-18 23:10:15 +09:00
nicolas.dorier
540a31207e
Properly validate create user input
2020-03-18 20:51:50 +09:00
nicolas.dorier
132c36df7b
Remove useless routes and info in swagger
2020-03-18 20:25:54 +09:00
nicolas.dorier
e351e0c9ea
Remove dependency on NSwag
2020-03-18 20:08:09 +09:00
Nicolas Dorier
8d7b9fcef2
Merge pull request #1390 from Kukks/api/user-create
...
Greenfield API: Create User
2020-03-18 16:26:10 +09:00
Kukks
6e1f3989e8
remove special case
2020-03-18 08:10:35 +01:00
Kukks
e99767c7e2
Greenfield API: Create User
...
Slightly big PR because I started refactoring to reduce code duplication between the UI based business logic and the api one.
2020-03-17 08:21:27 +01:00