Kukks
b54a7b80e3
add tests and fix
2020-03-20 09:31:22 +01:00
nicolas.dorier
fb36ed2cae
Fix tests
2020-03-20 14:07:42 +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
318d826694
Rename Permissions.Can.. to Policies.Can..
2020-03-20 13:41:47 +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
2105b44610
Make sure the create user is respecting the disable-registration settings
2020-03-19 13:30:53 +09:00
rockstardev
967b02e373
Commenting out conflicting check
2020-03-18 19:17:15 -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
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
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
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
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
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
Kukks
245507f821
fix e2e tests
2020-03-11 16:52:29 +01:00
nicolas.dorier
afd2c8e3d7
Bump nbx
2020-03-11 22:32:53 +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
a9bf843be0
Bump various libraries
2020-03-10 21:24:22 +09:00
nicolas.dorier
2e630ac5d8
WaitSiteIsOperational should only wait full sync
2020-03-10 17:24:38 +09:00
nicolas.dorier
e6acc19bcc
Add a test catching expirationTime bug ( #1336 )
2020-03-10 17:11:15 +09:00
rockstardev
4e826553f8
Fixing ocassional CanManageWallet Selenium test fails
...
Looking through logs it seems like Generate button is never clicked, which can happen if modal is not displayed
https://circleci.com/gh/btcpayserver/btcpayserver/6167
2020-03-06 02:06:32 -06: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
304caaaf1d
Fixing Selenium tests failing because of dynamic hidden elements
2020-03-01 22:38:40 -06:00
rockstardev
a303e793b4
Fixing CanCreateApiKeys test admin user check
2020-02-28 23:15:06 -06:00
Kukks
9eac33793a
GreenField API #1 : Get current API Key info
2020-02-26 16:20:32 +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
Andrew Camilleri
6d0896084f
Add JS Modal test ( #1342 )
2020-02-19 17:39:14 +09:00
Andrew Camilleri
d31bff7070
BPU Prep Work Part2 ( #1340 )
...
* BPU Prep Work Part2
* Adjust tests to use the hot wallet when registering deriv scheme
* Add amount to payment data view for onchain payments
* Make zone limits higher when in dev mode (for tests in next PR)
* Make IPaymentMethodDetails serialize/deserialize through payment type using the network
* Allow named settings through settings repo
* Refactor some extensions for next PR
* pr changes
* use json convert for now
2020-02-19 17:35:23 +09:00
nicolas.dorier
f2aab4cf03
Add warning if fail to load rates from cache
2020-02-16 23:04:48 +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
Hans Looman
1a409a441d
Update POLIS related entries ( #1313 )
...
* Update Polis related info and services
* Fix Polis Rate Fetcher
* Fix Polis ratefetcher - Cryptopia is obsolete
* POLIS rate provider changes to comply with internal testing
* URL / pair alignment
* Add small doc to re-trigger testing
2020-02-13 14:44:31 +09:00
nicolas.dorier
ae33b1d0a8
Fix PSBT Redirect No-access issues
2020-02-12 16:35:24 +09:00
Nicolas Dorier
dc7733abcd
Merge pull request #1041 from Kukks/satscurrency
...
Add sats as a native currency
2020-02-03 08:42:35 +00:00
rockstardev
24664b60af
Adding test ensuring that api errors are properly returned
2020-02-03 02:21:03 -06:00
rockstardev
ea9169f607
Updating 404 page not found assert
2020-02-01 02:29:08 -06:00
rockstardev
a08d5be35c
Expanding tests to check implicit conversion of Sats to BTC
2020-01-29 22:31:43 -06:00
nicolas.dorier
f324185d82
bump nbx
2020-01-21 21:47:51 +09:00
Kukks
f8139a9156
cleanup (remove sats rate provider and just use rate scripting)
2020-01-21 13:34:00 +01:00
Kukks
27a61b7afd
fix test
2020-01-21 13:34:00 +01:00
Andrew Camilleri
8e6f43cd3a
Sign with NBX Seed ( #1218 )
2020-01-21 17:33:12 +09:00