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
Kukks
41bebfedc4
add swagger docs
2020-08-26 21:36:31 +09:00
Andrew Camilleri
4917f32574
Update BTCPayServer/Controllers/GreenField/InvoiceController.cs
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2020-08-26 21:36:30 +09:00
Kukks
d96bd15b3b
add status and refactor
2020-08-26 21:36:30 +09:00
Kukks
cb5601c68b
unarchive endpoint + formatting
2020-08-26 21:36:29 +09:00
Kukks
34e76494e3
GreenField: Invoice API
2020-08-26 21:36:29 +09:00
rockstardev
16eedf4153
Deducing if to perform update check from update url configuration
2020-08-03 03:17:04 -05:00
rockstardev
ce87d2e45c
Making use of options to initalize update check on first admin registration
2020-08-03 03:17:04 -05:00
rockstardev
1b3e40fd70
Fixing typo
2020-08-03 03:17:04 -05:00
Kukks
c2a4bc2603
GreenField: Remove requirement for permissions >= 1 when creating key
...
Sometimes you just want to have an api key to verify a user still exists periodically on a server and do not need any permissions
2020-07-16 10:26:04 +02:00
Kukks
82af723f1f
Enable CORS and fix small doc error
2020-06-30 08:26:19 +02:00
rockstardev
f88c02cccd
Removing unused usings, readonly fields where possible
2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de
Cleaning up bom from cs files
2020-06-28 21:44:35 -05:00
nicolas.dorier
51514252b6
Run dotnet format
2020-06-28 17:55:27 +09: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
6208706d46
Better error message if permission missing
2020-06-27 14:05:56 +09:00
nicolas.dorier
5e8b379c50
Add invoice refund
2020-06-25 15:31:46 +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
8dd6ecc0b8
Fix lightning implementation, docs and tests
2020-06-09 17:24:34 +09:00
Kukks
f313a5f221
GreenField: Handle status codes, error models consistently
2020-06-07 08:21:45 +02:00