Kukks
7b9b418e93
FIx Pay Button Link preview when app mode chosen
...
Apps cannot have a link as they only have a POST action.
2020-12-08 09:49:51 +01:00
Kukks
dfd7c6d4a6
add tests and reword setting
2020-12-08 08:12:29 +01:00
nicolas.dorier
920caaa524
Pull language updates
2020-12-08 15:23:15 +09:00
nicolas.dorier
13f10657b8
Fix bug: When creating API Key for non-admin, some checked permissions were not included ( Fix #2107 and Fix #2002 )
2020-12-08 15:20:59 +09:00
nicolas.dorier
dd5fd2e5bb
Make sure checkout is not null in createinvoice
2020-12-08 14:54:24 +09:00
Nicolas Dorier
4c62c5dc22
Merge pull request #2104 from btcpayserver/fix/qr-fail-import
...
do not crash when importing a non-json based QR code
2020-12-06 12:03:57 +09:00
Andrew Camilleri
c7209df7e2
Fix swagger docs for pull payments ( #2105 )
...
* Fix swagger docs for pull payments
fixes #2097
* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.pull-payments.json
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2020-12-04 12:03:27 +01: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
Kukks
0ab33b704c
do not crash when importing a non-json based QR code
...
fixes #2098
2020-12-04 07:41:02 +01:00
rockstardev
3ac257bfda
Lowercasing the protocol in QR code because it's not widely supported
...
https://github.com/btcpayserver/btcpayserver/issues/2099#issuecomment-738550565
2020-12-03 23:39:18 -06:00
rockstardev
36582a2741
Reverting uppercasing of Bech32 addresses in QR code
2020-12-03 17:30:14 -06:00
Nicolas Dorier
8d157ac5ca
Merge pull request #2093 from btcpayserver/fix-sync
...
Fix sync not showing
2020-12-03 15:49:22 +09:00
rockstardev
89dc379761
Removing word Bitcoin from forks to satisfy Roger ( #2091 )
...
Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
2020-12-03 06:34:38 +01:00
Dennis Reimann
3e800e7e53
Update classic theme for payment requests ( #2096 )
...
Fixes #2084 .
2020-12-02 15:21:03 +01:00
nicolas.dorier
b12c6289d0
Fix link for webhooks
2020-12-02 20:37:38 +09:00
Dennis Reimann
7e50267cb0
UI: Store setup finetuning ( #2087 )
...
* UI: Store setup finetuning
Incorporate @dstrukt's improvement feedback from [this comment](https://github.com/btcpayserver/btcpayserver/pull/2011#issuecomment-735909927 ).
* Clean up and fix test
2020-12-02 07:45:00 +01:00
Umar Bolatov
6714eb9f7f
Fix bug with already used colors being used first for new tx labels ( #2077 )
...
* Extend list of available tx label colors
* Ensure unknown label colors are given the least priority
closes #2072
* Remove new label colors
2020-12-02 07:38:05 +01:00
Kukks
f1d6f0b2a6
Fix sync not showing
...
fixes #2092
2020-12-02 07:19:48 +01:00
Dennis Reimann
445606e2b1
Wait for content to be loaded before U2F actions
2020-12-01 14:31:42 +01:00
Dennis Reimann
ad05f479a8
U2F: Update lib and improve error display
...
The [previously used U2F library](https://github.com/fido-alliance/google-u2f-ref-code/ ) has been deprecated. The new one does not override the browsers `window.u2f` functionality if it is natively supported. It also displays the appropriate errors and falls back nicely in case the browser does not support U2F.
2020-11-30 12:43:15 +01:00
Umar Bolatov
a78c1c8278
Update tx label dropdown position ( #2081 )
...
close #2078
2020-11-26 08:57:40 +01:00
Kukks
d5cbe66b0e
fix monero condition
2020-11-25 06:25:33 +01:00
Andrew Camilleri
88aa34747b
Automatically generate permissions docs for GreenField ( #2043 )
...
* Automatically generate permissions docs for GreenField
* Do a test instead
2020-11-24 10:10:32 +01:00
Kukks
cc8dcade49
Fix QR code wallet import when not electrum format
2020-11-24 09:54:17 +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
Umar Bolatov
fa517417ed
Ensure tx labels display correctly when there are many ( #2076 )
...
fix #2075
2020-11-23 06:34:34 +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
8a21dfa93f
Merge pull request #2051 from Kukks/separate-ln-bitcoin-checkout-part2
...
Separate ln bitcoin checkout part2
2020-11-19 21:04:46 +09:00
Kukks
25e979687f
Fix monero sync height check
...
based on issue at https://github.com/monero-project/monero/issues/7029
2020-11-19 12:27:05 +01:00
Kukks
af866939f4
fix merge
2020-11-19 07:34:22 +01:00
Nicolas Dorier
e72becdfcb
Merge branch 'master' into separate-ln-bitcoin-checkout-part2
2020-11-19 12:44:01 +09:00
Nicolas Dorier
4bd97eecc9
Merge pull request #2050 from Kukks/separate-btc-ln-checkout
...
Separate views of Bitcoin and LN
2020-11-19 12:42:17 +09:00
nicolas.dorier
8ffe6dcfa0
Fix build
2020-11-19 12:40:07 +09:00
Nicolas Dorier
23002ac70d
Merge pull request #2068 from Kukks/plugins-db
...
Plugins: Allow creation of independent DbContexts
2020-11-19 12:39:26 +09:00
nicolas.dorier
1262ad3cd4
Fix warnings
2020-11-19 12:34:56 +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
Dennis Reimann
ec31a4fe17
Improve Lightning node info view ( #2066 )
...
* Cleanups
* Add store name
* Unify js/non-js HTML
2020-11-17 08:57:14 +01:00
Umar Bolatov
ab780485b2
Center pay button content ( #2042 )
...
close #1999
2020-11-17 08:18:50 +01:00
nicolas.dorier
07c5c2972d
Add callback doc
2020-11-16 12:13:27 +09:00
Kukks
931505d135
Plugins: Hook System
...
Almost an exact replica of https://developer.wordpress.org/plugins/hooks/
This will allow plugins to extend specific points in business logic, such as validation, invoice payload changes, etc
2020-11-15 14:39:21 +01: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
rockstardev
35e45333b1
Uppercasing destination address in QR code if it's Bech32
2020-11-09 23:57:48 -06:00
rockstardev
f17a6f13a4
Adding uppercasing of BITCOIN: scheme
2020-11-09 23:46:31 -06:00
rockstardev
13cb2c695f
Adding onChainWithLnInvoiceFallback parameter to swagger doc
2020-11-09 23:08:07 -06:00
rockstardev
c581b80132
ToUpper for lightning invoice part of unified QR code
...
Ref: https://github.com/btcpayserver/btcpayserver/pull/2060#issuecomment-723828348
2020-11-09 02:05:17 -06:00