Commit Graph

4679 Commits

Author SHA1 Message Date
dstrukt
e51cb43283
updates display names (#3036) 2021-11-08 22:24:28 +09:00
d11n
bbcdd5ed0d
Bootstrap: Fix table styles (#3079) 2021-11-08 20:16:57 +09:00
d11n
61d89d1777
Upgrade Bootstrap to v5.1.3 (#3078)
Regular maintenance upgrade.
2021-11-08 18:53:42 +09:00
Kukks
bede4a3a42 Fix: Do not crash when redirect url is not provided to Authorize page 2021-11-08 09:24:12 +01:00
Kukks
befa436087 Fix: Disable LNURL if Lightning gets disabled. 2021-11-08 08:51:21 +01:00
Kukks
59cf53e083 Fix: Paging in payouts did not take additional parameters in consideration 2021-11-08 08:21:07 +01:00
Kukks
76a4e9e520 Fix: Payout actions button was misaligned 2021-11-08 08:15:08 +01:00
Kukks
af635cdc0d Fix: Amount validation for payout creation min amount was missing 2021-11-08 08:14:49 +01:00
Samuel Adams
cbf3b3e9ea
Print view improvements (#3050)
* Add ln enable link

Add print button + print-related css classes

* Modify print-specific css

-Adds @dennisreimann css suggestions to prevent page-breaks cutting off QR codes
-Removes item image and description in print view
-Add comment to explain purpose of print-specific styling in site.css

* Streamline POS print view

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-11-06 00:21:33 +09:00
nicolas.dorier
2828ec76b4
Fix CanUseTorClient test flakyness 2021-11-05 12:30:28 +09:00
d11n
d16d4d83ea
Fix maintenance view (#3068) 2021-11-05 12:20:04 +09:00
Nicolas Dorier
a47ba2df3c
Add more details to lnaddress not found errors, make sure lnaddress is only for BTC (#3067)
* Add more details to lnaddress not found errors, make sure lnaddress is only for BTC

* Update BTCPayServer/LNURL/LNURLController.cs

Co-authored-by: d11n <mail@dennisreimann.de>

* Update BTCPayServer/LNURL/LNURLController.cs

Co-authored-by: d11n <mail@dennisreimann.de>

* Update BTCPayServer/LNURL/LNURLController.cs

Co-authored-by: d11n <mail@dennisreimann.de>

Co-authored-by: d11n <mail@dennisreimann.de>
2021-11-05 12:16:54 +09:00
nicolas.dorier
f58fc9b531
Logs all events in development 2021-11-05 00:13:40 +09:00
nicolas.dorier
82649dad39
Do not logs all internal events 2021-11-05 00:09:38 +09:00
nicolas.dorier
7e3cda904a
Fix: Lightning address pay fails if millisatoshi is not 0 mod 1000 on LND (#3056) 2021-11-04 23:55:58 +09:00
nicolas.dorier
c921b2ca7b
Fix: Test Connection for lightning setup was hidding cause of failure 2021-11-04 23:28:26 +09:00
nicolas.dorier
2afd02152d
Fix: By default, BTC On chain, the BTC Lightning BOLT11 should be preferred 2021-11-04 18:21:38 +09:00
nicolas.dorier
f3e9e2ec5f
Fix: Creating a new invoice in payment request with LNURL activated would crash 2021-11-04 18:03:54 +09:00
Nicolas Dorier
d39ae86915
Improve error reporting in create invoice page (#3065) 2021-11-04 17:12:17 +09:00
Kukks
51f0c2a5f8 Apply better messages 2021-11-04 08:53:44 +01:00
dstrukt
003927418c
Improves maintenance domain name form element (#3045)
* switch to flexbox

* removes whitespace

* updates spacings & text color class

* more spacing updates

* updates

* back to row & col

* back to flex + removes text-secondary class
2021-11-04 16:34:51 +09:00
Samuel Adams
da92cabe4c
Fix crowdfund topup issue (#3064)
closes #3048
2021-11-04 16:34:24 +09:00
d11n
45a58e1a39
Crowdfund: Fix perk value display (#3060)
Previously this didn't take into account the target currency. This leads to wrong values if the target currency is SATS and the invoice currency is BTC. This updates the value to be calculated with the rate and also takes into account the network fee. (Basically adjusting it to how the contribution values are calculated)
2021-11-04 16:34:11 +09:00
Fä Bu
0e1a6a3d5f
Bugfix #3049: Price type of edit item in PoS shows only "fixed" (#3052) 2021-11-02 21:02:33 +01:00
dstrukt
34969519d4
Improves upload button for files (#3044)
* reorders form, removes header

* adds flexbox + button formatting

* adjusts whitespace & flexbox class

* adjusts class for mobile
2021-11-02 00:49:12 +09:00
Troy Anderson
4f235e1d62
resolves Issue #3042 add archive status to invoice response (#3043) 2021-11-01 15:53:33 +09:00
dstrukt
7d0dc49435
fixes visual error with label (#3037) 2021-10-31 20:03:45 +09:00
Troy Anderson
8fed8f77ad
PR for Issue #3038 adds params for getInvoices pagination (#3039)
* ##3038 add pagination elements

* correct skip to take

* updated swagger docs

* set take nullable to true
2021-10-31 19:47:12 +09:00
dstrukt
1c2728bbfb
adds spacer (#3035) 2021-10-31 19:44:55 +09:00
Samuel Adams
24b7705094
List webhook URLs (#3034)
Addresses #3000.

I limited the width of the URL field and made the full URL visible with a tooltip. The UI could probably use some sprucing up.
2021-10-30 22:40:26 +09:00
nicolas.dorier
933dc6be31
Fix: The checkout page would reload the page when changing payment method 2021-10-30 13:57:24 +09:00
Samuel Adams
aa3d384f47
Add status message partial (#3030)
Along with #3029, this closes #2991.
2021-10-29 23:13:04 +09:00
nicolas.dorier
ccd8859d7f
Add missing attribute for textSearch in get invoice 2021-10-29 22:27:21 +09:00
nicolas.dorier
a28399e31d
Add warning on ln address if install using rootpath 2021-10-29 22:18:33 +09:00
d11n
61f63a9996
POS Light: Add Bootstrap bundle (#3029)
So that the alert can be closed. Brought up by @satwo in this [Mattermost discussion](https://chat.btcpayserver.org/btcpayserver/pl/3f46i9yociydmkk4apncxp7shw).
2021-10-29 21:57:37 +09:00
Kukks
94865815c7 Quick fixes before release 2021-10-29 14:50:18 +02:00
nicolas.dorier
33754933d5
Add Azerbaijan language 2021-10-29 20:54:09 +09:00
Kukks
560b6db480 fix refund button part 2 2021-10-29 13:46:24 +02:00
Kukks
4c71167535 Fix refund button 2021-10-29 13:20:54 +02:00
Samuel Adams
707484709a
Display and update App Name in settings (#3027)
* Edit and view app name in app settings

Currently the "name" property is not exposed at all in an app's settings/update page, which can result in confusion about which app is being updated, and also a general confusion between the `Title` property and the `Name` property.
This PR gives visibility to the app name in settings, and allows updating of the same.
I also changed the display label for `title` and `name` to make them more distinct and specific.

* Fix tests

* Update AltcoinTests.cs

* Update SeleniumTests.cs

* fix tests

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-10-29 19:29:02 +09:00
d11n
274be7c1bc
Disable build warning in layout (#3028) 2021-10-29 19:06:15 +09:00
Kukks
3f176a6b6b fix lnurl setter bug 2021-10-29 11:27:36 +02:00
Andrew Camilleri
fc8a5ff95f
Lightning address support (#2804)
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-10-29 11:01:16 +02:00
Andrew Camilleri
25f84d000b
LNURL POS Support (#3019) 2021-10-29 10:27:33 +02:00
Kukks
31b7826dce make input readonly for fixed cart items 2021-10-29 09:58:59 +02:00
d11n
2d4aa52fa5
Restructure store and payment settings (#2995)
Co-authored-by: Kukks <evilkukka@gmail.com>
2021-10-29 08:25:43 +02:00
Kukks
eee8008bb2 Make sure migration for apps does not crash 2021-10-28 12:23:21 +02:00
Kukks
a5ae509f9f Make sure invoice show lnurl instead of bolt11 labels 2021-10-28 10:39:49 +02:00
Umar Bolatov
8f117b5079
Add ability to require refund email from app level (#3013)
* Add ability to require refund email from app level

* Add ability request refund email when creating invoice manually

* Adjust labels

* Add UI tests

* Add Greenfield API support

* Rename RequiresRefundEmailType to RequiresRefundEmail

* Fix build

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-10-27 23:32:56 +09:00
nicolas.dorier
0b5d0349d4
Do not fire InvoiceExpired twice if invoice partially paid (Fix #3004) 2021-10-27 19:27:19 +09:00
nicolas.dorier
f7a0b91ec1
Add boolean overPaid to the invoice settled webhook 2021-10-27 14:51:42 +09:00
Kukks
1ecd1c1e54 LNURL: Add missing logic from lnurl merges and rebases 2021-10-26 14:08:09 +02:00
Kukks
fccbbb6fb7 LNURL tests and small fixes 2021-10-26 13:55:59 +02:00
d11n
d1886b039e
Wallet: Make account number an input instead of select (#3018) 2021-10-26 18:00:01 +09:00
d11n
79c61f01c8
Make supporter logos work across browsers (#3017) 2021-10-26 11:15:01 +09:00
Umar Bolatov
fd27bd94e2
Add ability to accept tips in POS terminal (#2983)
* Add ability to accept tips in POS terminal

* Add logic for showing and hiding sections specific to a POS app type

* Fix issue with floating point error
2021-10-25 19:06:32 +09:00
Nicolas Dorier
05f99f3855
Merge pull request #3007 from bolatovumar/fix/typo-inlude
Fix typos
2021-10-25 18:46:23 +09:00
Nicolas Dorier
31ef763c05
Merge pull request #3011 from bolatovumar/add-number-formatting-crowdfund-app
Add number formatting in crowdfund app
2021-10-25 18:45:45 +09:00
Nicolas Dorier
c0abcbea24
Merge pull request #3015 from NicolasDorier/ewfoufeoiu
Fixes of bugs happening when using rootpath
2021-10-25 16:55:00 +09:00
nicolas.dorier
a73383cd87
When creating a new apps, the default currency of the store should be used 2021-10-25 16:54:36 +09:00
Andrew Camilleri
951bfeefb1
LNURL Payment Method Support (#2897)
* LNURL Payment Method Support

* Merge recent Lightning controller related changes

* Fix build

* Create separate payment settings section for stores

* Improve LNURL configuration

* Prevent duplicate array entries when merging Swagger JSON

* Fix CanSetPaymentMethodLimitsLightning

* Fix CanUsePayjoinViaUI

* Adapt test for new cancel bolt invoice feature

* rebase fixes

* Fixes after rebase

* Test fixes

* Do not turn LNURL on by default, Off-Chain payment criteria should affects both BOLT11 and LNURL, Payment criteria of unset payment method shouldn't be shown

* Send better error if payment method not found

* Revert "Prevent duplicate array entries when merging Swagger JSON"

This reverts commit 5783db9eda.

* Fix LNUrl doc

* Fix some warnings

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2021-10-25 15:18:02 +09:00
nicolas.dorier
fc7125b8cd
Fix: Fonts and Home background not loading properly when using rootpath 2021-10-25 15:14:05 +09:00
nicolas.dorier
26bcdbc766
Fix: Many SVG assets were not showing properly if rootpath is used 2021-10-25 15:14:05 +09:00
nicolas.dorier
fb1fcbe0b9
Fix: The redirect url of crowdfund invoices wasn't set correctly if rootpath is used (Fix #2992) 2021-10-25 15:13:52 +09:00
nicolas.dorier
2c45f803e4
Fix: favicon wasn't shown if using rootpath 2021-10-25 15:13:52 +09:00
Samuel B. Atwood
0558631982
Improve store/selectlist labeling (#3014) 2021-10-25 13:15:08 +09:00
Umar Bolatov
63e1c5807e
Add number formatting in crowdfund app 2021-10-24 14:33:47 -07:00
Umar Bolatov
a3cc1f2ef0
Fix typos 2021-10-23 23:14:36 -07:00
nicolas.dorier
5318684e5c
fix build 2021-10-23 22:10:54 +09:00
Nicolas Dorier
86e528e5df
Use NBitcoin's Network.UriScheme rather than our own (#3005) 2021-10-23 14:47:15 +09:00
Andrew Camilleri
c46a69e1bd
Add Paging to Pull Payments (#2997) 2021-10-22 15:10:59 +09:00
Andrew Camilleri
9b0d1a23dc
Decouple Pull payment from wallets (#2987)
* Decouple Pull payments from wallet

* Update _Nav.cshtml

* Fixes
2021-10-22 11:17:40 +09:00
Andrew Camilleri
db038723f4
Payout Destination Handling (#2985)
* Payout Destination Handling

fixes #2765
This PR:
* reactivates the BIP21 support for payouts.
* allows LNUrl destinations to be reusable.
* allows addresses to be reused in claims as long as the other claims are in a final state

* Ensure bolt amount matches the payout amount

* fixes

* reduce duplicate parsing of bolt

* make hash the id of bolt

* better bolt11 tostring

* use cached payment request from lnurl
2021-10-22 00:43:02 +09:00
Dennis Reimann
a193e1cbf3 Scanner: Improve QR data display 2021-10-21 17:05:44 +02:00
Dennis Reimann
493f1b98c2 Upgrade vue-qr-code-reader and fix scanning issue 2021-10-21 17:05:44 +02:00
Dennis Reimann
926b60df3d Fix camera scanner CSP issue 2021-10-21 17:05:44 +02:00
Nicolas Dorier
d8a162fb6e
[Fix] CurrencyValue parsing shouldn't depend on locale 2021-10-21 19:15:02 +09:00
Nicolas Dorier
4cf3249e0b
Add ability to set default currency for a store (#2998) 2021-10-20 23:17:40 +09:00
Kukks
407f26b1dc fix netehreum warnings 2021-10-20 13:08:50 +02:00
Dennis Reimann
6f7be7eb09
Supporters: Fix SVGs that are referenced in READMEs 2021-10-20 12:14:30 +02:00
nicolas.dorier
09a53718bb
Abort payjoin request after 30 sec of timeout 2021-10-20 17:06:27 +09:00
Samuel B. Atwood
5655f22397
Fix default payment bug (#2975)
* Fix default payment bug

This attempts to fix the default payment bug described in #2963.

Update to complete #2986

This takes into account #2986 and @NicolasDorier 's suggestion to add a default payment type as an empty (valueless) option that is selected by default.

* Fix tests

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2021-10-20 14:34:04 +09:00
Samuel B. Atwood
791d0abb34
Clarify payment method criteria error message (#2989)
As requested by @BTCBellyButton, this clarifies the error message shown resulting from an invalid payment method criteria.
https://github.com/btcpayserver/btcpayserver/pull/2975#issuecomment-945218280
2021-10-20 14:02:20 +09:00
d11n
13d9930955
Improve supporters display (#2994) 2021-10-20 14:01:55 +09:00
Bananenbieger123
c4f40d68e9
Fix cryptic error message issue (#2978) 2021-10-18 10:42:53 +02:00
Samuel B. Atwood
9951370321
Fix logo issue (#2977) 2021-10-18 10:41:34 +02:00
Samuel B. Atwood
0119ad452b Order language dropdown in CheckoutExperience
Solves the same issue as described in the first part of #2971 and solved in #2972, except in the Settings instead of the checkout UI.
2021-10-18 10:40:17 +02:00
Nicolas Dorier
3d3016fdca
Fix fallback logic for default payment method (#2986) 2021-10-18 16:56:47 +09:00
Nicolas Dorier
262798d577
Refactor by adding extension FindPayoutHandler (#2984) 2021-10-18 15:00:38 +09:00
Andrew Camilleri
cf206e64a7
Add Lightning payout support (#2517)
* Add Lightning payout support

* Adjust Greenfield API to allow other payment types for Payouts

* Pull payment view: Improve payment method select

* Pull payments view: Update JS

* Pull payments view: Table improvements

* Pull payment form: Remove duplicate name field

* Cleanup Lightning branch after rebasing

* Update swagger documnetation for Lightning support

* Remove required requirement for amount in pull payments

* Adapt Refund endpoint to support multiple playment methods

* Support LNURL Pay for Pull Payments

* Revert "Remove required requirement for amount in pull payments"

This reverts commit 96cb78939d43b7be61ee2d257800ccd1cce45c4c.

* Support Lightning address payout claims

* Fix lightning claim handling and provide better error messages

* Fix tests

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-10-18 12:37:59 +09:00
Kukks
5ac4135a13 fix crowdfund js 2021-10-15 12:53:45 +02:00
Kukks
5176eaf4ba fix test 2021-10-15 12:53:45 +02:00
Kukks
514417e888 Rename to custom and fix small css 2021-10-15 12:53:45 +02:00
Kukks
9592a77cff use more concrete types for price type in app items 2021-10-15 12:53:45 +02:00
Kukks
33a893ba31 Replace addLoadEvent with better practice 2021-10-15 12:53:45 +02:00
Kukks
f89cdadde8 fix btn text 2021-10-15 12:53:45 +02:00
Kukks
7d2aa28e1f Support Topup Invoices in Apps 2021-10-15 12:53:45 +02:00
Nicolas Dorier
9df4429fc2
Remove unreachable code (#2961) 2021-10-15 16:34:40 +09:00
Samuel B. Atwood
843a2491ef
Improve language dropdown UX/Update jquery-prettydropdowns to 4.17.0 (#2972)
* Improve language dropdown UX

Several improvements to the language selector dropdown list.

* Apply suggestions from code review

Incorporate styling suggestion from @dennisreimann

Co-authored-by: d11n <mail@dennisreimann.de>

Co-authored-by: d11n <mail@dennisreimann.de>
2021-10-15 14:27:52 +09:00
Andrew Camilleri
d64fb15ac2
Greenfield: Provide negative undue when overpaid. (#2936)
* Greenfield: Provide negative undue when overpaid.

closes #2935

* Invoice's due can be negative, fix Amount field of invoice

* Update swagger.template.invoices.json

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-10-15 14:23:34 +09:00
Nicolas Dorier
75776687bc
Fix bug: Importing seed with Is hot wallet checked was not working (#2966) 2021-10-12 18:37:13 +09:00
nicolas.dorier
b5ebd14589
Fix NRE in BaseService.StopAsync 2021-10-12 17:39:48 +09:00
nicolas.dorier
67ba64b0a1
Fix build 2021-10-12 15:45:55 +09:00
nicolas.dorier
0033aab03e
Remove types from BTCPayServer.Client 2021-10-11 18:01:32 +09:00
nicolas.dorier
1037fe0b14
Remove unused ExpireInvoiceResponse type 2021-10-11 17:58:01 +09:00
nicolas.dorier
6c688b9684
Make sure cheater scan rpc capabilities 2021-10-11 17:49:04 +09:00
Nicolas Dorier
d7a7382d00
Introduce cheat mode (#2965) 2021-10-11 12:32:09 +09:00
Wouter Samaey
e842a00402
Easier payment testing (#2672)
* Easier payment testing

* WIP, more TODOs and some cleanup. Help is appreciated.

* Added dummy button to expire monitoring (doesn't work yet)

* Added TODO

* Make fake tab default if present

* Split controller and change wording from fake to testing

* Extract and simplify checkout testing UI

* Restrict testing access to regtest

Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-10-11 11:11:02 +09:00
BitcoinQnA
78a8c8c1be
Add Passport hardware wallet option to the wallet import screens (#2962)
* Add option for Passport

* Add Passport option to QR import

* Add Passport import option
2021-10-10 15:54:46 +09:00
Aaron Clauson
a7c093a0eb
Allow email notifications when creating invoices from Web UI (#2959)
Currently invoice email notifications are only sent when the invoice is created via the API. This commit adds an option to set an email address for notifications when an invoice is created from the Web UI.
2021-10-10 15:54:25 +09:00
d11n
86956c1e7b
More CSP fixes (#2955)
* Fix CSP issue with time format switch on wallet transactions page

* Fix CSP issue with invoice modal link on invoices list page

* Fix CSP issue on FIDO2 auth page

* Fix JS error on FIDO2 auth page

* Minor UI code improvements
2021-10-10 15:52:39 +09:00
Andrew Camilleri
54539001f1
Allow User to delete own account (#2949)
* Allow User to delete own account

* Add User delete e2e test

* fix test

* Apply suggestions from code review

Co-authored-by: d11n <mail@dennisreimann.de>

Co-authored-by: d11n <mail@dennisreimann.de>
2021-10-09 12:18:37 +09:00
d11n
4321cbf41a
Coin selection improvements (#2956)
* Improve coin selection toggling

* Improve coin selection display

Fixes #2948.

* Improve remove destination button

* Display hide unconfirmed only if there are any unconfirmed UTXOs

* Improve label styles

* Test fix

* Add top margin for non-JS coin selection
2021-10-09 10:39:34 +09:00
Umar Bolatov
8d9941bfd2
Update toggle styling to have pointer cursor (#2957) 2021-10-08 14:26:17 +09:00
Nicolas Dorier
89fd044b00
Replace pruning wallet by wipe transactions (#2857) 2021-10-07 16:54:22 +09:00
Andrew Camilleri
039f88d14c
Match Lightning payment based on payment hash if BOLT11 is not the same. (#2773)
* Match Lightning payment based on payment hash if BOLT11 is not the same.

* Fixup

* Fixup

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-10-07 16:53:27 +09:00
nicolas.dorier
d3f9eb38a9
Fix annoying err message in logs when a websocket is cancelled 2021-10-07 15:35:19 +09:00
Umar Bolatov
768d97ac6c
Fix remaining Safari inline JS CSP issues (#2954)
* fix modfiy webhook inline JS issue

* fix uncofirmed warning issue in Safari

* fix inline JS Safari issues in checkout
2021-10-07 12:27:48 +09:00
Dennis Reimann
d74c6a30c8 Improve perk card styles 2021-10-06 19:32:26 +02:00
Dennis Reimann
1407d5be8d Decrease font size and weight in selection overlay 2021-10-06 19:32:26 +02:00
Dennis Reimann
721c06e157 Crowdfund: Hide theme switch when custom theme is set 2021-10-06 19:32:26 +02:00
Dennis Reimann
a0265f18d9 Crowdfund: Better customization input grouping 2021-10-06 19:32:26 +02:00
Dennis Reimann
8948475cad Crowdfund: Add theme switch to footer 2021-10-06 19:32:26 +02:00
Dennis Reimann
faed5349fb Make theme switch a view component 2021-10-06 19:32:26 +02:00
Andrew Camilleri
7bcaf956e7
Grerenfield: Add availableStatusesForManualMarking to Invoice Data (#2934)
closes ##2933
2021-10-06 18:19:34 +09:00
Umar Bolatov
31c2a80758
Add ability to set invoice status from details page (#2923)
* Add ability to set invoice status from details page

* Remove unnecessary "using" statements

* Add print styles

* Fix Safari issues

* Simplify JS

* Update status badge class names

* Update dropdown toggle padding

* Adjust dropdown menu padding
2021-10-06 14:49:57 +09:00
nicolas.dorier
150e4b842c
Make sure the process doesn't crash if exception raised in Subscribe 2021-10-06 13:22:55 +09:00
nicolas.dorier
b970f64639
Remove build warnings 2021-10-06 12:53:41 +09:00
nicolas.dorier
08bd13b2cd
Make CanUseWebhooks more resilient 2021-10-06 11:25:21 +09:00
Andrew Camilleri
6e3d6125c2
Payment Settled Webhook event (#2944)
* Payment Settled Webhook event

resolves #2691

* Move payment methods to payment services
2021-10-05 18:10:41 +09:00
d11n
143d5f69c1
Fix CSP for inline handlers in Safari (#2946)
* Fix CSP for inline handlers on LND seed backup page

* Fix CSP for inline handlers on checkout page

* Fix CSP for inline handlers on wallet sign pages

* Fix CSP for inline handlers on invoices list page

* Fix CSP for inline handlers on payouts page

* Fix CSP for inline handlers on confirm API key page

* Fix CSP for inline handlers on store rates page

* Fix CSP for inline handlers on notifications page

* Fix CSP for inline handlers on dynamic DNS page

* Fix CSP for inline handlers on checkout experience page
2021-10-05 15:52:14 +09:00
nicolas.dorier
cf2c147f4f
Bumping versions of libraries and dockerfile 2021-10-05 15:29:26 +09:00
nicolas.dorier
ce1903b2fa
Bumping versions of libraries and dockerfile 2021-10-05 15:26:40 +09:00
nicolas.dorier
ccdfe5ac86
Detect websocket connection dropping in vault 2021-10-05 14:41:03 +09:00
nicolas.dorier
b0ef98dd63
Keep websocket connection alive on notifications and vault 2021-10-05 14:30:01 +09:00
nicolas.dorier
5c8e62bd90
Websocket ping message for notifications and vault 2021-10-05 14:14:22 +09:00
nicolas.dorier
6674d76d6d
Add missing file 2021-10-05 13:58:40 +09:00
nicolas.dorier
dea747a9a9
Keep connection alive on checkout page by sending ping messages 2021-10-05 13:37:30 +09:00
Dennis Reimann
a32ace1dcb Shorten balance assignment 2021-10-04 17:10:07 +02:00
Dennis Reimann
4785f0a4dd Remove unused Network property 2021-10-04 17:10:07 +02:00
Dennis Reimann
8249d8a0f5 Fix indentation in view 2021-10-04 17:10:07 +02:00
Max Dignan
234bc30369 Update in adherence to the design 2021-10-04 17:10:07 +02:00
Max Dignan
b7a081b9a4 Show total balances for each currency on List Wallets Page 2021-10-04 17:10:07 +02:00
Andrew Camilleri
88c925017d Apply suggestions from code review 2021-10-04 17:06:11 +02:00
Kukks
a3c2a9ac61 Censor based on permissions 2021-10-04 17:06:11 +02:00
Wouter Samaey
7cad6302b7 Fixed wrong API permission
Viewing store payment methods needs CanViewStoreSettings instead of CanModifyStoreSettings as per the docs
2021-10-04 17:06:11 +02:00
Umar Bolatov
4b34090376 Adjust invoice details header layout 2021-10-04 17:02:57 +02:00
Dennis Reimann
e1ea7200cf
Fix FAQ links
Once more (and for the last time ;)) those linsk changed in btcpayserver/btcpayserver-doc#967
2021-10-04 13:42:31 +02:00
Dennis Reimann
802fec6bf3 Move payment related properties 2021-10-04 09:50:36 +02:00
Dennis Reimann
67aee9bdc6 Improve display and structure of payment related configuration 2021-10-04 09:50:36 +02:00
d11n
975ad2f8ab
Crowdfund: Display contributions value (#2938) 2021-10-04 07:54:06 +02:00
Dennis Reimann
6048a26511
Fix documentation links
Some links changed with the recent docs restructuring. I've also added recirects for these on the docs side now.
2021-10-01 18:18:54 +02:00
Dennis Reimann
1a8a7fc27f Crowdfund: Limit max width of embedded content like video
Closes #2782.
2021-09-29 07:58:50 +02:00
nicolas.dorier
6a28497d33
Fix: Impossible to see relative time of transaction in wallet list 2021-09-29 13:10:00 +09:00
Kukks
ed1ec2300d Remove Coinswitch entirely 2021-09-28 10:33:11 +02:00
Kukks
7aa4cd8104 Plugins: Pass the current Model to the Ui extension points 2021-09-27 14:16:38 +02:00
Kukks
4a6088b6b9 Bump NBX Client and Plugins packages 2021-09-27 10:26:42 +02:00
Kukks
d949680d5a fix: Plugins disabled message never dissappers even after re-enabling it. 2021-09-27 09:03:59 +02:00
Kukks
0cd7380af0 Make CSP accessible to plugins 2021-09-27 08:45:55 +02:00
d11n
a3afcd2a6e
Crowdfund public UI re-design (#2918)
* Patch bootstrap-vue modal close button

For Bootstrap v5 compatibility, which bootstrap-vue does not have currently.

* Crowdfund: Use common global layout head (and themes)

* Crowdfund: Display disabled alert also for simple variant

* Crowdfund: Unify non-JS/simple and JS-enabled view

* Improve fireworks animation

* Improve layout

Inspired by the Bitcoin Smiles compaign, see  #2783

* Cleanup and remove views

* Fix typo

* Fix test
2021-09-27 11:46:56 +09:00
nicolas.dorier
bd6c7a8c3d
Properly handle InvoiceMetadata string properties (Fix #2906) 2021-09-27 11:44:55 +09:00
nicolas.dorier
920955657d
Fix camera not working on wallet send (Fix #2922) 2021-09-27 10:32:03 +09:00
Andrew Camilleri
9f6c7180b2
Greenfield quality of life improvements from feedback (#2880)
* Greenfield quality of life improvements from feedback

fix #2854

* Greenfield quality of life improvements from feedback

fix #2855
2021-09-25 14:04:34 +09:00
nicolas.dorier
ef70f4d547
Simplify code with PaymentMethodId.TryParse 2021-09-24 14:21:30 +09:00
Andrew Camilleri
8c061b1f07
Attempt cover scenarios of switching back to Bitcoin only after taint (#2881) 2021-09-24 14:16:25 +09:00
d11n
0aed8fdb5b
Improve app update buttons (#2915)
Better responsive behaviour and clearer distinction between primary and secondary actions. Also improves the wording ("View Crowdfund/Point of Sale" vs. "View app") and gets rid of the superfluous "Back to apps list" button.
2021-09-24 14:13:38 +09:00
nicolas.dorier
6125a99381
Should not be able to activate a payment method on an invoice which is not new 2021-09-24 00:12:12 +09:00
Nicolas Dorier
83b54b7be1
Fix infinite loop happening if payment method unavailable with on invoices with lazy activation (#2914) 2021-09-24 00:00:55 +09:00
Dennis Reimann
047222b3ee Fix offcanvas on desktop 2021-09-23 13:45:05 +02:00
Dennis Reimann
2fe1ab83f5 Improve offcanvas nav animation 2021-09-23 13:45:05 +02:00
Dennis Reimann
5372058c33 Use offcanvas nav for mobile 2021-09-23 13:45:05 +02:00
Dennis Reimann
a08261a798 Update dark mode footer colors 2021-09-23 13:44:48 +02:00
Dennis Reimann
869985f005 Finetune footer; remove obsolete images 2021-09-23 13:44:48 +02:00
1nF0rmed
97b5c473c1 Removes the "Let's Get In Touch!" block from the homepage 2021-09-23 13:44:48 +02:00
1nF0rmed
337db3daab Align social links to appear above copyright 2021-09-23 13:44:48 +02:00
1nF0rmed
10da82607d Adds social links to Layout
This removes the logo credits in the base Layout and adds the
links to Github, Mattermost and Twitter.
2021-09-23 13:44:48 +02:00
d11n
7f49824783
Improve public LN node info (#2876)
* Add store name to LN info unavailable pae

* Display multiple node info items if available

Allows to view clearnet and Tor connection info side by side.

* Re-add preferOnion for certain cases

* HTML compatible node ids

* Display more node connection failure details

* Fix syntax error

* Update BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>

* View updates

* Revert previous variable change

* Keep logic out of the view

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-09-23 20:36:42 +09:00
Umar Bolatov
5d8bc73063 Reset "all stores" values to default 2021-09-23 10:11:37 +02:00
Umar Bolatov
82675384c4 Don't adjust store mode if user is performing an action 2021-09-23 10:11:37 +02:00
Umar Bolatov
3dc663f4d8 Adjust view 2021-09-23 10:11:37 +02:00
Umar Bolatov
2b0fcdf95c [WIP] Fix issues with Authorization Request page
closes #2858
2021-09-23 10:11:37 +02:00
Umar Bolatov
ac34109da3
Support preview/codegen for custom currencies in pay button (#2896) 2021-09-22 13:10:52 +09:00
Umar Bolatov
7b252369e9 Add GetPOSItems method 2021-09-21 09:45:41 +02:00
Umar Bolatov
9d48358f2a Rename Unavailable to Disabled 2021-09-21 09:45:41 +02:00
Umar Bolatov
2dcd7db797 Filter unavailable items in controller 2021-09-21 09:45:41 +02:00
Umar Bolatov
c267cf0e9c Rename "hidden" to "unavailable" 2021-09-21 09:45:41 +02:00
Umar Bolatov
403820cf14 Add ability to hide a product from POS app
See discussion here: https://github.com/btcpayserver/btcpayserver/discussions/2827
2021-09-21 09:45:41 +02:00
nicolas.dorier
6d667e2d78
bump redoc 2021-09-21 12:52:31 +09:00
nicolas.dorier
258a19fdf5
Make CSP more specific for docs 2021-09-21 12:47:46 +09:00
nicolas.dorier
1a593a1ced
Fix documentation page broken by CSP 2021-09-21 12:43:50 +09:00
Umar Bolatov
b93f3ff445
Remove padding from "Show QR" button 2021-09-18 21:31:23 -07:00
Umar Bolatov
5984edb7f4
Disallow cancelling payment request when "Allow payee to create invoices in their own denomination" is not enabled (#2843)
* Disallow cancelling payment request when "Allow payee to create invoices in their own denomination" is not enabled

close #2802

* Disallow cancelling pending invoice on BE

* Update non-JS version of payment request view to disallow cancelling

* Update CanCancelPaymentWhenPossible

* Fix typo
2021-09-17 10:24:48 +09:00
Dennis Reimann
603bd2692e Summernote: Fix source map reference; remove unused files 2021-09-16 07:30:33 +02:00
Umar Bolatov
2e61bdf88f Update swagger example 2021-09-16 07:29:18 +02:00
Umar Bolatov
e6aa73197a Move GetDefaultPaymentId out of InvoiceExtensions 2021-09-16 07:29:18 +02:00
Umar Bolatov
5cba59932b Add ability to specify default payment method through Greenfield API 2021-09-16 07:29:18 +02:00
Umar Bolatov
809340e629 Add ability to select default payment method for invoice through UI 2021-09-16 07:29:18 +02:00
dstrukt
24674d354c removes slack + updates columns 2021-09-16 07:18:31 +02:00
Kukks
e93562b1db Do not publish NewTransactionEvent if GetValidOutputs did not match with the network's. 2021-09-15 07:28:17 +02:00
Umar Bolatov
d88f012d82
Improve warning when creating invoice without wallet (#2844)
* Improve warning when creating invoice without wallet

close #2834

* Update link class name
2021-09-13 14:24:10 +09:00