Dennis Reimann
435f51a777
Fix for crowdfund perk editor
...
With no title entered, the editor got stuck in an endless loop, because it recursively invoked the save function without checking for the ID fallback being present.
Fixes #2862 .
2021-09-09 10:59:03 +02:00
d11n
06db29dd43
Delete confirmation modals ( #2614 )
...
* Refactor confirm view: separate modal
* Add delete confirmation modals for apps and FIDO2
* Add delete confirmation modals for 2FA actions
* Add delete confirmation modals for api keys and webhooks
* Add delete confirmation modals for stores and store users
* Add delete confirmation modals for LND seed and SSH
* Add delete confirmation modals for rate rule scripting
* Test fixes and improvements
* Add delete confirmation modals for dynamic DNS
* Add delete confirmation modals for store access tokens
* Add confirmation modals for pull payment archiving
* Refactor confirm modal code
* Add confirmation input, update wording
* Update modal styles
* Upgrade ChromeDriver
* Simplify and unify confirmation input
* Test fixes
* Fix wording
* Add modals for wallet replace and removal
2021-09-07 11:55:53 +09:00
Dennis Reimann
83b07e0caf
Refactor tables, remove old customizations
2021-09-02 12:36:02 +02:00
Dennis Reimann
ad8f347989
Refactoring: Allow ViewsRazor extension to be used by plugins
...
Moves the `ViewsRazor` extension into Abstractions, so that it can be used by plugins.
Separated out of #2701 , prerequisite for the LNbank plugin integration.
2021-07-30 08:27:33 +02:00
dstrukt
69b855a1e7
Improves create crowdfund view ( #2647 )
...
* adds sizings
* adds section headers
* adds section headers and re-ordering
* more re-ordering
* redorder change
* adds switches
* reorders checkmark
* removes spacer + updates header
* adds sizings
* adds section headers
* adds section headers and re-ordering
* more re-ordering
* redorder change
* adds switches
* reorders checkmark
* removes spacer + updates header
* Upgrade flatpickr and adapt styles
* Improve display names
* Toggle and collapse additional options
* Add missing link attributes
* adds switch + title for enabling public crowdfund
* Add helper text for public crowdfund option
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-07-30 14:31:44 +09:00
dstrukt
b7b2f16925
Improves create point of sale view ( #2646 )
...
* re-ordering
* adds section header
* updates label on "products"
* changes button to primary
* moves description
* updates partial
* re-ordering + section headers
* more section heads and ordering
* redorders
* Toggle custom amount and tips settings
* Use display name for point of sale app type
* Use switches for enabling options
* Add space before required indicator
* Set and consolidate view model display names
* Move redirects and custom CSS to additional options
* Revert to checkbox for discounts
* adds padding
* removes bs-parent for multiple open elements on accordion
* adds helper text to discount checkbox
* updates "default view" label text
* wording cleanup
* more wording adjustments
* updates
* Add display names for app types
* Extract template editor inline styles
* updates helper text
* Display names for app types
* Typo fix
* Move template back to editor
* Fix selenium test
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2021-07-23 12:57:19 +02:00
Wouter Samaey
f1a222fbb3
New unit test to scan for external links/forms and if they have rel="noreferrer noopener" ( #2668 )
...
* Unit test to check for (possibly) external links
* Add rel="noreferrer noopener" to all external links so unit test passes
* Update BTCPayServer.Tests/UnitTest1.cs
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
* Update BTCPayServer.Tests/UnitTest1.cs
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
* Fixed bad merge from master
* PascalCasing
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2021-07-06 10:35:42 +02:00
dstrukt
89d6c83504
Improves Create Store & Create App views ( #2608 )
...
* improves create store
* redorders form elements
2021-06-24 23:06:55 +09:00
d11n
64a7abe53a
Bootstrap migration fixups ( #2534 )
...
* Remove xxl breakpoint
* Remove code bg
* Form updates
* Update PoS accordion
* Update forms
* Fix webhook password toggle
* Update highlight js styles
* Page updates
* Style unformatted checkboxes
* Fix typo
* Update accordions
* Update policies domain mapping
* Update toggles and checkboxes
* Update storage pages
* Fix specter logo filename casing
* Update checkout experience view
* Update webhook view
* Re-add used negative margins
* Update bootstrap
* POS layout fixes
* Decrease size of info icon in main headline
* Update BTCPayServer/Views/Stores/ModifyWebhook.cshtml
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-06-06 20:44:54 +09:00
Dennis Reimann
a830c1e812
Use ~ prefix for local PoS image references
2021-06-01 14:34:06 +02:00
d11n
ed7031981b
Bootstrap v5 migration ( #2490 )
...
* Swap bootstrap asset files
* Update themes and color definitions
* Move general bootstrap customizations
* Theme updates
Theme updates
* Remove BuildBundlerMinifier
This lead to an error, because BuildBundlerMinifier and BundlerMinifier.Core seem to conflict here. Details: https://stackoverflow.com/a/61119586
* Rewplace btn-block class with w-100
* Update badge classes
* Remove old font family head variable
* Update margin classes
* Cleanups
* Update float classes
* Update text classes
* Update padding classes
* Update border classes
* UPdate dropdown classes
* Update select classes
* Update neutral custom props
* Update bootstrap and customizations
* Update ChromeDriver; disable smooth scroll
https://github.com/SeleniumHQ/selenium/issues/8295
* Improve alert messages
* Improve bootstrap customizations
* Disable reduced motion
See also 7358282f
* Update Bootstrap data attributes
* Update file inputs
* Update input groups
* Replace deprecated jumbotron class
* Update variables; re-add negative margin util classes
* Update cards
* Update form labels
* Debug alerts
* Fix aria-labelledby associations
* Dropdown-related test fixes
* Fix CanUseWebhooks test
* Test fixes
* Nav updates
* Fix nav usage in wallet send and payouts
* Update alert and modal close buttons
* Re-add backdrop properties
* Upgrade Bootstrap to v5 final
* Update screen reader classes
* Update font-weight classes
* Update monospace font classes
* Update accordians
* Update close icon usage
* Cleanup
* Update scripts and style integrations
* Update input group texts
* Update LN node setup page
* Update more form control classes
* Update inline forms
* Add js specific test
* Upgrade Vue.js
* Remove unused JS
* Upgrade Bootstrap to v5.0.1
* Try container related test updates
* Separate jQuery bundle
* Remove jQuery from LND seed backup page
* Remove unused code
* Refactor email autofill js
* Refactor camera scanner JS
* Re-add tests
* Re-add BuildBundlerMinifier
* Do not minify bundles containing Bootstrap
Details https://github.com/madskristensen/BundlerMinifier/issues/558
* Update bundles
* Cleanup JS test
* Cleanup tests involving dropdowns
* Cleanup tests involving collapses
* Cleanup locale additions in ConfigureCore
* Cleanup bundles
* Remove duplicate status message
* Cleanup formatting
* Fix missing validation scripts
* Remove unused unminified Bootstrap js files
* Fix classic theme
* Fix Casa theme
* Fix PoS validation
2021-05-19 11:39:27 +09:00
d11n
b12c4c5fa0
Improve and unify page headers ( #2412 )
...
* Improve and unify page headers
* Altcoin test fixes
* Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
* Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
* Fix missing store name in pairing view
* Fix CanUsePairing test
* Bump header navigation font size
* Use partial tag instead of Html.PartialAsync in views
As suggested by @nicolasdorier. These are equivalent, see details [here](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/partial?view=aspnetcore-3.1#partial-tag-helper ).
* Fix docs link
As in #2432 .
* Update BTCPayServer/Views/Wallets/SignWithSeed.cshtml
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
* Update BTCPayServer/Views/Wallets/WalletSendVault.cshtml
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
* Update BTCPayServer/Views/Wallets/WalletTransactions.cshtml
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-04-08 22:32:42 +09:00
Dennis Reimann
73730355b8
Add active indicator for main navigation
2021-03-30 11:38:02 +02:00
Umar Bolatov
4b37121b75
Updated "required" form input styling ( #2373 )
2021-03-30 14:27:42 +09:00
Andrew Camilleri
7035b71ccd
Fix POS item newline break ( #2366 )
...
* Fix POS item newline break
fixes #2365
* Update TemplateEditor.cshtml
* fix template editor with "
* apply sanitize on save
2021-03-19 23:25:04 +09:00
Dennis Reimann
4bcc18fb41
JavaScript formatting fixes
2021-02-23 09:51:25 +01:00
Dennis Reimann
32370545cb
Fix variable assignment in yaml parsing loop
2021-02-23 09:50:54 +01:00
Dennis Reimann
dfbec71906
PoS: Add test for custom buy button text
2021-02-18 12:20:27 +01:00
Dennis Reimann
757c087afd
PoS: Custom buy button text per product
...
Closes #2232 .
2021-02-18 10:54:06 +01:00
Umar Bolatov
42de0803c9
Ensure "No" selection is maintained for custom price in POS app
2021-02-02 20:13:39 -08:00
Dennis Reimann
ad2430496d
UI improvements ( #2151 )
...
* UI: Consistent spacing on maintenance view
* UI: Empty states for apps, stores and wallets
* UI: Empty state for file storage
* UI: Toggle invoice selection in list on row click
* Update ChromeDriver
* Fix selector in payjoin test
2020-12-21 12:26:43 +01:00
Mario Dian
ad22d3fd91
Custom redirect_url for PoS ( #1924 )
2020-10-13 09:51:28 +02:00
Mario Dian
0fc862bac3
Fix inventory handling in PoS ( #1922 )
2020-09-22 10:29:06 +02:00
Umar Bolatov
b71eb12e23
Add store sort ( #1861 )
...
close #1837
2020-08-27 17:31:33 +09:00
Umar Bolatov
25527ec1dd
Use nameof() instead of strings
2020-07-20 20:02:14 -07:00
Umar Bolatov
36e3eeecaa
Allow sorting apps by store, name or app type
...
close #1568
2020-07-19 15:20:18 -07:00
Dennis Reimann
36868644dc
Check and fix broken anchor links.
...
In addition to #1682 .
2020-06-23 17:51:25 +02:00
Umar Bolatov
9532db7bae
Update "Back to the app list" links to not open in new tab by default
...
fix #1661
2020-06-13 19:18:38 -07:00
Dennis Reimann
b066cfd904
Update and fix documentation links
2020-06-11 16:09:33 +02:00
Dennis Reimann
58f56eac90
POS: Updates from code review
...
Thanks @kukks
2020-05-27 14:20:21 +02:00
Dennis Reimann
b7ec22ee89
POS: Set ViewType via optional URL parameter
...
Falls back to the DefaultView defined in the POS settings.
POS: Fix POST-Route
2020-05-26 21:53:22 +02:00
Dennis Reimann
fad53a9fa2
POS: Replace EnableShoppingCart with DefaultView
2020-05-26 16:48:47 +02:00
Andrew Camilleri
2d68d0da63
Redo App template editor with Vue based app ( #1544 )
...
* Redo App template editor with Vue based app
* fix styles better
* remove debug
* support methods
* make price required
* fix styling for validation errors
* show create or edit in title based on context
* add border bottom when image present
* escape/unescape
* more validation fixes
* fix responsive style
* Toggle template field
* add errors to the app
* enhance validation
2020-05-08 05:37:59 +09:00
Dennis Reimann
8420c74b31
Improve static asset caching
...
Cache static assets for one year and set the correct cache control header. Adds the cache busting version based on file content to asset references to invalidate the cache on change. ([further details on the approach](https://andrewlock.net/adding-cache-control-headers-to-static-files-in-asp-net-core/ ) and [why one year](https://ashton.codes/set-cache-control-max-age-1-year/ ))
Most of the changes are the additions of the `asp-append-version="true"` attribute, the main configuration change is in `Startup.cs`.
2020-04-18 17:56:05 +02:00
hannes
f097ecdc80
fix: remove ipn via email #1241 ( #1337 )
...
* fix: remove ipn via email #1241
* fix: remove ipn via email #1241
2020-02-24 21:21:03 +09:00
rockstardev
652b958d4f
Removing viewapp command now that we directly redirect in cshtml
2020-01-24 15:11:34 -06:00
rockstardev
c7c0db612a
Restoring IDs Selenium depends on for tests
2020-01-23 20:40:20 -06:00
rockstardev
a83edce4dc
Updating idents, code formatting
2020-01-23 20:19:24 -06:00
rockstardev
a907143d81
Providing open in new window split button when updating crowdfund
...
Unifying styles on POS and Crowdfund settings
co-authored-by: radWorx <dramirez@soulrivers.com>
2020-01-23 20:17:29 -06:00
rockstardev
4ae173bb69
Providing open in new window split button when updating POS app
...
co-authored-by: radWorx <dramirez@soulrivers.com>
2020-01-23 20:04:34 -06:00
rockstardev
1436420a93
Providing link to view app in new window
...
co-authored-by: radWorx <dramirez@soulrivers.com>
2020-01-23 19:51:57 -06:00
Britt Kelly
1cfba82d77
Hide button when missing required fields
2019-11-14 23:58:38 -07:00
Dennis Reimann
205fd3c9ce
Use grid consistently
2019-11-14 18:42:49 +01:00
Dennis Reimann
50bf55cbdf
Unify section headings
2019-11-14 18:42:48 +01:00
nicolas.dorier
57a6949565
Fix View app on Crowdfunding ( #1141 )
2019-11-14 21:13:41 +09:00
nicolas.dorier
aad586232c
Refactor StatusMessage and remove ExternalLogin
2019-10-31 14:11:33 +09:00
Nicolas Dorier
c82c67359c
Merge pull request #1061 from reablaz/master
...
updated AppsUpdate view with correct GET request
2019-10-19 18:27:56 +09:00
Umar Bolatov
e584004b23
Make UI checkboxes inline with their labels
...
address #1089
2019-10-13 20:07:41 -07:00
reablaz
8cbc58ea2f
updated AppsUpdate view with correct GET request
...
So user can request invoice data by invoice id from btcpayserver, to verify callback
2019-09-29 15:12:35 +03:00
britttttk
233b799a46
Fix inventory string ( #1005 )
2019-09-03 14:08:55 +09:00