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
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
7adaa146dc
Merge pull request #1471 from dennisreimann/api-health-endpoint
...
GreenField: Add health check endpoint
2020-04-23 02:44:11 +09:00
Kukks
cb6fcadb86
add scope test
2020-04-22 15:05:13 +02: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
deb197cfa5
GreenField: Get Stores
2020-04-22 15:05:13 +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
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
nicolas.dorier
08abda1522
Restrict authentication to the APIController to GreenFieldAPIKeys
2020-03-27 13:34:03 +09:00
Kukks
7899c2d5c5
fix test
2020-03-23 21:18:40 +01:00
Kukks
e48e8c34d9
fix tst
2020-03-20 17:59:14 +01:00
Kukks
f8f358ebdb
add to client, fix tests and doc
2020-03-20 17:14:47 +01: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
53e7c84e73
Fix tests
2020-03-20 18:56:30 +09:00
nicolas.dorier
4666238e38
Fix build
2020-03-20 18:38:21 +09:00
nicolas.dorier
fb36ed2cae
Fix tests
2020-03-20 14:07:42 +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
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
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
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
233fa8a4a1
BTCPayServer.Client library + Revoke API Key
2020-03-11 16:54:53 +01:00
Kukks
9eac33793a
GreenField API #1 : Get current API Key info
2020-02-26 16:20:32 +01:00