nicolas.dorier
77f6019d82
Use EnforceLowR suggestion of NBXplorer for signing
2020-05-25 06:34:49 +09:00
nicolas.dorier
25e6f82aa3
Refactor parameter passing in wallet functions
2020-05-25 04:55:28 +09:00
Andrew Camilleri
79b034b505
GreenField: Add properties to Store API ( #1573 )
...
* GreenField: Add properties to Store API
* Update StoreBaseData.cs
* fix api
* fix swagger
2020-05-24 04:13:18 +09:00
nicolas.dorier
1d092a15fb
Refactor server info data structure
2020-05-20 03:27:06 +09:00
Andrew Camilleri
5b3b96b372
GreenField: Payment Requests CRUD ( #1430 )
...
* GreenField: Payment Requests CRUD
* fixes
* fix swagger
* fix swag
* rebase fixes
* Add new permissions for payment requests
* Adapt PR to archive
* fix tst
* add to contains policxy
* make decimals returned as string due to avoid shitty language parsing issues
* do not register decimal json converter as global
* fix cultureinfo for json covnerter
* pr changes
* add json convertet test
* fix json test
* fix rebase
2020-05-20 02:59:23 +09:00
Dennis Reimann
3b6dbe76c5
Add sync state
2020-05-18 16:02:15 +02:00
Dennis Reimann
e3b348b55c
GreenField: Add Server Info API basics
2020-05-18 15:29:04 +02:00
nicolas.dorier
87352f0b62
Make sure wallet support decimal fee, and allow user to select different fee rate based on expected confirmation time
2020-05-05 19:10:53 +09:00
nicolas.dorier
96c04481da
bump NBXplorer
2020-05-05 06:55:19 +09:00
Kukks
33ea8984fc
format
2020-04-30 16:44:27 +02:00
Kukks
85517b0344
GreenField: Prep store for more data
...
refactored things around a bit to make it cleaner for when we add more properties to the store model
2020-04-30 16:43:16 +02:00
Andrew Camilleri
c784144a07
Greenfield: Add update store API ( #1495 )
...
* Greenfield: Add update store API
* update update store model
* change greenfield controller name to stop conflict
2020-04-27 20:13:20 +09:00
nicolas.dorier
072139f707
bump Nbitcoin
2020-04-26 01:11:50 +09:00
nicolas.dorier
9d80db98c5
bump NBitcoin
2020-04-26 01:01:09 +09:00
nicolas.dorier
47f16aadd5
Rely on NBitcoin to get the expected hash
2020-04-26 00:26:02 +09:00
Nicolas Dorier
7adaa146dc
Merge pull request #1471 from dennisreimann/api-health-endpoint
...
GreenField: Add health check endpoint
2020-04-23 02:44:11 +09:00
Kukks
34c1a304a9
Add Create Store
2020-04-22 15:05:13 +02:00
Kukks
4f1ae4733c
remove store api
2020-04-22 15:05:13 +02:00
Kukks
e009c1a25a
Fixing CheckNoDeadLink test now that btse blocks our call from circleci
2020-04-22 15:05:13 +02:00
Kukks
79f12a7058
fix client
2020-04-22 15:05:13 +02:00
Kukks
deb197cfa5
GreenField: Get Stores
2020-04-22 15:05:13 +02:00
Dennis Reimann
22e39998e2
Updates from code review
...
Thanks @kukks!
2020-04-21 16:43:14 +02:00
Dennis Reimann
70d1056d48
API: Health endpoint returns synchronized state
2020-04-21 16:29:54 +02:00
Dennis Reimann
3bd5c3e1b5
API: Add health check endpoint
2020-04-21 14:59:33 +02:00
Kukks
0077105a2d
remove hacks
2020-04-18 08:29:07 +02:00
nicolas.dorier
42be03b560
bump nbx and nbitcoin
2020-04-16 19:37:10 +09:00
Kukks
ad284a4b61
Refactor UI for Add APIKey/Authorize
2020-04-10 09:49:01 +02:00
Nicolas Dorier
79a0f97abb
Merge pull request #1432 from Kukks/api/permission-blob
...
GreenField: Switch to Blob for API Keys
2020-04-06 17:42:32 +09:00
nicolas.dorier
fd026a9733
Refactor server-side
2020-04-05 12:02:36 +09:00
Kukks
c6d75de3d7
GreenField: Switch to Blob for API Keys
2020-04-02 09:32:22 +02:00
nicolas.dorier
1895e154d9
Add missing file
2020-03-27 18:42:59 +09:00
nicolas.dorier
6d7b57ea3b
A api key can always revoke itself, add a route to delete any api key
2020-03-27 14:46:51 +09:00
nicolas.dorier
39a8c3fe47
GreenField: Create API Key
2020-03-27 14:17:31 +09:00
Kukks
f8f358ebdb
add to client, fix tests and doc
2020-03-20 17:14:47 +01: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
53e7c84e73
Fix tests
2020-03-20 18:56:30 +09: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
29a807696b
Refactor permissions of GreenField
2020-03-19 23:43:51 +09:00
nicolas.dorier
e50e3f662d
Can create user without authentication if there is no admin
2020-03-18 23:10:15 +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
348934488d
Refactor tests for greenfield
2020-03-16 16:36:55 +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
Kukks
2002c6750b
target netstandard2.1 for Client
2020-03-11 16:54:53 +01:00
Kukks
233fa8a4a1
BTCPayServer.Client library + Revoke API Key
2020-03-11 16:54:53 +01:00