Andrew Camilleri
949136b161
GreenField API: Configure Store Lightning Payment Method v2 ( #2208 )
...
* GreenField API: Configure Store Lightning Payment Method
* Remove internal ln node endpoint and use Auth service to check internal node usage
* fix test
2021-02-26 11:58:51 +09:00
Kukks
e3e65878aa
Allow invoice to be marked even when new
...
fixes #2019
2021-02-26 11:17:03 +09:00
Dennis Reimann
5246e7f035
Fix empty GetLightningClient return value
2021-02-03 11:19:35 +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
nicolas.dorier
07de4af581
Revert "Apply suggestions from code review"
...
This reverts commit 48b2e682bf
.
2021-01-17 21:39:20 +09:00
Kukks
ccfa85b5e0
fix compile errors
2021-01-16 09:22:07 +01:00
Andrew Camilleri
48b2e682bf
Apply suggestions from code review
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-01-14 09:19:16 +01:00
Kukks
b40095f603
GreenField API: Configure Store Lightning Payment Method
2021-01-12 09:25:35 +01:00
Andrew Camilleri
01be74b219
Add Bitcoin Output descriptor support ( #2169 )
...
* Add Output descriptor support
* Fix exception message and fix Parse Deriv Scheme Settings when electrum
* fix test
2021-01-11 11:22:42 +09:00
Nicolas Dorier
0929857b12
Attempt to solve webhooks disappearing ( #2178 )
2021-01-05 12:38:12 +09:00
Andrew Camilleri
aaf85216eb
Split Options in BTCPayOptions ( #2175 )
...
* Split Options in BTCPayOptions
* fix spacing
2021-01-02 13:44:28 +01:00
Andrew Camilleri
91cb9129ab
FGreenField: Add DefaultPaymentMethod to Stores API ( #2171 )
2020-12-29 18:33:44 +09: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
nicolas.dorier
0dcd834535
Improve error checks
2020-12-23 14:10:53 +09:00
nicolas.dorier
f0fc0441bd
Remove useless constant
2020-12-23 14:07:24 +09: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
Dennis Reimann
e48d18279c
API: Fix behaviour after first admin signup ( #2150 )
...
Without updating the `FirstRun` setting it is not possible to login after signing up via the API. Otherwise the `HomeController.Index` action always redirects to the Registration page.
2020-12-17 12:27:01 +01:00
Dennis Reimann
5f46b48d45
API: Fix for invoice not found ( #2148 )
...
In case the invoice ID was invalid, this resulted in an exception instead of a 404.
2020-12-17 06:43:43 +01: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
Nicolas Dorier
7c88333060
Merge pull request #2106 from btcpayserver/email-spam-protect
...
Introduce Spam protection
2020-12-09 16:43:49 +09:00
Kukks
dfd7c6d4a6
add tests and reword setting
2020-12-08 08:12:29 +01:00
nicolas.dorier
dd5fd2e5bb
Make sure checkout is not null in createinvoice
2020-12-08 14:54:24 +09:00
Kukks
c17b8e4d9e
Introduce Spam protection
...
fixes #1958
Adds 2 new options:
* Do not allow stores to use the email settings of the server. Instead, they would need to fill in the email settings in their own store
* Do not allow user creation through the API unless you are an admin.
Both are opt-in and turned off by default.
2020-12-04 08:08:05 +01:00
nicolas.dorier
a64dd9af16
remove hack #2070
2020-11-23 19:39:53 +09:00
nicolas.dorier
18e68d04f9
Rename invoice states and payment states
2020-11-23 18:28:35 +09:00
Dennis Reimann
ff87319a74
API: Handle lightning invoice creation errors ( #2070 )
...
Catches LightningClient exceptions and responds with a detailed API error (400) instead of a generic server failure (503).
2020-11-23 06:40:13 +01: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
8ffe6dcfa0
Fix build
2020-11-19 12:40:07 +09:00
Nicolas Dorier
d8f145c4dc
Merge branch 'master' into plugins-db
2020-11-19 12:19:17 +09:00
Nicolas Dorier
9c5fd1b478
Merge pull request #2058 from NicolasDorier/webhook2
...
Add Webhooks in store's settings
2020-11-19 12:17:34 +09:00
Kukks
179520a211
Plugins: Allow creation of independent DbContexts
...
This allows plugins to create custom dbcontexts, which would be namespaced in the scheme with a prefix. Migrations are supported too and the table would be prefixed too
2020-11-18 12:27:26 +01:00
nicolas.dorier
94bcbeb604
Add Greenfield API
2020-11-13 14:15:03 +09:00
rockstardev
f84f2dca64
Adding option for unified onchain QR code to Checkout Experience
2020-11-09 01:11:03 -06:00
Dennis Reimann
eef729b5f9
API: Fix open channel validation condition ( #2054 )
2020-11-06 16:52:58 +01:00
Kukks
1d82c3779b
Remove AwaitingConfirmation
2020-10-27 09:49:35 +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
50a9772388
Remove Changelly
2020-09-10 10:30:53 +02:00
nicolas.dorier
709b06baa3
Remove invoices/email for this PR
2020-08-27 11:00:04 +09:00
nicolas.dorier
f900d520da
Add InvoiceTime, Expiration and monitoring to Invoice greenfield API
2020-08-26 21:36:32 +09:00
nicolas.dorier
f2e94e6819
Use nicer representation of payment methods in the Greenfield API
2020-08-26 21:36:32 +09:00
nicolas.dorier
be21e7d253
Remove PaymentMethodData from invoice entity
2020-08-26 21:36:32 +09:00
nicolas.dorier
67b04473b5
Decouple the CreateInvoiceCore from BitpayCreateInvoice, remove some features from greenfield invoice for now
2020-08-26 21:36:32 +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
5f6f54db36
Remove old props
2020-08-26 21:36:31 +09:00