Nicolas Dorier
03d2f6c017
Merge pull request #2209 from btcpayserver/invoice-metadata-test
...
Improve test on Greenfield Inoice metadata update
2021-01-30 11:17:11 +09:00
Nicolas Dorier
db0854f203
Update NBitcoin, NetworkType => ChainName, signet support ( #2224 )
2021-01-27 14:39:38 +09:00
Kukks
79e8ce9226
Improve test on Greenfield Inoice metadata update
2021-01-18 14:24:38 +01:00
nicolas.dorier
df52d01a1d
Revert "GreenField API: Configure Store Lightning Payment Method"
...
This reverts commit b40095f603
.
2021-01-17 21:40:16 +09:00
Kukks
b40095f603
GreenField API: Configure Store Lightning Payment Method
2021-01-12 09:25:35 +01:00
Andrew Camilleri
5803512820
Remove Default from OnChainPayment Method ( #2170 )
...
Makes more sense to do it on the Store endpoint after thinking about it.
2020-12-29 17:38:31 +09:00
Nicolas Dorier
623347bc48
Add Label and accountKeyPath to the on chain payment methods ( #2166 )
2020-12-28 13:59:01 +01:00
Andrew Camilleri
69eaaef963
GreenField: Store OnChain Payment Method ( #2157 )
...
* GreenField: Store set payment methods
* add swagger docs
* fix swagger
2020-12-23 14:00:38 +09:00
Andrew Camilleri
034b732e7c
GreenField: Update invoice metadata ( #2095 )
...
* GreenField: Update invoice metadata
* add swagger
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2020-12-12 15:15:34 +09:00
Andrew Camilleri
0652e30c30
GreenField: Notifications API ( #2055 )
...
* GreenField: Notifications API
This refactors notifications so that we dont have a bunch of duplicated direct access to db contexts in controllers and then introduces new endpoints to fetch/toggle seen/remove notifications of the current user.
* add tests + docs
* fix test
* pr changes
* fix permission json
2020-12-11 23:11:08 +09:00
nicolas.dorier
798cf66e3f
Add checkoutLink and defaultLanguage to GreenField invoice
2020-12-11 12:04:18 +09:00
Kukks
dfd7c6d4a6
add tests and reword setting
2020-12-08 08:12:29 +01:00
nicolas.dorier
18e68d04f9
Rename invoice states and payment states
2020-11-23 18:28:35 +09:00
Nicolas Dorier
f9b86a6b2e
Merge pull request #1901 from btcpayserver/api/invoice-extras
...
GreenField: Add Invoice Payment methods endpoints
2020-11-20 10:25:00 +09:00
nicolas.dorier
07c5c2972d
Add callback doc
2020-11-16 12:13:27 +09:00
nicolas.dorier
df79c2cf48
Improve tests of webhooks
2020-11-14 13:39:44 +09:00
nicolas.dorier
94bcbeb604
Add Greenfield API
2020-11-13 14:15:03 +09:00
Andrew Camilleri
40d95acfb9
Apply suggestions from code review
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2020-10-27 09:47:22 +01:00
Kukks
8962bf00f6
GreenField: Add Invoice Payment methods endpoints
...
lets you fetch all active payment methods data + payments made
2020-10-27 09:47:21 +01:00
Kukks
3d2b4cbfa8
Add Created date to user, add verified column in list and make user list use same model as modern lists
2020-10-05 13:00:15 +02:00
Dennis Reimann
8ba852084e
Users API: Add roles ( #1914 )
...
* API: Fix create user response model
* API: Add roles to user data
2020-09-16 14:17:33 +02:00
Kukks
1cb3e5f98c
Set roles when authenticating via greenfield
...
fixes #1855
2020-09-08 11:22:32 +02:00
nicolas.dorier
709b06baa3
Remove invoices/email for this PR
2020-08-27 11:00:04 +09:00
nicolas.dorier
b2ff041ec0
Create Metadata property for InvoiceEntity, migrate all data without logic there
2020-08-26 21:36:31 +09:00
Kukks
8dea7df82a
make individual action items
2020-08-26 21:36:31 +09:00
Kukks
41bebfedc4
add swagger docs
2020-08-26 21:36:31 +09:00
Kukks
7230a91b4f
Make Decimal json converter work for other number types
2020-07-29 08:44:52 +02:00
rockstardev
f88c02cccd
Removing unused usings, readonly fields where possible
2020-06-28 22:07:48 -05:00
Nicolas Dorier
dbb2924ccc
Fix: Create store could be called with a scoped store's modify apikey ( #1696 )
2020-06-27 15:34:03 +09:00
nicolas.dorier
d03124dfba
Add an approval state to pull payments
2020-06-25 13:35:10 +09:00
Nicolas Dorier
8230a408ac
Add pull payment feature ( #1639 )
2020-06-24 10:34:09 +09:00
nicolas.dorier
f40a8853f6
Require Owner role to the store for modifying store via Greenfield
2020-06-12 18:26:20 +09:00
nicolas.dorier
8dd6ecc0b8
Fix lightning implementation, docs and tests
2020-06-09 17:24:34 +09:00
Kukks
30bd94ee43
fix tests
2020-06-07 08:21:45 +02:00
Kukks
16ad3ee7fe
Add test for payment request payment status update in greenfield
2020-05-28 09:48:47 +02:00
nicolas.dorier
1d092a15fb
Refactor server info data structure
2020-05-20 03:27:06 +09:00
Kukks
b9006e4417
fix rebase
...
# Conflicts:
# BTCPayServer.Tests/GreenfieldAPITests.cs
2020-05-19 20:09:19 +02: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
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