Umar Bolatov
ab8d116f11
Fix null reference exception when going to LN node settings before it's been set-up ( #3410 )
...
* Fix null reference exception when going to LN node settings before it's been set-up
* Fix-up remaining null reference errors
* Update error message
2022-02-06 12:19:42 +09:00
nicolas.dorier
93b52fbdb3
Redirect on 403 page rather than crashing if permission missing
2022-02-02 20:24:22 +09:00
Umar Bolatov
aab1eb0d36
Ensure Swagger docs are semantically and structurally correct ( #3390 )
...
* Remove "delete" method from "/api/v1/stores/{storeId}/invoices/{invoiceId}/payment-methods" docs
* Remove "requestBody" from "delete" method of "/api/v1/stores/{storeId}/webhooks/{webhookId}"
* Rename "API Key" to "API_Key"
* Remove "scheme" from API_Key security scheme
* Remove "name" and "in" properties from "Basic"security scheme
2022-02-02 20:12:48 +09:00
Andrew Camilleri
c07fcc171c
Fix Plugin Local Client authorization when user is provided ( #3401 )
...
* Fix Plugin Local Client authorization when user is provided
* 1337 hax
2022-02-02 20:09:08 +09:00
nicolas.dorier
8e5b7d2578
Fix crash of payment request list ( Fix #3392 )
2022-02-02 20:08:20 +09:00
dstrukt
37b1e9037f
files update
2022-02-02 10:19:17 +01:00
dstrukt
7c0999ac9f
settings + PSBT constrain
2022-02-02 10:19:17 +01:00
dstrukt
5ce1c9d77f
send + receive constrains
2022-02-02 10:19:17 +01:00
dstrukt
14dcb58afa
constrain to lightning settings view
2022-02-02 10:19:17 +01:00
dstrukt
04068025c6
fixes edit payment request
2022-02-02 10:19:17 +01:00
Dennis Reimann
2cd0c7a407
Fix responsive POS and Crowdfund form display
...
Fixes #3375 .
2022-02-02 10:19:17 +01:00
Umar Bolatov
f3592c4782
Update invoice doc link
...
close #3366
2022-02-02 10:14:36 +01:00
Umar Bolatov
1e5934895d
Reference correct payment type definition for webhook events in Swagger docs
2022-02-02 10:09:58 +01:00
d11n
0f5d932726
Add test IDs for Lightning and Plugins ( #3402 )
...
I came across these when writing a Selenium test for LNbank.
2022-02-02 12:47:22 +09:00
d11n
4125726be9
Fix pay button type comparison ( #3403 )
...
Fixes #3396 . We need to compare the button type value loosely, because initially the type is an integer and after it gets set by Vue it is a string.
2022-02-02 12:37:56 +09:00
d11n
bcb692caf0
Pay Button Alert: Add missing alert-link classes ( #3397 )
...
* Pay Button Alert: Add missing alert-link classes
* Update alert link styles
2022-02-02 12:37:22 +09:00
d11n
ff9a1a1f55
Delete user preferences cookie on logout ( #3379 )
...
I think it is a good practice to remove those settings on logout. Otherwise they get persisted across multiple accounts, which might not be desired.
2022-02-01 10:42:31 +09:00
nicolas.dorier
faef6d82ff
No error in crowdfund if canvas unavailable
2022-01-31 18:15:28 +09:00
nicolas.dorier
d3a123373e
No error in crowdfund if canvas unavailable
2022-01-31 17:05:42 +09:00
dstrukt
7c66f024ed
adjust footer ( #3389 )
2022-01-31 16:52:50 +09:00
Umar Bolatov
20c7259174
Bump z-index on header ( #3393 )
...
close #3377
2022-01-31 16:52:14 +09:00
Dennis Reimann
52fe374aaa
Fix new guest store redirect after login
...
Fixes #3373 .
2022-01-28 09:59:40 +01:00
nicolas.dorier
f776725096
Guest users shouldn't see Payouts menu item
2022-01-28 17:49:21 +09:00
nicolas.dorier
6e864c2631
Fix error message when trying to remove last admin
2022-01-28 17:09:54 +09:00
Kukks
4221554dc8
Add back plugins link in server nav
...
Not all plugins appear in the side nav menu, and there is no intuitive link to view all installed plugins
2022-01-28 08:56:52 +01:00
dstrukt
6b50fdae43
fixes stray < text ( #3374 )
2022-01-28 14:52:34 +09:00
Kukks
5c6a0f22c0
fix ln address
...
fixes #3367
2022-01-27 17:17:20 +01:00
dstrukt
72bdf9e0d7
Update "Close Wallet & Lightning Setup" Path ( #3362 )
...
* update path
* updates center
2022-01-27 14:33:12 +09:00
d11n
cbf8b23385
Adapt desktop breakpoints in views ( #3358 )
...
* Add XXL breakpoint
* Unify setup guide display
* Adapt desktop breakpoints in views
* Fix POS code display
* Fix syntax in home view
* store settings + constrain update
* account settings
Co-authored-by: dstrukt <gfxdsign@gmail.com>
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2022-01-27 11:56:46 +09:00
nicolas.dorier
4aacd0d23a
Adapt warning message for pay button
2022-01-27 11:43:39 +09:00
Umar Bolatov
69202ed752
Add loading indicator for "Pay" button in POS terminal app ( #3342 )
...
* Add loading indicator for "Pay" button in POS terminal app
close #3336
* move feature over to Vue
* replace click handler with form submit handler
2022-01-27 10:58:25 +09:00
Dennis Reimann
aa762821ce
Spacing fixes
2022-01-26 15:58:21 +09:00
nicolas.dorier
8a7bb6bc5a
Retry SaveChanges if deadlock detected in delete store
2022-01-26 15:09:06 +09:00
dstrukt
35cb4d4cc3
Update Plugins View ( #3357 )
...
* visual updates
* badges
* copy update
2022-01-26 15:01:49 +09:00
d11n
8ceda3eab1
Fixes ( #3356 )
...
* Improve wording
* Fix redirect action
2022-01-26 14:57:35 +09:00
dstrukt
cc1233e8d5
Adjust Pay Button ( #3354 )
...
* updates padding
* padding adjustments
* updates
* Redirect to paybutton enable page when disabling
* Fix test
* Fix test
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-26 14:55:48 +09:00
Nicolas Dorier
70883c0869
Simple Wallet View Inconsistencies ( #3355 )
2022-01-26 14:54:29 +09:00
Nicolas Dorier
fe9de98dd1
Merge pull request #3337 from dennisreimann/merge-general-payment
...
Store: Combine General and Payment settings
2022-01-25 20:26:45 +09:00
Kukks
ecde91ff25
Plugins: Support plugin git remote with multiple versions of same plugins
2022-01-25 11:15:19 +01:00
Dennis Reimann
240ad49a43
Add currency selection attributes
2022-01-25 06:57:55 +01:00
Dennis Reimann
10adb23e71
Remove obsolete store hints
2022-01-25 06:57:55 +01:00
Dennis Reimann
c2fc099439
Create store: Add default currency and rate provider fields
2022-01-25 06:57:55 +01:00
Dennis Reimann
723a38da68
Store: Combine General and Payment settings
2022-01-25 06:57:55 +01:00
Andrew Camilleri
e917796fce
Set new LN defaults ( #3325 )
...
fixes #3324
2022-01-25 12:17:39 +09:00
d11n
5661798601
Allow plugins access in nav when there is no store ( #3351 )
2022-01-25 12:15:59 +09:00
Nicolas Dorier
a8adac9c5a
Rename LNUrlAuthController -> UILNAuthController ( #3352 )
2022-01-25 11:51:14 +09:00
dstrukt
c62018f984
1.4.0 Final Polish ( #3335 )
...
* adds pay button icon
adds more
update icons
* reduces update app titles
* capitalize PP
* more icons
notification icon update
adds more
* Truncate long titles in nav
* Adjust "off" color state for the wallet/lightning
* Theme switch alignment
* Update store selector
* adds more space in store selector span
* Prevent form zoom on mobile Safari
* updates lightning + settings view
* updates store icon
* adjusts notification icon
* removes notifications setting button icon
* Update status colors
* Fix Lightning nav markup
* Prevent icons from shrinking
* Move main menu styles to css
* Remove max-width container for content area
* Update headlines
* Use fixed header on mobile
* Extract custom pills component
* Form field update
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-25 11:07:52 +09:00
Kukks
06f2d4425c
re-add theme ui extension
2022-01-24 13:12:12 +01:00
Nicolas Dorier
090da6cfb6
Add configurable BOLT11Expiration for refunds ( Fix #3281 ) ( #3341 )
...
* Add configurable BOLT11Expiration for refunds (Fix #3281 )
* Add BOLT11Expiration configuration in Payment
2022-01-24 20:17:09 +09:00
Nicolas Dorier
28dbf10a31
Do not rely on element's id for payment button ( #3339 )
...
* Do not rely on element's id for payment button
* Update BTCPayServer/Views/UIStores/PayButton.cshtml
Co-authored-by: d11n <mail@dennisreimann.de>
* Update BTCPayServer/Views/UIStores/PayButton.cshtml
Co-authored-by: d11n <mail@dennisreimann.de>
* Update BTCPayServer/Views/UIStores/PayButton.cshtml
Co-authored-by: d11n <mail@dennisreimann.de>
* Update BTCPayServer/Views/UIStores/PayButton.cshtml
Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: d11n <mail@dennisreimann.de>
2022-01-24 20:05:22 +09:00
d11n
7a66d0feda
Shorten environment info ( #3350 )
...
Also uses the copyright symbol (instead of an `@`).
2022-01-24 20:01:17 +09:00
Nicolas Dorier
e23ddf118e
Add warning about the tradeoff the paybutton ( #3340 )
...
* Add warning about the security tradeoff of the paybutton
* Update BTCPayServer/Views/UIStores/PayButtonEnable.cshtml
Co-authored-by: d11n <mail@dennisreimann.de>
* Move message in column
Co-authored-by: d11n <mail@dennisreimann.de>
2022-01-24 20:00:42 +09:00
Nicolas Dorier
11d6588249
Add suggestion list for currency inputs ( #3347 )
...
* Move tagHelpers in their own directory
* Add suggestion list for currency inputs
2022-01-24 20:00:13 +09:00
Umar Bolatov
30db0cd4f4
Make users table responsive ( #3348 )
2022-01-24 14:03:56 +09:00
nicolas.dorier
692b57a1ad
Fix the notification dropdown not updating without page refresh
2022-01-23 15:49:43 +09:00
matter
7505c65401
Logo Replaced
...
ETB logo change with a new, more consistent logo with other liquid assets.
2022-01-21 20:49:05 +01:00
d11n
54a735ffd9
Pay Button: Fix CSP violations for custom amount and slider ( #3334 )
...
Fixes #3241 .
2022-01-21 11:11:08 +09:00
d11n
6a20d9036c
Refactor signed out action views (login, register, etc.) ( #3333 )
...
* Refactor signed out action views (login, register, etc.)
Extract common layout and some more cleanups.
* Optimize supporters display on mobile
* Optimize footer display on mobile
2022-01-21 11:10:03 +09:00
d11n
c338846d63
Mobile navigation ( #3331 )
...
* Mobile nav: Horizontal scrolling
* Reduce nav item spacing on mobile
* Update overlay color
* Fix modal colors
* Improve mobile nav styles
* Improve navbar on mobile Safari
* Scroll active nav item into viewport
2022-01-21 10:35:12 +09:00
d11n
c419ad68bb
Remove redundant payment methods from store settings ( #3323 )
...
* Add enabled toggle to wallet settings view
* Add enabled toggle to Lightning settings view
* Remove redundant payment methods from store settings
* Rename Payment Methods to Payments
* Adapt tests
* Fix invoice state toggle on details page
* Add spacing on Lightning sett8ings page
2022-01-19 20:58:02 +09:00
d11n
51c486c15a
Add Lightning page with services ( #3308 )
...
* Add Lightning page with services
* Adapt other services pages
* Display Lightning services only for internal node
2022-01-19 11:52:05 +09:00
Dennis Reimann
306ff3d919
Auto-submit scanned login code
...
Closes #3321 .
2022-01-18 15:42:09 +01:00
nicolas.dorier
d667b8ae8b
Add LNURL support to Crowdfund
2022-01-18 12:26:15 +01:00
d11n
72d728eb47
Update BTCPayServer/Views/UIAccount/LoginWithFido2.cshtml
2022-01-18 12:25:56 +01:00
Dennis Reimann
801ab862a3
Improve 2FA auth UI
2022-01-18 12:25:56 +01:00
Andrew Camilleri
d7b4dd2d4c
Show action button for safari browsers when using FIDO2 ( #3322 )
...
fixes #3197
2022-01-18 10:23:07 +09:00
d11n
1d3f74c8bb
Home sweet home ( #3313 )
...
* Link to store home, show home only if there is no store
* Handle store guest case
* Apply correct policies to nav items
2022-01-18 10:20:59 +09:00
dstrukt
c3f73c0de3
Content Consistency Updates (1.4.0) ( #3316 )
...
* updates
* updates
* updates
* updates
* updates
* moves api key CTA to top right
* updates
* more updates
* more updates
* Fix active state when "Account" is selected
* Update wording in subnav: Profile becomes Account
* Fix email test
* Update Emails wording
* Try to fix email test
* Make General first tab in store settings
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-18 10:19:27 +09:00
Nicolas Dorier
13ea1898b6
Merge pull request #3314 from dennisreimann/theme-colors
...
Theme colors
2022-01-17 17:16:26 +09:00
Nicolas Dorier
586303f47e
Merge pull request #3319 from NicolasDorier/wfuoi
...
Make sure the SubscribeAsync handlers are executed in order
2022-01-17 17:16:03 +09:00
Nicolas Dorier
ce86a838f2
Merge pull request #3315 from dennisreimann/2fa-login
...
Fix secondary login view
2022-01-17 17:15:51 +09:00
nicolas.dorier
a42323a527
Make sure the SubscribeAsync handlers are executed in order
2022-01-17 13:36:33 +09:00
Nicolas Dorier
14da3023d8
Merge pull request #3310 from NicolasDorier/niceurl
...
Use nicer urls, part2 (Fix #921 )
2022-01-17 11:41:20 +09:00
nicolas.dorier
7eb5f57478
Fix Rates page
2022-01-17 11:25:33 +09:00
nicolas.dorier
961769ebd0
Fix AssertNoError to detect page exception
2022-01-16 12:39:08 +09:00
Dennis Reimann
3266cc8e3b
Improve Lightning node toggle colors
2022-01-15 21:07:01 +01:00
Dennis Reimann
3dec14b89d
Fix secondary login view
2022-01-15 20:49:04 +01:00
Dennis Reimann
a67f989dda
Theme variable value updates
2022-01-15 20:20:52 +01:00
Dennis Reimann
2d05464b17
Light theme: Use off-white bg for content
2022-01-15 19:56:38 +01:00
Dennis Reimann
a39082e565
Add scrollbar styles
2022-01-15 19:54:50 +01:00
nicolas.dorier
d1f567eade
Add Include Error Details to postgres connection string
2022-01-15 14:54:06 +09:00
nicolas.dorier
b9fdd54538
Use nicer urls, part2 ( Fix #921 )
2022-01-15 14:54:06 +09:00
Kukks
7243aec213
Support LNURL Auth
2022-01-14 13:26:30 +01:00
nicolas.dorier
1fb582c35d
Rename the Fido2Controller
2022-01-14 18:34:30 +09:00
nicolas.dorier
50d4b55f73
Warning if not using 'simple using'
2022-01-14 17:50:29 +09:00
nicolas.dorier
c6a7e90c1a
Warning if not using 'is not null'
2022-01-14 17:48:15 +09:00
nicolas.dorier
23a96c07ae
Rename GreenField -> Greenfield
2022-01-14 13:46:04 +09:00
nicolas.dorier
7a787fc945
Rename UI controllers
2022-01-14 13:46:03 +09:00
nicolas.dorier
ce43de0c57
Rename greenfield controllers
2022-01-14 12:21:06 +09:00
nicolas.dorier
eaf47d3739
Rename controllers Bitpay controllers
2022-01-14 12:21:06 +09:00
Nicolas Dorier
5eebdb6774
Use nicer urls ( Fix #921 ) ( #3304 )
2022-01-14 12:20:50 +09:00
d11n
51db1593d6
Remove stores list ( #3300 )
2022-01-14 11:59:27 +09:00
nicolas.dorier
223c71ce8b
Fix tests
2022-01-13 23:50:33 +09:00
dstrukt
127afdb5c1
Store-Centric Minor Tweaks ( #3276 )
...
* padding above store selector + left & right content padding
* Adapt vertical spacing for content area
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-13 20:29:38 +09:00
nicolas.dorier
f34706f9f0
Update lightning lib
2022-01-13 19:18:14 +09:00
nicolas.dorier
f76ce54109
Fix tests
2022-01-13 18:14:27 +09:00
Nicolas Dorier
f67fa6a5d6
Remove right to admins to bypass permissions to modify/view invoices or stores ( #3297 )
2022-01-13 17:42:32 +09:00
Nicolas Dorier
5ad6d77973
The notification dropdown wasn't fetching events if rootPath used ( #3299 )
2022-01-13 17:08:33 +09:00
d11n
69d1acc797
Empty states: Setup guide for store and wallet ( #3255 )
...
* Store Selector: Create first store button
* Add setup guide to homepage
* Policy update for stores list
* Fix test
* Initial create store button as primary
* Add notifications list to homepage
* Remove back to list from store create view
* Adapt content padding on desktop
* Add store home view with setup guide
* Fix active page nav highlighting
* Test fix
* Remove What's Next section
* Rename Store Home to Dashboard
* Fix Lightning setup link
* Add tests for store setup guide
* Update BTCPayServer/Views/Home/Home.cshtml
Co-authored-by: Pavlenex <pavle@pavle.org>
* Update BTCPayServer/Views/Stores/Dashboard.cshtml
Co-authored-by: Pavlenex <pavle@pavle.org>
* Remove setup guide on global homepage
* Remove Shopify setup link from nav
* Fix content container max-width on desktop
Co-authored-by: Pavlenex <pavle@pavle.org>
2022-01-13 17:08:15 +09:00
nicolas.dorier
7b0558dc8e
Add version to svg's href files to prevent cache issues
2022-01-13 15:54:40 +09:00
Dennis Reimann
a411a6a81a
Fix copy functionality without navigator.clipboard
2022-01-13 11:50:37 +09:00
Dennis Reimann
d66f1f5513
Remove duplicate event handler
2022-01-12 16:22:56 +01:00
nicolas.dorier
20c8916610
Make BTCPayServer insensitive to the working directory in which it is started ( Fix #1894 )
2022-01-12 20:20:26 +09:00
nicolas.dorier
a02ad104ee
Bump Clipboard.js
2022-01-12 16:06:28 +09:00
Dennis Reimann
1b770c66cd
Improve footer
2022-01-11 18:56:30 +01:00
nicolas.dorier
e4d9e3e22e
Do not send email twice for bitpay API, log whether IPN is an ExtendedNotification. ( Fix #968 )
2022-01-12 00:26:12 +09:00
nicolas.dorier
fbfab88257
Remove obsolete code in BitpayIPNSender
2022-01-12 00:10:55 +09:00
Nicolas Dorier
708f8b49df
[Greenfield] Let non-admin update LN payment method with internal node if it is unchanged ( Fix #2860 ) ( #3288 )
2022-01-11 23:38:05 +09:00
dstrukt
323e5e14a3
Update Payment Request View ( #3259 )
...
* removes "back to list"
* changes currency label + formats currency and amount
* adjust sizing
* Wording: Create and Save button
* Improve search responsive behaviour
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2022-01-11 22:16:16 +09:00
Nicolas Dorier
5bbaa48b49
Fix change state broken in the UI and update invoice's status in payment request to new convention ( Fix #3265 ) ( #3286 )
2022-01-11 21:49:56 +09:00
Wouter Samaey
cd91e48713
Swagger: Added explanation for empty currency field in Create Payment Request ( #3285 )
...
* Swagger: Added explanation for empty currency field in Create Payment Request
* Added nullable true
2022-01-11 20:11:11 +09:00
Nicolas Dorier
7444bd06e4
[Greenfield] Fix create/update payment requests expiry field and allow null currency field ( Fix #3222 ) ( #3284 )
2022-01-11 18:42:44 +09:00
Nicolas Dorier
0017e687db
A store's guest should be able to manage lightning invoices ( Fix #3212 ) ( #3283 )
2022-01-11 17:22:10 +09:00
dstrukt
5865fd5022
Improve Payout View ( #3260 )
...
* updates payouts
* update spacing
* improvements
* View updates
* updates spacing
* Fix spacing
* Fix markup
* Fix test
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-11 17:15:23 +09:00
dstrukt
4b941a5145
Update Invoice Views ( #3264 )
...
* updates create invoice
* updates invoice list
* formats
* updates row
* updates
* Improve invoice list markup and fix mass action form
* Responsive invoice table
* Improve spacing on invoice detail view
* Improve archive message
* Responsive status change partial
* Add test case for mass archiving
* Add mass unarchiving
Closes #3270 .
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-11 17:14:34 +09:00
nicolas.dorier
ba101015f6
Use the MultiProcessingQueue in IPNSender
2022-01-11 15:06:00 +09:00
nicolas.dorier
6999abe1ca
Rename WebhookNotificationManager -> WebhookSender
2022-01-11 13:21:38 +09:00
nicolas.dorier
cb295e20d4
Rename InvoiceNotificationManager -> BitpayIPNSender
2022-01-11 13:21:38 +09:00
nicolas.dorier
c6df43363f
Extract MultiProcessingQueue from WebhookNotificationManager
2022-01-11 13:21:38 +09:00
Nicolas Dorier
81cec36b68
Merge pull request #3279 from NicolasDorier/quofwe
...
[Greenfield] if some json property are invalid, throw nice error instead of an exception (Fix #2795 )
2022-01-10 23:56:57 +09:00
nicolas.dorier
47c1ffe53f
Fix doc for address preview of derivation scheme
2022-01-10 23:03:30 +09:00
Nicolas Dorier
90a9051827
Merge pull request #3273 from dstrukt/improve-lightning-config-view
...
Simple Lightning Node Selector Improvement
2022-01-10 22:13:38 +09:00
nicolas.dorier
8bea3dd21e
[Greenfield] if some json property are invalid, throw nice error instead of an exception ( fix #2795 )
2022-01-10 22:11:04 +09:00
nicolas.dorier
e164b1f169
The PayButton should select the default currency of the store as default
2022-01-10 20:37:36 +09:00
Dennis Reimann
383765f5fe
Solve spacing via CSS
2022-01-10 12:22:12 +01:00
nicolas.dorier
03af471f65
Improve error message for create store wallet transaction ( Fix #3256 )
2022-01-10 11:59:13 +09:00
dstrukt
d189deefb4
adds secondary button look to rounded tab nav
2022-01-09 03:04:32 -08:00
Nicolas Dorier
e957180618
Merge pull request #3269 from btcpayserver/odqiq
...
Validate the name of controllers when LinkGenerator
2022-01-08 14:32:55 +09:00
nicolas.dorier
47d8d3cdb1
Validate the name of controllers when LinkGenerator
2022-01-08 14:16:17 +09:00
Nicolas Dorier
f364451a96
Merge pull request #3262 from dstrukt/remove-back-to-list-ctas
...
Remove remaining "Back to list" CTAs
2022-01-08 12:21:04 +09:00
Dennis Reimann
0dcf240faf
Account menu improvement
2022-01-07 17:25:28 +01:00
nicolas.dorier
88bc1c64d2
Fix tests
2022-01-07 21:47:19 +09:00
nicolas.dorier
84bd8a6e98
fix tests
2022-01-07 21:16:26 +09:00
nicolas.dorier
81c1cc6728
Add rockstar friendly error 403
2022-01-07 19:46:38 +09:00
nicolas.dorier
fc91077430
A store's guest should be able to see invoice information
2022-01-07 18:10:31 +09:00
nicolas.dorier
b71a04943b
CookieAuthHandler shouldn't set store context if appId/payReqId/invoiceId is not found
2022-01-07 18:10:31 +09:00
dstrukt
dd4fb68e5b
invoices - remove
2022-01-06 23:01:04 -08:00
dstrukt
a085a2a557
apps - remove
2022-01-06 22:58:14 -08:00
dstrukt
f9d14c64ce
Simple Improve Receive Wallet View ( #3251 )
...
* removes card styles
* removes card styles
* removes card style
* Minor improvements
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2022-01-05 20:23:36 +09:00
Wouter Samaey
fc687f9fc0
Fixed LND admin macaroon hexdump command ( #3252 )
...
Argument `-plain` didn't work for me in the LND container, but `-p` did.
The error I got was `xxd: invalid number 'ain'`
Added the `-c 256` for better readability. This param maxes out at 256.
2022-01-05 20:23:21 +09:00
d11n
57071d7bc8
Replace Square Crypto with Spiral ( #3254 )
...
Closes #3253
2022-01-05 20:22:24 +09:00
nicolas.dorier
ab3aab9c22
Make BTCPayServer works with dotnet watch hot reload
2022-01-01 22:05:51 +09:00
Nicolas Dorier
04b8eafacb
Run dotnet format ( #3244 )
2021-12-31 16:59:02 +09:00
d11n
e2d0b7c5f7
Store centric UI: Part 3 ( #3224 )
...
* Set store context in cookie
* Fix page id usages in view
* Move Pay Button to nav
* Move integrations to plugins nav
* Store switch links to wallet if present
* Test fixes
* Nav fixes
* Fix altcoin view
* Main nav updates
* Wallet setttings nav update
* Move storeId cookie fallback to cookie auth handler
* View fixes
* Test fixes
* Fix profile check
* Rename integrations nav extension point to store-integrations-nav-list
* Allow strings for Active page/category for plugins
* Make invoice list filter based on store context
* Do not set context if we are running authorizer through tag helper
* Fix test and unfiltered invoices
* Add permission helper for wallet links
* Add sanity checks for payment requests and invoices
* Store context in home controller
* Fix PayjoinViaUI test
* Store context for notifications
* Minor UI improvements
* Store context for userstores and vault controller
* Bring back integrations page
* Rename notifications nav pages file
* Fix user stores controller policies
* Controller policy fixes from code review
* CookieAuthHandler: Simplify CanViewInvoices case
* Revert "Controller policy fixes from code review"
This reverts commit 97e8b8379c
.
* Simplify LayoutSimple
* Fix CanViewInvoices condition
Co-authored-by: Kukks <evilkukka@gmail.com>
2021-12-31 16:36:38 +09:00
nicolas.dorier
db1a124ffb
Do not check certificates for SMTP settings if local server
2021-12-29 18:24:24 +09:00
Nicolas Dorier
0dcfbe8581
Remove internal socks http proxy and use .net60 socks support ( #3240 )
2021-12-28 18:57:22 +09:00
Nicolas Dorier
ed5b159fb6
Use ArgumentNullException.ThrowIfNull everywhere ( #3239 )
2021-12-28 17:39:54 +09:00
Andrew Camilleri
9b7ca76b99
Use Outstanding amount for shopify order invoices ( #3203 )
...
* Use Outstanding amount for shopify order invoices
* consider shopify order may have multiple transactions
* Use presentment currency not just currency
fixes #2683
2021-12-28 15:56:54 +09:00
dstrukt
eeebb99ca3
Consistent and simplified button CTA text ( #3234 )
...
* refine pull payments cta
* payment requests cta
* invoice cta
* add user cta
* webhooks cta
* set password cta
* removes whitespace
* set password cta
* api key cta
* change password cta
* add device 2fa cta
* create token cta
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-12-28 15:54:31 +09:00
nicolas.dorier
c0e9f91bdc
Fix warnings
2021-12-27 13:58:18 +09:00
Nicolas Dorier
02419dcdd1
Migrate to .net6.0 ( #3198 )
2021-12-27 13:15:43 +09:00
d11n
4a66c91cac
Fix app permissions ( #3227 )
...
* Fix app permissions
As pointed out by @nicolasdorier [here](https://github.com/btcpayserver/btcpayserver/pull/3205#issuecomment-999437555 ).
* Fix for login codes view
* Ensure app belongs to store
2021-12-26 12:20:46 +09:00
Andrew Camilleri
48ac996d77
Sign in with other device (quick mobile login) ( #2504 )
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-12-24 09:27:00 +01:00
Wouter Samaey
82b4debcac
Renamed Payment Request "Created" field to "CreatedTime" for consistancy since we already have a breaking change ( #3230 )
2021-12-23 14:48:10 +01:00
Andrew Camilleri
5f5f71bf37
Normalize greenfield responses for 404s ( #3220 )
2021-12-23 13:32:08 +09:00
Wouter Samaey
f63a9ed1a0
Added field "StoreId" to a Payment Request in Greenfield
2021-12-22 16:17:35 +01:00
nicolas.dorier
9843f66bb6
Add example to cryptoCode in greenfield doc
2021-12-22 11:39:43 +09:00
Dennis Reimann
8e5a9251d6
Address feedback from code review
...
Thanks @kukks
2021-12-21 09:24:09 +01:00
Dennis Reimann
3a59e2a5c4
Cache resolved store items in HTTP context
2021-12-21 09:24:09 +01:00
Dennis Reimann
38ff3e5e89
Fix footer position on large breakpoints
2021-12-21 09:24:09 +01:00
Dennis Reimann
1f0653985a
Apply permission tag helpers to main navigation
2021-12-21 09:24:09 +01:00
Dennis Reimann
a4fa61e5f6
Authorize invoice refund route
...
The customer gets a pull payment route to initiate the refund, so this one is only for merchants and needs to be authorized.
2021-12-21 09:24:09 +01:00
Dennis Reimann
b68eae6f7d
Re-add status messages to pull payments and payout views
2021-12-21 09:24:09 +01:00
Dennis Reimann
2d7c5cabab
Refactor page titles and active page functionality
2021-12-21 09:24:09 +01:00
Dennis Reimann
42e731369e
Remove section nav for pull payments and payouts
2021-12-21 09:24:09 +01:00
Dennis Reimann
7d2627551b
Store Settings nav update
2021-12-21 09:24:09 +01:00
Wouter Samaey
f4bde164bf
Changed API policy for calculating feeRate ( #3217 )
2021-12-20 11:16:23 +01:00
d11n
bb751793c8
Various minor UI fixes and cleanups ( #3208 )
...
* Copy to clipboard fix
* Improve invoice status change wording and JS
* Re-add ability to delete apps
Now that the list view is gone, we need to move this option to the edit view
* Clean up app and payment request bundles
* Fix for invoice status change when dismissed
2021-12-19 13:05:10 +09:00
Nicolas Dorier
c68141119c
[Greenfield] Send forbid 403 rather than empty results on /api/v1/stores ( #3215 )
2021-12-19 01:01:54 +09:00
Nicolas Dorier
163d1a195d
Fix: DateTime passed to bitpay API weren't assumed UTC, remove DateTime.Now references ( #3206 )
2021-12-17 15:31:06 +09:00
Wouter Samaey
6de4f6a3ac
Mention the missing API permission in the response of a Greenfield request ( #3195 )
...
* Mention the missing API permission in the response header or body
* Fixes + Added a unit test. 1 TODO remains.
* Added MissingPermissionDescription to the error
* Update BTCPayServer.Tests/GreenfieldAPITests.cs
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
* Fix tests
* [GreenField]: Make sure we are sending fully typed errors
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-12-16 23:04:06 +09:00
nicolas.dorier
4f7eeea14e
Greenfield: Improve error message, do not use internal lightning node on store's lightning API
2021-12-16 14:27:34 +09:00
nicolas.dorier
bbddd72780
Fix permissions required for store's lightning node in doc
2021-12-16 12:31:24 +09:00
Nicolas Dorier
ac099aa513
Change implementation of the Smtp server ( #3202 )
...
* Change implementation of the Smtp server
* Update BTCPayServer/Services/Mails/EmailSettings.cs
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2021-12-15 21:30:46 +09:00
Kukks
ece5401121
Bump QR and LNURL libs
2021-12-15 10:14:20 +01:00
nicolas.dorier
9a70b4487c
Fix: serverinfo 'available' wasn't set for BTC
2021-12-14 00:05:41 +09:00
Trigger
19af02e71b
Fix issue in invoice - changing the payment method ( #3169 )
2021-12-12 15:04:43 +09:00
d11n
619aa05e14
Update invoice state hint display ( #3188 )
2021-12-12 00:26:45 +09:00
d11n
cc60958b30
Upgrade Lightning lib ( #3187 )
2021-12-11 14:32:28 +09:00
Nicolas Dorier
bd2f35a241
Remove Ethereum support ( #3182 )
2021-12-11 14:31:41 +09:00
d11n
cf78987fab
Fix LN Node availability check ( #3189 )
2021-12-11 14:31:25 +09:00
d11n
f8e6b51e9d
Store-centric UI ( #3091 )
...
* Update layout structure and header
* Implement store selector
* Simplify homepage
* Update layout
* Use dropdown for store selector
* Hide global nav in store context
* Horizontal section nav
* Remove outer section and container from content views
* Update nav
* Set store context for invoice and payment request lists
* Test fixes
* Persist menu collapse state on client-side
* MainNav as view component
* Update app routes to incorporate store context
* Test fixes
* Display ticker for altcoins build only
* Plugins nav
* Incorporate category for active page as well
* Update invoice icon
* Add apps list to nav
* Add store context to app type controllers
* Incorporate id for active page as well
* Test fixes
* AppsController cleanup
* Nav: Display only apps for the current store
* Remove leftover from merge
* Nav styles optimization
* Left-align content container
* Increase sidebar padding on desktop
* Use min-width for store selector menu
* Store settings nav update
* Update app and payment request routes
* Test fixes
* Refactor MainNav component to use StoresController
* Set store context for invoice actions
* Cleanups
* Remove CurrentStore checks
The response will be "Access denied" in case the CookieAuthorizationHandler cannot resolve the store.
* Remove unnecessary store context setters
* Test fix
2021-12-11 12:32:23 +09:00
d11n
2b1436e303
Fix build warning in Invoice Testing Controller ( #3191 )
2021-12-10 12:31:04 +01:00
Umar Bolatov
cf772bb9e0
Improvements for disabled plugins status indicators ( #3168 )
...
* Improvements for disabled plugins status indicators
close #3150
* Improve spacing
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-12-08 13:47:35 +09:00
Andrew Camilleri
fd75008499
Allow pull payments for store guests ( #3128 )
2021-12-08 00:40:24 +09:00
d11n
e113c12768
Fix copy pay button code ( #3175 )
2021-12-04 21:12:15 +01:00
d11n
3acda5b342
Fix code display ( #3172 )
2021-12-04 09:20:35 +01:00
Wouter Samaey
bbea9d7a27
Swagger fixes ( #3170 )
2021-12-04 09:20:23 +01:00
Ms Floofie
d3b28a98be
Fixed spelling mistake
...
Changed a misspelling from "synch" to "sync" ;)
2021-11-29 16:17:38 -05:00
Wouter Samaey
c679654ada
Send block reward to a random address instead of the invoice address. Default mine 1 block. ( #3164 )
...
* Send block reward to a random address instead of the invoice address. Default mine 1 block.
* Using a random address for the block reward
2021-11-29 19:44:56 +09:00
Umar Bolatov
26f3cffe5c
Fix possible null reference exception when creating a pull payment ( #3162 )
...
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2021-11-29 07:26:30 +01:00
Wouter Samaey
8f0d82d219
Cheat mode to mine blocks ( #3163 )
2021-11-29 07:23:56 +01:00
Samuel Adams
ec68d2a0e6
Remove Confirmed state in UI ( #3090 )
...
* Remove Confirmed state in UI
Closes #1789 .
* Add infobox & improve refund tooltip
* Update BTCPayServer/Views/Invoice/ListInvoices.cshtml
Add @dennisreimann suggestion
Co-authored-by: d11n <mail@dennisreimann.de>
* Add "don't show again" button
Adds a "Don't Show Again" button to the infobox. Also a bugfix that was preventing the new status from showing in the invoice details page.
* Add User blob and move invoice status notice to it
Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: Kukks <evilkukka@gmail.com>
2021-11-26 23:13:41 +09:00
nicolas.dorier
f6afb9a3f0
CheatMode should use NBXplorer RPC proxy rather than hardcoded client
2021-11-26 18:34:40 +09:00
d11n
e9074a8ec1
Test improvement exposing failing test ( #3120 )
...
* Test improvement exposing failing test
* Test fixes
* Fix test
* update alt compose
* Fix test CanUsePullPaymentsViaUI
* Fix CanChangeUserMail
Co-authored-by: Kukks <evilkukka@gmail.com>
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2021-11-26 15:02:30 +09:00
Samuel Adams
9b730e784f
Add pagination for API GetNotifications ( #3145 )
2021-11-26 11:55:59 +09:00
Umar Bolatov
57852821f5
Remove sync modal from "Forgot password" page ( #3159 )
...
* Update "Forgot password" page layout
* Fix null reference error
2021-11-26 11:54:33 +09:00
Andrew Camilleri
87061ecfc0
Support BC-UR v1 wallet import ( #3080 )
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-11-25 10:25:22 +01:00
Dennis Reimann
3b3fac98ad
Improve Lightning settings display
2021-11-25 10:24:14 +01:00
Dennis Reimann
285a30f67a
Plugins: Provide extension points for Lightning setup
2021-11-25 10:24:14 +01:00
Dennis Reimann
e42ef4b2f8
Plugins: Update startup for plugin compatibility
2021-11-25 10:24:14 +01:00
d11n
cc3908cdb3
Checkout: Fix UI flickering on payment method change ( #3158 )
2021-11-25 10:22:45 +01:00
Umar Bolatov
4fe4cdb7bf
Redirect to payment requests page instead of edit page on archive action ( #3142 )
...
* Redirect to payment requests page instead of edit page on archive action
* Remove unused "using" directive
2021-11-24 20:27:56 +09:00
dstrukt
11a9b10a54
Minor visual improvements to various Server Settings views ( #3152 )
2021-11-24 09:59:19 +01:00
nicolas.dorier
35aad4ebf9
Remove Logs static singletons
2021-11-23 13:55:34 +09:00
dstrukt
ead0f284f2
Simple Invoice Detail View Cleanup ( #3100 )
...
* changes copy to "unarchive", more clear
* adds semibold custom class
* adds class to TH elements & uppercases labels
* whitespace and padding patches
* uppercase patches
* removes class in site.css + updates class name
* Fix test
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-11-22 13:57:20 +09:00
dstrukt
6ff659fb99
Simple Payment Request and Pull Payment Views Improvements ( #3127 )
...
* adds border radius to payment request view
* adds border radius to pull payments view
* spacings + font weights
* paddings + font weights
* updates text color
* updates font weights + text colors
* padding consistency
* switches padding to empty state
* update
* another padding fix
* Add "no details provided" when empty description
Co-authored-by: Samuel Adams <samuel.atwood@gmail.com>
2021-11-22 13:56:43 +09:00
Umar Bolatov
194c0f14cb
Format perk value correctly in crowdfund app ( #3141 )
...
close #3109
2021-11-22 13:55:07 +09:00
dstrukt
7ab78fff3f
Invoice View Improvements ( #3092 )
...
* view improvements
* improves label, adds section headers, re-orders
* Available payment methods as checkboxes
* adds required label
* Update default payment method label
Thanks @woutersamaey for the suggestion.
* Move POS data and notifications to additional options
* Update display names
* adds checkbox to pull payments
* updates label
* Revert "updates label"
This reverts commit 9ed320e863
.
* Revert "adds checkbox to pull payments"
This reverts commit 28ea6bfb6e
.
* removes required label
* Select all supported tx currencies by default
Slight modification to the checkbox list.
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
Co-authored-by: Samuel Adams <samuel.atwood@gmail.com>
2021-11-22 13:54:42 +09:00
Nicolas Dorier
c01fae5fcd
Bump LND ( #3130 )
2021-11-20 22:41:35 +09:00
Kukks
c088e0fd55
add extension point in ui
2021-11-18 16:07:54 +01:00
Dennis Reimann
cb1dbe7662
Improve invoice warning for no payment method configured
...
Closes #3085 .
2021-11-18 10:05:37 +01:00
dstrukt
03f8d6693d
Improve Access Tokens View ( #3118 )
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-11-18 10:04:20 +01:00
Dennis Reimann
6813a6ea63
Refactoring: Invoice UI Controller cleanups
...
Simple and IDE proposed changes and cleanups I came across while working on #3092 .
2021-11-18 10:02:24 +01:00
dstrukt
4cd18a1b28
Improve Pay Button View ( #3112 )
...
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-11-18 09:58:29 +01:00
dstrukt
90907c6306
Improve Store User View ( #3117 )
2021-11-18 09:56:25 +01:00
Dennis Reimann
c67b2be9d2
Fix Taproot checks after code removal
...
Necessary additions to 8d6c5dcd65
2021-11-17 13:40:55 +01:00
nicolas.dorier
8d6c5dcd65
Remove useless code
2021-11-16 21:02:25 +09:00
dstrukt
e5fa6fa55a
Updates Pull Payment Payment Method ( #3107 )
...
* adds checkbox to pull payment
* adds label improvement
* removes "back to list"
* Remove superfluous style block
Seems to be a copy and paste remainder
* Make custom CSS additional options
* Fix input name and test
* Improve display for case with only one payment method
* Fix test
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-11-16 12:58:17 +09:00
dstrukt
748c92436f
Improve Rates View ( #3105 )
...
* updates headers + changes copy
* type improvement
* updated copy
* updates copy
* updates copy
* Advanced rate rule scripting toggle
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-11-16 12:50:35 +09:00
Dennis Reimann
e98c6e69d4
Update POS accordion
2021-11-15 16:43:59 +01:00
Dennis Reimann
c389aa0b99
Apply form styles to rich text editor
2021-11-15 16:43:59 +01:00
Dennis Reimann
8696710ad1
Update app accordions
2021-11-15 16:43:59 +01:00
Dennis Reimann
ce3bf91b29
Move custom CSS into additional options
2021-11-15 16:43:59 +01:00
nicolas.dorier
2f5f397d33
Remove taproot activation code
2021-11-15 23:03:10 +09:00
Kukks
31cf2671f5
Optimize admin user list
2021-11-15 10:28:45 +01:00
dstrukt
d7dc70c679
adds required label dot
2021-11-15 09:35:56 +01:00
dstrukt
ed0d7b75b5
updates left nav
2021-11-15 09:35:56 +01:00
dstrukt
7649f88173
updates title
2021-11-15 09:35:56 +01:00
dstrukt
e9b8035eae
adds title and exposes delete
2021-11-15 09:35:56 +01:00
dstrukt
46486704ab
notification updates
2021-11-15 09:35:56 +01:00
dstrukt
a6cee23591
2FA updates
2021-11-15 09:35:56 +01:00
dstrukt
33b5ade2b1
padding
2021-11-15 09:35:09 +01:00
dstrukt
0299eb1d24
whitespace
2021-11-15 09:35:09 +01:00
dstrukt
4f9ea39554
updates title
2021-11-15 09:35:09 +01:00
dstrukt
a2a49636e0
cleans up api key list view
2021-11-15 09:35:09 +01:00
Umar Bolatov
d5c38ef336
Add crypto code for invoice and pull payment payout API response ( #3099 )
...
* Add "cryptoCode" for invoice payment method API endpoint response
* Add "cryptoCode" for pull payment payout API endpoint response
* Add "#nullable enable" to GreenFieldInvoiceController
* Add "#nullable enable" to GreenfieldPullPaymentController
2021-11-15 14:25:59 +09:00
nicolas.dorier
03d2b6eabe
Checkout page of 0 amount invoices shouldn't crash, but 404
2021-11-15 13:51:36 +09:00
Samuel Adams
cbcd59c996
Prevent creation of on-chain invoices below the dust limit ( #3082 )
...
* Prevent creation of on-chain invoices below the dust limit
Fixes #3071 .
* Apply suggestions from code review
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
* small fix
* Fix selenium test
0.000000012 BTC (whether rounded or not) is below the dust threshold, causing this test to fail.
* fix CanCreateTopupInvoices test
Don't apply dust threshold conditional for topup invoices.
* Fix test, and minor changes
Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-11-15 13:48:07 +09:00
Andreas Tasch
c5dc7475a6
Fix type of property cryptoCode ( #3088 )
2021-11-15 13:15:48 +09:00
Umar Bolatov
40dff0381b
Fix bug with fraction amount display in crowdfund app ( #3098 )
...
* Update formatting
* Adjust formatting
* Adjust formatting
* Fix bug with BTC fraction amount display
2021-11-15 13:14:55 +09:00
Nicolas Dorier
39a1834a75
Merge pull request #3093 from satwo/fix-pull-payout-bug
...
Fix payout/pull payment crash when no payment method bug
2021-11-15 13:13:40 +09:00
Nicolas Dorier
84694d55ad
Merge pull request #3101 from bolatovumar/fix/crowdfund-public-display-text
...
Show correct note when crowdfund is publicly visible
2021-11-15 13:10:07 +09:00
Nicolas Dorier
605920b421
Merge pull request #3102 from bolatovumar/fix-transaction-row-display-issues
...
Fix transaction row display issues
2021-11-15 13:09:32 +09:00
Umar Bolatov
037a77a573
Update Swagger docs for webhook event types ( #3104 )
...
close #2999
2021-11-15 13:08:54 +09:00
Umar Bolatov
b366e5dbf7
Fix issue with too much padding in comment input box
2021-11-14 16:18:59 -08:00
Umar Bolatov
a277072968
Fix issue with weird label buttons
2021-11-14 16:17:16 -08:00
Umar Bolatov
5523b554f1
Fix issue with giant label input group button
2021-11-14 16:07:27 -08:00
Umar Bolatov
6ae9dee982
Fix giant "Save comment" button issue
2021-11-14 16:02:32 -08:00
Umar Bolatov
dae4577b43
Fix label display issue
2021-11-14 16:02:11 -08:00