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
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
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
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
Kukks
233fa8a4a1
BTCPayServer.Client library + Revoke API Key
2020-03-11 16:54:53 +01: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
nicolas.dorier
c598a1827f
Remove misleading error message ( Fix #1377 )
2020-03-10 16:33:50 +09:00
Nicolas Dorier
ef52d6b4c7
Merge pull request #1352 from Kukks/changelly-fiat
...
remove changelly fiat option
2020-03-02 18:10:50 +09:00
Nicolas Dorier
99f47e2848
Merge pull request #1360 from Kukks/pay-button-modal
...
Modal option for Pay Button
2020-03-02 18:10:14 +09:00
Nicolas Dorier
b282a70534
Merge pull request #1351 from Kukks/api/api-keys-get
...
GreenField API #1 : Get current API Key info
2020-03-02 18:06:34 +09:00
rockstardev
56380a5fb3
Formatting code
2020-02-28 23:15:14 -06:00
rockstardev
a303e793b4
Fixing CanCreateApiKeys test admin user check
2020-02-28 23:15:06 -06:00
rockstardev
fca6b39681
Revert "Remove the next address to pay to from Invoice details page ( Fix #1056 ) ( #1283 )"
...
This reverts commit 6848482999
.
2020-02-28 16:30:57 -06:00
Kukks
c3bfce7656
Modal option for Pay Button
...
closes #796
2020-02-28 16:01:44 +01:00
Kukks
9eac33793a
GreenField API #1 : Get current API Key info
2020-02-26 16:20:32 +01:00
Nicolas Dorier
18aaa1a0c4
Merge pull request #1341 from btcpayserver/swagger
...
Add Swagger and Redoc
2020-02-26 19:02:35 +09:00
Kukks
e7eea1036b
make api key delete use confirm page
2020-02-26 10:26:38 +01:00
Kukks
0c7f35b000
fix swagger gen
2020-02-26 09:17:50 +01:00
Kukks
b71fd1653e
remove changelly fiat option
...
closes #728
2020-02-25 16:44:19 +01:00
Kukks
ec80787120
fix
2020-02-25 15:33:04 +01:00
Kukks
0a8b303c11
add label for api keys, make api keys without -, fix null exception on authorize
2020-02-25 14:43:53 +01:00
nicolas.dorier
fec5637040
Replace Datetime.UTCNow by entity.InvoiceTime
2020-02-25 17:22:39 +09:00
nicolas.dorier
5cbe61e2e0
Allow user to set the expirationTime of invoice via the API ( Fix #1336 )
2020-02-25 17:21:08 +09:00
Kukks
023e64704d
Add Swagger and Redoc
...
Blocked by #1262
2020-02-24 19:04:04 +01:00
Andrew Camilleri
276a9a95f9
Remove OpenIddict ( #1244 )
2020-02-25 00:40:04 +09:00
Andrew Camilleri
fa51180dfa
Api keys with openiddict ( #1262 )
...
* Remove OpenIddict
* Add API Key system
* Revert removing OpenIddict
* fix rebase
* fix tests
* pr changes
* fix tests
* fix apikey test
* pr change
* fix db
* add migration attrs
* fix migration error
* PR Changes
* Fix sqlite migration
* change api key to use Authorization Header
* add supportAddForeignKey
* use tempdata status message
* fix add api key css
* remove redirect url + app identifier feature :(
2020-02-24 22:36:15 +09:00
nicolas.dorier
a3e7729c52
Remove warnings
2020-02-24 22:12:50 +09:00
hannes
f097ecdc80
fix: remove ipn via email #1241 ( #1337 )
...
* fix: remove ipn via email #1241
* fix: remove ipn via email #1241
2020-02-24 21:21:03 +09:00
Andrew Camilleri
a354f7d9dd
add GET endpoint for pay button ( #1349 )
...
closes #889
2020-02-24 21:18:04 +09:00
Andrew Camilleri
34702d2633
Revoke Legacy Api Keys ( #1344 )
...
closes #1333
2020-02-21 13:40:00 +09:00
Andrew Camilleri
db6a4687d2
Wallet prep work for BPU ( #1331 )
...
* Wallet prep work for BPU
This PR prepares the wallet for #1321 . It makes transfers from the vault and ledger to go to their own post actions for processing (not particularly useful in this PR but is needed in BPU to propose a new tx) It also makes the Sign with seed consistent with redirect to /psbt/ready after signing which it did not do (it stayed on the seed route)
* fix test
* add assert
2020-02-13 22:06:00 +09:00
Andrew Camilleri
07f0d95f56
BIP21 Support for Wallet spending ( #1322 )
...
* BIP21 Support for Wallet spending
* extract bip21 loading to method
* add bip21 parsing test
2020-02-13 17:18:43 +09:00
Kukks
66488d813b
Fixes #1324 store token revoke redirect error
2020-02-07 08:23:00 +01:00
rockstardev
496a6f0f55
Special page to handle 429 errors
2020-02-01 01:59:56 -06:00
rockstardev
fb2a0fb7fb
Special page to handle 500 errors
2020-02-01 01:58:17 -06:00
rockstardev
ef503fa907
Special page to handle 404 errors
2020-02-01 01:41:27 -06:00
rockstardev
fe2eca4fda
Adding prettier error handling page in the pipeline
2020-02-01 01:40:50 -06:00
Andrew Camilleri
06f1c17a5f
Make unused assets in store settings collapsed ( #1310 )
2020-01-26 19:45:24 +09:00
rockstardev
652b958d4f
Removing viewapp command now that we directly redirect in cshtml
2020-01-24 15:11:34 -06:00
rockstardev
a83edce4dc
Updating idents, code formatting
2020-01-23 20:19:24 -06:00
rockstardev
f99058a9fa
Adding code comment for review
2020-01-23 20:18:33 -06:00
Andrew Camilleri
086cbaa231
Add clightning rest services page ( #1297 )
...
* Add clightning rest services page
* fix rebase
2020-01-23 22:20:37 +09:00