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
nicolas.dorier
29a807696b
Refactor permissions of GreenField
2020-03-19 23:43:51 +09: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
nicolas.dorier
c85fb3e89f
Remove ndax from test suite (crashing exchange)
2020-03-17 13:19:55 +09:00
nicolas.dorier
348934488d
Refactor tests for greenfield
2020-03-16 16:36:55 +09:00
Nicolas Dorier
6c8918a308
Merge pull request #1389 from Kukks/api/god-mode
...
Greenfield API: God Mode
2020-03-16 16:29:19 +09:00
Kukks
ff2ea5815c
add else tests
2020-03-16 08:13:44 +01:00
Kukks
cc0202ecb3
fix test
2020-03-13 08:00:04 +01:00
Kukks
0c065df4bd
Greenfield API: God Mode
...
When the `ServerManagement` permission is granted, you should be able to do everything in the system.
Maybe I should rename it to GodMode as a permission to not have any confusion with managing server settings (currently `ServerManagement`)?
2020-03-12 18:43:57 +01:00
Nicolas Dorier
b5664dac81
Merge pull request #1387 from Kukks/api/users-get-current
...
Greenfield API: Get current User
2020-03-12 23:20:18 +09:00
Kukks
8173296c96
Greenfield API: Get current User
...
Builds on #1368
This PR adds a new endpoint: Get current user.. It only returns the current user's id and email for now( let's extend later)
It also adds a new permission: `ProfileManagement` which is needed for this endpoint (and for update endpoints later)
2020-03-12 14:59:24 +01:00
Nicolas Dorier
71a00c0e67
Merge pull request #1384 from Kukks/api/authorize-ui
...
Make api docs only available after login
2020-03-12 12:00:00 +09:00
Kukks
70b172addc
Make api docs only available after login
2020-03-11 18:05:40 +01:00
Kukks
2002c6750b
target netstandard2.1 for Client
2020-03-11 16:54:53 +01:00
Kukks
786be9d1f5
fix tests
2020-03-11 16:54:53 +01:00
Kukks
233fa8a4a1
BTCPayServer.Client library + Revoke API Key
2020-03-11 16:54:53 +01:00
Nicolas Dorier
c74f52a61c
Merge pull request #1383 from Kukks/fix-tests
...
fix e2e tests
2020-03-12 00:53:44 +09:00
Kukks
245507f821
fix e2e tests
2020-03-11 16:52:29 +01:00
Nicolas Dorier
5495c4b5d3
Merge pull request #1382 from NicolasDorier/betterrbf
...
Simplify RBF handling, and handle case of double spend happening outs…
2020-03-11 22:41:46 +09:00
nicolas.dorier
afd2c8e3d7
Bump nbx
2020-03-11 22:32:53 +09:00
nicolas.dorier
c8e1db2102
Better event messages
2020-03-11 21:11:07 +09:00
nicolas.dorier
95f859b6db
Simplify RBF handling, and handle case of double spend happening outside of wallet ( Fix #1375 )
2020-03-11 21:05:12 +09:00
nicolas.dorier
6bf7ef0798
Revert "Simplify RBF handling, and handle case of double spend happening outside of wallet ( Fix #1375 )"
...
This reverts commit 42152050a3
.
2020-03-11 20:57:19 +09:00
nicolas.dorier
42152050a3
Simplify RBF handling, and handle case of double spend happening outside of wallet ( Fix #1375 )
2020-03-11 20:46:37 +09:00
nicolas.dorier
67befcc629
bump
2020-03-10 22:48:17 +09:00
nicolas.dorier
3cdf881438
bump lightning libraries
2020-03-10 22:31:05 +09:00
nicolas.dorier
153992a458
Use good rng for generating API keys
2020-03-10 21:30:46 +09:00
nicolas.dorier
691a8d6fd8
Fix warnings
2020-03-10 21:28:00 +09:00