diff --git a/.gitignore b/.gitignore index 118d11be55..85bd82b7ff 100644 --- a/.gitignore +++ b/.gitignore @@ -300,6 +300,7 @@ Kopie von* /src/Presentation/SmartStore.Web/App_Data/ImportProfiles/ /src/Presentation/SmartStore.Web/App_Data/Indexing/ /src/Presentation/SmartStore.Web/App_Data/Lucene/ +/src/Presentation/SmartStore.Web/App_Data/EfCache/ /src/Presentation/SmartStore.Web/App_Data/Settings.txt /src/Presentation/SmartStore.Web/App_Data/InstalledPlugins.txt /src/Presentation/SmartStore.Web/App_Data/Licenses.lic diff --git a/README.md b/README.md index 95b669b8f9..f8e84aa9bb 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,60 @@ -## Overview +

+ + Smartstore.NET + + + +
+
+ +

+ Smartstore.NET +

+

Ready. Sell. Grow.

+ + +

+ GitHub release + GitHub All Releases + GitHub repo size + GitHub closed issues + GitHub commit activity + GitHub +

- SmartStore.NET Demoshop + Try Online ∙ + Docs ∙ + Forum ∙ + Marketplace ∙ + Translations

+
+ +Smartstore.NET is a free, open source, full-featured e-commerce solution for companies of any size. It is web standards compliant and incorporates the newest Microsoft web technology stack. -SmartStore.NET is a free, open source, full-featured e-commerce solution for companies of any size. It is web standards compliant and incorporates the newest Microsoft web technology stack. +**Smartstore.NET includes all essential features to create multilingual and multi-currency stores** targeting desktop or mobile devices and enabling SEO optimized rich product catalogs with support for an unlimited number of products and categories, variants, bundles, datasheets, ESD, discounts, coupons and many more. -**SmartStore.NET includes all essential features to create multilingual and multi-currency stores** targeting desktop or mobile devices and enabling SEO optimized rich product catalogs with support for an unlimited number of products and categories, variants, bundles, datasheets, ESD, discounts, coupons and many more. +A comprehensive set of tools for CRM & CMS, sales, marketing, payment & shipping handling, etc. makes Smartstore.NET a powerful all-in-one solution fulfilling all your needs. -A comprehensive set of tools for CRM & CMS, sales, marketing, payment & shipping handling, etc. makes SmartStore.NET a powerful all-in-one solution fulfilling all your needs. +
+

+ Smartstore.NET Demoshop +

+
-**SmartStore.NET delivers a beautiful and configurable shop front-end out-of-the-box**, built with a design approach on the highest level, including components like `Bootstrap 4`, `Sass` and others. The supplied theme _Flex_ is modern, clean and fully responsive, giving buyers the best possible shopping experience on any device. +**Smartstore.NET delivers a beautiful and configurable shop front-end out-of-the-box**, built with a design approach on the highest level, including components like `Bootstrap 4`, `Sass` and others. The supplied theme _Flex_ is modern, clean and fully responsive, giving buyers the best possible shopping experience on any device. -The state-of-the-art architecture of SmartStore.NET - with `ASP.NET 4.5` + `MVC 5`, `Entity Framework 6` and Domain Driven Design approach - makes it easy to extend, extremely flexible and essentially fun to work with ;-) +The state-of-the-art architecture of Smartstore.NET - with `ASP.NET 4.5` + `MVC 5`, `Entity Framework 6` and Domain Driven Design approach - makes it easy to extend, extremely flexible and essentially fun to work with ;-) * **Website:** [http://www.smartstore.com/en/net](http://www.smartstore.com/en/net) * **Forum:** [http://community.smartstore.com](http://community.smartstore.com) * **Marketplace:** [http://community.smartstore.com/marketplace](http://community.smartstore.com/marketplace) * **Translations:** [http://translate.smartstore.com/](http://translate.smartstore.com/) -* **Documentation:** [SmartStore.NET Documentation in English](http://docs.smartstore.com/display/SMNET/SmartStore.NET+Documentation+Home) +* **Documentation:** [Smartstore.NET Documentation in English](http://docs.smartstore.com/display/SMNET/SmartStore.NET+Documentation+Home) + +

 

+ ## Highlights @@ -35,6 +71,8 @@ The state-of-the-art architecture of SmartStore.NET - with `ASP.NET 4.5` + `MVC ### Features +* NEW: CMS Page Builder +* NEW: CMS Menu Builder * Multi-Store support * Unlimited number of products and categories * Product Bundles @@ -55,40 +93,28 @@ The state-of-the-art architecture of SmartStore.NET - with `ASP.NET 4.5` + `MVC * CMS (Blog, Forum, custom pages & HTML content etc.) * and many more... + + ## Project Status -SmartStore.NET V3.1.5 has been released on 25 May, 2018. The highlights are: - -* **Wallet \***: Enables full or partial order payment via credit account. Includes REST-Api. -* **[Liquid](https://github.com/Shopify/liquid/wiki/Liquid-for-Designers) template engine**: very flexible templating for e-mails and campaigns with autocompletion and syntax highlighting. -* **Cash Rounding**: define money rounding rules on currency and payment method level. -* **Modern, responsive backend**: migrated backend to Bootstrap 4, overhauled and improved the user interface. -* **RTL**: comprehensive RTL (Right-to-left) and bidi(rectional) support. -* Search engine friendly topic URLs -* Compliance with **EU-GDPR** requirements -* **Enhanced MegaMenu \***: virtual dropdowns for surplus top-level categories and brands. -* **Honeypot** bot detection for registration and contact forms. -* **Amazon Pay**: - * Supports merchants registered in the USA and Japan - * External authentication via *Login with Amazon* button in shop frontend - * Several improvements through the new *Login and pay with Amazon* services -* **Image processing**: new processing and caching strategy! Thumbnails are not created synchronously during the main request anymore, instead a new middleware route defers processing until an image is requested by any client. -* **TinyImage \***: scores ultra-high image compression rates (up to 80 %!) and enables WebP support. -* **UrlRewriter \***: define URL redirection rules in the backend using *mod_rewrite* notation. -* **Address formatting** templates by country -* **Language packs**: downloader & auto-importer for packages available online. -* ...and a lot more new features, enhancements and fixes - -\* Commercial plugin + +Smartstore.NET V3.2.0 has been released on 10 May, 2019. The highlights are: + +* (NEW) **Page Builder**: Create fascinating content that will boost your sales. No coding is required thanks to a powerful WYSIWYG editor which utilizes the revolutionary *CSS Grid* system (commercial plugin) +* (NEW) **Menu Builder**: Visual manager for all sorts of menus. Change existing menus or create your own and place them anywhere you want. +* (Perf) **Faster MegaSearch** thanks to Lucene.NET 4.8 +* (Perf) **Huge performance increase** in discount resolution and calculation. ## Try it online -We have set up a live online demo for you so you are able to test SmartStore.NET without local installation. Get a first impression and test all available features in the front- and in the backend. Please keep in mind that the backend demo is shared and other testers can modify data at the same time. +We have set up a live online demo for you so you are able to test Smartstore.NET without local installation. Get a first impression and test all available features in the front- and in the backend. Please keep in mind that the backend demo is shared and other testers can modify data at the same time. * [**Frontend**](http://frontend.smartstore.net/en) (User: demo, PWD: 1234) * [**Backend**](http://backend.smartstore.net/en/login) (User: demo, PWD: 1234) + + ## How to install * Download the latest stable release from the download tab and unzip it to your web folder @@ -96,7 +122,7 @@ We have set up a live online demo for you so you are able to test SmartStore.NET * Fire up your browser and follow the installation instructions * Enjoy ;-) -NOTE: SmartStore.NET 3 requires [Visual C++ Redistributable für Visual Studio 2015](https://www.microsoft.com/en-US/download/details.aspx?id=52685) which is already pre-installed on most systems. If, nevertheless, it is missing on your web server, just download and execute the installer or ask your hosting provider to do that for you. +NOTE: Smartstore.NET 3 requires [Visual C++ Redistributable für Visual Studio 2015](https://www.microsoft.com/en-US/download/details.aspx?id=52685) which is already pre-installed on most systems. If, nevertheless, it is missing on your web server, just download and execute the installer or ask your hosting provider to do that for you. ### System requirements @@ -107,6 +133,7 @@ NOTE: SmartStore.NET 3 requires [Visual C++ Redistributable für Visual Studio 2 * Full Trust + ## License -SmartStore.NET Community Edition is released under the [GPLv3 license](http://www.gnu.org/licenses/gpl-3.0.txt). +Smartstore.NET Community Edition is released under the [GPLv3 license](http://www.gnu.org/licenses/gpl-3.0.txt). diff --git a/SmartStoreNET.Tasks.Targets b/SmartStoreNET.Tasks.Targets index fec484de68..080c78d497 100644 --- a/SmartStoreNET.Tasks.Targets +++ b/SmartStoreNET.Tasks.Targets @@ -39,7 +39,7 @@ x86 $(BUILD_NUMBER) - 3.1.5 + 3.2.2 $(StageFolder) .$(Version) @@ -90,21 +90,20 @@ - - - - - - - - - - + + + + + + + + + @@ -126,6 +125,7 @@ + @@ -137,9 +137,9 @@ OutDir=$(StageFolder)\Administration\bin\;Configuration=$(Configuration)" /> - - - + + + @@ -159,11 +159,11 @@ - - + + - - + + diff --git a/assets/SmartStoreNET.png b/assets/SmartStoreNET.png deleted file mode 100644 index 1fc5ca5409..0000000000 Binary files a/assets/SmartStoreNET.png and /dev/null differ diff --git a/assets/smartstore-icon.png b/assets/smartstore-icon.png new file mode 100644 index 0000000000..e6414db195 Binary files /dev/null and b/assets/smartstore-icon.png differ diff --git a/assets/smartstore-text.png b/assets/smartstore-text.png new file mode 100644 index 0000000000..25bf9558fb Binary files /dev/null and b/assets/smartstore-text.png differ diff --git a/build.bat b/build.bat index ef0004b549..94a6c72519 100644 --- a/build.bat +++ b/build.bat @@ -1,37 +1,45 @@ +SETLOCAL ENABLEDELAYEDEXPANSION + for /f "usebackq tokens=1* delims=: " %%i in (`lib\vswhere\vswhere -latest -requires Microsoft.Component.MSBuild`) do ( - if /i "%%i"=="installationPath" set InstallDir=%%j + if /i "%%i"=="installationPath" ( + set InstallDir=%%j + echo !InstallDir! + if exist "!InstallDir!\MSBuild\15.0\Bin\MSBuild.exe" ( + echo "Using MSBuild from Visual Studio 2017" + set msbuild="!InstallDir!\MSBuild\15.0\Bin\MSBuild.exe" + goto build + ) + if exist "!InstallDir!\MSBuild\Current\Bin\MSBuild.exe" ( + echo "Using MSBuild from Visual Studio 2019" + set msbuild="!InstallDir!\MSBuild\Current\Bin\MSBuild.exe" + goto build + ) + ) ) FOR %%b in ( - "%InstallDir%\Common7\Tools\VsMSBuildCmd.bat" - "%VS140COMNTOOLS%\Common7\Tools\vsvars32.bat" + "%VS150COMNTOOLS%\vsvars32.bat" + "%VS140COMNTOOLS%\vsvars32.bat" + "%VS120COMNTOOLS%\vsvars32.bat" + "%VS110COMNTOOLS%\vsvars32.bat" ) do ( if exist %%b ( - call %%b - goto findmsbuild + echo "Using MSBuild from %%b" + call %%b + set msbuild="msbuild" + goto build ) ) echo "Unable to detect suitable environment. Build may not succeed." -:findmsbuild - -SETLOCAL ENABLEDELAYEDEXPANSION - -if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" ( - if not defined MsBuildPath ( - SET "MsBuildPath=%InstallDir%\MSBuild\15.0\Bin\MsBuild.exe" - goto build - ) -) - - -echo "Unable to detect suitable MsBuild version (15.0). Build may not succeed." - :build + cd /d %~dp0 echo "Restoring NuGet packages" lib\nuget\nuget.exe restore "src\SmartStoreNET.sln" -call "!MsBuildPath!" SmartStoreNET.proj /p:SlnName=SmartStoreNET /m /p:DebugSymbols=false /p:DebugType=None /maxcpucount %* +%msbuild% SmartStoreNET.proj /p:SlnName=SmartStoreNET /m /p:DebugSymbols=false /p:DebugType=None /maxcpucount %* + +:end diff --git a/changelog.md b/changelog.md index fc15d24f94..81357cca18 100644 --- a/changelog.md +++ b/changelog.md @@ -1,88 +1,192 @@ -# Release Notes +# Release Notes + +## SmartStore.NET 3.2.2 + +### New Features +* External category links: alternative links for categories in the main menu and in category listings. +* Page Builder: multistore support for stories. +* #1639 Shipping.ByTotal: Add option to calculate the shipping rate based on the net total instead of the gross total. +* #1537 Implement "Ratenzahlung powered by PayPal" provider. +* New Heidelpay payment plugin. +* Shop-Connector: mapping of product SKUs that differ between client shops. +* MegaMenu supports configuration of menu items + + +### Improvements +* Amazon Pay: PSD2. Strong customer authentication (SCA) upgrade. +* Updated *MaxMind.GeoIP* library and country database +* Removed HTML encoding for meta tags and document title. +* #1662 Quantity Units: added field for name pluralization. +* (SEO) combined SSL and canonical host 301 redirections to prevent successive redirects. +* (SEO) Activated GZIP compression for all dynamic and static responses. +* Set max. file upload size to 2 GB (globally) +* (Dev) Added a sample block for the *Page Builder* in DevTools plugin. +* Various other minor improvements. +* PayPal PLUS: paying by instalments can be selected in payment wall. +* Payone: send more information to API (e.g. shipping address) to stay as frictionless as possible for PSD2. +* PageBuilder: Added keyboard shortcuts +* #1582 Added structured data to reviews +* BMEcat: added support for import of specification attributes + +### Bugfixes +* Fixed wrong XML sitemap index numbering. +* #1646 Setting ManufacturerItemsToDisplayOnHomepage to 1 will not show any manufacturer. +* #1647 All manufacturers page: link of last character missing in alphabetical letter list. +* #1664 RTL: CMS menu issues in backend. +* #1677 Page Builder: moving and resizing blocks via drag & drop didn't work correctly in RTL. +* Do not adjust inventory twice when an order is cancelled and deleted. +* #1500 Fallback to fixed VAT rate instead of rate by region for countries that are not subject to vat. +* Fixed "The entity wrapper stored in the proxy does not reference the same proxy" when copying an export profile. +* Various other minor fixes. +* BMEcat: set TaxCategoryId & MainPictureId for newly imported products + + + +## SmartStore.NET 3.2.1 + +### Improvements +* Implemented file range support for CachedFileResult +* Sitemap should only include products visible for current customer, which is the search engine system customer +* Fixed uniform spelling for query string parameter "returnUrl" +* Fixed search engine issue (itemtype, "offers" required) on product detail page +* Summernote: solved html formatting issues thanks to "Beautifier" library +* Media middleware: simplified ETag generation & handling + +### Bugfixes + +* Mega Menu: Product rotator wasn't working +* Tiny Image: Fixed periodic IOException +* URL Rewriter: performance optimization +* Fixed more menu for main catalog navigation +* Fixed DateTime nor expressed as UTC in AzureFile & LocalFile +* Content Slider: Fixed slide display bug on surface and other touch devices +* Content Slider: Randomize slides > Value was stored in database but toggle button has always shown "off" +* Page Builder: Fixed slider bug for list blocks (brand, category, products) in Firefox +* Page Builder: fixes blurry background images in IOS +* Output Cache: action widgets didn't render when they were part of a widgetzone within a donut child action +* Multishop resolution failed under certain circumstances +* Fixed menu issue "collection was modified, enumeration operation may not execute" +* Fixed "The parameters dictionary contains a null entry for parameter 'catId' of non-nullable type 'System.Int32'" +* Fixed discount coupon sometimes wasn't applied +* Fixed "Value cannot be null. Parameter name: key" in order list +* Fixed topic link resolving by system name in multistore environment +* Async event consumers were not guaranteed to be awaited + ## SmartStore.NET 3.2 ### Highlights -* (Perf) #1202 Search: update to Lucene.NET 4.8 -* (Perf) Huge performance increase in discount resolution and calculation +* (NEW) **CMS Page Builder**: Create fascinating content that will boost your sales. No coding is required thanks to a powerful WYSIWYG editor which utilizes the revolutionary *CSS Grid* system (commercial plugin) +* (NEW) **CMS Menu Builder**: Visual manager for all sorts of menus. Change existing menus or create your own and place them anywhere you want. +* (Perf) **Faster MegaSearch** thanks to Lucene.NET 4.8 +* (Perf) **Huge performance increase** in discount resolution and calculation. ### New Features * **EmailReminder**: * Reminders for open shopping carts * Reminders for product reviews * Reminders to visit the shop after a long absence -* #1144 Enable multi server search index -* Made Topic ACL enabled -* Implemented paging & filtering for Topic grid -* Topics: added **IsPublished**, **Short Title** (link text) and **Intro** (teaser) properties. -* New storefront catalog options: **ShowSubCategoriesInSubPages**, **ShowDescriptionInSubPages** & **IncludeFeaturedProductsInSubPages** (Subpage = List index > 1 or any active filter). -* New security option: Use invisible reCAPTCHA +* **Scheduling** + * Task execution history + * Web farms: tasks can run decidedly on each machine of a web farm + * #1144 MegaSearch: multi server search index +* **Topics & Pages** + * Access control lists + * Grid paging & filtering + * New properties: added **IsPublished**, **Short Title** (link text) and **Intro** (teaser) properties. + * #1542: added options to set body CSS class and Html Id. +* **MegaSearch**: + * Supports searching for forum posts. + * #1172 Option to display related search terms on search page. + * Command to continue a previously aborted search index rebuild. +* **Import/export of**: + * Product tags + * Tier prices + * Product attribute options + * Product attribute combinations (update only) +* **Forum**: + * Added option to display a captcha on forum pages when creating or replying to a topic. + * #417 Restrict forum groups to specific customer roles. + * Added published property to forum topic and post. + * Added voting for forum posts. + * Several performance improvements. * **BeezUp**: * #1459 Add option to only submit one category name per product * Allow to specify export categories per product +* **Santander**: + * Added payment method for instalment purchase. + * Added financing calculator. +* Updated icon library to **Font Awesome 5 Free** with the possibility to activate pro version in the frontend. +* New storefront catalog options: **ShowSubCategoriesInSubPages**, **ShowDescriptionInSubPages** & **IncludeFeaturedProductsInSubPages** (Subpage = List index > 1 or any active filter). +* New security option: Use **invisible reCAPTCHA** * Wallet: Allow customer to choose whether refund should be submitted to his wallet. * Added option to display preview pictures in product lists * Added option to add multiple file versions to product download section * Added options for alternating price display (in badges) -* **Forum**: - * Added option to display a captcha on forum pages when creating or replying to a topic. - * #417 Restrict forum groups to specific customer roles. - * Added published property to forum topic and post. - * Added voting for forum posts. - * Several performance improvements. -* **MegaSearch**: - * Supports searching for forum posts. - * #1172 Option to display related search terms on search page. - * Command to continue a previously aborted search index rebuild. -* **Import/export of**: - * Product tags. - * Tier prices. - * Product attribute options. - * Product attribute combinations (update only). * Customer avatar: Letter with colored background if no avatar image was uploaded. * Viveum: Supports payment via "Virtual Account Brands" (e.g. PayPal). * Added options for alternating price display (in badges). * #1515 Poll: Add result tab with a list of answers and customers for a poll * BMEcat: Added export and import of product tags. +* Web-API: Added endpoints for ProductSpecificationAttribute. +* Trusted Shops: Added new Trustbadge display for mobile devices +* (Dev) Added *sm:EfCommandTimeout* setting to web.config (was 30 sec. fixed, now configurable) ### Improvements * (Perf) Significantly increased query performance for products with a lot of category assignments (> 10). +* (Perf) Increased app startup speed by up to 20%. * (Perf) Ultra-fast file-based XML sitemap generation for extremely large catalogs (> 1M) * At least 10x faster * Generated files are saved on the hard disk now: a rebuild after an app restart is no longer necessary. * No exclusive locks during rebuilds anymore: if an (outdated) file already exists, it is returned instantly. +* (Dev) Enhanced pub/sub: new `IConsumer` marker interface for classes that contain one or more event message handlers. The generic `IConsumer` implements `IConsumer` but has been marked as `Obsolete`. +* Better protection against XSS attacks +* Updated to Bootstrap version 4.1.3 * **Debitoor**: * Partially update customer instead of full update to avoid all fields being overwritten. * #1540 Place company name in front of customer name (according to address format of the particular country). + * #1565 Add a button to manually create a draft invoice. * #1479 Show in messages the delivery time at the time of purchase -* #1184 Sort Current shopping carts & Current wishlists by ShoppingCartItem.CreatedOn. +* #1184 Sort current shopping carts & current wishlists by `ShoppingCartItem.CreatedOn`. * #1106 BMECat: import & export support for product keywords -* #1499 Added hint to forms indicating that fields with an asterisk (*) +* #1499 Added hint to forms indicating that fields with an asterisk (*) are required * Added filter for newsletter subscriber export by working language * Refactored download section * Enhanced EntityPicker to pick from customers, manufacturers & categories * #1510 Breadcrumb of an associated product should include the grouped product if it has no assigned categories. * OpenTrans: added customer number to parties -* Do not filter cookie using resources if cookie usage has not yet been consented to +* Do not filter cookie using resources if cookie usage has not yet been consented to. +* #1563 QueuedMessagesClearTask: add a setting for the age of the mails to be deleted. +* #1569 Added a setting to show login note if no prices are displayed due to customer group permissions. +* PayPal PLUS: Up to 10 more third party payment methods are allowed by PayPal now. +* #1560 Tell-a-Friend and anonymous user: render alert box and tell guest to login to use this function +* #1571 Compare products now shows all specification attribute options +* #1539 Signing in is now allowed with e-mail and username +* Trusted Shops: Trustbadge won't be displayed in Popups & Iframes anymore +* #1461 Admin Grid: filter dialog will be displayed entirely even when grid has no data to display +* Lots of minor enhancements for both frontend and admin theme +* Many other minor improvements ### Bugfixes -* In a multi-store environment, multiple topics with the same system name cannot be resolved reliably. +* In a multi-store environment, multiple topics with the same system name can now be resolved reliably. * **GMC**: * Export the product images if no attribute images are defined * Do not export the first image twice for additional images * Export image URL of full size image (not default size) for additional images + * Custom labels are now being exported * Media middleware: 0-byte files should be treated as missing. -* Megamenu alpha/omega blends do not toggle correctly on touch devices +* Megamenu alpha/omega blends do now toggle correctly on touch devices * Summernote HTML editor exceeds parent container width when CodeMirror is activated * Only display a zero search hits warning if at least one filter is activated * #1436 Do not display delivery time in customer order completed messages * "ArgumentNullException: The value must not be NULL" if a topic is password protected * Tax by region: Fixes after inserting a tax rate country column shows "Unavailable" * #1014 Switching to default language keeps specific URL alias of current page -* Shipping by total: Fixes when inserting a record the country was not saved -* #1460 Editing of the customer title is missing on customer and address pages in the backend +* Shipping by total: When inserting a record the country now will be saved +* #1460 Editing of the customer title was missing on customer and address pages in the backend * #1447 Checkout button payment methods (Amazon, PayPal Express) won't work in conjunction with mandatory checkout attributes -* When creating a topic, the widget zone input shows System.String[] +* Fixed Autofac circularity error +* When creating a topic, the widget zone input has shown System.String[] * Switching the language always redirected to the home page if SEO friendly URLs was deactivated. * File upload of a checkout attribute was not stored on cart page. * Redirecting within checkout may have displayed an incorrect URL in the browser. @@ -91,19 +195,27 @@ * In a multi-store, message templates may have loaded the wrong disclaimer and conditions-of-use text. * NullReferenceException in manufacturer list when there is no manufacturer. * Wrong order of featured products on category page. -* #1504 Cart item price calculation wrong if attribute combinations with text types are involved. -* #1485 Dropdown list for product sorting does not work with Internet Explorer 11. -* #1468 Twitter authentication not working anymore. +* #1504 Cart item price calculation was wrong if attribute combinations with text types were involved. +* #1485 Dropdown list for product sorting didn't not work with Internet Explorer 11. +* #1468 Twitter authentication wasn't working anymore. * Newsletter subscription didn't work when customer privacy setting DisplayGdprConsentOnForms was turned off * Fixed social media image detection * Fixed redirection of bots when several languages were active * Region cannot be selected in checkout when entering a billing or shipping address * Fixed invalid conversion of "System.Int32" to "SmartStore.Core.Domain.Tax.VatNumberStatus" when placing an order * MegaMenu: Improved item rendering for third tier elements -* Product display order on category and manufacturer pages sometimes wrong when using linq search. +* Product display order on category and manufacturer pages was sometimes wrong when using linq search. * Debitoor: Wrong invoice total if a subtotal discount has been applied. * Import: Fixes invalid conversion "System.Double" to "SmartStore.Core.Domain.Catalog.QuantityControlType". -* Topics: Fixes "Cannot insert duplicate key row in object 'dbo.UrlRecord' with unique index 'IX_UrlRecord_Slug'" +* Topics: Fixes "Cannot insert duplicate key row in object 'dbo.UrlRecord' with unique index 'IX_UrlRecord_Slug'". +* #1566 Santander: eliminate the 1 cent rounding difference at amountTotalNet. +* Fixed redirection to the homepage for pages which are loaded while the application is restarted. +* #1570 Filter option "Only deactivated customers" filters deleted instead of deactivated customers. +* #1475 select boxes must be wrapped on mobile devices if data-select-url is set +* Fixed the redirection to the homepage for pages which were loaded while the application was restarted +* Fixes product feeds expect a different base price formatting. +* #1369 Shopping cart shows "Discount code applied", although it is not applied due to a lower tier price. +* Many other fixes... ## SmartStore.NET 3.1.5 @@ -362,7 +474,7 @@ * Added config setting *sm:PdfEngineBaseUrl*. There are cases where the PDF converter exits with a network error, when it is unable to load automatically resolved URLs. * (Dev) Added *Retry* utility class * #1176 Admin > Product Search: It ain't possible to search for parts of a product name - + ### Bugfixes * #1145: Fixed HTTP 404 after switching language * Fixed null reference exception in product lists if sorting is not allowed @@ -650,7 +762,8 @@ * #495 Implement option to search product detail description by default ### Improvements -* (Perf) Implemented static caches for URL aliases and localized properties. Increases app startup and request speed by up to 30%. +* (Perf) Implemented static caches for URL aliases and localized properties. Increases +* and request speed by up to 30%. * (Perf) Significantly reduced number of database reads during product list rendering. Increases request speed by up to 10%. * (Perf) Implemented 2nd level cache for infrequently changed entities. Increases request speed by up to 10%. * TaskScheduler: Rewritten from scratch to be suitable for Web Farms @@ -1270,7 +1383,7 @@ * [SMNET-202] - SmartTabSelection mit verschachtelten Tabs fehlerhaft nach Reload einer Seite ### Improvement - + * [SMNET-13] - Attributwerte: der Text "Aufpreis" muss um "Minderpreis" erweitert werden. * [SMNET-15] - Umgestaltung der Darstellung der Staffelpreise (Popover ab dem fünften Element) * [SMNET-30] - MessageTemplates teilweise auf Englisch diff --git a/lib/SmartStore.Licensing/SmartStore.Licensing.dll b/lib/SmartStore.Licensing/SmartStore.Licensing.dll index 2c82c7853f..17bf4e2ad9 100644 Binary files a/lib/SmartStore.Licensing/SmartStore.Licensing.dll and b/lib/SmartStore.Licensing/SmartStore.Licensing.dll differ diff --git a/src/AssemblySharedInfo.cs b/src/AssemblySharedInfo.cs index 79225de4c7..b58492422f 100644 --- a/src/AssemblySharedInfo.cs +++ b/src/AssemblySharedInfo.cs @@ -7,6 +7,6 @@ [assembly: AssemblyDescription("SmartStore.NET")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("SmartStore AG")] -[assembly: AssemblyCopyright("Copyright © SmartStore AG 2016")] +[assembly: AssemblyCopyright("Copyright © SmartStore AG 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/src/AssemblyVersionInfo.cs b/src/AssemblyVersionInfo.cs index d9e092d65c..719cd1d6ff 100644 --- a/src/AssemblyVersionInfo.cs +++ b/src/AssemblyVersionInfo.cs @@ -9,7 +9,7 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.1.5.0")] +[assembly: AssemblyVersion("3.2.2.0")] -[assembly: AssemblyFileVersion("3.1.5.0")] -[assembly: AssemblyInformationalVersion("3.1.5.0")] +[assembly: AssemblyFileVersion("3.2.2.0")] +[assembly: AssemblyInformationalVersion("3.2.2.0")] diff --git a/src/Libraries/SmartStore.Core/Async/AsyncLock.cs b/src/Libraries/SmartStore.Core/Async/AsyncLock.cs deleted file mode 100644 index b93da92afc..0000000000 --- a/src/Libraries/SmartStore.Core/Async/AsyncLock.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading; -using System.Threading.Tasks; -using SmartStore.Utilities; - -namespace SmartStore.Core.Async -{ - public sealed class AsyncLock : DisposableObject - { - private static readonly TimeSpan _noTimeout = TimeSpan.FromMilliseconds(-1); - private static readonly ConcurrentDictionary _keyLocks = new ConcurrentDictionary(); - - private readonly SemaphoreSlim _semaphore; - private readonly int _initialCount; - - public AsyncLock() - : this(1, int.MaxValue) - { - } - - public AsyncLock(int initialCount) - : this(initialCount, int.MaxValue) - { - } - - public AsyncLock(int initialCount, int maxCount) - { - _semaphore = new SemaphoreSlim(initialCount, maxCount); - _initialCount = initialCount; - } - - public static AsyncLock Acquire(object key) - { - Guard.NotNull(key, nameof(key)); - - var asyncLock = _keyLocks.GetOrAdd(key, x => new AsyncLock()); - - // Perf: once we have more than 100 lock objects in the storage, remove the idle ones. - if (_keyLocks.Count > 100) - { - // never remove the current one and the locked ones - var idles = _keyLocks.Where(kvp => kvp.Key != key && !kvp.Value.IsLockHeld).ToArray(); - foreach (var kvp in idles) - { - var value = kvp.Value; - // double check for held lock - if (!value.IsLockHeld) - { - _keyLocks.TryRemove(kvp.Key, out value); - } - } - } - - return asyncLock; - } - - public bool IsLockHeld - { - get { return _semaphore.CurrentCount < _initialCount; } - } - - public int Release() - { - return _semaphore.Release(); - } - - public int Release(int releaseCount) - { - return _semaphore.Release(releaseCount); - } - - public Task LockAsync() - { - return LockAsync(_noTimeout, CancellationToken.None); - } - - public Task LockAsync(TimeSpan timeout) - { - return LockAsync(timeout, CancellationToken.None); - } - - public Task LockAsync(CancellationToken cancellationToken) - { - return LockAsync(_noTimeout, cancellationToken); - } - - public Task LockAsync(TimeSpan timeout, CancellationToken cancellationToken) - { - var wait = _semaphore.WaitAsync(timeout, cancellationToken); - - return wait.IsCompleted - ? Task.FromResult(new ActionDisposable(() => _semaphore.Release()) as IDisposable) - : wait.ContinueWith((t, s) => new ActionDisposable(() => ((SemaphoreSlim)s).Release()) as IDisposable, - _semaphore, - CancellationToken.None, - TaskContinuationOptions.ExecuteSynchronously, - TaskScheduler.Default); - } - - protected override void OnDispose(bool disposing) - { - if (disposing) - _semaphore.Dispose(); - } - } -} diff --git a/src/Libraries/SmartStore.Core/Async/AsyncRunner.cs b/src/Libraries/SmartStore.Core/Async/AsyncRunner.cs index 1fce2cc436..2751259eef 100644 --- a/src/Libraries/SmartStore.Core/Async/AsyncRunner.cs +++ b/src/Libraries/SmartStore.Core/Async/AsyncRunner.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; @@ -8,113 +9,166 @@ namespace SmartStore.Core.Async { - public static class AsyncRunner + using EventQueue = ConcurrentQueue>; + + public class AsyncRunner : IDisposable { - private static readonly BackgroundWorkHost _host = new BackgroundWorkHost(); + #region Instance members - /// - /// Gets the global cancellation token which signals the application shutdown - /// - public static CancellationToken AppShutdownCancellationToken + private ExclusiveSynchronizationContext CurrentContext; + private SynchronizationContext OldContext; + private int TaskCount; + + private AsyncRunner() { - get { return _host.ShutdownCancellationTokenSource.Token; } + OldContext = SynchronizationContext.Current; + CurrentContext = new ExclusiveSynchronizationContext(OldContext); + SynchronizationContext.SetSynchronizationContext(CurrentContext); + } + + public void Dispose() + { + try + { + CurrentContext.BeginMessageLoop(); + } + catch (Exception e) + { + throw e; + } + finally + { + SynchronizationContext.SetSynchronizationContext(OldContext); + } + } + + private void Increment() + { + Interlocked.Increment(ref TaskCount); + } + + private void Decrement() + { + Interlocked.Decrement(ref TaskCount); + if (TaskCount == 0) + { + CurrentContext.EndMessageLoop(); + } } /// /// Executes an async Task method which has a void return value synchronously /// - /// Task method to execute - public static void RunSync(Func func) + /// Task execute + public void Run(Task task, Action continuation = null) { - var oldContext = SynchronizationContext.Current; - var synch = new ExclusiveSynchronizationContext(); - SynchronizationContext.SetSynchronizationContext(synch); - synch.Post(async _ => + CurrentContext.Post(async _ => { try { - await func(); + Increment(); + await task; + + continuation?.Invoke(task); } catch (Exception e) { - synch.InnerException = e; - throw; + CurrentContext.InnerException = e; } finally { - synch.EndMessageLoop(); + Decrement(); } }, null); - synch.BeginMessageLoop(); - - SynchronizationContext.SetSynchronizationContext(oldContext); } /// /// Executes an async Task method which has a TResult return type synchronously /// /// Return Type - /// Task method to execute - /// - public static TResult RunSync(Func> func) + /// Task to execute + public TResult Run(Task task, Action> continuation = null) { - var oldContext = SynchronizationContext.Current; - var synch = new ExclusiveSynchronizationContext(); - SynchronizationContext.SetSynchronizationContext(synch); - TResult ret = default(TResult); - synch.Post(async _ => + var result = default(TResult); + + CurrentContext.Post(async _ => { try { - ret = await func(); + Increment(); + result = await task; + + continuation?.Invoke(task); } catch (Exception e) { - synch.InnerException = e; - throw; + CurrentContext.InnerException = e; } finally { - synch.EndMessageLoop(); + Decrement(); } }, null); - synch.BeginMessageLoop(); - SynchronizationContext.SetSynchronizationContext(oldContext); - return ret; - } - public static Task Run(Action action) - { - return Run(action, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); + return result; } - public static Task Run(Action action, CancellationToken cancellationToken) + #endregion + + private static readonly BackgroundWorkHost _host = new BackgroundWorkHost(); + + /// + /// Gets the global cancellation token which signals the application shutdown + /// + public static CancellationToken AppShutdownCancellationToken { - return Run(action, cancellationToken, TaskCreationOptions.None, TaskScheduler.Default); + get { return _host.ShutdownCancellationTokenSource.Token; } } - public static Task Run(Action action, TaskCreationOptions options) + public static AsyncRunner Create() { - return Run(action, CancellationToken.None, options, TaskScheduler.Default); + return new AsyncRunner(); } - public static Task Run(Action action, CancellationToken cancellationToken, TaskCreationOptions options) + /// + /// Executes an async Task method which has a void return value synchronously + /// + /// Task method to execute + public static void RunSync(Func func, Action continuation = null) { - return Run(action, cancellationToken, options, TaskScheduler.Default); + using (var runner = new AsyncRunner()) + { + runner.Run(func(), continuation); + } } - public static Task Run(Action action, TaskScheduler scheduler) + /// + /// Executes an async Task method which has a TResult return type synchronously + /// + /// Return Type + /// Task method to execute + /// + public static TResult RunSync(Func> func, Action> continuation = null) { - return Run(action, CancellationToken.None, TaskCreationOptions.None, scheduler); + var result = default(TResult); + + using (var runner = new AsyncRunner()) + { + result = runner.Run(func(), continuation); + } + + return result; } - public static Task Run(Action action, CancellationToken cancellationToken, TaskCreationOptions options, TaskScheduler scheduler) + public static Task Run( + Action action, + CancellationToken cancellationToken = default(CancellationToken), + TaskCreationOptions options = TaskCreationOptions.LongRunning, + TaskScheduler scheduler = null) { Guard.NotNull(action, nameof(action)); - Guard.NotNull(scheduler, nameof(scheduler)); var ct = _host.CreateCompositeCancellationTokenSource(cancellationToken).Token; - options |= TaskCreationOptions.LongRunning; // enforce an exclusive thread (not from pool) var t = Task.Factory.StartNew(() => { var accessor = EngineContext.Current.ContainerManager.ScopeAccessor; @@ -122,21 +176,24 @@ public static Task Run(Action action, Cancell { action(accessor.GetLifetimeScope(null), ct); } - }, ct, options, scheduler); + }, ct, options, scheduler ?? TaskScheduler.Default); _host.Register(t, ct); return t; } - public static Task Run(Action action, object state, CancellationToken cancellationToken, TaskCreationOptions options, TaskScheduler scheduler) + public static Task Run( + Action action, + object state, + CancellationToken cancellationToken = default(CancellationToken), + TaskCreationOptions options = TaskCreationOptions.LongRunning, + TaskScheduler scheduler = null) { Guard.NotNull(state, nameof(state)); Guard.NotNull(action, nameof(action)); - Guard.NotNull(scheduler, nameof(scheduler)); var ct = _host.CreateCompositeCancellationTokenSource(cancellationToken).Token; - options |= TaskCreationOptions.LongRunning; // enforce an exclusive thread (not from pool) var t = Task.Factory.StartNew((o) => { @@ -145,47 +202,22 @@ public static Task Run(Action action, { action(accessor.GetLifetimeScope(null), ct, o); } - }, state, ct, options, scheduler); + }, state, ct, options, scheduler ?? TaskScheduler.Default); _host.Register(t, ct); return t; } - - - public static Task Run(Func function) - { - return Run(function, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); - } - - public static Task Run(Func function, CancellationToken cancellationToken) - { - return Run(function, cancellationToken, TaskCreationOptions.None, TaskScheduler.Default); - } - - public static Task Run(Func function, TaskCreationOptions options) - { - return Run(function, CancellationToken.None, options, TaskScheduler.Default); - } - - public static Task Run(Func function, CancellationToken cancellationToken, TaskCreationOptions options) - { - return Run(function, cancellationToken, options, TaskScheduler.Default); - } - - public static Task Run(Func function, TaskScheduler scheduler) - { - return Run(function, CancellationToken.None, TaskCreationOptions.None, scheduler); - } - - public static Task Run(Func function, CancellationToken cancellationToken, TaskCreationOptions options, TaskScheduler scheduler) + public static Task Run( + Func function, + CancellationToken cancellationToken = default(CancellationToken), + TaskCreationOptions options = TaskCreationOptions.LongRunning, + TaskScheduler scheduler = null) { Guard.NotNull(function, nameof(function)); - Guard.NotNull(scheduler, nameof(scheduler)); var ct = _host.CreateCompositeCancellationTokenSource(cancellationToken).Token; - options |= TaskCreationOptions.LongRunning; // enforce an exclusive thread (not from pool) var t = Task.Factory.StartNew(() => { @@ -194,21 +226,24 @@ public static Task Run(Func Run(Func function, object state, CancellationToken cancellationToken, TaskCreationOptions options, TaskScheduler scheduler) + public static Task Run( + Func function, + object state, + CancellationToken cancellationToken = default(CancellationToken), + TaskCreationOptions options = TaskCreationOptions.LongRunning, + TaskScheduler scheduler = null) { Guard.NotNull(state, nameof(state)); Guard.NotNull(function, nameof(function)); - Guard.NotNull(scheduler, nameof(scheduler)); var ct = _host.CreateCompositeCancellationTokenSource(cancellationToken).Token; - options |= TaskCreationOptions.LongRunning; // enforce an exclusive thread (not from pool) var t = Task.Factory.StartNew((o) => { @@ -217,19 +252,61 @@ public static Task Run(Func function, + object state, + CancellationToken cancellationToken = default(CancellationToken)) + { + Guard.NotNull(state, nameof(state)); + Guard.NotNull(function, nameof(function)); + + var ct = _host.CreateCompositeCancellationTokenSource(cancellationToken).Token; + + var accessor = EngineContext.Current.ContainerManager.ScopeAccessor; + var scope = accessor.BeginLifetimeScope(null); + + Task task = null; + + try + { + task = function(scope, ct).ContinueWith(x => + { + scope.Dispose(); + }); + _host.Register(task, ct); + } + catch + { + scope.Dispose(); + } + + return task; + } private class ExclusiveSynchronizationContext : SynchronizationContext { private bool _done; - readonly AutoResetEvent _workItemsWaiting = new AutoResetEvent(false); - readonly Queue> _items = new Queue>(); + private readonly AutoResetEvent _workItemsWaiting = new AutoResetEvent(false); + private readonly EventQueue _items; + + public ExclusiveSynchronizationContext(SynchronizationContext old) + { + if (old is ExclusiveSynchronizationContext oldEx) + { + this._items = oldEx._items; + } + else + { + this._items = new EventQueue(); + } + } public Exception InnerException { get; set; } @@ -240,10 +317,7 @@ public override void Send(SendOrPostCallback d, object state) public override void Post(SendOrPostCallback d, object state) { - lock (_items) - { - _items.Enqueue(Tuple.Create(d, state)); - } + _items.Enqueue(Tuple.Create(d, state)); _workItemsWaiting.Set(); } @@ -256,26 +330,19 @@ public void BeginMessageLoop() { while (!_done) { - Tuple task = null; - lock (_items) + if (!_items.TryDequeue(out var task)) { - if (_items.Count > 0) - { - task = _items.Dequeue(); - } + _workItemsWaiting.WaitOne(); } - if (task != null) + else { task.Item1(task.Item2); - if (InnerException != null) // the method threw an exeption + + if (InnerException != null) // method threw an exeption { throw new AggregateException("AsyncHelpers.Run method threw an exception.", InnerException); } } - else - { - _workItemsWaiting.WaitOne(); - } } } @@ -291,7 +358,7 @@ internal class BackgroundWorkHost : IRegisteredObject { private readonly CancellationTokenSource _shutdownCancellationTokenSource = new CancellationTokenSource(); private int _numRunningWorkItems; - + public BackgroundWorkHost() { HostingEnvironment.RegisterObject(this); @@ -337,7 +404,7 @@ public void Register(Task work, CancellationToken cancellationToken) } _numRunningWorkItems++; } - + work.ContinueWith( WorkItemComplete, CancellationToken.None, @@ -353,7 +420,7 @@ private void WorkItemComplete(Task work) lock (this) { num = --_numRunningWorkItems; - isCancellationRequested = _shutdownCancellationTokenSource.IsCancellationRequested; + isCancellationRequested = _shutdownCancellationTokenSource.IsCancellationRequested; } if (num == 0 && isCancellationRequested) { diff --git a/src/Libraries/SmartStore.Core/Caching/CacheScope.cs b/src/Libraries/SmartStore.Core/Caching/CacheScope.cs new file mode 100644 index 0000000000..b705ab10b6 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Caching/CacheScope.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +namespace SmartStore.Core.Caching +{ + public class CacheScope + { + private HashSet _dependencies; + + public CacheScope(string key) + { + Key = key; + } + + public string Key { get; private set; } + + public void AddDependency(string key) + { + if (key == null) + { + return; + } + + if (_dependencies == null) + { + _dependencies = new HashSet(); + } + + _dependencies.Add(key); + } + + public IEnumerable Dependencies + { + get + { + return _dependencies ?? Enumerable.Empty(); + } + } + } +} diff --git a/src/Libraries/SmartStore.Core/Caching/CacheScopeAccessor.cs b/src/Libraries/SmartStore.Core/Caching/CacheScopeAccessor.cs new file mode 100644 index 0000000000..b04e0a7d45 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Caching/CacheScopeAccessor.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using SmartStore.Utilities; + +namespace SmartStore.Core.Caching +{ + public class CacheScopeAccessor : ICacheScopeAccessor + { + private readonly Stack _stack = new Stack(); + + public CacheScopeAccessor() + { + } + + public CacheScope Current + { + get + { + _stack.TryPeek(out var result); + return result; + } + } + + public bool HasScope(string key) + { + return _stack.Any(x => x.Key.IsCaseInsensitiveEqual(key)); + } + + public void PropagateKey(string key) + { + var current = Current; + if (current != null) + { + current.AddDependency(key); + } + } + + public IDisposable BeginScope(string key, bool independent = false) + { + if (Current?.Key == key) + { + // Void if parent scope has the same key. + return ActionDisposable.Empty; + } + + _stack.Push(new CacheScope(key)); + + var action = new ActionDisposable(() => + { + _stack.TryPop(out _); + + if (!independent) + { + PropagateKey(key); + } + }); + + return action; + } + } +} diff --git a/src/Libraries/SmartStore.Core/Caching/ICacheManager.cs b/src/Libraries/SmartStore.Core/Caching/ICacheManager.cs index c28fc3d0ff..855349106f 100644 --- a/src/Libraries/SmartStore.Core/Caching/ICacheManager.cs +++ b/src/Libraries/SmartStore.Core/Caching/ICacheManager.cs @@ -14,8 +14,9 @@ public interface ICacheManager /// /// The type of the item to get /// The cache item key + /// When true, no attemp will be made to invalidate depending/parent cache entries. /// Cached item value or null if item with specified key does not exist in the cache - T Get(string key); + T Get(string key, bool independent = false); /// /// Gets a cache item associated with the specified key or adds the item @@ -25,8 +26,9 @@ public interface ICacheManager /// The cache item key /// Func which returns value to be added to the cache /// Absolute expiration time + /// When true, no attemp will be made to invalidate depending/parent cache entries. /// Cached item value - T Get(string key, Func acquirer, TimeSpan? duration = null); + T Get(string key, Func acquirer, TimeSpan? duration = null, bool independent = false); /// /// Gets a cache item associated with the specified key or - if it doesn't exist in the cache - @@ -36,16 +38,18 @@ public interface ICacheManager /// The cache item key /// Func which returns value to be added to the cache /// Absolute expiration time + /// When true, no attemp will be made to invalidate depending/parent cache entries. /// Cached item value - Task GetAsync(string key, Func> acquirer, TimeSpan? duration = null); + Task GetAsync(string key, Func> acquirer, TimeSpan? duration = null, bool independent = false); /// /// Gets a hashset associated with the specified key or. If key does not exist, /// a new set is created and put to cache automatically /// /// The set cache item key + /// Optional acquirer callback that is invoked when requested set does not exist yet. /// Cached item value - ISet GetHashSet(string key); + ISet GetHashSet(string key, Func> acquirer = null); /// /// Adds a cache item with the specified key @@ -53,7 +57,10 @@ public interface ICacheManager /// Key /// Value /// Absolute expiration time - void Put(string key, object value, TimeSpan? duration = null); + /// + /// A list of keys for cache entries that should be removed from the cache whenever this entry changes. + /// + void Put(string key, object value, TimeSpan? duration = null, IEnumerable dependencies = null); /// /// Gets a value indicating whether the value associated with the specified key is cached diff --git a/src/Libraries/SmartStore.Core/Caching/ICacheScopeAccessor.cs b/src/Libraries/SmartStore.Core/Caching/ICacheScopeAccessor.cs new file mode 100644 index 0000000000..a640e6b200 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Caching/ICacheScopeAccessor.cs @@ -0,0 +1,34 @@ +using System; + +namespace SmartStore.Core.Caching +{ + public interface ICacheScopeAccessor + { + /// + /// Returns the current cache acquire scope (for current thread) + /// + CacheScope Current { get; } + + /// + /// Whether any scope with the passed exists already. Used to prevent lock recursions. + /// + /// Key + bool HasScope(string key); + + /// + /// Notifies the current scope about a cache dependency. + /// + /// + void PropagateKey(string key); + + /// + /// Begins a new cache acquire scope. + /// + /// Key + /// + /// true means that no key propagation will be performed, making the current cache entry independent from its parent. + /// Meaning: parent cache entries will not be auto-invalidated when this entry changes. + /// + IDisposable BeginScope(string key, bool independent = false); + } +} diff --git a/src/Libraries/SmartStore.Core/Caching/ISet.cs b/src/Libraries/SmartStore.Core/Caching/ISet.cs index 59decb5d52..d0bff72bd7 100644 --- a/src/Libraries/SmartStore.Core/Caching/ISet.cs +++ b/src/Libraries/SmartStore.Core/Caching/ISet.cs @@ -6,6 +6,7 @@ namespace SmartStore.Core.Caching public interface ISet : IEnumerable { bool Add(string item); + void AddRange(IEnumerable items); void Clear(); bool Contains(string item); bool Remove(string item); diff --git a/src/Libraries/SmartStore.Core/Caching/MemoryCacheManager.cs b/src/Libraries/SmartStore.Core/Caching/MemoryCacheManager.cs index 89a2c707e6..a00224784d 100644 --- a/src/Libraries/SmartStore.Core/Caching/MemoryCacheManager.cs +++ b/src/Libraries/SmartStore.Core/Caching/MemoryCacheManager.cs @@ -4,27 +4,37 @@ using System.Threading.Tasks; using System.Collections.Concurrent; using System.Threading; -using SmartStore.Core.Async; -using System.Collections; using System.Collections.Generic; using SmartStore.Utilities; using System.Text.RegularExpressions; +using System.Diagnostics; +using SmartStore.Utilities.Threading; +using SmartStore.Core.Infrastructure.DependencyManagement; namespace SmartStore.Core.Caching { public partial class MemoryCacheManager : DisposableObject, ICacheManager { + const string LockRecursionExceptionMessage = "Acquiring identical cache items recursively is not supported. Key: {0}"; + // Wwe put a special string into cache if value is null, // otherwise our 'Contains()' would always return false, // which is bad if we intentionally wanted to save NULL values. public const string FakeNull = "__[NULL]__"; - private readonly MemoryCache _cache; + private readonly Work _scopeAccessor; + private MemoryCache _cache; private readonly ConcurrentDictionary _keyLocks = new ConcurrentDictionary(); - public MemoryCacheManager() + public MemoryCacheManager(Work scopeAccessor) { - _cache = new MemoryCache("SmartStore"); + _scopeAccessor = scopeAccessor; + _cache = CreateCache(); + } + + private MemoryCache CreateCache() + { + return new MemoryCache("SmartStore"); } public bool IsDistributedCache @@ -32,7 +42,7 @@ public bool IsDistributedCache get { return false; } } - private bool TryGet(string key, out T value) + private bool TryGet(string key, bool independent, out T value) { value = default(T); @@ -40,6 +50,12 @@ private bool TryGet(string key, out T value) if (obj != null) { + // Make the parent scope's entry depend on this + if (!independent) + { + _scopeAccessor.Value.PropagateKey(key); + } + if (obj.Equals(FakeNull)) { return true; @@ -52,65 +68,74 @@ private bool TryGet(string key, out T value) return false; } - public T Get(string key) + public T Get(string key, bool independent = false) { - T value; - TryGet(key, out value); - + TryGet(key, independent, out T value); return value; } - public T Get(string key, Func acquirer, TimeSpan? duration = null) + public T Get(string key, Func acquirer, TimeSpan? duration = null, bool independent = false) { - T value; - - if (TryGet(key, out value)) + if (TryGet(key, independent, out T value)) { return value; } - lock (String.Intern(key)) + if (_scopeAccessor.Value.HasScope(key)) { - // atomic operation must be outer locked - if (!TryGet(key, out value)) + throw new LockRecursionException(LockRecursionExceptionMessage.FormatInvariant(key)); + } + + // Get the (semaphore) locker specific to this key + using (KeyedLock.Lock("cache:" + key, TimeSpan.FromMinutes(1))) + { + // Atomic operation must be outer locked + if (!TryGet(key, independent, out value)) { - value = acquirer(); - Put(key, value, duration); - return value; + using (_scopeAccessor.Value.BeginScope(key)) + { + value = acquirer(); + Put(key, value, duration, _scopeAccessor.Value.Current.Dependencies); + return value; + } } } return value; } - public async Task GetAsync(string key, Func> acquirer, TimeSpan? duration = null) + public async Task GetAsync(string key, Func> acquirer, TimeSpan? duration = null, bool independent = false) { - T value; - - if (TryGet(key, out value)) + if (TryGet(key, independent, out T value)) { return value; } - // get the async (semaphore) locker specific to this key - var keyLock = AsyncLock.Acquire(key); + if (_scopeAccessor.Value.HasScope(key)) + { + throw new LockRecursionException(LockRecursionExceptionMessage.FormatInvariant(key)); + } - using (await keyLock.LockAsync()) + // Get the async (semaphore) locker specific to this key + using (await KeyedLock.LockAsync("cache:" + key, TimeSpan.FromMinutes(1))) { - if (!TryGet(key, out value)) + if (!TryGet(key, independent, out value)) { - value = await acquirer().ConfigureAwait(false); - Put(key, value, duration); - return value; + using (_scopeAccessor.Value.BeginScope(key)) + { + value = await acquirer(); + Put(key, value, duration, _scopeAccessor.Value.Current.Dependencies); + return value; + } } } return value; } - public void Put(string key, object value, TimeSpan? duration = null) + public void Put(string key, object value, TimeSpan? duration = null, IEnumerable dependencies = null) { - _cache.Set(key, value ?? FakeNull, GetCacheItemPolicy(duration)); + _cache.Set(key, value ?? FakeNull, GetCacheItemPolicy(duration, dependencies)); } public bool Contains(string key) @@ -135,39 +160,53 @@ public IEnumerable Keys(string pattern) } var wildcard = new Wildcard(pattern, RegexOptions.IgnoreCase); - return keys.Where(x => wildcard.IsMatch(x)); + return keys.Where(x => wildcard.IsMatch(x)).ToArray(); } public int RemoveByPattern(string pattern) { - var keysToRemove = Keys(pattern); - int count = 0; - lock (_cache) { + var keysToRemove = Keys(pattern); + int count = 0; + // lock atomic operation foreach (string key in keysToRemove) { _cache.Remove(key); count++; } - } - return count; + return count; + } } public void Clear() { - RemoveByPattern("*"); - } + // Faster way of clearing cache: https://stackoverflow.com/questions/8043381/how-do-i-clear-a-system-runtime-caching-memorycache + var oldCache = Interlocked.Exchange(ref _cache, CreateCache()); + oldCache.Dispose(); + GC.Collect(); + } - public virtual ISet GetHashSet(string key) + public virtual ISet GetHashSet(string key, Func> acquirer = null) { - var set = Get(key, () => new MemorySet(this)); - return set; + var result = Get(key, () => + { + var set = new MemorySet(this); + var items = acquirer?.Invoke(); + if (items != null) + { + set.AddRange(items); + } + + return set; + }); + + return result; } - private CacheItemPolicy GetCacheItemPolicy(TimeSpan? duration) + private CacheItemPolicy GetCacheItemPolicy(TimeSpan? duration, IEnumerable dependencies) { var absoluteExpiration = ObjectCache.InfiniteAbsoluteExpiration; @@ -175,16 +214,35 @@ private CacheItemPolicy GetCacheItemPolicy(TimeSpan? duration) { absoluteExpiration = DateTime.UtcNow + duration.Value; } - + var cacheItemPolicy = new CacheItemPolicy { AbsoluteExpiration = absoluteExpiration, SlidingExpiration = ObjectCache.NoSlidingExpiration }; + + if (dependencies != null && dependencies.Any()) + { + // INFO: we can only depend on existing items, otherwise this entry will be removed immediately. + dependencies = dependencies.Where(x => x != null && _cache.Contains(x)); + if (dependencies.Any()) + { + cacheItemPolicy.ChangeMonitors.Add(_cache.CreateCacheEntryChangeMonitor(dependencies)); + } + } + + //cacheItemPolicy.RemovedCallback = OnRemoveEntry; return cacheItemPolicy; } + //private void OnRemoveEntry(CacheEntryRemovedArguments args) + //{ + // if (args.RemovedReason == CacheEntryRemovedReason.ChangeMonitorChanged) + // { + // Debug.WriteLine("MEMCACHE: remove depending entry '{0}'.".FormatInvariant(args.CacheItem.Key)); + // } + //} protected override void OnDispose(bool disposing) { diff --git a/src/Libraries/SmartStore.Core/Caching/MemorySet.cs b/src/Libraries/SmartStore.Core/Caching/MemorySet.cs index 51254daa26..c88cacd703 100644 --- a/src/Libraries/SmartStore.Core/Caching/MemorySet.cs +++ b/src/Libraries/SmartStore.Core/Caching/MemorySet.cs @@ -16,6 +16,11 @@ public MemorySet(ICacheManager cache) _cache = cache; } + public void AddRange(IEnumerable items) + { + base.UnionWith(items); + } + public bool Move(string destinationKey, string item) { if (this.Contains(item)) diff --git a/src/Libraries/SmartStore.Core/Caching/NullCache.cs b/src/Libraries/SmartStore.Core/Caching/NullCache.cs index ae8d19b285..e75abfd91d 100644 --- a/src/Libraries/SmartStore.Core/Caching/NullCache.cs +++ b/src/Libraries/SmartStore.Core/Caching/NullCache.cs @@ -23,12 +23,12 @@ public bool IsDistributedCache get { return false; } } - public T Get(string key) + public T Get(string key, bool independent = false) { return default(T); } - public T Get(string key, Func acquirer, TimeSpan? duration = null) + public T Get(string key, Func acquirer, TimeSpan? duration = null, bool independent = false) { if (acquirer == null) { @@ -37,7 +37,7 @@ public T Get(string key, Func acquirer, TimeSpan? duration = null) return acquirer(); } - public Task GetAsync(string key, Func> acquirer, TimeSpan? duration = null) + public Task GetAsync(string key, Func> acquirer, TimeSpan? duration = null, bool independent = false) { if (acquirer == null) { @@ -47,12 +47,12 @@ public Task GetAsync(string key, Func> acquirer, TimeSpan? duratio } - public ISet GetHashSet(string key) + public ISet GetHashSet(string key, Func> acquirer = null) { return new MemorySet(this); } - public void Put(string key, object value, TimeSpan? duration = null) + public void Put(string key, object value, TimeSpan? duration = null, IEnumerable dependencies = null) { } diff --git a/src/Libraries/SmartStore.Core/Collections/ConcurrentMultimap.cs b/src/Libraries/SmartStore.Core/Collections/ConcurrentMultimap.cs index 0e02723ec4..86d5b00249 100644 --- a/src/Libraries/SmartStore.Core/Collections/ConcurrentMultimap.cs +++ b/src/Libraries/SmartStore.Core/Collections/ConcurrentMultimap.cs @@ -4,6 +4,8 @@ using System.Collections.Concurrent; using System.Linq; using Newtonsoft.Json; +using SmartStore.Utilities; +using System.Threading; namespace SmartStore.Collections { @@ -14,40 +16,65 @@ namespace SmartStore.Collections /// The type of value. [JsonConverter(typeof(ConcurrentMultiMapConverter))] [Serializable] - public class ConcurrentMultimap : IEnumerable>> + public class ConcurrentMultimap : IEnumerable>> { - private readonly ConcurrentDictionary> _items; - private static readonly Func, IProducerConsumerCollection> _bagCreator = (col) => new ConcurrentBag(col); + private readonly ConcurrentDictionary> _dict; + private readonly Func, ICollection> _collectionCreator; public ConcurrentMultimap() - : this(null, null) + : this(null, null, null) { } public ConcurrentMultimap(IEqualityComparer comparer) - : this(null, comparer) + : this(null, comparer, null) { } - public ConcurrentMultimap(IEnumerable>> items) - : this(items, null) + public ConcurrentMultimap(IEnumerable>> items) + : this(items, null, null) { // for serialization } - public ConcurrentMultimap(IEnumerable>> items, IEqualityComparer comparer) + public ConcurrentMultimap( + IEnumerable>> items, + IEqualityComparer comparer) + : this(items, comparer, null) { - _items = new ConcurrentDictionary>(comparer ?? EqualityComparer.Default); + // for serialization + } + + public ConcurrentMultimap( + IEnumerable>> items, + IEqualityComparer comparer, + Func, ICollection> collectionCreator) + { + _collectionCreator = collectionCreator; + _dict = new ConcurrentDictionary>( + ConvertItems(items), + comparer ?? EqualityComparer.Default); + } + + private IEnumerable>> ConvertItems(IEnumerable>> items) + { + if (items == null) + yield break; - if (items != null) + foreach (var item in items) { - foreach (var kvp in items) - { - _items.TryAdd(kvp.Key, _bagCreator(kvp.Value ?? Enumerable.Empty())); - } + yield return new KeyValuePair>(item.Key, CreateCollection(item.Value)); } } + protected virtual SyncedCollection CreateCollection(IEnumerable values) + { + var creator = _collectionCreator ?? Multimap.DefaultCollectionCreator; + var col = creator(values ?? Enumerable.Empty()); + + return col.AsSynchronized(); + } + /// /// Gets the count of groups/keys. /// @@ -55,7 +82,7 @@ public int Count { get { - return _items.Keys.Count; + return _dict.Keys.Count; } } @@ -66,25 +93,33 @@ public int TotalValueCount { get { - return this._items.Values.Sum(x => x.Count); + return this._dict.Values.Sum(x => x.Count); } } + /// + /// Gets the count of items in the requested group. + /// + public int ValueCount(TKey key) + { + if (_dict.TryGetValue(key, out var col)) + { + return col.Count; + } + + return 0; + } + /// /// Gets the collection of values stored under the specified key. /// /// The key. - public virtual IProducerConsumerCollection this[TKey key] + public virtual SyncedCollection this[TKey key] { get { - IProducerConsumerCollection value; - if (!_items.TryGetValue(key, out value)) - { - _items.TryAdd(key, _bagCreator(Enumerable.Empty())); - } - - return value; + GetOrCreateValues(key, null, out var col); + return col; } } @@ -93,15 +128,15 @@ public virtual IProducerConsumerCollection this[TKey key] /// public virtual ICollection Keys { - get { return _items.Keys; } + get { return _dict.Keys; } } /// - /// Gets the collection of collections of values. + /// Gets all value collections. /// - public virtual ICollection> Values + public virtual ICollection> Values { - get { return _items.Values; } + get { return _dict.Values; } } /// @@ -111,7 +146,10 @@ public virtual ICollection> Values /// The value. public virtual void TryAdd(TKey key, TValue value) { - this[key].TryAdd(value); + if (!GetOrCreateValues(key, new[] { value }, out var col)) + { + col.Add(value); + } } /// @@ -123,18 +161,63 @@ public virtual void TryAddRange(TKey key, IEnumerable values) { Guard.NotNull(values, nameof(values)); - values.Each(x => this[key].TryAdd(x)); + if (!GetOrCreateValues(key, values, out var col)) + { + col.AddRange(values); + } + } + + /// + /// Attempts to remove the specified value for the specified key. + /// + /// The key. + /// The value. + /// True if such a value existed and was removed; otherwise false. + public virtual bool TryRemove(TKey key, TValue value) + { + if (!_dict.ContainsKey(key)) + return false; + + var col = _dict[key]; + var removed = false; + + removed = col.Remove(value); + if (col.Count == 0) + { + _dict.TryRemove(key, out _); + } + + return removed; + } + + /// + /// Attempts to remove a range of values for the specified key. + /// + /// The key. + /// The values to remove from the group. + /// True if at least one item in group has been removed; otherwise false. + public virtual bool TryRemoveRange(TKey key, IEnumerable values) + { + Guard.NotNull(values, nameof(values)); + + int numRemoved = 0; + + if (_dict.TryGetValue(key, out var col)) + { + numRemoved = col.RemoveRange(values); + } + + return numRemoved > 0; } /// - /// Attempts to remove all values for the specified key. + /// Attempts to remove and return all values for the specified key. /// /// The key. /// True if any such values existed; otherwise false. - public virtual bool TryRemoveAll(TKey key) + public virtual bool TryRemoveAll(TKey key, out SyncedCollection collection) { - IProducerConsumerCollection collection; - return _items.TryRemove(key, out collection); + return _dict.TryRemove(key, out collection); } /// @@ -142,7 +225,7 @@ public virtual bool TryRemoveAll(TKey key) /// public virtual void Clear() { - _items.Clear(); + _dict.Clear(); } /// @@ -152,7 +235,7 @@ public virtual void Clear() /// True if the multimap has one or more values for the specified key, otherwise false. public virtual bool ContainsKey(TKey key) { - return _items.ContainsKey(key); + return _dict.ContainsKey(key); } /// @@ -163,7 +246,7 @@ public virtual bool ContainsKey(TKey key) /// True if the multimap contains such a value; otherwise, false. public virtual bool ContainsValue(TKey key, TValue value) { - return _items.ContainsKey(key) && _items[key].Contains(value); + return _dict.ContainsKey(key) && _dict[key].Contains(value); } /// @@ -179,12 +262,26 @@ IEnumerator IEnumerable.GetEnumerator() /// Returns an enumerator that iterates through the multimap. /// /// An object that can be used to iterate through the multimap. - public virtual IEnumerator>> GetEnumerator() + public virtual IEnumerator>> GetEnumerator() { - foreach (var pair in _items) + foreach (var pair in _dict) yield return pair; } + private bool GetOrCreateValues(TKey key, IEnumerable initial, out SyncedCollection col) + { + // Return true when created + var created = false; + + col = _dict.GetOrAdd(key, k => + { + created = true; + return CreateCollection(initial); + }); + + return created; + } + #region Static members public static ConcurrentMultimap CreateFromLookup(ILookup source) diff --git a/src/Libraries/SmartStore.Core/Collections/MostRecentlyUsedList.cs b/src/Libraries/SmartStore.Core/Collections/MostRecentlyUsedList.cs deleted file mode 100644 index 114c4e24bf..0000000000 --- a/src/Libraries/SmartStore.Core/Collections/MostRecentlyUsedList.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.Linq; - -namespace SmartStore.Collections -{ - public class MostRecentlyUsedList : IEnumerable - { - private readonly int _maxSize; - private readonly List _mru; - - public MostRecentlyUsedList(int maxSize) - { - _maxSize = maxSize; - _mru = new List(); - } - - public MostRecentlyUsedList(IEnumerable collection, int maxSize) - { - _maxSize = maxSize; - _mru = collection.ToList(); - - Normalize(); - } - - public MostRecentlyUsedList(string collection, int maxSize) - { - _maxSize = maxSize; - _mru = collection.SplitSafe(Delimiter).Cast().ToList(); - - Normalize(); - } - - public MostRecentlyUsedList(IEnumerable collection, T newItem, int maxSize) - { - _maxSize = maxSize; - _mru = collection.ToList(); - - Add(newItem); - } - - public MostRecentlyUsedList(string collection, T newItem, int maxSize) - { - _maxSize = maxSize; - _mru = collection.SplitSafe(Delimiter).Cast().Distinct().ToList(); - - Add(newItem); - } - - public static string Delimiter { get { return ";"; } } - - private void Normalize() - { - if (_maxSize >= 0) - { - while (_mru.Count > _maxSize) - _mru.RemoveAt(_mru.Count - 1); - } - } - - public IEnumerator GetEnumerator() - { - return _mru.GetEnumerator(); - } - - IEnumerator IEnumerable.GetEnumerator() - { - return _mru.GetEnumerator(); - } - - public override string ToString() - { - return string.Join(Delimiter, _mru); - } - - public T this[int key] - { - get - { - return _mru[key]; - } - set - { - _mru[key] = value; - } - } - - public int Count { get { return _mru.Count; } } - - public void Add(T item) - { - int i = _mru.IndexOf(item); - if (i > -1) - _mru.RemoveAt(i); - - _mru.Insert(0, item); - - Normalize(); - } - } -} diff --git a/src/Libraries/SmartStore.Core/Collections/MultiMap.cs b/src/Libraries/SmartStore.Core/Collections/MultiMap.cs index 6c8f85fc78..738ffab5fa 100644 --- a/src/Libraries/SmartStore.Core/Collections/MultiMap.cs +++ b/src/Libraries/SmartStore.Core/Collections/MultiMap.cs @@ -1,7 +1,6 @@ using System; using System.Collections; using System.Collections.Generic; -using System.Collections.Concurrent; using System.Linq; using System.Linq.Expressions; using Newtonsoft.Json; @@ -17,11 +16,12 @@ namespace SmartStore.Collections [Serializable] public class Multimap : IEnumerable>> { - private readonly IDictionary> _items; + private readonly IDictionary> _dict; private readonly Func, ICollection> _collectionCreator; private readonly bool _isReadonly = false; - private readonly static Func, ICollection> _defaultCollectionCreator = x => new List(x ?? Enumerable.Empty()); + internal readonly static Func, ICollection> DefaultCollectionCreator = + x => new List(x ?? Enumerable.Empty()); public Multimap() : this(EqualityComparer.Default) @@ -30,8 +30,8 @@ public Multimap() public Multimap(IEqualityComparer comparer) { - _items = new Dictionary>(comparer ?? EqualityComparer.Default); - _collectionCreator = _defaultCollectionCreator; + _dict = new Dictionary>(comparer ?? EqualityComparer.Default); + _collectionCreator = DefaultCollectionCreator; } public Multimap(Func, ICollection> collectionCreator) @@ -49,7 +49,7 @@ internal Multimap(IDictionary> dictionary, Func> dictionary, bool isRea { Guard.NotNull(dictionary, nameof(dictionary)); - _items = dictionary; + _dict = dictionary; if (isReadonly && dictionary != null) { @@ -81,21 +81,20 @@ public Multimap(IEnumerable>> items, IEqu // for serialization Guard.NotNull(items, nameof(items)); - _items = new Dictionary>(comparer ?? EqualityComparer.Default); - _collectionCreator = _defaultCollectionCreator; + _dict = new Dictionary>(comparer ?? EqualityComparer.Default); if (items != null) { foreach (var kvp in items) { - _items[kvp.Key] = CreateCollection(kvp.Value); + _dict[kvp.Key] = CreateCollection(kvp.Value); } } } protected virtual ICollection CreateCollection(IEnumerable values) { - return (_collectionCreator ?? _defaultCollectionCreator)(values ?? Enumerable.Empty()); + return (_collectionCreator ?? DefaultCollectionCreator)(values ?? Enumerable.Empty()); } /// @@ -105,7 +104,7 @@ public int Count { get { - return this._items.Keys.Count; + return this._dict.Keys.Count; } } @@ -116,7 +115,7 @@ public int TotalValueCount { get { - return this._items.Values.Sum(x => x.Count); + return this._dict.Values.Sum(x => x.Count); } } @@ -128,15 +127,15 @@ public virtual ICollection this[TKey key] { get { - if (!_items.ContainsKey(key)) + if (!_dict.ContainsKey(key)) { if (!_isReadonly) - _items[key] = CreateCollection(null); + _dict[key] = CreateCollection(null); else return null; } - return _items[key]; + return _dict[key]; } } @@ -145,15 +144,15 @@ public virtual ICollection this[TKey key] /// public virtual ICollection Keys { - get { return _items.Keys; } + get { return _dict.Keys; } } - /// - /// Gets the collection of collections of values. - /// + /// + /// Gets all value collections. + /// public virtual ICollection> Values { - get { return _items.Values; } + get { return _dict.Values; } } public IEnumerable Find(TKey key, Expression> predicate) @@ -161,9 +160,9 @@ public IEnumerable Find(TKey key, Expression> predica Guard.NotNull(key, nameof(key)); Guard.NotNull(predicate, nameof(predicate)); - if (_items.ContainsKey(key)) + if (_dict.ContainsKey(key)) { - return _items[key].Where(predicate.Compile()); + return _dict[key].Where(predicate.Compile()); } return Enumerable.Empty(); @@ -188,7 +187,10 @@ public virtual void Add(TKey key, TValue value) /// The values. public virtual void AddRange(TKey key, IEnumerable values) { - CheckNotReadonly(); + if (values == null || !values.Any()) + return; + + CheckNotReadonly(); this[key].AddRange(values); } @@ -203,12 +205,12 @@ public virtual bool Remove(TKey key, TValue value) { CheckNotReadonly(); - if (!_items.ContainsKey(key)) + if (!_dict.ContainsKey(key)) return false; - bool result = _items[key].Remove(value); - if (_items[key].Count == 0) - _items.Remove(key); + bool result = _dict[key].Remove(value); + if (_dict[key].Count == 0) + _dict.Remove(key); return result; } @@ -221,7 +223,7 @@ public virtual bool Remove(TKey key, TValue value) public virtual bool RemoveAll(TKey key) { CheckNotReadonly(); - return _items.Remove(key); + return _dict.Remove(key); } /// @@ -230,7 +232,7 @@ public virtual bool RemoveAll(TKey key) public virtual void Clear() { CheckNotReadonly(); - _items.Clear(); + _dict.Clear(); } /// @@ -240,7 +242,7 @@ public virtual void Clear() /// True if the multimap has one or more values for the specified key, otherwise false. public virtual bool ContainsKey(TKey key) { - return _items.ContainsKey(key); + return _dict.ContainsKey(key); } /// @@ -251,7 +253,7 @@ public virtual bool ContainsKey(TKey key) /// True if the multimap contains such a value; otherwise, false. public virtual bool ContainsValue(TKey key, TValue value) { - return _items.ContainsKey(key) && _items[key].Contains(value); + return _dict.ContainsKey(key) && _dict[key].Contains(value); } /// @@ -269,7 +271,7 @@ IEnumerator IEnumerable.GetEnumerator() /// An object that can be used to iterate through the multimap. public virtual IEnumerator>> GetEnumerator() { - foreach (KeyValuePair> pair in _items) + foreach (KeyValuePair> pair in _dict) yield return pair; } diff --git a/src/Libraries/SmartStore.Core/Collections/SyncedCollection.cs b/src/Libraries/SmartStore.Core/Collections/SyncedCollection.cs new file mode 100644 index 0000000000..d8100effd8 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Collections/SyncedCollection.cs @@ -0,0 +1,222 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; + +namespace SmartStore.Collections +{ + public sealed class SyncedCollection : ICollection + { + // INFO: Don't call it SynchronizedCollection because of framework dupe. + private readonly ICollection _col; + + public SyncedCollection(ICollection wrappedCollection) + : this(wrappedCollection, new object()) + { + } + + public SyncedCollection(ICollection wrappedCollection, object syncRoot) + { + Guard.NotNull(wrappedCollection, nameof(wrappedCollection)); + Guard.NotNull(syncRoot, nameof(syncRoot)); + + _col = wrappedCollection; + SyncRoot = syncRoot; + } + + public object SyncRoot { get; } + + public bool ReadLockFree { get; set; } + + public void AddRange(IEnumerable collection) + { + lock (SyncRoot) + { + _col.AddRange(collection); + } + } + + public void Insert(int index, T item) + { + if (_col is List list) + { + lock (SyncRoot) + { + list.Insert(index, item); + } + } + + throw new NotSupportedException(); + } + + public void InsertRange(int index, IEnumerable values) + { + if (_col is List list) + { + lock (SyncRoot) + { + list.InsertRange(index, values); + } + } + + throw new NotSupportedException(); + } + + public int RemoveRange(IEnumerable values) + { + int numRemoved = 0; + + lock (SyncRoot) + { + foreach (var value in values) + { + if (_col.Remove(value)) + numRemoved++; + } + } + + return numRemoved; + } + + public void RemoveRange(int index, int count) + { + if (_col is List list) + { + lock (SyncRoot) + { + list.RemoveRange(index, count); + } + } + + throw new NotSupportedException(); + } + + public void RemoveAt(int index) + { + lock (SyncRoot) + { + if (_col is List list) + { + list.RemoveAt(index); + } + else + { + var item = _col.ElementAtOrDefault(index); + if (item != null) + { + _col.Remove(item); + } + } + } + } + + public T this[int index] + { + get + { + if (ReadLockFree) + { + return _col.ElementAt(index); + } + else + { + lock (SyncRoot) + { + return _col.ElementAt(index); + } + } + } + } + + #region ICollection + + public int Count + { + get + { + if (ReadLockFree) + { + return _col.Count(); + } + else + { + lock (SyncRoot) + { + return _col.Count(); + } + } + } + } + + public bool IsReadOnly => _col.IsReadOnly; + + public void Add(T item) + { + lock (SyncRoot) + { + _col.Add(item); + } + } + + public void Clear() + { + lock (SyncRoot) + { + _col.Clear(); + } + } + + public bool Contains(T item) + { + if (ReadLockFree) + { + return _col.Contains(item); + } + else + { + lock (SyncRoot) + { + return _col.Contains(item); + } + } + } + + public void CopyTo(T[] array, int arrayIndex) + { + lock (SyncRoot) + { + _col.CopyTo(array, arrayIndex); + } + } + + public bool Remove(T item) + { + lock (SyncRoot) + { + return _col.Remove(item); + } + } + + IEnumerator IEnumerable.GetEnumerator() + { + return this.GetEnumerator(); + } + + public IEnumerator GetEnumerator() + { + if (ReadLockFree) + { + return _col.GetEnumerator(); + } + else + { + lock (SyncRoot) + { + return _col.GetEnumerator(); + } + } + } + + #endregion + } +} diff --git a/src/Libraries/SmartStore.Core/Collections/TreeNode.cs b/src/Libraries/SmartStore.Core/Collections/TreeNode.cs index 19cf141de9..00034d0778 100644 --- a/src/Libraries/SmartStore.Core/Collections/TreeNode.cs +++ b/src/Libraries/SmartStore.Core/Collections/TreeNode.cs @@ -227,7 +227,17 @@ public override void WriteJson(JsonWriter writer, object value, JsonSerializer s if (GetPropValue("Metadata", value) is IDictionary dict && dict.Count > 0) { writer.WritePropertyName("Metadata"); - serializer.Serialize(writer, dict); + + var typeNameHandling = serializer.TypeNameHandling; + try + { + serializer.TypeNameHandling = TypeNameHandling.All; + serializer.Serialize(writer, dict); + } + finally + { + serializer.TypeNameHandling = typeNameHandling; + } } // Children diff --git a/src/Libraries/SmartStore.Core/Collections/TreeNodeBase.cs b/src/Libraries/SmartStore.Core/Collections/TreeNodeBase.cs index 8dd7bee9b2..8264db12e1 100644 --- a/src/Libraries/SmartStore.Core/Collections/TreeNodeBase.cs +++ b/src/Libraries/SmartStore.Core/Collections/TreeNodeBase.cs @@ -40,13 +40,10 @@ public object Id { var map = GetIdNodeMap(); - if (_id != value) + if (_id != null && map.ContainsKey(_id)) { - if (_id != null && map.ContainsKey(_id)) - { - // Remove old id from map - map.Remove(_id); - } + // Remove old id from map + map.Remove(_id); } if (value != null) @@ -142,7 +139,12 @@ public TMetadata GetMetadata(string key, bool recursive = true) break; } - return (TMetadata)metadata; + if (metadata != null) + { + return (TMetadata)metadata; + } + + return default(TMetadata); } private bool TryGetMetadataForNode(TreeNodeBase node, string key, out object metadata) diff --git a/src/Libraries/SmartStore.Core/Collections/TrimmedBuffer.cs b/src/Libraries/SmartStore.Core/Collections/TrimmedBuffer.cs new file mode 100644 index 0000000000..db54bf8936 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Collections/TrimmedBuffer.cs @@ -0,0 +1,106 @@ +using System.Collections; +using System.Collections.Generic; +using System.Linq; + +namespace SmartStore.Collections +{ + public sealed class TrimmedBuffer : ICollection + { + private readonly int _maxSize; + private readonly List _list; + + public TrimmedBuffer(int maxSize) + : this((IEnumerable)null, default(T), maxSize) + { + } + + public TrimmedBuffer(IEnumerable collection, int maxSize) + : this(collection, default(T), maxSize) + { + } + + public TrimmedBuffer(string collection, int maxSize) + : this(collection.NullEmpty()?.Convert>()?.Distinct(), default(T), maxSize) + { + } + + public TrimmedBuffer(string collection, T newItem, int maxSize) + : this(collection.NullEmpty()?.Convert>()?.Distinct(), newItem, maxSize) + { + } + + public TrimmedBuffer(IEnumerable collection, T newItem, int maxSize) + { + Guard.IsTrue(maxSize >= 0, nameof(maxSize)); + + _maxSize = maxSize; + _list = new List(collection ?? Enumerable.Empty()); + + if (newItem != null) + { + Add(newItem); + } + + Trim(); + } + + private void Trim() + { + if (_maxSize >= 0) + { + while (_list.Count > _maxSize) + _list.RemoveAt(_list.Count - 1); + } + } + + public T this[int index] + { + get + { + return _list[index]; + } + set + { + _list[index] = value; + } + } + + public void Add(T item) + { + var i = _list.IndexOf(item); + if (i > -1) + _list.RemoveAt(i); + + _list.Insert(0, item); + + Trim(); + } + + public void Clear() => _list.Clear(); + + public bool Contains(T item) => _list.Contains(item); + + public void CopyTo(T[] array, int arrayIndex) => _list.CopyTo(array, arrayIndex); + + public bool Remove(T item) => _list.Remove(item); + + public int Count => _list.Count; + + public bool IsReadOnly => false; + + public IEnumerator GetEnumerator() + { + return _list.GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return _list.GetEnumerator(); + } + + public override string ToString() + { + return string.Join(";", _list); + } + } +} diff --git a/src/Libraries/SmartStore.Core/ComponentModel/FastActivator.cs b/src/Libraries/SmartStore.Core/ComponentModel/FastActivator.cs index dea60d7a62..85419958d3 100644 --- a/src/Libraries/SmartStore.Core/ComponentModel/FastActivator.cs +++ b/src/Libraries/SmartStore.Core/ComponentModel/FastActivator.cs @@ -93,8 +93,7 @@ public static FastActivator[] GetActivators(Type type) private static FastActivator[] GetActivatorsCore(Type type) { - FastActivator[] activators; - if (!_activatorsCache.TryGetValue(type, out activators)) + if (!_activatorsCache.TryGetValue(type, out FastActivator[] activators)) { var candidates = GetCandidateConstructors(type); activators = candidates.Select(c => new FastActivator(c)).ToArray(); diff --git a/src/Libraries/SmartStore.Core/ComponentModel/FastInvoker.cs b/src/Libraries/SmartStore.Core/ComponentModel/FastInvoker.cs index d88dbc43ae..ba43358e1a 100644 --- a/src/Libraries/SmartStore.Core/ComponentModel/FastInvoker.cs +++ b/src/Libraries/SmartStore.Core/ComponentModel/FastInvoker.cs @@ -136,21 +136,6 @@ public static object Invoke(object obj, string methodName, Type[] parameterTypes return invoker.Invoke(obj, parameters ?? Array.Empty()); } - /// - /// Creates and caches a fast method invoker. - /// - /// Method info instance to create an invoker for. - /// The fast method invoker. - public static FastInvoker GetInvoker(MethodInfo methodInfo) - { - Guard.NotNull(methodInfo, nameof(methodInfo)); - - return GetInvoker( - methodInfo.DeclaringType, - methodInfo.Name, - methodInfo.GetParameters().Select(x => x.ParameterType).ToArray()); - } - /// /// Creates and caches a fast method invoker. /// @@ -192,6 +177,26 @@ public static FastInvoker GetInvoker(Type type, string methodName, params Type[] return invoker; } + /// + /// Creates and caches a fast method invoker. + /// + /// Method info instance to create an invoker for. + /// The fast method invoker. + public static FastInvoker GetInvoker(MethodInfo method) + { + Guard.NotNull(method, nameof(method)); + + var cacheKey = MethodKey.Create(method); + + if (!_invokersCache.TryGetValue(cacheKey, out var invoker)) + { + invoker = new FastInvoker(method); + _invokersCache.TryAdd(cacheKey, invoker); + } + + return invoker; + } + private static MethodInfo FindMatchingMethod(Type type, string methodName, Type[] argTypes) { var method = argTypes == null || argTypes.Length == 0 @@ -208,20 +213,80 @@ private static MethodInfo FindMatchingMethod(Type type, string methodName, Type[ #endregion - class MethodKey : Tuple + abstract class MethodKey + { + public override bool Equals(object obj) => + throw new NotImplementedException(); + + public override int GetHashCode() => + throw new NotImplementedException(); + + public static bool operator ==(MethodKey left, MethodKey right) => + object.Equals(left, right); + + public static bool operator !=(MethodKey left, MethodKey right) => + !(left == right); + + internal static MethodKey Create(Type type, string methodName, IEnumerable parameterTypes) + { + return new HashMethodKey(type, methodName, parameterTypes); + } + + internal static MethodKey Create(MethodInfo method) + { + return new MethodInfoKey(method); + } + } + + class HashMethodKey : MethodKey, IEquatable { - public MethodKey(Type type, string methodName, int parametersHash) - : base(type, methodName, parametersHash) + private readonly int _hash; + + public HashMethodKey(Type type, string methodName, IEnumerable parameterTypes) { + _hash = HashCodeCombiner.Start().Add(type).Add(methodName).Add(parameterTypes).CombinedHash; + } + + public override bool Equals(object obj) => + this.Equals(obj as HashMethodKey); + + public bool Equals(HashMethodKey other) + { + if (other == null) + return false; + + return this._hash == other._hash; + } + + public override int GetHashCode() + { + return _hash; + } + } + + class MethodInfoKey : MethodKey, IEquatable + { + private readonly MethodInfo _method; + + public MethodInfoKey(MethodInfo method) + { + _method = method; + } + + public override bool Equals(object obj) => + this.Equals(obj as MethodInfoKey); + + public bool Equals(MethodInfoKey other) + { + if (other == null) + return false; + + return this._method == other._method; } - public Type Type { get { return base.Item1; } } - public string MethodName { get { return base.Item2; } } - public int ParameterHash { get { return base.Item3; } } - public static MethodKey Create(Type type, string methodName, IEnumerable parameterTypes) + public override int GetHashCode() { - var hashCombiner = HashCodeCombiner.Start().Add(parameterTypes); - return new MethodKey(type, methodName, hashCombiner.CombinedHash); + return _method.GetHashCode(); } } } diff --git a/src/Libraries/SmartStore.Core/ComponentModel/TypeConversion/EnumerableConverter.cs b/src/Libraries/SmartStore.Core/ComponentModel/TypeConversion/EnumerableConverter.cs index 5687317362..ae60b58488 100644 --- a/src/Libraries/SmartStore.Core/ComponentModel/TypeConversion/EnumerableConverter.cs +++ b/src/Libraries/SmartStore.Core/ComponentModel/TypeConversion/EnumerableConverter.cs @@ -125,7 +125,7 @@ public override object ConvertTo(CultureInfo culture, string format, object valu if (value is IEnumerable enumerable) { - // we don't use string.Join() because it doesn't support invariant culture + // We don't use string.Join() because it doesn't support invariant culture foreach (var token in enumerable) { var str = _elementTypeConverter.ConvertTo(culture, format, token, typeof(string)); diff --git a/src/Libraries/SmartStore.Core/Configuration/JsonPersistAttribute.cs b/src/Libraries/SmartStore.Core/Configuration/JsonPersistAttribute.cs index 1e467280a9..00d96fe9ba 100644 --- a/src/Libraries/SmartStore.Core/Configuration/JsonPersistAttribute.cs +++ b/src/Libraries/SmartStore.Core/Configuration/JsonPersistAttribute.cs @@ -11,6 +11,7 @@ namespace SmartStore.Core.Configuration /// into single properties. /// [AttributeUsage(AttributeTargets.Class)] + [Obsolete] public class JsonPersistAttribute : Attribute { } diff --git a/src/Libraries/SmartStore.Core/Data/DbContextScope.cs b/src/Libraries/SmartStore.Core/Data/DbContextScope.cs index 93a7552c50..7d3b433e8e 100644 --- a/src/Libraries/SmartStore.Core/Data/DbContextScope.cs +++ b/src/Libraries/SmartStore.Core/Data/DbContextScope.cs @@ -3,6 +3,7 @@ using System.Linq.Expressions; using System.Collections.Generic; using System.Linq; +using System.Threading.Tasks; namespace SmartStore.Core.Data { @@ -89,7 +90,12 @@ public int Commit() return _ctx.SaveChanges(); } - public void Dispose() + public async Task CommitAsync() + { + return await _ctx.SaveChangesAsync(); + } + + public void Dispose() { _ctx.AutoDetectChangesEnabled = _autoDetectChangesEnabled; _ctx.ProxyCreationEnabled = _proxyCreationEnabled; diff --git a/src/Libraries/SmartStore.Core/Data/Hooks/DefaultDbHookHandler.cs b/src/Libraries/SmartStore.Core/Data/Hooks/DefaultDbHookHandler.cs index 0700430685..39126f48f8 100644 --- a/src/Libraries/SmartStore.Core/Data/Hooks/DefaultDbHookHandler.cs +++ b/src/Libraries/SmartStore.Core/Data/Hooks/DefaultDbHookHandler.cs @@ -8,7 +8,6 @@ namespace SmartStore.Core.Data.Hooks { public class DefaultDbHookHandler : IDbHookHandler { - private readonly IEnumerable> _hooks; private readonly IList> _saveHooks; private readonly Multimap _hooksRequestCache = new Multimap(); @@ -27,7 +26,6 @@ public class DefaultDbHookHandler : IDbHookHandler public DefaultDbHookHandler(IEnumerable> hooks) { - _hooks = hooks; _saveHooks = hooks.Where(x => x.Metadata.IsLoadHook == false).ToList(); } @@ -35,7 +33,7 @@ public ILogger Logger { get; set; - } + } = NullLogger.Instance; public bool HasImportantSaveHooks() { diff --git a/src/Libraries/SmartStore.Core/Data/RepositoryExtensions.cs b/src/Libraries/SmartStore.Core/Data/RepositoryExtensions.cs index a3d54c9f75..5041bebcdf 100644 --- a/src/Libraries/SmartStore.Core/Data/RepositoryExtensions.cs +++ b/src/Libraries/SmartStore.Core/Data/RepositoryExtensions.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Linq.Expressions; using System.Text; +using System.Threading.Tasks; namespace SmartStore.Core.Data { @@ -95,7 +96,57 @@ public static int DeleteAll(this IRepository rs, Expression> return count; } - public static IQueryable Get( + /// + /// Truncates the table asynchronously. + /// + /// Entity type + /// The repository + /// An optional filter + /// + /// false: does not make any attempts to determine dependant entities, just deletes ONLY them (faster). + /// true: loads all entities into the context first and deletes them, along with their dependencies (slower). + /// + /// The total number of affected entities + /// + /// This method turns off auto detection, validation and hooking. + /// + [SuppressMessage("ReSharper", "UnusedVariable")] + public async static Task DeleteAllAsync(this IRepository rs, Expression> predicate = null, bool cascade = false) where T : BaseEntity + { + var count = 0; + + using (var scope = new DbContextScope(ctx: rs.Context, autoDetectChanges: false, validateOnSave: false, hooksEnabled: false, autoCommit: false)) + { + var query = rs.Table; + if (predicate != null) + { + query = query.Where(predicate); + } + + if (cascade) + { + var records = query.ToList(); + foreach (var chunk in records.Slice(500)) + { + rs.DeleteRange(chunk.ToList()); + count += await rs.Context.SaveChangesAsync(); + } + } + else + { + var ids = query.Select(x => new { x.Id }).ToList(); + foreach (var chunk in ids.Slice(500)) + { + rs.DeleteRange(chunk.Select(x => x.Id)); + count += await rs.Context.SaveChangesAsync(); + } + } + } + + return count; + } + + public static IQueryable Get( this IRepository rs, Expression> predicate = null, Func, IOrderedQueryable> orderBy = null, diff --git a/src/Libraries/SmartStore.Core/Domain/Catalog/CatalogSettings.cs b/src/Libraries/SmartStore.Core/Domain/Catalog/CatalogSettings.cs index c6d208659f..394e9e4e9e 100644 --- a/src/Libraries/SmartStore.Core/Domain/Catalog/CatalogSettings.cs +++ b/src/Libraries/SmartStore.Core/Domain/Catalog/CatalogSettings.cs @@ -68,7 +68,7 @@ public CatalogSettings() ShowColorSquaresInLists = true; ShowDiscountSign = true; ShowVariantCombinationPriceAdjustment = true; - ShowLinkedAttributeValueImage = true; + ShowLinkedAttributeValueImage = true; EnableDynamicPriceUpdate = true; ShowProductReviewsInProductDetail = true; EnableHtmlTextCollapser = true; @@ -129,10 +129,15 @@ public CatalogSettings() /// public bool ShowVariantCombinationPriceAdjustment { get; set; } - /// - /// Gets or sets a value indicating whether to display quantity of linked product at attribute values - /// - public bool ShowLinkedAttributeValueQuantity { get; set; } + /// + /// Indicates whether to show a login note if the user is not authorized to see prices. + /// + public bool ShowLoginForPriceNote { get; set; } + + /// + /// Gets or sets a value indicating whether to display quantity of linked product at attribute values + /// + public bool ShowLinkedAttributeValueQuantity { get; set; } /// /// Gets or sets a value indicating whether to display the image of linked product at attribute values diff --git a/src/Libraries/SmartStore.Core/Domain/Catalog/Category.cs b/src/Libraries/SmartStore.Core/Domain/Catalog/Category.cs index 5a895b03a8..d74e7c0c73 100644 --- a/src/Libraries/SmartStore.Core/Domain/Catalog/Category.cs +++ b/src/Libraries/SmartStore.Core/Domain/Catalog/Category.cs @@ -42,6 +42,12 @@ public partial class Category : BaseEntity, ICategoryNode, IAuditable, ISoftDele [DataMember] public string BottomDescription { get; set; } + /// + /// Gets or sets the external link expression. If set, any category menu item will navigate to the specified link. + /// + [DataMember] + public string ExternalLink { get; set; } + /// /// Gets or sets a text displayed in a badge next to the category within menus /// diff --git a/src/Libraries/SmartStore.Core/Domain/Catalog/CategoryNode.cs b/src/Libraries/SmartStore.Core/Domain/Catalog/CategoryNode.cs index 14ba3736a4..c07c9fe69e 100644 --- a/src/Libraries/SmartStore.Core/Domain/Catalog/CategoryNode.cs +++ b/src/Libraries/SmartStore.Core/Domain/Catalog/CategoryNode.cs @@ -10,7 +10,8 @@ public interface ICategoryNode : ILocalizedEntity, ISlugSupported, IAclSupported { int ParentCategoryId { get; } string Name { get; } - string Alias { get; } + string ExternalLink { get; } + string Alias { get; } int? PictureId { get; } bool Published { get; } int DisplayOrder { get; } @@ -25,7 +26,8 @@ public class CategoryNode : ICategoryNode public int Id { get; set; } public int ParentCategoryId { get; set; } public string Name { get; set; } - public string Alias { get; set; } + public string ExternalLink { get; set; } + public string Alias { get; set; } public int? PictureId { get; set; } public bool Published { get; set; } public int DisplayOrder { get; set; } diff --git a/src/Libraries/SmartStore.Core/Domain/Catalog/ProductBundleData.cs b/src/Libraries/SmartStore.Core/Domain/Catalog/ProductBundleData.cs index 354720c7ea..60373a2d15 100644 --- a/src/Libraries/SmartStore.Core/Domain/Catalog/ProductBundleData.cs +++ b/src/Libraries/SmartStore.Core/Domain/Catalog/ProductBundleData.cs @@ -1,18 +1,10 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Globalization; -using System.IO; -using System.Text; -using System.Xml.Serialization; - -namespace SmartStore.Core.Domain.Catalog +namespace SmartStore.Core.Domain.Catalog { - public partial class ProductBundleItemData + public partial class ProductBundleItemData { public ProductBundleItemData(ProductBundleItem item) { - Item = item; // can be null... test with IsValid + Item = item; // Can be null. } public ProductBundleItem Item { get; private set; } diff --git a/src/Libraries/SmartStore.Core/Domain/Catalog/ProductCategory.cs b/src/Libraries/SmartStore.Core/Domain/Catalog/ProductCategory.cs index 5cb9acaa5f..ee5adfe594 100644 --- a/src/Libraries/SmartStore.Core/Domain/Catalog/ProductCategory.cs +++ b/src/Libraries/SmartStore.Core/Domain/Catalog/ProductCategory.cs @@ -33,15 +33,17 @@ public partial class ProductCategory : BaseEntity /// [DataMember] public int DisplayOrder { get; set; } - + /// /// Gets the category /// + [DataMember] public virtual Category Category { get; set; } /// /// Gets the product /// + [DataMember] public virtual Product Product { get; set; } } diff --git a/src/Libraries/SmartStore.Core/Domain/Catalog/ProductManufacturer.cs b/src/Libraries/SmartStore.Core/Domain/Catalog/ProductManufacturer.cs index 087a1f9351..73edaec790 100644 --- a/src/Libraries/SmartStore.Core/Domain/Catalog/ProductManufacturer.cs +++ b/src/Libraries/SmartStore.Core/Domain/Catalog/ProductManufacturer.cs @@ -37,11 +37,13 @@ public partial class ProductManufacturer : BaseEntity /// /// Gets or sets the manufacturer /// + [DataMember] public virtual Manufacturer Manufacturer { get; set; } /// /// Gets or sets the product /// + [DataMember] public virtual Product Product { get; set; } } diff --git a/src/Libraries/SmartStore.Core/Domain/Catalog/ProductSpecificationAttribute.cs b/src/Libraries/SmartStore.Core/Domain/Catalog/ProductSpecificationAttribute.cs index 132e767131..eb8595b3af 100644 --- a/src/Libraries/SmartStore.Core/Domain/Catalog/ProductSpecificationAttribute.cs +++ b/src/Libraries/SmartStore.Core/Domain/Catalog/ProductSpecificationAttribute.cs @@ -46,6 +46,7 @@ public partial class ProductSpecificationAttribute : BaseEntity /// /// Gets or sets the specification attribute option /// + [DataMember] public virtual SpecificationAttributeOption SpecificationAttributeOption { get; set; } } } diff --git a/src/Libraries/SmartStore.Core/Domain/Cms/MenuItemRecord.cs b/src/Libraries/SmartStore.Core/Domain/Cms/MenuItemRecord.cs new file mode 100644 index 0000000000..9aab96cc35 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Domain/Cms/MenuItemRecord.cs @@ -0,0 +1,117 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using SmartStore.Core.Domain.Localization; + +namespace SmartStore.Core.Domain.Cms +{ + /// + /// Represents a menu item. + /// + [Table("MenuItemRecord")] + public class MenuItemRecord : BaseEntity, ILocalizedEntity + { + /// + /// Gets or sets the menu identifier. + /// + [Required] + public int MenuId { get; set; } + + /// + /// Gets the menu. + /// + [ForeignKey("MenuId")] + public virtual MenuRecord Menu { get; set; } + + /// + /// Gets or sets the parent menu item identifier. 0 if the item has no parent. + /// + [Index("IX_MenuItem_ParentItemId")] + public int ParentItemId { get; set; } + + /// + /// Gets or sets the provider name. + /// + [StringLength(100)] + public string ProviderName { get; set; } + + /// + /// Gets or sets the model. + /// + [MaxLength] + public string Model { get; set; } + + /// + /// Gets or sets the title. + /// + [StringLength(400)] + public string Title { get; set; } + + /// + /// Gets or sets the short description. It is used for the link title attribute. + /// + [StringLength(400)] + public string ShortDescription { get; set; } + + /// + /// Gets or sets permission names. + /// + [MaxLength] + public string PermissionNames { get; set; } + + /// + /// Gets or sets a value indicating whether the menu item is published. + /// + [Index("IX_MenuItem_Published")] + public bool Published { get; set; } = true; + + /// + /// Gets or sets the display order. + /// + [Index("IX_MenuItem_DisplayOrder")] + public int DisplayOrder { get; set; } + + /// + /// Gets or sets a value indicating whether the menu item has a divider or a group header. + /// + public bool BeginGroup { get; set; } + + /// + /// If selected and this menu item has children, the menu will initially appear expanded. + /// + public bool ShowExpanded { get; set; } + + /// + /// Gets or sets the no-follow link attribute. + /// + public bool NoFollow { get; set; } + + /// + /// Gets or sets the blank target link attribute. + /// + public bool NewWindow { get; set; } + + /// + /// Gets or sets fontawesome icon class. + /// + [StringLength(100)] + public string Icon { get; set; } + + /// + /// Gets or sets fontawesome icon style. + /// + [StringLength(10)] + public string Style { get; set; } + + /// + /// Gets or sets HTML id attribute. + /// + [StringLength(100)] + public string HtmlId { get; set; } + + /// + /// Gets or sets the CSS class. + /// + [StringLength(100)] + public string CssClass { get; set; } + } +} diff --git a/src/Libraries/SmartStore.Core/Domain/Cms/MenuRecord.cs b/src/Libraries/SmartStore.Core/Domain/Cms/MenuRecord.cs new file mode 100644 index 0000000000..c8ebedf1c1 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Domain/Cms/MenuRecord.cs @@ -0,0 +1,96 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using SmartStore.Core.Domain.Localization; +using SmartStore.Core.Domain.Security; +using SmartStore.Core.Domain.Stores; + +namespace SmartStore.Core.Domain.Cms +{ + /// + /// Represents a menu. + /// + [Table("MenuRecord")] + public class MenuRecord : BaseEntity, ILocalizedEntity, IStoreMappingSupported, IAclSupported + { + private ICollection _items; + + /// + /// /// Gets or sets the menu items. + /// + public virtual ICollection Items + { + get { return _items ?? (_items = new HashSet()); } + protected set { _items = value; } + } + + /// + /// Gets or sets the system name. It identifies the menu. + /// + [Required, StringLength(400), Index("IX_Menu_SystemName_IsSystemMenu", Order = 0)] + public string SystemName { get; set; } + + /// + /// Gets or sets the value indicating whether this menu is deleteable by a user. + /// + [Index("IX_Menu_SystemName_IsSystemMenu", Order = 1)] + public bool IsSystemMenu { get; set; } + + /// + /// Gets or sets the menu template name. + /// + [StringLength(400)] + public string Template { get; set; } + + /// + /// Gets or sets the widget zone name. + /// + [StringLength(4000)] + public string WidgetZone { get; set; } + + /// + /// Gets or sets the title. + /// + [StringLength(400)] + public string Title { get; set; } + + /// + /// Gets or sets a value indicating whether the menu is published. + /// + [Index("IX_Menu_Published")] + public bool Published { get; set; } = true; + + /// + /// Gets or sets the order for widget registration. + /// + public int DisplayOrder { get; set; } + + /// + /// Gets or sets a value indicating whether the entity is limited/restricted to certain stores. + /// + [Index("IX_Menu_LimitedToStores")] + public bool LimitedToStores { get; set; } + + /// + /// Gets or sets a value indicating whether the entity is subject to ACL. + /// + [Index("IX_Menu_SubjectToAcl")] + public bool SubjectToAcl { get; set; } + + /// + /// Helper function to get the comma-separated WidgetZone property as an enumerable of strings. + /// + /// Widget zones. + public IEnumerable GetWidgetZones() + { + if (WidgetZone.IsEmpty()) + { + return Enumerable.Empty(); + } + + return WidgetZone.Trim().Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries).Select(x => x.Trim()); + } + } +} diff --git a/src/Libraries/SmartStore.Core/Domain/Common/CommonSettings.cs b/src/Libraries/SmartStore.Core/Domain/Common/CommonSettings.cs index 46d94f8c98..523a5dbe52 100644 --- a/src/Libraries/SmartStore.Core/Domain/Common/CommonSettings.cs +++ b/src/Libraries/SmartStore.Core/Domain/Common/CommonSettings.cs @@ -11,6 +11,7 @@ public CommonSettings() EntityPickerPageSize = 48; MaxScheduleHistoryAgeInDays = 30; MaxNumberOfScheduleHistoryEntries = 100; + MaxQueuedMessagesAgeInDays = 14; } public bool UseSystemEmailForContactUsForm { get; set; } @@ -40,5 +41,10 @@ public CommonSettings() /// Gets or sets the maximum number of schedule history entries per task. /// public int MaxNumberOfScheduleHistoryEntries { get; set; } + + /// + /// Gets or sets the maximum age of sent queued messages (in days). + /// + public int MaxQueuedMessagesAgeInDays { get; set; } } } \ No newline at end of file diff --git a/src/Libraries/SmartStore.Core/Domain/Common/SocialSettings.cs b/src/Libraries/SmartStore.Core/Domain/Common/SocialSettings.cs index 46980652d0..1a45382602 100644 --- a/src/Libraries/SmartStore.Core/Domain/Common/SocialSettings.cs +++ b/src/Libraries/SmartStore.Core/Domain/Common/SocialSettings.cs @@ -4,50 +4,34 @@ namespace SmartStore.Core.Domain.Common { public class SocialSettings : ISettings { - public SocialSettings() - { - ShowSocialLinksInFooter = true; - FacebookLink = "#"; - GooglePlusLink = "#"; - TwitterLink = "#"; - PinterestLink = "#"; - //YoutubeLink = "#"; - //InstagramLink = "#"; - } - - /// + /// /// Gets or sets the value that determines whether social links should be show in the footer /// - public bool ShowSocialLinksInFooter { get; set; } + public bool ShowSocialLinksInFooter { get; set; } = true; /// /// Gets or sets the facebook link /// - public string FacebookLink { get; set; } - - /// - /// Gets or sets the google plus link - /// - public string GooglePlusLink { get; set; } + public string FacebookLink { get; set; } = "#"; /// /// Gets or sets the twitter link /// - public string TwitterLink { get; set; } + public string TwitterLink { get; set; } = "#"; /// /// Gets or sets the pinterest link /// - public string PinterestLink { get; set; } + public string PinterestLink { get; set; } = "#"; /// /// Gets or sets the youtube link /// - public string YoutubeLink { get; set; } + public string YoutubeLink { get; set; } = "#"; - /// - /// Gets or sets the instagram link - /// - public string InstagramLink { get; set; } - } + /// + /// Gets or sets the instagram link + /// + public string InstagramLink { get; set; } = "#"; + } } \ No newline at end of file diff --git a/src/Libraries/SmartStore.Core/Domain/Customers/CustomerLoginType.cs b/src/Libraries/SmartStore.Core/Domain/Customers/CustomerLoginType.cs new file mode 100644 index 0000000000..a9c9479506 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Domain/Customers/CustomerLoginType.cs @@ -0,0 +1,23 @@ +namespace SmartStore.Core.Domain.Customers +{ + /// + /// Represents the customer login type + /// + public enum CustomerLoginType + { + /// + /// The username will be used to login + /// + Username = 10, + + /// + /// The email will be used to login + /// + Email = 20, + + /// + /// The username or the email address can be used to login + /// + UsernameOrEmail = 30 + } +} diff --git a/src/Libraries/SmartStore.Core/Domain/Customers/CustomerSettings.cs b/src/Libraries/SmartStore.Core/Domain/Customers/CustomerSettings.cs index 7c51a9ced5..20033f0c21 100644 --- a/src/Libraries/SmartStore.Core/Domain/Customers/CustomerSettings.cs +++ b/src/Libraries/SmartStore.Core/Domain/Customers/CustomerSettings.cs @@ -6,7 +6,7 @@ public class CustomerSettings : ISettings { public CustomerSettings() { - UsernamesEnabled = true; + CustomerLoginType = CustomerLoginType.UsernameOrEmail; CustomerNumberMethod = CustomerNumberMethod.Disabled; CustomerNumberVisibility = CustomerNumberVisibility.None; DefaultPasswordFormat = PasswordFormat.Hashed; @@ -25,11 +25,11 @@ public CustomerSettings() FirstNameRequired = false; LastNameRequired = false; } - - /// - /// Gets or sets a value indicating whether usernames are used instead of emails + + /// + /// Gets or sets a value indicating the customer login type /// - public bool UsernamesEnabled { get; set; } + public CustomerLoginType CustomerLoginType { get; set; } /// /// Gets or sets the customer number method @@ -255,9 +255,6 @@ public CustomerSettings() #endregion - public string PrefillLoginUsername { get; set; } - public string PrefillLoginPwd { get; set; } - /// /// Identifier of a customer role that new registered customers will be assigned to /// diff --git a/src/Libraries/SmartStore.Core/Domain/Directory/QuantityUnit.cs b/src/Libraries/SmartStore.Core/Domain/Directory/QuantityUnit.cs index f10f0543c3..4e671a5384 100644 --- a/src/Libraries/SmartStore.Core/Domain/Directory/QuantityUnit.cs +++ b/src/Libraries/SmartStore.Core/Domain/Directory/QuantityUnit.cs @@ -1,6 +1,5 @@ -using System; -using SmartStore.Core.Domain.Localization; using System.Runtime.Serialization; +using SmartStore.Core.Domain.Localization; namespace SmartStore.Core.Domain.Directory { @@ -16,6 +15,12 @@ public partial class QuantityUnit : BaseEntity, ILocalizedEntity [DataMember] public string Name { get; set; } + /// + /// Gets or sets the name plural. + /// + [DataMember] + public string NamePlural { get; set; } + /// /// Gets or sets the description /// @@ -38,7 +43,6 @@ public partial class QuantityUnit : BaseEntity, ILocalizedEntity /// Gets or sets the default quantity unit /// [DataMember] - public bool IsDefault { get; set; } - + public bool IsDefault { get; set; } } } diff --git a/src/Libraries/SmartStore.Core/Domain/Seo/SeoSettings.cs b/src/Libraries/SmartStore.Core/Domain/Seo/SeoSettings.cs index 7160bcf30c..9d1d5f5bce 100644 --- a/src/Libraries/SmartStore.Core/Domain/Seo/SeoSettings.cs +++ b/src/Libraries/SmartStore.Core/Domain/Seo/SeoSettings.cs @@ -81,7 +81,7 @@ public SeoSettings() public string SeoNameCharConversion { get; set; } public bool CanonicalUrlsEnabled { get; set; } - public CanonicalHostNameRule CanonicalHostNameRule { get; set; } + public CanonicalHostNameRule CanonicalHostNameRule { get; set; } /// /// Slugs (sename) reserved for some other needs diff --git a/src/Libraries/SmartStore.Core/Domain/Stores/Store.cs b/src/Libraries/SmartStore.Core/Domain/Stores/Store.cs index 0fb734efbd..d9325aa60a 100644 --- a/src/Libraries/SmartStore.Core/Domain/Stores/Store.cs +++ b/src/Libraries/SmartStore.Core/Domain/Stores/Store.cs @@ -97,7 +97,7 @@ public partial class Store : BaseEntity /// /// Gets the security mode for the store /// - public HttpSecurityMode GetSecurityMode(bool? useSsl = null) + public virtual HttpSecurityMode GetSecurityMode(bool? useSsl = null) { if (useSsl ?? SslEnabled) { diff --git a/src/Libraries/SmartStore.Core/Domain/Stores/StoreExtensions.cs b/src/Libraries/SmartStore.Core/Domain/Stores/StoreExtensions.cs index 3273ab21da..1185f4b399 100644 --- a/src/Libraries/SmartStore.Core/Domain/Stores/StoreExtensions.cs +++ b/src/Libraries/SmartStore.Core/Domain/Stores/StoreExtensions.cs @@ -7,42 +7,44 @@ namespace SmartStore.Core.Domain.Stores public static class StoreExtensions { /// - /// Parse comma-separated Hosts + /// Indicates whether a store contains a specified host /// /// Store - /// Comma-separated hosts - public static string[] ParseHostValues(this Store store) + /// Host + /// true - contains, false - no + public static bool ContainsHostValue(this Store store, string host) { - if (store == null) - throw new ArgumentNullException("store"); + Guard.NotNull(store, nameof(store)); - var parsedValues = new List(); - if (!string.IsNullOrEmpty(store.Hosts)) + if (string.IsNullOrEmpty(host)) { - var hosts = store.Hosts.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); - parsedValues.AddRange(hosts.Select(host => host.Trim()).Where(tmp => !string.IsNullOrEmpty(tmp))); - } + return false; + } - return parsedValues.ToArray(); + var contains = store.ParseHostValues() + .FirstOrDefault(x => x.Equals(host, StringComparison.InvariantCultureIgnoreCase)) != null; + return contains; } /// - /// Indicates whether a store contains a specified host + /// Parse comma-separated hosts /// /// Store - /// Host - /// true - contains, false - no - public static bool ContainsHostValue(this Store store, string host) + /// Comma-separated hosts + public static string[] ParseHostValues(this Store store) { - if (store == null) - throw new ArgumentNullException("store"); + Guard.NotNull(store, nameof(store)); - if (String.IsNullOrEmpty(host)) - return false; + if (string.IsNullOrWhiteSpace(store.Hosts)) + { + return Array.Empty(); + } - var contains = store.ParseHostValues() - .FirstOrDefault(x => x.Equals(host, StringComparison.InvariantCultureIgnoreCase)) != null; - return contains; + return store.Hosts + .Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries) + .Select(host => host.Trim()) + .Where(host => !string.IsNullOrWhiteSpace(host)) + .ToArray(); } } } diff --git a/src/Libraries/SmartStore.Core/Domain/Tasks/ScheduleTask.cs b/src/Libraries/SmartStore.Core/Domain/Tasks/ScheduleTask.cs index c6d22dd2e0..f516fc53da 100644 --- a/src/Libraries/SmartStore.Core/Domain/Tasks/ScheduleTask.cs +++ b/src/Libraries/SmartStore.Core/Domain/Tasks/ScheduleTask.cs @@ -88,12 +88,25 @@ protected set public ScheduleTask Clone() { - return (ScheduleTask)this.MemberwiseClone(); + var task = new ScheduleTask + { + Name = Name, + Alias = Alias, + CronExpression = CronExpression, + Type = Type, + Enabled = Enabled, + StopOnError = StopOnError, + NextRunUtc = NextRunUtc, + IsHidden = IsHidden, + RunPerMachine = RunPerMachine + }; + + return task; } object ICloneable.Clone() { - return this.MemberwiseClone(); + return this.Clone(); } } } diff --git a/src/Libraries/SmartStore.Core/Domain/Tax/TaxSettings.cs b/src/Libraries/SmartStore.Core/Domain/Tax/TaxSettings.cs index 1d79ba018b..28fd36b269 100644 --- a/src/Libraries/SmartStore.Core/Domain/Tax/TaxSettings.cs +++ b/src/Libraries/SmartStore.Core/Domain/Tax/TaxSettings.cs @@ -12,7 +12,8 @@ public TaxSettings() DisplayTaxSuffix = true; PricesIncludeTax = true; EuVatAllowVatExemption = true; - ShowLegalHintsInFooter = true; + ShippingPriceIncludesTax = true; + ShowLegalHintsInFooter = true; ShowLegalHintsInProductDetails = true; ShowLegalHintsInProductList = true; AuxiliaryServicesTaxingType = AuxiliaryServicesTaxType.SpecifiedTaxCategory; diff --git a/src/Libraries/SmartStore.Core/Domain/Topics/Topic.cs b/src/Libraries/SmartStore.Core/Domain/Topics/Topic.cs index 36a6d95ac3..d05d74c975 100644 --- a/src/Libraries/SmartStore.Core/Domain/Topics/Topic.cs +++ b/src/Libraries/SmartStore.Core/Domain/Topics/Topic.cs @@ -32,10 +32,22 @@ public Topic() [DataMember] public bool IsSystemTopic { get; set; } - /// - /// Gets or sets the value indicating whether this topic should be included in sitemap - /// - [DataMember] + /// + /// Gets or sets the html id + /// + [DataMember] + public string HtmlId { get; set; } + + /// + /// Gets or sets the body css class + /// + [DataMember] + public string BodyCssClass { get; set; } + + /// + /// Gets or sets the value indicating whether this topic should be included in sitemap + /// + [DataMember] public bool IncludeInSitemap { get; set; } /// diff --git a/src/Libraries/SmartStore.Core/Email/DefaultEmailSender.cs b/src/Libraries/SmartStore.Core/Email/DefaultEmailSender.cs index 15fc63095f..5492f4631f 100644 --- a/src/Libraries/SmartStore.Core/Email/DefaultEmailSender.cs +++ b/src/Libraries/SmartStore.Core/Email/DefaultEmailSender.cs @@ -83,20 +83,19 @@ public void SendEmail(SmtpContext context, EmailMessage message) } } - public Task SendEmailAsync(SmtpContext context, EmailMessage message) + public async Task SendEmailAsync(SmtpContext context, EmailMessage message) { Guard.NotNull(context, nameof(context)); Guard.NotNull(message, nameof(message)); - var client = context.ToSmtpClient(); - ApplySettings(client); - var msg = this.BuildMailMessage(message); - - return client.SendMailAsync(msg).ContinueWith(t => + using (var msg = this.BuildMailMessage(message)) { - client.Dispose(); - msg.Dispose(); - }); + using (var client = context.ToSmtpClient()) + { + ApplySettings(client); + await client.SendMailAsync(msg); + } + } } private void ApplySettings(SmtpClient client) diff --git a/src/Libraries/SmartStore.Core/Events/AmbigousConsumerException.cs b/src/Libraries/SmartStore.Core/Events/AmbigousConsumerException.cs new file mode 100644 index 0000000000..18b72d94da --- /dev/null +++ b/src/Libraries/SmartStore.Core/Events/AmbigousConsumerException.cs @@ -0,0 +1,13 @@ +using System; +using System.Reflection; + +namespace SmartStore.Core.Events +{ + public sealed class AmbigousConsumerException : Exception + { + public AmbigousConsumerException(MethodInfo method1, MethodInfo method2) + : base("Ambigous consumer methods detected in '{0}'. Method 1: '{1}', Method 2: '{2}'.".FormatInvariant(method1.DeclaringType.FullName, method1.ToString(), method2.ToString())) + { + } + } +} diff --git a/src/Libraries/SmartStore.Core/Events/AsyncConsumerAttribute.cs b/src/Libraries/SmartStore.Core/Events/AsyncConsumerAttribute.cs deleted file mode 100644 index 4a33b18f31..0000000000 --- a/src/Libraries/SmartStore.Core/Events/AsyncConsumerAttribute.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace SmartStore.Core.Events -{ - [AttributeUsage(AttributeTargets.Class, Inherited=true, AllowMultiple=false)] - public class AsyncConsumerAttribute : Attribute - { - } -} diff --git a/src/Libraries/SmartStore.Core/Events/ConsumeContext.cs b/src/Libraries/SmartStore.Core/Events/ConsumeContext.cs new file mode 100644 index 0000000000..d52607845a --- /dev/null +++ b/src/Libraries/SmartStore.Core/Events/ConsumeContext.cs @@ -0,0 +1,23 @@ +using System; + +namespace SmartStore.Core.Events +{ + /// + /// Wrapper/Envelope for event message objects. For now, only wraps + /// the message. There may be other context data in future. + /// + /// Type of message. + public class ConsumeContext + { + public ConsumeContext(TMessage message) + { + Message = message; + } + + public TMessage Message + { + get; + private set; + } + } +} diff --git a/src/Libraries/SmartStore.Core/Events/ConsumerDescriptor.cs b/src/Libraries/SmartStore.Core/Events/ConsumerDescriptor.cs new file mode 100644 index 0000000000..f990c1e61c --- /dev/null +++ b/src/Libraries/SmartStore.Core/Events/ConsumerDescriptor.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using SmartStore.ComponentModel; +using SmartStore.Core.Plugins; + +namespace SmartStore.Core.Events +{ + /// + /// Contains metadata about a consumer / event handler method. + /// + public class ConsumerDescriptor + { + public ConsumerDescriptor() + { + } + + public ConsumerDescriptor(EventConsumerMetadata metadata) + { + ContainerType = metadata.ContainerType; + PluginDescriptor = metadata.PluginDescriptor; + } + + public bool WithEnvelope { get; set; } + public bool IsAsync { get; set; } + public bool FireForget { get; set; } + public PluginDescriptor PluginDescriptor { get; set; } + + public Type MessageType { get; set; } + public Type ContainerType { get; set; } + + public MethodInfo Method { get; set; } + public ParameterInfo MessageParameter { get; set; } + + /// + /// All method parameters except + /// or empty array if is the only parameter. + /// + public ParameterInfo[] Parameters { get; set; } + + public override string ToString() + { + return "MessageType: {0} - Consumer: {1}.{2}".FormatCurrent(MessageType.Name, ContainerType.FullName, Method.Name); + } + } +} diff --git a/src/Libraries/SmartStore.Core/Events/ConsumerInvoker.cs b/src/Libraries/SmartStore.Core/Events/ConsumerInvoker.cs new file mode 100644 index 0000000000..9eb50ecb00 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Events/ConsumerInvoker.cs @@ -0,0 +1,193 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using System.Web; +using Autofac; +using SmartStore.ComponentModel; +using SmartStore.Core.Async; +using SmartStore.Core.Logging; + +namespace SmartStore.Core.Events +{ + public class ConsumerInvoker : IConsumerInvoker + { + private readonly IConsumerResolver _resolver; + + public ConsumerInvoker(IConsumerResolver resolver) + { + _resolver = resolver; + + Logger = NullLogger.Instance; + } + + public ILogger Logger { get; set; } + + public void Invoke(ConsumerDescriptor descriptor, IConsumer consumer, ConsumeContext envelope) where TMessage : class + { + var d = descriptor; + var p = descriptor.WithEnvelope ? (object)envelope : envelope.Message; + var fastInvoker = FastInvoker.GetInvoker(d.Method); + + if (!d.FireForget && !d.IsAsync) + { + // The all synch case + try + { + InvokeCore(); + } + catch (Exception ex) + { + HandleException(ex, d); + } + } + else if (!d.FireForget && d.IsAsync) + { + //// The awaitable Task case + //BeginInvoke((Task)InvokeCore(cancelToken: AsyncRunner.AppShutdownCancellationToken), EndInvoke, d); + + // For now we must go with the AsyncRunner, the above call to BeginInvoke (APM > TPL) does not always + // guarantee that the task is awaited and throws exceptions especially when EF is involved. + using (var runner = AsyncRunner.Create()) + { + try + { + runner.Run((Task)InvokeCore(cancelToken: AsyncRunner.AppShutdownCancellationToken)); + } + catch (Exception ex) + { + HandleException(ex, d); + } + } + } + else if (d.FireForget && !d.IsAsync) + { + // A synch method should be executed async (without awaiting) + AsyncRunner.Run((c, ct, state) => InvokeCore(c, ct), d) + .ContinueWith(t => EndInvoke(t), /*TaskContinuationOptions.OnlyOnFaulted*/ TaskContinuationOptions.None) + .ConfigureAwait(false); + } + else if (d.FireForget && d.IsAsync) + { + // An async (Task) method should be executed without awaiting + AsyncRunner.Run((c, ct) => (Task)InvokeCore(c, ct), d) + .ContinueWith(t => EndInvoke(t), TaskContinuationOptions.OnlyOnFaulted) + .ConfigureAwait(false); + } + + object InvokeCore(IComponentContext c = null, CancellationToken cancelToken = default(CancellationToken)) + { + if (d.Parameters.Length == 0) + { + // Only one method param: the message! + return fastInvoker.Invoke(consumer, p); + } + + var parameters = new object[d.Parameters.Length + 1]; + parameters[0] = p; + + int i = 0; + foreach (var obj in ResolveParameters(c, d, cancelToken).ToArray()) + { + i++; + parameters[i] = obj; + } + + return fastInvoker.Invoke(consumer, parameters); + } + } + + private void HandleException(Exception ex, ConsumerDescriptor descriptor) + { + if (ex is AggregateException ae) + { + ae.InnerExceptions.Each(x => Logger.Error(x)); + } + else + { + Logger.Error(ex); + } + + if (!descriptor.FireForget) + { + throw ex; + } + } + + protected internal virtual IEnumerable ResolveParameters( + IComponentContext container, + ConsumerDescriptor descriptor, + CancellationToken cancelToken) + { + foreach (var p in descriptor.Parameters) + { + if (p.ParameterType == typeof(CancellationToken)) + { + yield return cancelToken; + } + else + { + yield return _resolver.ResolveParameter(p, container); + } + } + } + + #region APM > TPL pattern (does not always work stable) + + /// + /// Wraps a into the Begin method of an APM pattern. + /// + /// The task to wrap. + /// The callback method passed into the Begin method of the APM pattern. + /// The state passed into the Begin method of the APM pattern. + /// The asynchronous operation, to be returned by the Begin method of the APM pattern. + protected IAsyncResult BeginInvoke(Task task, AsyncCallback callback, ConsumerDescriptor descriptor) + { + var options = TaskCreationOptions.RunContinuationsAsynchronously; + var tcs = new TaskCompletionSource(descriptor, options); + + // "_ =" to discard 'async/await' compiler warning + _ = AwaitCompletionAsync(task, callback, tcs, descriptor); + + return tcs.Task; + } + + private async Task AwaitCompletionAsync( + Task task, + AsyncCallback callback, + TaskCompletionSource tcs, + ConsumerDescriptor descriptor) + { + try + { + await task; + tcs.TrySetResult(null); + } + catch (OperationCanceledException ex) + { + tcs.TrySetCanceled(ex.CancellationToken); + } + catch (Exception ex) + { + tcs.TrySetException(ex); + } + finally + { + callback?.Invoke(tcs.Task); + } + } + + protected virtual void EndInvoke(IAsyncResult asyncResult) + { + var task = (Task)asyncResult; + + if (task.IsFaulted && task.Exception != null) + { + HandleException(task.Exception, (ConsumerDescriptor)asyncResult.AsyncState); + } + } + + #endregion + } +} diff --git a/src/Libraries/SmartStore.Core/Events/EventConsumerMetadata.cs b/src/Libraries/SmartStore.Core/Events/EventConsumerMetadata.cs index 1ae4f063fb..0c233e9da1 100644 --- a/src/Libraries/SmartStore.Core/Events/EventConsumerMetadata.cs +++ b/src/Libraries/SmartStore.Core/Events/EventConsumerMetadata.cs @@ -5,8 +5,8 @@ namespace SmartStore.Core.Events { public class EventConsumerMetadata { - public bool ExecuteAsync { get; set; } public bool IsActive { get; set; } + public Type ContainerType { get; set; } public PluginDescriptor PluginDescriptor { get; set; } } } diff --git a/src/Libraries/SmartStore.Core/Events/FireForgetAttribute.cs b/src/Libraries/SmartStore.Core/Events/FireForgetAttribute.cs new file mode 100644 index 0000000000..a5076473c9 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Events/FireForgetAttribute.cs @@ -0,0 +1,20 @@ +using System; + +namespace SmartStore.Core.Events +{ + /// + /// Specifies whether an event consumer method should be invoked asynchronously without awaiting. + /// This can be advantegous in long running processes, because the current request thread will not 'block' + /// until method completion. + /// + /// + /// Use this with caution and only if you know what you are doing :-) + /// A class containing a fire & forget consumer should NOT take dependencies on request scoped services, because task continuation + /// happens on another thread and context gets lost. Pass required dependencies as method parameters instead, the consumer invoker + /// will spawn a new private context for the unit of work and resolve dependencies from this context. + /// + [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] + public sealed class FireForgetAttribute : Attribute + { + } +} diff --git a/src/Libraries/SmartStore.Core/Events/IConsumer.cs b/src/Libraries/SmartStore.Core/Events/IConsumer.cs index 5fee38c56e..da2ff66d89 100644 --- a/src/Libraries/SmartStore.Core/Events/IConsumer.cs +++ b/src/Libraries/SmartStore.Core/Events/IConsumer.cs @@ -1,8 +1,45 @@ - +using System; + namespace SmartStore.Core.Events { - public interface IConsumer - { - void HandleEvent(T message); - } + /// + /// Marker interface for classes that contain one or more + /// event message handlers. A handler is a public instance method following some conventions. + /// The name of the handler method must be one of: + /// + /// void Handle(TMessage msg) + /// void HandleEvent(TMessage msg) + /// void Consume(TMessage msg) + /// Task HandleAsync(TMessage msg) + /// Task HandleEventAsync(TMessage msg) + /// Task ConsumeAsync(TMessage msg) + /// + /// Alternatively, the TMessage param can be the generic type. + /// + /// The decides how to call the method based on its signature: + /// + /// void method are invoked synchronously. + /// methods are invoked asynchronously and awaited. + /// The makes the method run in the background without awaiting. + /// + /// + /// + /// You can declare additional dependency parameters in the handler method, e.g.: + /// + /// Task HandleEventAsync(SomeEvent message, IDbContext dbContext, ICacheManager cache, CancellationToken cancelToken) + /// + /// Order does not matter. The invoker will auto-resolve appropriate instances and pass them to the method. But any unregistered + /// dependency or a primitive type will result in an exception (except of which always resolves to + /// ). + /// + /// + public interface IConsumer + { + } + + [Obsolete("Implement the non-generic 'IConsumer' interface instead.")] + public interface IConsumer : IConsumer + { + void HandleEvent(T message); + } } diff --git a/src/Libraries/SmartStore.Core/Events/IConsumerFactory.cs b/src/Libraries/SmartStore.Core/Events/IConsumerFactory.cs deleted file mode 100644 index a55c9fce79..0000000000 --- a/src/Libraries/SmartStore.Core/Events/IConsumerFactory.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Collections.Generic; - -namespace SmartStore.Core.Events -{ - - public interface IConsumerFactory - { - /// - /// Resolves all event consumers of type - /// - /// - /// Specifies whether only async consumers, sync consumers or both should be resolved - /// (null = all, true = only async, false = only sync) - /// - /// The consumer instances - IEnumerable> GetConsumers(bool? resolveAsyncs = null); - - bool HasAsyncConsumer { get; } - } - -} diff --git a/src/Libraries/SmartStore.Core/Events/IConsumerInvoker.cs b/src/Libraries/SmartStore.Core/Events/IConsumerInvoker.cs new file mode 100644 index 0000000000..85036e7528 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Events/IConsumerInvoker.cs @@ -0,0 +1,12 @@ +using System; + +namespace SmartStore.Core.Events +{ + /// + /// Responsible for invoking event message handler methods. + /// + public interface IConsumerInvoker + { + void Invoke(ConsumerDescriptor descriptor, IConsumer consumer, ConsumeContext envelope) where TMessage : class; + } +} diff --git a/src/Libraries/SmartStore.Core/Events/IConsumerRegistry.cs b/src/Libraries/SmartStore.Core/Events/IConsumerRegistry.cs new file mode 100644 index 0000000000..4339d6fb4f --- /dev/null +++ b/src/Libraries/SmartStore.Core/Events/IConsumerRegistry.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; + +namespace SmartStore.Core.Events +{ + /// + /// A registry for fast lookup. + /// + public interface IConsumerRegistry + { + IEnumerable GetConsumers(object message); + } +} diff --git a/src/Libraries/SmartStore.Core/Events/IConsumerResolver.cs b/src/Libraries/SmartStore.Core/Events/IConsumerResolver.cs new file mode 100644 index 0000000000..7a7be293d7 --- /dev/null +++ b/src/Libraries/SmartStore.Core/Events/IConsumerResolver.cs @@ -0,0 +1,16 @@ +using System; +using System.Reflection; +using Autofac; + +namespace SmartStore.Core.Events +{ + /// + /// Resolves the concrete class instance which contains + /// the requested consumer. + /// + public interface IConsumerResolver + { + IConsumer Resolve(ConsumerDescriptor descriptor); + object ResolveParameter(ParameterInfo p, IComponentContext c = null); + } +} diff --git a/src/Libraries/SmartStore.Core/Events/IEventPublisher.cs b/src/Libraries/SmartStore.Core/Events/IEventPublisher.cs index 54fb88e357..21f0f6ebe6 100644 --- a/src/Libraries/SmartStore.Core/Events/IEventPublisher.cs +++ b/src/Libraries/SmartStore.Core/Events/IEventPublisher.cs @@ -1,8 +1,9 @@ - +using System; + namespace SmartStore.Core.Events { - public interface IEventPublisher - { - void Publish(T eventMessage); - } + public interface IEventPublisher + { + void Publish(T message) where T : class; + } } diff --git a/src/Libraries/SmartStore.Core/Events/NullEventPublisher.cs b/src/Libraries/SmartStore.Core/Events/NullEventPublisher.cs index d0bff29ca8..07d7ae6e11 100644 --- a/src/Libraries/SmartStore.Core/Events/NullEventPublisher.cs +++ b/src/Libraries/SmartStore.Core/Events/NullEventPublisher.cs @@ -10,7 +10,7 @@ public static IEventPublisher Instance get { return s_instance; } } - public void Publish(T eventMessage) + public void Publish(T eventMessage) where T : class { // Noop } diff --git a/src/Libraries/SmartStore.Core/Extensions/CollectionExtensions.cs b/src/Libraries/SmartStore.Core/Extensions/CollectionExtensions.cs index 8fec538fbe..5bd474e782 100644 --- a/src/Libraries/SmartStore.Core/Extensions/CollectionExtensions.cs +++ b/src/Libraries/SmartStore.Core/Extensions/CollectionExtensions.cs @@ -1,9 +1,6 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Web; -using System.Web.Routing; +using SmartStore.Collections; namespace SmartStore { @@ -26,7 +23,22 @@ public static void AddRange(this ICollection initial, IEnumerable other } } - public static bool IsNullOrEmpty(this ICollection source) + public static SyncedCollection AsSynchronized(this ICollection source) + { + return AsSynchronized(source, new object()); + } + + public static SyncedCollection AsSynchronized(this ICollection source, object syncRoot) + { + if (source is SyncedCollection sc) + { + return sc; + } + + return new SyncedCollection(source, syncRoot); + } + + public static bool IsNullOrEmpty(this ICollection source) { return source == null || source.Count == 0; } diff --git a/src/Libraries/SmartStore.Core/Extensions/ConversionExtensions.cs b/src/Libraries/SmartStore.Core/Extensions/ConversionExtensions.cs index 35fa7b73e2..58992963be 100644 --- a/src/Libraries/SmartStore.Core/Extensions/ConversionExtensions.cs +++ b/src/Libraries/SmartStore.Core/Extensions/ConversionExtensions.cs @@ -213,16 +213,21 @@ public static byte[] ToByteArray(this Stream stream) if (stream == null) throw new ArgumentNullException(nameof(stream)); - if (stream is MemoryStream) + if (stream is MemoryStream mem) { - return ((MemoryStream)stream).ToArray(); + if (mem.TryGetBuffer(out var buffer)) + { + return buffer.Array; + } + + return mem.ToArray(); } else { using (var streamReader = new MemoryStream()) { stream.CopyTo(streamReader); - return streamReader.ToArray(); + return streamReader.GetBuffer(); } } } @@ -232,9 +237,14 @@ public static async Task ToByteArrayAsync(this Stream stream) if (stream == null) throw new ArgumentNullException(nameof(stream)); - if (stream is MemoryStream) + if (stream is MemoryStream mem) { - return ((MemoryStream)stream).ToArray(); + if (mem.TryGetBuffer(out var buffer)) + { + return buffer.Array; + } + + return mem.ToArray(); } else { diff --git a/src/Libraries/SmartStore.Core/Extensions/EnumerableExtensions.cs b/src/Libraries/SmartStore.Core/Extensions/EnumerableExtensions.cs index a711c68aa7..cb529dcace 100644 --- a/src/Libraries/SmartStore.Core/Extensions/EnumerableExtensions.cs +++ b/src/Libraries/SmartStore.Core/Extensions/EnumerableExtensions.cs @@ -423,6 +423,36 @@ public static int Remove(this IList list, Func selector) return count; } - #endregion - } + #endregion + + #region Stack + + public static bool TryPeek(this Stack stack, out T value) + { + value = default(T); + + if (stack.Count > 0) + { + value = stack.Peek(); + return true; + } + + return false; + } + + public static bool TryPop(this Stack stack, out T value) + { + value = default(T); + + if (stack.Count > 0) + { + value = stack.Pop(); + return true; + } + + return false; + } + + #endregion + } } diff --git a/src/Libraries/SmartStore.Core/Extensions/HttpExtensions.cs b/src/Libraries/SmartStore.Core/Extensions/HttpExtensions.cs index 1d6bb939dc..59851619db 100644 --- a/src/Libraries/SmartStore.Core/Extensions/HttpExtensions.cs +++ b/src/Libraries/SmartStore.Core/Extensions/HttpExtensions.cs @@ -11,6 +11,7 @@ using SmartStore.Core.Infrastructure; using SmartStore.Core; using System.Web.Mvc; +using SmartStore.Core.Fakes; namespace SmartStore { @@ -28,6 +29,47 @@ public static class HttpExtensions new Tuple("X-Url-Scheme", "https") }; + /// + /// Tries to get the instance without throwing exceptions + /// + /// The instance or null. + public static HttpRequestBase SafeGetHttpRequest(this HttpContext httpContext) + { + if (httpContext == null) + { + return null; + } + + return SafeGetHttpRequest(new HttpContextWrapper(httpContext)); + } + + /// + /// Tries to get the instance without throwing exceptions + /// + /// The instance or null. + public static HttpRequestBase SafeGetHttpRequest(this HttpContextBase httpContext) + { + if (httpContext == null) + { + return null; + } + + if (httpContext.Handler != null || httpContext is FakeHttpContext) + { + // Having a handler means we're most likely in the MVC routing pipeline. + return httpContext.Request; + } + + try + { + return httpContext.Request; + } + catch + { + return null; + } + } + /// /// Returns wether the specified url is local to the host or not /// @@ -242,7 +284,7 @@ where key.StartsWith(pattern, StringComparison.OrdinalIgnoreCase) return keys.ToArray(); } - public static ControllerContext GetMasterControllerContext(this ControllerContext controllerContext) + public static ControllerContext GetRootControllerContext(this ControllerContext controllerContext) { Guard.NotNull(controllerContext, nameof(controllerContext)); @@ -255,6 +297,21 @@ public static ControllerContext GetMasterControllerContext(this ControllerContex return ctx; } - } + public static bool IsBareBonePage(this ControllerContext controllerContext) + { + var ctx = controllerContext.GetRootControllerContext(); + + if (ctx is ViewContext viewContext) + { + // IsPopUp or Framed + if (viewContext.ViewBag.IsPopup == true || viewContext.ViewBag.Framed == true) + { + return true; + } + } + + return false; + } + } } diff --git a/src/Libraries/SmartStore.Core/Extensions/IOExtensions.cs b/src/Libraries/SmartStore.Core/Extensions/IOExtensions.cs index 5b6c628c10..2104c9c3ee 100644 --- a/src/Libraries/SmartStore.Core/Extensions/IOExtensions.cs +++ b/src/Libraries/SmartStore.Core/Extensions/IOExtensions.cs @@ -1,9 +1,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace SmartStore { diff --git a/src/Libraries/SmartStore.Core/Extensions/RouteExtensions.cs b/src/Libraries/SmartStore.Core/Extensions/RouteExtensions.cs index e57d2ca275..845d7a9a79 100644 --- a/src/Libraries/SmartStore.Core/Extensions/RouteExtensions.cs +++ b/src/Libraries/SmartStore.Core/Extensions/RouteExtensions.cs @@ -34,10 +34,10 @@ public static string GetAreaName(this RouteBase route) return null; } - /// - /// Generates an identifier for the given route in the form "[{area}.]{controller}.{action}" - /// - public static string GenerateRouteIdentifier(this RouteData routeData) + /// + /// Generates an identifier for the given route in the form "[{area}.]{controller}.{action}" + /// + public static string GenerateRouteIdentifier(this RouteData routeData) { string area = routeData.GetAreaName(); string controller = routeData.GetRequiredString("controller"); diff --git a/src/Libraries/SmartStore.Core/Extensions/StringExtensions.cs b/src/Libraries/SmartStore.Core/Extensions/StringExtensions.cs index f822ef9ec6..211fb926af 100644 --- a/src/Libraries/SmartStore.Core/Extensions/StringExtensions.cs +++ b/src/Libraries/SmartStore.Core/Extensions/StringExtensions.cs @@ -11,6 +11,7 @@ using System.Linq; using AngleSharp.Dom; using AngleSharp.Parser.Html; +using SmartStore.Core.Html; namespace SmartStore { @@ -22,7 +23,7 @@ public static class StringExtensions public const char LineFeed = '\n'; public const char Tab = '\t'; - private delegate void ActionLine(TextWriter textWriter, string line); + private delegate void ActionLine(TextWriter textWriter, string line); #region Char extensions @@ -564,34 +565,7 @@ public static string RemoveHtml(this string source, ICollection removeTa public static string RemoveHtml(this string source) { - if (source.IsEmpty()) - return string.Empty; - - var ignoreTags = new HashSet(StringComparer.OrdinalIgnoreCase) { "script", "style", "svg", "img" }; - - var parser = new HtmlParser(); - var doc = parser.Parse(source); - - var treeWalker = doc.CreateTreeWalker(doc.Body, FilterSettings.Text); - - var sb = new StringBuilder(); - - var node = treeWalker.ToNext(); - while (node != null) - { - if (!ignoreTags.Contains(node.Parent.NodeName)) - { - var text = node.TextContent; - if (text.HasValue()) - { - sb.AppendLine(text); - } - } - - node = treeWalker.ToNext(); - } - - return sb.ToString().HtmlDecode(); + return HtmlUtils.StripTags(source).Trim().HtmlDecode(); } /// @@ -637,30 +611,29 @@ public static string[] SplitSafe(this string value, string separator) if (string.IsNullOrEmpty(value)) return new string[0]; - // do not use separator.IsEmpty() here because whitespace like " " is a valid separator. + // Do not use separator.IsEmpty() here because whitespace like " " is a valid separator. // an empty separator "" returns array with value. if (separator == null) { - separator = "|"; - - if (value.IndexOf(separator) < 0) + for (var i = 0; i < value.Length; i++) { - if (value.IndexOf(';') > -1) - { - separator = ";"; - } - else if (value.IndexOf(',') > -1) + var c = value[i]; + if (c == ';' || c == ',' || c == '|') { - separator = ","; + return value.Split(new char[] { c }, StringSplitOptions.RemoveEmptyEntries); } - else if (value.IndexOf(Environment.NewLine) > -1) + if (c == '\r' && (i + 1) < value.Length & value[i + 1] == '\n') { - separator = Environment.NewLine; + return value.GetLines(false, true).ToArray(); } } - } - return value.Split(new string[] { separator }, StringSplitOptions.RemoveEmptyEntries); + return new string[] { value }; + } + else + { + return value.Split(new string[] { separator }, StringSplitOptions.RemoveEmptyEntries); + } } /// Splits a string into two strings @@ -1113,11 +1086,8 @@ public static string ReplaceCsvChars(this string s) [DebuggerStepThrough] public static string HighlightKeywords(this string input, string keywords, string preMatch = "", string postMatch = "") { - if (preMatch == null) - throw new ArgumentNullException(nameof(preMatch)); - - if (postMatch == null) - throw new ArgumentNullException(nameof(postMatch)); + Guard.NotNull(preMatch, nameof(preMatch)); + Guard.NotNull(postMatch, nameof(postMatch)); if (string.IsNullOrWhiteSpace(input) || string.IsNullOrWhiteSpace(keywords)) { @@ -1133,7 +1103,7 @@ public static string HighlightKeywords(this string input, string keywords, strin if (!string.IsNullOrWhiteSpace(pattern)) { var rg = new Regex(pattern, RegexOptions.IgnoreCase); - input = rg.Replace(input, m => preMatch + m.Value + postMatch); + input = rg.Replace(input, m => preMatch + m.Value.EmptyNull().HtmlEncode() + postMatch); } return input; diff --git a/src/Libraries/SmartStore.Core/Fakes/FakeHttpContext.cs b/src/Libraries/SmartStore.Core/Fakes/FakeHttpContext.cs index 4a024630cc..68302e9a61 100644 --- a/src/Libraries/SmartStore.Core/Fakes/FakeHttpContext.cs +++ b/src/Libraries/SmartStore.Core/Fakes/FakeHttpContext.cs @@ -66,6 +66,8 @@ public FakeHttpContext(string relativeUrl, _serverVariables = serverVariables; _items = new Dictionary(); + + Handler = new FakeHttpHandler(); } public override IHttpHandler Handler { get; set; } diff --git a/src/Libraries/SmartStore.Core/Fakes/FakeHttpHandler.cs b/src/Libraries/SmartStore.Core/Fakes/FakeHttpHandler.cs new file mode 100644 index 0000000000..ea0839801a --- /dev/null +++ b/src/Libraries/SmartStore.Core/Fakes/FakeHttpHandler.cs @@ -0,0 +1,15 @@ +using System; +using System.Web; + +namespace SmartStore.Core.Fakes +{ + public class FakeHttpHandler : IHttpHandler + { + public bool IsReusable => true; + + public void ProcessRequest(HttpContext context) + { + throw new NotImplementedException(); + } + } +} diff --git a/src/Libraries/SmartStore.Core/Fakes/FakeHttpRequest.cs b/src/Libraries/SmartStore.Core/Fakes/FakeHttpRequest.cs index 5238183265..ee5ecc7928 100644 --- a/src/Libraries/SmartStore.Core/Fakes/FakeHttpRequest.cs +++ b/src/Libraries/SmartStore.Core/Fakes/FakeHttpRequest.cs @@ -115,8 +115,8 @@ public override string ApplicationPath { get { - //we know that relative paths always start with ~/ - //ApplicationPath should start with / + // We know that relative paths always start with ~/ + // ApplicationPath should start with / if (_relativeUrl != null && _relativeUrl.StartsWith("~/")) return _relativeUrl.Remove(0, 1); return null; @@ -137,10 +137,11 @@ public override string UserHostAddress } public override string RawUrl => this.ApplicationPath; - public override bool IsSecureConnection => false; + public override bool IsSecureConnection => _url?.Scheme?.EmptyNull().StartsWith("https", StringComparison.OrdinalIgnoreCase) == true; public override bool IsAuthenticated => false; public override string[] UserLanguages => new string[] { }; public override string UserAgent => "SmartStore.NET"; + public override bool IsLocal => false; public override RequestContext RequestContext { diff --git a/src/Libraries/SmartStore.Core/Html/BBCodeHelper.cs b/src/Libraries/SmartStore.Core/Html/BBCodeHelper.cs index dea33ad5f2..b4e9c92eb0 100644 --- a/src/Libraries/SmartStore.Core/Html/BBCodeHelper.cs +++ b/src/Libraries/SmartStore.Core/Html/BBCodeHelper.cs @@ -4,21 +4,15 @@ namespace SmartStore.Core.Html { - /// - /// Represents a BBCode helper - /// public partial class BBCodeHelper { - #region Fields private static readonly Regex regexBold = new Regex(@"\[b\](.+?)\[/b\]", RegexOptions.Compiled | RegexOptions.IgnoreCase); private static readonly Regex regexItalic = new Regex(@"\[i\](.+?)\[/i\]", RegexOptions.Compiled | RegexOptions.IgnoreCase); private static readonly Regex regexUnderLine = new Regex(@"\[u\](.+?)\[/u\]", RegexOptions.Compiled | RegexOptions.IgnoreCase); private static readonly Regex regexUrl1 = new Regex(@"\[url\=([^\]]+)\]([^\]]+)\[/url\]", RegexOptions.Compiled | RegexOptions.IgnoreCase); private static readonly Regex regexUrl2 = new Regex(@"\[url\](.+?)\[/url\]", RegexOptions.Compiled | RegexOptions.IgnoreCase); private static readonly Regex regexQuote = new Regex(@"\[quote(=.+?)?\](.+?)\[/quote\]", RegexOptions.Compiled | RegexOptions.IgnoreCase); - #endregion - #region Methods /// /// Formats the text /// @@ -30,8 +24,14 @@ public partial class BBCodeHelper /// A value indicating whether to replace Code /// A value indicating whether to replace Quote /// Formatted text - public static string FormatText(string text, bool replaceBold, bool replaceItalic, - bool replaceUnderline, bool replaceUrl, bool replaceCode, bool replaceQuote) + public static string ToHtml( + string text, + bool replaceBold = true, + bool replaceItalic = true, + bool replaceUnderline = true, + bool replaceUrl = true, + bool replaceCode = true, + bool replaceQuote = true) { if (String.IsNullOrEmpty(text)) return string.Empty; @@ -115,6 +115,5 @@ public static string RemoveQuotes(string str) str = Regex.Replace(str, @"\[/quote\]", String.Empty, RegexOptions.Compiled | RegexOptions.IgnoreCase); return str; } - #endregion } } diff --git a/src/Libraries/SmartStore.Core/Html/HtmlUtils.cs b/src/Libraries/SmartStore.Core/Html/HtmlUtils.cs index 3e645dcc1f..f3239a1b15 100644 --- a/src/Libraries/SmartStore.Core/Html/HtmlUtils.cs +++ b/src/Libraries/SmartStore.Core/Html/HtmlUtils.cs @@ -6,6 +6,10 @@ using AngleSharp; using AngleSharp.Parser.Html; using AngleSharp.Parser.Css; +using System.Collections.Generic; +using AngleSharp.Dom; +using AngleSharp.Dom.Html; +using Ganss.XSS; namespace SmartStore.Core.Html { @@ -14,133 +18,127 @@ namespace SmartStore.Core.Html /// public partial class HtmlUtils { - private readonly static Regex _paragraphStartRegex = new Regex("

", RegexOptions.IgnoreCase); + private readonly static Regex _paragraphStartRegex = new Regex("

", RegexOptions.IgnoreCase); private readonly static Regex _paragraphEndRegex = new Regex("

", RegexOptions.IgnoreCase); - //private static Regex ampRegex = new Regex("&(?!(?:#[0-9]{2,4};|[a-z0-9]+;))", RegexOptions.Compiled | RegexOptions.IgnoreCase); + //private static Regex ampRegex = new Regex("&(?!(?:#[0-9]{2,4};|[a-z0-9]+;))", RegexOptions.Compiled | RegexOptions.IgnoreCase); - private static string EnsureOnlyAllowedHtml(string text) - { - if (String.IsNullOrEmpty(text)) - return string.Empty; + /// + /// Formats the text + /// + /// Text + /// A value indicating whether to strip tags + /// A value indicating whether HTML is allowed + /// A value indicating whether HTML is allowed + /// A value indicating whether BBCode is allowed + /// A value indicating whether to resolve links + /// A value indicating whether to add "noFollow" tag + /// Formatted text + [Obsolete("Use specific formatter methods instead, e.g. StripTags(), SanitizeHtml() etc.")] + public static string FormatText( + string text, + bool stripTags, + bool convertPlainTextToHtml, + bool allowHtml, + bool allowBBCode, + bool resolveLinks, + bool addNoFollowTag) + { - string allowedTags = "br,hr,b,i,u,a,div,ol,ul,li,dl,dt,dd,blockquote,img,span,p,em,strong,font,pre,h1,h2,h3,h4,h5,h6,address,cite"; + if (String.IsNullOrEmpty(text)) + return string.Empty; - var m = Regex.Matches(text, "<.*?>", RegexOptions.IgnoreCase); - for (int i = m.Count - 1; i >= 0; i--) - { - string tag = text.Substring(m[i].Index + 1, m[i].Length - 1).Trim().ToLower(); + try + { + if (stripTags) + { + text = StripTags(text); + } - if (!IsValidTag(tag, allowedTags)) - { - text = text.Remove(m[i].Index, m[i].Length); - } - } + if (allowHtml) + { + text = SanitizeHtml(text); + } + else + { + text = HttpUtility.HtmlEncode(text); + } - return text; - } + if (convertPlainTextToHtml) + { + text = ConvertPlainTextToHtml(text); + } - private static bool IsValidTag(string tag, string tags) - { - string[] allowedTags = tags.Split(','); - if (tag.IndexOf("javascript", StringComparison.OrdinalIgnoreCase) >= 0) return false; - if (tag.IndexOf("vbscript", StringComparison.OrdinalIgnoreCase) >= 0) return false; - if (tag.IndexOf("onclick", StringComparison.OrdinalIgnoreCase) >= 0) return false; + if (allowBBCode) + { + text = BBCodeHelper.ToHtml(text, true, true, true, true, true, true); + } - var endchars = new char[] { ' ', '>', '/', '\t' }; + if (resolveLinks) + { + text = ResolveLinksHelper.FormatText(text); + } - int pos = tag.IndexOfAny(endchars, 1); - if (pos > 0) tag = tag.Substring(0, pos); - if (tag[0] == '/') tag = tag.Substring(1); + if (addNoFollowTag) + { + //add noFollow tag. not implemented + } + } + catch (Exception exc) + { + text = string.Format("Text cannot be formatted. Error: {0}", exc.Message); + } - return allowedTags.Any(aTag => tag == aTag); - } + return text; + } - /// - /// Formats the text - /// - /// Text - /// A value indicating whether to strip tags - /// A value indicating whether HTML is allowed - /// A value indicating whether HTML is allowed - /// A value indicating whether BBCode is allowed - /// A value indicating whether to resolve links - /// A value indicating whether to add "noFollow" tag - /// Formatted text - public static string FormatText( - string text, - bool stripTags, - bool convertPlainTextToHtml, - bool allowHtml, - bool allowBBCode, - bool resolveLinks, - bool addNoFollowTag) + public static string SanitizeHtml(string html, bool isFragment = true) { - - if (String.IsNullOrEmpty(text)) + if (string.IsNullOrEmpty(html)) return string.Empty; - try - { - if (stripTags) - { - text = StripTags(text); - } - - if (allowHtml) - { - text = EnsureOnlyAllowedHtml(text); - } - else - { - text = HttpUtility.HtmlEncode(text); - } - - if (convertPlainTextToHtml) - { - text = ConvertPlainTextToHtml(text); - } - - if (allowBBCode) - { - text = BBCodeHelper.FormatText(text, true, true, true, true, true, true); - } + var sanitizer = new HtmlSanitizer(); - if (resolveLinks) - { - text = ResolveLinksHelper.FormatText(text); - } - - if (addNoFollowTag) - { - //add noFollow tag. not implemented - } - } - catch (Exception exc) - { - text = string.Format("Text cannot be formatted. Error: {0}", exc.Message); - } - return text; + if (isFragment) + { + return sanitizer.Sanitize(html); + } + else + { + return sanitizer.SanitizeDocument(html); + } } /// /// Strips tags /// - /// Text + /// Text /// Formatted text - public static string StripTags(string text) + public static string StripTags(string html) { - if (String.IsNullOrEmpty(text)) - return string.Empty; + if (html.IsEmpty()) + return string.Empty; - text = Regex.Replace(text, @"(>)(\r|\n)*(<)", "><"); - text = Regex.Replace(text, "(<[^>]*>)([^<]*)", "$2"); - text = Regex.Replace(text, "(&#x?[0-9]{2,4};|"|&| |<|>|€|©|®|‰|‡|†|‹|›|„|”|“|‚|’|‘|—|–|‏|‎|‍|‌| | | |˜|ˆ|Ÿ|š|Š)", "@"); + var ignoreTags = new HashSet(StringComparer.OrdinalIgnoreCase) { "script", "style", "svg", "img" }; + var parser = new HtmlParser(); + var doc = parser.Parse(html); - return text; - } + List removeElements = new List(); + + foreach (var ignoreTag in ignoreTags) + { + removeElements.AddRange(doc.QuerySelectorAll(ignoreTag)); + } + + foreach (var el in removeElements) + { + el.Remove(); + } + + return doc.Body.TextContent; + } /// - /// replace anchor text (remove a tag from the following url Name and output only the string "Name") + /// Replace anchor text (remove a tag from the following url Name and output only the string "Name") /// /// Text /// Text @@ -160,7 +158,7 @@ public static string ReplaceAnchorTags(string text) /// Formatted text public static string ConvertPlainTextToHtml(string text) { - if (String.IsNullOrEmpty(text)) + if (string.IsNullOrEmpty(text)) return string.Empty; text = text.Replace("\r\n", "
"); diff --git a/src/Libraries/SmartStore.Core/Html/ResolveLinksHelper.cs b/src/Libraries/SmartStore.Core/Html/ResolveLinksHelper.cs index c58f9540ba..afa070448f 100644 --- a/src/Libraries/SmartStore.Core/Html/ResolveLinksHelper.cs +++ b/src/Libraries/SmartStore.Core/Html/ResolveLinksHelper.cs @@ -10,16 +10,12 @@ namespace SmartStore.Core.Html /// public partial class ResolveLinksHelper { - #region Fields /// /// The regular expression used to parse links. /// private static readonly Regex regex = new Regex("((http://|https://|www\\.)([A-Z0-9.\\-]{1,})\\.[0-9A-Z?;~&\\(\\)#,=\\-_\\./\\+]{2,})", RegexOptions.Compiled | RegexOptions.IgnoreCase); private const string link = "{2}"; private const int MAX_LENGTH = 50; - #endregion - - #region Utilities /// /// Shortens any absolute URL to a specified maximum length @@ -80,9 +76,7 @@ private static string ShortenUrl(string url, int max) return url; } - #endregion - #region Methods /// /// Formats the text /// @@ -93,21 +87,20 @@ public static string FormatText(string text) if (String.IsNullOrEmpty(text)) return string.Empty; - var info = CultureInfo.InvariantCulture; + var ci = CultureInfo.InvariantCulture; foreach (Match match in regex.Matches(text)) { if (!match.Value.Contains("://")) { - text = text.Replace(match.Value, string.Format(info, link, "http://", match.Value, ShortenUrl(match.Value, MAX_LENGTH))); + text = text.Replace(match.Value, string.Format(ci, link, "http://", match.Value, ShortenUrl(match.Value, MAX_LENGTH))); } else { - text = text.Replace(match.Value, string.Format(info, link, string.Empty, match.Value, ShortenUrl(match.Value, MAX_LENGTH))); + text = text.Replace(match.Value, string.Format(ci, link, string.Empty, match.Value, ShortenUrl(match.Value, MAX_LENGTH))); } } return text; } - #endregion } } diff --git a/src/Libraries/SmartStore.Core/IO/LocalFileSystem.cs b/src/Libraries/SmartStore.Core/IO/LocalFileSystem.cs index 3187971ec6..9591f17d81 100644 --- a/src/Libraries/SmartStore.Core/IO/LocalFileSystem.cs +++ b/src/Libraries/SmartStore.Core/IO/LocalFileSystem.cs @@ -31,7 +31,7 @@ protected internal LocalFileSystem(string basePath, string publicPath) { basePath = basePath.EmptyNull(); - var pathIsAbsolute = FileSystemHelper.IsFullPath(basePath); + var pathIsAbsolute = PathHelper.IsAbsolutePhysicalPath(basePath); NormalizeStoragePath(ref basePath, pathIsAbsolute); @@ -517,7 +517,7 @@ public long Size public DateTime LastUpdated { - get { return _fileInfo.LastWriteTime; } + get { return _fileInfo.LastWriteTimeUtc; } } public string Extension @@ -595,7 +595,7 @@ public string Name public DateTime LastUpdated { - get { return _directoryInfo.LastWriteTime; } + get { return _directoryInfo.LastWriteTimeUtc; } } public long Size diff --git a/src/Libraries/SmartStore.Core/IO/VirtualPath/IVirtualFolder.cs b/src/Libraries/SmartStore.Core/IO/VirtualPath/IVirtualFolder.cs index 6f1bb5f3a2..e4177560ad 100644 --- a/src/Libraries/SmartStore.Core/IO/VirtualPath/IVirtualFolder.cs +++ b/src/Libraries/SmartStore.Core/IO/VirtualPath/IVirtualFolder.cs @@ -33,6 +33,7 @@ public interface IVirtualFolder Stream OpenFile(string relativePath); void CreateTextFile(string relativePath, string content); + Task CreateTextFileAsync(string relativePath, string content); Stream CreateFile(string relativePath); void CreateDirectory(string relativePath); @@ -40,6 +41,7 @@ public interface IVirtualFolder void DeleteDirectory(string relativePath); string ReadFile(string relativePath); + Task ReadFileAsync(string relativePath); void CopyFile(string relativePath, Stream destination); DateTime GetFileLastWriteTimeUtc(string relativePath); diff --git a/src/Libraries/SmartStore.Core/IO/VirtualPath/VirtualFolder.cs b/src/Libraries/SmartStore.Core/IO/VirtualPath/VirtualFolder.cs index 8b892dedea..6355143bc6 100644 --- a/src/Libraries/SmartStore.Core/IO/VirtualPath/VirtualFolder.cs +++ b/src/Libraries/SmartStore.Core/IO/VirtualPath/VirtualFolder.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; +using System.Threading.Tasks; using SmartStore.Core.Logging; namespace SmartStore.Core.IO @@ -117,6 +118,19 @@ public void CreateTextFile(string relativePath, string content) } } + public async Task CreateTextFileAsync(string relativePath, string content) + { + Guard.NotEmpty(relativePath, nameof(relativePath)); + + using (var stream = CreateFile(relativePath)) + { + using (var tw = new StreamWriter(stream)) + { + await tw.WriteAsync(content); + } + } + } + public virtual Stream CreateFile(string relativePath) { var filePath = MapPath(relativePath); @@ -170,6 +184,26 @@ public virtual string ReadFile(string relativePath) } } + public virtual async Task ReadFileAsync(string relativePath) + { + Guard.NotEmpty(relativePath, nameof(relativePath)); + + var path = GetVirtualPath(relativePath); + + if (!_vpp.FileExists(path)) + { + return null; + } + + using (var stream = _vpp.OpenFile(path)) + { + using (var reader = new StreamReader(stream)) + { + return await reader.ReadToEndAsync(); + } + } + } + public virtual void CopyFile(string relativePath, Stream destination) { Guard.NotEmpty(relativePath, nameof(relativePath)); diff --git a/src/Libraries/SmartStore.Core/IPageable.cs b/src/Libraries/SmartStore.Core/IPageable.cs index 6689becf09..ce270c8e4e 100644 --- a/src/Libraries/SmartStore.Core/IPageable.cs +++ b/src/Libraries/SmartStore.Core/IPageable.cs @@ -3,6 +3,7 @@ using System.Collections; using System.Collections.Generic; using System.Linq; +using System.Threading.Tasks; namespace SmartStore.Core { @@ -100,7 +101,19 @@ public interface IPagedList : IPageable, IList /// A query with applied paging args IQueryable ApplyPaging(IQueryable query); + /// + /// Loads the data synchronously. + /// + /// When true, always reloads data. When false, first checks to see whether data has been loaded already and skips if so. + /// Returns itself for chaining. IPagedList Load(bool force = false); + + /// + /// Loads the data asynchronously. + /// + /// When true, always reloads data. When false, first checks to see whether data has been loaded already and skips if so. + /// Returns itself for chaining. + Task> LoadAsync(bool force = false); } } diff --git a/src/Libraries/SmartStore.Core/Infrastructure/AppDomainTypeFinder.cs b/src/Libraries/SmartStore.Core/Infrastructure/AppDomainTypeFinder.cs index b7ffec8f69..4ed72318a1 100644 --- a/src/Libraries/SmartStore.Core/Infrastructure/AppDomainTypeFinder.cs +++ b/src/Libraries/SmartStore.Core/Infrastructure/AppDomainTypeFinder.cs @@ -71,7 +71,7 @@ public IEnumerable FindClassesOfType(Type assignTypeFrom, IEnumerable(object key = null, ILifetimeScope scope = null) where T : class + [DebuggerStepThrough] + public T Resolve(object key = null, ILifetimeScope scope = null) where T : class { if (key == null) { @@ -36,22 +38,26 @@ public T Resolve(object key = null, ILifetimeScope scope = null) where T : cl return (scope ?? Scope()).ResolveKeyed(key); } - public T ResolveNamed(string name, ILifetimeScope scope = null) where T : class + [DebuggerStepThrough] + public T ResolveNamed(string name, ILifetimeScope scope = null) where T : class { return (scope ?? Scope()).ResolveNamed(name); } - public object Resolve(Type type, ILifetimeScope scope = null) + [DebuggerStepThrough] + public object Resolve(Type type, ILifetimeScope scope = null) { return (scope ?? Scope()).Resolve(type); } - public object ResolveNamed(string name, Type type, ILifetimeScope scope = null) + [DebuggerStepThrough] + public object ResolveNamed(string name, Type type, ILifetimeScope scope = null) { return (scope ?? Scope()).ResolveNamed(name, type); } - public T[] ResolveAll(object key = null, ILifetimeScope scope = null) + [DebuggerStepThrough] + public T[] ResolveAll(object key = null, ILifetimeScope scope = null) { if (key == null) { @@ -130,7 +136,8 @@ private bool TryResolveAll(Type[] types, out object[] instances, ILifetimeScope } } - public bool TryResolve(Type serviceType, ILifetimeScope scope, out object instance) + [DebuggerStepThrough] + public bool TryResolve(Type serviceType, ILifetimeScope scope, out object instance) { instance = null; @@ -144,7 +151,8 @@ public bool TryResolve(Type serviceType, ILifetimeScope scope, out object instan } } - public bool TryResolve(ILifetimeScope scope, out T instance) + [DebuggerStepThrough] + public bool TryResolve(ILifetimeScope scope, out T instance) { instance = default(T); @@ -178,6 +186,7 @@ public T InjectUnsetProperties(T instance, ILifetimeScope scope = null) return (scope ?? Scope()).InjectUnsetProperties(instance); } + [DebuggerStepThrough] public ILifetimeScope Scope() { var scope = _container.Resolve().GetLifetimeScope(null); diff --git a/src/Libraries/SmartStore.Core/Infrastructure/DependencyManagement/DefaultLifetimeScopeAccessor.cs b/src/Libraries/SmartStore.Core/Infrastructure/DependencyManagement/DefaultLifetimeScopeAccessor.cs index bf84c53263..1c7fed864c 100644 --- a/src/Libraries/SmartStore.Core/Infrastructure/DependencyManagement/DefaultLifetimeScopeAccessor.cs +++ b/src/Libraries/SmartStore.Core/Infrastructure/DependencyManagement/DefaultLifetimeScopeAccessor.cs @@ -61,6 +61,7 @@ public ILifetimeScope GetLifetimeScope(Action configurationAct _state.SetState((scope = BeginLifetimeScope(configurationAction))); //scope.CurrentScopeEnding += OnScopeEnding; } + return scope; } @@ -76,7 +77,7 @@ public ILifetimeScope GetLifetimeScope(Action configurationAct // Debug.WriteLine("Scope END, Web: " + isWeb); //} - private ILifetimeScope BeginLifetimeScope(Action configurationAction) + public ILifetimeScope BeginLifetimeScope(Action configurationAction) { return (configurationAction == null) ? _rootContainer.BeginLifetimeScope(ScopeTag) diff --git a/src/Libraries/SmartStore.Core/Infrastructure/DependencyManagement/ILifetimeScopeAccessor.cs b/src/Libraries/SmartStore.Core/Infrastructure/DependencyManagement/ILifetimeScopeAccessor.cs index 03beda80b8..ee09073226 100644 --- a/src/Libraries/SmartStore.Core/Infrastructure/DependencyManagement/ILifetimeScopeAccessor.cs +++ b/src/Libraries/SmartStore.Core/Infrastructure/DependencyManagement/ILifetimeScopeAccessor.cs @@ -39,5 +39,14 @@ public interface ILifetimeScopeAccessor /// desirable to create a new scope, but use the existing, http context bound scope instead. /// IDisposable BeginContextAwareScope(); + + /// + /// Creates a nested lifetime scope that services can be resolved from + /// + /// A configuration action that will execute during lifetime scope creation. + /// + /// A new nested lifetime scope. + /// + ILifetimeScope BeginLifetimeScope(Action configurationAction); } } diff --git a/src/Libraries/SmartStore.Core/Infrastructure/SmartStoreEngine.cs b/src/Libraries/SmartStore.Core/Infrastructure/SmartStoreEngine.cs index 18dcfc4222..0029454b28 100644 --- a/src/Libraries/SmartStore.Core/Infrastructure/SmartStoreEngine.cs +++ b/src/Libraries/SmartStore.Core/Infrastructure/SmartStoreEngine.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; @@ -148,6 +149,7 @@ public bool IsFullyInitialized set; } + [DebuggerStepThrough] public T Resolve(string name = null) where T : class { if (name.HasValue()) @@ -157,6 +159,7 @@ public T Resolve(string name = null) where T : class return ContainerManager.Resolve(); } + [DebuggerStepThrough] public object Resolve(Type type, string name = null) { if (name.HasValue()) @@ -166,7 +169,7 @@ public object Resolve(Type type, string name = null) return ContainerManager.Resolve(type); } - + [DebuggerStepThrough] public T[] ResolveAll() { return ContainerManager.ResolveAll(); diff --git a/src/Libraries/SmartStore.Core/Infrastructure/WebAppTypeFinder.cs b/src/Libraries/SmartStore.Core/Infrastructure/WebAppTypeFinder.cs index f06b87c086..a437eebd7d 100644 --- a/src/Libraries/SmartStore.Core/Infrastructure/WebAppTypeFinder.cs +++ b/src/Libraries/SmartStore.Core/Infrastructure/WebAppTypeFinder.cs @@ -95,7 +95,7 @@ protected virtual void LoadPluginAssemblies() AppDomain.CurrentDomain.GetAssemblies().Select(x => x.FullName), StringComparer.OrdinalIgnoreCase); - var pluginAssemblies = new HashSet(PluginManager.ReferencedPlugins.Select(x => x.ReferencedAssembly).Where(x => x != null)); + var pluginAssemblies = new HashSet(PluginManager.ReferencedPlugins.Select(x => x.Assembly.Assembly)); foreach (var assembly in pluginAssemblies) { diff --git a/src/Libraries/SmartStore.Core/Logging/log4net/Log4netLogger.cs b/src/Libraries/SmartStore.Core/Logging/log4net/Log4netLogger.cs index 1b043a2108..6bd1f49e02 100644 --- a/src/Libraries/SmartStore.Core/Logging/log4net/Log4netLogger.cs +++ b/src/Libraries/SmartStore.Core/Logging/log4net/Log4netLogger.cs @@ -74,13 +74,12 @@ public void Log(LogLevel level, Exception exception, string message, object[] ar protected internal void TryAddExtendedThreadInfo(LoggingEvent loggingEvent) { - HttpRequest httpRequest = null; + var isAppInitialized = EngineContext.Current.IsFullyInitialized; - try - { - httpRequest = HttpContext.Current.Request; - } - catch + // Don't knowingly run into exception + var httpRequest = isAppInitialized ? HttpContext.Current.SafeGetHttpRequest() : null; + + if (httpRequest == null) { loggingEvent.Properties["CustomerId"] = DBNull.Value; loggingEvent.Properties["Url"] = DBNull.Value; @@ -100,14 +99,12 @@ protected internal void TryAddExtendedThreadInfo(LoggingEvent loggingEvent) { using (new ActionDisposable(() => props["sm:ThreadInfoAdded"] = true)) { - if (DataSettings.DatabaseIsInstalled() && EngineContext.Current.IsFullyInitialized) + if (DataSettings.DatabaseIsInstalled() && isAppInitialized) { var container = EngineContext.Current.ContainerManager; - IWorkContext workContext; - // CustomerId - if (container.TryResolve(null, out workContext)) + if (container.TryResolve(null, out IWorkContext workContext)) { try { @@ -119,10 +116,9 @@ protected internal void TryAddExtendedThreadInfo(LoggingEvent loggingEvent) } } - IWebHelper webHelper; // Url & stuff - if (container.TryResolve(null, out webHelper)) + if (container.TryResolve(null, out IWebHelper webHelper)) { try { diff --git a/src/Libraries/SmartStore.Core/Money.cs b/src/Libraries/SmartStore.Core/Money.cs index e4bdf4a24f..33244b92ef 100644 --- a/src/Libraries/SmartStore.Core/Money.cs +++ b/src/Libraries/SmartStore.Core/Money.cs @@ -135,8 +135,14 @@ int IComparable.CompareTo(object obj) public override bool Equals(object obj) { - return Equals(obj as Money); - } + // Prevent stack overflow. + if (obj != null) + { + return Equals(obj as Money); + } + + return false; + } bool IEquatable.Equals(Money other) { diff --git a/src/Libraries/SmartStore.Core/PagedList`T.cs b/src/Libraries/SmartStore.Core/PagedList`T.cs index f7e951d047..0fa22d90e1 100644 --- a/src/Libraries/SmartStore.Core/PagedList`T.cs +++ b/src/Libraries/SmartStore.Core/PagedList`T.cs @@ -5,6 +5,7 @@ using System.Data.Entity.Infrastructure; using System.Collections; using System.Collections.ObjectModel; +using System.Threading.Tasks; namespace SmartStore.Core { @@ -66,6 +67,26 @@ private void EnsureIsLoaded() } } + private async Task EnsureIsLoadedAsync() + { + if (_list == null) + { + if (_totalCount == null) + { + _totalCount = SourceQuery.Count(); + } + + if (_queryIsPagedAlready) + { + _list = await SourceQuery.ToListAsync(); + } + else + { + _list = await ApplyPaging(SourceQuery).ToListAsync(); + } + } + } + #region IPageable Members public IQueryable SourceQuery { get; private set; } @@ -101,6 +122,7 @@ public IQueryable ApplyPaging(IQueryable query) public IPagedList Load(bool force = false) { + // Returns instance for chaining. if (force && _list != null) { _list.Clear(); @@ -112,6 +134,20 @@ public IPagedList Load(bool force = false) return this; } + public async Task> LoadAsync(bool force = false) + { + // Returns instance for chaining. + if (force && _list != null) + { + _list.Clear(); + _list = null; + } + + await EnsureIsLoadedAsync(); + + return this; + } + public int PageIndex { get; set; } public int PageSize { get; set; } diff --git a/src/Libraries/SmartStore.Core/Plugins/PluginDescriptor.cs b/src/Libraries/SmartStore.Core/Plugins/PluginDescriptor.cs index 35b2b3e8c9..ab6a32754e 100644 --- a/src/Libraries/SmartStore.Core/Plugins/PluginDescriptor.cs +++ b/src/Libraries/SmartStore.Core/Plugins/PluginDescriptor.cs @@ -11,6 +11,30 @@ namespace SmartStore.Core.Plugins { + /// + /// Information about an assembly referenced by a plugin. + /// + public sealed class AssemblyReference + { + /// + /// File in ASP.NET temp folder + /// + public FileInfo File { get; internal set; } + /// + /// The original assembly file that a shadow copy was made from it + /// + public FileInfo OriginalFile { get; internal set; } + /// + /// The assembly that has been shadow copied and was loaded into the AppDomain + /// + public Assembly Assembly { get; internal set; } + + /// + /// Exception thrown during activation/probing + /// + internal Exception ActivationException { get; set; } + } + [DataContract] public class PluginDescriptor : IComparable { @@ -19,17 +43,16 @@ public class PluginDescriptor : IComparable public PluginDescriptor() { - this.Version = new Version("1.0"); - this.MinAppVersion = SmartStoreVersion.Version; + Version = new Version("1.0"); + MinAppVersion = SmartStoreVersion.Version; } // Unit tests - public PluginDescriptor(Assembly referencedAssembly, FileInfo originalAssemblyFile, Type pluginType) + public PluginDescriptor(Assembly referencedAssembly, FileInfo originalAssemblyFile, Type pluginClrType) : this() { - this.ReferencedAssembly = referencedAssembly; - this.OriginalAssemblyFile = originalAssemblyFile; - this.PluginType = pluginType; + Assembly = new AssemblyReference { Assembly = referencedAssembly, OriginalFile = originalAssemblyFile, File = originalAssemblyFile }; + PluginClrType = pluginClrType; } /// @@ -42,6 +65,12 @@ public PluginDescriptor(Assembly referencedAssembly, FileInfo originalAssemblyFi /// public string PhysicalPath { get; set; } + /// + /// Gets the folder name + /// + [DataMember] + public string FolderName { get; internal set; } + /// /// The virtual path of the runtime plugin /// @@ -79,33 +108,23 @@ public string BrandImageFileName } /// - /// Plugin type + /// Plugin runtime type /// - public Type PluginType { get; set; } - - /// - /// The assembly that has been shadow copied and was loaded into the AppDomain - /// - public Assembly ReferencedAssembly { get; internal set; } - - /// - /// The original assembly file that a shadow copy was made from it - /// - public FileInfo OriginalAssemblyFile { get; internal set; } + public Type PluginClrType { get; set; } /// - /// The list of assembly files found in the plugin folder, except the main plugin assembly. + /// The plugin assembly. /// - public IEnumerable ReferencedLocalAssemblyFiles { get; internal set; } + public AssemblyReference Assembly { get; internal set; } = new AssemblyReference(); /// - /// Gets any exception thrown during plugin activation & initializing + /// List of assemblies files found in the plugin folder, except the main plugin assembly. /// - public Exception ActivationException { get; internal set; } + internal AssemblyReference[] ReferencedLocalAssemblies { get; set; } = new AssemblyReference[0]; - /// - /// Gets or sets the plugin group - /// + /// + /// Gets or sets the plugin group + /// [DataMember] public string Group { get; internal set; } @@ -123,12 +142,6 @@ public bool IsInKnownGroup [DataMember] public string FriendlyName { get; set; } - /// - /// Gets the folder name - /// - [DataMember] - public string FolderName { get; internal set; } - /// /// Gets or sets the system name /// @@ -243,10 +256,10 @@ public string ResourceRootKey public T Instance() where T : class, IPlugin { object instance; - if (!EngineContext.Current.ContainerManager.TryResolve(PluginType, null, out instance)) + if (!EngineContext.Current.ContainerManager.TryResolve(PluginClrType, null, out instance)) { // Not registered - instance = EngineContext.Current.ContainerManager.ResolveUnregistered(PluginType); + instance = EngineContext.Current.ContainerManager.ResolveUnregistered(PluginClrType); } var typedInstance = instance as T; diff --git a/src/Libraries/SmartStore.Core/Plugins/PluginFileParser.cs b/src/Libraries/SmartStore.Core/Plugins/PluginFileParser.cs index 07fcd1de9e..10e0ce284f 100644 --- a/src/Libraries/SmartStore.Core/Plugins/PluginFileParser.cs +++ b/src/Libraries/SmartStore.Core/Plugins/PluginFileParser.cs @@ -42,7 +42,9 @@ public override int Compare(string x, string y) "Sales", "Design", "Performance", - "Misc" + "B2B", + "Storefront", + "Law" }; public readonly static IComparer KnownGroupComparer = new GroupComparer(); diff --git a/src/Libraries/SmartStore.Core/Plugins/PluginFinder.cs b/src/Libraries/SmartStore.Core/Plugins/PluginFinder.cs index 8e61d47f37..4eddd033dd 100644 --- a/src/Libraries/SmartStore.Core/Plugins/PluginFinder.cs +++ b/src/Libraries/SmartStore.Core/Plugins/PluginFinder.cs @@ -1,32 +1,33 @@ using System; -using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace SmartStore.Core.Plugins { - /// - /// Plugin finder - /// public class PluginFinder : IPluginFinder { private IList _plugins; private readonly IDictionary _nameMap = new Dictionary(StringComparer.InvariantCultureIgnoreCase); private readonly IDictionary _assemblyMap = new Dictionary(); - private static readonly object s_lock = new object(); + private static readonly object _lock = new object(); - public PluginFinder() + private PluginFinder() { - lock (s_lock) + lock (_lock) { LoadPlugins(); } } + public static IPluginFinder Current { get; } = new PluginFinder(); + private void LoadPlugins() { + if (_plugins != null) + return; + var plugins = PluginManager.ReferencedPlugins.ToList(); plugins.Sort(); //sort _plugins = plugins; @@ -34,7 +35,10 @@ private void LoadPlugins() foreach (var plugin in plugins) { _nameMap[plugin.SystemName] = plugin; - _assemblyMap[plugin.ReferencedAssembly] = plugin; + if (plugin.Assembly.Assembly != null) + { + _assemblyMap[plugin.Assembly.Assembly] = plugin; + } } } @@ -47,7 +51,7 @@ private void LoadPlugins() public virtual IEnumerable GetPlugins(bool installedOnly = true) where T : class, IPlugin { foreach (var plugin in _plugins) - if (typeof(T).IsAssignableFrom(plugin.PluginType)) + if (typeof(T).IsAssignableFrom(plugin.PluginClrType)) if (!installedOnly || plugin.Installed) yield return plugin.Instance(); } @@ -74,15 +78,14 @@ public virtual IEnumerable GetPluginDescriptors(bool instal where T : class, IPlugin { foreach (var plugin in _plugins) - if (typeof(T).IsAssignableFrom(plugin.PluginType)) + if (typeof(T).IsAssignableFrom(plugin.PluginClrType)) if (!installedOnly || plugin.Installed) yield return plugin; } public virtual PluginDescriptor GetPluginDescriptorByAssembly(Assembly assembly, bool installedOnly = true) { - PluginDescriptor descriptor; - if (assembly != null && _assemblyMap.TryGetValue(assembly, out descriptor)) + if (assembly != null && _assemblyMap.TryGetValue(assembly, out var descriptor)) { if (!installedOnly || descriptor.Installed) return descriptor; @@ -99,8 +102,7 @@ public virtual PluginDescriptor GetPluginDescriptorByAssembly(Assembly assembly, /// >Plugin descriptor public virtual PluginDescriptor GetPluginDescriptorBySystemName(string systemName, bool installedOnly = true) { - PluginDescriptor descriptor; - if (systemName.HasValue() && _nameMap.TryGetValue(systemName, out descriptor)) + if (systemName.HasValue() && _nameMap.TryGetValue(systemName, out var descriptor)) { if (!installedOnly || descriptor.Installed) return descriptor; @@ -118,12 +120,11 @@ public virtual PluginDescriptor GetPluginDescriptorBySystemName(string systemNam /// >Plugin descriptor public virtual PluginDescriptor GetPluginDescriptorBySystemName(string systemName, bool installedOnly = true) where T : class, IPlugin { - PluginDescriptor descriptor; - if (systemName.HasValue() && _nameMap.TryGetValue(systemName, out descriptor)) + if (systemName.HasValue() && _nameMap.TryGetValue(systemName, out var descriptor)) { if (!installedOnly || descriptor.Installed) { - if (typeof(T).IsAssignableFrom(descriptor.PluginType)) + if (typeof(T).IsAssignableFrom(descriptor.PluginClrType)) return descriptor; } } diff --git a/src/Libraries/SmartStore.Core/Plugins/PluginManager.Cache.cs b/src/Libraries/SmartStore.Core/Plugins/PluginManager.Cache.cs index 2d4e6ae541..dff9c225b5 100644 --- a/src/Libraries/SmartStore.Core/Plugins/PluginManager.Cache.cs +++ b/src/Libraries/SmartStore.Core/Plugins/PluginManager.Cache.cs @@ -38,10 +38,14 @@ private static bool DetectAndCleanStalePlugins(IEnumerable plu .Select(x => new FileInfo(Path.Combine(_shadowCopyDir.FullName, x))) .ToArray(); - foreach (var f in staleFiles) + // If that fails, then we will try to remove it the hard way by renaming it to .delete if it doesn't delete nicely + if (staleFiles.Length > 5) { - // If that fails, then we will try to remove it the hard way by renaming it to .delete if it doesn't delete nicely - TryDeleteStaleFile(f); + staleFiles.AsParallel().ForAll(f => TryDeleteStaleFile(f)); + } + else + { + staleFiles.Each(f => TryDeleteStaleFile(f)); } return true; @@ -132,14 +136,11 @@ private static void SavePluginsAssemblies(IEnumerable plugins) foreach (var p in plugins) { - if (p.ReferencedLocalAssemblyFiles != null) - { - p.ReferencedLocalAssemblyFiles.Each(x => list.Add(x.Name)); - } + p.ReferencedLocalAssemblies.Each(x => list.Add(x.OriginalFile.Name)); - if (p.OriginalAssemblyFile != null) + if (p.Assembly.OriginalFile != null) { - list.Add(p.OriginalAssemblyFile.Name); + list.Add(p.Assembly.OriginalFile.Name); } } @@ -166,15 +167,12 @@ private static int ComputePluginsHash(IEnumerable plugins) // Add each *.dll, Description.txt, web.config to the hash foreach (var p in plugins) { - if (p.OriginalAssemblyFile != null) + if (p.Assembly.OriginalFile != null) { - hashCombiner.Add(p.OriginalAssemblyFile); + hashCombiner.Add(p.Assembly.OriginalFile); } - if (p.ReferencedLocalAssemblyFiles != null) - { - p.ReferencedLocalAssemblyFiles.Each(x => hashCombiner.Add(x)); - } + p.ReferencedLocalAssemblies.Each(x => hashCombiner.Add(x.OriginalFile)); hashCombiner.Add(Path.Combine(p.PhysicalPath, "Description.txt")); hashCombiner.Add(Path.Combine(p.PhysicalPath, "web.config")); diff --git a/src/Libraries/SmartStore.Core/Plugins/PluginManager.cs b/src/Libraries/SmartStore.Core/Plugins/PluginManager.cs index 6a95a30aae..c7c4d6fe4e 100644 --- a/src/Libraries/SmartStore.Core/Plugins/PluginManager.cs +++ b/src/Libraries/SmartStore.Core/Plugins/PluginManager.cs @@ -16,6 +16,7 @@ using SmartStore.Utilities; using SmartStore.Utilities.Threading; using SmartStore.Core.Data; +using System.Threading.Tasks; // Contributor: Umbraco (http://www.umbraco.com). Thanks a lot! // SEE THIS POST for full details of what this does @@ -33,7 +34,7 @@ public partial class PluginManager [DllImport("kernel32.dll", SetLastError = true)] private static extern bool SetDllDirectory(string lpPathName); - private static readonly ReaderWriterLockSlim Locker = new ReaderWriterLockSlim(); + private static readonly object _lock = new object(); private static readonly string _pluginsPath = "~/Plugins"; private static DirectoryInfo _shadowCopyDir; private static readonly ConcurrentDictionary _referencedPlugins = new ConcurrentDictionary(StringComparer.OrdinalIgnoreCase); @@ -105,101 +106,122 @@ public static void Initialize() // adding a process-specific environment path (either bin/x86 or bin/x64) // ensures that unmanaged native dependencies can be resolved successfully. SetNativeDllPath(); - //SetPrivateEnvPath(); DynamicModuleUtility.RegisterModule(typeof(AutofacRequestLifetimeHttpModule)); - #region Plugins + var incompatiblePlugins = (new HashSet(StringComparer.OrdinalIgnoreCase)).AsSynchronized(); + var inactiveAssemblies = _inactiveAssemblies.AsSynchronized(); + var dirty = false; - var incompatiblePlugins = new HashSet(StringComparer.OrdinalIgnoreCase); + var watch = Stopwatch.StartNew(); - using (Locker.GetWriteLock()) - { - _shadowCopyDir = new DirectoryInfo(AppDomain.CurrentDomain.DynamicDirectory); + _shadowCopyDir = new DirectoryInfo(AppDomain.CurrentDomain.DynamicDirectory); + + var plugins = LoadPluginDescriptors().ToArray(); + var compatiblePlugins = plugins.Where(x => !x.Incompatible).ToArray(); + + var ms = watch.ElapsedMilliseconds; + Debug.WriteLine("INIT PLUGINS (LoadPluginDescriptors). Time elapsed: {0} ms.".FormatCurrentUI(ms)); + + // If plugins state is dirty, we copy files over to the dynamic folder, + // otherwise we just reference the previously copied file. + dirty = DetectAndCleanStalePlugins(compatiblePlugins); + + // Perf: Initialize/probe all plugins in parallel + plugins.AsParallel().ForAll(x => + { + // Deploy to ASP.NET dynamic folder. + DeployPlugin(x, dirty); + + // Finalize + FinalizePlugin(x); + }); + + //// Retry when failed, because during parallel execution assembly loading MAY fail. + //// Therefore we retry initialization for failed plugins, but sequentially this time. + //foreach (var p in plugins) + //{ + // // INFO: this seems redundant, but it's ok: + // // DeployPlugin() only probes assemblies that are not loaded yet. + // DeployPlugin(p, dirty); + + // // Finalize + // FinalizePlugin(p); + //} + + if (dirty && DataSettings.DatabaseIsInstalled()) + { + // Save current hash of all deployed plugins to disk + var hash = ComputePluginsHash(_referencedPlugins.Values.OrderBy(x => x.FolderName).ToArray()); + SavePluginsHash(hash); - var plugins = LoadPluginDescriptors().ToArray(); - var compatiblePlugins = plugins.Where(x => !x.Incompatible).ToArray(); + // Save names of all deployed assemblies to disk (so we can nuke them later) + SavePluginsAssemblies(_referencedPlugins.Values); + } - // If plugins state is dirty, we copy files over to the dynamic folder, - // otherwise we just reference the previously copied file. - var dirty = DetectAndCleanStalePlugins(compatiblePlugins); + IncompatiblePlugins = incompatiblePlugins.AsReadOnly(); - foreach (var plugin in plugins) + ms = watch.ElapsedMilliseconds; + Debug.WriteLine("INIT PLUGINS (Deployment complete). Time elapsed: {0} ms.".FormatCurrentUI(ms)); + + void DeployPlugin(PluginDescriptor p, bool shadowCopy) + { + if (p.Incompatible) { - if (plugin.Incompatible) - { - incompatiblePlugins.Add(plugin.SystemName); - continue; - } - else + // Do nothing if plugin is incompatible + return; + } + + // First copy referenced local assemblies (if any) + for (int i = 0; i < p.ReferencedLocalAssemblies.Length; ++i) + { + var refAr = p.ReferencedLocalAssemblies[i]; + if (refAr.Assembly == null) { - _referencedPlugins[plugin.SystemName] = plugin; + Probe(refAr, p, shadowCopy); } + } - try - { - // Shadow copy main plugin assembly - plugin.ReferencedAssembly = Probe(plugin.OriginalAssemblyFile, dirty); - - // Shadow copy other referenced plugin local assemblies - if (plugin.ReferencedLocalAssemblyFiles != null) - { - foreach (var assemblyFile in plugin.ReferencedLocalAssemblyFiles) - { - Probe(assemblyFile, dirty); - } - } - - if (!plugin.Installed) - { - _inactiveAssemblies.Add(plugin.ReferencedAssembly); - } - - // Initialize: Find IPlugin, IPreApplicationStart, IConfigurable etc. - ActivatePlugin(plugin); - } - catch (UnauthorizedAccessException) + // Then copy main plugin assembly + var ar = p.Assembly; + if (ar.Assembly == null) + { + Probe(ar, p, shadowCopy); + if (ar.Assembly != null) { - // Throw the exception if its UnauthorizedAccessException as this will - // be because we most likely cannot copy to the dynamic folder. - throw; + // Activate (even if uninstalled): Find IPlugin, IPreApplicationStart, IConfigurable etc. + ActivatePlugin(p); } - catch (ReflectionTypeLoadException ex) - { - var msg = string.Empty; - foreach (var e in ex.LoaderExceptions) - { - msg += e.Message + Environment.NewLine; - } + } + } - HandlePluginActivationException(ex, plugin, msg, incompatiblePlugins); - } - catch (Exception ex) - { - var msg = string.Empty; - for (var e = ex; e != null; e = e.InnerException) - { - msg += e.Message + Environment.NewLine; - } + void FinalizePlugin(PluginDescriptor p) + { + _referencedPlugins[p.SystemName] = p; - HandlePluginActivationException(ex, plugin, msg, incompatiblePlugins); - } + if (p.Incompatible) + { + incompatiblePlugins.Add(p.SystemName); + return; } - if (dirty && DataSettings.DatabaseIsInstalled()) + var firstFailedAssembly = p.ReferencedLocalAssemblies.FirstOrDefault(x => x.ActivationException != null); + if (firstFailedAssembly == null && p.Assembly.ActivationException != null) { - // Save current hash of all deployed plugins to disk - var hash = ComputePluginsHash(_referencedPlugins.Values.OrderBy(x => x.FolderName).ToArray()); - SavePluginsHash(hash); - - // Save names of all deployed assemblies to disk (so we can nuke them later) - SavePluginsAssemblies(_referencedPlugins.Values); + firstFailedAssembly = p.Assembly; + } + if (firstFailedAssembly != null) + { + Debug.WriteLine(firstFailedAssembly.ActivationException.Message); + p.Incompatible = true; + incompatiblePlugins.Add(p.SystemName); } - IncompatiblePlugins = incompatiblePlugins.AsReadOnly(); + if ((!p.Installed || firstFailedAssembly != null) && p.Assembly.Assembly != null) + { + inactiveAssemblies.Add(p.Assembly.Assembly); + } } - - #endregion } /// @@ -216,7 +238,7 @@ private static IEnumerable LoadPluginDescriptors() if (!pluginsDir.Exists) { pluginsDir.Create(); - yield break; + return Enumerable.Empty(); } // Determine all plugin folders: ~/Plugins/{SystemName} @@ -225,19 +247,56 @@ private static IEnumerable LoadPluginDescriptors() .OrderBy(x => x.Name) .ToArray(); - var installedPluginSystemNames = PluginFileParser.ParseInstalledPluginsFile(); + var installedPluginSystemNames = PluginFileParser.ParseInstalledPluginsFile().AsSynchronized(); // Load/activate all plugins - foreach (var d in allPluginDirs) - { - var descriptor = LoadPluginDescriptor(d, installedPluginSystemNames); - if (descriptor != null) - { - yield return descriptor; - } - } + return allPluginDirs + .AsParallel() + .AsOrdered() + .Select(d => LoadPluginDescriptor(d, installedPluginSystemNames)) + .Where(x => x != null); } + ///// + ///// Loads and parses the descriptors of all installed plugins + ///// + ///// All descriptors + //private static Task ReadPluginDescriptors(BlockingCollection bag) + //{ + // // TODO: Add verbose exception handling / raising here since this is happening on app startup and could + // // prevent app from starting altogether + + // return Task.Factory.StartNew(() => + // { + // var pluginsDir = new DirectoryInfo(CommonHelper.MapPath(_pluginsPath)); + + // if (!pluginsDir.Exists) + // { + // pluginsDir.Create(); + // } + // else + // { + // // Determine all plugin folders: ~/Plugins/{SystemName} + // var allPluginDirs = pluginsDir.EnumerateDirectories().ToArray() + // .Where(x => !x.Name.IsMatch("bin") && !x.Name.IsMatch("_Backup")) + // .OrderBy(x => x.Name) + // .ToArray(); + + // var installedPluginSystemNames = PluginFileParser.ParseInstalledPluginsFile().AsSynchronized(); + + // // Load/activate all plugins + // allPluginDirs + // .AsParallel() + // .AsOrdered() + // .Select(d => LoadPluginDescriptor(d, installedPluginSystemNames)) + // .Where(x => x != null) + // .ForAll(x => bag.Add(x)); + // } + + // bag.CompleteAdding(); + // }); + //} + private static PluginDescriptor LoadPluginDescriptor(DirectoryInfo d, ICollection installedPluginSystemNames) { var descriptionFile = new FileInfo(Path.Combine(d.FullName, "Description.txt")); @@ -282,9 +341,9 @@ private static PluginDescriptor LoadPluginDescriptor(DirectoryInfo d, ICollectio .ToDictionarySafe(x => x.Name, StringComparer.OrdinalIgnoreCase); // Set 'OriginalAssemblyFile' property - descriptor.OriginalAssemblyFile = pluginBinaries.Get(descriptor.PluginFileName); + descriptor.Assembly.OriginalFile = pluginBinaries.Get(descriptor.PluginFileName); - if (descriptor.OriginalAssemblyFile == null) + if (descriptor.Assembly.OriginalFile == null) { throw new SmartException("The main assembly '{0}' for plugin '{1}' could not be found.".FormatInvariant(descriptor.PluginFileName, descriptor.SystemName)); } @@ -294,7 +353,7 @@ private static PluginDescriptor LoadPluginDescriptor(DirectoryInfo d, ICollectio .Where(x => !x.Key.IsCaseInsensitiveEqual(descriptor.PluginFileName)) .Select(x => x.Value); - descriptor.ReferencedLocalAssemblyFiles = otherAssemblyFiles.ToArray(); + descriptor.ReferencedLocalAssemblies = otherAssemblyFiles.Select(x => new AssemblyReference { OriginalFile = x }).ToArray(); return descriptor; } @@ -302,15 +361,15 @@ private static PluginDescriptor LoadPluginDescriptor(DirectoryInfo d, ICollectio private static void ActivatePlugin(PluginDescriptor plugin) { // Init plugin type (only one plugin per assembly is allowed) - var exportedTypes = plugin.ReferencedAssembly.ExportedTypes; bool pluginFound = false; bool preStarterFound = !plugin.Installed; + var exportedTypes = plugin.Assembly.Assembly.GetExportedTypes(); foreach (var t in exportedTypes) { if (typeof(IPlugin).IsAssignableFrom(t) && !t.IsInterface && t.IsClass && !t.IsAbstract) { - plugin.PluginType = t; + plugin.PluginClrType = t; plugin.IsConfigurable = typeof(IConfigurable).IsAssignableFrom(t); pluginFound = true; } @@ -332,22 +391,6 @@ private static void ActivatePlugin(PluginDescriptor plugin) } } - private static void HandlePluginActivationException(Exception ex, PluginDescriptor plugin, string msg, ICollection incompatiblePlugins) - { - msg = "Error loading plugin '{0}'".FormatInvariant(plugin.SystemName) + Environment.NewLine + msg; - - var fail = new SmartException(msg, ex); - Debug.WriteLine(fail.Message); - - if (plugin.ReferencedAssembly != null) - { - _inactiveAssemblies.Add(plugin.ReferencedAssembly); - } - - plugin.ActivationException = fail; - incompatiblePlugins.Add(plugin.SystemName); - } - /// /// Mark plugin as installed /// @@ -527,51 +570,101 @@ private static void SetNativeDllPath() /// /// Perform file deploy /// - /// Plugin main dll file info + /// Assembly reference to probe /// Reference to the shadow copied Assembly - private static Assembly Probe(FileInfo plugin, bool performShadowCopy) + private static Assembly Probe(AssemblyReference ar, PluginDescriptor d, bool shadowCopy) { - if (plugin.Directory == null || plugin.Directory.Parent == null) + var file = ar.OriginalFile; + + try { - throw new InvalidOperationException("The plugin directory for the " + plugin.Name + - " file exists in a folder outside of the allowed SmartStore folder hierarchy"); + if (file.Directory == null || file.Directory.Parent == null) + { + throw new InvalidOperationException("The plugin directory for the " + file.Name + + " file exists in a folder outside of the allowed SmartStore folder hierarchy"); + } + + ar.File = InitializeFullTrust(file, shadowCopy); + + // Load assembly locked, because concurrent load calls - even with different assemblies - + // will result in strange app init behaviour. + lock (_lock) + { + // We can now register the plugin definition + ar.Assembly = Assembly.Load(AssemblyName.GetAssemblyName(ar.File.FullName)); + + // Add the reference to the build manager + if (ar.Assembly != null) + { + // Loading assembly can fail in parallel loops. + // In this case, we'll probe again later in a sequential loop. + BuildManager.AddReferencedAssembly(ar.Assembly); + } + } + + ar.ActivationException = null; } + catch (UnauthorizedAccessException) + { + // Throw the exception if its UnauthorizedAccessException as this will + // be because we most likely cannot copy to the dynamic folder. + throw; + } + catch (ReflectionTypeLoadException ex) + { + var msg = string.Empty; + foreach (var e in ex.LoaderExceptions) + { + msg += e.Message + Environment.NewLine; + } - var probedPlugin = InitializeFullTrust(plugin, performShadowCopy); + ar.ActivationException = CreateException(msg, ex); + } + catch (Exception ex) + { + var msg = string.Empty; + for (var e = ex; e != null; e = e.InnerException) + { + msg += e.Message + Environment.NewLine; + } - // We can now register the plugin definition - var probedAssembly = Assembly.Load(AssemblyName.GetAssemblyName(probedPlugin.FullName)); + ar.ActivationException = CreateException(msg, ex); + } - // Add the reference to the build manager - BuildManager.AddReferencedAssembly(probedAssembly); + return ar.Assembly; - return probedAssembly; - } + Exception CreateException(string message, Exception innerException) + { + return new SmartException( + "Error loading plugin '{0}'".FormatInvariant(d.SystemName) + Environment.NewLine + message, + innerException); + } + } /// /// Used to initialize plugins when running in Full Trust /// - /// Plugin main dll file + /// Plugin dll file /// Shadow copied file - private static FileInfo InitializeFullTrust(FileInfo plugin, bool performShadowCopy) + private static FileInfo InitializeFullTrust(FileInfo dll, bool shadowCopy) { - var probedPlugin = new FileInfo(Path.Combine(_shadowCopyDir.FullName, plugin.Name)); + var probedDll = new FileInfo(Path.Combine(_shadowCopyDir.FullName, dll.Name)); // If instructed to not perform the copy, just return the path to where it is supposed to be - if (!performShadowCopy && probedPlugin.Exists) - return probedPlugin; + if (!shadowCopy && probedDll.Exists) + return probedDll; try { - File.Copy(plugin.FullName, probedPlugin.FullName, true); + File.Copy(dll.FullName, probedDll.FullName, true); } catch (UnauthorizedAccessException) { - throw new UnauthorizedAccessException(string.Format("Access to the path '{0}' is denied, ensure that read, write and modify permissions are allowed.", probedPlugin.Directory.FullName)); + throw new UnauthorizedAccessException(string.Format("Access to the path '{0}' is denied, ensure that read, write and modify permissions are allowed.", probedDll.Directory.FullName)); } catch (IOException) { - Debug.WriteLine(probedPlugin.FullName + " is locked, attempting to rename"); + Debug.WriteLine(probedDll.FullName + " is locked, attempting to rename"); // This occurs when the files are locked, // For some reason devenv locks plugin files some times and for another crazy reason you are allowed to rename them @@ -579,23 +672,23 @@ private static FileInfo InitializeFullTrust(FileInfo plugin, bool performShadowC try { // If all else fails during the cleanup and we cannot copy over so we need to rename with a GUID - var deleteName = GetNewDeleteName(probedPlugin); - File.Move(probedPlugin.FullName, deleteName); + var deleteName = GetNewDeleteName(probedDll); + File.Move(probedDll.FullName, deleteName); } catch (UnauthorizedAccessException) { - throw new UnauthorizedAccessException(string.Format("Access to the path '{0}' is denied, ensure that read, write and modify permissions are allowed.", probedPlugin.Directory.FullName)); + throw new UnauthorizedAccessException(string.Format("Access to the path '{0}' is denied, ensure that read, write and modify permissions are allowed.", probedDll.Directory.FullName)); } catch (IOException exc) { - throw new IOException(probedPlugin.FullName + " rename failed, cannot initialize plugin", exc); + throw new IOException(probedDll.FullName + " rename failed, cannot initialize plugin", exc); } // OK, we've made it this so far, now retry the shadow copy - File.Copy(plugin.FullName, probedPlugin.FullName, true); + File.Copy(dll.FullName, probedDll.FullName, true); } - return probedPlugin; + return probedDll; } /// diff --git a/src/Libraries/SmartStore.Core/Plugins/Providers/ProviderMetadata.cs b/src/Libraries/SmartStore.Core/Plugins/Providers/ProviderMetadata.cs index d07a628170..8b806c43fc 100644 --- a/src/Libraries/SmartStore.Core/Plugins/Providers/ProviderMetadata.cs +++ b/src/Libraries/SmartStore.Core/Plugins/Providers/ProviderMetadata.cs @@ -1,13 +1,41 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using SmartStore.Core.Domain.DataExchange; +using SmartStore.Utilities; namespace SmartStore.Core.Plugins { - public class ProviderMetadata + public interface IProviderMetadata + { + /// + /// Gets the provider system name + /// + string SystemName { get; } + + /// + /// Gets the resource key pattern for user data (e.g. FriendlyName) + /// + /// + /// Plugins.{1}.{0} > 0 = provider system name, 1 = propertyname + /// + string ResourceKeyPattern { get; } + + /// + /// Gets the provider friendly name + /// + string FriendlyName { get; } + + /// + /// Gets the provider description + /// + string Description { get; } + + /// + /// Gets the provider display order + /// + int DisplayOrder { get; } + } + + public class ProviderMetadata : IProviderMetadata { /// /// Gets or sets the provider type @@ -112,7 +140,7 @@ public override bool Equals(object obj) public override int GetHashCode() { - return SystemName.GetHashCode(); + return HashCodeCombiner.Start().Add(typeof(ProviderMetadata)).Add(SystemName).CombinedHash; } } } diff --git a/src/Libraries/SmartStore.Core/Search/AcquireWriterContext.cs b/src/Libraries/SmartStore.Core/Search/AcquireWriterContext.cs index 23cada0323..e0df140361 100644 --- a/src/Libraries/SmartStore.Core/Search/AcquireWriterContext.cs +++ b/src/Libraries/SmartStore.Core/Search/AcquireWriterContext.cs @@ -11,7 +11,6 @@ namespace SmartStore.Core.Search public enum AcquirementReason { Indexing, - Optimizing, Deleting } @@ -98,9 +97,10 @@ public void Clear() Currencies.Clear(); StoreMappings.Clear(); CustomerRoleMappings.Clear(); - DeliveryTimes.Clear(); Manufacturers.Clear(); Categories.Clear(); + DeliveryTimes.Clear(); + Translations.Clear(); CustomProperties.Clear(); } } diff --git a/src/Libraries/SmartStore.Core/SmartStore.Core.csproj b/src/Libraries/SmartStore.Core/SmartStore.Core.csproj index df978dc456..e89e76c15d 100644 --- a/src/Libraries/SmartStore.Core/SmartStore.Core.csproj +++ b/src/Libraries/SmartStore.Core/SmartStore.Core.csproj @@ -1,5 +1,6 @@  - + + Debug AnyCPU @@ -63,11 +64,10 @@ - ..\..\packages\AngleSharp.0.9.9\lib\net45\AngleSharp.dll + ..\..\packages\AngleSharp.0.9.11\lib\net45\AngleSharp.dll - - ..\..\packages\Autofac.4.5.0\lib\net45\Autofac.dll - True + + ..\..\packages\Autofac.4.9.0\lib\net45\Autofac.dll ..\..\packages\Autofac.Mvc5.4.0.2\lib\net45\Autofac.Integration.Mvc.dll @@ -81,6 +81,9 @@ ..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll True + + ..\..\packages\HtmlSanitizer.4.0.205\lib\net45\HtmlSanitizer.dll + ..\..\packages\log4net.2.0.8\lib\net45-full\log4net.dll True @@ -89,13 +92,11 @@ True ..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - ..\..\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll - True + + ..\..\packages\Microsoft.Web.Xdt.3.0.0\lib\net40\Microsoft.Web.XmlTransform.dll - - ..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll - True + + ..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll ..\..\packages\NuGet.Core.2.14.0\lib\net40-Client\NuGet.Core.dll @@ -119,33 +120,27 @@ - - ..\..\packages\System.ValueTuple.4.4.0\lib\net461\System.ValueTuple.dll + + ..\..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll - - False - ..\..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll + + ..\..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll - False - ..\..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll + ..\..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.dll - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Deployment.dll - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll @@ -160,10 +155,12 @@ Properties\AssemblyVersionInfo.cs - + + + @@ -179,6 +176,7 @@ + @@ -216,7 +214,11 @@ + + + + @@ -250,7 +252,17 @@ + + + + + + + + + + @@ -259,6 +271,7 @@ + @@ -281,7 +294,7 @@ - + @@ -336,11 +349,7 @@ - - - - @@ -392,7 +401,6 @@ - @@ -684,6 +692,7 @@ + @@ -692,6 +701,7 @@ + diff --git a/src/Libraries/SmartStore.Core/SmartStoreVersion.cs b/src/Libraries/SmartStore.Core/SmartStoreVersion.cs index 75f292f08f..e5bc5e5e48 100644 --- a/src/Libraries/SmartStore.Core/SmartStoreVersion.cs +++ b/src/Libraries/SmartStore.Core/SmartStoreVersion.cs @@ -43,8 +43,11 @@ public static class SmartStoreVersion new Version("2.5"), new Version("3.0"), new Version("3.1"), - new Version("3.1.5") - }; + new Version("3.1.5"), + new Version("3.2"), + new Version("3.2.1"), + new Version("3.2.2") + }; private const string HELP_BASEURL = "https://docs.smartstore.com/display/"; @@ -113,8 +116,8 @@ public static string GenerateHelpUrl(string languageCode, string path) public static string GetUserGuideSpaceKey(string languageCode) { return languageCode.IsCaseInsensitiveEqual("de") - ? "SDDE31" - : "SMNET31"; + ? "SDDE32" + : "SMNET32"; } /// diff --git a/src/Libraries/SmartStore.Core/Themes/DefaultThemeRegistry.cs b/src/Libraries/SmartStore.Core/Themes/DefaultThemeRegistry.cs index 5a4a2253b2..0c90853524 100644 --- a/src/Libraries/SmartStore.Core/Themes/DefaultThemeRegistry.cs +++ b/src/Libraries/SmartStore.Core/Themes/DefaultThemeRegistry.cs @@ -8,6 +8,7 @@ using System.Threading; using SmartStore.Collections; using SmartStore.Core.Events; +using SmartStore.Core.Infrastructure.DependencyManagement; using SmartStore.Core.Logging; using SmartStore.Utilities; @@ -29,10 +30,10 @@ public partial class DefaultThemeRegistry : DisposableObject, IThemeRegistry public DefaultThemeRegistry(IEventPublisher eventPublisher, IApplicationEnvironment env, bool? enableMonitoring, string themesBasePath, bool autoLoadThemes) { - this._enableMonitoring = enableMonitoring ?? CommonHelper.GetAppSetting("sm:MonitorThemesFolder", true); - this._eventPublisher = eventPublisher; - this._env = env; - this._themesBasePath = themesBasePath.NullEmpty() ?? _env.ThemesFolder.RootPath; + _enableMonitoring = enableMonitoring ?? CommonHelper.GetAppSetting("sm:MonitorThemesFolder", true); + _eventPublisher = eventPublisher; + _env = env; + _themesBasePath = themesBasePath.NullEmpty() ?? _env.ThemesFolder.RootPath; Logger = NullLogger.Instance; diff --git a/src/Libraries/SmartStore.Core/Themes/InheritedThemeFileResult.cs b/src/Libraries/SmartStore.Core/Themes/InheritedThemeFileResult.cs index 09c40503e8..77d708c5c8 100644 --- a/src/Libraries/SmartStore.Core/Themes/InheritedThemeFileResult.cs +++ b/src/Libraries/SmartStore.Core/Themes/InheritedThemeFileResult.cs @@ -34,10 +34,10 @@ public class InheritedThemeFileResult /// public string ResultThemeName { get; set; } - public bool IsExplicit { get; set; } + public bool IsBased { get; set; } /// - /// The query string, e.g. '?explicit' + /// The query string, e.g. '?base' /// public string Query { get; set; } } diff --git a/src/Libraries/SmartStore.Core/Utilities/CommonHelper.cs b/src/Libraries/SmartStore.Core/Utilities/CommonHelper.cs index 2f337b8c39..1fb1f2240d 100644 --- a/src/Libraries/SmartStore.Core/Utilities/CommonHelper.cs +++ b/src/Libraries/SmartStore.Core/Utilities/CommonHelper.cs @@ -19,7 +19,20 @@ namespace SmartStore.Utilities public static partial class CommonHelper { private static bool? _isDevEnvironment; + + [ThreadStatic] + private static Random _random; + private static Random GetRandomizer() + { + if (_random == null) + { + _random = new Random(); + } + + return _random; + } + /// /// Generate random digit code /// @@ -27,19 +40,21 @@ public static partial class CommonHelper /// Result string public static string GenerateRandomDigitCode(int length) { - var random = new Random(); - string str = string.Empty; - for (int i = 0; i < length; i++) - str = String.Concat(str, random.Next(10).ToString()); - return str; - } + var buffer = new int[length]; + for (int i = 0; i < length; ++i) + { + buffer[i] = GetRandomizer().Next(10); + } + + return string.Join("", buffer); + } /// - /// Returns an random interger number within a specified rage + /// Returns a random number within the range to - 1. /// /// Minimum number - /// Maximum number - /// Result + /// Maximum number (exclusive!). + /// Random integer number. public static int GenerateRandomInteger(int min = 0, int max = 2147483647) { var randomNumberBuffer = new byte[10]; diff --git a/src/Libraries/SmartStore.Core/Utilities/FileDownloadManager.cs b/src/Libraries/SmartStore.Core/Utilities/FileDownloadManager.cs index a7f0a60e39..40572c1b8b 100644 --- a/src/Libraries/SmartStore.Core/Utilities/FileDownloadManager.cs +++ b/src/Libraries/SmartStore.Core/Utilities/FileDownloadManager.cs @@ -104,10 +104,10 @@ public FileDownloadResponse DownloadFile(string url, bool sendAuthCookie = false /// Items to be downloaded public async Task DownloadAsync(FileDownloadManagerContext context, IEnumerable items) { - await DownloadFiles(context, items); + await DownloadFilesAsync(context, items); } - private async Task DownloadFiles(FileDownloadManagerContext context, IEnumerable items) + private async Task DownloadFilesAsync(FileDownloadManagerContext context, IEnumerable items) { try { diff --git a/src/Libraries/SmartStore.Core/Utilities/FileSystemHelper.cs b/src/Libraries/SmartStore.Core/Utilities/FileSystemHelper.cs index 4eaf2bd093..2ce13789c5 100644 --- a/src/Libraries/SmartStore.Core/Utilities/FileSystemHelper.cs +++ b/src/Libraries/SmartStore.Core/Utilities/FileSystemHelper.cs @@ -9,13 +9,16 @@ namespace SmartStore.Utilities { public static class FileSystemHelper { + private static readonly string _pathTemp = CommonHelper.MapPath(CommonHelper.GetAppSetting("sm:TempDirectory", "~/App_Data/_temp")); + private static readonly string _pathTempTenant = CommonHelper.MapPath(DataSettings.Current.TenantPath + "/_temp"); + /// /// Returns physical path to application temp directory /// /// Name of a sub directory to be created and returned (optional) public static string TempDir(string subDirectory = null) { - return TempDirInternal(CommonHelper.GetAppSetting("sm:TempDirectory", "~/App_Data/_temp"), subDirectory); + return TempDirInternal(_pathTemp, subDirectory); } /// @@ -24,18 +27,16 @@ public static string TempDir(string subDirectory = null) /// Name of a sub directory to be created and returned (optional) public static string TempDirTenant(string subDirectory = null) { - return TempDirInternal(DataSettings.Current.TenantPath + "/_temp", subDirectory); + return TempDirInternal(_pathTempTenant, subDirectory); } - private static string TempDirInternal(string virtualPath, string subDirectory = null) + private static string TempDirInternal(string path, string subDirectory = null) { - var path = CommonHelper.MapPath(virtualPath); - if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } - + if (subDirectory.HasValue()) { path = Path.Combine(path, subDirectory); @@ -49,113 +50,157 @@ private static string TempDirInternal(string virtualPath, string subDirectory = return path; } + /// + /// Safe way to cleanup temporary directories. Should be called via scheduled task. + /// + public static void ClearTempDirectories() + { + var olderThan = TimeSpan.FromHours(5); + + ClearDirectory(new DirectoryInfo(TempDir()), false, olderThan); + ClearDirectory(new DirectoryInfo(TempDirTenant()), false, olderThan); + } + /// - /// Ensures that path is a valid root path + /// Safe way to delete all directory content /// - /// Relative path - /// Valid root path - public static string ValidateRootPath(string path) + /// Directory path + /// Delete dir too if it doesn't contain any entries after deletion anymore + /// Delete only files older than this TimeSpan + /// Name of files not to be deleted + public static void ClearDirectory(string path, bool deleteIfEmpfy, TimeSpan olderThan, params string[] exceptFileNames) { - if (path.HasValue()) - { - path = path.Replace('\\', '/'); + if (path.IsEmpty()) + return; - if (!path.StartsWith("~/")) - { - if (path.StartsWith("~")) - path = path.Substring(1); + ClearDirectory(new DirectoryInfo(path), deleteIfEmpfy, olderThan, exceptFileNames); + } - path = (path.StartsWith("/") ? "~" : "~/") + path; - } - } - return path; + /// + /// Safe way to delete all directory content + /// + /// Directory path + /// Delete dir too if it doesn't contain any entries after deletion anymore + /// Name of files not to be deleted + public static void ClearDirectory(string path, bool deleteIfEmpfy, params string[] exceptFileNames) + { + if (path.IsEmpty()) + return; + + ClearDirectory(new DirectoryInfo(path), deleteIfEmpfy, TimeSpan.Zero, exceptFileNames); } - /// - /// Checks whether a path is a safe root path. - /// - /// Relative path - public static bool IsSafeRootPath(string path) - { - if (path.EmptyNull().Length > 2 && - !path.IsCaseInsensitiveEqual("con") && - path.IndexOfAny(Path.GetInvalidPathChars()) == -1) - { - try - { - var mappedPath = CommonHelper.MapPath(path); - var appPath = CommonHelper.MapPath("~/"); - return !mappedPath.IsCaseInsensitiveEqual(appPath); - } - catch { } - } - - return false; - } + /// + /// Safe way to delete all directory content + /// + /// Directory info object + /// Delete dir too if it doesn't contain any entries after deletion anymore + /// Name of files not to be deleted + public static void ClearDirectory(DirectoryInfo dir, bool deleteIfEmpfy, params string[] exceptFileNames) + { + Guard.NotNull(dir, nameof(dir)); - /// - /// Safe way to cleanup the temp directory. Should be called via scheduled task. - /// - public static void TempCleanup() + ClearDirectory(dir, deleteIfEmpfy, TimeSpan.Zero, exceptFileNames); + } + + /// + /// Safe way to delete all directory content + /// + /// Directory info object + /// Delete dir too if it doesn't contain any entries after deletion anymore + /// Delete only files older than this TimeSpan + /// Name of files not to be deleted + public static void ClearDirectory(DirectoryInfo dir, bool deleteIfEmpfy, TimeSpan olderThan, params string[] exceptFileNames) { - try - { - var dirs = new string[] { TempDir(), TempDirTenant() }; + Guard.NotNull(dir, nameof(dir)); + + if (!dir.Exists) + return; + + var olderThanDate = DateTime.UtcNow.Subtract(olderThan); - foreach (var dir in dirs) + for (int i = 0; i < 10; i++) + { + try { - if (Directory.Exists(dir)) + foreach (var fsi in dir.EnumerateFileSystemInfos()) { - var oldestDate = DateTime.Now.Subtract(new TimeSpan(0, 5, 0, 0)); - var files = Directory.EnumerateFiles(dir); - - foreach (string file in files) + if (fsi is FileInfo file) { - var fi = new FileInfo(file); + if (file.LastWriteTimeUtc >= olderThanDate) + continue; + + if (exceptFileNames.Any(x => x.IsCaseInsensitiveEqual(file.Name))) + continue; - if (fi.LastWriteTime < oldestDate) - Delete(file); + if (file.IsReadOnly) + { + file.IsReadOnly = false; + } + + file.Delete(); + } + else if (fsi is DirectoryInfo subDir) + { + ClearDirectory(subDir, true, olderThan, exceptFileNames); } + } + + break; + } + catch (Exception ex) + { + ex.Dump(); } } - catch (Exception ex) + + if (deleteIfEmpfy) { - ex.Dump(); + try + { + if (!dir.EnumerateFileSystemInfos().Any()) + { + dir.Delete(true); + } + } + catch (Exception ex) + { + ex.Dump(); + } } } /// /// Safe way to delete a file. /// - public static bool Delete(string path) + public static bool DeleteFile(string path) { if (path.IsEmpty()) return true; - bool result = true; try { if (Directory.Exists(path)) { - throw new MemberAccessException("Deleting folders due to security reasons not possible: {0}".FormatWith(path)); + throw new UnauthorizedAccessException("Deleting folders not possible due to security reasons: {0}".FormatWith(path)); } - File.Delete(path); // no exception, if file doesn't exists + // No exception, if file doesn't exists + File.Delete(path); + return true; } - catch (Exception exc) + catch (Exception ex) { - result = false; - exc.Dump(); + ex.Dump(); + return false; } - - return result; } /// /// Safe way to copy a file. /// - public static bool Copy(string sourcePath, string destinationPath, bool overwrite = true, bool deleteSource = false) + public static bool CopyFile(string sourcePath, string destinationPath, bool overwrite = true, bool deleteSource = false) { bool result = true; try @@ -163,13 +208,14 @@ public static bool Copy(string sourcePath, string destinationPath, bool overwrit File.Copy(sourcePath, destinationPath, overwrite); if (deleteSource) - Delete(sourcePath); + DeleteFile(sourcePath); } catch (Exception exc) { result = false; exc.Dump(); } + return result; } @@ -195,10 +241,10 @@ public static bool CopyDirectory(DirectoryInfo source, DirectoryInfo target, boo { fi.CopyTo(Path.Combine(target.ToString(), fi.Name), overwrite); } - catch (Exception exc) + catch (Exception ex) { result = false; - exc.Dump(); + ex.Dump(); } } @@ -209,83 +255,16 @@ public static bool CopyDirectory(DirectoryInfo source, DirectoryInfo target, boo DirectoryInfo targetSubDir = target.CreateSubdirectory(sourceSubDir.Name); CopyDirectory(sourceSubDir, targetSubDir, overwrite); } - catch (Exception exc) + catch (Exception ex) { result = false; - exc.Dump(); + ex.Dump(); } } return result; } - /// - /// Safe way to delete all directory content - /// - /// A directory path - /// Delete directoryPath too - /// Name of files not to be deleted - public static void ClearDirectory(string directoryPath, bool selfToo, List exceptFileNames = null) - { - if (directoryPath.IsEmpty()) - return; - - try - { - var dir = new DirectoryInfo(directoryPath); - - foreach (var fi in dir.GetFiles()) - { - if (exceptFileNames != null && exceptFileNames.Any(x => x.IsCaseInsensitiveEqual(fi.Name))) - continue; - - try - { - fi.IsReadOnly = false; - fi.Delete(); - } - catch (Exception) - { - try - { - Thread.Sleep(0); - fi.Delete(); - } - catch (Exception) { } - } - } - - foreach (var di in dir.GetDirectories()) - { - ClearDirectory(di.FullName, false); - - try - { - di.Delete(); - } - catch (Exception) - { - try - { - Thread.Sleep(0); - di.Delete(); - } - catch (Exception) { } - } - } - } - catch (Exception) { } - - if (selfToo) - { - try - { - Directory.Delete(directoryPath, true); // just deletes the (now empty) directory - } - catch (Exception) { } - } - } - /// /// Creates a non existing directory name /// @@ -321,7 +300,7 @@ public static int CountFiles(string directoryPath) { return Directory.GetFiles(directoryPath).Length; } - catch (Exception) { } + catch { } return 0; } @@ -334,23 +313,9 @@ public static void ClearFile(string path) { try { - if (path.HasValue()) - File.WriteAllText(path, ""); + if (path.HasValue()) File.WriteAllText(path, ""); } - catch (Exception) { } - } - - /// - /// Checks whether the given path is a fully qualified absolute path (either UNC or rooted with drive letter) - /// - /// Path to check - /// true if path is fully qualified - public static bool IsFullPath(string path) - { - return !String.IsNullOrWhiteSpace(path) - && path.IndexOfAny(System.IO.Path.GetInvalidPathChars().ToArray()) == -1 - && Path.IsPathRooted(path) - && !Path.GetPathRoot(path).Equals(Path.DirectorySeparatorChar.ToString(), StringComparison.Ordinal); + catch { } } } } diff --git a/src/Libraries/SmartStore.Core/Utilities/HashCodeCombiner.cs b/src/Libraries/SmartStore.Core/Utilities/HashCodeCombiner.cs index d43560f2e3..585f13a9ea 100644 --- a/src/Libraries/SmartStore.Core/Utilities/HashCodeCombiner.cs +++ b/src/Libraries/SmartStore.Core/Utilities/HashCodeCombiner.cs @@ -105,14 +105,12 @@ public HashCodeCombiner Add(FileSystemInfo fi, bool deep = true) Add(fi.CreationTimeUtc); Add(fi.LastWriteTimeUtc); - var file = fi as FileInfo; - if (file != null) + if (fi is FileInfo file) { Add(file.Length.GetHashCode()); } - var dir = fi as DirectoryInfo; - if (dir != null) + if (fi is DirectoryInfo dir) { foreach (var f in dir.GetFiles()) { diff --git a/src/Libraries/SmartStore.Core/Utilities/PathHelper.cs b/src/Libraries/SmartStore.Core/Utilities/PathHelper.cs new file mode 100644 index 0000000000..d1cacbacbf --- /dev/null +++ b/src/Libraries/SmartStore.Core/Utilities/PathHelper.cs @@ -0,0 +1,202 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; + +namespace SmartStore.Utilities +{ + public static class PathHelper + { + private static readonly char[] _invalidPathChars; + private static readonly char[] _invalidFileNameChars; + private static readonly Regex _invalidCharsPattern; + + static PathHelper() + { + _invalidPathChars = Path.GetInvalidPathChars(); + _invalidFileNameChars = Path.GetInvalidFileNameChars(); + + var invalidChars = Regex.Escape(new string(_invalidPathChars) + new string(_invalidFileNameChars)); + _invalidCharsPattern = new Regex(string.Format(@"[{0}]+", invalidChars)); + } + + /// + /// Checks whether path is empty or starts with '/' or '\' + /// + public static bool IsRootedPath(string basepath) + { + return (string.IsNullOrEmpty(basepath) || basepath[0] == '/' || basepath[0] == '\\'); + } + + /// + /// Checks whether path is starts with '~/' + /// + public static bool IsAppRelativePath(string path) + { + if (path == null) + return false; + + int len = path.Length; + + // Empty string case + if (len == 0) return false; + + // It must start with ~ + if (path[0] != '~') + return false; + + // Single character case: "~" + if (len == 1) + return true; + + // If it's longer, checks if it starts with "~/" or "~\" + return path[1] == '\\' || path[1] == '/'; + } + + /// + /// Checks if virtual path contains a protocol, which is referred to as a scheme in the + /// URI spec. + /// + public static bool HasScheme(string virtualPath) + { + // URIs have the format :, e.g. mailto:user@ms.com, + // http://server/, nettcp://server/, etc. The cannot contain slashes. + // The virtualPath passed to this method may be absolute or relative. Although + // ':' is only allowed in the if it is encoded, the + // virtual path that we're receiving here may be decoded, so it is impossible + // for us to determine if virtualPath has a scheme. We will be conservative + // and err on the side of assuming it has a scheme when we cannot tell for certain. + // To do this, we first check for ':'. If not found, then it doesn't have a scheme. + // If ':' is found, then as long as we find a '/' before the ':', it cannot be + // a scheme because schemes don't contain '/'. Otherwise, we will assume it has a + // scheme. + int indexOfColon = virtualPath.IndexOf(':'); + if (indexOfColon == -1) + return false; + int indexOfSlash = virtualPath.IndexOf('/'); + return (indexOfSlash == -1 || indexOfColon < indexOfSlash); + } + + /// + /// Ensures that a path is a valid app root path by checking whether it starts + /// with '~/' and prepending it if needed and by replacing '\' with '/' + /// + /// Relative path + /// Normalized root path + public static string NormalizeAppRelativePath(string path) + { + if (path.IsEmpty()) + return path; + + path = path.Replace('\\', '/'); + + if (!path.StartsWith("~/")) + { + if (path.StartsWith("~")) + path = path.Substring(1); + + path = (path.StartsWith("/") ? "~" : "~/") + path; + } + + return path; + } + + /// + /// Checks whether a path is a safe app root path. + /// + /// Relative path + public static bool IsSafeAppRootPath(string path) + { + if (path.EmptyNull().Length > 2 && !path.IsCaseInsensitiveEqual("con") && !HasInvalidPathChars(path)) + { + try + { + var mappedPath = CommonHelper.MapPath(path); + var appPath = CommonHelper.MapPath("~/"); + return !mappedPath.IsCaseInsensitiveEqual(appPath); + } + catch { } + } + + return false; + } + + /// + /// Replaces all occurences of any illegal path or file name char by '-' + /// + /// Path/File name + /// Sanitized path/file name + public static string SanitizeFileName(string name) + { + if (name.IsEmpty()) + return name; + + return _invalidCharsPattern.Replace(name, "-"); + } + + public static bool HasInvalidPathChars(string path, bool checkWildcardChars = false) + { + if (path == null) + return false; + + return path.IndexOfAny(_invalidPathChars) >= 0 + || (checkWildcardChars && ContainsWildcardChars(path, 0)); + } + + public static bool HasInvalidFileNameChars(string fileName, bool checkWildcardChars = false) + { + if (fileName == null) + return false; + + return fileName.IndexOfAny(_invalidFileNameChars) >= 0 + || (checkWildcardChars && ContainsWildcardChars(fileName, 0)); + } + + private static bool ContainsWildcardChars(string path, int startIndex = 0) + { + for (int i = startIndex; i < path.Length; i++) + { + switch (path[i]) + { + case '*': + case '?': + return true; + } + } + + return false; + } + + /// + /// Checks whether the given path is a fully qualified absolute path (either UNC or rooted with drive letter) + /// + /// Path to check + /// true if path is fully qualified + public static bool IsAbsolutePhysicalPath(string path) + { + if ((path == null) || (path.Length < 3)) + { + return false; + } + + return (((path[1] == ':') && IsDirectorySeparatorChar(path[2])) || IsUncSharePath(path)); + } + + internal static bool IsUncSharePath(string path) => + (((path.Length > 2) && IsDirectorySeparatorChar(path[0])) && IsDirectorySeparatorChar(path[1])); + + + private static bool IsDirectorySeparatorChar(char ch) + { + if (ch != '\\') + { + return (ch == '/'); + } + + return true; + } + } +} diff --git a/src/Libraries/SmartStore.Core/Utilities/Retry.cs b/src/Libraries/SmartStore.Core/Utilities/Retry.cs index 7c42ace8d6..916b64e3b2 100644 --- a/src/Libraries/SmartStore.Core/Utilities/Retry.cs +++ b/src/Libraries/SmartStore.Core/Utilities/Retry.cs @@ -86,11 +86,11 @@ public static async Task RunAsync(Func operation, int attempts, TimeSpan? { Guard.NotNull(operation, nameof(operation)); - Func> wrapper = async () => + async Task wrapper() { - await operation().ConfigureAwait(false); + await operation(); return true; - }; + } await RunAsync(wrapper, attempts, wait, onFailed); } @@ -123,7 +123,7 @@ public static async Task RunAsync(Func> operation, int attempts, T try { // Call the function passed in by the caller. - return await operation().ConfigureAwait(false); + return await operation(); } catch (Exception ex) { diff --git a/src/Libraries/SmartStore.Core/Utilities/SeoHelper.cs b/src/Libraries/SmartStore.Core/Utilities/SeoHelper.cs index 4c2b752d0b..721b1a38b8 100644 --- a/src/Libraries/SmartStore.Core/Utilities/SeoHelper.cs +++ b/src/Libraries/SmartStore.Core/Utilities/SeoHelper.cs @@ -22,88 +22,111 @@ public static class SeoHelper [SuppressMessage("ReSharper", "PossibleNullReferenceException")] public static string GetSeName(string name, bool convertNonWesternChars, bool allowUnicodeChars, string charConversions = null) { - // Return empty value if text is null - if (name == null) return ""; - - const int maxlen = 400; - - if (charConversions != null && _userSeoCharacterTable == null) - { - InitializeUserSeoCharacterTable(charConversions); - } - - // Normalize - name = name.ToLowerInvariant(); - - var len = name.Length; - var sb = new StringBuilder(len); - var prevdash = false; - - char c; - - for (int i = 0; i < len; i++) - { - c = name[i]; - - if (charConversions != null && _userSeoCharacterTable != null && _userSeoCharacterTable.TryGetValue(c, out string userChar)) - { - sb.Append(userChar); - prevdash = false; - } - else if ((c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '/') - { - sb.Append(c); - prevdash = (c == '_'); - } - else if (c == ' ' || c == ',' || c == '.' || c == '\\' || c == '-' || c == '_' || c == '=') - { - if (!prevdash && sb.Length > 0) - { - sb.Append('-'); - prevdash = true; - } - } - else - { - var category = CharUnicodeInfo.GetUnicodeCategory(c); - - if (category >= UnicodeCategory.ConnectorPunctuation && category <= UnicodeCategory.MathSymbol) - { - if (!prevdash && sb.Length > 0) - { - sb.Append('-'); - prevdash = true; - } - } - else if ((int)c >= 128) - { - var prevlen = sb.Length; - var c2 = c; - - if (convertNonWesternChars) - { - c2 = c.TryRemoveDiacritic(); - } - - if ((allowUnicodeChars && Char.IsLetterOrDigit(c2)) || (c2 >= 'a' && c2 <= 'z')) - { - sb.Append(c2); - } - - if (prevlen != sb.Length) prevdash = false; - } - } - - if (i >= maxlen) break; - } - - if (prevdash) - return sb.ToString().Substring(0, sb.Length - 1).Trim('/'); - else - return sb.ToString().Trim('/'); + return GetSeName(name, convertNonWesternChars, allowUnicodeChars, true, charConversions); } - public static void ResetUserSeoCharacterTable() + /// + /// Get SEO friendly string + /// + /// String to be converted + /// A value indicating whether non western chars should be converted + /// A value indicating whether Unicode chars are allowed + /// A value indicating whether the forward slash (/) is allowed. Should be false for physical file names. + /// Raw data of semicolon separated char conversions + /// SEO friendly string + [SuppressMessage("ReSharper", "PossibleNullReferenceException")] + public static string GetSeName( + string name, + bool convertNonWesternChars, + bool allowUnicodeChars, + bool allowForwardSlash, + string charConversions = null) + { + // Return empty value if text is null + if (name == null) return ""; + + const int maxlen = 400; + + if (charConversions != null && _userSeoCharacterTable == null) + { + InitializeUserSeoCharacterTable(charConversions); + } + + // Normalize + name = name.ToLowerInvariant(); + + var len = name.Length; + var sb = new StringBuilder(len); + var prevdash = false; + + char c; + + for (int i = 0; i < len; i++) + { + c = name[i]; + + if (charConversions != null && _userSeoCharacterTable != null && _userSeoCharacterTable.TryGetValue(c, out string userChar)) + { + sb.Append(userChar); + prevdash = false; + } + else if ((c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '/') + { + if (c != '/' || allowForwardSlash) + { + sb.Append(c); + prevdash = (c == '_'); + } + } + else if (c == ' ' || c == ',' || c == '.' || c == '\\' || c == '-' || c == '_' || c == '=') + { + if (!prevdash && sb.Length > 0) + { + sb.Append('-'); + prevdash = true; + } + } + else + { + var category = CharUnicodeInfo.GetUnicodeCategory(c); + + if (category >= UnicodeCategory.ConnectorPunctuation && category <= UnicodeCategory.MathSymbol) + { + if (!prevdash && sb.Length > 0) + { + sb.Append('-'); + prevdash = true; + } + } + else if ((int)c >= 128) + { + var prevlen = sb.Length; + var c2 = c; + + if (convertNonWesternChars) + { + c2 = c.TryRemoveDiacritic(); + } + + if ((allowUnicodeChars && Char.IsLetterOrDigit(c2)) || (c2 >= 'a' && c2 <= 'z')) + { + sb.Append(c2); + } + + if (prevlen != sb.Length) prevdash = false; + } + } + + if (i >= maxlen) break; + } + + if (prevdash) + return sb.ToString().Substring(0, sb.Length - 1).Trim('/'); + else + return sb.ToString().Trim('/'); + } + + public static void ResetUserSeoCharacterTable() { if (_userSeoCharacterTable != null) { diff --git a/src/Libraries/SmartStore.Core/Utilities/Threading/KeyedLock.cs b/src/Libraries/SmartStore.Core/Utilities/Threading/KeyedLock.cs new file mode 100644 index 0000000000..e08a6deb1c --- /dev/null +++ b/src/Libraries/SmartStore.Core/Utilities/Threading/KeyedLock.cs @@ -0,0 +1,119 @@ +using System; +using System.Collections.Concurrent; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; + +namespace SmartStore.Utilities.Threading +{ + public sealed class KeyedLock + { + private static readonly TimeSpan _noTimeout = TimeSpan.FromMilliseconds(-1); + private static readonly ConcurrentDictionary _locks = new ConcurrentDictionary(); + + private int _waiterCount; + + private KeyedLock(object key) + { + Key = key; + Semaphore = new SemaphoreSlim(1, 1); + } + + private object Key { get; set; } + private SemaphoreSlim Semaphore { get; set; } + + public bool HasWaiters + { + get { return _waiterCount > 1; } + } + + public int WaiterCount + { + get { return _waiterCount; } + } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + private void IncrementCount() => Interlocked.Increment(ref _waiterCount); + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public void DecrementCount() => Interlocked.Decrement(ref _waiterCount); + + public static bool IsLockHeld(object key) + { + return _locks.ContainsKey(key); + } + + public static IDisposable Lock(object key) + { + return Lock(key, _noTimeout); + } + + public static IDisposable Lock(object key, TimeSpan timeout) + { + var keyedLock = GetOrCreateLock(key); + keyedLock.Semaphore.Wait(timeout); + return new Releaser(keyedLock); + } + + public static Task LockAsync(object key) + { + return LockAsync(key, _noTimeout, CancellationToken.None); + } + + public static Task LockAsync(object key, TimeSpan timeout) + { + return LockAsync(key, timeout, CancellationToken.None); + } + + public static Task LockAsync(object key, CancellationToken cancellationToken) + { + return LockAsync(key, _noTimeout, cancellationToken); + } + + public static Task LockAsync(object key, TimeSpan timeout, CancellationToken cancellationToken) + { + var keyedLock = GetOrCreateLock(key); + var wait = keyedLock.Semaphore.WaitAsync(timeout, cancellationToken); + + return wait.IsCompleted + ? Task.FromResult(new Releaser(keyedLock) as IDisposable) + : wait.ContinueWith((t, s) => new Releaser((KeyedLock)s) as IDisposable, + keyedLock, + CancellationToken.None, + TaskContinuationOptions.ExecuteSynchronously, + TaskScheduler.Default); + } + + private static KeyedLock GetOrCreateLock(object key) + { + Guard.NotNull(key, nameof(key)); + + var item = _locks.GetOrAdd(key, k => new KeyedLock(key)); + item.IncrementCount(); + return item; + } + + sealed class Releaser : IDisposable + { + private KeyedLock _item; + + public Releaser(KeyedLock item) + { + _item = item; + } + + public void Dispose() + { + _item.DecrementCount(); + if (_item.WaiterCount == 0) + { + // Remove from dict + _locks.TryRemove(_item.Key, out _); + } + + _item.Semaphore.Release(); + _item = null; + } + } + } +} diff --git a/src/Libraries/SmartStore.Core/WebHelper.cs b/src/Libraries/SmartStore.Core/WebHelper.cs index 6304d682bd..3a94e1a417 100644 --- a/src/Libraries/SmartStore.Core/WebHelper.cs +++ b/src/Libraries/SmartStore.Core/WebHelper.cs @@ -47,13 +47,13 @@ public WebHelper(HttpContextBase httpContext) public virtual string GetUrlReferrer() { - return _httpContext?.Request?.UrlReferrer?.ToString() ?? string.Empty; + return _httpContext.SafeGetHttpRequest()?.UrlReferrer?.ToString() ?? string.Empty; } public virtual string GetClientIdent() { var ipAddress = this.GetCurrentIpAddress(); - var userAgent = _httpContext.Request?.UserAgent.EmptyNull(); + var userAgent = _httpContext.SafeGetHttpRequest()?.UserAgent.EmptyNull(); if (ipAddress.HasValue() && userAgent.HasValue()) { @@ -70,12 +70,13 @@ public virtual string GetCurrentIpAddress() return _ipAddress; } - if (_httpContext == null && _httpContext.Request == null) + var httpRequest = _httpContext.SafeGetHttpRequest(); + if (httpRequest == null) { return string.Empty; } - var vars = _httpContext.Request.ServerVariables; + var vars = httpRequest.ServerVariables; var keysToCheck = new string[] { @@ -90,29 +91,43 @@ public virtual string GetCurrentIpAddress() }; string result = null; + IPAddress ipv6 = null; foreach (var key in keysToCheck) { var ipString = vars[key]; - if (ipString.HasValue()) + + if (!string.IsNullOrEmpty(ipString)) { var arrStrings = ipString.Split(','); - // Take the last entry - ipString = arrStrings[arrStrings.Length - 1].Trim(); - IPAddress address; - if (IPAddress.TryParse(ipString, out address)) - { - result = ipString; - break; - } + // Iterate list from end to start (IPv6 addresses usually have precedence) + for (int i = arrStrings.Length - 1; i >= 0; i--) + { + ipString = arrStrings[i].Trim(); + + if (IPAddress.TryParse(ipString, out var address)) + { + if (address.AddressFamily == AddressFamily.InterNetworkV6) + { + ipv6 = address; + } + else + { + result = ipString; + break; + } + } + } } } - if (result == "::1") - { - result = "127.0.0.1"; - } + if (string.IsNullOrEmpty(result) && ipv6 != null) + { + result = ipv6.ToString() == "::1" + ? "127.0.0.1" + : ipv6.MapToIPv4().ToString(); + } return (_ipAddress = result.EmptyNull()); } @@ -126,36 +141,37 @@ public virtual string GetThisPageUrl(bool includeQueryString) public virtual string GetThisPageUrl(bool includeQueryString, bool useSsl) { string url = string.Empty; - if (_httpContext?.Request == null) + var httpRequest = _httpContext.SafeGetHttpRequest(); + + if (httpRequest == null) return url; if (includeQueryString) { - bool appPathPossiblyAppended; - string storeHost = GetStoreHost(useSsl, out appPathPossiblyAppended).TrimEnd('/'); + string storeHost = GetStoreHost(useSsl, out bool appPathPossiblyAppended).TrimEnd('/'); - string rawUrl; + string rawUrl; if (appPathPossiblyAppended) { - rawUrl = _httpContext.Request.AppRelativeCurrentExecutionFilePath.TrimStart('~'); + rawUrl = httpRequest.AppRelativeCurrentExecutionFilePath.TrimStart('~'); - if (_httpContext.Request.Url != null && _httpContext.Request.Url.Query != null) + if (httpRequest.Url != null && httpRequest.Url.Query != null) { - rawUrl += _httpContext.Request.Url.Query; + rawUrl += httpRequest.Url.Query; } } else { - rawUrl = _httpContext.Request.RawUrl; + rawUrl = httpRequest.RawUrl; } url = storeHost + rawUrl; } else { - if (_httpContext.Request.Url != null) + if (httpRequest.Url != null) { - url = _httpContext.Request.Url.GetLeftPart(UriPartial.Path); + url = httpRequest.Url.GetLeftPart(UriPartial.Path); } } @@ -167,9 +183,10 @@ public virtual bool IsCurrentConnectionSecured() if (!_isCurrentConnectionSecured.HasValue) { _isCurrentConnectionSecured = false; - if (_httpContext?.Request != null) + var httpRequest = _httpContext.SafeGetHttpRequest(); + if (httpRequest != null) { - _isCurrentConnectionSecured = _httpContext.Request.IsSecureConnection(); + _isCurrentConnectionSecured = httpRequest.IsSecureConnection(); } } @@ -178,23 +195,7 @@ public virtual bool IsCurrentConnectionSecured() public virtual string ServerVariables(string name) { - string result = string.Empty; - - try - { - if (_httpContext != null && _httpContext.Request != null) - { - if (_httpContext.Request.ServerVariables[name] != null) - { - result = _httpContext.Request.ServerVariables[name]; - } - } - } - catch - { - result = string.Empty; - } - return result; + return _httpContext.SafeGetHttpRequest()?.ServerVariables[name].EmptyNull(); } [SuppressMessage("ReSharper", "UnusedMember.Local")] @@ -239,8 +240,7 @@ private string GetStoreHost(bool useSsl, out bool appPathPossiblyAppended) if (_currentStore == null) { - IStoreContext storeContext; - if (EngineContext.Current.ContainerManager.TryResolve(null, out storeContext)) // Unit test safe! + if (EngineContext.Current.ContainerManager.TryResolve(null, out IStoreContext storeContext)) // Unit test safe! { _currentStore = storeContext.CurrentStore; if (_currentStore == null) @@ -323,19 +323,18 @@ public virtual string GetStoreLocation() public virtual string GetStoreLocation(bool useSsl) { - //return HostingEnvironment.ApplicationVirtualPath; - - bool appPathPossiblyAppended; - string result = GetStoreHost(useSsl, out appPathPossiblyAppended); + string result = GetStoreHost(useSsl, out var appPathPossiblyAppended); if (result.EndsWith("/")) { result = result.Substring(0, result.Length - 1); } - if ( _httpContext?.Request != null) + var httpRequest = _httpContext.SafeGetHttpRequest(); + + if (httpRequest != null) { - var appPath = _httpContext.Request.ApplicationPath; + var appPath = httpRequest.ApplicationPath; if (!appPathPossiblyAppended && !result.EndsWith(appPath, StringComparison.OrdinalIgnoreCase)) { // in a shared ssl scenario the user defined https url could contain @@ -424,13 +423,12 @@ public virtual string RemoveQueryString(string url, string queryString) public virtual T QueryString(string name) { - string queryParam = null; - - if (_httpContext != null && _httpContext.Request.QueryString[name] != null) - queryParam = _httpContext.Request.QueryString[name]; + var queryParam = _httpContext.SafeGetHttpRequest()?.QueryString[name]; - if (!String.IsNullOrEmpty(queryParam)) - return queryParam.Convert(); + if (!string.IsNullOrEmpty(queryParam)) + { + return queryParam.Convert(); + } return default(T); } @@ -499,10 +497,7 @@ private void DeleteMvcTypeCacheFiles() File.Delete(Path.Combine(userCacheDir, "MVC-ControllerTypeCache.xml")); File.Delete(Path.Combine(userCacheDir, "MVC-AreaRegistrationTypeCache.xml")); } - catch - { - - } + catch { } } private bool TryWriteBinFolder() @@ -629,8 +624,9 @@ public static string MakeAllUrlsAbsolute(string html, string protocol, string ho /// /// Prepends protocol and host to the given (relative) url /// + /// Changes the protocol if passed. [SuppressMessage("ReSharper", "AccessToModifiedClosure")] - public static string GetAbsoluteUrl(string url, HttpRequestBase request, bool enforceScheme = false) + public static string GetAbsoluteUrl(string url, HttpRequestBase request, bool enforceScheme = false, string protocol = null) { Guard.NotEmpty(url, nameof(url)); Guard.NotNull(request, nameof(request)); @@ -645,10 +641,12 @@ public static string GetAbsoluteUrl(string url, HttpRequestBase request, bool en return url; } + protocol = protocol ?? request.Url.Scheme; + if (url.StartsWith("//")) { return enforceScheme - ? String.Concat(request.Url.Scheme, ":", url) + ? String.Concat(protocol, ":", url) : url; } @@ -657,7 +655,7 @@ public static string GetAbsoluteUrl(string url, HttpRequestBase request, bool en url = VirtualPathUtility.ToAbsolute(url); } - url = string.Format("{0}://{1}{2}", request.Url.Scheme, request.Url.Authority, url); + url = string.Format("{0}://{1}{2}", protocol, request.Url.Authority, url); return url; } diff --git a/src/Libraries/SmartStore.Core/app.config b/src/Libraries/SmartStore.Core/app.config index 8c178073c2..f9acd6487c 100644 --- a/src/Libraries/SmartStore.Core/app.config +++ b/src/Libraries/SmartStore.Core/app.config @@ -4,16 +4,20 @@ - + - + + + + + diff --git a/src/Libraries/SmartStore.Core/packages.config b/src/Libraries/SmartStore.Core/packages.config index 4820921437..19d5cd9737 100644 --- a/src/Libraries/SmartStore.Core/packages.config +++ b/src/Libraries/SmartStore.Core/packages.config @@ -1,18 +1,19 @@  - - + + + - - - + + + - - + + - + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Caching/DbCacheExtensions.cs b/src/Libraries/SmartStore.Data/Caching/DbCacheExtensions.cs index cdb68ddb14..e055db6a8c 100644 --- a/src/Libraries/SmartStore.Data/Caching/DbCacheExtensions.cs +++ b/src/Libraries/SmartStore.Data/Caching/DbCacheExtensions.cs @@ -115,7 +115,7 @@ internal static DbCacheEntry GetCacheEntry(this IQueryable source, string { return null; } - + if (!cache.RequestTryGet(cacheKey.Key, out var entry)) { entry = cache.RequestPut(cacheKey.Key, valueFactory(), cacheKey.AffectedEntitySets); diff --git a/src/Libraries/SmartStore.Data/Caching/EfDbCache.cs b/src/Libraries/SmartStore.Data/Caching/EfDbCache.cs index e7e2b37c00..67d4561746 100644 --- a/src/Libraries/SmartStore.Data/Caching/EfDbCache.cs +++ b/src/Libraries/SmartStore.Data/Caching/EfDbCache.cs @@ -8,6 +8,7 @@ using SmartStore.Core.Domain.Messages; using SmartStore.Core.Domain.Tasks; using SmartStore.Core.Infrastructure.DependencyManagement; +using SmartStore.Utilities.Threading; namespace SmartStore.Data.Caching { @@ -192,13 +193,13 @@ public virtual bool TryGet(string key, out object value) key = HashKey(key); var now = DateTime.UtcNow; - var entry = _cache.Get(key); + var entry = _cache.Get(key, independent: true); if (entry != null) { if (entry.HasExpired(now)) { - lock (String.Intern(key)) + using (KeyedLock.Lock(key)) { InvalidateItemUnlocked(entry); } @@ -222,7 +223,7 @@ public virtual DbCacheEntry Put(string key, object value, IEnumerable de key = HashKey(key); - lock (String.Intern(key)) + using (KeyedLock.Lock(key)) { var entitySets = dependentEntitySets.Distinct().ToArray(); var entry = new DbCacheEntry @@ -290,7 +291,7 @@ public virtual void InvalidateItem(string key) Guard.NotEmpty(key, nameof(key)); - lock (String.Intern(key)) + using (KeyedLock.Lock(key)) { InvalidateItemUnlocked(key); } @@ -305,7 +306,7 @@ private void InvalidateItemUnlocked(string key) if (_cache.Contains(key)) { - var entry = _cache.Get(key); + var entry = _cache.Get(key, true); if (entry != null) { InvalidateItemUnlocked(entry); diff --git a/src/Libraries/SmartStore.Data/Caching/EfDbModelStore.cs b/src/Libraries/SmartStore.Data/Caching/EfDbModelStore.cs new file mode 100644 index 0000000000..393becfbf3 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Caching/EfDbModelStore.cs @@ -0,0 +1,60 @@ +using System; +using System.Collections.Generic; +using System.Data.Entity.Infrastructure; +using System.Diagnostics; +using System.IO; +using System.Reflection; +using SmartStore.Core.Plugins; +using SmartStore.Utilities; + +namespace SmartStore.Data.Caching +{ + public sealed class EfDbModelStore : DefaultDbModelStore + { + public EfDbModelStore(string location) + : base(location) + { + } + + public override DbCompiledModel TryLoad(Type contextType) + { + string path = GetFilePath(contextType); + + if (File.Exists(path)) + { + var cachedModelCreatedOn = File.GetLastWriteTimeUtc(path); + var localAssemblyFile = FindLocalAssemblyFile(contextType.Assembly); + if (localAssemblyFile == null || !localAssemblyFile.Exists || localAssemblyFile.LastWriteTimeUtc > cachedModelCreatedOn) + { + File.Delete(path); + Debug.WriteLine("Cached db model obsolete. Re-creating cached db model edmx."); + } + } + else + { + Debug.WriteLine("No cached db model found. Creating cached db model edmx."); + } + + return base.TryLoad(contextType); + } + + private FileInfo FindLocalAssemblyFile(Assembly assembly) + { + // ASP.NET loads assemblies from its dynamic temp folder, + // where DLLs get redeployed on every app startup, which + // makes it impossible for us to check for updated DLLs. + // Therefore we'll find passed assembly in the app folder for datetime checking. + var file = new FileInfo(assembly.Location); + + if (file.Name.IsCaseInsensitiveEqual("SmartStore.Data.dll")) + { + return new FileInfo(Path.Combine(CommonHelper.MapPath("~/bin"), file.Name)); + } + + var pluginSystemName = Path.GetFileNameWithoutExtension(file.Name); + var pluginDescriptor = PluginFinder.Current.GetPluginDescriptorBySystemName(pluginSystemName, false); + + return pluginDescriptor?.Assembly?.OriginalFile; + } + } +} diff --git a/src/Libraries/SmartStore.Data/Caching/EfMappingViewCache.cs b/src/Libraries/SmartStore.Data/Caching/EfMappingViewCache.cs new file mode 100644 index 0000000000..80720306ed --- /dev/null +++ b/src/Libraries/SmartStore.Data/Caching/EfMappingViewCache.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Data.Entity.Infrastructure.MappingViews; +using System.Data.Entity.Core.Metadata.Edm; + +namespace SmartStore.Data.Caching +{ + public class EfMappingViewCache : DbMappingViewCache + { + private readonly string _hash; + private readonly Dictionary _views; + + public EfMappingViewCache(EfMappingView cachedView) + { + _hash = cachedView.Hash; + _views = cachedView.Views; + } + + public EfMappingViewCache(string hash, Dictionary views) + { + Guard.NotEmpty(hash, nameof(hash)); + Guard.NotNull(views, nameof(views)); + + _hash = hash; + _views = views.ToDictionary(kvp => GetExtentFullName(kvp.Key), kvp => kvp.Value); + } + + public override string MappingHashValue + { + get { return _hash; } + } + + public override DbMappingView GetView(EntitySetBase extent) + { + _views.TryGetValue(GetExtentFullName(extent), out var mappingView); + return mappingView; + } + + internal static string GetExtentFullName(EntitySetBase entitySet) + { + return entitySet.EntityContainer.Name + "." + entitySet.Name; + } + } + + /// + /// For JSON serialization + /// + public sealed class EfMappingView + { + public string Hash { get; set; } + public Dictionary Views { get; set; } + } +} diff --git a/src/Libraries/SmartStore.Data/Caching/EfMappingViewCacheFactory.cs b/src/Libraries/SmartStore.Data/Caching/EfMappingViewCacheFactory.cs new file mode 100644 index 0000000000..021da40be7 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Caching/EfMappingViewCacheFactory.cs @@ -0,0 +1,170 @@ +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Data.Entity; +using System.Data.Entity.Core.Mapping; +using System.Data.Entity.Core.Metadata.Edm; +using System.Data.Entity.Infrastructure; +using System.Data.Entity.Infrastructure.MappingViews; +using System.IO; +using System.Linq; +using Newtonsoft.Json; +using SmartStore.Utilities; + +namespace SmartStore.Data.Caching +{ + public class EfMappingViewCacheFactory : DbMappingViewCacheFactory + { + private readonly static ConcurrentDictionary _lookup = + new ConcurrentDictionary(); + + private readonly string _viewFilePath; + private readonly static object _lock = new object(); + + private EfMappingViewCacheFactory(string viewFilePath) + { + _viewFilePath = viewFilePath; + } + + public static void SetContext() + where TContext : DbContext, new() + { + using (var ctx = new TContext()) + { + SetContext(ctx); + } + } + + /// + /// Sets a for a mapping represented + /// by a derived class. + /// + /// A derived class instance containing + /// mapping to set the view cache factory for. + /// View cache factory + /// + /// This method must be called before EntityFramework generates views for the mapping + /// (which typically happens on the first query). + /// cannot be set more than once for the same + /// . + /// + public static void SetContext(DbContext ctx) + { + Guard.NotNull(ctx, nameof(ctx)); + + var objectContext = ((IObjectContextAdapter)ctx).ObjectContext; + var itemCollection = (StorageMappingItemCollection)objectContext.MetadataWorkspace.GetItemCollection(DataSpace.CSSpace); + var type = ctx.GetType(); + var filePath = Path.Combine(CommonHelper.MapPath("~/App_Data/EfCache"), type.Namespace + "." + type.Name + ".views"); + var factory = new EfMappingViewCacheFactory(filePath); + + itemCollection.MappingViewCacheFactory = factory; + _lookup.TryAdd(factory, itemCollection); + } + + /// + /// Returns a instance for the . + /// + /// View cache factory to return for. + /// A instance for the . + public static StorageMappingItemCollection GetMappingItemCollection(DbMappingViewCacheFactory viewCacheFactory) + { + Guard.NotNull(viewCacheFactory, nameof(viewCacheFactory)); + + if (!_lookup.TryGetValue(viewCacheFactory, out var mappingItemCollection)) + { + throw new InvalidOperationException("No StorageMappingItemCollection instance found for the provided DbMappingViewCacheFactory."); + } + + return mappingItemCollection; + } + + /// + /// Creates a new instance of the class for + /// the given and . + /// + /// The name of the conceptual model container. + /// The name of the store model container. + /// A new instance of the class. + public override DbMappingViewCache Create(string conceptualModelContainerName, string storeModelContainerName) + { + var mappingItemCollection = GetMappingItemCollection(); + + if (mappingItemCollection == null) + { + throw new InvalidOperationException("View cache not set for this mapping item collection"); + } + + var hash = mappingItemCollection.ComputeMappingHashValue(conceptualModelContainerName, storeModelContainerName); + + var cachedViews = Load(); + if (cachedViews != null && cachedViews.Hash == hash) + { + return new EfMappingViewCache(cachedViews); + } + + var views = GenerateViews(mappingItemCollection, conceptualModelContainerName, storeModelContainerName); + + cachedViews = CreateCachedViews(hash, views); + Save(cachedViews); + + return new EfMappingViewCache(hash, views); + } + + // virtual for mocking + internal virtual StorageMappingItemCollection GetMappingItemCollection() + { + return GetMappingItemCollection(this); + } + + // virtual for mocking + internal virtual Dictionary GenerateViews( + StorageMappingItemCollection mappingItemCollection, + string conceptualModelContainerName, + string storeModelContainerName) + { + var errors = new List(); + return mappingItemCollection.GenerateViews(conceptualModelContainerName, storeModelContainerName, errors); + } + + private EfMappingView CreateCachedViews(string hash, Dictionary views) + { + return new EfMappingView + { + Hash = hash, + Views = views.ToDictionary(k => EfMappingViewCache.GetExtentFullName(k.Key), v => v.Value) + }; + } + + private EfMappingView Load() + { + try + { + lock (_lock) + { + if (File.Exists(_viewFilePath)) + { + var json = File.ReadAllText(_viewFilePath); + return JsonConvert.DeserializeObject(json); + } + } + } + catch { } + + return null; + } + + private void Save(EfMappingView view) + { + try + { + lock (_lock) + { + var json = JsonConvert.SerializeObject(view); + File.WriteAllText(_viewFilePath, json); + } + } + catch { } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Mapping/Catalog/CategoryMap.cs b/src/Libraries/SmartStore.Data/Mapping/Catalog/CategoryMap.cs index 4920d45081..c69a6f88d4 100644 --- a/src/Libraries/SmartStore.Data/Mapping/Catalog/CategoryMap.cs +++ b/src/Libraries/SmartStore.Data/Mapping/Catalog/CategoryMap.cs @@ -12,7 +12,8 @@ public CategoryMap() this.Property(c => c.Name).IsRequired().HasMaxLength(400); this.Property(c => c.FullName).HasMaxLength(400); this.Property(c => c.BottomDescription).IsMaxLength(); - this.Property(c => c.Description).IsMaxLength(); + this.Property(c => c.ExternalLink).HasMaxLength(255).IsOptional(); + this.Property(c => c.Description).IsMaxLength(); this.Property(c => c.MetaKeywords).HasMaxLength(400); this.Property(c => c.MetaTitle).HasMaxLength(400); this.Property(c => c.PageSizeOptions).HasMaxLength(200).IsOptional(); diff --git a/src/Libraries/SmartStore.Data/Mapping/Directory/QuantityUnitMap.cs b/src/Libraries/SmartStore.Data/Mapping/Directory/QuantityUnitMap.cs index 7bd783bcad..a840571e67 100644 --- a/src/Libraries/SmartStore.Data/Mapping/Directory/QuantityUnitMap.cs +++ b/src/Libraries/SmartStore.Data/Mapping/Directory/QuantityUnitMap.cs @@ -7,12 +7,13 @@ public partial class QuantityUnitMap : EntityTypeConfiguration { public QuantityUnitMap() { - this.ToTable("QuantityUnit"); - this.HasKey(c => c.Id); - this.Property(c => c.Name).IsRequired().HasMaxLength(50); - this.Property(c => c.Description).HasMaxLength(50); - this.Property(c => c.DisplayLocale).HasMaxLength(50); - this.Property(c => c.DisplayOrder); + ToTable("QuantityUnit"); + HasKey(c => c.Id); + Property(c => c.Name).IsRequired().HasMaxLength(50); + Property(c => c.NamePlural).IsRequired().HasMaxLength(50); + Property(c => c.Description).HasMaxLength(50); + Property(c => c.DisplayLocale).HasMaxLength(50); + Property(c => c.DisplayOrder); } } } \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.Designer.cs b/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.Designer.cs new file mode 100644 index 0000000000..4d82aade02 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.Designer.cs @@ -0,0 +1,29 @@ +// +namespace SmartStore.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] + public sealed partial class TopicHtmlIdAndBodyCss : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(TopicHtmlIdAndBodyCss)); + + string IMigrationMetadata.Id + { + get { return "201902211855242_TopicHtmlIdAndBodyCss"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.cs b/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.cs new file mode 100644 index 0000000000..83f8e64ce5 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.cs @@ -0,0 +1,20 @@ +namespace SmartStore.Data.Migrations +{ + using System; + using System.Data.Entity.Migrations; + + public partial class TopicHtmlIdAndBodyCss : DbMigration + { + public override void Up() + { + AddColumn("dbo.Topic", "HtmlId", c => c.String(maxLength: 128)); + AddColumn("dbo.Topic", "BodyCssClass", c => c.String(maxLength: 512)); + } + + public override void Down() + { + DropColumn("dbo.Topic", "BodyCssClass"); + DropColumn("dbo.Topic", "HtmlId"); + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.resx b/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.resx new file mode 100644 index 0000000000..2b78eeae9f --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201902211855242_TopicHtmlIdAndBodyCss.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAOy923IcObIg+L5m+w8yPc2snZFKqm6zPm1VO0ZSpEQ7ksgmKemcfqEFI0ESrciI7LhQZI/Nl+3DftL+wgJxxcVxR0QmVfkiJQMOB+BwdzgcDsf/9//8v7/9z8d19uIBlRUu8t9fvnn1y8sXKE+LFc7vfn/Z1Lf/4y8v/+f//X/+H78dr9aPL74OcL9SOFIzr35/eV/Xm7++fl2l92idVK/WOC2LqritX6XF+nWyKl6//eWXf3/95s1rRFC8JLhevPjtoslrvEbtH+TPoyJP0aZukuxTsUJZ1X8nJZct1hefkzWqNkmKfn95uU7K+rIuSvTqXVInL18cZDgh3bhE2e3LF0meF3VSk07+9UuFLuuyyO8uN+RDkl09bRCBu02yCvWd/+sEbjuOX97ScbyeKg6o0qaqi7Ujwje/9oR5LVb3Iu/LkXCEdMeExPUTHXVLvt9fXhUbnL58Ibb016OspFAcaY9a+hIwnL9q61Xdf//2QgD6t5Epfn315tWfX/3yby+OmqxuSvR7jpq6TLJ/e3He3GQ4/Q/0dFV8R/nveZNlbE9JX0kZ94F8Oi+LDSrrpwt02/f/dPXyxWu+3mux4liNqdMN7jSvf3378sVn0nhyk6GRERhCtKN6j3JUJjVanSd1jcqc4kAtKaXWhbYun6oarenvoU3Cf0SOXr74lDx+RPldff/7S/Lz5YsT/IhWw5e+H19yTMSOVKrLBpmaOq26xvop7Vo7LIoMJTkwRj2yD/U6m+g0W58Pi9XTUVUdZUlVzU+gPM2aFTrNLzEhU7IJpdFpdU66/aMoV6SgRinhj1CUA8LZaXGF62x+lry8L8ra1NSff4kyt0Staxp5++c/R2LX2Yn2CdUJUWGUDeaXCdrYO1SlJd50K8wC7S3Dex/xmoj56qpoNXgVKpkXKF+h8qD6hld3qA7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EkxphDF2h4Tt5JWsmEtOrUDscGw63DmF3Skvs3jcxtsq6mzbvXfhKuKurLN2p+KFqHoIhcNHfyrukrOHrzIqH1IARXOOls0Eo3ztouShah7RZwDLFDIS6+rBNjK0JOxStQ7IDrC9cblTKssG27GhLH68a0DJmAG29EwLA6Jd55sAoSjdbVKOAiyIr95XBPiG0yEBRaAZIt8KzPzYp7iGGuvi/jpiWRd2SpSvqhrxIk7zIIkzPO2S7bUSkruvykK76pU6BDcsX7GHJtCgCI06epARsOYtDZV09sJ2vyKbBSa65miij4m+TsoQrZqsrKEL92z7XHCGGlzqg/O99/dpLVmzXjbHtOzI1u5p2auS136lNQDZXsVh39oUix8De4AYxvDwBNZ7L7UNRvNmNsW3ZKTW7mnZq5LXLWk1AtlCSWnf+O3WsJad9N6jh5Qos6N36B6R1ul2ZzL3wHeJc21SDDL1nxBOxoLIZezXHta0nSX9FQhH/Y41gsUnJ7Nvfw/XbPU6T8MGI6WJPTdLl9C6HfVbiNshaO6gjS67+9DkzeTjBYaeh/7Ouf9J//6UEQhlPZhllzbfff6G+rF1U/UD+LK+VPqYbFOfs199/uTuQ3jtU/vUO5XjbgvidwEzQmo7ZAq3bXCePtKrQHmWMAB6jukn9uS6ehopoExXRWVZgmkCdfF6TtUSOUD//xGLk6BXPN7S5Tm4Oxf5QEJLR7lssXHz+/ot6/N9/6eH8e5WxzwcJBE1MSEA3yfkBx5sG76sozjtbnwzEBeH+H4j8Xs4lWZoF2r42kD6liSagin3v0B4lG7LkHtBuHxNg+U1yHz0jG9w+5+gD2kbr11tae5qF/MmADE+EyPbf3+Fom0W7vILR9id/Ehne7F7+3/8Cst5w5QayCQA= + + + dbo + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.Designer.cs b/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.Designer.cs new file mode 100644 index 0000000000..b943551be8 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.Designer.cs @@ -0,0 +1,29 @@ +// +namespace SmartStore.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] + public sealed partial class Menus : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(Menus)); + + string IMigrationMetadata.Id + { + get { return "201904110735029_Menus"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.cs b/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.cs new file mode 100644 index 0000000000..645fdd9314 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.cs @@ -0,0 +1,90 @@ +namespace SmartStore.Data.Migrations +{ + using System.Data.Entity.Migrations; + using SmartStore.Core.Data; + using SmartStore.Data.Setup; + using SmartStore.Data.Utilities; + + public partial class Menus : DbMigration, IDataSeeder + { + public override void Up() + { + CreateTable( + "dbo.MenuRecord", + c => new + { + Id = c.Int(nullable: false, identity: true), + SystemName = c.String(nullable: false, maxLength: 400), + IsSystemMenu = c.Boolean(nullable: false), + Template = c.String(maxLength: 400), + WidgetZone = c.String(maxLength: 4000), + Title = c.String(maxLength: 400), + Published = c.Boolean(nullable: false), + DisplayOrder = c.Int(nullable: false), + LimitedToStores = c.Boolean(nullable: false), + SubjectToAcl = c.Boolean(nullable: false), + }) + .PrimaryKey(t => t.Id) + .Index(t => new { t.SystemName, t.IsSystemMenu }, name: "IX_Menu_SystemName_IsSystemMenu") + .Index(t => t.Published, name: "IX_Menu_Published") + .Index(t => t.LimitedToStores, name: "IX_Menu_LimitedToStores") + .Index(t => t.SubjectToAcl, name: "IX_Menu_SubjectToAcl"); + + CreateTable( + "dbo.MenuItemRecord", + c => new + { + Id = c.Int(nullable: false, identity: true), + MenuId = c.Int(nullable: false), + ParentItemId = c.Int(nullable: false), + ProviderName = c.String(maxLength: 100), + Model = c.String(), + Title = c.String(maxLength: 400), + ShortDescription = c.String(maxLength: 400), + PermissionNames = c.String(), + Published = c.Boolean(nullable: false), + DisplayOrder = c.Int(nullable: false), + BeginGroup = c.Boolean(nullable: false), + ShowExpanded = c.Boolean(nullable: false), + NoFollow = c.Boolean(nullable: false), + NewWindow = c.Boolean(nullable: false), + Icon = c.String(maxLength: 100), + Style = c.String(maxLength: 10), + HtmlId = c.String(maxLength: 100), + CssClass = c.String(maxLength: 100), + }) + .PrimaryKey(t => t.Id) + .ForeignKey("dbo.MenuRecord", t => t.MenuId, cascadeDelete: true) + .Index(t => t.MenuId) + .Index(t => t.ParentItemId, name: "IX_MenuItem_ParentItemId") + .Index(t => t.Published, name: "IX_MenuItem_Published") + .Index(t => t.DisplayOrder, name: "IX_MenuItem_DisplayOrder"); + + } + + public override void Down() + { + DropForeignKey("dbo.MenuItemRecord", "MenuId", "dbo.MenuRecord"); + DropIndex("dbo.MenuItemRecord", "IX_MenuItem_DisplayOrder"); + DropIndex("dbo.MenuItemRecord", "IX_MenuItem_Published"); + DropIndex("dbo.MenuItemRecord", "IX_MenuItem_ParentItemId"); + DropIndex("dbo.MenuItemRecord", new[] { "MenuId" }); + DropIndex("dbo.MenuRecord", "IX_Menu_SubjectToAcl"); + DropIndex("dbo.MenuRecord", "IX_Menu_LimitedToStores"); + DropIndex("dbo.MenuRecord", "IX_Menu_Published"); + DropIndex("dbo.MenuRecord", "IX_Menu_SystemName_IsSystemMenu"); + DropTable("dbo.MenuItemRecord"); + DropTable("dbo.MenuRecord"); + } + + public bool RollbackOnFailure => true; + + public void Seed(SmartObjectContext context) + { + if (DataSettings.DatabaseIsInstalled()) + { + DataMigrator.CreateSystemMenus(context); + } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.resx b/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.resx new file mode 100644 index 0000000000..3c944a5f47 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201904110735029_Menus.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAOy923IcObIg+L5m+w8yPc2snZFKqi6zM21VO0ZRpEQ7urBJSprTL7RQJEiiFRmRHReJ7LH5sn3YT9pfWCCuuDjuiMigKl8kZsDhABzuDofD4fj//p//9/f/cb/NnnxHZYWL/I+nL5798vQJytNig/PbP5429c1/+/en/+P//j//j99PNtv7J58HuF8pHKmZV388vavr3V+fP6/SO7RNqmdbnJZFVdzUz9Ji+zzZFM9f/vLLf3/+4sVzRFA8JbiePPn9oslrvEXtD/LzuMhTtKubJHtfbFBW9d9JyWWL9cmHZIuqXZKiP55ebpOyvqyLEj17ndTJ0ydHGU5INy5RdvP0SZLnRZ3UpJN//VShy7os8tvLHfmQZFcPO0TgbpKsQn3n/zqB247jl5d0HM+nigOqtKnqYuuI8MWvPWGei9W9yPt0JBwh3Qkhcf1AR92S74+nV8UOp0+fiC399TgrKRRH2uOWvgQM58/aelX33789EYD+bWSKX5+9ePbbs1/+7clxk9VNif7IUVOXSfZvT86brxlO/wM9XBXfUP5H3mQZ21PSV1LGfSCfzstih8r64QLd9P0/2zx98pyv91ysOFZj6nSDO8vrX18+ffKBNJ58zdDICAwh2lG9QTkqkxptzpO6RmVOcaCWlFLrQluXD1WNtvTvoU3Cf0SOnj55n9y/Q/ltfffHU/Ln0yen+B5thi99Pz7lmIgdqVSXDTI1dVZ1jfVT2rX2qigylOTAGPXI3tbbbKLTbH1+VWwejqvqOEuqan4C5WnWbNBZfokJmZJdKI3OqnPS7R9Fu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RH6v5pIszQJtX1tIn9JEE1DNvndoj5INWXIPaLePCbD8JrmPfiAb3D7n6APaRuvXW1p6m0U8yoCMT4TI9t/f4WibRbu8htH1J38SGd7sXv7v/wcSeHgEbN4JAA== + + + dbo + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.Designer.cs b/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.Designer.cs new file mode 100644 index 0000000000..7a420fcffe --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.Designer.cs @@ -0,0 +1,29 @@ +// +namespace SmartStore.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] + public sealed partial class WidgetTopics : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(WidgetTopics)); + + string IMigrationMetadata.Id + { + get { return "201905020948354_WidgetTopics"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.cs b/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.cs new file mode 100644 index 0000000000..304479485c --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.cs @@ -0,0 +1,49 @@ +namespace SmartStore.Data.Migrations +{ + using System; + using System.Data.Entity.Migrations; + using System.Linq; + using SmartStore.Core.Data; + using SmartStore.Core.Domain.Topics; + using SmartStore.Data.Setup; + + public partial class WidgetTopics : DbMigration, IDataSeeder + { + public override void Up() + { + } + + public override void Down() + { + } + + public bool RollbackOnFailure + { + get { return false; } + } + + public void Seed(SmartObjectContext context) + { + using (var scope = new DbContextScope(ctx: context, validateOnSave: false, hooksEnabled: false)) + { + var widgetTopics = new[] + { + "CheckoutAsGuestOrRegister", + "ContactUs", + "ForumWelcomeMessage", + "HomePageText", + "LoginRegistrationInfo" + }; + + var topics = context.Set().Where(x => widgetTopics.Contains(x.SystemName)).ToList(); + topics.Each(x => + { + x.RenderAsWidget = true; + x.WidgetWrapContent = false; + }); + + context.SaveChanges(); + } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.resx b/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.resx new file mode 100644 index 0000000000..274628a4fc --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905020948354_WidgetTopics.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAOy923IcObIg+L5m+w8yPc2snZFKqm6zPm1VO0ZRpEQ7urBJSjqnX2ihSJBEKzIiOy4S2WPzZfuwn7S/sEBccXHcEZFBVb5IzIDDATjcHQ6Hw/H//T//72//836bPfmOygoX+e9PXzz75ekTlKfFBue3vz9t6pv/8Zen//P//j//j99ONtv7J58HuF8pHKmZV78/vavr3V+fP6/SO7RNqmdbnJZFVdzUz9Ji+zzZFM9f/vLLvz9/8eI5IiieElxPnvx20eQ13qL2B/l5XOQp2tVNkr0vNiir+u+k5LLF+uRDskXVLknR708vt0lZX9ZFiZ69Turk6ZOjDCekG5cou3n6JMnzok5q0sm/fqrQZV0W+e3ljnxIsquHHSJwN0lWob7zf53Abcfxy0s6judTxQFV2lR1sXVE+OLXnjDPxepe5H06Eo6Q7oSQuH6go27J9/vTq2KH06dPxJb+epyVFIoj7XFLXwKG82dtvar779+eCED/NjLFr89ePPvzs1/+7clxk9VNiX7P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f0U+Ff9jTWCxSckcHj/Gy9d7nCbhgxHTxZ6apMvpPRz2WYnbKGvtoE4sufrT58zk8fyOvYb+j/r+Sf/9lwoIZTyZZZS1337/hbrydlH9A/mzulX7mG5QnLNff//lriS9d6j66x3K8bYD8TuBmaA1HbMD2rS5Th5pUaU9yhgBPEZNk+Zz62gook1URGdZgWn+ePJ5TdYSOUL9/BMLEaQ3XN/Q5jq5KYt9WRCS0e5bLNz7/v6Levzffxng/HudsNAHCQRNTEhAN8l5ieNNi/dVFOe9rU8G4oJw/w9Efq/mkizNAm1fW0if0kQTUM2+d2iPkg1Zcg9ot48JsPwmuY9+IBvcPufoA9pG69dbWnqbRTzKgIxPhMj239/haJtFu7yG0fUnfxIZ3uxe/u//B7q/7Z1s3gkA + + + dbo + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.Designer.cs b/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.Designer.cs new file mode 100644 index 0000000000..e07144c09d --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.Designer.cs @@ -0,0 +1,29 @@ +// +namespace SmartStore.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] + public sealed partial class V320Resources : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(V320Resources)); + + string IMigrationMetadata.Id + { + get { return "201905101159134_V320Resources"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.cs b/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.cs new file mode 100644 index 0000000000..231a748e84 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.cs @@ -0,0 +1,876 @@ +namespace SmartStore.Data.Migrations +{ + using System.Data.Entity.Migrations; + using SmartStore.Core.Domain.Catalog; + using SmartStore.Data.Setup; + using SmartStore.Utilities; + using SmartStore.Core.Domain.Common; + + public partial class V320Resources : DbMigration, ILocaleResourcesProvider, IDataSeeder + { + public override void Up() + { + } + + public override void Down() + { + } + + public bool RollbackOnFailure + { + get { return false; } + } + + public void Seed(SmartObjectContext context) + { + context.MigrateLocaleResources(MigrateLocaleResources); + context.SaveChanges(); + + MigrateSettings(context); + context.SaveChanges(); + } + + public void MigrateSettings(SmartObjectContext context) + { + context.MigrateSettings(x => + { + x.Add(TypeHelper.NameOf(y => y.CacheSegmentSize, true), 500); + x.Add(TypeHelper.NameOf(y => y.AlwaysPrefetchTranslations, true), false); + x.Add(TypeHelper.NameOf(y => y.AlwaysPrefetchUrlSlugs, true), false); + + // New CatalogSettings properties + x.Add(TypeHelper.NameOf(y => y.ShowSubCategoriesInSubPages, true), false); + x.Add(TypeHelper.NameOf(y => y.ShowDescriptionInSubPages, true), false); + x.Add(TypeHelper.NameOf(y => y.IncludeFeaturedProductsInSubPages, true), false); + }); + } + + public void MigrateLocaleResources(LocaleResourcesBuilder builder) + { + builder.AddOrUpdate("Admin.ReturnRequests.MaxRefundAmount", + "Maximum refund amount", + "Maximaler Erstattungsbetrag", + "The maximum amount that can be refunded for this return request.", + "Der maximale Betrag, der fr diesen Rcksendewunsch erstattet werden kann."); + + builder.AddOrUpdate("Admin.Customers.Customers.Fields.Title", + "Title", + "Titel", + "Specifies the title.", + "Legt den Titel fest."); + + builder.AddOrUpdate("Admin.DataExchange.Export.FolderName.Validate", + "Please enter a valid, relative folder path for the export data. The path must be at least 3 characters long and not the application folder.", + "Bitte einen gltigen, relativen Ordnerpfad fr die zu exportierenden Daten eingeben. Der Pfad muss mindestens 3 Zeichen lang und nicht der Anwendungsordner sein."); + + builder.AddOrUpdate("Admin.Catalog.Customers.CustomerSearchType", "Search in:", "Suche in:"); + + // Fix some FluentValidation german translations + builder.AddOrUpdate("Validation.LengthValidator") + .Value("de", "'{PropertyName}' muss zwischen {MinLength} und {MaxLength} Zeichen lang sein. Sie haben {TotalLength} Zeichen eingegeben."); + builder.AddOrUpdate("Validation.MinimumLengthValidator") + .Value("de", "'{PropertyName}' muss mind. {MinLength} Zeichen lang sein. Sie haben {TotalLength} Zeichen eingegeben."); + builder.AddOrUpdate("Validation.MaximumLengthValidator") + .Value("de", "'{PropertyName}' darf max. {MaxLength} Zeichen lang sein. Sie haben {TotalLength} Zeichen eingegeben."); + builder.AddOrUpdate("Validation.ExactLengthValidator") + .Value("de", "'{PropertyName}' muss genau {MaxLength} lang sein. Sie haben {TotalLength} Zeichen eingegeben."); + builder.AddOrUpdate("Validation.ExclusiveBetweenValidator") + .Value("de", "'{PropertyName}' muss grer als {From} und kleiner als {To} sein. Sie haben '{Value}' eingegeben."); + builder.AddOrUpdate("Validation.InclusiveBetweenValidator") + .Value("de", "'{PropertyName}' muss zwischen {From} and {To} liegen. Sie haben '{Value}' eingegeben."); + builder.AddOrUpdate("Validation.NotNullValidator") + .Value("de", "'{PropertyName}' ist erforderlich."); + builder.AddOrUpdate("Validation.NotEmptyValidator") + .Value("de", "'{PropertyName}' ist erforderlich."); + builder.AddOrUpdate("Validation.LessThanValidator") + .Value("de", "'{PropertyName}' muss kleiner sein als '{ComparisonValue}'."); + builder.AddOrUpdate("Validation.RegularExpressionValidator") + .Value("de", "'{PropertyName}' entspricht nicht dem erforderlichen Muster."); + builder.AddOrUpdate("Validation.ScalePrecisionValidator") + .Value("de", "'{PropertyName}' darf insgesamt nicht mehr als {expectedPrecision} Ziffern enthalten, unter Bercksichtigung von {expectedScale} Dezimalstellen. {digits} Ziffern und {actualScale} Dezimalstellen wurden gefunden."); + + // Some new resources for custom validators + builder.AddOrUpdate("Validation.CreditCardCvvNumberValidator", + "'{PropertyName}' is invalid.", + "'{PropertyName}' ist ungltig."); + + // Get rid of duplicate validator resource entries + builder.Delete( + "Admin.Catalog.Products.Fields.Name.Required", + "Admin.Catalog.Categories.Fields.Name.Required", + "Admin.Catalog.Manufacturers.Fields.Name.Required", + "Admin.Validation.RequiredField", + "Admin.Catalog.Attributes.ProductAttributes.Fields.Name.Required", + "Admin.Catalog.ProductReviews.Fields.Title.Required", + "Admin.Catalog.ProductReviews.Fields.ReviewText.Required", + "Admin.Catalog.ProductTags.Fields.Name.Required", + "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Values.Fields.Name.Required", + "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Values.Fields.Quantity.GreaterOrEqualToOne", + "Admin.Catalog.Attributes.SpecificationAttributes.Options.Fields.Name.Required", + "Admin.Catalog.Attributes.SpecificationAttributes.Fields.Name.Required", + "Admin.ContentManagement.Blog.BlogPosts.Fields.Title.Required", + "Admin.ContentManagement.Blog.BlogPosts.Fields.Body.Required", + "Admin.Common.GenericAttributes.Fields.Name.Required", + "Admin.Customers.CustomerRoles.Fields.Name.Required", + "Admin.Configuration.Countries.Fields.Name.Required", + "Admin.Configuration.Countries.Fields.TwoLetterIsoCode.Required", + "Admin.Configuration.Countries.Fields.TwoLetterIsoCode.Length", + "Admin.Configuration.Countries.Fields.ThreeLetterIsoCode.Required", + "Admin.Configuration.Countries.Fields.ThreeLetterIsoCode.Length", + "Admin.Configuration.Measures.Dimensions.Fields.Name.Required", + "Admin.Configuration.Measures.Dimensions.Fields.SystemKeyword.Required", + "Admin.Configuration.Measures.Weights.Fields.Name.Required", + "Admin.Configuration.Measures.Weights.Fields.SystemKeyword.Required", + "Admin.Configuration.Countries.States.Fields.Name.Required", + "Admin.Configuration.DeliveryTimes.Fields.Name.Required", + "Admin.Configuration.DeliveryTimes.Fields.ColorHexValue.Required", + "Admin.Configuration.DeliveryTimes.Fields.ColorHexValue.Range", + "Admin.Configuration.DeliveryTimes.Fields.Name.Range", + "Admin.Configuration.Currencies.Fields.Name.Required", + "Admin.Configuration.Currencies.Fields.Name.Range", + "Admin.Configuration.Currencies.Fields.CurrencyCode.Required", + "Admin.Configuration.Currencies.Fields.CurrencyCode.Range", + "Admin.Configuration.Currencies.Fields.Rate.Range", + "Admin.Configuration.Currencies.Fields.CustomFormatting.Validation", + "Admin.Promotions.Discounts.Fields.Name.Required", + "Admin.ContentManagement.Forums.ForumGroup.Fields.Name.Required", + "Admin.ContentManagement.Forums.Forum.Fields.Name.Required", + "Admin.ContentManagement.Forums.Forum.Fields.ForumGroupId.Required", + "Admin.Configuration.Languages.Resources.Fields.Name.Required", + "Admin.Configuration.Languages.Resources.Fields.Value.Required", + "Admin.Configuration.Languages.Fields.Name.Required", + "Admin.Configuration.Languages.Fields.UniqueSeoCode.Required", + "Admin.Configuration.Languages.Fields.UniqueSeoCode.Length", + "Admin.Promotions.Campaigns.Fields.Name.Required", + "Admin.Promotions.Campaigns.Fields.Subject.Required", + "Admin.Promotions.Campaigns.Fields.Body.Required", + "Admin.ContentManagement.MessageTemplates.Fields.Subject.Required", + "Admin.ContentManagement.MessageTemplates.Fields.Body.Required", + "Admin.Promotions.NewsLetterSubscriptions.Fields.Email.Required", + "Admin.System.QueuedEmails.Fields.Priority.Required", + "Admin.System.QueuedEmails.Fields.From.Required", + "Admin.System.QueuedEmails.Fields.To.Required", + "Admin.System.QueuedEmails.Fields.SentTries.Required", + "Admin.System.QueuedEmails.Fields.Priority.Range", + "Admin.System.QueuedEmails.Fields.SentTries.Range", + "Admin.ContentManagement.News.NewsItems.Fields.Title.Required", + "Admin.ContentManagement.News.NewsItems.Fields.Short.Required", + "Admin.ContentManagement.News.NewsItems.Fields.Full.Required", + "Admin.Catalog.Attributes.CheckoutAttributes.Fields.Name.Required", + "Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.Name.Required", + "Admin.Configuration.Plugins.Fields.FriendlyName.Required", + "Admin.ContentManagement.Polls.Answers.Fields.Name.Required", + "Admin.ContentManagement.Polls.Fields.Name.Required", + "Admin.Configuration.Shipping.Methods.Fields.Name.Required", + "Admin.Configuration.Stores.Fields.Name.Required", + "Admin.Configuration.Stores.Fields.Url.Required", + "Admin.Configuration.Settings.AllSettings.Fields.Name.Required", + "Admin.System.ScheduleTasks.Name.Required", + "Admin.Configuration.Tax.Categories.Fields.Name.Required", + "Admin.ContentManagement.Topics.Fields.SystemName.Required", + "Admin.Address.Fields.FirstName.Required", + "Admin.Address.Fields.LastName.Required", + "Admin.Address.Fields.Email.Required", + "Admin.Address.Fields.Company.Required", + "Admin.Address.Fields.City.Required", + "Admin.Address.Fields.Address1.Required", + "Admin.Address.Fields.Address2.Required", + "Admin.Address.Fields.ZipPostalCode.Required", + "Admin.Address.Fields.PhoneNumber.Required", + "Admin.Address.Fields.FaxNumber.Required", + "Admin.Address.Fields.EmailMatch.Required", + "Admin.Customers.Customers.Fields.FirstName.Required", + "Admin.Customers.Customers.Fields.LastName.Required", + "Admin.Customers.Customers.Fields.Company.Required", + "Admin.Customers.Customers.Fields.StreetAddress.Required", + "Admin.Customers.Customers.Fields.StreetAddress2.Required", + "Admin.Customers.Customers.Fields.ZipPostalCode.Required", + "Admin.Customers.Customers.Fields.City.Required", + "Admin.Customers.Customers.Fields.Phone.Required", + "Admin.Customers.Customers.Fields.Fax.Required", + "Admin.Validation.Name", + "Admin.Validation.EmailAddress", + "Admin.Validation.Url", + "Admin.Validation.UsernamePassword", + "Admin.DataExchange.Export.FileNamePattern.Validate", + "Admin.DataExchange.Export.Partition.Validate", + "Admin.Common.WrongEmail", + "Payment.CardCode.Wrong" + ); + + // Get rid of duplicate CreatedOn resources also + builder.Delete( + "Admin.Affiliates.Orders.CreatedOn", + "Admin.ContentManagement.Blog.Comments.Fields.CreatedOn", + "Admin.ContentManagement.Blog.BlogPosts.Fields.CreatedOn", + "Admin.ContentManagement.Blog.BlogPosts.Fields.CreatedOn", + "Admin.Catalog.ProductReviews.Fields.CreatedOn", + "Admin.Customers.Customers.Fields.CreatedOn", + "Admin.Customers.Customers.Orders.CreatedOn", + "Admin.Customers.Customers.ActivityLog.CreatedOn", + "Admin.Orders.Fields.CreatedOn", + "Admin.Customers.Customers.Fields.CreatedOn", + "Admin.Promotions.NewsLetterSubscriptions.Fields.CreatedOn", + "Admin.Configuration.Currencies.Fields.CreatedOn", + "Admin.Promotions.Discounts.History.CreatedOn", + "Admin.ContentManagement.Forums.ForumGroup.Fields.CreatedOn", + "Admin.ContentManagement.Forums.Forum.Fields.CreatedOn", + "Admin.Configuration.ActivityLog.ActivityLog.Fields.CreatedOn", + "Admin.System.Log.Fields.CreatedOn", + "Admin.Promotions.Campaigns.Fields.CreatedOn", + "Admin.Promotions.NewsLetterSubscriptions.Fields.CreatedOn", + "Admin.System.QueuedEmails.Fields.CreatedOn", + "Admin.ContentManagement.News.Comments.Fields.CreatedOn", + "Admin.ContentManagement.News.NewsItems.Fields.CreatedOn", + "Admin.GiftCards.Fields.CreatedOn", + "Admin.GiftCards.History.CreatedOn", + "Admin.Orders.Fields.CreatedOn", + "Admin.Orders.OrderNotes.Fields.CreatedOn", + "Admin.RecurringPayments.History.CreatedOn", + "Admin.ReturnRequests.Fields.CreatedOn" + ); + + // duplicate validator resource entries in frontend + builder.Delete( + "Blog.Comments.CommentText.Required", + "Forum.TextCannotBeEmpty", + "Forum.TopicSubjectCannotBeEmpty", + "Forum.TextCannotBeEmpty", + "Account.Fields.Email.Required", + "Products.AskQuestion.Question.Required", + "Account.Fields.FullName.Required", + "Products.EmailAFriend.FriendEmail.Required", + "Products.EmailAFriend.YourEmailAddress.Required", + "Reviews.Fields.Title.Required", + "Reviews.Fields.Title.MaxLengthValidation", + "Reviews.Fields.ReviewText.Required", + "Address.Fields.FirstName.Required", + "Address.Fields.LastName.Required", + "Address.Fields.Email.Required", + "Account.Fields.Company.Required", + "Account.Fields.StreetAddress.Required", + "Account.Fields.StreetAddress2.Required", + "Account.Fields.ZipPostalCode.Required", + "Account.Fields.City.Required", + "Account.Fields.Phone.Required", + "Account.Fields.Fax.Required", + "Admin.Address.Fields.EmailMatch.Required", + "ContactUs.Email.Required", + "ContactUs.Enquiry.Required", + "ContactUs.FullName.Required", + "Account.ChangePassword.Fields.OldPassword.Required", + "Account.ChangePassword.Fields.NewPassword.Required", + "Account.ChangePassword.Fields.NewPassword.LengthValidation", + "Account.ChangePassword.Fields.ConfirmNewPassword.Required", + "Account.ChangePassword.Fields.NewPassword.LengthValidation", + "Account.Fields.Email.Required", + "Account.Fields.FirstName.Required", + "Account.Fields.LastName.Required", + "Account.Fields.Company.Required", + "Account.Fields.StreetAddress.Required", + "Account.Fields.StreetAddress2.Required", + "Account.Fields.ZipPostalCode.Required", + "Account.Fields.City.Required", + "Account.Fields.Phone.Required", + "Account.Fields.Fax.Required", + "Account.Fields.Password.Required", + "Account.Fields.Vat.Required", + "Account.PasswordRecovery.NewPassword.Required", + "Account.PasswordRecovery.NewPassword.LengthValidation", + "Account.PasswordRecovery.ConfirmNewPassword.Required", + "Account.PasswordRecovery.Email.Required", + "News.Comments.CommentTitle.Required", + "News.Comments.CommentTitle.MaxLengthValidation", + "News.Comments.CommentText.Required", + "PrivateMessages.SubjectCannotBeEmpty", + "PrivateMessages.MessageCannotBeEmpty", + "Wishlist.EmailAFriend.FriendEmail.Required", + "Wishlist.EmailAFriend.YourEmailAddress.Required" + ); + + // remove duplicate resources for display order + builder.Delete( + "Admin.Catalog.Categories.Fields.DisplayOrder", + "Admin.Catalog.Categories.Products.Fields.DisplayOrder", + "Admin.Catalog.Manufacturers.Fields.DisplayOrder", + "Admin.Catalog.Manufacturers.Products.Fields.DisplayOrder", + "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Values.Fields.DisplayOrder", + "Admin.Catalog.Products.BundleItems.Fields.DisplayOrder", + "Admin.Catalog.Products.Fields.HomePageDisplayOrder", + "Admin.Catalog.Products.SpecificationAttributes.Fields.DisplayOrder", + "Admin.Catalog.Products.Pictures.Fields.DisplayOrder", + "Admin.Catalog.Products.Categories.Fields.DisplayOrder", + "Admin.Catalog.Products.Manufacturers.Fields.DisplayOrder", + "Admin.Catalog.Products.RelatedProducts.Fields.DisplayOrder", + "Admin.Catalog.Products.AssociatedProducts.Fields.DisplayOrder", + "Admin.Catalog.Products.BundleItems.Fields.DisplayOrder", + "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Fields.DisplayOrder", + "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Values.Fields.DisplayOrder", + "Admin.Catalog.Products.SpecificationAttributes.Fields.DisplayOrder", + "Admin.Catalog.Attributes.SpecificationAttributes.Fields.DisplayOrder", + "Admin.Catalog.Attributes.SpecificationAttributes.Options.Fields.DisplayOrder", + "Admin.Catalog.Categories.Fields.DisplayOrder", + "Admin.Catalog.Manufacturers.Fields.DisplayOrder", + "Admin.Configuration.Countries.Fields.DisplayOrder", + "Admin.Configuration.Currencies.Fields.DisplayOrder", + "Admin.Configuration.DeliveryTimes.Fields.DisplayOrder", + "Admin.Configuration.Measures.Dimensions.Fields.DisplayOrder", + "Admin.Configuration.Measures.Weights.Fields.DisplayOrder", + "Admin.Configuration.Countries.States.Fields.DisplayOrder", + "Admin.ContentManagement.Forums.ForumGroup.Fields.DisplayOrder", + "Admin.ContentManagement.Forums.Forum.Fields.DisplayOrder", + "Admin.Configuration.Languages.Fields.DisplayOrder", + "Admin.Catalog.Attributes.CheckoutAttributes.Fields.DisplayOrder", + "Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.DisplayOrder", + "Admin.Configuration.Plugins.Fields.DisplayOrder", + "Admin.ContentManagement.Polls.Answers.Fields.DisplayOrder", + "Admin.ContentManagement.Polls.Fields.DisplayOrder", + "Admin.Configuration.Shipping.Methods.Fields.DisplayOrder", + "Admin.Configuration.Stores.Fields.DisplayOrder", + "Admin.Configuration.Tax.Categories.Fields.DisplayOrder" + ); + + builder.AddOrUpdate("Common.DisplayOrder.Hint", + "Specifies display order. 1 represents the top of the list.", + "Legt die Anzeige-Prioritt fest. 1 steht bspw. fr das erste Element in der Liste."); + + builder.AddOrUpdate("Admin.Configuration.Settings.GeneralCommon.UseInvisibleReCaptcha", + "Use invisible reCAPTCHA", + "Unsichtbaren reCAPTCHA verwenden", + "Does not require the user to click on a checkbox, instead it is invoked directly when the user submits a form. By default only the most suspicious traffic will be prompted to solve a captcha.", + "Der Benutzer muss nicht auf ein Kontrollkstchen klicken, sondern die Validierung erfolgt direkt beim Absenden eines Formulars. Nur bei 'verdchtigem' Traffic wird der Benutzer aufgefordert, ein Captcha zu lsen."); + + builder.AddOrUpdate("Admin.ContentManagement.Topics.Fields.ShortTitle", + "Short title", + "Kurztitel", + "Optional. Used as link text. If empty, 'Title' sets the link text.", + "Optional. Wird u.A. als Linktext verwendet. Wenn leer, stellt 'Titel' den Linktext."); + + builder.AddOrUpdate("Admin.ContentManagement.Topics.Fields.Intro", + "Intro", + "Intro", + "Optional. Short introduction / teaser.", + "Optional. Einleitung / Teaser."); + + builder.AddOrUpdate("Common.Download.Versions", "Versions", "Versionen"); + builder.AddOrUpdate("Common.Download.Version", "Version", "Version"); + builder.AddOrUpdate("Common.Download.Delete", "Delete download", "Download lschen"); + builder.AddOrUpdate("Common.Downloads", "Downloads", "Downloads"); + + builder.AddOrUpdate("Admin.Catalog.Products.Fields.NewVersionDownloadId", + "New download version", + "Neue Version des Downloads", + "Upload a new version of the download file here.", + "Laden Sie hier eine neue Version der Download-Datei hoch."); + + builder.AddOrUpdate("Admin.Catalog.Products.Download.VersionDelete", "Delete this file version.", "Diese Dateiversion lschen."); + builder.AddOrUpdate("Admin.Catalog.Products.Download.AddChangelog", "Edit changelog", "nderungshistorie bearbeiten"); + builder.AddOrUpdate("Customer.Downloads.NoChangelogAvailable", "No changelog available.", "Keine nderungshistorie verfgbar."); + + builder.AddOrUpdate("Admin.Catalog.Products.Download.SemanticVersion.NotValid", + "The specified version information is not valid. Please enter the version number in the correct format (e.g.: 1.0.0.0, 2.0 or 3.1.5).", + "Die angegebenen Versionsinformationen sind nicht gltig. Bitte geben Sie die Versionsnummer in korrektem Format an (z.B.: 1.0.0.0, 2.0 oder 3.1.5)."); + + builder.AddOrUpdate("Admin.Catalog.Products.Fields.HasPreviewPicture", + "Exclude first image from gallery", + "Erstes Bild aus Gallerie ausschlieen", + "Activate this option if the first image should be displayed as a preview in product lists but not in the product detail gallery.", + "Aktivieren Sie diese Option, wenn das erste Bild als Vorschau in Produktlisten, nicht aber in der Produktdetail-Gallerie angezeigt werden soll."); + + builder.AddOrUpdate("Products.Free", "Free", "Kostenlos"); + + builder.AddOrUpdate("Admin.Catalog.Products.Fields.ProductTags.Hint", + "Product tags are keywords that this product can also be identified by. Enter a list of the tags to be associated with this product. The more products associated with a particular tag, the larger it will show on the tag cloud.", + "Eine Liste von Schlsselwrtern, die das Produkt taxonomisch charakterisieren. Je mehr Produkte einem Schlsselwort (Tag) zugeordnet sind, desto mehr visuelles Gewicht erhlt das Tag."); + + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.Initial", "Position", "Position"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.Relevance", "Relevance", "Beste Ergebnisse"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.SubjectAsc", "Title: A to Z", "Titel: A bis Z"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.SubjectDesc", "Title: Z to A", "Titel: Z bis A"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.UserNameAsc", "User name: A to Z", "Benutzername: A bis Z"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.UserNameDesc", "User name: Z to A", "Benutzername: Z bis A"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.CreatedOnAsc", "Created on: Oldest first", "Erstellt am: ltere zuerst"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.CreatedOnDesc", "Created on: Newest first", "Erstellt am: neuere zuerst"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.PostsAsc", "Post number: ascending", "Anzahl Beitrge: aufsteigend"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.PostsDesc", "Post number: descending", "Anzahl Beitrge: absteigend"); + + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastVisit", "Since last visit", "Seit dem letzten Besuch"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.Yesterday", "Yesterday", "Gestern"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastWeek", "Last week", "In der letzten Woche"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastTwoWeeks", "Last 2 weeks", "In den letzten 2 Wochen"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastMonth", "Last month", "Im letzten Monat"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastThreeMonths", "Last 3 months", "In den letzten 3 Monaten"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastSixMonths", "Last 6 months", "In den letzten 6 Monaten"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastYear", "Last year", "Im letzten Jahr"); + + builder.AddOrUpdate("Search.Facet.Forum", "Forum", "Forum"); + builder.AddOrUpdate("Search.Facet.Customer", "User name", "Benutzername"); + builder.AddOrUpdate("Search.Facet.Date", "Period", "Zeitraum"); + builder.AddOrUpdate("Search.Facet.Date.Newer", "and newer", "und neuer"); + builder.AddOrUpdate("Search.Facet.Date.Older", "and older", "und lter"); + + builder.AddOrUpdate("Forum.PostText", "Post text", "Beitragstext"); + builder.AddOrUpdate("Forum.Sticky", "Sticky topic", "Festes Thema"); + + builder.AddOrUpdate("Search.HitsFor", "{0} hits for {1}", "{0} Treffer fr {1}"); + builder.AddOrUpdate("Search.NoMoreHitsFound", "There were no more hits found.", "Es wurden keine weiteren Treffer gefunden."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Search.WildcardSearchNote", + "The wildcard mode can slow down the search for a large number of objects.", + "Der Wildcard-Modus kann bei einer groen Anzahl an Objekten die Suche verlangsamen."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Search.SearchMode", + "Search mode", + "Suchmodus", + "Specifies the search mode. Please keep in mind that the search mode can - depending on number of objects - strongly affect search performance. 'Is equal to' is the fastest, 'Contains' the slowest.", + "Legt den Suchmodus fest. Bitte beachten Sie, dass der Suchmodus die Geschwindigkeit der Suche (abhngig von der Objektanzahl) beeinflusst. 'Ist gleich' ist am schnellsten, 'Beinhaltet' am langsamsten."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Search.Forum.SearchFields", + "Search fields", + "Suchfelder", + "Specifies additional search fields. The topic title is always searched.", + "Legt zustzlich zu durchsuchende Felder fest. Der Thementitel wird grundstzlich immer durchsucht."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Search.DefaultSortOrder", + "Default sort order", + "Standardsortierreihenfolge", + "Specifies the default sort order in search results.", + "Legt die Standardsortierreihenfolge in den Suchergebnissen fest."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Search.InstantSearchNumberOfHits", + "Number of hits", + "Anzahl der Treffer", + "Specifies the number of hits displayed in instant search.", + "Legt die Anzahl der angezeigten Suchtreffer in der Instantsuche fest."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Forums.AllowSorting", + "Allow sorting", + "Sortierung zulassen", + "Specifies whether forum posts can be sorted.", + "Legt fest, ob Forenbeitrge sortiert werden knnen."); + + builder.AddOrUpdate("Admin.Common.DefaultPageSizeOptions", + "Page size options", + "Auswahlmglichkeiten fr Seitengre", + "Comma-separated page size options that a customer can select in lists.", + "Kommagetrennte Liste mit Optionen fr Seitengre, die ein Kunde in Listen whlen kann."); + + builder.AddOrUpdate("Admin.Common.AllowCustomersToSelectPageSize", + "Allow customers to select page size", + "Kunde kann Listengre ndern", + "Whether customers are allowed to select the page size from a predefined list of options.", + "Kunden knnen die Listengre mit Hilfe einer vorgegebenen Optionsliste ndern."); + + + builder.Delete( + "Admin.Configuration.Settings.Search.DefaultSortOrderMode", + "Admin.Configuration.Settings.Search.InstantSearchNumberOfProducts", + "Admin.Configuration.Settings.CustomerUser.DefaultAvatarEnabled", + "Forum.Search.LimitResultsToPrevious.AllResults", + "Forum.Search.LimitResultsToPrevious.1day", + "Forum.Search.LimitResultsToPrevious.7days", + "Forum.Search.LimitResultsToPrevious.2weeks", + "Forum.Search.LimitResultsToPrevious.1month", + "Forum.Search.LimitResultsToPrevious.3months", + "Forum.Search.LimitResultsToPrevious.6months", + "Forum.Search.LimitResultsToPrevious.1year", + "Forum.Search.SearchInForum.All", + "Forum.Search.SearchWithin.All", + "Forum.Search.SearchWithin.TopicTitlesOnly", + "Forum.Search.SearchWithin.PostTextOnly", + "Forum.SearchTermMinimumLengthIsNCharacters", + "Enums.SmartStore.Core.Domain.Forums.ForumSearchType.All", + "Enums.SmartStore.Core.Domain.Forums.ForumSearchType.PostTextOnly", + "Enums.SmartStore.Core.Domain.Forums.ForumSearchType.TopicTitlesOnly", + "Forum.AdvancedSearch", + "Forum.SearchButton", + "Forum.PageTitle.Search"); + + builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.PriceDisplayStyle", + "Price display style", + "Preisdarstellung", + "Specifies the form in which prices are displayed in product lists and on the product detail page.", + "Bestimmt die Darstellungform von Preisen in Produktlisten und auf der Produktdetailseite."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.DisplayTextForZeroPrices", + "Display text when prices are 0,00", + "Zeige Text wenn Preise 0,00 sind", + "Specifies whether to display a textual resource (free) instead of the value 0.00.", + "Bestimmt, ob statt dem Wert 0,00 eine textuelle Resource (kostenlos) angezeigt werden soll."); + + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Catalog.PriceDisplayStyle.Default", "Default", "Standard"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Catalog.PriceDisplayStyle.BadgeAll", "In bagdes", "Markiert"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Catalog.PriceDisplayStyle.BadgeFreeProductsOnly", "Badge free products only", "Nur kostenlose Produkte markieren"); + + builder.AddOrUpdate("Admin.DataExchange.Export.Filter.WorkingLanguageId", + "Language", + "Sprache", + "Filter by language", + "Nach Sprache filtern"); + + + builder.AddOrUpdate("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnForumPage", + "Show on forum pages", + "Auf Forenseiten anzeigen", + "Specifies whether to display a CAPTCHA on forum pages when creating or replying to a topic.", + "Legt fest, ob ein CAPTCHA auf Forenseiten angezeigt werden soll, wenn ein Thema erstellt oder darauf geantwortet wird."); + + builder.AddOrUpdate("Admin.Catalog.Products.BundleItems.NoProductLinkageForBundleItem", + "The product \"{0}\" cannot be assigned an attribute of the type \"product\" because it is bundle item of a product bundle.", + "Dem Produkt \"{0}\" kann kein Attribut vom Typ \"Produkt\" zugeordnet werden, weil es auf der Stckliste eines Produkt-Bundle steht."); + + builder.AddOrUpdate("Search.RelatedSearchTerms", + "Related search terms", + "Verwandte Suchbegriffe"); + + builder.AddOrUpdate("Plugins.CannotLoadModule", + "The plugin or provider \"{0}\" cannot be loaded.", + "Das Plugin oder der Provider \"{0}\" kann nicht geladen werden."); + + builder.AddOrUpdate("Admin.System.ScheduleTasks.RunPerMachine", + "Run per machine", + "Pro Maschine ausfhren", + "Indicates whether the task is executed decidedly on each machine of a web farm.", + "Gibt an, ob die Aufgabe auf jeder Maschine einer Webfarm dezidiert ausgefhrt wird."); + + builder.Delete("Address.Fields.Required.Hint"); + + builder.AddOrUpdate("Common.FormFields.Required.Hint", + "* Input elements with asterisk are required and have to be filled out.", + "* Eingabefelder mit Sternchen sind Pflichfelder und mssen ausgefllt werden."); + + builder.AddOrUpdate("Forum.Post.Vote.OnlyRegistered", + "Only registered users can vote for posts.", + "Nur registrierte Benutzer knnen Beitrge bewerten."); + + builder.AddOrUpdate("Forum.Post.Vote.OwnPostNotAllowed", + "You cannot vote for your own post.", + "Sie knnen nicht Ihren eigenen Beitrag bewerten."); + + builder.AddOrUpdate("Forum.Post.Vote.SuccessfullyVoted", + "Thank you for your vote.", + "Danke fr Ihre Bewertung."); + + builder.AddOrUpdate("Common.Liked", "Liked", "Gefllt"); + builder.AddOrUpdate("Common.LikeIt", "I like it", "Gefllt mir"); + builder.AddOrUpdate("Common.DoNotLikeIt", "I do not like it anymore", "Gefllt mir nicht mehr"); + + builder.AddOrUpdate("Admin.Configuration.Settings.Forums.AllowCustomersToVoteOnPosts", + "Allow customers to vote on posts", + "Benutzer knnen Beitrge bewerten", + "Specifies whether customers can vote on posts.", + "Legt fest, ob Benutzer Beitrge bewerten knnen."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Forums.AllowGuestsToVoteOnPosts", + "Allow guests to vote on posts", + "Gste knnen Beitrge bewerten", + "Specifies whether guests can vote on posts.", + "Legt fest, ob Gste Beitrge bewerten knnen."); + + // Typos. + builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements") + .Value("de", "Voraussetzungen"); + builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements.DiscountRequirementType") + .Value("de", "Typ der Voraussetzung"); + builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements.DiscountRequirementType.Hint") + .Value("de", "Voraussetzungen fr den Rabatt"); + builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements.Remove") + .Value("de", "Voraussetzung fr den Rabatt entfernen"); + builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements.SaveBeforeEdit") + .Value("de", "Sie mssen den Rabatt zunchst speichern, bevor Sie Voraussetzungen fr seine Anwendung festlegen knnen"); + + builder.AddOrUpdate("Common.Voting", "Voting", "Abstimmung"); + builder.AddOrUpdate("Common.Answer", "Answer", "Antwort"); + builder.AddOrUpdate("Common.Size", "Size", "Gre"); + + builder.AddOrUpdate("Admin.Configuration.Settings.CustomerUser.CustomerFormFields.Description", + "Manage form fields that are displayed during registration.", + "Verwalten Sie Formularfelder, die whrend der Registrierung angezeigt werden."); + + builder.AddOrUpdate("Admin.Configuration.Settings.CustomerUser.AddressFormFields.Description", + "Manage form fields that are displayed during checkout and on \"My account\" page.", + "Verwalten Sie Formularfelder, die whrend des Checkout-Prozesses und im \"Mein Konto\" Bereich angezeigt werden."); + + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.DataExchange.RelatedEntityType.TierPrice", "Tier price", "Staffelpreis"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.DataExchange.RelatedEntityType.ProductVariantAttributeValue", "Attribute option", "Attribut-Option"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.DataExchange.RelatedEntityType.ProductVariantAttributeCombination", "Attribute combination", "Attribut-Kombination"); + + builder.AddOrUpdate("Admin.DataExchange.Export.ExportRelatedData.Validate", + "Related data cannot be exported if the option \"Export attribute combinations\" is activated.", + "Zugehrige Daten knnen nicht exportiert werden, wenn die Option \"Attributkombinationen exportieren\" aktiviert ist."); + + builder.AddOrUpdate("Admin.Common.ProcessingInfo", + "{0}: {1} of {2} processed", + "{0}: {1} von {2} verarbeitet"); + + builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.ShowSubCategoriesInSubPages", + "Show subcategories also in subpages", + "Unterwarengruppen auch in Unterseiten anzeigen", + "Subpage: List index greater than 1 or any active filter.", + "Unterseite: Listenindex grer 1 oder mind. ein aktiver Filter."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.ShowDescriptionInSubPages", + "Show page description also in subpages", + "Seitenbeschreibungen auch in Unterseiten anzeigen", + "Subpage: List index greater than 1 or any active filter.", + "Unterseite: Listenindex grer 1 oder mind. ein aktiver Filter."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.IncludeFeaturedProductsInSubPages", + "Show featured products also in subpages", + "Top-Produkte auch in Unterseiten anzeigen", + "Subpage: List index greater than 1 or any active filter.", + "Unterseite: Listenindex grer 1 oder mind. ein aktiver Filter."); + + builder.AddOrUpdate("Admin.Common.CopyOf", "Copy of {0}", "Kopie von {0}"); + + builder.AddOrUpdate("Admin.Configuration.Languages.DefaultLanguage.Note", + "The default language of the shop is {0}. The default is always the first published language.", + "Die Standardsprache des Shops ist {0}. Standard ist stets die erste verffentlichte Sprache."); + + builder.AddOrUpdate("Admin.Configuration.Languages.AvailableLanguages.Note", + "Click Download to install a new language including all localized resources. On translate.smartstore.com you will find more details about available resources.", + "Klicken Sie auf Download, um eine neue Sprache mit allen lokalisierten Ressourcen zu installieren. Auf translate.smartstore.com finden Sie weitere Details zu verfgbaren Ressourcen."); + + builder.AddOrUpdate("Common.BrowseFiles", "Browse", "Durchsuchen"); + builder.AddOrUpdate("Common.Url", "URL", "URL"); + builder.AddOrUpdate("Common.File", "File", "Datei"); + builder.AddOrUpdate("Common.Entity.Product", "Product", "Produkt"); + builder.AddOrUpdate("Common.Entity.Category", "Category", "Warengruppe"); + builder.AddOrUpdate("Common.Entity.Manufacturer", "Manufacturer", "Hersteller"); + builder.AddOrUpdate("Common.Entity.Topic", "Topic", "Seite"); + + builder.AddOrUpdate("Common.Entity.SelectProduct", "Select product", "Produkt auswhlen"); + builder.AddOrUpdate("Common.Entity.SelectCategory", "Select category", "Warengruppe auswhlen"); + builder.AddOrUpdate("Common.Entity.SelectManufacturer", "Select manufacturer", "Hersteller auswhlen"); + builder.AddOrUpdate("Common.Entity.SelectTopic", "Select topic", "Seite auswhlen"); + + builder.Delete("Admin.Customers.Customers.List.SearchDeletedOnly"); + builder.AddOrUpdate("Admin.Customers.Customers.List.SearchActiveOnly", "Only activated customers", "Nur aktivierte Kunden"); + + builder.AddOrUpdate("Products.LoginForPrice", + "Prices will be displayed after login.", + "Preise werden nach Anmeldung angezeigt."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.ShowLoginForPriceNote", + "Show login for price note", + "Hinweis \"Preis nach Anmeldung\" anzeigen", + "Specifies whether to display a message stating that prices will not be displayed until login.", + "Legt fest, ob ein Hinweis erscheinen soll, dass Preise erst nach Anmeldung angezeigt werden."); + + builder.AddOrUpdate("Products.EmailAFriend.LoginNote", + "Please log in to use this function. Login now", + "Bitte melden Sie sich an, um diese Funktion nutzen zu knnen. Jetzt anmelden"); + + builder.AddOrUpdate("Account.Login.Fields.UsernameOrEmail", + "Username or email", + "Benutzername oder Email"); + + builder.AddOrUpdate("Admin.Configuration.Settings.CustomerUser.CustomerLoginType", + "Customer login type", + "Art des Kundenlogins", + "Specifies the customer login type.", + "Legt die Art des Kundenlogins fest."); + + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Customers.CustomerLoginType.Username", "Username", "Benutzername"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Customers.CustomerLoginType.Email", "Email", "Email"); + builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Customers.CustomerLoginType.UsernameOrEmail", "Username or email", "Benutzername oder Email"); + + builder.AddOrUpdate("Admin.ContentManagement.Topics.Fields.HtmlId", + "Html Id", + "Html-ID", + "Specifies the Html Id of the page.", + "Legt die Html-ID der Seite fest."); + + builder.AddOrUpdate("Admin.ContentManagement.Topics.Fields.BodyCssClass", + "Body CSS class", + "Body CSS-Klasse", + "Specifies the CSS class of the body element.", + "Legt die CSS-Klasse des Body-Elements fest."); + + builder.AddOrUpdate("Admin.ContentManagement.Topics.Validation.NoWhiteSpace", + "Whitespace isn't allowed.", + "Leerzeichen sind nicht erlaubt."); + + builder.AddOrUpdate("Admin.Configuration.Settings.Tax.VatRequired", + "Customers must enter a VAT number", + "Kunden mssen eine Steuernummer angeben", + "Specifies whether customers must enter a VAT identification number.", + "Legt fest, ob Kunden bei der Registrierung eine Steuernummer angeben mssen."); + + builder.AddOrUpdate("Common.Top", "Top", "Oben"); + builder.AddOrUpdate("Common.Bottom", "Bottom", "Unten"); + builder.AddOrUpdate("Common.Left", "Left", "Links"); + builder.AddOrUpdate("Common.Right", "Right", "Rechts"); + builder.AddOrUpdate("Common.TopLeft", "Top left", "Links oben"); + builder.AddOrUpdate("Common.TopRight", "Top right", "Rechts oben"); + builder.AddOrUpdate("Common.BottomLeft", "Bottom left", "Links unten"); + builder.AddOrUpdate("Common.BottomRight", "Bottom right", "Rechts unten"); + builder.AddOrUpdate("Common.Center", "Center", "Mitte"); + builder.AddOrUpdate("Common.NoTitle", "No title", "Ohne Titel"); + builder.AddOrUpdate("Common.MoveUp", "Move up", "Nach oben"); + builder.AddOrUpdate("Common.MoveDown", "Move down", "Nach unten"); + + builder.AddOrUpdate("Common.IncreaseValue", "Increase value", "Wert erhhen"); + builder.AddOrUpdate("Common.DecreaseValue", "Decrease value", "Wert verringern"); + builder.AddOrUpdate("Common.QueryString", "Query string", "Query String"); + + builder.AddOrUpdate("Admin.ContentManagement.Menus", "Menus", "Mens"); + builder.AddOrUpdate("Admin.ContentManagement.AddMenu", "Add menu", "Men hinzufgen"); + builder.AddOrUpdate("Admin.ContentManagement.EditMenu", "Edit menu", "Men bearbeiten"); + + builder.AddOrUpdate("Admin.ContentManagement.MenuLinks", "Menu items", "Men Links"); + builder.AddOrUpdate("Admin.ContentManagement.AddMenuItem", "Add menu item", "Men Link hinzufgen"); + builder.AddOrUpdate("Admin.ContentManagement.EditMenuItem", "Edit menu item", "Men Link bearbeiten"); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.NoMenuItemsAvailable", + "There are no menu links available.", + "Es sind keine Men Links vorhanden."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.CannotBeDeleted", + "This menu is required by your shop and can therefore not be deleted.", + "Dieses Men wird von Ihrem Shop bentigt und kann daher nicht gelscht werden."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.CatalogNote", + "The category tree is dynamically integrated into the menu.", + "Der Warengruppenbaum wird dynamisch in das Men eingebunden."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.SpecifyLinkTarget", + "Please specify link target", + "Bitte Link Ziel angeben"); + + builder.AddOrUpdate("Providers.MenuItems.FriendlyName.Entity", "Internal object or URL", "Internes Objekt oder URL"); + builder.AddOrUpdate("Providers.MenuItems.FriendlyName.Route", "Route", "Route"); + builder.AddOrUpdate("Providers.MenuItems.FriendlyName.Catalog", "Category tree", "Warengruppenbaum"); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.RouteName", "Route name", "Name der Route"); + builder.AddOrUpdate("Admin.ContentManagement.Menus.RouteValues", "Route values (JSON)", "Route Werte (JSON)"); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.SystemName", + "System name", + "Systemname", + "The system name of the menu.", + "Der Systemname des Mens."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Template", + "Design template", + "Design Vorlage", + "The template defines the way how the menu is displayed.", + "ber die Vorlage wird die Darstellungsart des Mens festgelegt."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.WidgetZone", + "Widget zone", + "Widget Zone", + "Specifies widget zones in which the menu should be displayed.", + "Legt Widget Zonen fest, in denen das Men dargestellt werden soll."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Title", + "Title", + "Titel", + "Specifies the title.", + "Legt den Titel fest."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Published", + "Published", + "Verffentlicht", + "Specifies whether the menu is visible in the shop.", + "Legt fest, ob das Men im Shop sichtbar ist."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.DisplayOrder", + "Display order", + "Reihenfolge", + "Specifies the display order of the widget zones.", + "Legt die Darstellungreihenfolge der Widget Zonen fest."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.ParentItem", + "Parent menu item", + "bergeordnetes Menelement", + "Specifies the parent menu item. Leave the field empty to create a first-level menu item.", + "Legt das bergeordnete Menelement fest. Lassen Sie das Feld leer, um ein Menelement erster Ebene zu erzeugen."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.LinkTarget", + "Target", + "Ziel", + "Specifies the link target.", + "Legt das Ziel des Links fest."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.ShortDescription", + "Short description", + "Kurzbeschreibung", + "Specifies a short description. Used as the 'title' attribute for the menu link.", + "Legt eine Kurzbeschreibung fest. Wird als 'title' Attribut fr das Menelement verwendet."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.PermissionNames", + "Required permissions", + "Erforderliche Rechte", + "Specifies access permissions that are required to display the menu item (at least 1 permission must be granted).", + "Legt Zugriffsrechte fest, die fr die Anzeige des Menelementes erforderlich sind (mind. 1 Recht muss gewhrt sein)."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.Published", + "Published", + "Verffentlicht", + "Specifies whether the menu item is visible in the shop.", + "Legt fest, ob das Menelement im Shop sichtbar ist."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.DisplayOrder", + "Display order", + "Reihenfolge", + "Specifies the order of the menu item within a menu level.", + "Legt die Reihenfolge des Menelements innerhalb einer Menebene fest."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.BeginGroup", + "Begin group", + "Gruppe beginnen", + "Inserts a separator before the link and optionally a heading (short description).", + "Fgt vor den Link ein Trennelement sowie optional eine berschrift ein (Kurzbeschreibung)."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.ShowExpanded", + "Show expanded", + "Geffnet anzeigen", + "If selected and this menu item has children, the menu will initially appear expanded.", + "Legt fest, ob das Men anfnglich geffnet ist, sofern es Kindelemente besitzt."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.NoFollow", + "nofollow", + "nofollow", + "Sets the HTML attribute rel='nofollow'.", + "Gibt das HTML-Attribut rel='nofollow' aus."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.NewWindow", + "Open in new browser tab", + "In neuem Browsertab ffnen"); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.Icon", + "Icon", + "Icon", + "Specifies an optional icon.", + "Legt ein optionales Icon fest."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.HtmlId", + "HTML ID", + "HTML ID", + "Sets the HTML ID attribute for the menu link.", + "Legt das HTML ID Attribut fr das Menelement fest."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.CssClass", + "CSS class", + "CSS Klasse", + "Sets a CSS class for the menu link.", + "Legt eine CSS Klasse fr das Menelement fest."); + + builder.Delete("Admin.Configuration.Settings.GeneralCommon.SocialSettings.GooglePlusLink"); + builder.Delete("Admin.Configuration.Settings.GeneralCommon.SocialSettings.GooglePlusLink.Hint"); + + builder.AddOrUpdate("Products.BasePriceInfo.LanguageInsensitive", + "{0} / {1} {2}", + "{0} / {1} {2}"); + + builder.AddOrUpdate("Common.Advanced", + "Advanced", + "Erweitert"); + + builder.AddOrUpdate("ShoppingCart.DiscountCouponCode.NoMoreDiscount", + "Further discounts are not possible.", + "Eine weitere Rabattierung ist nicht mglich."); + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.resx b/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.resx new file mode 100644 index 0000000000..47694659f0 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905101159134_V320Resources.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAOy923IcObIg+L5m+w8yPc2snZFK6m6zM21VO0ZSZIl2dGGTlDSnX2ihSJBEKzIiOy4S2WPzZfuwn7S/sEBccXHcEZFBVb5IzIDDATjcHQ6Hw/H//T//76//42GbPfuOygoX+W/PX7345fkzlKfFBud3vz1v6tv/9u/P/8f//X/+H7+ebrYPzz4PcH+icKRmXv32/L6ud399+bJK79E2qV5scVoWVXFbv0iL7ctkU7x8/csv//3lq1cvEUHxnOB69uzXyyav8Ra1P8jPkyJP0a5ukux9sUFZ1X8nJVct1mcfki2qdkmKfnt+tU3K+qouSvTiTVInz58dZTgh3bhC2e3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W6AYxvDwBJa6r3VNRu9qNsV3VLTW72nZq5LWres1AtlCRW3f+e2W8Jc4ON6jh5QqsZ965R6Rlyl2ZzD1wHuNc11SDDL1X1DOxoDaZByXXta0nSX9FPhX/Y01gsUnJHB4/xsvXe5wm4YMR08WemqTL6T0c9lmJ2yhr7aBOLLn60+fM5PH8jr2G/o/6/kn//ZcKCGU8mWWUtd9+/4W68nZR/QP5s7pV+5huUJyzX3//5a4kvXeo+usdyvG2A/E7gZmgNR2zA9q0uU4eaVGlPcoYATxGTZPmc+toKKJNVERnWYFp/njyeU3WEjlC/fwTCxGkN1zf0OY6uSmLfVkQktHuWyzc+/7+i3r8338Z4Px7nbDQBwkETUxIQDfJeYnjTYv3VRTnva1PBuKCcP8PRH6v5pIszQJtX1tIn9JEE1DNvndoj5INWXIPaLePCbD8JrmPfiAb3D7n6APaRuvXW1p6m0U8yoCMT4TI9t/f4WibRbu8htH1J38SGd7sXv7v/weeFMtdbN4JAA== + + + dbo + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.Designer.cs b/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.Designer.cs new file mode 100644 index 0000000000..a194593e7c --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.Designer.cs @@ -0,0 +1,29 @@ +// +namespace SmartStore.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] + public sealed partial class V321Resources : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(V321Resources)); + + string IMigrationMetadata.Id + { + get { return "201905271110370_V321Resources"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.cs b/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.cs new file mode 100644 index 0000000000..89ade79f68 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.cs @@ -0,0 +1,35 @@ +namespace SmartStore.Data.Migrations +{ + using System; + using System.Data.Entity.Migrations; + using SmartStore.Data.Setup; + + public partial class V321Resources : DbMigration, ILocaleResourcesProvider, IDataSeeder + { + public override void Up() + { + } + + public override void Down() + { + } + + public bool RollbackOnFailure + { + get { return false; } + } + + public void Seed(SmartObjectContext context) + { + context.MigrateLocaleResources(MigrateLocaleResources); + context.SaveChanges(); + } + + public void MigrateLocaleResources(LocaleResourcesBuilder builder) + { + builder.AddOrUpdate("Admin.Configuration.Languages.NoAvailableLanguagesFound", + "There were no other available languages found for version {0}. On translate.smartstore.com you will find more details about available resources.", + "Es wurden keine weiteren verfgbaren Sprachen fr Version {0} gefunden. Auf translate.smartstore.com finden Sie weitere Details zu verfgbaren Ressourcen."); + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.resx b/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.resx new file mode 100644 index 0000000000..eea8366a2c --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201905271110370_V321Resources.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAOy923IcObIg+L5m+w8yPc2snZFKqm6zPm1VO0ZRpEQ7urBJSjqnX2ihSJBEKzIiOy4S2WPzZfuwn7S/sEBccXHcEZFBVb5IzIDDATjcHQ6Hw/H//T//72//836bPfmOygoX+e9PXzz75ekTlKfFBue3vz9t6pv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C3uRJnmRRZge94i10a6QpqzNQ7oaVnoF9mtfsMcXpkUNHFF2JRVwKyEeq2rrge18QToNTnLN1UQZ1b6blSVcLV9dQRHK/w655ggxvNQB1Y/vm8duslrDboztntGp2dW2UyOv/UxvBrK5gs26sy/UeAa2RjeI4eUJKHFd7Z6K2tVujO2qbqnZ1bZTI69d1WsGsoWK3Lrz3yvjLXF2uEENL1dgPfPOPSItU+7KZO6B8xjnuqYaZOi9op6JBbXJPCi5rm09Sfor8qn4H2sCi01K5vD4MV6+3uM0CR+MmC721CRdTu/hsM9K3EZZawd1YsnVnz5nJo/nd+w19H/U90/6779UQCjjySyjrP32+y/UlbeL6h/In9Wt2sd0g+Kc/fr7L3cl6b1D1V/vUI63HYjfCcwEremYHdCmzXXySIsq7VHGCOAxapo0n1tHQxFtoiI6ywpM88eTz2uylsgR6uefWIggveH6hjbXyU1Z7MuCkIx232Lh3vf3X9Tj//7LAOff64SFPkggaGJCArpJzkscb1q8r6I47219MhAXhPt/IPJ7NZdkaRZo+9pC+pQmmoBq9r1De5RsyJJ7QLt9TIDlN8l99APZ4PY5Rx/QNlq/3tLS2yziUQZkfCJEtv/+DkfbLNrlNYyuP/mTyPBm9/J//z+HrYpZbN4JAA== + + + dbo + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.Designer.cs b/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.Designer.cs new file mode 100644 index 0000000000..186f72e27d --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.Designer.cs @@ -0,0 +1,29 @@ +// +namespace SmartStore.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] + public sealed partial class QuantityUnitNamePlural : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(QuantityUnitNamePlural)); + + string IMigrationMetadata.Id + { + get { return "201906252008551_QuantityUnitNamePlural"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.cs b/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.cs new file mode 100644 index 0000000000..313530a024 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.cs @@ -0,0 +1,170 @@ +namespace SmartStore.Data.Migrations +{ + using System.Collections.Generic; + using System.Data.Entity.Migrations; + using System.Linq; + using SmartStore.Core.Data; + using SmartStore.Core.Domain.Directory; + using SmartStore.Core.Domain.Localization; + using SmartStore.Data.Setup; + + public partial class QuantityUnitNamePlural : DbMigration, IDataSeeder + { + public override void Up() + { + AddColumn("dbo.QuantityUnit", "NamePlural", c => c.String(nullable: false, maxLength: 50, defaultValue: "" )); + } + + public override void Down() + { + DropColumn("dbo.QuantityUnit", "NamePlural"); + } + + public bool RollbackOnFailure => true; + + public void Seed(SmartObjectContext context) + { + context.MigrateLocaleResources(MigrateLocaleResources); + context.SaveChanges(); + + if (!DataSettings.DatabaseIsInstalled()) + { + return; + } + + var quPluralDe = new Dictionary + { + { "Stck", "Stck" }, + { "Schachtel", "Schachteln" }, + { "Paket", "Pakete" }, + { "Palette", "Paletten" }, + { "Kiste", "Kisten" }, + { "Einheit", "Einheiten" }, + { "Sack", "Scke" }, + { "Tte", "Tten" }, + { "Dose", "Dosen" }, + { "Stange", "Stangen" }, + { "Flasche", "Flaschen" }, + { "Glas", "Glser" }, + { "Bund", "Bnde" }, + { "Rolle", "Rollen" }, + { "Fass", "Fsser" }, + { "Set", "Sets" } + }; + + var quPluralEn = new Dictionary + { + { "Piece", "Pieces" }, + { "Box", "Boxes" }, + { "Parcel", "Parcels" }, + { "Palette", "Pallets" }, + { "Unit", "Units" }, + { "Sack", "Sacks" }, + { "Bag", "Bags" }, + { "Can", "Cans" }, + { "Tin", "Tins" }, + { "Packet", "Packets" }, + { "Package", "Packages" }, + { "Bar", "Bars" }, + { "Bottle", "Bottles" }, + { "Glass", "Glasses" }, + { "Bunch", "Bunches" }, + { "Roll", "Rolls" }, + { "Cup", "Cups" }, + { "Bundle", "Bundles" }, + { "Barrel", "Barrels" }, + { "Set", "Sets" }, + { "Bucket", "Buckets" } + }; + + using (var scope = new DbContextScope(ctx: context, validateOnSave: false, hooksEnabled: false, autoCommit: false)) + { + var languages = context.Set().ToDictionary(x => x.Id, x => x); + var defaultLang = languages.Values.OrderBy(x => x.DisplayOrder).First(); + + // Quantity units. + var quantityUnits = context.Set().ToList(); + if (quantityUnits.Any()) + { + foreach (var quantityUnit in quantityUnits) + { + var name = quantityUnit.Name.EmptyNull(); + string namePlural = null; + + if (defaultLang.UniqueSeoCode.IsCaseInsensitiveEqual("de")) + { + quPluralDe.TryGetValue(name, out namePlural); + } + else if (defaultLang.UniqueSeoCode.IsCaseInsensitiveEqual("en")) + { + quPluralEn.TryGetValue(name, out namePlural); + } + + quantityUnit.NamePlural = namePlural.NullEmpty() ?? name; + } + + scope.Commit(); + } + + // Localized properties. + var lpSet = context.Set(); + var pluralCount = lpSet + .Where(x => x.LocaleKeyGroup == "QuantityUnit" && x.LocaleKey == "NamePlural") + .Count(); + + if (pluralCount == 0) + { + var localizedProperties = lpSet + .Where(x => x.LocaleKeyGroup == "QuantityUnit" && x.LocaleKey == "Name") + .ToList(); + + if (localizedProperties.Any()) + { + foreach (var lp in localizedProperties) + { + if (languages.TryGetValue(lp.LanguageId, out var language)) + { + var name = lp.LocaleValue.EmptyNull(); + string namePlural = null; + + if (language.UniqueSeoCode.IsCaseInsensitiveEqual("de")) + { + quPluralDe.TryGetValue(name, out namePlural); + } + else if (language.UniqueSeoCode.IsCaseInsensitiveEqual("en")) + { + quPluralEn.TryGetValue(name, out namePlural); + } + + if (namePlural.HasValue()) + { + lpSet.Add(new LocalizedProperty + { + EntityId = lp.EntityId, + LanguageId = lp.LanguageId, + LocaleKeyGroup = lp.LocaleKeyGroup, + LocaleKey = "NamePlural", + LocaleValue = namePlural + }); + } + } + } + + scope.Commit(); + } + } + } + } + + public void MigrateLocaleResources(LocaleResourcesBuilder builder) + { + builder.AddOrUpdate("Common.Plural", "Plural", "Mehrzahl"); + + builder.AddOrUpdate("Admin.Configuration.QuantityUnit.Fields.NamePlural", + "Name plural", + "Name Mehrzahl", + "Sets the name in plural. Example: \"Barrels\" for the unit \"Barrel\".", + "Legt den Namen in Mehrzahl fest. Beispiel: \"Fsser\" fr die Verpackungseinheit \"Fass\"."); + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.resx b/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.resx new file mode 100644 index 0000000000..887e09fc9d --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201906252008551_QuantityUnitNamePlural.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAOy923IcObIg+L5m+w8yPc2snZFK6m6zM21VO0ZSZIl2dGGTlDSnX2ihSJBEKzIiOy4S2WPzZfuwn7S/sEBccXHcEZFBVb5IzIDDATjcHQ6Hw/H//T//76//42GbPfuOygoX+W/PX7345fkzlKfFBud3vz1v6tv/9u/P/8f//X/+H7+ebrYPzz4PcH+icKRmXv32/L6ud399+bJK79E2qV5scVoWVXFbv0iL7ctkU7x8/csv//3lq1cvEUHxnOB69uzXyyav8Ra1P8jPkyJP0a5ukux9sUFZ1X8nJVct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EmeZFFmB73iLXRrpCmrM1DuhpWegX2a1+wxxemRQ0cUXYlFXArIR6rauuB7XxBOg1Ocs3VRBnVvpuVJVwtX11BEcr/DrnmCDG81AHVj++bx26yWsNujO2e0anZ1bZTI6/9TG8GsrmCzbqzL9R4BrZGN4jh5QkocV3tnora1W6M7apuqdnVtlMjr13VawayhYrcuvPfK+MtcXa4QQ0vV2A98849Ii1T7spk7oHzGOe6phpk6L2inokFtck8KLmubT1J+ivyqfgfawKLTUrm8PgxXr7e4zQJH4yYLvbUJF1O7+Gwz0rcRllrB3ViydWfPmcmj+d37DX0f9T3T/rvv1RAKOPJLKOs/fb7L9SVt4vqH8if1a3ax3SD4pz9+vsvdyXpvUPVX+9QjrcdiN8JzASt6Zgd0KbNdfJIiyrtUcYI4DFqmjSfW0dDEW2iIjrLCkzzx5PPa7KWyBHq559YiCC94fqGNtfJTVnsy4KQjHbfYuHe9/df1OP//ssA59/rhIU+SCBoYkICuknOSxxvWryvojjvbX0yEBeE+38g8ns1l2RpFmj72kL6lCaagGr2vUN7lGzIkntAu31MgOU3yX30A9ng9jlHH9A2Wr/e0tLbLOJRBmR8IkS2//4OR9ss2uU1jK4/+ZPI8Gb38n//P9IhaKeP3wkA + + + dbo + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.Designer.cs b/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.Designer.cs new file mode 100644 index 0000000000..784b2cb7ce --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.Designer.cs @@ -0,0 +1,29 @@ +// +namespace SmartStore.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] + public sealed partial class CategoryExternalLink : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(CategoryExternalLink)); + + string IMigrationMetadata.Id + { + get { return "201907032251575_CategoryExternalLink"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.cs b/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.cs new file mode 100644 index 0000000000..708ca38b83 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.cs @@ -0,0 +1,18 @@ +namespace SmartStore.Data.Migrations +{ + using System; + using System.Data.Entity.Migrations; + + public partial class CategoryExternalLink : DbMigration + { + public override void Up() + { + AddColumn("dbo.Category", "ExternalLink", c => c.String(maxLength: 255)); + } + + public override void Down() + { + DropColumn("dbo.Category", "ExternalLink"); + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.resx b/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.resx new file mode 100644 index 0000000000..3a1de6db32 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201907032251575_CategoryExternalLink.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAOy923IcObIg+L5m+w8yPc2snZFK6m6zM21VO0ZSZIl2dGGTlDSnX2ihSJBEKzIiOy4S2WPzZfuwn7S/sEBccXHcEZFBVb5IzIDDATjcHQ6Hw/H//T//76//42GbPfuOygoX+W/PX7345fkzlKfFBud3vz1v6tv/9u/P/8f//X/+H7+ebrYPzz4PcH+icKRmXv32/L6ud399+bJK79E2qV5scVoWVXFbv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tnDCoQi+jR1V5V8YaGUOCSY0whq7Q8J28krUQiRlU3x2PDYdbh7A7peWD79sYW2VNUZv3LnyV39VVlu5U/FA1D8EQuKBx7V1S1id2ZsVDasAIrvGhs0EoTTxquShah7RZwBLMDIS6srJNjK0JOxStQ7IDrJ1cbVTKksi27OjKOq9a0DJmAG29EwLAGJaw5sAoylJbVKOACz4r95XRPiG0yEjBawZIt3q1PzYp7iHGuvi/jpiXRWLB4xX9E8zoDjRTmff9ks+1cS8r5jzoPSzk3EJQlGe2K8/GV2xdUS/sRZrkRRZhetwj1ka7QpqyNg/paljpFdivfcEeX5gWNXBE2ZVUwK2EeKyqrQe28wXpNDjJNVcTZVT7blaWcLV8dQVFKP875JojxPBSB1Q/vm8eu8lqDbsxtntGp2ZX206NvPYzvRnI5go2686+UOMZ2BrdIIaXJ6DEdbV7KmpXuzG2q7qlZlfbTo28dlWvGcgWKnLrzn+vjLfE2eEGNbxcgfXMO/eItEy5K5O5B85jnOuaapCh94p6JhbUJvOg5Lq29STpr8in4n+sCSw2KZnD48d4+XqP0yR8MGK62FOTdDm9h8M+K3EbZa0d1IklV3/6nJk8nt+x19D/Ud8/6b//UgGhjCezjLL22++/UFfeLqp/IH9Wt2of0w2Kc/br77/claT3DlV/vUM53nYgficwE7SmY3ZAmzbXySMtqrRHGSOAx6hp0nxuHQ1FtImK6CwrMM0fTz6vyVoiR6iff2IhgvSG6xvaXCc3ZbEvC0Iy2n2LhXvf339Rj//7LwOcf68TFvoggaCJCQnoJjkvcbxp8b6K4ry39clAXBDu/4HI79VckqVZoO1rC+lTmmgCqtn3Du1RsiFL7gHt9jEBlt8k99EPZIPb5xx9QNto/XpLS2+ziEcZkPGJENn++zscbbNol9cwuv7kTyLDm93L//3/O70zhKrgCQA= + + + dbo + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.Designer.cs b/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.Designer.cs new file mode 100644 index 0000000000..be8c91d1d2 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.Designer.cs @@ -0,0 +1,29 @@ +// +namespace SmartStore.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] + public sealed partial class V322Resources : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(V322Resources)); + + string IMigrationMetadata.Id + { + get { return "201908150749388_V322Resources"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.cs b/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.cs new file mode 100644 index 0000000000..12a38b031e --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.cs @@ -0,0 +1,69 @@ +namespace SmartStore.Data.Migrations +{ + using System; + using System.Data.Entity.Migrations; + using SmartStore.Data.Setup; + + public partial class V322Resources : DbMigration, ILocaleResourcesProvider, IDataSeeder + { + public override void Up() + { + } + + public override void Down() + { + } + + public bool RollbackOnFailure + { + get { return false; } + } + + public void Seed(SmartObjectContext context) + { + context.MigrateLocaleResources(MigrateLocaleResources); + context.SaveChanges(); + } + + public void MigrateLocaleResources(LocaleResourcesBuilder builder) + { + builder.AddOrUpdate("Admin.Configuration.Languages.NoAvailableLanguagesFound", + "There were no other available languages found for version {0}. On translate.smartstore.com you will find more details about available resources.", + "Es wurden keine weiteren verfgbaren Sprachen fr Version {0} gefunden. Auf translate.smartstore.com finden Sie weitere Details zu verfgbaren Ressourcen."); + + builder.AddOrUpdate("Checkout.OrderCompletes", + "Your order will be completed.", + "Ihre Bestellung wird abgeschlossen."); + + builder.AddOrUpdate("Admin.Catalog.Attributes.CheckoutAttributes.Fields.TextPrompt", + "Text prompt", + "Text Eingabeaufforderung", + "Specifies the prompt text.", + "Legt den Text zur Eingabeaufforderung fest."); + + builder.AddOrUpdate("Admin.Catalog.Products.ProductVariantAttributes.Attributes.Fields.TextPrompt", + "Text prompt", + "Text Eingabeaufforderung"); + + builder.AddOrUpdate("Admin.Catalog.Categories.Fields.ExternalLink", + "External link", + "Externer Link", + "Alternative external link for this category in the main menu and in category listings. For example, to a landing page that contains a back link to the category.", + "Abweichender, externer Verweis fr diese Warengruppe im Hauptmen und in Warengruppen-Listings. Z.B. auf eine Landingpage, die einen Rckverweis auf die Warengruppe enthlt."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Title", + "Title", + "Titel", + "Specifies the title. Please keep in mind that this title is not displayed in all design templates.", + "Legt den Titel fest. Bitte beachten Sie, dass dieser Titel nicht bei allen Design-Vorlagen ausgegeben wird."); + + builder.AddOrUpdate("Admin.ContentManagement.Menus.Item.InvalidRouteValues", + "Please check the link data. No link can be created on the basis of your input.", + "Bitte berprfen Sie die Link-Daten. Auf Basis Ihrer Eingabe kann kein Link erzeugt werden."); + + builder.AddOrUpdate("Admin.Packaging.IsIncompatible", + "The package is not compatible the current app version {0}. Please update Smartstore.NET or install another version of this package.", + "Das Paket ist nicht kompatibel mit der aktuellen Programmversion {0}. Bitte aktualisieren Sie Smartstore.NET oder nutzen Sie eine andere, kompatible Paket-Version."); + } + } +} diff --git a/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.resx b/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.resx new file mode 100644 index 0000000000..a3562fc0f2 --- /dev/null +++ b/src/Libraries/SmartStore.Data/Migrations/201908150749388_V322Resources.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAOy9224dO7Ig+D7A/IPhp+7BaXvbVQWcLuw9DUmWtoXji0qS7T71IqRzURLLuTJX5cWWqtFfNg/zSfMLQ+aVl+CdmSvlvbCBba1kMEgGI4LBYDD4//0//++v/+Nhmz37jsoKF/lvz1+9+OX5M5SnxQbnd789b+rb//bvz//H//1//h+/nm62D88+D3B/onCkZl799vy+rnd/ffmySu/RNqlebHFaFlVxW79Ii+3LZFO8fP3LL//95atXLxFB8Zzgevbs18smr/EWtT/Iz5MiT9GubpLsfbFBWdV/JyVXLdZnH5ItqnZJin57frVNyvqqLkr04k1SJ8+fHWU4Id24Qtnt82dJnhd1UpNO/vVTha7qssjvrnbkQ5JdP+4QgbtNsgr1nf/rBG47jl9e03G8nCoOqNKmqoutI8JXf+oJ81Ks7kXe5yPhCOlOCYnrRzrqlny/Pb8udjh9/kxs6a8nWUmhONKetPQlYDh/0darun/+7ZkA9G8jU/zpxWvy3y//9uykyeqmRL/lqKnLJPu3ZxfN1wyn/4Eer4tvKP8tb7KM7SnpKynjPpBPF2WxQ2X9eIlu+/6fb54/e8nXeylWHKsxdbrBnef1n14/f/aBNJ58zdDICAwh2lH9jnJUJjXaXCR1jcqc4kAtKaXWhbauHqsabenfQ5uE/4gcPX/2Pnl4h/K7+v635+TP58/O8APaDF/6fnzKMRE7UqkuG2Rq6rzqGuuntGvtuCgylOTAGPXI3tbbbKLTbH0+LjaPJ1V1kiVVNT+B8jRrNug8v8KETMkulEbn1QXp9o+i3JCCGqWEP0JRDghnp8U1rrP5WfLqvihrU1N/+SXK3BK1rmnk9V/+EoldZyfae1QnRIVRNphfJmhjb1CVlnjXrTALtLcM773DWyLmm+ui1eBVqGReonyDyqPqC97coToUW4fl70U+Px26pr6UyY5YVDVZtaS+29QnkvyDm7ewkR8T5kZlBH1Z4qJsl2H9gm6hDK+Tu/n1YfP1H2SduC6O0izC6kNNqOrelYq/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CMT4TI9t/f4WibRbu8htH1J38SGd7sXv7v/wfQSE0CquAJAA== + + + dbo + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Data/Migrations/MigrationsConfiguration.cs b/src/Libraries/SmartStore.Data/Migrations/MigrationsConfiguration.cs index c24d77ffd2..18a610b862 100644 --- a/src/Libraries/SmartStore.Data/Migrations/MigrationsConfiguration.cs +++ b/src/Libraries/SmartStore.Data/Migrations/MigrationsConfiguration.cs @@ -30,617 +30,27 @@ public MigrationsConfiguration() public void SeedDatabase(SmartObjectContext context) { - Seed(context); + using (var scope = new DbContextScope(context, hooksEnabled: false)) + { + Seed(context); + scope.Commit(); + } } protected override void Seed(SmartObjectContext context) { context.MigrateLocaleResources(MigrateLocaleResources); MigrateSettings(context); - - context.SaveChanges(); } public void MigrateSettings(SmartObjectContext context) { - context.MigrateSettings(x => - { - x.Add(TypeHelper.NameOf(y => y.CacheSegmentSize, true), 500); - x.Add(TypeHelper.NameOf(y => y.AlwaysPrefetchTranslations, true), false); - x.Add(TypeHelper.NameOf(y => y.AlwaysPrefetchUrlSlugs, true), false); - // New CatalogSettings properties - x.Add(TypeHelper.NameOf(y => y.ShowSubCategoriesInSubPages, true), false); - x.Add(TypeHelper.NameOf(y => y.ShowDescriptionInSubPages, true), false); - x.Add(TypeHelper.NameOf(y => y.IncludeFeaturedProductsInSubPages, true), false); - }); } public void MigrateLocaleResources(LocaleResourcesBuilder builder) { - builder.AddOrUpdate("Admin.ReturnRequests.MaxRefundAmount", - "Maximum refund amount", - "Maximaler Erstattungsbetrag", - "The maximum amount that can be refunded for this return request.", - "Der maximale Betrag, der für diesen Rücksendewunsch erstattet werden kann."); - - builder.AddOrUpdate("Admin.Customers.Customers.Fields.Title", - "Title", - "Titel", - "Specifies the title.", - "Legt den Titel fest."); - - builder.AddOrUpdate("Admin.DataExchange.Export.FolderName.Validate", - "Please enter a valid, relative folder path for the export data. The path must be at least 3 characters long and not the application folder.", - "Bitte einen gültigen, relativen Ordnerpfad für die zu exportierenden Daten eingeben. Der Pfad muss mindestens 3 Zeichen lang und nicht der Anwendungsordner sein."); - - builder.AddOrUpdate("Admin.Catalog.Customers.CustomerSearchType", "Search in:", "Suche in:"); - - // Fix some FluentValidation german translations - builder.AddOrUpdate("Validation.LengthValidator") - .Value("de", "'{PropertyName}' muss zwischen {MinLength} und {MaxLength} Zeichen lang sein. Sie haben {TotalLength} Zeichen eingegeben."); - builder.AddOrUpdate("Validation.MinimumLengthValidator") - .Value("de", "'{PropertyName}' muss mind. {MinLength} Zeichen lang sein. Sie haben {TotalLength} Zeichen eingegeben."); - builder.AddOrUpdate("Validation.MaximumLengthValidator") - .Value("de", "'{PropertyName}' darf max. {MaxLength} Zeichen lang sein. Sie haben {TotalLength} Zeichen eingegeben."); - builder.AddOrUpdate("Validation.ExactLengthValidator") - .Value("de", "'{PropertyName}' muss genau {MaxLength} lang sein. Sie haben {TotalLength} Zeichen eingegeben."); - builder.AddOrUpdate("Validation.ExclusiveBetweenValidator") - .Value("de", "'{PropertyName}' muss größer als {From} und kleiner als {To} sein. Sie haben '{Value}' eingegeben."); - builder.AddOrUpdate("Validation.InclusiveBetweenValidator") - .Value("de", "'{PropertyName}' muss zwischen {From} and {To} liegen. Sie haben '{Value}' eingegeben."); - builder.AddOrUpdate("Validation.NotNullValidator") - .Value("de", "'{PropertyName}' ist erforderlich."); - builder.AddOrUpdate("Validation.NotEmptyValidator") - .Value("de", "'{PropertyName}' ist erforderlich."); - builder.AddOrUpdate("Validation.LessThanValidator") - .Value("de", "'{PropertyName}' muss kleiner sein als '{ComparisonValue}'."); - builder.AddOrUpdate("Validation.RegularExpressionValidator") - .Value("de", "'{PropertyName}' entspricht nicht dem erforderlichen Muster."); - builder.AddOrUpdate("Validation.ScalePrecisionValidator") - .Value("de", "'{PropertyName}' darf insgesamt nicht mehr als {expectedPrecision} Ziffern enthalten, unter Berücksichtigung von {expectedScale} Dezimalstellen. {digits} Ziffern und {actualScale} Dezimalstellen wurden gefunden."); - - // Some new resources for custom validators - builder.AddOrUpdate("Validation.CreditCardCvvNumberValidator", - "'{PropertyName}' is invalid.", - "'{PropertyName}' ist ungültig."); - - // Get rid of duplicate validator resource entries - builder.Delete( - "Admin.Catalog.Products.Fields.Name.Required", - "Admin.Catalog.Categories.Fields.Name.Required", - "Admin.Catalog.Manufacturers.Fields.Name.Required", - "Admin.Validation.RequiredField", - "Admin.Catalog.Attributes.ProductAttributes.Fields.Name.Required", - "Admin.Catalog.ProductReviews.Fields.Title.Required", - "Admin.Catalog.ProductReviews.Fields.ReviewText.Required", - "Admin.Catalog.ProductTags.Fields.Name.Required", - "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Values.Fields.Name.Required", - "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Values.Fields.Quantity.GreaterOrEqualToOne", - "Admin.Catalog.Attributes.SpecificationAttributes.Options.Fields.Name.Required", - "Admin.Catalog.Attributes.SpecificationAttributes.Fields.Name.Required", - "Admin.ContentManagement.Blog.BlogPosts.Fields.Title.Required", - "Admin.ContentManagement.Blog.BlogPosts.Fields.Body.Required", - "Admin.Common.GenericAttributes.Fields.Name.Required", - "Admin.Customers.CustomerRoles.Fields.Name.Required", - "Admin.Configuration.Countries.Fields.Name.Required", - "Admin.Configuration.Countries.Fields.TwoLetterIsoCode.Required", - "Admin.Configuration.Countries.Fields.TwoLetterIsoCode.Length", - "Admin.Configuration.Countries.Fields.ThreeLetterIsoCode.Required", - "Admin.Configuration.Countries.Fields.ThreeLetterIsoCode.Length", - "Admin.Configuration.Measures.Dimensions.Fields.Name.Required", - "Admin.Configuration.Measures.Dimensions.Fields.SystemKeyword.Required", - "Admin.Configuration.Measures.Weights.Fields.Name.Required", - "Admin.Configuration.Measures.Weights.Fields.SystemKeyword.Required", - "Admin.Configuration.Countries.States.Fields.Name.Required", - "Admin.Configuration.DeliveryTimes.Fields.Name.Required", - "Admin.Configuration.DeliveryTimes.Fields.ColorHexValue.Required", - "Admin.Configuration.DeliveryTimes.Fields.ColorHexValue.Range", - "Admin.Configuration.DeliveryTimes.Fields.Name.Range", - "Admin.Configuration.Currencies.Fields.Name.Required", - "Admin.Configuration.Currencies.Fields.Name.Range", - "Admin.Configuration.Currencies.Fields.CurrencyCode.Required", - "Admin.Configuration.Currencies.Fields.CurrencyCode.Range", - "Admin.Configuration.Currencies.Fields.Rate.Range", - "Admin.Configuration.Currencies.Fields.CustomFormatting.Validation", - "Admin.Promotions.Discounts.Fields.Name.Required", - "Admin.ContentManagement.Forums.ForumGroup.Fields.Name.Required", - "Admin.ContentManagement.Forums.Forum.Fields.Name.Required", - "Admin.ContentManagement.Forums.Forum.Fields.ForumGroupId.Required", - "Admin.Configuration.Languages.Resources.Fields.Name.Required", - "Admin.Configuration.Languages.Resources.Fields.Value.Required", - "Admin.Configuration.Languages.Fields.Name.Required", - "Admin.Configuration.Languages.Fields.UniqueSeoCode.Required", - "Admin.Configuration.Languages.Fields.UniqueSeoCode.Length", - "Admin.Promotions.Campaigns.Fields.Name.Required", - "Admin.Promotions.Campaigns.Fields.Subject.Required", - "Admin.Promotions.Campaigns.Fields.Body.Required", - "Admin.ContentManagement.MessageTemplates.Fields.Subject.Required", - "Admin.ContentManagement.MessageTemplates.Fields.Body.Required", - "Admin.Promotions.NewsLetterSubscriptions.Fields.Email.Required", - "Admin.System.QueuedEmails.Fields.Priority.Required", - "Admin.System.QueuedEmails.Fields.From.Required", - "Admin.System.QueuedEmails.Fields.To.Required", - "Admin.System.QueuedEmails.Fields.SentTries.Required", - "Admin.System.QueuedEmails.Fields.Priority.Range", - "Admin.System.QueuedEmails.Fields.SentTries.Range", - "Admin.ContentManagement.News.NewsItems.Fields.Title.Required", - "Admin.ContentManagement.News.NewsItems.Fields.Short.Required", - "Admin.ContentManagement.News.NewsItems.Fields.Full.Required", - "Admin.Catalog.Attributes.CheckoutAttributes.Fields.Name.Required", - "Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.Name.Required", - "Admin.Configuration.Plugins.Fields.FriendlyName.Required", - "Admin.ContentManagement.Polls.Answers.Fields.Name.Required", - "Admin.ContentManagement.Polls.Fields.Name.Required", - "Admin.Configuration.Shipping.Methods.Fields.Name.Required", - "Admin.Configuration.Stores.Fields.Name.Required", - "Admin.Configuration.Stores.Fields.Url.Required", - "Admin.Configuration.Settings.AllSettings.Fields.Name.Required", - "Admin.System.ScheduleTasks.Name.Required", - "Admin.Configuration.Tax.Categories.Fields.Name.Required", - "Admin.ContentManagement.Topics.Fields.SystemName.Required", - "Admin.Address.Fields.FirstName.Required", - "Admin.Address.Fields.LastName.Required", - "Admin.Address.Fields.Email.Required", - "Admin.Address.Fields.Company.Required", - "Admin.Address.Fields.City.Required", - "Admin.Address.Fields.Address1.Required", - "Admin.Address.Fields.Address2.Required", - "Admin.Address.Fields.ZipPostalCode.Required", - "Admin.Address.Fields.PhoneNumber.Required", - "Admin.Address.Fields.FaxNumber.Required", - "Admin.Address.Fields.EmailMatch.Required", - "Admin.Customers.Customers.Fields.FirstName.Required", - "Admin.Customers.Customers.Fields.LastName.Required", - "Admin.Customers.Customers.Fields.Company.Required", - "Admin.Customers.Customers.Fields.StreetAddress.Required", - "Admin.Customers.Customers.Fields.StreetAddress2.Required", - "Admin.Customers.Customers.Fields.ZipPostalCode.Required", - "Admin.Customers.Customers.Fields.City.Required", - "Admin.Customers.Customers.Fields.Phone.Required", - "Admin.Customers.Customers.Fields.Fax.Required", - "Admin.Validation.Name", - "Admin.Validation.EmailAddress", - "Admin.Validation.Url", - "Admin.Validation.UsernamePassword", - "Admin.DataExchange.Export.FileNamePattern.Validate", - "Admin.DataExchange.Export.Partition.Validate", - "Admin.Common.WrongEmail", - "Payment.CardCode.Wrong" - ); - - // Get rid of duplicate CreatedOn resources also - builder.Delete( - "Admin.Affiliates.Orders.CreatedOn", - "Admin.ContentManagement.Blog.Comments.Fields.CreatedOn", - "Admin.ContentManagement.Blog.BlogPosts.Fields.CreatedOn", - "Admin.ContentManagement.Blog.BlogPosts.Fields.CreatedOn", - "Admin.Catalog.ProductReviews.Fields.CreatedOn", - "Admin.Customers.Customers.Fields.CreatedOn", - "Admin.Customers.Customers.Orders.CreatedOn", - "Admin.Customers.Customers.ActivityLog.CreatedOn", - "Admin.Orders.Fields.CreatedOn", - "Admin.Customers.Customers.Fields.CreatedOn", - "Admin.Promotions.NewsLetterSubscriptions.Fields.CreatedOn", - "Admin.Configuration.Currencies.Fields.CreatedOn", - "Admin.Promotions.Discounts.History.CreatedOn", - "Admin.ContentManagement.Forums.ForumGroup.Fields.CreatedOn", - "Admin.ContentManagement.Forums.Forum.Fields.CreatedOn", - "Admin.Configuration.ActivityLog.ActivityLog.Fields.CreatedOn", - "Admin.System.Log.Fields.CreatedOn", - "Admin.Promotions.Campaigns.Fields.CreatedOn", - "Admin.Promotions.NewsLetterSubscriptions.Fields.CreatedOn", - "Admin.System.QueuedEmails.Fields.CreatedOn", - "Admin.ContentManagement.News.Comments.Fields.CreatedOn", - "Admin.ContentManagement.News.NewsItems.Fields.CreatedOn", - "Admin.GiftCards.Fields.CreatedOn", - "Admin.GiftCards.History.CreatedOn", - "Admin.Orders.Fields.CreatedOn", - "Admin.Orders.OrderNotes.Fields.CreatedOn", - "Admin.RecurringPayments.History.CreatedOn", - "Admin.ReturnRequests.Fields.CreatedOn" - ); - - // duplicate validator resource entries in frontend - builder.Delete( - "Blog.Comments.CommentText.Required", - "Forum.TextCannotBeEmpty", - "Forum.TopicSubjectCannotBeEmpty", - "Forum.TextCannotBeEmpty", - "Account.Fields.Email.Required", - "Products.AskQuestion.Question.Required", - "Account.Fields.FullName.Required", - "Products.EmailAFriend.FriendEmail.Required", - "Products.EmailAFriend.YourEmailAddress.Required", - "Reviews.Fields.Title.Required", - "Reviews.Fields.Title.MaxLengthValidation", - "Reviews.Fields.ReviewText.Required", - "Address.Fields.FirstName.Required", - "Address.Fields.LastName.Required", - "Address.Fields.Email.Required", - "Account.Fields.Company.Required", - "Account.Fields.StreetAddress.Required", - "Account.Fields.StreetAddress2.Required", - "Account.Fields.ZipPostalCode.Required", - "Account.Fields.City.Required", - "Account.Fields.Phone.Required", - "Account.Fields.Fax.Required", - "Admin.Address.Fields.EmailMatch.Required", - "ContactUs.Email.Required", - "ContactUs.Enquiry.Required", - "ContactUs.FullName.Required", - "Account.ChangePassword.Fields.OldPassword.Required", - "Account.ChangePassword.Fields.NewPassword.Required", - "Account.ChangePassword.Fields.NewPassword.LengthValidation", - "Account.ChangePassword.Fields.ConfirmNewPassword.Required", - "Account.ChangePassword.Fields.NewPassword.LengthValidation", - "Account.Fields.Email.Required", - "Account.Fields.FirstName.Required", - "Account.Fields.LastName.Required", - "Account.Fields.Company.Required", - "Account.Fields.StreetAddress.Required", - "Account.Fields.StreetAddress2.Required", - "Account.Fields.ZipPostalCode.Required", - "Account.Fields.City.Required", - "Account.Fields.Phone.Required", - "Account.Fields.Fax.Required", - "Account.Fields.Password.Required", - "Account.Fields.Vat.Required", - "Account.PasswordRecovery.NewPassword.Required", - "Account.PasswordRecovery.NewPassword.LengthValidation", - "Account.PasswordRecovery.ConfirmNewPassword.Required", - "Account.PasswordRecovery.Email.Required", - "News.Comments.CommentTitle.Required", - "News.Comments.CommentTitle.MaxLengthValidation", - "News.Comments.CommentText.Required", - "PrivateMessages.SubjectCannotBeEmpty", - "PrivateMessages.MessageCannotBeEmpty", - "Wishlist.EmailAFriend.FriendEmail.Required", - "Wishlist.EmailAFriend.YourEmailAddress.Required" - ); - - // remove duplicate resources for display order - builder.Delete( - "Admin.Catalog.Categories.Fields.DisplayOrder", - "Admin.Catalog.Categories.Products.Fields.DisplayOrder", - "Admin.Catalog.Manufacturers.Fields.DisplayOrder", - "Admin.Catalog.Manufacturers.Products.Fields.DisplayOrder", - "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Values.Fields.DisplayOrder", - "Admin.Catalog.Products.BundleItems.Fields.DisplayOrder", - "Admin.Catalog.Products.Fields.HomePageDisplayOrder", - "Admin.Catalog.Products.SpecificationAttributes.Fields.DisplayOrder", - "Admin.Catalog.Products.Pictures.Fields.DisplayOrder", - "Admin.Catalog.Products.Categories.Fields.DisplayOrder", - "Admin.Catalog.Products.Manufacturers.Fields.DisplayOrder", - "Admin.Catalog.Products.RelatedProducts.Fields.DisplayOrder", - "Admin.Catalog.Products.AssociatedProducts.Fields.DisplayOrder", - "Admin.Catalog.Products.BundleItems.Fields.DisplayOrder", - "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Fields.DisplayOrder", - "Admin.Catalog.Products.ProductVariantAttributes.Attributes.Values.Fields.DisplayOrder", - "Admin.Catalog.Products.SpecificationAttributes.Fields.DisplayOrder", - "Admin.Catalog.Attributes.SpecificationAttributes.Fields.DisplayOrder", - "Admin.Catalog.Attributes.SpecificationAttributes.Options.Fields.DisplayOrder", - "Admin.Catalog.Categories.Fields.DisplayOrder", - "Admin.Catalog.Manufacturers.Fields.DisplayOrder", - "Admin.Configuration.Countries.Fields.DisplayOrder", - "Admin.Configuration.Currencies.Fields.DisplayOrder", - "Admin.Configuration.DeliveryTimes.Fields.DisplayOrder", - "Admin.Configuration.Measures.Dimensions.Fields.DisplayOrder", - "Admin.Configuration.Measures.Weights.Fields.DisplayOrder", - "Admin.Configuration.Countries.States.Fields.DisplayOrder", - "Admin.ContentManagement.Forums.ForumGroup.Fields.DisplayOrder", - "Admin.ContentManagement.Forums.Forum.Fields.DisplayOrder", - "Admin.Configuration.Languages.Fields.DisplayOrder", - "Admin.Catalog.Attributes.CheckoutAttributes.Fields.DisplayOrder", - "Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.DisplayOrder", - "Admin.Configuration.Plugins.Fields.DisplayOrder", - "Admin.ContentManagement.Polls.Answers.Fields.DisplayOrder", - "Admin.ContentManagement.Polls.Fields.DisplayOrder", - "Admin.Configuration.Shipping.Methods.Fields.DisplayOrder", - "Admin.Configuration.Stores.Fields.DisplayOrder", - "Admin.Configuration.Tax.Categories.Fields.DisplayOrder" - ); - - builder.AddOrUpdate("Common.DisplayOrder.Hint", - "Specifies display order. 1 represents the top of the list.", - "Legt die Anzeige-Priorität fest. 1 steht bspw. für das erste Element in der Liste."); - - builder.AddOrUpdate("Admin.Configuration.Settings.GeneralCommon.UseInvisibleReCaptcha", - "Use invisible reCAPTCHA", - "Unsichtbaren reCAPTCHA verwenden", - "Does not require the user to click on a checkbox, instead it is invoked directly when the user submits a form. By default only the most suspicious traffic will be prompted to solve a captcha.", - "Der Benutzer muss nicht auf ein Kontrollkästchen klicken, sondern die Validierung erfolgt direkt beim Absenden eines Formulars. Nur bei 'verdächtigem' Traffic wird der Benutzer aufgefordert, ein Captcha zu lösen."); - - builder.AddOrUpdate("Admin.ContentManagement.Topics.Fields.ShortTitle", - "Short title", - "Kurztitel", - "Optional. Used as link text. If empty, 'Title' sets the link text.", - "Optional. Wird u.A. als Linktext verwendet. Wenn leer, stellt 'Titel' den Linktext."); - - builder.AddOrUpdate("Admin.ContentManagement.Topics.Fields.Intro", - "Intro", - "Intro", - "Optional. Short introduction / teaser.", - "Optional. Einleitung / Teaser."); - - builder.AddOrUpdate("Common.Download.Versions", "Versions", "Versionen"); - builder.AddOrUpdate("Common.Download.Version", "Version", "Version"); - builder.AddOrUpdate("Common.Download.Delete", "Delete download", "Download löschen"); - builder.AddOrUpdate("Common.Downloads", "Downloads", "Downloads"); - - builder.AddOrUpdate("Admin.Catalog.Products.Fields.NewVersionDownloadId", - "New download version", - "Neue Version des Downloads", - "Upload a new version of the download file here.", - "Laden Sie hier eine neue Version der Download-Datei hoch."); - - builder.AddOrUpdate("Admin.Catalog.Products.Download.VersionDelete", "Delete this file version.", "Diese Dateiversion löschen."); - builder.AddOrUpdate("Admin.Catalog.Products.Download.AddChangelog", "Edit changelog", "Änderungshistorie bearbeiten"); - builder.AddOrUpdate("Customer.Downloads.NoChangelogAvailable", "No changelog available.", "Keine Änderungshistorie verfügbar."); - - builder.AddOrUpdate("Admin.Catalog.Products.Download.SemanticVersion.NotValid", - "The specified version information is not valid. Please enter the version number in the correct format (e.g.: 1.0.0.0, 2.0 or 3.1.5).", - "Die angegebenen Versionsinformationen sind nicht gültig. Bitte geben Sie die Versionsnummer in korrektem Format an (z.B.: 1.0.0.0, 2.0 oder 3.1.5)."); - - builder.AddOrUpdate("Admin.Catalog.Products.Fields.HasPreviewPicture", - "Exclude first image from gallery", - "Erstes Bild aus Gallerie ausschließen", - "Activate this option if the first image should be displayed as a preview in product lists but not in the product detail gallery.", - "Aktivieren Sie diese Option, wenn das erste Bild als Vorschau in Produktlisten, nicht aber in der Produktdetail-Gallerie angezeigt werden soll."); - - builder.AddOrUpdate("Products.Free", "Free", "Kostenlos"); - - builder.AddOrUpdate("Admin.Catalog.Products.Fields.ProductTags.Hint", - "Product tags are keywords that this product can also be identified by. Enter a list of the tags to be associated with this product. The more products associated with a particular tag, the larger it will show on the tag cloud.", - "Eine Liste von Schlüsselwörtern, die das Produkt taxonomisch charakterisieren. Je mehr Produkte einem Schlüsselwort (Tag) zugeordnet sind, desto mehr visuelles Gewicht erhält das Tag."); - - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.Initial", "Position", "Position"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.Relevance", "Relevance", "Beste Ergebnisse"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.SubjectAsc", "Title: A to Z", "Titel: A bis Z"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.SubjectDesc", "Title: Z to A", "Titel: Z bis A"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.UserNameAsc", "User name: A to Z", "Benutzername: A bis Z"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.UserNameDesc", "User name: Z to A", "Benutzername: Z bis A"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.CreatedOnAsc", "Created on: Oldest first", "Erstellt am: ältere zuerst"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.CreatedOnDesc", "Created on: Newest first", "Erstellt am: neuere zuerst"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.PostsAsc", "Post number: ascending", "Anzahl Beiträge: aufsteigend"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumTopicSorting.PostsDesc", "Post number: descending", "Anzahl Beiträge: absteigend"); - - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastVisit", "Since last visit", "Seit dem letzten Besuch"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.Yesterday", "Yesterday", "Gestern"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastWeek", "Last week", "In der letzten Woche"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastTwoWeeks", "Last 2 weeks", "In den letzten 2 Wochen"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastMonth", "Last month", "Im letzten Monat"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastThreeMonths", "Last 3 months", "In den letzten 3 Monaten"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastSixMonths", "Last 6 months", "In den letzten 6 Monaten"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Forums.ForumDateFilter.LastYear", "Last year", "Im letzten Jahr"); - - builder.AddOrUpdate("Search.Facet.Forum", "Forum", "Forum"); - builder.AddOrUpdate("Search.Facet.Customer", "User name", "Benutzername"); - builder.AddOrUpdate("Search.Facet.Date", "Period", "Zeitraum"); - builder.AddOrUpdate("Search.Facet.Date.Newer", "and newer", "und neuer"); - builder.AddOrUpdate("Search.Facet.Date.Older", "and older", "und älter"); - - builder.AddOrUpdate("Forum.PostText", "Post text", "Beitragstext"); - builder.AddOrUpdate("Forum.Sticky", "Sticky topic", "Festes Thema"); - - builder.AddOrUpdate("Search.HitsFor", "{0} hits for {1}", "{0} Treffer für {1}"); - builder.AddOrUpdate("Search.NoMoreHitsFound", "There were no more hits found.", "Es wurden keine weiteren Treffer gefunden."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Search.WildcardSearchNote", - "The wildcard mode can slow down the search for a large number of objects.", - "Der Wildcard-Modus kann bei einer großen Anzahl an Objekten die Suche verlangsamen."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Search.SearchMode", - "Search mode", - "Suchmodus", - "Specifies the search mode. Please keep in mind that the search mode can - depending on number of objects - strongly affect search performance. 'Is equal to' is the fastest, 'Contains' the slowest.", - "Legt den Suchmodus fest. Bitte beachten Sie, dass der Suchmodus die Geschwindigkeit der Suche (abhängig von der Objektanzahl) beeinflusst. 'Ist gleich' ist am schnellsten, 'Beinhaltet' am langsamsten."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Search.Forum.SearchFields", - "Search fields", - "Suchfelder", - "Specifies additional search fields. The topic title is always searched.", - "Legt zusätzlich zu durchsuchende Felder fest. Der Thementitel wird grundsätzlich immer durchsucht."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Search.DefaultSortOrder", - "Default sort order", - "Standardsortierreihenfolge", - "Specifies the default sort order in search results.", - "Legt die Standardsortierreihenfolge in den Suchergebnissen fest."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Search.InstantSearchNumberOfHits", - "Number of hits", - "Anzahl der Treffer", - "Specifies the number of hits displayed in instant search.", - "Legt die Anzahl der angezeigten Suchtreffer in der Instantsuche fest."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Forums.AllowSorting", - "Allow sorting", - "Sortierung zulassen", - "Specifies whether forum posts can be sorted.", - "Legt fest, ob Forenbeiträge sortiert werden können."); - - builder.AddOrUpdate("Admin.Common.DefaultPageSizeOptions", - "Page size options", - "Auswahlmöglichkeiten für Seitengröße", - "Comma-separated page size options that a customer can select in lists.", - "Kommagetrennte Liste mit Optionen für Seitengröße, die ein Kunde in Listen wählen kann."); - - builder.AddOrUpdate("Admin.Common.AllowCustomersToSelectPageSize", - "Allow customers to select page size", - "Kunde kann Listengröße ändern", - "Whether customers are allowed to select the page size from a predefined list of options.", - "Kunden können die Listengröße mit Hilfe einer vorgegebenen Optionsliste ändern."); - - - builder.Delete( - "Admin.Configuration.Settings.Search.DefaultSortOrderMode", - "Admin.Configuration.Settings.Search.InstantSearchNumberOfProducts", - "Admin.Configuration.Settings.CustomerUser.DefaultAvatarEnabled", - "Forum.Search.LimitResultsToPrevious.AllResults", - "Forum.Search.LimitResultsToPrevious.1day", - "Forum.Search.LimitResultsToPrevious.7days", - "Forum.Search.LimitResultsToPrevious.2weeks", - "Forum.Search.LimitResultsToPrevious.1month", - "Forum.Search.LimitResultsToPrevious.3months", - "Forum.Search.LimitResultsToPrevious.6months", - "Forum.Search.LimitResultsToPrevious.1year", - "Forum.Search.SearchInForum.All", - "Forum.Search.SearchWithin.All", - "Forum.Search.SearchWithin.TopicTitlesOnly", - "Forum.Search.SearchWithin.PostTextOnly", - "Forum.SearchTermMinimumLengthIsNCharacters", - "Enums.SmartStore.Core.Domain.Forums.ForumSearchType.All", - "Enums.SmartStore.Core.Domain.Forums.ForumSearchType.PostTextOnly", - "Enums.SmartStore.Core.Domain.Forums.ForumSearchType.TopicTitlesOnly", - "Forum.AdvancedSearch", - "Forum.SearchButton", - "Forum.PageTitle.Search"); - - builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.PriceDisplayStyle", - "Price display style", - "Preisdarstellung", - "Specifies the form in which prices are displayed in product lists and on the product detail page.", - "Bestimmt die Darstellungform von Preisen in Produktlisten und auf der Produktdetailseite."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.DisplayTextForZeroPrices", - "Display text when prices are 0,00", - "Zeige Text wenn Preise 0,00 sind", - "Specifies whether to display a textual resource (free) instead of the value 0.00.", - "Bestimmt, ob statt dem Wert 0,00 eine textuelle Resource (kostenlos) angezeigt werden soll."); - - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Catalog.PriceDisplayStyle.Default", "Default", "Standard"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Catalog.PriceDisplayStyle.BadgeAll", "In bagdes", "Markiert"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.Catalog.PriceDisplayStyle.BadgeFreeProductsOnly", "Badge free products only", "Nur kostenlose Produkte markieren"); - - builder.AddOrUpdate("Admin.DataExchange.Export.Filter.WorkingLanguageId", - "Language", - "Sprache", - "Filter by language", - "Nach Sprache filtern"); - - - builder.AddOrUpdate("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnForumPage", - "Show on forum pages", - "Auf Forenseiten anzeigen", - "Specifies whether to display a CAPTCHA on forum pages when creating or replying to a topic.", - "Legt fest, ob ein CAPTCHA auf Forenseiten angezeigt werden soll, wenn ein Thema erstellt oder darauf geantwortet wird."); - - builder.AddOrUpdate("Admin.Catalog.Products.BundleItems.NoProductLinkageForBundleItem", - "The product \"{0}\" cannot be assigned an attribute of the type \"product\" because it is bundle item of a product bundle.", - "Dem Produkt \"{0}\" kann kein Attribut vom Typ \"Produkt\" zugeordnet werden, weil es auf der Stückliste eines Produkt-Bundle steht."); - - builder.AddOrUpdate("Search.RelatedSearchTerms", - "Related search terms", - "Verwandte Suchbegriffe"); - - builder.AddOrUpdate("Plugins.CannotLoadModule", - "The plugin or provider \"{0}\" cannot be loaded.", - "Das Plugin oder der Provider \"{0}\" kann nicht geladen werden."); - - builder.AddOrUpdate("Admin.System.ScheduleTasks.RunPerMachine", - "Run per machine", - "Pro Maschine ausführen", - "Indicates whether the task is executed decidedly on each machine of a web farm.", - "Gibt an, ob die Aufgabe auf jeder Maschine einer Webfarm dezidiert ausgeführt wird."); - - builder.Delete("Address.Fields.Required.Hint"); - - builder.AddOrUpdate("Common.FormFields.Required.Hint", - "* Input elements with asterisk are required and have to be filled out.", - "* Eingabefelder mit Sternchen sind Pflichfelder und müssen ausgefüllt werden."); - - builder.AddOrUpdate("Forum.Post.Vote.OnlyRegistered", - "Only registered users can vote for posts.", - "Nur registrierte Benutzer können Beiträge bewerten."); - - builder.AddOrUpdate("Forum.Post.Vote.OwnPostNotAllowed", - "You cannot vote for your own post.", - "Sie können nicht Ihren eigenen Beitrag bewerten."); - - builder.AddOrUpdate("Forum.Post.Vote.SuccessfullyVoted", - "Thank you for your vote.", - "Danke für Ihre Bewertung."); - - builder.AddOrUpdate("Common.Liked", "Liked", "Gefällt"); - builder.AddOrUpdate("Common.LikeIt", "I like it", "Gefällt mir"); - builder.AddOrUpdate("Common.DoNotLikeIt", "I do not like it anymore", "Gefällt mir nicht mehr"); - - builder.AddOrUpdate("Admin.Configuration.Settings.Forums.AllowCustomersToVoteOnPosts", - "Allow customers to vote on posts", - "Benutzer können Beiträge bewerten", - "Specifies whether customers can vote on posts.", - "Legt fest, ob Benutzer Beiträge bewerten können."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Forums.AllowGuestsToVoteOnPosts", - "Allow guests to vote on posts", - "Gäste können Beiträge bewerten", - "Specifies whether guests can vote on posts.", - "Legt fest, ob Gäste Beiträge bewerten können."); - - // Typos. - builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements") - .Value("de", "Voraussetzungen"); - builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements.DiscountRequirementType") - .Value("de", "Typ der Voraussetzung"); - builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements.DiscountRequirementType.Hint") - .Value("de", "Voraussetzungen für den Rabatt"); - builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements.Remove") - .Value("de", "Voraussetzung für den Rabatt entfernen"); - builder.AddOrUpdate("Admin.Promotions.Discounts.Requirements.SaveBeforeEdit") - .Value("de", "Sie müssen den Rabatt zunächst speichern, bevor Sie Voraussetzungen für seine Anwendung festlegen können"); - - builder.AddOrUpdate("Common.Voting", "Voting", "Abstimmung"); - builder.AddOrUpdate("Common.Answer", "Answer", "Antwort"); - builder.AddOrUpdate("Common.Size", "Size", "Größe"); - - builder.AddOrUpdate("Admin.Configuration.Settings.CustomerUser.CustomerFormFields.Description", - "Manage form fields that are displayed during registration.", - "Verwalten Sie Formularfelder, die während der Registrierung angezeigt werden."); - - builder.AddOrUpdate("Admin.Configuration.Settings.CustomerUser.AddressFormFields.Description", - "Manage form fields that are displayed during checkout and on \"My account\" page.", - "Verwalten Sie Formularfelder, die während des Checkout-Prozesses und im \"Mein Konto\" Bereich angezeigt werden."); - - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.DataExchange.RelatedEntityType.TierPrice", "Tier price", "Staffelpreis"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.DataExchange.RelatedEntityType.ProductVariantAttributeValue", "Attribute option", "Attribut-Option"); - builder.AddOrUpdate("Enums.SmartStore.Core.Domain.DataExchange.RelatedEntityType.ProductVariantAttributeCombination", "Attribute combination", "Attribut-Kombination"); - - builder.AddOrUpdate("Admin.DataExchange.Export.ExportRelatedData.Validate", - "Related data cannot be exported if the option \"Export attribute combinations\" is activated.", - "Zugehörige Daten können nicht exportiert werden, wenn die Option \"Attributkombinationen exportieren\" aktiviert ist."); - - builder.AddOrUpdate("Admin.Common.ProcessingInfo", - "{0}: {1} of {2} processed", - "{0}: {1} von {2} verarbeitet"); - - builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.ShowSubCategoriesInSubPages", - "Show subcategories also in subpages", - "Unterwarengruppen auch in Unterseiten anzeigen", - "Subpage: List index greater than 1 or any active filter.", - "Unterseite: Listenindex größer 1 oder mind. ein aktiver Filter."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.ShowDescriptionInSubPages", - "Show page description also in subpages", - "Seitenbeschreibungen auch in Unterseiten anzeigen", - "Subpage: List index greater than 1 or any active filter.", - "Unterseite: Listenindex größer 1 oder mind. ein aktiver Filter."); - - builder.AddOrUpdate("Admin.Configuration.Settings.Catalog.IncludeFeaturedProductsInSubPages", - "Show featured products also in subpages", - "Top-Produkte auch in Unterseiten anzeigen", - "Subpage: List index greater than 1 or any active filter.", - "Unterseite: Listenindex größer 1 oder mind. ein aktiver Filter."); - - builder.AddOrUpdate("Admin.Common.CopyOf", "Copy of {0}", "Kopie von {0}"); - - builder.AddOrUpdate("Admin.Configuration.Languages.DefaultLanguage.Note", - "The default language of the shop is {0}. The default is always the first published language.", - "Die Standardsprache des Shops ist {0}. Standard ist stets die erste veröffentlichte Sprache."); - builder.AddOrUpdate("Admin.Configuration.Languages.AvailableLanguages.Note", - "Click Download to install a new language including all localized resources. On translate.smartstore.com you will find more details about available resources.", - "Klicken Sie auf Download, um eine neue Sprache mit allen lokalisierten Ressourcen zu installieren. Auf translate.smartstore.com finden Sie weitere Details zu verfügbaren Ressourcen."); } } } diff --git a/src/Libraries/SmartStore.Data/ObjectContextBase.SaveChanges.cs b/src/Libraries/SmartStore.Data/ObjectContextBase.SaveChanges.cs index 57833b3f28..3faed3ad16 100644 --- a/src/Libraries/SmartStore.Data/ObjectContextBase.SaveChanges.cs +++ b/src/Libraries/SmartStore.Data/ObjectContextBase.SaveChanges.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Data.Entity.Validation; using System.Linq; @@ -9,9 +8,7 @@ using System.Threading; using System.Threading.Tasks; using SmartStore.Core; -using SmartStore.Core.Data; using SmartStore.Core.Data.Hooks; -using SmartStore.Core.Infrastructure; using SmartStore.Utilities; using EfState = System.Data.Entity.EntityState; @@ -197,55 +194,7 @@ public SaveStage Stage get { return _stage; } } - public int Execute() - { - var autoDetectChanges = _ctx.Configuration.AutoDetectChangesEnabled; - IEnumerable mergeableEntities = null; - - Action endExecute = () => - { - _ctx.Configuration.AutoDetectChangesEnabled = autoDetectChanges; - _ctx.IgnoreMergedData(mergeableEntities, false); - }; - - using (new ActionDisposable(endExecute)) - { - // Suppress implicit DetectChanges() calls by EF, - // e.g. called by SaveChanges(), ChangeTracker.Entries() etc. - _ctx.Configuration.AutoDetectChangesEnabled = false; - - // Get all attached entries implementing IMergedData, - // we need to ignore merge on them. Otherwise - // EF's change detection may think that properties has changed - // where they actually didn't. - mergeableEntities = _ctx.GetMergeableEntitiesFromChangeTracker().ToArray(); - - // Now ignore merged data, otherwise merged data will be saved to database - _ctx.IgnoreMergedData(mergeableEntities, true); - - // We must detect changes earlier in the process - // before hooks are executed. Therefore we suppressed the - // implicit DetectChanges() call by EF and call it here explicitly. - _ctx.ChangeTracker.DetectChanges(); - - // Now get changed entries - _changedEntries = _ctx.GetChangedEntries(); - - // pre - IEnumerable changedHookEntries; - PreExecute(out changedHookEntries); - - // save - var result = _ctx.SaveChangesCore(); - - // post - PostExecute(changedHookEntries); - - return result; - } - } - - public Task ExecuteAsync(CancellationToken cancellationToken) + private IDisposable ExecuteCore() { var autoDetectChanges = _ctx.Configuration.AutoDetectChangesEnabled; IEnumerable mergeableEntities = null; @@ -265,32 +214,46 @@ public Task ExecuteAsync(CancellationToken cancellationToken) // We must detect changes earlier in the process // before hooks are executed. Therefore we suppressed the - // implicit DetectChanges() calls by EF and call it here explicitly. + // implicit DetectChanges() call by EF and call it here explicitly. _ctx.ChangeTracker.DetectChanges(); // Now get changed entries _changedEntries = _ctx.GetChangedEntries(); // pre - IEnumerable changedHookEntries; - PreExecute(out changedHookEntries); + PreExecute(out IEnumerable changedHookEntries); - // save - var result = _ctx.SaveChangesCoreAsync(cancellationToken); + return new ActionDisposable(endExecute); - // post - result.ContinueWith((t) => + void endExecute() { - if (!t.IsFaulted) + try { + // post PostExecute(changedHookEntries); } + finally + { + _ctx.Configuration.AutoDetectChangesEnabled = autoDetectChanges; + _ctx.IgnoreMergedData(mergeableEntities, false); + } + } + } - _ctx.Configuration.AutoDetectChangesEnabled = autoDetectChanges; - _ctx.IgnoreMergedData(mergeableEntities, false); - }); + public int Execute() + { + using (ExecuteCore()) + { + return _ctx.SaveChangesCore(); + } + } - return result; + public async Task ExecuteAsync(CancellationToken cancellationToken) + { + using (ExecuteCore()) + { + return await _ctx.SaveChangesCoreAsync(cancellationToken); + } } private IEnumerable PreExecute(out IEnumerable changedHookEntries) diff --git a/src/Libraries/SmartStore.Data/ObjectContextBase.cs b/src/Libraries/SmartStore.Data/ObjectContextBase.cs index 0e7c9c73bf..ea5675eabb 100644 --- a/src/Libraries/SmartStore.Data/ObjectContextBase.cs +++ b/src/Libraries/SmartStore.Data/ObjectContextBase.cs @@ -168,13 +168,6 @@ public IEnumerable SqlQuery(string sql, params object[] para return this.Database.SqlQuery(sql, parameters); } - /// - /// Executes the given DDL/DML command against the database. - /// - /// The command string - /// Timeout value, in seconds. A null value indicates that the default value of the underlying provider will be used - /// The parameters to apply to the command string. - /// The result returned by the database after executing the command. public int ExecuteSqlCommand(string sql, bool doNotEnsureTransaction = false, int? timeout = null, params object[] parameters) { Guard.NotEmpty(sql, "sql"); diff --git a/src/Libraries/SmartStore.Data/Properties/AssemblyInfo.cs b/src/Libraries/SmartStore.Data/Properties/AssemblyInfo.cs index 11132fd2a1..31d6040e23 100644 --- a/src/Libraries/SmartStore.Data/Properties/AssemblyInfo.cs +++ b/src/Libraries/SmartStore.Data/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System.Reflection; using System.Runtime.CompilerServices; + [assembly: AssemblyTitle("SmartStore.Data")] [assembly: InternalsVisibleTo("SmartStore.Web")] [assembly: InternalsVisibleTo("SmartStore.Data.Tests")] diff --git a/src/Libraries/SmartStore.Data/Setup/MigrateDatabaseInitializer.cs b/src/Libraries/SmartStore.Data/Setup/MigrateDatabaseInitializer.cs index c92790df60..7042551b5c 100644 --- a/src/Libraries/SmartStore.Data/Setup/MigrateDatabaseInitializer.cs +++ b/src/Libraries/SmartStore.Data/Setup/MigrateDatabaseInitializer.cs @@ -5,6 +5,7 @@ using System.Data.Entity.Migrations; using System.Linq; using SmartStore.Core.Data; +using SmartStore.Data.Caching; using SmartStore.Data.Migrations; using SmartStore.Utilities; @@ -87,27 +88,31 @@ public virtual void InitializeDatabase(TContext context) } } - // run all pending migrations - var appliedCount = migrator.RunPendingMigrations(context); - - if (appliedCount > 0) - { - Seed(context); - } - else + using (new DbContextScope(context as IDbContext, hooksEnabled: false)) { - var coreConfig = config as MigrationsConfiguration; - if (coreConfig != null && context is SmartObjectContext) + // run all pending migrations + var appliedCount = migrator.RunPendingMigrations(context); + + if (appliedCount > 0) + { + Seed(context); + } + else { // DB is up-to-date and no migration ran. - // Call the main Seed method anyway (on every startup), - // we could have locale resources or settings to add/update. - coreConfig.SeedDatabase(context as SmartObjectContext); + EfMappingViewCacheFactory.SetContext(context); + + if (config is MigrationsConfiguration coreConfig && context is SmartObjectContext ctx) + { + // Call the main Seed method anyway (on every startup), + // we could have locale resources or settings to add/update. + coreConfig.SeedDatabase(ctx); + } } - } - // not needed anymore - this.DataSeeders = null; + // not needed anymore + this.DataSeeders = null; + } } #endregion diff --git a/src/Libraries/SmartStore.Data/Setup/SeedData/InvariantSeedData.cs b/src/Libraries/SmartStore.Data/Setup/SeedData/InvariantSeedData.cs index a7947fd324..25ec8fc33c 100644 --- a/src/Libraries/SmartStore.Data/Setup/SeedData/InvariantSeedData.cs +++ b/src/Libraries/SmartStore.Data/Setup/SeedData/InvariantSeedData.cs @@ -202,42 +202,42 @@ public IList MeasureWeights() protected virtual string TaxNameBooks { - get { return "Books"; } + get => "Books"; } protected virtual string TaxNameDigitalGoods { - get { return "Downloadable Products"; } + get => "Downloadable Products"; } protected virtual string TaxNameJewelry { - get { return "Jewelry"; } + get => "Jewelry"; } protected virtual string TaxNameApparel { - get { return "Apparel & Shoes"; } + get => "Apparel & Shoes"; } protected virtual string TaxNameFood { - get { return "Food"; } + get => "Food"; } protected virtual string TaxNameElectronics { - get { return "Electronics & Software"; } + get => "Electronics & Software"; } protected virtual string TaxNameTaxFree { - get { return "Tax free"; } + get => "Tax free"; } public virtual decimal[] FixedTaxRates { - get { return new decimal[] { 0, 0, 0, 0, 0 }; } + get => new decimal[] { 0, 0, 0, 0, 0 }; } public IList TaxCategories() @@ -3873,6 +3873,8 @@ public IList Topics() SystemName = "CheckoutAsGuestOrRegister", IncludeInSitemap = false, IsPasswordProtected = false, + RenderAsWidget = true, + WidgetWrapContent = false, Title = "", Body = "

Register and save time!
Register with us for future convenience:

  • Fast and easy check out
  • Easy access to your order history and status
" }, @@ -3889,7 +3891,9 @@ public IList Topics() SystemName = "ContactUs", IncludeInSitemap = false, IsPasswordProtected = false, - Title = "Contact us", + RenderAsWidget = true, + WidgetWrapContent = false, + Title = "Contact us", Body = "

Put your contact information here. You can edit this in the admin site.

" }, new Topic @@ -3897,7 +3901,9 @@ public IList Topics() SystemName = "ForumWelcomeMessage", IncludeInSitemap = false, IsPasswordProtected = false, - Title = "Forums", + RenderAsWidget = true, + WidgetWrapContent = false, + Title = "Forums", Body = "

Put your welcome message here. You can edit this in the admin site.

" }, new Topic @@ -3905,7 +3911,9 @@ public IList Topics() SystemName = "HomePageText", IncludeInSitemap = false, IsPasswordProtected = false, - Title = "Welcome to our store", + RenderAsWidget = true, + WidgetWrapContent = false, + Title = "Welcome to our store", Body = "

Online shopping is the process consumers go through to purchase products or services over the Internet. You can edit this in the admin site.

" }, new Topic @@ -3913,7 +3921,9 @@ public IList Topics() SystemName = "LoginRegistrationInfo", IncludeInSitemap = false, IsPasswordProtected = false, - Title = "About login / registration", + RenderAsWidget = true, + WidgetWrapContent = false, + Title = "About login / registration", Body = "

Not registered yet?

Create your own account now and experience our diversity. With an account you can place orders faster and will always have a perfect overview of your current and previous orders.

" }, new Topic @@ -3965,6 +3975,11 @@ public IList Topics() public IList Settings() { + var defaultDimensionId = _ctx.Set().FirstOrDefault(x => x.SystemKeyword == "inch")?.Id ?? 0; + var defaultWeightId = _ctx.Set().FirstOrDefault(x => x.SystemKeyword == "lb")?.Id ?? 0; + var defaultLanguageId = _ctx.Set().FirstOrDefault()?.Id ?? 0; + var defaultEmailAccountId = _ctx.Set().FirstOrDefault()?.Id ?? 0; + var entities = new List { new PdfSettings @@ -3973,60 +3988,60 @@ public IList Settings() new CommonSettings { }, - new SeoSettings() + new SeoSettings { }, - new SocialSettings() + new SocialSettings { }, - new AdminAreaSettings() + new AdminAreaSettings { }, - new CatalogSettings() + new CatalogSettings { }, - new LocalizationSettings() + new LocalizationSettings { - DefaultAdminLanguageId = _ctx.Set().First().Id + DefaultAdminLanguageId = defaultLanguageId }, - new CustomerSettings() + new CustomerSettings { }, - new AddressSettings() + new AddressSettings { }, - new MediaSettings() + new MediaSettings { }, - new StoreInformationSettings() + new StoreInformationSettings { }, - new RewardPointsSettings() + new RewardPointsSettings { }, - new CurrencySettings() + new CurrencySettings { }, - new MeasureSettings() + new MeasureSettings { - BaseDimensionId = _ctx.Set().Where(m => m.SystemKeyword == "inch").Single().Id, - BaseWeightId = _ctx.Set().Where(m => m.SystemKeyword == "lb").Single().Id, + BaseDimensionId = defaultDimensionId, + BaseWeightId = defaultWeightId, }, - new ShoppingCartSettings() + new ShoppingCartSettings { }, - new OrderSettings() + new OrderSettings { }, - new SecuritySettings() + new SecuritySettings { }, - new ShippingSettings() + new ShippingSettings { }, - new PaymentSettings() + new PaymentSettings { - ActivePaymentMethodSystemNames = new List() + ActivePaymentMethodSystemNames = new List { "Payments.CashOnDelivery", "Payments.Manual", @@ -4034,23 +4049,23 @@ public IList Settings() "Payments.Prepayment" } }, - new TaxSettings() + new TaxSettings { }, - new BlogSettings() + new BlogSettings { }, - new NewsSettings() + new NewsSettings { }, - new ForumSettings() + new ForumSettings { }, - new EmailAccountSettings() + new EmailAccountSettings { - DefaultEmailAccountId = _ctx.Set().First().Id + DefaultEmailAccountId = defaultEmailAccountId }, - new ThemeSettings() + new ThemeSettings { } }; @@ -8899,7 +8914,7 @@ public IList CategoriesFirstLevel() Name = "Apple", Alias = "Apple", CategoryTemplateId = categoryTemplateInGridAndLines.Id, - Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "category_apple.png"), "image/jpeg", GetSeName("Apple")), + Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "category_apple.png"), "image/png", GetSeName("Apple")), Published = true, DisplayOrder = 1, MetaTitle = "Apple", @@ -9035,6 +9050,77 @@ public IList CategoriesSecondLevel() #region category definitions + #region new + + var categoryFashionJackets = new Category + { + Name = "Jackets", + Alias = "Jackets", + CategoryTemplateId = categoryTemplateInGridAndLines.Id, + Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "category_jackets.jpg"), "image/png", GetSeName("Jackets")), + Published = true, + ParentCategoryId = _ctx.Set().Where(x => x.MetaTitle == "Fashion").First().Id, + DisplayOrder = 1, + MetaTitle = "Jackets", + ShowOnHomePage = true + }; + + var categoryFashionLeatherJackets = new Category + { + Name = "Leather jackets", + Alias = "Leather jackets", + CategoryTemplateId = categoryTemplateInGridAndLines.Id, + Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "category_leather_jackets.jpg"), "image/png", GetSeName("Leather jackets")), + Published = true, + ParentCategoryId = _ctx.Set().Where(x => x.MetaTitle == "Fashion").First().Id, + DisplayOrder = 1, + MetaTitle = "Leather jackets", + ShowOnHomePage = true + }; + + var categoryFashionShoes = new Category + { + Name = "Shoes", + Alias = "Shoes", + CategoryTemplateId = categoryTemplateInGridAndLines.Id, + Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "category_shoes.png"), "image/png", GetSeName("Shoes")), + Published = true, + ParentCategoryId = _ctx.Set().Where(x => x.MetaTitle == "Fashion").First().Id, + DisplayOrder = 1, + MetaTitle = "Shoes", + ShowOnHomePage = true + }; + + var categoryFashionTrousers = new Category + { + Name = "Trousers", + Alias = "Pants", + CategoryTemplateId = categoryTemplateInGridAndLines.Id, + Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "category_trousers.png"), "image/png", GetSeName("Trousers")), + Published = true, + ParentCategoryId = _ctx.Set().Where(x => x.MetaTitle == "Fashion").First().Id, + DisplayOrder = 1, + MetaTitle = "Trousers", + ShowOnHomePage = true + }; + + var categoryFashionTracksuits = new Category + { + Name = "Tracksuits", + Alias = "Tracksuits", + CategoryTemplateId = categoryTemplateInGridAndLines.Id, + Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "category_tracksuit.png"), "image/png", GetSeName("Tracksuits")), + Published = true, + ParentCategoryId = _ctx.Set().Where(x => x.MetaTitle == "Fashion").First().Id, + DisplayOrder = 1, + MetaTitle = "Tracksuits", + ShowOnHomePage = true + }; + + #endregion + + + var categorySportsGolf = new Category { Name = "Golf", @@ -9164,7 +9250,8 @@ public IList CategoriesSecondLevel() var entities = new List { categorySportsSunglasses,categorySportsSoccer, categorySportsBasketball,categorySportsGolf, categoryBooksSpiegel, categoryBooksCookAndEnjoy, - categoryGamingAccessories, categoryGamingGames + categoryGamingAccessories, categoryGamingGames, categoryFashionJackets, categoryFashionLeatherJackets, categoryFashionShoes, categoryFashionTrousers, + categoryFashionTracksuits }; this.Alter(entities); @@ -9182,11 +9269,37 @@ public IList Manufacturers() //var categoryTemplateInGridAndLines = // this.CategoryTemplates().Where(pt => pt.Name == "Products in Grid or Lines").FirstOrDefault(); - //categories + // + + #region Jack Wolfskin + + var manufacturerJackWolfskin = new Manufacturer + { + Name = "Jack-Wolfskin", + ManufacturerTemplateId = manufacturerTemplateInGridAndLines.Id, + Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "manufacturer_Jack_Wolfskin.png"), "image/png", GetSeName("Jack Wolfskin")), + Published = true, + DisplayOrder = 1 + }; + + #endregion + + #region Mey & Edlich + var manufacturerMeyAndEdlich = new Manufacturer + { + Name = "Mey-And-Edlich", + ManufacturerTemplateId = manufacturerTemplateInGridAndLines.Id, + Picture = CreatePicture(File.ReadAllBytes(sampleImagesPath + "manufacturer_MeyAndEdlich.jpg"), "image/png", GetSeName("Mey Edlich")), + Published = true, + DisplayOrder = 1 + }; + + #endregion + #region EA Sports - var manufacturerWarnerHome = new Manufacturer + var manufacturerEASports = new Manufacturer { Name = "EA Sports", ManufacturerTemplateId = manufacturerTemplateInGridAndLines.Id, @@ -9199,7 +9312,7 @@ public IList Manufacturers() #region Warner Home Video Games - var manufacturerEASports = new Manufacturer + var manufacturerWarnerHome = new Manufacturer { Name = "Warner Home Video Games", ManufacturerTemplateId = manufacturerTemplateInGridAndLines.Id, @@ -9601,17 +9714,19 @@ public IList Manufacturers() #endregion Ubisoft var entities = new List - { - manufacturerEASports,manufacturerWarnerHome,manufacturerBreitling,manufacturerTissot,manufacturerSeiko, manufacturerTitleist,manufacturerApple,manufacturerSamsung,manufacturerLG,manufacturerTrekStor, manufacturerWesternDigital,manufacturerDell, manufacturerMSI, + { + manufacturerEASports,manufacturerWarnerHome,manufacturerBreitling,manufacturerTissot,manufacturerSeiko, manufacturerTitleist, manufacturerApple, + manufacturerSamsung,manufacturerLG,manufacturerTrekStor, manufacturerWesternDigital,manufacturerDell, manufacturerMSI, manufacturerCanon, manufacturerCasio, manufacturerPanasonic, manufacturerBlackBerry, manufacturerHTC, manufacturerFestina, manufacturerCertina, - manufacturerHP, manufacturerAcer, manufacturerSony, manufacturerUbisoft,manufacturerOakley,manufacturerRayban,manufacturerAdidas, manufacturerWilson,manufacturerPuma,manufacturerNike + manufacturerHP, manufacturerAcer, manufacturerSony, manufacturerUbisoft, manufacturerOakley, manufacturerRayban, manufacturerAdidas, manufacturerWilson, + manufacturerPuma,manufacturerNike, manufacturerMeyAndEdlich, manufacturerJackWolfskin, manufacturerMicrosoft }; this.Alter(entities); return entities; } - private List GetFashionProducts() + private List GetFashionProducts(Dictionary specAttributes) { var result = new List(); var productTemplateSimple = _ctx.Set().First(x => x.ViewPath == "Product"); @@ -9668,7 +9783,7 @@ private List GetFashionProducts() AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, - SpecificationAttributeOption = specOptionCotton + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) }); result.Add(converseAllStar); @@ -9716,8 +9831,8 @@ private List GetFashionProducts() Price = 29.00M }); - var shirtMeccanicaImages = new string[] { "product_shirt_meccanica_red_1.jpg", "product_shirt_meccanica_red_2.jpg", "product_shirt_meccanica_red_3.jpg", - "product_shirt_meccanica_red_4.jpg", "product_shirt_meccanica_black_1.jpg", "product_shirt_meccanica_black_2.jpg", "product_shirt_meccanica_black_3.jpg" }; + var shirtMeccanicaImages = new string[] { "product_shirt_meccanica_black_1.jpg", "product_shirt_meccanica_black_2.jpg", "product_shirt_meccanica_black_3.jpg", + "product_shirt_meccanica_red_1.jpg", "product_shirt_meccanica_red_2.jpg", "product_shirt_meccanica_red_3.jpg", "product_shirt_meccanica_red_4.jpg" }; for (var i = 0; i < shirtMeccanicaImages.Length; ++i) { @@ -9733,8 +9848,8 @@ private List GetFashionProducts() AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, - SpecificationAttributeOption = specOptionCotton - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) + }); result.Add(shirtMeccanica); @@ -9773,8 +9888,8 @@ private List GetFashionProducts() DisplayOrder = 1 }); - var ladiesJacketImages = new string[] { "product_ladies_jacket_red.jpg", "product_ladies_jacket_orange.jpg", "product_ladies_jacket_green.jpg", - "product_ladies_jacket_blue.jpg", "product_ladies_jacket_navy.jpg", "product_ladies_jacket_silver.jpg", "product_ladies_jacket_black.jpg" }; + var ladiesJacketImages = new string[] { "product_ladies_jacket_silver.jpg", "product_ladies_jacket_black.jpg", "product_ladies_jacket_red.jpg", + "product_ladies_jacket_orange.jpg", "product_ladies_jacket_green.jpg", "product_ladies_jacket_blue.jpg", "product_ladies_jacket_navy.jpg", }; for (var i = 0; i < ladiesJacketImages.Length; ++i) { @@ -9790,7 +9905,7 @@ private List GetFashionProducts() AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, - SpecificationAttributeOption = _ctx.Set().First(x => x.DisplayOrder == 8).SpecificationAttributeOptions.First(x => x.DisplayOrder == 11) + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 11) }); result.Add(ladiesJacket); @@ -9836,30 +9951,23 @@ private List GetFashionProducts() AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, - SpecificationAttributeOption = specOptionCotton - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) + }); result.Add(clarkJeans); - - return result; + return result; } - private List GetFurnitureProducts() + private List GetFurnitureProducts(Dictionary specAttributes) { var result = new List(); var productTemplateSimple = _ctx.Set().First(x => x.ViewPath == "Product"); var thirdDeliveryTime = _ctx.Set().First(x => x.DisplayOrder == 2); var furnitureCategory = _ctx.Set().First(x => x.MetaTitle == "Furniture"); - var specOptionLeather = _ctx.Set().First(x => x.DisplayOrder == 8).SpecificationAttributeOptions.First(x => x.DisplayOrder == 5); - var specOptionWood = _ctx.Set().First(x => x.DisplayOrder == 8).SpecificationAttributeOptions.First(x => x.DisplayOrder == 13); - var specOptionPlastic = _ctx.Set().First(x => x.DisplayOrder == 8).SpecificationAttributeOptions.First(x => x.DisplayOrder == 3); - var specOptionGlass = _ctx.Set().First(x => x.DisplayOrder == 8).SpecificationAttributeOptions.First(x => x.DisplayOrder == 14); - var specOptionSteel = _ctx.Set().First(x => x.DisplayOrder == 8).SpecificationAttributeOptions.First(x => x.DisplayOrder == 1); - var specOptionAluminium = _ctx.Set().First(x => x.DisplayOrder == 8).SpecificationAttributeOptions.First(x => x.DisplayOrder == 4); - // Le Corbusier LC 6 table - var corbusierTable = new Product + // Le Corbusier LC 6 table + var corbusierTable = new Product { ProductType = ProductType.SimpleProduct, VisibleIndividually = true, @@ -9916,15 +10024,15 @@ private List GetFurnitureProducts() AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, - SpecificationAttributeOption = specOptionSteel - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); corbusierTable.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 2, - SpecificationAttributeOption = specOptionGlass - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 14) + }); result.Add(corbusierTable); @@ -9984,15 +10092,15 @@ private List GetFurnitureProducts() AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, - SpecificationAttributeOption = specOptionPlastic - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) + }); ballChair.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 2, - SpecificationAttributeOption = specOptionLeather - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 5) + }); result.Add(ballChair); @@ -10060,21 +10168,21 @@ private List GetFurnitureProducts() AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, - SpecificationAttributeOption = specOptionWood - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 13) + }); loungeChair.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 2, - SpecificationAttributeOption = specOptionLeather - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 5) + }); loungeChair.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 3, - SpecificationAttributeOption = specOptionAluminium + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 4) }); result.Add(loungeChair); @@ -10132,29 +10240,154 @@ private List GetFurnitureProducts() AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, - SpecificationAttributeOption = specOptionLeather - }); + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 5) + }); result.Add(cubeChair); return result; } - public IList Products() - { - #region definitions - - var productTemplate = _ctx.Set().First(x => x.ViewPath == "Product"); - var firstDeliveryTime = _ctx.Set().First(sa => sa.DisplayOrder == 0); - var secondDeliveryTime = _ctx.Set().First(sa => sa.DisplayOrder == 1); - var thirdDeliveryTime = _ctx.Set().First(sa => sa.DisplayOrder == 2); + public IList Products() + { var specialPriceEndDate = DateTime.UtcNow.AddMonths(1); - #endregion definitions + var productTemplate = _ctx.Set().First(x => x.ViewPath == "Product"); + var firstDeliveryTime = _ctx.Set().First(x => x.DisplayOrder == 0); + var secondDeliveryTime = _ctx.Set().First(x => x.DisplayOrder == 1); + var thirdDeliveryTime = _ctx.Set().First(x => x.DisplayOrder == 2); + + var manufacturers = _ctx.Set().ToList().ToDictionarySafe(x => x.Name, x => x); + var categories = _ctx.Set().ToList().ToDictionarySafe(x => x.Alias, x => x); + var specAttributes = _ctx.Set().ToList().ToDictionarySafe(x => x.DisplayOrder, x => x); + + + //#region category shoes + + //var categoryShoes = _ctx.Set().First(x => x.Alias == "Shoes"); + + //#region product Jack Wolfskin COOGEE LOW M + + //var productJackWolfskinCooGeeLowM = new Product + //{ + // ProductType = ProductType.SimpleProduct, + // VisibleIndividually = true, + // Name = "COOGEE LOW M", + // MetaTitle = "COOGEE LOW M", + // ShortDescription = "MÄNNER FREIZEITSCHUHE", + // FullDescription = "

Du bist immer auf dem Sprung: zum Kino, zur neueröffneten Bar oder zum nächsten Stadtfest. Der stylische COOGEE LOW ist DER Schuh für dein Leben in der Stadt. Denn er verbindet Funktion mit Style. Die sportliche EVA - Zwischensohle ist nicht nur leicht und flexibel, sondern dämpft deine Ferse mit ihrer Erhöhung im hinteren Bereich auch besonders gut und ist sehr komfortabel.So sind deine Füße auch nach vielen Stunden noch fit – du wirst es merken, wenn nach einem langen Tag z.B.noch eine spontane Party ansteht. Die Passform haben wir nach dem Vorbild einer Socke gestaltet, sie ist locker und komfortabel.Dennoch bleibt der Schuh in seiner schmalen Form. Dank des atmungsaktiven Obermaterials bleibt das Fußklima angenehm, egal, wie warm es draussen ist.Gleichzeitig ist der Schuh sehr pflegeleicht.Worauf wartest du also noch ? Ab in die City!

", + // Sku = "Wolfskin-4032541", + // ProductTemplateId = productTemplate.Id, + // AllowCustomerReviews = true, + // Published = true, + // Price = 69.90M, + // OldPrice = 99.95M, + // ManageInventoryMethod = ManageInventoryMethod.ManageStock, + // OrderMinimumQuantity = 1, + // OrderMaximumQuantity = 10000, + // StockQuantity = 10000, + // NotifyAdminForQuantityBelow = 1, + // IsShipEnabled = true, + // DeliveryTime = firstDeliveryTime, + // DisplayOrder = 5 + //}; + + //AddProductPicture(productJackWolfskinCooGeeLowM, "product_wolfskin_shoes_coogee_1.jpg", "jack-wolfskin-shoes-coogee-low-m-1"); + + //productJackWolfskinCooGeeLowM.ProductCategories.Add(new ProductCategory { Category = categoryShoes, DisplayOrder = 1 }); + + //productJackWolfskinCooGeeLowM.ProductManufacturers.Add(new ProductManufacturer + //{ + // Manufacturer = _ctx.Set().Where(c => c.Name == "Jack-Wolfskin").Single(), + // DisplayOrder = 1, + //}); + + //#endregion product Jack Wolfskin COOGEE LOW M + + //#region product Adidas SUPERSTAR SCHUH + + //var productAdidasSuperstarSchuh = new Product + //{ + // ProductType = ProductType.SimpleProduct, + // VisibleIndividually = true, + // Name = "SUPERSTAR SCHUH", + // MetaTitle = "SUPERSTAR SCHUH", + // ShortDescription = "DER STREETWEAR-KLASSIKER MIT DER SHELL TOE.", + // FullDescription = "

Der adidas Superstar wurde erstmals 1969 herausgebracht und machte seinem Namen schon bald alle Ehre. Heute gilt er als Streetstyle-Legende. In dieser Version kommt der Schuh mit einem bequemen Obermaterial aus Full-Grain-Leder. Perfekt wird der Look durch die klassische Shell Toe aus Gummi für mehr Strapazierfähigkeit.

", + // Sku = "Adidas-C77124", + // ProductTemplateId = productTemplate.Id, + // AllowCustomerReviews = true, + // Published = true, + // Price = 99.95M, + // ManageInventoryMethod = ManageInventoryMethod.ManageStock, + // OrderMinimumQuantity = 1, + // OrderMaximumQuantity = 10000, + // StockQuantity = 10000, + // NotifyAdminForQuantityBelow = 1, + // IsShipEnabled = true, + // DeliveryTime = firstDeliveryTime, + // DisplayOrder = 5 + //}; + + //AddProductPicture(productAdidasSuperstarSchuh, "product_adidas_superstar_schuh_1.jpg", "adidas-superstar-schuh-1"); + + //productJackWolfskinCooGeeLowM.ProductCategories.Add(new ProductCategory { Category = categoryShoes, DisplayOrder = 1 }); + + //productJackWolfskinCooGeeLowM.ProductManufacturers.Add(new ProductManufacturer + //{ + // Manufacturer = _ctx.Set().Where(c => c.Name == "Adidas").Single(), + // DisplayOrder = 1, + //}); + + + //#endregion product Adidas SUPERSTAR SCHUH + //#endregion category shoes + + #region category jackets + + var categoryJackets = _ctx.Set().First(x => x.Alias == "Jackets"); + + #region product Jack Wolfskin KANUKA POINT + + var productJackWolfsKinKanukaPoint = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "KANUKA POINT JACKET M", + MetaTitle = "KANUKA POINT JACKET M", + ShortDescription = "SOFTSHELLJACKE MÄNNER", + FullDescription = "

Sportliches Design für sportliche Touren: Die KANUKA POINT ist so gern in Bewegung wie du. Die Softshelljacke besteht aus superelastischem und sehr atmungsaktivem Material, das sich unterwegs jeder deiner Bewegungen anpasst. Deswegen nimmst du mit der KANUKA POINT jeden Pass mit Leichtigkeit.Und musst dir auch bei Kraxeleien zum Gipfel keine Gedanken um deine Jacke machen, denn ihr Material hält einiges aus.Auch bei Wind und leichten Schauern bleibst du gelassen.

", + Sku = "jack-1305851", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + Price = 83.90M, + OldPrice = 119.95M, + ManageInventoryMethod = ManageInventoryMethod.ManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + IsShipEnabled = true, + DeliveryTime = firstDeliveryTime, + DisplayOrder = 5 + }; + + AddProductPicture(productJackWolfsKinKanukaPoint, "product_jack_wolfskin_kanuka_point_1.png", "jack-wolfskin-kanuka-point-1"); - #region category golf + productJackWolfsKinKanukaPoint.ProductCategories.Add(new ProductCategory { Category = categoryJackets, DisplayOrder = 1 }); + + productJackWolfsKinKanukaPoint.ProductManufacturers.Add(new ProductManufacturer + { + Manufacturer = _ctx.Set().Where(c => c.Name == "Jack-Wolfskin").Single(), + DisplayOrder = 1, + }); + + #endregion product Jack Wolfskin KANUKA POINT + #endregion category jackets - var categoryGolf = _ctx.Set().First(c => c.Alias == "Golf"); + + #region category golf #region product Titleist SM6 Tour Chrome @@ -10172,7 +10405,7 @@ public IList Products() Published = true, MetaTitle = "Titleist SM6 Tour Chrome", Price = 164.95M, - OldPrice= 199.95M, + OldPrice = 199.95M, IsGiftCard = false, ManageInventoryMethod = ManageInventoryMethod.ManageStock, OrderMinimumQuantity = 1, @@ -10186,13 +10419,9 @@ public IList Products() AddProductPicture(productTitleistSM6TourChrome, "product_titleist_sm6_tour_chrome.jpg"); - productTitleistSM6TourChrome.ProductCategories.Add(new ProductCategory { Category = categoryGolf, DisplayOrder = 1 }); + productTitleistSM6TourChrome.ProductCategories.Add(new ProductCategory { Category = categories["Golf"], DisplayOrder = 1 }); - productTitleistSM6TourChrome.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Titleist").Single(), - DisplayOrder = 1, - }); + productTitleistSM6TourChrome.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Titleist"], DisplayOrder = 1 }); #endregion product Titleist SM6 Tour Chrome @@ -10225,13 +10454,9 @@ public IList Products() AddProductPicture(productTitleistProV1x, "product_titleist-pro-v1x.jpg"); - productTitleistProV1x.ProductCategories.Add(new ProductCategory { Category = categoryGolf, DisplayOrder = 1 }); + productTitleistProV1x.ProductCategories.Add(new ProductCategory { Category = categories["Golf"], DisplayOrder = 1 }); - productTitleistProV1x.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Titleist").Single(), - DisplayOrder = 1, - }); + productTitleistProV1x.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Titleist"], DisplayOrder = 1 }); #endregion product Titleist Pro V1x @@ -10265,13 +10490,9 @@ public IList Products() AddProductPicture(productSupremeGolfball, "product_supremeGolfball_1.jpg", "golfball-1"); AddProductPicture(productSupremeGolfball, "product_supremeGolfball_2.jpg", "golfball-2"); - productSupremeGolfball.ProductCategories.Add(new ProductCategory { Category = categoryGolf, DisplayOrder = 1 }); + productSupremeGolfball.ProductCategories.Add(new ProductCategory { Category = categories["Golf"], DisplayOrder = 1 }); - productSupremeGolfball.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Titleist").Single(), - DisplayOrder = 1, - }); + productSupremeGolfball.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Titleist"], DisplayOrder = 1 }); #endregion product Supreme Golfball @@ -10304,13 +10525,9 @@ public IList Products() AddProductPicture(productGBBEpicSubZeroDriver, "product_gbb-epic-sub-zero-driver.jpg"); - productGBBEpicSubZeroDriver.ProductCategories.Add(new ProductCategory { Category = categoryGolf, DisplayOrder = 1 }); + productGBBEpicSubZeroDriver.ProductCategories.Add(new ProductCategory { Category = categories["Golf"], DisplayOrder = 1 }); - productGBBEpicSubZeroDriver.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Titleist").Single(), - DisplayOrder = 1, - }); + productGBBEpicSubZeroDriver.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Titleist"], DisplayOrder = 1 }); #endregion product GBB Epic Sub Zero Driver @@ -10318,8 +10535,6 @@ public IList Products() #region category Soccer - var categorySoccer = _ctx.Set().First(c => c.Alias == "Soccer"); - #region product Nike Strike Football var productNikeStrikeFootball = new Product @@ -10329,7 +10544,7 @@ public IList Products() Name = "Nike Strike Football", IsEsd = false, ShortDescription = "GREAT TOUCH. HIGH VISIBILITY.", - FullDescription = "

Enhance play everyday, with the Nike Strike Football.

Reinforced rubber retains its shape for confident and consistent control. A stand out Visual Power graphic in black, green and orange is best for ball tracking, despite dark or inclement conditions.

  • Visual Power graphic helps give a true read on flight trajectory.
  • Textured casing offers superior touch.
  • Reinforced rubber bladder supports air and shape retention.
  • 66% rubber/ 15% polyurethane/ 13% polyester/ 7% EVA.
", + FullDescription = "

Enhance play everyday, with the Nike Strike Football.

Reinforced rubber retains its shape for confident and consistent control. A stand out Visual Power graphic in black, green and orange is best for ball tracking, despite dark or inclement conditions.

  • Visual Power graphic helps give a true read on flight trajectory.
  • Textured casing offers superior touch.
  • Reinforced rubber bladder supports air and shape retention.
  • 66% rubber/ 15% polyurethane/ 13% polyester/ 7% EVA.
", Sku = "P-5004", ProductTemplateId = productTemplate.Id, AllowCustomerReviews = true, @@ -10351,13 +10566,9 @@ public IList Products() AddProductPicture(productNikeStrikeFootball, "products_nike-strike-football.jpg"); - productNikeStrikeFootball.ProductCategories.Add(new ProductCategory { Category = categorySoccer, DisplayOrder = 1 }); + productNikeStrikeFootball.ProductCategories.Add(new ProductCategory { Category = categories["Soccer"], DisplayOrder = 1 }); - productNikeStrikeFootball.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Nike").Single(), - DisplayOrder = 1, - }); + productNikeStrikeFootball.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Nike"], DisplayOrder = 1 }); productNikeStrikeFootball.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10365,7 +10576,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Manufacturer -> Nike - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder ==20).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 20).Single() + SpecificationAttributeOption = specAttributes[20].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 20) }); productNikeStrikeFootball.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10373,7 +10584,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Material -> rubber - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 12).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 12) }); productNikeStrikeFootball.TierPrices.Add(new TierPrice { Quantity = 6, Price = 26.90M }); @@ -10411,13 +10622,9 @@ public IList Products() AddProductPicture(productNikeEvoPowerBall, "product_nike-vopower-53-trainer-hs-ball.jpg"); - productNikeEvoPowerBall.ProductCategories.Add(new ProductCategory { Category = categorySoccer, DisplayOrder = 1 }); + productNikeEvoPowerBall.ProductCategories.Add(new ProductCategory { Category = categories["Soccer"], DisplayOrder = 1 }); - productNikeEvoPowerBall.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Nike").Single(), - DisplayOrder = 1, - }); + productNikeEvoPowerBall.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Nike"], DisplayOrder = 1 }); productNikeEvoPowerBall.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10425,7 +10632,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Manufacturer -> Nike - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 20).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 20).Single() + SpecificationAttributeOption = specAttributes[20].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 20) }); productNikeEvoPowerBall.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10433,7 +10640,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Material -> leather - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 5).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 5) }); #endregion Evopower 5.3 Trainer HS Ball @@ -10471,13 +10678,9 @@ public IList Products() AddProductPicture(productTorfabrikOfficialGameBall, "product_torfabrik-offizieller-spielball_blue.png", "official-game-ball-blue"); AddProductPicture(productTorfabrikOfficialGameBall, "product_torfabrik-offizieller-spielball_green.png", "official-game-ball-green"); - productTorfabrikOfficialGameBall.ProductCategories.Add(new ProductCategory { Category = categorySoccer, DisplayOrder = 1 }); + productTorfabrikOfficialGameBall.ProductCategories.Add(new ProductCategory { Category = categories["Soccer"], DisplayOrder = 1 }); - productTorfabrikOfficialGameBall.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Adidas").Single(), - DisplayOrder = 1, - }); + productTorfabrikOfficialGameBall.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Adidas"], DisplayOrder = 1 }); productTorfabrikOfficialGameBall.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10485,7 +10688,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Manufacturer -> Adidas - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 20).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 19).Single() + SpecificationAttributeOption = specAttributes[20].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 19) }); productTorfabrikOfficialGameBall.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10493,7 +10696,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Material -> leather - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 5).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 5) }); #endregion Torfabrik official game ball @@ -10533,13 +10736,9 @@ public IList Products() AddProductPicture(productAdidasTangoSalaBall, "product_adidas-tango-pasadena-ball-brown.jpg", "adidas-tango-pasadena-ball-brown"); AddProductPicture(productAdidasTangoSalaBall, "product_adidas-tango-pasadena-ball-blue.jpg", "adidas-tango-pasadena-ball-blue"); - productAdidasTangoSalaBall.ProductCategories.Add(new ProductCategory { Category = categorySoccer, DisplayOrder = 1 }); + productAdidasTangoSalaBall.ProductCategories.Add(new ProductCategory { Category = categories["Soccer"], DisplayOrder = 1 }); - productAdidasTangoSalaBall.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Adidas").Single(), - DisplayOrder = 1, - }); + productAdidasTangoSalaBall.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Adidas"], DisplayOrder = 1 }); productAdidasTangoSalaBall.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10547,7 +10746,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Manufacturer -> Adidas - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 20).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 19).Single() + SpecificationAttributeOption = specAttributes[20].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 19) }); productAdidasTangoSalaBall.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10555,7 +10754,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Material -> leather - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 5).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 5) }); #endregion Adidas TANGO SALA BALL @@ -10564,8 +10763,6 @@ public IList Products() #region category Basketball - var categoryBasketball = _ctx.Set().First(c => c.Alias == "Basketball"); - #region Wilson Evolution High School Game Basketball var productEvolutionHighSchoolGameBasketball = new Product @@ -10597,13 +10794,9 @@ public IList Products() AddProductPicture(productEvolutionHighSchoolGameBasketball, "product_evolution-high-school-game-basketball.jpg"); - productEvolutionHighSchoolGameBasketball.ProductCategories.Add(new ProductCategory { Category = categoryBasketball, DisplayOrder = 1 }); + productEvolutionHighSchoolGameBasketball.ProductCategories.Add(new ProductCategory { Category = categories["Basketball"], DisplayOrder = 1 }); - productEvolutionHighSchoolGameBasketball.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Adidas").Single(), - DisplayOrder = 1, - }); + productEvolutionHighSchoolGameBasketball.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Adidas"], DisplayOrder = 1 }); productEvolutionHighSchoolGameBasketball.TierPrices.Add(new TierPrice { Quantity = 6, Price = 24.90M }); productEvolutionHighSchoolGameBasketball.TierPrices.Add(new TierPrice { Quantity = 12, Price = 22.90M }); @@ -10640,13 +10833,9 @@ public IList Products() AddProductPicture(productAllCourtBasketball, "product_all-court-basketball.png"); - productAllCourtBasketball.ProductCategories.Add(new ProductCategory { Category = categoryBasketball, DisplayOrder = 1 }); + productAllCourtBasketball.ProductCategories.Add(new ProductCategory { Category = categories["Basketball"], DisplayOrder = 1 }); - productAllCourtBasketball.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Adidas").Single(), - DisplayOrder = 1, - }); + productAllCourtBasketball.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Adidas"], DisplayOrder = 1 }); #endregion All Court Basketball @@ -10654,8 +10843,6 @@ public IList Products() #region category sunglasses - var categorySunglasses = _ctx.Set().First(c => c.Alias == "Sunglasses"); - #region product Top bar var productRayBanTopBar = new Product @@ -10687,13 +10874,9 @@ public IList Products() AddProductPicture(productRayBanTopBar, "product_RayBanTopBar_2.jpg", "rayban-top-bar-2"); AddProductPicture(productRayBanTopBar, "product_RayBanTopBar_3.jpg", "rayban-top-bar-3"); - productRayBanTopBar.ProductCategories.Add(new ProductCategory { Category = categorySunglasses, DisplayOrder = 1 }); + productRayBanTopBar.ProductCategories.Add(new ProductCategory { Category = categories["Sunglasses"], DisplayOrder = 1 }); - productRayBanTopBar.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Ray-Ban").Single(), - DisplayOrder = 1, - }); + productRayBanTopBar.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Ray-Ban"], DisplayOrder = 1 }); #endregion product Top bar @@ -10731,13 +10914,9 @@ public IList Products() AddProductPicture(productOriginalWayfarer, "product_productOriginalWayfarer_5.jpg", "wayfarer-green-classic-havana-black"); AddProductPicture(productOriginalWayfarer, "product_productOriginalWayfarer_6.jpg", "wayfarer-blue-gray-classic-black-3"); - productOriginalWayfarer.ProductCategories.Add(new ProductCategory { Category = categorySunglasses, DisplayOrder = 1 }); + productOriginalWayfarer.ProductCategories.Add(new ProductCategory { Category = categories["Sunglasses"], DisplayOrder = 1 }); - productOriginalWayfarer.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Ray-Ban").Single(), - DisplayOrder = 1, - }); + productOriginalWayfarer.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Ray-Ban"], DisplayOrder = 1 }); #endregion product ORIGINAL WAYFARER AT COLLECTION @@ -10770,13 +10949,9 @@ public IList Products() AddProductPicture(productRadarEVPrizmSportsSunglasses, "product_radar_ev_prizm.jpg"); - productRadarEVPrizmSportsSunglasses.ProductCategories.Add(new ProductCategory { Category = categorySunglasses, DisplayOrder = 1 }); + productRadarEVPrizmSportsSunglasses.ProductCategories.Add(new ProductCategory { Category = categories["Sunglasses"], DisplayOrder = 1 }); - productRadarEVPrizmSportsSunglasses.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Oakley").Single(), - DisplayOrder = 1, - }); + productRadarEVPrizmSportsSunglasses.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Oakley"], DisplayOrder = 1 }); #endregion product Radar EV Prizm Sports Sunglasses @@ -10855,13 +11030,9 @@ public IList Products() AddProductPicture(productCustomFlakSunglasses, "product_CustomFlak_skyblue_sapphireiridium.jpg", "custom_flak_skyblue_sapphireiridium"); AddProductPicture(productCustomFlakSunglasses, "product_CustomFlak_skyblue_violetiridium.jpg", "custom_flak_skyblue_violetiridium"); - productCustomFlakSunglasses.ProductCategories.Add(new ProductCategory { Category = categorySunglasses, DisplayOrder = 1 }); + productCustomFlakSunglasses.ProductCategories.Add(new ProductCategory { Category = categories["Sunglasses"], DisplayOrder = 1 }); - productCustomFlakSunglasses.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Oakley").Single(), - DisplayOrder = 1, - }); + productCustomFlakSunglasses.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Oakley"], DisplayOrder = 1 }); #endregion product Custom Flak Sunglasses @@ -10870,8 +11041,6 @@ public IList Products() #region category apple - var categoryApple = _ctx.Set().First(c => c.Alias == "Apple"); - #region product iphone plus var productIphoneplus = new Product @@ -10909,7 +11078,7 @@ public IList Products() AddProductPicture(productIphoneplus, "product_iphone-plus_rose.jpg", "iphone-plus-rose"); AddProductPicture(productIphoneplus, "product_iphone-plus_gold.jpg", "iphone-plus-gold"); - productIphoneplus.ProductCategories.Add(new ProductCategory { Category = categoryApple, DisplayOrder = 1 }); + productIphoneplus.ProductCategories.Add(new ProductCategory { Category = categories["Apple"], DisplayOrder = 1 }); productIphoneplus.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10917,7 +11086,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // offer type -> Permanent low price - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 22).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() + SpecificationAttributeOption = specAttributes[22].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) }); productIphoneplus.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute @@ -10926,7 +11095,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // storage capacity -> 64gb - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 27).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() + SpecificationAttributeOption = specAttributes[27].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) }); productIphoneplus.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10934,7 +11103,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // storage capacity -> 128gb - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 27).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[27].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); productIphoneplus.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -10942,7 +11111,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // operating system -> ios - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 5).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 9).Single() + SpecificationAttributeOption = specAttributes[5].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) }); #endregion product iphone plus @@ -10978,22 +11147,17 @@ public IList Products() AddProductPicture(productWatchSeries2, "product_watchseries2_1.jpg", "watchseries-1"); AddProductPicture(productWatchSeries2, "product_watchseries2_2.jpg", "watchseries-2"); - productWatchSeries2.ProductCategories.Add(new ProductCategory { Category = categoryApple, DisplayOrder = 1 }); + productWatchSeries2.ProductCategories.Add(new ProductCategory { Category = categories["Apple"], DisplayOrder = 1 }); - productWatchSeries2.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Apple").Single(), - DisplayOrder = 1, - }); + productWatchSeries2.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Apple"], DisplayOrder = 1 }); - //attributes productWatchSeries2.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, // offer type -> offer of the day - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 22).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 6).Single() + SpecificationAttributeOption = specAttributes[22].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 6) }); productWatchSeries2.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute @@ -11002,7 +11166,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // storage capacity -> 32gb - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 27).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[27].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productWatchSeries2.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute @@ -11011,7 +11175,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // operating system -> ios - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 5).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 9).Single() + SpecificationAttributeOption = specAttributes[5].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) }); #endregion product Watch Series 2 @@ -11050,13 +11214,9 @@ public IList Products() AddProductPicture(productAirpods, "products_airpods_gold.jpg", "airpods-gold"); AddProductPicture(productAirpods, "products_airpods_mint.jpg", "airpods-mint"); - productAirpods.ProductCategories.Add(new ProductCategory { Category = categoryApple, DisplayOrder = 1 }); + productAirpods.ProductCategories.Add(new ProductCategory { Category = categories["Apple"], DisplayOrder = 1 }); - productAirpods.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Apple").Single(), - DisplayOrder = 7, - }); + productAirpods.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Apple"], DisplayOrder = 7 }); #endregion product Airpods @@ -11097,16 +11257,12 @@ public IList Products() AddProductPicture(productAppleProHipsterBundle, "product_iphoneplus_2.jpg", "bundle-iphoneplus"); AddProductPicture(productAppleProHipsterBundle, "category_apple.png", "bundle-apple"); - productAppleProHipsterBundle.ProductCategories.Add(new ProductCategory { Category = categoryApple, DisplayOrder = 1 }); + productAppleProHipsterBundle.ProductCategories.Add(new ProductCategory { Category = categories["Apple"], DisplayOrder = 1 }); - productAppleProHipsterBundle.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Apple").Single(), - DisplayOrder = 1, - }); + productAppleProHipsterBundle.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Apple"], DisplayOrder = 1 }); #endregion product Ultimate Apple Pro Hipster Bundle - + #region product 9,7 iPad var product97ipad = new Product @@ -11151,14 +11307,9 @@ public IList Products() AddProductPicture(product97ipad, "product_97-ipad-gold.jpg", "ipad-gold"); AddProductPicture(product97ipad, "product_97-ipad-silver.jpg", "ipad-silver"); - product97ipad.ProductCategories.Add(new ProductCategory { Category = categoryApple, DisplayOrder = 1 }); - - product97ipad.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Apple").Single(), - DisplayOrder = 1, - }); + product97ipad.ProductCategories.Add(new ProductCategory { Category = categories["Apple"], DisplayOrder = 1 }); + product97ipad.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Apple"], DisplayOrder = 1 }); product97ipad.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11166,16 +11317,16 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // offer type -> promotion - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 22).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[22].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); - + product97ipad.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 1, // storage capacity -> 64gb - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 27).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() + SpecificationAttributeOption = specAttributes[27].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) }); product97ipad.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11183,7 +11334,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // storage capacity -> 128gb - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 27).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[27].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); product97ipad.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11191,7 +11342,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // operating system -> ios - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 5).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 9).Single() + SpecificationAttributeOption = specAttributes[5].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) }); #endregion product 9,7 iPad @@ -11200,641 +11351,633 @@ public IList Products() #region category Gift Cards - var categoryGiftCards = _ctx.Set().First(c => c.Alias == "Gift Cards"); - - #region product10GiftCard - - var product10GiftCard = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "$10 Virtual Gift Card", - IsEsd = true, - ShortDescription = "$10 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products.", - FullDescription = "

Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.

", - Sku = "P-1000", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "$10 Virtual Gift Card", - Price = 10M, - IsGiftCard = true, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - DisplayOrder = 1 - }; - - AddProductPicture(product10GiftCard, "product_gift_card_10.png"); - product10GiftCard.ProductCategories.Add(new ProductCategory { Category = categoryGiftCards, DisplayOrder = 1 }); - - #endregion product10GiftCard - - #region product25GiftCard - - var product25GiftCard = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "$25 Virtual Gift Card", - IsEsd = true, - ShortDescription = "$25 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products.", - FullDescription = "

Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.

", - Sku = "P-1001", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "$25 Virtual Gift Card", - Price = 25M, - IsGiftCard = true, - GiftCardType = GiftCardType.Virtual, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - DisplayOrder = 2 - }; - - AddProductPicture(product25GiftCard, "product_gift_card_25.png"); - product25GiftCard.ProductCategories.Add(new ProductCategory { Category = categoryGiftCards, DisplayOrder = 1 }); - - #endregion product25GiftCard - - #region product50GiftCard - - var product50GiftCard = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "$50 Virtual Gift Card", - IsEsd = true, - ShortDescription = "$50 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products.", - FullDescription = "

Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.

", - Sku = "P-1002", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "$50 Virtual Gift Card", - Price = 50M, - IsGiftCard = true, - GiftCardType = GiftCardType.Virtual, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - DisplayOrder = 3 - }; - - AddProductPicture(product50GiftCard, "product_gift_card_50.png"); - product50GiftCard.ProductCategories.Add(new ProductCategory { Category = categoryGiftCards, DisplayOrder = 1 }); - - #endregion product50GiftCard - - #region product100GiftCard + #region product10GiftCard - var product100GiftCard = new Product + var product10GiftCard = new Product { ProductType = ProductType.SimpleProduct, VisibleIndividually = true, - Name = "$100 Virtual Gift Card", + Name = "$10 Virtual Gift Card", IsEsd = true, - ShortDescription = "$100 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products.", + ShortDescription = "$10 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products.", FullDescription = "

Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.

", - Sku = "P-10033", + Sku = "P-1000", ProductTemplateId = productTemplate.Id, AllowCustomerReviews = true, Published = true, - MetaTitle = "$100 Virtual Gift Card", - Price = 100M, + MetaTitle = "$10 Virtual Gift Card", + Price = 10M, IsGiftCard = true, - GiftCardType = GiftCardType.Virtual, ManageInventoryMethod = ManageInventoryMethod.DontManageStock, OrderMinimumQuantity = 1, OrderMaximumQuantity = 10000, StockQuantity = 10000, NotifyAdminForQuantityBelow = 1, AllowBackInStockSubscriptions = false, - DisplayOrder = 4, + DisplayOrder = 1 }; - AddProductPicture(product100GiftCard, "product_gift_card_100.png"); - product100GiftCard.ProductCategories.Add(new ProductCategory { Category = categoryGiftCards, DisplayOrder = 1 }); + AddProductPicture(product10GiftCard, "product_gift_card_10.png"); + product10GiftCard.ProductCategories.Add(new ProductCategory { Category = categories["Gift Cards"], DisplayOrder = 1 }); - #endregion product100GiftCard + #endregion product10GiftCard + + #region product25GiftCard + + var product25GiftCard = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "$25 Virtual Gift Card", + IsEsd = true, + ShortDescription = "$25 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products.", + FullDescription = "

Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.

", + Sku = "P-1001", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "$25 Virtual Gift Card", + Price = 25M, + IsGiftCard = true, + GiftCardType = GiftCardType.Virtual, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + DisplayOrder = 2 + }; + + AddProductPicture(product25GiftCard, "product_gift_card_25.png"); + product25GiftCard.ProductCategories.Add(new ProductCategory { Category = categories["Gift Cards"], DisplayOrder = 1 }); + + #endregion product25GiftCard + + #region product50GiftCard + + var product50GiftCard = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "$50 Virtual Gift Card", + IsEsd = true, + ShortDescription = "$50 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products.", + FullDescription = "

Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.

", + Sku = "P-1002", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "$50 Virtual Gift Card", + Price = 50M, + IsGiftCard = true, + GiftCardType = GiftCardType.Virtual, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + DisplayOrder = 3 + }; + + AddProductPicture(product50GiftCard, "product_gift_card_50.png"); + product50GiftCard.ProductCategories.Add(new ProductCategory { Category = categories["Gift Cards"], DisplayOrder = 1 }); + + #endregion product50GiftCard + + #region product100GiftCard + + var product100GiftCard = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "$100 Virtual Gift Card", + IsEsd = true, + ShortDescription = "$100 Gift Card. Gift Cards must be redeemed through our site Web site toward the purchase of eligible products.", + FullDescription = "

Gift Cards must be redeemed through our site Web site toward the purchase of eligible products. Purchases are deducted from the GiftCard balance. Any unused balance will be placed in the recipient's GiftCard account when redeemed. If an order exceeds the amount of the GiftCard, the balance must be paid with a credit card or other available payment method.

", + Sku = "P-10033", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "$100 Virtual Gift Card", + Price = 100M, + IsGiftCard = true, + GiftCardType = GiftCardType.Virtual, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + DisplayOrder = 4, + }; + + AddProductPicture(product100GiftCard, "product_gift_card_100.png"); + product100GiftCard.ProductCategories.Add(new ProductCategory { Category = categories["Gift Cards"], DisplayOrder = 1 }); + + #endregion product100GiftCard #endregion category Gift Cards #region category books - var categorySpiegelBestseller = _ctx.Set().First(c => c.Alias == "SPIEGEL-Bestseller"); - var categoryCookAndEnjoy = _ctx.Set().First(c => c.Alias == "Cook and enjoy"); - var categoryBooks = _ctx.Set().First(c => c.Alias == "Books"); + #region productBooksUberMan - #region productBooksUberMan - - var productBooksUberMan = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "Überman: The novel", - ShortDescription = "(Hardcover)", - FullDescription = "

From idiots to riches - and back ... Ever since it with my Greek financial advisors were no more delicious cookies to meetings, I should have known something. Was the last cookie it when I bought a Romanian forest funds and leveraged discount certificates on lean hogs - which is sort of a more stringent bet that the price of lean hogs will remain stable, and that's nothing special because it is also available for cattle and cotton and fat pig. Again and again and I joked Kosmas Nikiforos Sarantakos. About all the part-time seer who tremblingly put for fear the euro crisis gold coins under the salami slices of their frozen pizzas And then came the day that revealed to me in almost Sarantakos fraudulent casualness that my plan had not worked out really. 'Why all of a sudden> my plan', 'I heard myself asking yet, but it was in the garage I realized what that really meant minus 211.2 percent in my portfolio report: personal bankruptcy, gutter and Drug Addiction with subsequent loss of the incisors . Not even the study of my friend, I would still be able to finance. The only way out was to me as quickly as secretly again to draw from this unspeakable Greek shit - I had to be Überman! By far the bekloppteste story about 'idiot' Simon Peter! »Tommy Jaud – Deutschlands witzigste Seite.« Alex Dengler, Bild am Sonntag

", + var productBooksUberMan = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "Überman: The novel", + ShortDescription = "(Hardcover)", + FullDescription = "

From idiots to riches - and back ... Ever since it with my Greek financial advisors were no more delicious cookies to meetings, I should have known something. Was the last cookie it when I bought a Romanian forest funds and leveraged discount certificates on lean hogs - which is sort of a more stringent bet that the price of lean hogs will remain stable, and that's nothing special because it is also available for cattle and cotton and fat pig. Again and again and I joked Kosmas Nikiforos Sarantakos. About all the part-time seer who tremblingly put for fear the euro crisis gold coins under the salami slices of their frozen pizzas And then came the day that revealed to me in almost Sarantakos fraudulent casualness that my plan had not worked out really. 'Why all of a sudden> my plan', 'I heard myself asking yet, but it was in the garage I realized what that really meant minus 211.2 percent in my portfolio report: personal bankruptcy, gutter and Drug Addiction with subsequent loss of the incisors . Not even the study of my friend, I would still be able to finance. The only way out was to me as quickly as secretly again to draw from this unspeakable Greek shit - I had to be Überman! By far the bekloppteste story about 'idiot' Simon Peter! »Tommy Jaud – Deutschlands witzigste Seite.« Alex Dengler, Bild am Sonntag

", Sku = "P-1003", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Überman: The novel", - Price = 16.99M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true - }; + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Überman: The novel", + Price = 16.99M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true + }; AddProductPicture(productBooksUberMan, "0000932_uberman-der-roman.jpeg"); - productBooksUberMan.ProductCategories.Add(new ProductCategory { Category = categorySpiegelBestseller, DisplayOrder = 1 }); + productBooksUberMan.ProductCategories.Add(new ProductCategory { Category = categories["SPIEGEL-Bestseller"], DisplayOrder = 1 }); - productBooksUberMan.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); - productBooksUberMan.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 7).Single() - }); - productBooksUberMan.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productBooksUberMan.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + productBooksUberMan.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 7) + }); + productBooksUberMan.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); - #endregion productBooksUberMan + #endregion productBooksUberMan - #region productBooksGefangeneDesHimmels + #region productBooksGefangeneDesHimmels - var productBooksGefangeneDesHimmels = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "The Prisoner of Heaven: A Novel", - ShortDescription = "(Hardcover)", - FullDescription = "

By Shadow of the Wind and The Angel's Game, the new large-Barcelona novel by Carlos Ruiz Zafón. - Barcelona, Christmas 1957th The bookseller Daniel Sempere and his friend Fermín be drawn again into a great adventure. In the continuation of his international success with Carlos Ruiz Zafón takes the reader on a fascinating journey into his Barcelona. Creepy and fascinating, with incredible suction power and humor, the novel, the story of Fermin, who 'rose from the dead, and the key to the future is.' Fermin's life story linking the threads of The Shadow of the Wind with those from The Angel's Game. A masterful puzzle that keeps the reader around the world in thrall.

Product Hardcover: 416 pages Publisher: S. Fischer Verlag; 1 edition (October 25, 2012) Language: German ISBN-10: 3,100,954,025 ISBN-13: 978-3100954022 Original title: El prisionero del cielo Size and / or weight: 21.4 x 13.6 cm x 4.4

", - ProductTemplateId = productTemplate.Id, + var productBooksGefangeneDesHimmels = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "The Prisoner of Heaven: A Novel", + ShortDescription = "(Hardcover)", + FullDescription = "

By Shadow of the Wind and The Angel's Game, the new large-Barcelona novel by Carlos Ruiz Zafón. - Barcelona, Christmas 1957th The bookseller Daniel Sempere and his friend Fermín be drawn again into a great adventure. In the continuation of his international success with Carlos Ruiz Zafón takes the reader on a fascinating journey into his Barcelona. Creepy and fascinating, with incredible suction power and humor, the novel, the story of Fermin, who 'rose from the dead, and the key to the future is.' Fermin's life story linking the threads of The Shadow of the Wind with those from The Angel's Game. A masterful puzzle that keeps the reader around the world in thrall.

Product Hardcover: 416 pages Publisher: S. Fischer Verlag; 1 edition (October 25, 2012) Language: German ISBN-10: 3,100,954,025 ISBN-13: 978-3100954022 Original title: El prisionero del cielo Size and / or weight: 21.4 x 13.6 cm x 4.4

", + ProductTemplateId = productTemplate.Id, Sku = "P-1004", - AllowCustomerReviews = true, - Published = true, - MetaTitle = "The Prisoner of Heaven: A Novel", - Price = 22.99M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "The Prisoner of Heaven: A Novel", + Price = 22.99M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productBooksGefangeneDesHimmels, "0000935_der-gefangene-des-himmels-roman_300.jpeg"); - productBooksGefangeneDesHimmels.ProductCategories.Add(new ProductCategory { Category = categorySpiegelBestseller, DisplayOrder = 1 }); + productBooksGefangeneDesHimmels.ProductCategories.Add(new ProductCategory { Category = categories["SPIEGEL-Bestseller"], DisplayOrder = 1 }); - productBooksGefangeneDesHimmels.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productBooksGefangeneDesHimmels.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Edition -> bound + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); - productBooksGefangeneDesHimmels.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Category -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 7).Single() - }); - productBooksGefangeneDesHimmels.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productBooksGefangeneDesHimmels.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Category -> bound + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 7) + }); + productBooksGefangeneDesHimmels.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Language -> German + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); - #endregion productBooksGefangeneDesHimmels + #endregion productBooksGefangeneDesHimmels - #region productBooksBestGrillingRecipes + #region productBooksBestGrillingRecipes - var productBooksBestGrillingRecipes = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "Best Grilling Recipes", - ShortDescription = "More Than 100 Regional Favorites Tested and Perfected for the Outdoor Cook (Hardcover)", - FullDescription = "

Take a winding cross-country trip and you'll discover barbecue shacks with offerings like tender-smoky Baltimore pit beef and saucy St. Louis pork steaks. To bring you the best of these hidden gems, along with all the classics, the editors of Cook's Country magazine scoured the country, then tested and perfected their favorites. HEre traditions large and small are brought into the backyard, from Hawaii's rotisserie favorite, the golden-hued Huli Huli Chicken, to fall-off-the-bone Chicago Barbecued Ribs. In Kansas City, they're all about the sauce, and for our saucy Kansas City Sticky Ribs, we found a surprise ingredient-root beer. We also tackle all the best sides.

Not sure where or how to start? This cookbook kicks off with an easy-to-follow primer that will get newcomers all fired up. Whether you want to entertain a crowd or just want to learn to make perfect burgers, Best Grilling Recipes shows you the way.

", - ProductTemplateId = productTemplate.Id, + var productBooksBestGrillingRecipes = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "Best Grilling Recipes", + ShortDescription = "More Than 100 Regional Favorites Tested and Perfected for the Outdoor Cook (Hardcover)", + FullDescription = "

Take a winding cross-country trip and you'll discover barbecue shacks with offerings like tender-smoky Baltimore pit beef and saucy St. Louis pork steaks. To bring you the best of these hidden gems, along with all the classics, the editors of Cook's Country magazine scoured the country, then tested and perfected their favorites. HEre traditions large and small are brought into the backyard, from Hawaii's rotisserie favorite, the golden-hued Huli Huli Chicken, to fall-off-the-bone Chicago Barbecued Ribs. In Kansas City, they're all about the sauce, and for our saucy Kansas City Sticky Ribs, we found a surprise ingredient-root beer. We also tackle all the best sides.

Not sure where or how to start? This cookbook kicks off with an easy-to-follow primer that will get newcomers all fired up. Whether you want to entertain a crowd or just want to learn to make perfect burgers, Best Grilling Recipes shows you the way.

", + ProductTemplateId = productTemplate.Id, Sku = "P-1005", - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Best Grilling Recipes", - Price = 27.00M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Best Grilling Recipes", + Price = 27.00M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productBooksBestGrillingRecipes, "product_bestgrillingrecipes.jpg"); - productBooksBestGrillingRecipes.ProductCategories.Add(new ProductCategory { Category = categoryCookAndEnjoy, DisplayOrder = 1 }); - - productBooksBestGrillingRecipes.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); - productBooksBestGrillingRecipes.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Category -> cook & bake - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 8).Single() - }); - productBooksBestGrillingRecipes.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() - }); + productBooksBestGrillingRecipes.ProductCategories.Add(new ProductCategory { Category = categories["Cook and enjoy"], DisplayOrder = 1 }); + + productBooksBestGrillingRecipes.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Edition -> bound + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + productBooksBestGrillingRecipes.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Category -> cook & bake + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 8) + }); + productBooksBestGrillingRecipes.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Language -> German + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) + }); - #endregion productBooksBestGrillingRecipes + #endregion productBooksBestGrillingRecipes - #region productBooksCookingForTwo + #region productBooksCookingForTwo - var productBooksCookingForTwo = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "Cooking for Two", - ShortDescription = "More Than 200 Foolproof Recipes for Weeknights and Special Occasions (Hardcover)", - FullDescription = "

In Cooking for Two, the test kitchen's goal was to take traditional recipes and cut them down to size to serve just twowith tailored cooking techniques and smart shopping tips that will cut down on wasted food and wasted money. Great lasagna starts to lose its luster when you're eating the leftovers for the fourth day in a row. While it may seem obvious that a recipe for four can simply be halved to work, our testing has proved that this is not always the case; cooking with smaller amounts of ingredients often requires different preparation techniques, cooking time, temperature, and the proportion of ingredients. This was especially true as we worked on scaled-down desserts; baking is an unforgiving science in which any changes in recipe amounts often called for changes in baking times and temperatures.

Hardcover: 352 pages
Publisher: America's Test Kitchen (May 2009)
Language: English
ISBN-10: 1933615435
ISBN-13: 978-1933615431

", - ProductTemplateId = productTemplate.Id, + var productBooksCookingForTwo = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "Cooking for Two", + ShortDescription = "More Than 200 Foolproof Recipes for Weeknights and Special Occasions (Hardcover)", + FullDescription = "

In Cooking for Two, the test kitchen's goal was to take traditional recipes and cut them down to size to serve just twowith tailored cooking techniques and smart shopping tips that will cut down on wasted food and wasted money. Great lasagna starts to lose its luster when you're eating the leftovers for the fourth day in a row. While it may seem obvious that a recipe for four can simply be halved to work, our testing has proved that this is not always the case; cooking with smaller amounts of ingredients often requires different preparation techniques, cooking time, temperature, and the proportion of ingredients. This was especially true as we worked on scaled-down desserts; baking is an unforgiving science in which any changes in recipe amounts often called for changes in baking times and temperatures.

Hardcover: 352 pages
Publisher: America's Test Kitchen (May 2009)
Language: English
ISBN-10: 1933615435
ISBN-13: 978-1933615431

", + ProductTemplateId = productTemplate.Id, Sku = "P-1006", - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Cooking for Two", - Price = 27.00M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Cooking for Two", + Price = 27.00M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = secondDeliveryTime.Id }; AddProductPicture(productBooksCookingForTwo, "product_cookingfortwo.jpg"); - productBooksCookingForTwo.ProductCategories.Add(new ProductCategory { Category = categoryCookAndEnjoy, DisplayOrder = 1 }); + productBooksCookingForTwo.ProductCategories.Add(new ProductCategory { Category = categories["Cook and enjoy"], DisplayOrder = 1 }); - productBooksCookingForTwo.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); - productBooksCookingForTwo.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Category -> cook & bake - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 8).Single() - }); - productBooksCookingForTwo.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() - }); + productBooksCookingForTwo.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Edition -> bound + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + productBooksCookingForTwo.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Category -> cook & bake + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 8) + }); + productBooksCookingForTwo.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Language -> German + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) + }); - #endregion productBooksCookingForTwo + #endregion productBooksCookingForTwo - #region productBooksAutosDerSuperlative + #region productBooksAutosDerSuperlative - var productBooksAutosDerSuperlative = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "Car of superlatives: the strongest, the first, the most beautiful, the fastest", - ShortDescription = "Hardcover", - FullDescription = "

For some, the car is only a useful means of transportation. For everyone else, there are 'cars - The Ultimate Guide' of art-connoisseur Michael Doerflinger. With authentic images, all important data and a lot of information can be presented to the fastest, most innovative, the strongest, the most unusual and the most successful examples of automotive history. A comprehensive manual for the specific reference and extensive browsing.

", + var productBooksAutosDerSuperlative = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "Car of superlatives: the strongest, the first, the most beautiful, the fastest", + ShortDescription = "Hardcover", + FullDescription = "

For some, the car is only a useful means of transportation. For everyone else, there are 'cars - The Ultimate Guide' of art-connoisseur Michael Doerflinger. With authentic images, all important data and a lot of information can be presented to the fastest, most innovative, the strongest, the most unusual and the most successful examples of automotive history. A comprehensive manual for the specific reference and extensive browsing.

", Sku = "P-1007", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Car of superlatives", - Price = 14.95M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Car of superlatives", + Price = 14.95M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = thirdDeliveryTime.Id }; AddProductPicture(productBooksAutosDerSuperlative, "0000944_autos-der-superlative-die-starksten-die-ersten-die-schonsten-die-schnellsten.jpeg"); - productBooksAutosDerSuperlative.ProductCategories.Add(new ProductCategory { Category = categoryBooks, DisplayOrder = 1 }); - - productBooksAutosDerSuperlative.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); - productBooksAutosDerSuperlative.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Category -> cars - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 6).Single() - }); - productBooksAutosDerSuperlative.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productBooksAutosDerSuperlative.ProductCategories.Add(new ProductCategory { Category = categories["Books"], DisplayOrder = 1 }); + + productBooksAutosDerSuperlative.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Edition -> bound + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + productBooksAutosDerSuperlative.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Category -> cars + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 6) + }); + productBooksAutosDerSuperlative.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Language -> German + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); - #endregion productBooksAutosDerSuperlative + #endregion productBooksAutosDerSuperlative - #region productBooksBildatlasMotorraeder + #region productBooksBildatlasMotorraeder - var productBooksBildatlasMotorraeder = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "Picture Atlas Motorcycles: With more than 350 brilliant images", - ShortDescription = "Hardcover", - FullDescription = "

Motorcycles are like no other means of transportation for the great dream of freedom and adventure. This richly illustrated atlas image portrayed in brilliant color photographs and informative text, the most famous bikes of the world's motorcycle history. From the primitive steam engine under the saddle of the late 19th Century up to the hugely powerful, equipped with the latest electronics and computer technology superbikes of today he is an impressive picture of the development and fabrication of noble and fast-paced motorcycles. The myth of the motorcycle is just as much investigated as a motorcycle as a modern lifestyle product of our time. Country-specific, company-historical background information and interesting stories and History about the people who preceded drove one of the seminal inventions of recent centuries and evolved, make this comprehensive illustrated book an incomparable reference for any motorcycle enthusiast and technology enthusiasts.

• Extensive history of the legendary models of all major motorcycle manufacturers worldwide
• With more than 350 brilliant color photographs and fascinating background information relating
• With informative drawings, stunning detail shots and explanatory info-boxes

content • 1817 1913: The beginning of a success story
• 1914 1945: mass mobility
• 1946 1990: Battle for the World Market
• In 1991: The modern motorcycle
• motorcycle cult object: From Transportation to Lifestyle

", + var productBooksBildatlasMotorraeder = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "Picture Atlas Motorcycles: With more than 350 brilliant images", + ShortDescription = "Hardcover", + FullDescription = "

Motorcycles are like no other means of transportation for the great dream of freedom and adventure. This richly illustrated atlas image portrayed in brilliant color photographs and informative text, the most famous bikes of the world's motorcycle history. From the primitive steam engine under the saddle of the late 19th Century up to the hugely powerful, equipped with the latest electronics and computer technology superbikes of today he is an impressive picture of the development and fabrication of noble and fast-paced motorcycles. The myth of the motorcycle is just as much investigated as a motorcycle as a modern lifestyle product of our time. Country-specific, company-historical background information and interesting stories and History about the people who preceded drove one of the seminal inventions of recent centuries and evolved, make this comprehensive illustrated book an incomparable reference for any motorcycle enthusiast and technology enthusiasts.

• Extensive history of the legendary models of all major motorcycle manufacturers worldwide
• With more than 350 brilliant color photographs and fascinating background information relating
• With informative drawings, stunning detail shots and explanatory info-boxes

content • 1817 1913: The beginning of a success story
• 1914 1945: mass mobility
• 1946 1990: Battle for the World Market
• In 1991: The modern motorcycle
• motorcycle cult object: From Transportation to Lifestyle

", Sku = "P-1008", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Picture Atlas Motorcycles", - Price = 14.99M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Picture Atlas Motorcycles", + Price = 14.99M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productBooksBildatlasMotorraeder, "0000942_bildatlas-motorrader-mit-mehr-als-350-brillanten-abbildungen.jpeg"); - productBooksBildatlasMotorraeder.ProductCategories.Add(new ProductCategory { Category = categoryBooks, DisplayOrder = 1 }); - - productBooksBildatlasMotorraeder.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); - productBooksBildatlasMotorraeder.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Category -> non-fiction - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 9).Single() - }); - productBooksBildatlasMotorraeder.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productBooksBildatlasMotorraeder.ProductCategories.Add(new ProductCategory { Category = categories["Books"], DisplayOrder = 1 }); - #endregion productBooksBildatlasMotorraeder - - #region productBooksAutoBuch - - var productBooksAutoBuch = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "The Car Book. The great history with over 1200 models", - ShortDescription = "Hardcover", - FullDescription = "

Makes, models, milestones
The car - for some, a utensil for other expression of lifestyle, cult object and passion. Few inventions have changed their lives as well as the good of the automobile 125 years ago - one more reason for this extensive chronicle. The car-book brings the history of the automobile to life. It presents more than 1200 important models - Karl Benz 'Motorwagen about legendary cult car to advanced hybrid vehicles. It explains the milestones in engine technology and portrays the big brands and their designers. Characteristics from small cars to limousines and send racing each era invite you to browse and discover. The most comprehensive and bestbebildert illustrated book on the market - it would be any car lover!

Hardcover: 360 pages
Publisher: Dorling Kindersley Publishing (September 27, 2012)
Language: German
ISBN-10: 3,831,022,062
ISBN-13: 978-3831022069
Size and / or weight: 30.6 x 25.8 x 2.8 cm

", - Sku = "P-1009", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "The Car Book", - Price = 29.95M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + productBooksBildatlasMotorraeder.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Edition -> bound + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + productBooksBildatlasMotorraeder.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Category -> non-fiction + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) + }); + productBooksBildatlasMotorraeder.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Language -> German + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + + #endregion productBooksBildatlasMotorraeder + + #region productBooksAutoBuch + + var productBooksAutoBuch = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "The Car Book. The great history with over 1200 models", + ShortDescription = "Hardcover", + FullDescription = "

Makes, models, milestones
The car - for some, a utensil for other expression of lifestyle, cult object and passion. Few inventions have changed their lives as well as the good of the automobile 125 years ago - one more reason for this extensive chronicle. The car-book brings the history of the automobile to life. It presents more than 1200 important models - Karl Benz 'Motorwagen about legendary cult car to advanced hybrid vehicles. It explains the milestones in engine technology and portrays the big brands and their designers. Characteristics from small cars to limousines and send racing each era invite you to browse and discover. The most comprehensive and bestbebildert illustrated book on the market - it would be any car lover!

Hardcover: 360 pages
Publisher: Dorling Kindersley Publishing (September 27, 2012)
Language: German
ISBN-10: 3,831,022,062
ISBN-13: 978-3831022069
Size and / or weight: 30.6 x 25.8 x 2.8 cm

", + Sku = "P-1009", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "The Car Book", + Price = 29.95M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productBooksAutoBuch, "0000947_das-auto-buch-die-grose-chronik-mit-uber-1200-modellen_300.jpeg"); - productBooksAutoBuch.ProductCategories.Add(new ProductCategory { Category = categoryBooks, DisplayOrder = 1 }); + productBooksAutoBuch.ProductCategories.Add(new ProductCategory { Category = categories["Books"], DisplayOrder = 1 }); - productBooksAutoBuch.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); - productBooksAutoBuch.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Category -> non-fiction - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 9).Single() - }); - productBooksAutoBuch.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productBooksAutoBuch.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Edition -> bound + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + productBooksAutoBuch.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Category -> non-fiction + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) + }); + productBooksAutoBuch.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Language -> German + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); - #endregion productBooksAutoBuch + #endregion productBooksAutoBuch - #region productBooksFastCars + #region productBooksFastCars - var productBooksFastCars = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "Fast Cars, Image Calendar 2013", - ShortDescription = "spiral bound", - FullDescription = "

Large Size: 48.5 x 34 cm.
This impressive picture calendar with silver ring binding thrilled with impressive photographs of exclusive sports cars. Who understands cars not only as a pure commercial vehicles, will find the most sought-after status symbols at all: fast cars are effectively set to the razor sharp and vivid photos in scene and convey freedom, speed, strength and the highest technical perfection. Starting with the 450-horsepower Maserati GranTurismo MC Stradale on the stylish, luxurious Aston Martin Virage Volante accompany up to the produced only in small numbers Mosler Photon MT900S the fast racer with style and elegance through the months.

Besides the calendar draws another picture to look at interesting details. There are the essential information on any sports car in the English language. After this year, the high-quality photos are framed an eye-catcher on the wall of every lover of fast cars. Even as a gift this beautiful years companion is wonderfully suited. 12 calendar pages, neutral and discreet held calendar. Printed on paper from sustainable forests. For lovers of luxury vintage cars also available in ALPHA EDITION: the large format image Classic Cars Calendar 2013: ISBN 9,783,840,733,376th

Spiral-bound: 14 pages
Publisher: Alpha Edition (June 1, 2012)
Language: German
ISBN-10: 3,840,733,383
ISBN-13: 978-3840733383
Size and / or weight: 48.8 x 34.2 x 0.6 cm

", + var productBooksFastCars = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "Fast Cars, Image Calendar 2013", + ShortDescription = "spiral bound", + FullDescription = "

Large Size: 48.5 x 34 cm.
This impressive picture calendar with silver ring binding thrilled with impressive photographs of exclusive sports cars. Who understands cars not only as a pure commercial vehicles, will find the most sought-after status symbols at all: fast cars are effectively set to the razor sharp and vivid photos in scene and convey freedom, speed, strength and the highest technical perfection. Starting with the 450-horsepower Maserati GranTurismo MC Stradale on the stylish, luxurious Aston Martin Virage Volante accompany up to the produced only in small numbers Mosler Photon MT900S the fast racer with style and elegance through the months.

Besides the calendar draws another picture to look at interesting details. There are the essential information on any sports car in the English language. After this year, the high-quality photos are framed an eye-catcher on the wall of every lover of fast cars. Even as a gift this beautiful years companion is wonderfully suited. 12 calendar pages, neutral and discreet held calendar. Printed on paper from sustainable forests. For lovers of luxury vintage cars also available in ALPHA EDITION: the large format image Classic Cars Calendar 2013: ISBN 9,783,840,733,376th

Spiral-bound: 14 pages
Publisher: Alpha Edition (June 1, 2012)
Language: German
ISBN-10: 3,840,733,383
ISBN-13: 978-3840733383
Size and / or weight: 48.8 x 34.2 x 0.6 cm

", Sku = "P-1010", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Fast Cars", - Price = 16.95M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Fast Cars", + Price = 16.95M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productBooksFastCars, "0000946_fast-cars-bildkalender-2013_300.jpeg"); - productBooksFastCars.ProductCategories.Add(new ProductCategory { Category = categoryBooks, DisplayOrder = 1 }); + productBooksFastCars.ProductCategories.Add(new ProductCategory { Category = categories["Books"], DisplayOrder = 1 }); - productBooksFastCars.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); - productBooksFastCars.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Category -> cars - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 6).Single() - }); - productBooksFastCars.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productBooksFastCars.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Edition -> bound + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + productBooksFastCars.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Category -> cars + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 6) + }); + productBooksFastCars.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Language -> German + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); - #endregion productBooksFastCars + #endregion productBooksFastCars - #region productBooksMotorradAbenteuer + #region productBooksMotorradAbenteuer - var productBooksMotorradAbenteuer = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "Motorcycle Adventures: Riding for travel enduros", - ShortDescription = "Hardcover", - FullDescription = "

Modern travel enduro bikes are ideal for adventure travel. Their technique is complex, their weight considerably. The driving behavior changes depending on the load and distance.

Before the tour starts, you should definitely attend a training course. This superbly illustrated book presents practical means of many informative series photos the right off-road driving in mud and sand, gravel and rock with and without luggage. In addition to the driving course full of information and tips on choosing the right motorcycle for travel planning and practical issues may be on the way.

", + var productBooksMotorradAbenteuer = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "Motorcycle Adventures: Riding for travel enduros", + ShortDescription = "Hardcover", + FullDescription = "

Modern travel enduro bikes are ideal for adventure travel. Their technique is complex, their weight considerably. The driving behavior changes depending on the load and distance.

Before the tour starts, you should definitely attend a training course. This superbly illustrated book presents practical means of many informative series photos the right off-road driving in mud and sand, gravel and rock with and without luggage. In addition to the driving course full of information and tips on choosing the right motorcycle for travel planning and practical issues may be on the way.

", Sku = "P-1011", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Motorcycle Adventures", - Price = 24.90M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Motorcycle Adventures", + Price = 24.90M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = secondDeliveryTime.Id }; AddProductPicture(productBooksMotorradAbenteuer, "0000943_motorrad-abenteuer-fahrtechnik-fur-reise-enduros.jpeg"); - productBooksMotorradAbenteuer.ProductCategories.Add(new ProductCategory { Category = categoryBooks, DisplayOrder = 1 }); + productBooksMotorradAbenteuer.ProductCategories.Add(new ProductCategory { Category = categories["Books"], DisplayOrder = 1 }); - productBooksMotorradAbenteuer.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); - productBooksMotorradAbenteuer.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Category -> cars - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 9).Single() - }); - productBooksMotorradAbenteuer.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 3, - // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productBooksMotorradAbenteuer.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Edition -> bound + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); + productBooksMotorradAbenteuer.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Category -> cars + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 9) + }); + productBooksMotorradAbenteuer.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 3, + // Language -> German + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); - #endregion productBooksMotorradAbenteuer + #endregion productBooksMotorradAbenteuer - #endregion category books + #endregion category books #region Instant Download Music / Digital Products - var categoryDigitalProducts = _ctx.Set().First(c => c.Alias == "Digital Products"); - #region product Books Stone of the Wise var productBooksStoneOfTheWise = new Product @@ -11862,7 +12005,7 @@ public IList Products() }; AddProductPicture(productBooksStoneOfTheWise, "stone_of_wisdom.jpg"); - productBooksStoneOfTheWise.ProductCategories.Add(new ProductCategory { Category = categoryDigitalProducts, DisplayOrder = 1 }); + productBooksStoneOfTheWise.ProductCategories.Add(new ProductCategory { Category = categories["Digital Products"], DisplayOrder = 1 }); productBooksStoneOfTheWise.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11870,7 +12013,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Edition -> bound - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 13).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[13].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productBooksStoneOfTheWise.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11878,7 +12021,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Category -> cars - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 14).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 6).Single() + SpecificationAttributeOption = specAttributes[14].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 6) }); productBooksStoneOfTheWise.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11886,7 +12029,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 3, // Language -> German - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 12).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[12].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); #endregion product Books Stone of the Wise @@ -11919,7 +12062,7 @@ public IList Products() }; AddProductPicture(productInstantDownloadVivaldi, "vivaldi.jpg"); - productInstantDownloadVivaldi.ProductCategories.Add(new ProductCategory { Category = categoryDigitalProducts, DisplayOrder = 1 }); + productInstantDownloadVivaldi.ProductCategories.Add(new ProductCategory { Category = categories["Digital Products"], DisplayOrder = 1 }); productInstantDownloadVivaldi.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11927,7 +12070,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // mp3 quality > 320 kbit/S - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 18).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[18].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); productInstantDownloadVivaldi.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11935,7 +12078,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 2, // genre > classic - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 19).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 6).Single() + SpecificationAttributeOption = specAttributes[19].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 6) }); #endregion Antonio Vivildi: then spring @@ -11968,7 +12111,7 @@ public IList Products() }; AddProductPicture(productInstantDownloadBeethoven, "Beethoven.jpg"); - productInstantDownloadBeethoven.ProductCategories.Add(new ProductCategory { Category = categoryDigitalProducts, DisplayOrder = 1 }); + productInstantDownloadBeethoven.ProductCategories.Add(new ProductCategory { Category = categories["Digital Products"], DisplayOrder = 1 }); productInstantDownloadBeethoven.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11976,7 +12119,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // mp3 quality > 320 kbit/S - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 18).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[18].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); productInstantDownloadBeethoven.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -11984,7 +12127,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 2, // genre > classic - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 19).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 6).Single() + SpecificationAttributeOption = specAttributes[19].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 6) }); #endregion Beethoven für Elise @@ -11993,8 +12136,6 @@ public IList Products() #region watches - var categoryWatches = _ctx.Set().First(c => c.Alias == "Watches"); - #region productTRANSOCEANCHRONOGRAPH var productTRANSOCEANCHRONOGRAPH = new Product @@ -12023,13 +12164,9 @@ public IList Products() }; AddProductPicture(productTRANSOCEANCHRONOGRAPH, "product_transocean-chronograph.jpg"); - productTRANSOCEANCHRONOGRAPH.ProductCategories.Add(new ProductCategory { Category = categoryWatches, DisplayOrder = 1 }); + productTRANSOCEANCHRONOGRAPH.ProductCategories.Add(new ProductCategory { Category = categories["Watches"], DisplayOrder = 1 }); - productTRANSOCEANCHRONOGRAPH.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Breitling").Single(), - DisplayOrder = 1, - }); + productTRANSOCEANCHRONOGRAPH.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Breitling"], DisplayOrder = 1 }); productTRANSOCEANCHRONOGRAPH.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12037,7 +12174,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // offer > promotion - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 22).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[22].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); productTRANSOCEANCHRONOGRAPH.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12045,7 +12182,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 2, // manufacturer > Breitling - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 20).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 18).Single() + SpecificationAttributeOption = specAttributes[20].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 18) }); productTRANSOCEANCHRONOGRAPH.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12053,7 +12190,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // housing > steel - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productTRANSOCEANCHRONOGRAPH.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12061,7 +12198,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // material -> leather - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 5).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 5) }); productTRANSOCEANCHRONOGRAPH.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12069,7 +12206,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // Gender -> gentlemen - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 7).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[7].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productTRANSOCEANCHRONOGRAPH.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12077,7 +12214,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // movement -> mechanical, self winding - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 9).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[9].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productTRANSOCEANCHRONOGRAPH.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12085,7 +12222,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // diameter -> 44mm - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 24).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[24].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); productTRANSOCEANCHRONOGRAPH.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12093,7 +12230,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // closure -> folding clasp - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 25).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() + SpecificationAttributeOption = specAttributes[25].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) }); #endregion productTRANSOCEANCHRONOGRAPH @@ -12128,13 +12265,9 @@ public IList Products() AddProductPicture(productTissotTTouchExpertSolar, "product_tissot-t-touch-expert-solar.jpg", "tissot-1"); AddProductPicture(productTissotTTouchExpertSolar, "product_tissot-t-touch-expert-solar-t091_2.jpg", "tissot-2"); - productTissotTTouchExpertSolar.ProductCategories.Add(new ProductCategory { Category = categoryWatches, DisplayOrder = 1 }); + productTissotTTouchExpertSolar.ProductCategories.Add(new ProductCategory { Category = categories["Watches"], DisplayOrder = 1 }); - productTissotTTouchExpertSolar.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Tissot").Single(), - DisplayOrder = 1, - }); + productTissotTTouchExpertSolar.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Tissot"], DisplayOrder = 1 }); productTissotTTouchExpertSolar.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12142,7 +12275,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // offer > best price - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 22).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 8).Single() + SpecificationAttributeOption = specAttributes[22].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 8) }); productTissotTTouchExpertSolar.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12150,7 +12283,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 2, // manufacturer > Tissot - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 20).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 17).Single() + SpecificationAttributeOption = specAttributes[20].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 17) }); productTissotTTouchExpertSolar.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12158,7 +12291,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // housing > steel - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productTissotTTouchExpertSolar.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12166,7 +12299,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // material -> silicone - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 7).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 7) }); productTissotTTouchExpertSolar.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12174,7 +12307,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // Gender -> gentlemen - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 7).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[7].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productTissotTTouchExpertSolar.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12182,7 +12315,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // movement -> Automatic, self-winding - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 9).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[9].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productTissotTTouchExpertSolar.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12190,7 +12323,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // diameter -> 44mm - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 24).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[24].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); productTissotTTouchExpertSolar.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12198,7 +12331,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // closure -> thorn close - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 25).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[25].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); #endregion productTissotT-TouchExpertSolar @@ -12231,13 +12364,9 @@ public IList Products() }; AddProductPicture(productSeikoSRPA49K1, "product_SeikoSRPA49K1.jpg"); - productSeikoSRPA49K1.ProductCategories.Add(new ProductCategory { Category = categoryWatches, DisplayOrder = 1 }); + productSeikoSRPA49K1.ProductCategories.Add(new ProductCategory { Category = categories["Watches"], DisplayOrder = 1 }); - productSeikoSRPA49K1.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Seiko").Single(), - DisplayOrder = 1, - }); + productSeikoSRPA49K1.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Seiko"], DisplayOrder = 1 }); productSeikoSRPA49K1.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12245,7 +12374,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 1, // housing > steel - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productSeikoSRPA49K1.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12253,7 +12382,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // material -> stainless steel - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productSeikoSRPA49K1.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12261,7 +12390,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 2, // manufacturer > Seiko - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 20).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 16).Single() + SpecificationAttributeOption = specAttributes[20].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 16) }); productSeikoSRPA49K1.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12269,7 +12398,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // Gender -> gentlemen - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 7).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[7].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productSeikoSRPA49K1.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12277,7 +12406,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // movement -> quarz - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 9).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() + SpecificationAttributeOption = specAttributes[9].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) }); productSeikoSRPA49K1.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12285,7 +12414,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // closure -> folding clasp - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 25).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() + SpecificationAttributeOption = specAttributes[25].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) }); productSeikoSRPA49K1.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12293,7 +12422,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // diameter -> 44mm - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 24).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[24].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); #endregion productSeikoSRPA49K1 @@ -12302,77 +12431,73 @@ public IList Products() #region productWatchesCertinaDSPodiumBigSize var productWatchesCertinaDSPodiumBigSize = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Name = "Certina DS Podium Big Size", - ShortDescription = "C001.617.26.037.00", - FullDescription = "

Since 1888, Certina has maintained an enviable reputation for its excellent watches and reliable movements. From the time of its integration into the SMH (today's Swatch Group) in the early 1980s, every Certina has been equipped with a high-quality ETA movement.

In a quartz watch movement, high-frequency oscillations are generated in a tiny synthetic crystal, then divided down electronically to provide the extreme accuracy of the Certina internal clock. A battery supplies the necessary energy.

The quartz movement is sometimes equipped with an end-of-life (EOL) indicator. When the seconds hand begins moving in four-second increments, the battery should be replaced within two weeks.

An automatic watch movement is driven by a rotor. Arm and wrist movements spin the rotor, which in turn winds the main spring. Energy is continuously produced, eliminating the need for a battery. The rate precision therefore depends on a rigorous manufacturing process and the original calibration, as well as the lifestyle of the user.

Most automatic movements are driven by an offset rotor. To earn the title of chronometer, a watch must be equipped with a movement that has obtained an official rate certificate from the COSC (Contrôle Officiel Suisse des Chronomètres). To obtain this, precision tests in different positions and at different temperatures must be carried out. These tests take place over a 15-day period. Thermocompensated means that the effective temperature inside the watch is measured and taken into account when improving precision. This allows fluctuations in the rate precision of a normal quartz watch due to temperature variations to be reduced by several seconds a week. The precision is 20 times more accurate than on a normal quartz watch, i.e. +/- 10 seconds per year (0.07 seconds/day).

", + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Name = "Certina DS Podium Big Size", + ShortDescription = "C001.617.26.037.00", + FullDescription = "

Since 1888, Certina has maintained an enviable reputation for its excellent watches and reliable movements. From the time of its integration into the SMH (today's Swatch Group) in the early 1980s, every Certina has been equipped with a high-quality ETA movement.

In a quartz watch movement, high-frequency oscillations are generated in a tiny synthetic crystal, then divided down electronically to provide the extreme accuracy of the Certina internal clock. A battery supplies the necessary energy.

The quartz movement is sometimes equipped with an end-of-life (EOL) indicator. When the seconds hand begins moving in four-second increments, the battery should be replaced within two weeks.

An automatic watch movement is driven by a rotor. Arm and wrist movements spin the rotor, which in turn winds the main spring. Energy is continuously produced, eliminating the need for a battery. The rate precision therefore depends on a rigorous manufacturing process and the original calibration, as well as the lifestyle of the user.

Most automatic movements are driven by an offset rotor. To earn the title of chronometer, a watch must be equipped with a movement that has obtained an official rate certificate from the COSC (Contrôle Officiel Suisse des Chronomètres). To obtain this, precision tests in different positions and at different temperatures must be carried out. These tests take place over a 15-day period. Thermocompensated means that the effective temperature inside the watch is measured and taken into account when improving precision. This allows fluctuations in the rate precision of a normal quartz watch due to temperature variations to be reduced by several seconds a week. The precision is 20 times more accurate than on a normal quartz watch, i.e. +/- 10 seconds per year (0.07 seconds/day).

", Sku = "P-9004", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Certina DS Podium Big Size", - ShowOnHomePage = true, - Price = 479.00M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Certina DS Podium Big Size", + ShowOnHomePage = true, + Price = 479.00M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = thirdDeliveryTime.Id }; AddProductPicture(productWatchesCertinaDSPodiumBigSize, "product_certina_ds_podium_big.png"); - productWatchesCertinaDSPodiumBigSize.ProductCategories.Add(new ProductCategory { Category = categoryWatches, DisplayOrder = 1 }); + productWatchesCertinaDSPodiumBigSize.ProductCategories.Add(new ProductCategory { Category = categories["Watches"], DisplayOrder = 1 }); - productWatchesCertinaDSPodiumBigSize.ProductManufacturers.Add(new ProductManufacturer - { - Manufacturer = _ctx.Set().Where(c => c.Name == "Certina").Single(), - DisplayOrder = 1, - }); + productWatchesCertinaDSPodiumBigSize.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Certina"], DisplayOrder = 1 }); - productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 1, - // housing > steel - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 1, + // housing > steel + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 5, // material -> leather - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 8).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 5).Single() + SpecificationAttributeOption = specAttributes[8].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 5) }); productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 2, - // manufacturer > Certina - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 20).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 14).Single() - }); - productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute - { - AllowFiltering = true, - ShowOnProductPage = true, - DisplayOrder = 5, - // Gender -> gentlemen - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 7).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 1).Single() - }); + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 2, + // manufacturer > Certina + SpecificationAttributeOption = specAttributes[20].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 14) + }); + productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute + { + AllowFiltering = true, + ShowOnProductPage = true, + DisplayOrder = 5, + // Gender -> gentlemen + SpecificationAttributeOption = specAttributes[7].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 1) + }); productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { AllowFiltering = true, ShowOnProductPage = true, DisplayOrder = 5, // movement -> quarz - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 9).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 3).Single() + SpecificationAttributeOption = specAttributes[9].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 3) }); productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12380,7 +12505,7 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // closure -> folding clasp - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 25).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() + SpecificationAttributeOption = specAttributes[25].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) }); productWatchesCertinaDSPodiumBigSize.ProductSpecificationAttributes.Add(new ProductSpecificationAttribute { @@ -12388,16 +12513,17 @@ public IList Products() ShowOnProductPage = true, DisplayOrder = 5, // diameter -> 40mm - SpecificationAttributeOption = _ctx.Set().Where(sa => sa.DisplayOrder == 24).Single().SpecificationAttributeOptions.Where(sao => sao.DisplayOrder == 2).Single() + SpecificationAttributeOption = specAttributes[24].SpecificationAttributeOptions.FirstOrDefault(x => x.DisplayOrder == 2) }); #endregion productWatchesCertinaDSPodiumBigSize - #endregion watches + #endregion watches #region gaming var manuSony = _ctx.Set().First(c => c.Name == "Sony"); + var manuMicrosoft = _ctx.Set().First(c => c.Name == "Microsoft"); var manuEASports = _ctx.Set().First(c => c.Name == "EA Sports"); var manuUbisoft = _ctx.Set().First(c => c.Name == "Ubisoft"); var categoryGaming = _ctx.Set().First(c => c.Alias == "Gaming"); @@ -12408,283 +12534,283 @@ public IList Products() #region bundlePs3AssassinCreed var productPs3 = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Sku = "Sony-PS399000", - Name = "Playstation 4 Pro", - ShortDescription = "The Sony PlayStation 4 Pro is the multi media console for next-generation digital home entertainment. It offers the Blu-ray technology, which enables you to enjoy movies in high definition.", - FullDescription = "
  • PowerPC-base Core @5.2GHz
  • 1 VMX vector unit per core
  • 512KB L2 cache
  • 7 x SPE @5.2GHz
  • 7 x 128b 128 SIMD GPRs
  • 7 x 256MB SRAM for SPE
  • * 1 of 8 SPEs reserved for redundancy total floating point performance: 218 GFLOPS
  • 1.8 TFLOPS floating point performance
  • Full HD (up to 1080p) x 2 channels
  • Multi-way programmable parallel floating point shader pipelines
  • GPU: RSX @550MHz
  • 256MB XDR Main RAM @3.2GHz
  • 256MB GDDR3 VRAM @700MHz
  • Sound: Dolby 5.1ch, DTS, LPCM, etc. (Cell-base processing)
  • Wi-Fi: IEEE 802.11 b/g
  • USB: Front x 4, Rear x 2 (USB2.0)
  • Memory Stick: standard/Duo, PRO x 1
", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Sku = "Sony-PS399000", + Name = "Playstation 4 Pro", + ShortDescription = "The Sony PlayStation 4 Pro is the multi media console for next-generation digital home entertainment. It offers the Blu-ray technology, which enables you to enjoy movies in high definition.", + FullDescription = "
  • PowerPC-base Core @5.2GHz
  • 1 VMX vector unit per core
  • 512KB L2 cache
  • 7 x SPE @5.2GHz
  • 7 x 128b 128 SIMD GPRs
  • 7 x 256MB SRAM for SPE
  • * 1 of 8 SPEs reserved for redundancy total floating point performance: 218 GFLOPS
  • 1.8 TFLOPS floating point performance
  • Full HD (up to 1080p) x 2 channels
  • Multi-way programmable parallel floating point shader pipelines
  • GPU: RSX @550MHz
  • 256MB XDR Main RAM @3.2GHz
  • 256MB GDDR3 VRAM @700MHz
  • Sound: Dolby 5.1ch, DTS, LPCM, etc. (Cell-base processing)
  • Wi-Fi: IEEE 802.11 b/g
  • USB: Front x 4, Rear x 2 (USB2.0)
  • Memory Stick: standard/Duo, PRO x 1
", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, //MetaTitle = "Playstation 4 Super Slim", MetaTitle = "Playstation 4 Pro", Price = 189.00M, - OldPrice = 199.99M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, - DeliveryTimeId = firstDeliveryTime.Id - }; + OldPrice = 199.99M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, + DeliveryTimeId = firstDeliveryTime.Id + }; AddProductPicture(productPs3, "product_ps4_w_controller.jpg", "ps4-w-controller"); AddProductPicture(productPs3, "product_ps4_wo_controller.jpg", "ps4-wo-single"); - productPs3.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productPs3.ProductCategories.Add(new ProductCategory { Category = categoryGaming, DisplayOrder = 4 }); + productPs3.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productPs3.ProductCategories.Add(new ProductCategory { Category = categories["Gaming"], DisplayOrder = 4 }); var productDualshock4Controller = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Sku = "Sony-PS399004", - Name = "DUALSHOCK 4 Wireless Controller", - ShortDescription = "Revolutionary. Intuitive. Precise. A revolutionary controller for a new era of gaming, the DualShock 4 Wireless Controller features familiar PlayStation controls and innovative new additions, such as a touch pad, light bar, and more.", - FullDescription = "
  • Precision Controller for PlayStation 4: The feel, shape, and sensitivity of the DualShock 4’s analog sticks and trigger buttons have been enhanced to offer players absolute control for all games
  • Sharing at your Fingertips: The addition of the Share button makes sharing your greatest gaming moments as easy as a push of a button. Upload gameplay videos and screenshots directly from your system or live-stream your gameplay, all without disturbing the game in progress.
  • New ways to Play: Revolutionary features like the touch pad, integrated light bar, and built-in speaker offer exciting new ways to experience and interact with your games and its 3.5mm audio jack offers a practical personal audio solution for gamers who want to listen to their games in private.
  • Charge Efficiently: The DualShock 4 Wireless Controller can easily be recharged by plugging it into your PlayStation 4 system, even when on standby, or with any standard charger with a micro-USB port.
", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "DUALSHOCK 4 Wireless Controller", - Price = 54.90M, + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Sku = "Sony-PS399004", + Name = "DUALSHOCK 4 Wireless Controller", + ShortDescription = "Revolutionary. Intuitive. Precise. A revolutionary controller for a new era of gaming, the DualShock 4 Wireless Controller features familiar PlayStation controls and innovative new additions, such as a touch pad, light bar, and more.", + FullDescription = "
  • Precision Controller for PlayStation 4: The feel, shape, and sensitivity of the DualShock 4’s analog sticks and trigger buttons have been enhanced to offer players absolute control for all games
  • Sharing at your Fingertips: The addition of the Share button makes sharing your greatest gaming moments as easy as a push of a button. Upload gameplay videos and screenshots directly from your system or live-stream your gameplay, all without disturbing the game in progress.
  • New ways to Play: Revolutionary features like the touch pad, integrated light bar, and built-in speaker offer exciting new ways to experience and interact with your games and its 3.5mm audio jack offers a practical personal audio solution for gamers who want to listen to their games in private.
  • Charge Efficiently: The DualShock 4 Wireless Controller can easily be recharged by plugging it into your PlayStation 4 system, even when on standby, or with any standard charger with a micro-USB port.
", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "DUALSHOCK 4 Wireless Controller", + Price = 54.90M, OldPrice = 59.90M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productDualshock4Controller, "product_dualshock4.jpg"); - productDualshock4Controller.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productDualshock4Controller.ProductCategories.Add(new ProductCategory { Category = categoryGamingAccessories, DisplayOrder = 1 }); + productDualshock4Controller.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productDualshock4Controller.ProductCategories.Add(new ProductCategory { Category = categories["Gaming Accessories"], DisplayOrder = 1 }); - var productMinecraft = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, + var productMinecraft = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, //Sku = "Ubi-acreed3", Sku = "PD-Minecraft4ps4", Name = "Minecraft - Playstation 4 Edition", - ShortDescription = "Third-person action-adventure title set.", - FullDescription = "

Build! Craft! Explore!

The critically acclaimed Minecraft comes to PlayStation 4, offering bigger worlds and greater draw distance than the PS3 and PS Vita editions.

Create your own world, then, build, explore and conquer. When night falls the monsters appear, so be sure to build a shelter before they arrive.

The world is only limited by your imagination! Bigger worlds and greater draw distance than PS3 and PS Vita Editions Includes all features from the PS3 version Import your PS3 and PS Vita worlds to the PS4 Editition.

", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - //MetaTitle = "Assassin's Creed III", + ShortDescription = "Third-person action-adventure title set.", + FullDescription = "

Build! Craft! Explore!

The critically acclaimed Minecraft comes to PlayStation 4, offering bigger worlds and greater draw distance than the PS3 and PS Vita editions.

Create your own world, then, build, explore and conquer. When night falls the monsters appear, so be sure to build a shelter before they arrive.

The world is only limited by your imagination! Bigger worlds and greater draw distance than PS3 and PS Vita Editions Includes all features from the PS3 version Import your PS3 and PS Vita worlds to the PS4 Editition.

", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + //MetaTitle = "Assassin's Creed III", MetaTitle = "Minecraft - Playstation 4 Edition", Price = 49.90M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productMinecraft, "product_minecraft.jpg"); - productMinecraft.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productMinecraft.ProductCategories.Add(new ProductCategory { Category = categoryGamingGames, DisplayOrder = 4 }); + productMinecraft.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productMinecraft.ProductCategories.Add(new ProductCategory { Category = categories["Games"], DisplayOrder = 4 }); - var productBundlePs3AssassinCreed = new Product - { - ProductType = ProductType.BundledProduct, - VisibleIndividually = true, - Sku = "Sony-PS399105", - Name = "PlayStation 4 Minecraft Bundle", - ShortDescription = "100GB PlayStation®4 system, 2 × DUALSHOCK®4 wireless controller and Minecraft for PS4 Edition.", - FullDescription = - "
  • Processor

    • Processor Technology : Cell Broadband Engine™
  • General

    • Communication : Ethernet (10BASE-T, 100BASE-TX, 1000BASE-T IEEE 802.11 b/g Wi-Fi
      Bluetooth 2.0 (EDR)
    • Inputs and Outputs : USB 2.0 X 2
  • Graphics

    • Graphics Processor : RSX
  • Memory

    • Internal Memory : 256MB XDR Main RAM
      256MB GDDR3 VRAM
  • Power

    • Power Consumption (in Operation) : Approximately 250 watts
  • Storage

    • Storage Capacity : 2.5' Serial ATA (500GB)
  • Video

    • Resolution : 480i, 480p, 720p, 1080i, 1080p (24p/60p)
  • Weights and Measurements

    • Dimensions (Approx.) : Approximately 11.42\" (W) x 2.56\" (H) x 11.42\" (D) (290mm x 65mm x 290mm)
    • Weight (Approx.) : Approximately 7.055 lbs (3.2 kg)
", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, + var productBundlePs3AssassinCreed = new Product + { + ProductType = ProductType.BundledProduct, + VisibleIndividually = true, + Sku = "Sony-PS399105", + Name = "PlayStation 4 Minecraft Bundle", + ShortDescription = "100GB PlayStation®4 system, 2 × DUALSHOCK®4 wireless controller and Minecraft for PS4 Edition.", + FullDescription = + "
  • Processor

    • Processor Technology : Cell Broadband Engine™
  • General

    • Communication : Ethernet (10BASE-T, 100BASE-TX, 1000BASE-T IEEE 802.11 b/g Wi-Fi
      Bluetooth 2.0 (EDR)
    • Inputs and Outputs : USB 2.0 X 2
  • Graphics

    • Graphics Processor : RSX
  • Memory

    • Internal Memory : 256MB XDR Main RAM
      256MB GDDR3 VRAM
  • Power

    • Power Consumption (in Operation) : Approximately 250 watts
  • Storage

    • Storage Capacity : 2.5' Serial ATA (500GB)
  • Video

    • Resolution : 480i, 480p, 720p, 1080i, 1080p (24p/60p)
  • Weights and Measurements

    • Dimensions (Approx.) : Approximately 11.42\" (W) x 2.56\" (H) x 11.42\" (D) (290mm x 65mm x 290mm)
    • Weight (Approx.) : Approximately 7.055 lbs (3.2 kg)
", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, MetaTitle = "PlayStation 4 Minecraft Bundle", Price = 269.97M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id, ShowOnHomePage = true, - BundleTitleText = "Bundle includes", - BundlePerItemPricing = true, - BundlePerItemShoppingCart = true - }; + BundleTitleText = "Bundle includes", + BundlePerItemPricing = true, + BundlePerItemShoppingCart = true + }; AddProductPicture(productBundlePs3AssassinCreed, "ps4_bundle_minecraft.jpg"); - productBundlePs3AssassinCreed.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productBundlePs3AssassinCreed.ProductCategories.Add(new ProductCategory { Category = categoryGaming, DisplayOrder = 1 }); + productBundlePs3AssassinCreed.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productBundlePs3AssassinCreed.ProductCategories.Add(new ProductCategory { Category = categories["Gaming"], DisplayOrder = 1 }); - #endregion bundlePs3AssassinCreed + #endregion bundlePs3AssassinCreed - #region bundlePs4 + #region bundlePs4 - var productPs4 = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Sku = "Sony-PS410034", + var productPs4 = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Sku = "Sony-PS410034", //Sku = "PS410037", Name = "PlayStation 4", - ShortDescription = "The best place to play. Working with some of the most creative minds in the industry, PlayStation®4 delivers breathtaking and unique gaming experiences.", - FullDescription = "

The power to perform.

PlayStation®4 was designed from the ground up to ensure that game creators can unleash their imaginations to develop the very best games and deliver new play experiences never before possible. With ultra-fast customized processors and 8GB of high-performance unified system memory, PS4™ is the home to games with rich, high-fidelity graphics and deeply immersive experiences that shatter expectations.

  • Processor

    • Processor Technology : Low power x86-64 AMD 'Jaguar', 8 cores
  • Software

    • Processor : Single-chip custom processor
  • Display

    • Display Technology : HDMI
      Digital Output (optical)
  • General

    • Ethernet ports x speed : Ethernet (10BASE-T, 100BASE-TX, 1000BASE-T); IEEE 802.11 b/g/n; Bluetooth® 2.1 (EDR)
    • Hard disk : Built-in
  • General Specifications

    • Video : BD 6xCAV
      DVD 8xCAV
  • Graphics

    • Graphics Processor : 1.84 TFLOPS, AMD Radeon™ Graphics Core Next engine
  • Interface

    • I/O Port : Super-Speed USB (USB 3.0), AUX
  • Memory

    • Internal Memory : GDDR5 8GB

", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "PlayStation 4", - Price = 399.99M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 3, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + ShortDescription = "The best place to play. Working with some of the most creative minds in the industry, PlayStation®4 delivers breathtaking and unique gaming experiences.", + FullDescription = "

The power to perform.

PlayStation®4 was designed from the ground up to ensure that game creators can unleash their imaginations to develop the very best games and deliver new play experiences never before possible. With ultra-fast customized processors and 8GB of high-performance unified system memory, PS4™ is the home to games with rich, high-fidelity graphics and deeply immersive experiences that shatter expectations.

  • Processor

    • Processor Technology : Low power x86-64 AMD 'Jaguar', 8 cores
  • Software

    • Processor : Single-chip custom processor
  • Display

    • Display Technology : HDMI
      Digital Output (optical)
  • General

    • Ethernet ports x speed : Ethernet (10BASE-T, 100BASE-TX, 1000BASE-T); IEEE 802.11 b/g/n; Bluetooth® 2.1 (EDR)
    • Hard disk : Built-in
  • General Specifications

    • Video : BD 6xCAV
      DVD 8xCAV
  • Graphics

    • Graphics Processor : 1.84 TFLOPS, AMD Radeon™ Graphics Core Next engine
  • Interface

    • I/O Port : Super-Speed USB (USB 3.0), AUX
  • Memory

    • Internal Memory : GDDR5 8GB

", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "PlayStation 4", + Price = 399.99M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 3, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productPs4, "product_sony_ps4.png", "sony-ps4"); AddProductPicture(productPs4, "product_sony_dualshock4_wirelesscontroller.png", "sony-ps4-dualshock"); - productPs4.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productPs4.ProductCategories.Add(new ProductCategory { Category = categoryGaming, DisplayOrder = 5 }); + productPs4.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productPs4.ProductCategories.Add(new ProductCategory { Category = categories["Gaming"], DisplayOrder = 5 }); var productPs4Camera = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Sku = "Sony-PS410040", - Name = "PlayStation 4 Camera", - ShortDescription = "Play, challenge and share your epic gaming moments with PlayStation®Camera and your PS4™. Multiplayer is enhanced through immediate, crystal clear audio and picture-in-picture video sharing.", - FullDescription = "
  • When combined with the DualShock 4 Wireless Controller's light bar, the evolutionary 3D depth-sensing technology in the PlayStation Camera allows it to precisely track a player's position in the room.
  • From navigational voice commands to facial recognition, the PlayStation Camera adds incredible innovation to your gaming.
  • Automatically integrate a picture-in-picture video of yourself during gameplay broadcasts, and challenge your friends during play.
  • Never leave a friend hanging or miss a chance to taunt your opponents with voice chat that keeps the conversation going, whether it's between rounds, between games, or just while kicking back.
", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "PlayStation 4 Camera", - Price = 59.99M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Sku = "Sony-PS410040", + Name = "PlayStation 4 Camera", + ShortDescription = "Play, challenge and share your epic gaming moments with PlayStation®Camera and your PS4™. Multiplayer is enhanced through immediate, crystal clear audio and picture-in-picture video sharing.", + FullDescription = "
  • When combined with the DualShock 4 Wireless Controller's light bar, the evolutionary 3D depth-sensing technology in the PlayStation Camera allows it to precisely track a player's position in the room.
  • From navigational voice commands to facial recognition, the PlayStation Camera adds incredible innovation to your gaming.
  • Automatically integrate a picture-in-picture video of yourself during gameplay broadcasts, and challenge your friends during play.
  • Never leave a friend hanging or miss a chance to taunt your opponents with voice chat that keeps the conversation going, whether it's between rounds, between games, or just while kicking back.
", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "PlayStation 4 Camera", + Price = 59.99M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productPs4Camera, "product_sony_ps4_camera.png"); - productPs4Camera.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productPs4Camera.ProductCategories.Add(new ProductCategory { Category = categoryGamingAccessories, DisplayOrder = 3 }); + productPs4Camera.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productPs4Camera.ProductCategories.Add(new ProductCategory { Category = categories["Gaming Accessories"], DisplayOrder = 3 }); - var productBundlePs4 = new Product - { - ProductType = ProductType.BundledProduct, - VisibleIndividually = true, - Sku = "Sony-PS410099", - Name = "PlayStation 4 Bundle", - ShortDescription = "PlayStation®4 system, DUALSHOCK®4 wireless controller and PS4 camera.", - FullDescription = - "

The best place to play

PlayStation 4 is the best place to play with dynamic, connected gaming, powerful graphics and speed, intelligent personalization, deeply integrated social capabilities, and innovative second-screen features. Combining unparalleled content, immersive gaming experiences, all of your favorite digital entertainment apps, and PlayStation exclusives, PS4 centers on gamers, enabling them to play when, where and how they want. PS4 enables the greatest game developers in the world to unlock their creativity and push the boundaries of play through a system that is tuned specifically to their needs.

Gamer focused, developer inspired

The PS4 system focuses on the gamer, ensuring that the very best games and the most immersive experiences are possible on the platform. The PS4 system enables the greatest game developers in the world to unlock their creativity and push the boundaries of play through a system that is tuned specifically to their needs. The PS4 system is centered around a powerful custom chip that contains eight x86-64 cores and a state of the art 1.84 TFLOPS graphics processor with 8 GB of ultra-fast GDDR5 unified system memory, easing game creation and increasing the richness of content achievable on the platform. The end result is new games with rich, high-fidelity graphics and deeply immersive experiences.

Personalized, curated content

The PS4 system has the ability to learn about your preferences. It will learn your likes and dislikes, allowing you to discover content pre-loaded and ready to go on your console in your favorite game genres or by your favorite creators. Players also can look over game-related information shared by friends, view friends’ gameplay with ease, or obtain information about recommended content, including games, TV shows and movies.

New DUALSHOCK controller

DUALSHOCK 4 features new innovations to deliver more immersive gaming experiences, including a highly sensitive six-axis sensor as well as a touch pad located on the top of the controller, which offers gamers completely new ways to play and interact with games.

Shared game experiences

Engage in endless personal challenges with your community and share your epic triumphs with the press of a button. Simply hit the SHARE button on the controller, scan through the last few minutes of gameplay, tag it and return to the game—the video uploads as you play. The PS4 system also enhances social spectating by enabling you to broadcast your gameplay in real-time.

Remote play

Remote Play on the PS4 system fully unlocks the PlayStation Vita system’s potential, making it the ultimate companion device. With the PS Vita system, gamers will be able to seamlessly play a range of PS4 titles on the beautiful 5-inch display over Wi-Fi access points in a local area network.

PlayStation app

The PlayStation App will enable iPhone, iPad, and Android-based smartphones and tablets to become second screens for the PS4 system. Once installed on these devices, players can view in-game items, purchase PS4 games and download them directly to the console at home, or remotely watch the gameplay of other gamers playing on their devices.

PlayStation Plus

Built to bring games and gamers together and fuel the next generation of gaming, PlayStation Plus helps you discover a world of exceptional gaming experiences. PlayStation Plus is a membership service that takes your gaming experience to the next level. Each month members receive an Instant Game Collection of top rated blockbuster and innovative Indie games, which they can download direct to their console.

", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "PlayStation 4 Bundle", - Price = 429.99M, - OldPrice = 449.99M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + var productBundlePs4 = new Product + { + ProductType = ProductType.BundledProduct, + VisibleIndividually = true, + Sku = "Sony-PS410099", + Name = "PlayStation 4 Bundle", + ShortDescription = "PlayStation®4 system, DUALSHOCK®4 wireless controller and PS4 camera.", + FullDescription = + "

The best place to play

PlayStation 4 is the best place to play with dynamic, connected gaming, powerful graphics and speed, intelligent personalization, deeply integrated social capabilities, and innovative second-screen features. Combining unparalleled content, immersive gaming experiences, all of your favorite digital entertainment apps, and PlayStation exclusives, PS4 centers on gamers, enabling them to play when, where and how they want. PS4 enables the greatest game developers in the world to unlock their creativity and push the boundaries of play through a system that is tuned specifically to their needs.

Gamer focused, developer inspired

The PS4 system focuses on the gamer, ensuring that the very best games and the most immersive experiences are possible on the platform. The PS4 system enables the greatest game developers in the world to unlock their creativity and push the boundaries of play through a system that is tuned specifically to their needs. The PS4 system is centered around a powerful custom chip that contains eight x86-64 cores and a state of the art 1.84 TFLOPS graphics processor with 8 GB of ultra-fast GDDR5 unified system memory, easing game creation and increasing the richness of content achievable on the platform. The end result is new games with rich, high-fidelity graphics and deeply immersive experiences.

Personalized, curated content

The PS4 system has the ability to learn about your preferences. It will learn your likes and dislikes, allowing you to discover content pre-loaded and ready to go on your console in your favorite game genres or by your favorite creators. Players also can look over game-related information shared by friends, view friends’ gameplay with ease, or obtain information about recommended content, including games, TV shows and movies.

New DUALSHOCK controller

DUALSHOCK 4 features new innovations to deliver more immersive gaming experiences, including a highly sensitive six-axis sensor as well as a touch pad located on the top of the controller, which offers gamers completely new ways to play and interact with games.

Shared game experiences

Engage in endless personal challenges with your community and share your epic triumphs with the press of a button. Simply hit the SHARE button on the controller, scan through the last few minutes of gameplay, tag it and return to the game—the video uploads as you play. The PS4 system also enhances social spectating by enabling you to broadcast your gameplay in real-time.

Remote play

Remote Play on the PS4 system fully unlocks the PlayStation Vita system’s potential, making it the ultimate companion device. With the PS Vita system, gamers will be able to seamlessly play a range of PS4 titles on the beautiful 5-inch display over Wi-Fi access points in a local area network.

PlayStation app

The PlayStation App will enable iPhone, iPad, and Android-based smartphones and tablets to become second screens for the PS4 system. Once installed on these devices, players can view in-game items, purchase PS4 games and download them directly to the console at home, or remotely watch the gameplay of other gamers playing on their devices.

PlayStation Plus

Built to bring games and gamers together and fuel the next generation of gaming, PlayStation Plus helps you discover a world of exceptional gaming experiences. PlayStation Plus is a membership service that takes your gaming experience to the next level. Each month members receive an Instant Game Collection of top rated blockbuster and innovative Indie games, which they can download direct to their console.

", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "PlayStation 4 Bundle", + Price = 429.99M, + OldPrice = 449.99M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id, BundleTitleText = "Bundle includes" - }; + }; AddProductPicture(productBundlePs4, "product_sony_ps4_bundle.png"); - productBundlePs4.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productBundlePs4.ProductCategories.Add(new ProductCategory { Category = categoryGaming, DisplayOrder = 2 }); + productBundlePs4.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productBundlePs4.ProductCategories.Add(new ProductCategory { Category = categories["Gaming"], DisplayOrder = 2 }); - #endregion bundlePs4 + #endregion bundlePs4 - #region groupAccessories + #region groupAccessories - var productGroupAccessories = new Product - { - ProductType = ProductType.GroupedProduct, - VisibleIndividually = true, - Sku = "Sony-GroupAccessories", - Name = "Accessories for unlimited gaming experience", - ShortDescription = "The future of gaming is now with dynamic, connected gaming, powerful graphics and speed, intelligent personalization, deeply integrated social capabilities, and innovative second-screen features. The brilliant culmination of the most creative minds in the industry, PlayStation®4 delivers a unique gaming environment that will take your breath away.", - FullDescription = "
  • Immerse yourself in a new world of gameplay with powerful graphics and speed.
  • Eliminate lengthy load times of saved games with Suspend mode.
  • Immediately play digital titles without waiting for them to finish downloading thanks to background downloading and updating capability.
  • Instantly share images and videos of your favorite gameplay moments on Facebook with the SHARE button on the DUALSHOCK®4 controller.
  • Broadcast while you play in real-time through Ustream.
", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Accessories for unlimited gaming experience", - Price = 0.0M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 3, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, - ShowOnHomePage = true - }; + var productGroupAccessories = new Product + { + ProductType = ProductType.GroupedProduct, + VisibleIndividually = true, + Sku = "Sony-GroupAccessories", + Name = "Accessories for unlimited gaming experience", + ShortDescription = "The future of gaming is now with dynamic, connected gaming, powerful graphics and speed, intelligent personalization, deeply integrated social capabilities, and innovative second-screen features. The brilliant culmination of the most creative minds in the industry, PlayStation®4 delivers a unique gaming environment that will take your breath away.", + FullDescription = "
  • Immerse yourself in a new world of gameplay with powerful graphics and speed.
  • Eliminate lengthy load times of saved games with Suspend mode.
  • Immediately play digital titles without waiting for them to finish downloading thanks to background downloading and updating capability.
  • Instantly share images and videos of your favorite gameplay moments on Facebook with the SHARE button on the DUALSHOCK®4 controller.
  • Broadcast while you play in real-time through Ustream.
", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Accessories for unlimited gaming experience", + Price = 0.0M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 3, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, + ShowOnHomePage = true + }; AddProductPicture(productGroupAccessories, "category_gaming_accessories.png"); - productGroupAccessories.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productGroupAccessories.ProductCategories.Add(new ProductCategory { Category = categoryGaming, DisplayOrder = 3 }); + productGroupAccessories.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productGroupAccessories.ProductCategories.Add(new ProductCategory { Category = categories["Gaming"], DisplayOrder = 3 }); - #endregion groupAccessories + #endregion groupAccessories - #region Ps3PlusOneGame + #region Ps3PlusOneGame - var productPrinceOfPersia = new Product - { - ProductType = ProductType.SimpleProduct, - VisibleIndividually = true, - Sku = "Ubi-princepersia", - Name = "Prince of Persia \"The Forgotten Sands\"", - ShortDescription = "Play the epic story of the heroic Prince as he fights and outwits his enemies in order to save his kingdom.", - FullDescription = "

This game marks the return to the Prince of Persia® Sands of Time storyline. Prince of Persia: The Forgotten Sands™ will feature many of the fan-favorite elements from the original series as well as new gameplay innovations that gamers have come to expect from Prince of Persia.

Experience the story, setting, and gameplay in this return to the Sands of Time universe as we follow the original Prince of Persia through a new untold chapter.

Created by Ubisoft Montreal, the team that brought you various Prince of Persia® and Assassin’s Creed® games, Prince of Persia The Forgotten Sands™ has been over 2 years in the making.

", - ProductTemplateId = productTemplate.Id, - AllowCustomerReviews = true, - Published = true, - MetaTitle = "Prince of Persia", - Price = 39.90M, - ManageInventoryMethod = ManageInventoryMethod.DontManageStock, - OrderMinimumQuantity = 1, - OrderMaximumQuantity = 10000, - StockQuantity = 10000, - NotifyAdminForQuantityBelow = 1, - AllowBackInStockSubscriptions = false, - IsShipEnabled = true, + var productPrinceOfPersia = new Product + { + ProductType = ProductType.SimpleProduct, + VisibleIndividually = true, + Sku = "Ubi-princepersia", + Name = "Prince of Persia \"The Forgotten Sands\"", + ShortDescription = "Play the epic story of the heroic Prince as he fights and outwits his enemies in order to save his kingdom.", + FullDescription = "

This game marks the return to the Prince of Persia® Sands of Time storyline. Prince of Persia: The Forgotten Sands™ will feature many of the fan-favorite elements from the original series as well as new gameplay innovations that gamers have come to expect from Prince of Persia.

Experience the story, setting, and gameplay in this return to the Sands of Time universe as we follow the original Prince of Persia through a new untold chapter.

Created by Ubisoft Montreal, the team that brought you various Prince of Persia® and Assassin’s Creed® games, Prince of Persia The Forgotten Sands™ has been over 2 years in the making.

", + ProductTemplateId = productTemplate.Id, + AllowCustomerReviews = true, + Published = true, + MetaTitle = "Prince of Persia", + Price = 39.90M, + ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + OrderMinimumQuantity = 1, + OrderMaximumQuantity = 10000, + StockQuantity = 10000, + NotifyAdminForQuantityBelow = 1, + AllowBackInStockSubscriptions = false, + IsShipEnabled = true, DeliveryTimeId = firstDeliveryTime.Id }; AddProductPicture(productPrinceOfPersia, "products_princeofpersia.jpg"); - productPrinceOfPersia.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuUbisoft, DisplayOrder = 1 }); - productPrinceOfPersia.ProductCategories.Add(new ProductCategory { Category = categoryGamingGames, DisplayOrder = 2 }); + productPrinceOfPersia.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Ubisoft"], DisplayOrder = 1 }); + productPrinceOfPersia.ProductCategories.Add(new ProductCategory { Category = categories["Games"], DisplayOrder = 2 }); #endregion Ps3PlusOneGame @@ -12716,8 +12842,8 @@ public IList Products() }; AddProductPicture(productHorizonZeroDown, "product_horizon.jpg"); - productHorizonZeroDown.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuSony, DisplayOrder = 1 }); - productHorizonZeroDown.ProductCategories.Add(new ProductCategory { Category = categoryGamingGames, DisplayOrder = 2 }); + productHorizonZeroDown.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Sony"], DisplayOrder = 1 }); + productHorizonZeroDown.ProductCategories.Add(new ProductCategory { Category = categories["Games"], DisplayOrder = 2 }); #endregion Horizon Zero Down @@ -12749,8 +12875,8 @@ public IList Products() }; AddProductPicture(productFifa17, "product_fifa17.jpg"); - productFifa17.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuEASports, DisplayOrder = 1 }); - productFifa17.ProductCategories.Add(new ProductCategory { Category = categoryGamingGames, DisplayOrder = 2 }); + productFifa17.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["EA Sports"], DisplayOrder = 1 }); + productFifa17.ProductCategories.Add(new ProductCategory { Category = categories["Games"], DisplayOrder = 2 }); #endregion Fifa 17 @@ -12781,11 +12907,43 @@ public IList Products() }; AddProductPicture(productLegoWorlds, "product_legoworlds.jpg"); - productLegoWorlds.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuWarnerHomme, DisplayOrder = 1 }); - productLegoWorlds.ProductCategories.Add(new ProductCategory { Category = categoryGamingGames, DisplayOrder = 3 }); + productLegoWorlds.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manufacturers["Warner Home Video Games"], DisplayOrder = 1 }); + productLegoWorlds.ProductCategories.Add(new ProductCategory { Category = categories["Games"], DisplayOrder = 3 }); #endregion Lego Worlds + //#region XBox One S + + //var productXBoxOneS = new Product + //{ + // ProductType = ProductType.SimpleProduct, + // VisibleIndividually = true, + // Sku = "Microsoft-xbox1s", + // Name = "Xbox One S 500 GB Konsole", + // ShortDescription = "Genieße über 100 Spiele, die es nur für die Konsole gibt, sowie eine ständig größer werdende Bibliothek an Xbox 360-Spielen auf der Xbox One S im neuen Design – der einzigen Konsole mit 4K Ultra HD Blu-ray, 4K-Videostreaming und HDR. Streame deine Lieblingsfilme und -sendungen in atemberaubendem 4K Ultra HD. Spiele Blockbuster wie Gears of War 4 und Battlefield 1 mit Freunden auf Xbox Live, dem schnellsten und zuverlässigsten Gaming-Netzwerk.", + // FullDescription = "
  • Die ultimativen Spiele und 4K-Entertainment-System.
  • 40 % kompaktere Konsole
    Lasse dich nicht von der Größe täuschen. Mit integriertem Netzteil und bis zu 2 TB Speicherplatz ist die Xbox One S die fortschrittlichste Xbox überhaupt.
  • Der beste Controller - jetzt noch besser
    Der neue Xbox Wireless Controller bietet ein schlankes, optimiertes Design, texturierte Grip - Fläche und Bluetooth zum Spielen auf Windows 10 Geräten. Genieße individuelle Tastenbelegung und verbesserte drahtlose Reichweite und stecke jeden kompatiblen Kopfhörer mit der 3, 5 mm Stereo - Headset - Buchse ein.
", + // ProductTemplateId = productTemplate.Id, + // AllowCustomerReviews = true, + // Published = true, + // MetaTitle = "Xbox One S", + // Price = 279.99M, + // OldPrice = 279.99M, + // ManageInventoryMethod = ManageInventoryMethod.DontManageStock, + // OrderMinimumQuantity = 1, + // OrderMaximumQuantity = 10000, + // StockQuantity = 10000, + // NotifyAdminForQuantityBelow = 1, + // AllowBackInStockSubscriptions = false, + // IsShipEnabled = true, + // DeliveryTimeId = firstDeliveryTime.Id + //}; + + //AddProductPicture(productXBoxOneS, "product_xbox_one_s_1.png", "microsoft-xbox-one-s-1"); + //productXBoxOneS.ProductManufacturers.Add(new ProductManufacturer { Manufacturer = manuMicrosoft, DisplayOrder = 1 }); + //productXBoxOneS.ProductCategories.Add(new ProductCategory { Category = categoryGaming, DisplayOrder = 1 }); + + //#endregion + #endregion gaming var entities = new List @@ -12801,12 +12959,11 @@ public IList Products() productInstantDownloadVivaldi, productInstantDownloadBeethoven, productWatchesCertinaDSPodiumBigSize, productPs3, productMinecraft, productBundlePs3AssassinCreed, productPs4, productDualshock4Controller, productPs4Camera, productBundlePs4, - productGroupAccessories, - productPrinceOfPersia, productLegoWorlds, productHorizonZeroDown, productFifa17 + productGroupAccessories, productPrinceOfPersia, productLegoWorlds, productHorizonZeroDown, productFifa17, productJackWolfsKinKanukaPoint }; - entities.AddRange(GetFashionProducts()); - entities.AddRange(GetFurnitureProducts()); + entities.AddRange(GetFashionProducts(specAttributes)); + entities.AddRange(GetFurnitureProducts(specAttributes)); this.Alter(entities); return entities; @@ -13057,9 +13214,11 @@ public IList ForumGroups() public IList Forums() { - var newProductsForum = new Forum + var group = _ctx.Set().FirstOrDefault(c => c.DisplayOrder == 1); + + var newProductsForum = new Forum { - ForumGroup = _ctx.Set().Where(c => c.DisplayOrder == 1).Single(), + ForumGroup = group, Name = "New Products", Description = "Discuss new products and industry trends", NumTopics = 0, @@ -13071,7 +13230,7 @@ public IList Forums() var packagingShippingForum = new Forum { - ForumGroup = _ctx.Set().Where(c => c.DisplayOrder == 1).Single(), + ForumGroup = group, Name = "Packaging & Shipping", Description = "Discuss packaging & shipping", NumTopics = 0, @@ -13153,34 +13312,44 @@ public IList DeliveryTimes() public IList QuantityUnits() { - var entities = new List() - { - new QuantityUnit - { - Name = "Piece", - Description = "Piece", - IsDefault = true, - DisplayOrder = 0, - }, - new QuantityUnit - { - Name = "Box", - Description = "Box", - DisplayOrder = 1, - }, - new QuantityUnit - { - Name = "Parcel", - Description = "Parcel", - DisplayOrder = 2, - }, - new QuantityUnit - { - Name = "Palette", - Description = "Palette", - DisplayOrder = 3, - }, - }; + var count = 0; + var entities = new List(); + + var quPluralEn = new Dictionary + { + { "Piece", "Pieces" }, + { "Box", "Boxes" }, + { "Parcel", "Parcels" }, + { "Palette", "Pallets" }, + { "Unit", "Units" }, + { "Sack", "Sacks" }, + { "Bag", "Bags" }, + { "Can", "Cans" }, + { "Packet", "Packets" }, + { "Bar", "Bars" }, + { "Bottle", "Bottles" }, + { "Glass", "Glasses" }, + { "Bunch", "Bunches" }, + { "Roll", "Rolls" }, + { "Cup", "Cups" }, + { "Bundle", "Bundles" }, + { "Barrel", "Barrels" }, + { "Set", "Sets" }, + { "Bucket", "Buckets" } + }; + + foreach (var qu in quPluralEn) + { + entities.Add(new QuantityUnit + { + Name = qu.Key, + NamePlural = qu.Value, + Description = qu.Key, + IsDefault = qu.Key == "Piece", + DisplayOrder = count++ + }); + } + this.Alter(entities); return entities; } @@ -13203,7 +13372,7 @@ public IList BlogPosts() Language = defaultLanguage, Title = "Customer Service - Client Service", Body = "

Managing online business requires different skills and abilities than managing a business in the ‘real world.’ Customers can easily detect the size and determine the prestige of a business when they have the ability to walk in and take a look around. Not only do ‘real-world’ furnishings and location tell the customer what level of professionalism to expect, but "real world" personal encounters allow first impressions to be determined by how the business approaches its customer service. When a customer walks into a retail business just about anywhere in the world, that customer expects prompt and personal service, especially with regards to questions that they may have about products they wish to purchase.

Customer service or the client service is the service provided to the customer for his satisfaction during and after the purchase. It is necessary to every business organization to understand the customer needs for value added service. So customer data collection is essential. For this, a good customer service is important. The easiest way to lose a client is because of the poor customer service. The importance of customer service changes by product, industry and customer. Client service is an important part of every business organization. Each organization is different in its attitude towards customer service. Customer service requires a superior quality service through a careful design and execution of a series of activities which include people, technology and processes. Good customer service starts with the design and communication between the company and the staff.

In some ways, the lack of a physical business location allows the online business some leeway that their ‘real world’ counterparts do not enjoy. Location is not important, furnishings are not an issue, and most of the visual first impression is made through the professional design of the business website.

However, one thing still remains true. Customers will make their first impressions on the customer service they encounter. Unfortunately, in online business there is no opportunity for front- line staff to make a good impression. Every interaction the customer has with the website will be their primary means of making their first impression towards the business and its client service. Good customer service in any online business is a direct result of good website design and planning.

By Jayashree Pakhare (buzzle.com)

", - Tags = "e-commerce, SmartStore.NET, asp.net, sample tag, money", + Tags = "e-commerce, Smartstore.NET, asp.net, sample tag, money", CreatedOnUtc = DateTime.UtcNow.AddSeconds(1), }; @@ -13223,26 +13392,26 @@ public IList NewsItems() { AllowComments = true, Language = defaultLanguage, - Title = "SmartStore.NET new release!", - Short = "SmartStore.NET includes everything you need to begin your e-commerce online store.", - Full = "

SmartStore.NET includes everything you need to begin your e-commerce online store.
We have thought of everything and it's all included!

From downloads to documentation, www.smartstore.com offers a comprehensive base of information, resources, and support to the SmartStore.NET community.

", + Title = "Smartstore.NET 3.2 now with the new CMS Page Builder", + Short = "Create fascinating content with the new Page Builder", + Full = "

Create fascinating content from products, product groups, images, videos and texts.
Transitions, animations, gradients, hover effects or overlays are easily applied in the WYSIWYG editor.

More information about Smartstore 3.2 and Page Builder can be found at www.smartstore.com

", Published = true, - MetaTitle = "SmartStore.NET new release!", + MetaTitle = "Smartstore.NET 3.2", CreatedOnUtc = DateTime.Now }; var news2 = new NewsItem() - { - AllowComments = true, - Language = defaultLanguage, - Title = "New online store is open!", - Short = "The new SmartStore.NET store is open now! We are very excited to offer our new range of products. We will be constantly adding to our range so please register on our site, this will enable you to keep up to date with any new products.", - Full = "

Our online store is officially up and running. Stock up for the holiday season! We have a great selection of items. We will be constantly adding to our range so please register on our site, this will enable you to keep up to date with any new products.

All shipping is worldwide and will leave the same day an order is placed! Happy Shopping and spread the word!!

", - Published = true, - MetaTitle = "New online store is open!", - CreatedOnUtc = DateTime.Now - }; + { + AllowComments = true, + Language = defaultLanguage, + Title = "Smartstore.NET new release!", + Short = "Smartstore.NET includes everything you need to begin your e-commerce online store.", + Full = "

Smartstore.NET includes everything you need to begin your e-commerce online store.
We have thought of everything and it's all included!

From downloads to documentation, www.smartstore.com offers a comprehensive base of information, resources, and support to the Smartstore.NET community.

", + Published = true, + MetaTitle = "Smartstore.NET new release!", + CreatedOnUtc = DateTime.Now + }; - var entities = new List + var entities = new List { news1, news2 }; @@ -13628,7 +13797,7 @@ protected string SampleDownloadsPath languageId = x.LanguageId; break; case Topic x: - name = SeoHelper.GetSeName(x.SystemName, true, false).Truncate(400); + name = SeoHelper.GetSeName(x.SystemName, true, false, true).Truncate(400); break; } diff --git a/src/Libraries/SmartStore.Data/SmartDbConfiguration.cs b/src/Libraries/SmartStore.Data/SmartDbConfiguration.cs index 163b21ba8a..d18414d6e9 100644 --- a/src/Libraries/SmartStore.Data/SmartDbConfiguration.cs +++ b/src/Libraries/SmartStore.Data/SmartDbConfiguration.cs @@ -6,6 +6,9 @@ using SmartStore.Core.Infrastructure; using SmartStore.Data.Caching; using System.Web.Hosting; +using System.Data.Entity.Infrastructure; +using System.Data.Entity.Infrastructure.DependencyResolution; +using SmartStore.Utilities; namespace SmartStore.Data { @@ -13,6 +16,15 @@ public class SmartDbConfiguration : DbConfiguration { public SmartDbConfiguration() { + // DB model caching + if (HostingEnvironment.IsHosted) + { + var cacheLocation = CommonHelper.MapPath("~/App_Data/EfCache"); + System.IO.Directory.CreateDirectory(cacheLocation); + var modelStore = new EfDbModelStore(cacheLocation); + AddDependencyResolver(new SingletonDependencyResolver(modelStore)); + } + IEfDataProvider provider = null; try { @@ -22,7 +34,7 @@ public SmartDbConfiguration() { /* SmartStore is not installed yet! */ } - + if (provider != null) { base.SetDefaultConnectionFactory(provider.GetConnectionFactory()); diff --git a/src/Libraries/SmartStore.Data/SmartObjectContext.cs b/src/Libraries/SmartStore.Data/SmartObjectContext.cs index a294110582..586a4f6f3f 100644 --- a/src/Libraries/SmartStore.Data/SmartObjectContext.cs +++ b/src/Libraries/SmartStore.Data/SmartObjectContext.cs @@ -1,19 +1,17 @@ using System; -using System.Collections.Generic; using System.Data; -using System.Data.Common; using System.Data.Entity; -using System.Data.Entity.Infrastructure; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Reflection; using SmartStore.Core.Data; +using SmartStore.Core.Domain.Cms; using SmartStore.Data.Migrations; using SmartStore.Data.Setup; namespace SmartStore.Data -{ - public class SmartObjectContext : ObjectContextBase +{ + public class SmartObjectContext : ObjectContextBase { static SmartObjectContext() { @@ -68,6 +66,9 @@ where t.Namespace.HasValue() && //...or do it manually below. For example, //modelBuilder.Configurations.Add(new LanguageMap()); + modelBuilder.Entity(); + modelBuilder.Entity(); + base.OnModelCreating(modelBuilder); } diff --git a/src/Libraries/SmartStore.Data/SmartStore.Data.csproj b/src/Libraries/SmartStore.Data/SmartStore.Data.csproj index f7a601595a..9f7c8ce217 100644 --- a/src/Libraries/SmartStore.Data/SmartStore.Data.csproj +++ b/src/Libraries/SmartStore.Data/SmartStore.Data.csproj @@ -1,5 +1,6 @@  - + + Debug AnyCPU @@ -66,9 +67,8 @@ latest - - ..\..\packages\Autofac.4.5.0\lib\net45\Autofac.dll - True + + ..\..\packages\Autofac.4.9.0\lib\net45\Autofac.dll ..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll @@ -94,9 +94,8 @@ True ..\..\packages\Microsoft.SqlServer.Scripting.11.0.2100.61\lib\Microsoft.SqlServer.Smo.dll - - ..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll - True + + ..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll @@ -106,8 +105,8 @@ ..\..\packages\Microsoft.SqlServer.Compact.4.0.8876.1\lib\net40\System.Data.SqlServerCe.dll - - ..\..\packages\System.ValueTuple.4.4.0\lib\net461\System.ValueTuple.dll + + ..\..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll @@ -133,6 +132,9 @@ + + + @@ -652,6 +654,38 @@ 201811202204501_ProductIndexSeekExport.cs + + + 201902211855242_TopicHtmlIdAndBodyCss.cs + + + + 201904110735029_Menus.cs + + + + 201905020948354_WidgetTopics.cs + + + + 201905101159134_V320Resources.cs + + + + 201905271110370_V321Resources.cs + + + + 201906252008551_QuantityUnitNamePlural.cs + + + + 201907032251575_CategoryExternalLink.cs + + + + 201908150749388_V322Resources.cs + @@ -1170,6 +1204,30 @@ 201811202204501_ProductIndexSeekExport.cs + + 201902211855242_TopicHtmlIdAndBodyCss.cs + + + 201904110735029_Menus.cs + + + 201905020948354_WidgetTopics.cs + + + 201905101159134_V320Resources.cs + + + 201905271110370_V321Resources.cs + + + 201906252008551_QuantityUnitNamePlural.cs + + + 201907032251575_CategoryExternalLink.cs + + + 201908150749388_V322Resources.cs + diff --git a/src/Libraries/SmartStore.Data/Utilities/DataMigrator.cs b/src/Libraries/SmartStore.Data/Utilities/DataMigrator.cs index 8309f68139..49c93d1b22 100644 --- a/src/Libraries/SmartStore.Data/Utilities/DataMigrator.cs +++ b/src/Libraries/SmartStore.Data/Utilities/DataMigrator.cs @@ -1,29 +1,30 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Data.Entity; -using EfState = System.Data.Entity.EntityState; -using SmartStore.Core.Data; -using SmartStore.Core.Domain.Catalog; -using SmartStore.Core; -using SmartStore.Core.Domain.Directory; -using SmartStore.Utilities; using System.IO; -using System.Xml.Linq; -using SmartStore.Core.Domain.Configuration; -using SmartStore.Core.Infrastructure; -using SmartStore.Core.IO; +using System.Linq; using System.Text.RegularExpressions; +using System.Xml.Linq; +using SmartStore.Core; +using SmartStore.Core.Data; +using SmartStore.Core.Domain.Catalog; +using SmartStore.Core.Domain.Cms; using SmartStore.Core.Domain.Common; +using SmartStore.Core.Domain.Configuration; using SmartStore.Core.Domain.Customers; +using SmartStore.Core.Domain.Directory; +using SmartStore.Core.Domain.Localization; using SmartStore.Core.Domain.Media; -using System.Data.Entity.Migrations; +using SmartStore.Core.Domain.Security; +using SmartStore.Core.Infrastructure; +using SmartStore.Core.IO; +using SmartStore.Data.Setup; +using SmartStore.Utilities; +using EfState = System.Data.Entity.EntityState; namespace SmartStore.Data.Utilities { - public static class DataMigrator + public static class DataMigrator { #region Download.ProductId @@ -440,6 +441,387 @@ public static int MoveCustomerFields(IDbContext context) return numUpdated; } - #endregion - } + #endregion + + #region CreateSystemMenus (V3.2) + + public static void CreateSystemMenus(IDbContext context) + { + var ctx = context as SmartObjectContext; + if (ctx == null) + { + throw new ArgumentException("Passed context must be an instance of type '{0}'.".FormatInvariant(typeof(SmartObjectContext)), nameof(context)); + } + + const string entityProvider = "entity"; + const string routeProvider = "route"; + const string routeTemplate = "{{\"routename\":\"{0}\"}}"; + + var resourceNames = new string[] { + "Footer.Info", + "Footer.Service", + "Footer.Company", + "Manufacturers.List", + "Admin.Catalog.Categories", + "Products.NewProducts", + "Products.RecentlyViewedProducts", + "Products.Compare.List", + "ContactUs", + "Blog", + "Forum.Forums", + "Account.Login", + "Menu.ServiceMenu" + }; + + var settingNames = new string[] + { + "CatalogSettings.RecentlyAddedProductsEnabled", + "CatalogSettings.RecentlyViewedProductsEnabled", + "CatalogSettings.CompareProductsEnabled", + "BlogSettings.Enabled", + "ForumSettings.ForumsEnabled", + "CustomerSettings.UserRegistrationType" + }; + + Dictionary resources = null; + Dictionary settings = null; + + using (var scope = new DbContextScope(ctx: context, validateOnSave: false, hooksEnabled: false, autoCommit: false)) + { + var permissionMigrator = new PermissionMigrator(ctx); + permissionMigrator.AddPermission(new PermissionRecord + { + Name = "Admin area. Manage Menus", + SystemName = "ManageMenus", + Category = "Content Management" + }, new string[] { SystemCustomerRoleNames.Administrators }); + + var menuSet = context.Set(); + var menuItemSet = context.Set(); + var defaultLang = context.Set().OrderBy(x => x.DisplayOrder).First(); + var manufacturerCount = context.Set().Count(); + var order = 0; + + resources = context.Set().AsNoTracking() + .Where(x => x.LanguageId == defaultLang.Id && resourceNames.Contains(x.ResourceName)) + .Select(x => new { x.ResourceName, x.ResourceValue }) + .ToList() + .ToDictionarySafe(x => x.ResourceName, x => x.ResourceValue, StringComparer.OrdinalIgnoreCase); + + settings = context.Set().AsNoTracking() + .Where(x => x.StoreId == 0 && settingNames.Contains(x.Name)) + .Select(x => new { x.Name, x.Value }) + .ToList() + .ToDictionarySafe(x => x.Name, x => x.Value, StringComparer.OrdinalIgnoreCase); + + #region System menus + + var mainMenu = menuSet.Add(new MenuRecord + { + SystemName = "Main", + IsSystemMenu = true, + Published = true, + Template = "Navbar", + Title = GetResource("Admin.Catalog.Categories") + }); + + var footerInfo = menuSet.Add(new MenuRecord + { + SystemName = "FooterInformation", + IsSystemMenu = true, + Published = true, + Template = "LinkList", + Title = "Footer - " + GetResource("Footer.Info") + }); + + var footerService = menuSet.Add(new MenuRecord + { + SystemName = "FooterService", + IsSystemMenu = true, + Published = true, + Template = "LinkList", + Title = "Footer - " + GetResource("Footer.Service") + }); + + var footerCompany = menuSet.Add(new MenuRecord + { + SystemName = "FooterCompany", + IsSystemMenu = true, + Published = true, + Template = "LinkList", + Title = "Footer - " + GetResource("Footer.Company") + }); + + var serviceMenu = menuSet.Add(new MenuRecord + { + SystemName = "HelpAndService", + IsSystemMenu = true, + Published = true, + Template = "Dropdown", + Title = GetResource("Menu.ServiceMenu").NullEmpty() ?? "Service" + }); + + scope.Commit(); + + #endregion + + #region Main and footer menus + + menuItemSet.Add(new MenuItemRecord + { + MenuId = mainMenu.Id, + ProviderName = "catalog", + Published = true + }); + + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerInfo.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("ManufacturerList"), + Title = GetResource("Manufacturers.List"), + DisplayOrder = ++order, + Published = manufacturerCount > 0 + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerInfo.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("RecentlyAddedProducts"), + Title = GetResource("Products.NewProducts"), + DisplayOrder = ++order, + Published = GetSetting("CatalogSettings.RecentlyAddedProductsEnabled", true) + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerInfo.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("RecentlyViewedProducts"), + Title = GetResource("Products.RecentlyViewedProducts"), + DisplayOrder = ++order, + Published = GetSetting("CatalogSettings.RecentlyViewedProductsEnabled", true) + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerInfo.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("CompareProducts"), + Title = GetResource("Products.Compare.List"), + DisplayOrder = ++order, + Published = GetSetting("CatalogSettings.CompareProductsEnabled", true) + }); + + scope.Commit(); + order = 0; + + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerService.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("contactus"), + Title = GetResource("ContactUs"), + DisplayOrder = ++order + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerService.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("Blog"), + Title = GetResource("Blog"), + DisplayOrder = ++order, + Published = GetSetting("BlogSettings.Enabled", true) + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerService.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("Boards"), + Title = GetResource("Forum.Forums"), + DisplayOrder = ++order, + Published = GetSetting("ForumSettings.ForumsEnabled", true) + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerService.Id, + ProviderName = entityProvider, + Model = "topic:shippinginfo", + DisplayOrder = ++order + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerService.Id, + ProviderName = entityProvider, + Model = "topic:paymentinfo", + DisplayOrder = ++order + }); + + scope.Commit(); + order = 0; + + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerCompany.Id, + ProviderName = entityProvider, + Model = "topic:aboutus", + DisplayOrder = ++order + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerCompany.Id, + ProviderName = entityProvider, + Model = "topic:imprint", + DisplayOrder = ++order + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerCompany.Id, + ProviderName = entityProvider, + Model = "topic:disclaimer", + DisplayOrder = ++order + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerCompany.Id, + ProviderName = entityProvider, + Model = "topic:privacyinfo", + DisplayOrder = ++order + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerCompany.Id, + ProviderName = entityProvider, + Model = "topic:conditionsofuse", + DisplayOrder = ++order + }); + + if (GetSetting("CustomerSettings.UserRegistrationType", "").IsCaseInsensitiveEqual("Disabled")) + { + menuItemSet.Add(new MenuItemRecord + { + MenuId = footerCompany.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("Login"), + Title = GetResource("Account.Login"), + DisplayOrder = ++order + }); + } + + scope.Commit(); + order = 0; + + #endregion + + #region Help & Service + + menuItemSet.Add(new MenuItemRecord + { + MenuId = serviceMenu.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("RecentlyAddedProducts"), + Title = GetResource("Products.NewProducts"), + DisplayOrder = ++order, + Published = GetSetting("CatalogSettings.RecentlyAddedProductsEnabled", true) + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = serviceMenu.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("ManufacturerList"), + Title = GetResource("Manufacturers.List"), + DisplayOrder = ++order, + Published = manufacturerCount > 0 + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = serviceMenu.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("RecentlyViewedProducts"), + Title = GetResource("Products.RecentlyViewedProducts"), + DisplayOrder = ++order, + Published = GetSetting("CatalogSettings.RecentlyViewedProductsEnabled", true) + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = serviceMenu.Id, + ProviderName = routeProvider, + Model = routeTemplate.FormatInvariant("CompareProducts"), + Title = GetResource("Products.Compare.List"), + DisplayOrder = ++order, + Published = GetSetting("CatalogSettings.CompareProductsEnabled", true) + }); + + menuItemSet.Add(new MenuItemRecord + { + MenuId = serviceMenu.Id, + ProviderName = entityProvider, + Model = "topic:aboutus", + DisplayOrder = ++order, + BeginGroup = true + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = serviceMenu.Id, + ProviderName = entityProvider, + Model = "topic:disclaimer", + DisplayOrder = ++order + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = serviceMenu.Id, + ProviderName = entityProvider, + Model = "topic:shippinginfo", + DisplayOrder = ++order + }); + menuItemSet.Add(new MenuItemRecord + { + MenuId = serviceMenu.Id, + ProviderName = entityProvider, + Model = "topic:conditionsofuse", + DisplayOrder = ++order + }); + + scope.Commit(); + order = 0; + + #endregion + + #region Localization + + var resourceSet = context.Set(); + + var removeNames = new List { "Menu.ServiceMenu" }; + var removeResources = resourceSet.Where(x => removeNames.Contains(x.ResourceName)).ToList(); + resourceSet.RemoveRange(removeResources); + + scope.Commit(); + + #endregion + } + + #region Utilities + + string GetResource(string name) + { + return resources.TryGetValue(name, out var value) ? value : string.Empty; + } + + T GetSetting(string name, T defaultValue = default(T)) + { + try + { + if (settings.TryGetValue(name, out var str) && CommonHelper.TryConvert(str, out T value)) + { + return value; + } + } + catch { } + + return defaultValue; + } + + #endregion + } + + #endregion + } } diff --git a/src/Libraries/SmartStore.Data/app.config b/src/Libraries/SmartStore.Data/app.config index 9e763e6753..63141836b9 100644 --- a/src/Libraries/SmartStore.Data/app.config +++ b/src/Libraries/SmartStore.Data/app.config @@ -4,16 +4,20 @@ - + - + + + + + diff --git a/src/Libraries/SmartStore.Data/packages.config b/src/Libraries/SmartStore.Data/packages.config index fe0a5053cd..a063941a5e 100644 --- a/src/Libraries/SmartStore.Data/packages.config +++ b/src/Libraries/SmartStore.Data/packages.config @@ -1,10 +1,10 @@  - + - - + + \ No newline at end of file diff --git a/src/Libraries/SmartStore.Services/Authentication/External/ExternalAuthorizer.cs b/src/Libraries/SmartStore.Services/Authentication/External/ExternalAuthorizer.cs index 294603323a..7eab4cd87a 100644 --- a/src/Libraries/SmartStore.Services/Authentication/External/ExternalAuthorizer.cs +++ b/src/Libraries/SmartStore.Services/Authentication/External/ExternalAuthorizer.cs @@ -111,6 +111,7 @@ public virtual AuthorizationResult Authorize(OpenAuthenticationParameters parame result.AddError("Account is already assigned"); return result; } + if (AccountDoesNotExistAndUserIsNotLoggedOn(userFound, userLoggedIn)) { ExternalAuthorizerHelper.StoreParametersForRoundTrip(parameters); @@ -125,14 +126,14 @@ public virtual AuthorizationResult Authorize(OpenAuthenticationParameters parame bool isApproved = _customerSettings.UserRegistrationType == UserRegistrationType.Standard; var registrationRequest = new CustomerRegistrationRequest(currentCustomer, details.EmailAddress, - _customerSettings.UsernamesEnabled ? details.UserName : details.EmailAddress, randomPassword, PasswordFormat.Clear, isApproved); + _customerSettings.CustomerLoginType != CustomerLoginType.Email ? details.UserName : details.EmailAddress, randomPassword, PasswordFormat.Clear, isApproved); var registrationResult = _customerRegistrationService.RegisterCustomer(registrationRequest); if (registrationResult.Success) { // store other parameters (form fields) - if (!String.IsNullOrEmpty(details.FirstName)) + if (details.FirstName.HasValue()) currentCustomer.FirstName = details.FirstName; - if (!String.IsNullOrEmpty(details.LastName)) + if (details.LastName.HasValue()) currentCustomer.LastName = details.LastName; userFound = currentCustomer; @@ -152,27 +153,24 @@ public virtual AuthorizationResult Authorize(OpenAuthenticationParameters parame switch (_customerSettings.UserRegistrationType) { case UserRegistrationType.EmailValidation: - { - // email validation message - _genericAttributeService.SaveAttribute(currentCustomer, SystemCustomerAttributeNames.AccountActivationToken, Guid.NewGuid().ToString()); - _messageFactory.SendCustomerEmailValidationMessage(currentCustomer, _workContext.WorkingLanguage.Id); - - // result - return new AuthorizationResult(OpenAuthenticationStatus.AutoRegisteredEmailValidation); - } + { + // email validation message + _genericAttributeService.SaveAttribute(currentCustomer, SystemCustomerAttributeNames.AccountActivationToken, Guid.NewGuid().ToString()); + _messageFactory.SendCustomerEmailValidationMessage(currentCustomer, _workContext.WorkingLanguage.Id); + + return new AuthorizationResult(OpenAuthenticationStatus.AutoRegisteredEmailValidation); + } case UserRegistrationType.AdminApproval: - { - // result - return new AuthorizationResult(OpenAuthenticationStatus.AutoRegisteredAdminApproval); - } + { + return new AuthorizationResult(OpenAuthenticationStatus.AutoRegisteredAdminApproval); + } case UserRegistrationType.Standard: - { - // send customer welcome message - _messageFactory.SendCustomerWelcomeMessage(currentCustomer, _workContext.WorkingLanguage.Id); + { + // send customer welcome message + _messageFactory.SendCustomerWelcomeMessage(currentCustomer, _workContext.WorkingLanguage.Id); - //result - return new AuthorizationResult(OpenAuthenticationStatus.AutoRegisteredStandard); - } + return new AuthorizationResult(OpenAuthenticationStatus.AutoRegisteredStandard); + } default: break; } diff --git a/src/Libraries/SmartStore.Services/Authentication/FormsAuthenticationService.cs b/src/Libraries/SmartStore.Services/Authentication/FormsAuthenticationService.cs index 4f88412b3f..3e5a33fa85 100644 --- a/src/Libraries/SmartStore.Services/Authentication/FormsAuthenticationService.cs +++ b/src/Libraries/SmartStore.Services/Authentication/FormsAuthenticationService.cs @@ -18,36 +18,41 @@ public partial class FormsAuthenticationService : IAuthenticationService public FormsAuthenticationService(HttpContextBase httpContext, ICustomerService customerService, CustomerSettings customerSettings) { - this._httpContext = httpContext; - this._customerService = customerService; - this._customerSettings = customerSettings; - this._expirationTimeSpan = FormsAuthentication.Timeout; + _httpContext = httpContext; + _customerService = customerService; + _customerSettings = customerSettings; + _expirationTimeSpan = FormsAuthentication.Timeout; } - public virtual void SignIn(Customer customer, bool createPersistentCookie) { var now = DateTime.UtcNow.ToLocalTime(); + var name = _customerSettings.CustomerLoginType != CustomerLoginType.Email ? customer.Username : customer.Email; + - var ticket = new FormsAuthenticationTicket( + var ticket = new FormsAuthenticationTicket( 1 /*version*/, - _customerSettings.UsernamesEnabled ? customer.Username : customer.Email, + name, now, now.Add(_expirationTimeSpan), createPersistentCookie, - _customerSettings.UsernamesEnabled ? customer.Username : customer.Email, + name, FormsAuthentication.FormsCookiePath); var encryptedTicket = FormsAuthentication.Encrypt(ticket); - var cookie = new HttpCookie(FormsAuthentication.FormsCookieName, encryptedTicket); - cookie.HttpOnly = true; - if (ticket.IsPersistent) + var cookie = new HttpCookie(FormsAuthentication.FormsCookieName, encryptedTicket) + { + HttpOnly = true, + Secure = FormsAuthentication.RequireSSL, + Path = FormsAuthentication.FormsCookiePath + }; + + if (ticket.IsPersistent) { cookie.Expires = ticket.Expiration; } - cookie.Secure = FormsAuthentication.RequireSSL; - cookie.Path = FormsAuthentication.FormsCookiePath; + if (FormsAuthentication.CookieDomain != null) { cookie.Domain = FormsAuthentication.CookieDomain; @@ -72,16 +77,15 @@ public virtual Customer GetAuthenticatedCustomer() return null; Customer customer = null; - FormsIdentity formsIdentity = null; - SmartStoreIdentity smartNetIdentity = null; + SmartStoreIdentity ident = null; - if ((formsIdentity = _httpContext.User.Identity as FormsIdentity) != null) + if (_httpContext.User.Identity is FormsIdentity formsIdentity) { customer = GetAuthenticatedCustomerFromTicket(formsIdentity.Ticket); } - else if ((smartNetIdentity = _httpContext.User.Identity as SmartStoreIdentity) != null) + else if ((ident = _httpContext.User.Identity as SmartStoreIdentity) != null) { - customer = _customerService.GetCustomerById(smartNetIdentity.CustomerId); + customer = _customerService.GetCustomerById(ident.CustomerId); } if (customer != null && customer.Active && !customer.Deleted && customer.IsRegistered()) @@ -94,17 +98,27 @@ public virtual Customer GetAuthenticatedCustomer() public virtual Customer GetAuthenticatedCustomerFromTicket(FormsAuthenticationTicket ticket) { - if (ticket == null) - throw new ArgumentNullException("ticket"); + Guard.NotNull(ticket, nameof(ticket)); var usernameOrEmail = ticket.UserData; - if (String.IsNullOrWhiteSpace(usernameOrEmail)) + if (string.IsNullOrWhiteSpace(usernameOrEmail)) return null; - var customer = _customerSettings.UsernamesEnabled - ? _customerService.GetCustomerByUsername(usernameOrEmail) - : _customerService.GetCustomerByEmail(usernameOrEmail); + Customer customer = null; + + if (_customerSettings.CustomerLoginType == CustomerLoginType.Email) + { + customer = _customerService.GetCustomerByEmail(usernameOrEmail); + } + else if (_customerSettings.CustomerLoginType == CustomerLoginType.Username) + { + customer = _customerService.GetCustomerByUsername(usernameOrEmail); + } + else + { + customer = _customerService.GetCustomerByEmail(usernameOrEmail) ?? _customerService.GetCustomerByUsername(usernameOrEmail); + } return customer; } diff --git a/src/Libraries/SmartStore.Services/Blogs/BlogService.cs b/src/Libraries/SmartStore.Services/Blogs/BlogService.cs index ea9c74c547..7cdfafa8b7 100644 --- a/src/Libraries/SmartStore.Services/Blogs/BlogService.cs +++ b/src/Libraries/SmartStore.Services/Blogs/BlogService.cs @@ -163,10 +163,10 @@ public virtual IPagedList GetAllBlogPostsByTag( foreach (var blogPost in blogPostsAll) { - var tags = blogPost.ParseTags().Select(x => SeoHelper.GetSeName(x, _seoSettings.ConvertNonWesternChars, _seoSettings.AllowUnicodeCharsInUrls, + true, _seoSettings.SeoNameCharConversion)); if (!String.IsNullOrEmpty(tags.FirstOrDefault(t => t.Equals(tag, StringComparison.InvariantCultureIgnoreCase)))) diff --git a/src/Libraries/SmartStore.Services/Catalog/CategoryService.cs b/src/Libraries/SmartStore.Services/Catalog/CategoryService.cs index f5f5282557..f0c104405b 100644 --- a/src/Libraries/SmartStore.Services/Catalog/CategoryService.cs +++ b/src/Libraries/SmartStore.Services/Catalog/CategoryService.cs @@ -28,11 +28,11 @@ public partial class CategoryService : ICategoryService internal const string CATEGORY_TREE_KEY = "category:tree-{0}-{1}-{2}"; internal const string CATEGORY_TREE_PATTERN_KEY = "category:tree-*"; - private const string CATEGORIES_BY_PARENT_CATEGORY_ID_KEY = "category.byparent-{0}-{1}-{2}-{3}"; - private const string PRODUCTCATEGORIES_ALLBYCATEGORYID_KEY = "productcategory.allbycategoryid-{0}-{1}-{2}-{3}-{4}-{5}"; - private const string PRODUCTCATEGORIES_ALLBYPRODUCTID_KEY = "productcategory.allbyproductid-{0}-{1}-{2}-{3}"; - private const string CATEGORIES_PATTERN_KEY = "category.*"; - private const string PRODUCTCATEGORIES_PATTERN_KEY = "productcategory.*"; + private const string CATEGORIES_BY_PARENT_CATEGORY_ID_KEY = "category:byparent-{0}-{1}-{2}-{3}"; + private const string PRODUCTCATEGORIES_ALLBYCATEGORYID_KEY = "productcategory:allbycategoryid-{0}-{1}-{2}-{3}-{4}-{5}"; + private const string PRODUCTCATEGORIES_ALLBYPRODUCTID_KEY = "productcategory:allbyproductid-{0}-{1}-{2}-{3}"; + private const string CATEGORIES_PATTERN_KEY = "category:*"; + private const string PRODUCTCATEGORIES_PATTERN_KEY = "productcategory:*"; private readonly IRepository _categoryRepository; private readonly IRepository _productCategoryRepository; @@ -116,7 +116,7 @@ public virtual void InheritAclIntoChildren( var category = GetCategoryById(categoryId); var subcategories = GetAllCategoriesByParentCategoryId(categoryId, true); var allCustomerRoles = _customerService.GetAllCustomerRoles(true); - var categoryCustomerRoles = _aclService.GetCustomerRoleIdsWithAccess(category); + var categoryCustomerRoles = _aclService.GetCustomerRoleIdsWithAccessTo(category); var categoryIds = new HashSet(subcategories.Select(x => x.Id)); categoryIds.Add(categoryId); @@ -183,12 +183,11 @@ public virtual void InheritAclIntoChildren( } else { - AclRecord aclRecordToDelete; - if (existingAclRecords.TryGetValue(customerRole.Id, out aclRecordToDelete)) - { - _aclRepository.Delete(aclRecordToDelete); - } - } + if (existingAclRecords.TryGetValue(customerRole.Id, out var aclRecordToDelete)) + { + _aclRepository.Delete(aclRecordToDelete); + } + } } } @@ -241,12 +240,11 @@ public virtual void InheritStoresIntoChildren( } else { - StoreMapping storeMappingToDelete; - if (existingStoreMappingsRecords.TryGetValue(store.Id, out storeMappingToDelete)) - { - _storeMappingRepository.Delete(storeMappingToDelete); - } - } + if (existingStoreMappingsRecords.TryGetValue(store.Id, out var storeMappingToDelete)) + { + _storeMappingRepository.Delete(storeMappingToDelete); + } + } } } @@ -273,12 +271,11 @@ public virtual void InheritStoresIntoChildren( } else { - StoreMapping storeMappingToDelete; - if (existingStoreMappingsRecords.TryGetValue(store.Id, out storeMappingToDelete)) - { - _storeMappingRepository.Delete(storeMappingToDelete); - } - } + if (existingStoreMappingsRecords.TryGetValue(store.Id, out var storeMappingToDelete)) + { + _storeMappingRepository.Delete(storeMappingToDelete); + } + } } } @@ -433,6 +430,23 @@ public virtual Category GetCategoryById(int categoryId) return _categoryRepository.GetByIdCached(categoryId, "db.category.id-" + categoryId); } + public virtual IList GetCategoriesByIds(int[] categoryIds) + { + if (categoryIds == null || !categoryIds.Any()) + { + return new List(); + } + + var query = from c in _categoryRepository.Table + where categoryIds.Contains(c.Id) + select c; + + var categories = query.ToList(); + + // Sort by passed identifier sequence. + return categories.OrderBySequence(categoryIds).ToList(); + } + public virtual void InsertCategory(Category category) { Guard.NotNull(category, nameof(category)); @@ -760,6 +774,7 @@ public TreeNode GetCategoryTree(int rootCategoryId = 0, bool incl x.Id, x.ParentCategoryId, x.Name, + x.ExternalLink, x.Alias, x.PictureId, x.Published, @@ -776,6 +791,7 @@ public TreeNode GetCategoryTree(int rootCategoryId = 0, bool incl Id = x.Id, ParentCategoryId = x.ParentCategoryId, Name = x.Name, + ExternalLink = x.ExternalLink, Alias = x.Alias, PictureId = x.PictureId, Published = x.Published, diff --git a/src/Libraries/SmartStore.Services/Catalog/CategoryTreeChangeHandler.cs b/src/Libraries/SmartStore.Services/Catalog/CategoryTreeChangeHandler.cs index ebbe3e7632..804584a665 100644 --- a/src/Libraries/SmartStore.Services/Catalog/CategoryTreeChangeHandler.cs +++ b/src/Libraries/SmartStore.Services/Catalog/CategoryTreeChangeHandler.cs @@ -35,7 +35,7 @@ public CategoryTreeChangedEvent(CategoryTreeChangeReason reason) public CategoryTreeChangeReason Reason { get; private set; } } - public class CategoryTreeChangeHook : IDbSaveHook, IConsumer + public class CategoryTreeChangeHook : IDbSaveHook, IConsumer { private readonly ICommonServices _services; private readonly ICategoryService _categoryService; @@ -48,7 +48,7 @@ public class CategoryTreeChangeHook : IDbSaveHook, IConsumer _candidateTypes = new HashSet { @@ -104,7 +104,7 @@ public void OnBeforeSave(IHookedEntity entry) if (modProps.Keys.Any(x => _h.Contains(x))) { - // Hierarchy affecting properties has changed. Nuke every tree. + // Hierarchy affecting properties has changed. Nuke each tree. cache.RemoveByPattern(CategoryService.CATEGORY_TREE_PATTERN_KEY); PublishEvent(CategoryTreeChangeReason.Hierarchy); _invalidated = true; @@ -145,6 +145,7 @@ public void OnBeforeSave(IHookedEntity entry) else { value.Name = category.Name; + value.ExternalLink = category.ExternalLink; value.Alias = category.Alias; value.PictureId = category.PictureId; value.BadgeText = category.BadgeText; @@ -258,7 +259,7 @@ public void OnAfterSave(IHookedEntity entry) } } - void IConsumer.HandleEvent(IndexingCompletedEvent message) + public void HandleEvent(IndexingCompletedEvent message) { if (message.IndexInfo.IsModified) { diff --git a/src/Libraries/SmartStore.Services/Catalog/ICategoryService.cs b/src/Libraries/SmartStore.Services/Catalog/ICategoryService.cs index a415dc7665..b52589cb5e 100644 --- a/src/Libraries/SmartStore.Services/Catalog/ICategoryService.cs +++ b/src/Libraries/SmartStore.Services/Catalog/ICategoryService.cs @@ -100,6 +100,13 @@ IPagedList GetAllCategories( /// Category Category GetCategoryById(int categoryId); + /// + /// Gets categories by Ids + /// + /// Array of category identifiers + /// List of Categories + IList GetCategoriesByIds(int[] categoryIds); + /// /// Inserts category /// diff --git a/src/Libraries/SmartStore.Services/Catalog/IManufacturerService.cs b/src/Libraries/SmartStore.Services/Catalog/IManufacturerService.cs index 8843f4eb94..f8127a3d2c 100644 --- a/src/Libraries/SmartStore.Services/Catalog/IManufacturerService.cs +++ b/src/Libraries/SmartStore.Services/Catalog/IManufacturerService.cs @@ -60,6 +60,13 @@ IPagedList GetAllManufacturers(string manufacturerName, /// Manufacturer Manufacturer GetManufacturerById(int manufacturerId); + /// + /// Gets manufacturers by Ids + /// + /// Array of manufacturer identifiers + /// List of manufacturers + IList GetManufacturersByIds(int[] manufacturerIds); + /// /// Inserts a manufacturer /// diff --git a/src/Libraries/SmartStore.Services/Catalog/Importer/CategoryImporter.cs b/src/Libraries/SmartStore.Services/Catalog/Importer/CategoryImporter.cs index 57d484a6b6..14daae3178 100644 --- a/src/Libraries/SmartStore.Services/Catalog/Importer/CategoryImporter.cs +++ b/src/Libraries/SmartStore.Services/Catalog/Importer/CategoryImporter.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Drawing; using System.IO; using System.Linq; using System.Linq.Expressions; @@ -9,19 +8,18 @@ using SmartStore.Core.Domain.Catalog; using SmartStore.Core.Domain.DataExchange; using SmartStore.Core.Domain.Media; -using SmartStore.Core.Events; using SmartStore.Services.DataExchange.Import; +using SmartStore.Services.DataExchange.Import.Events; using SmartStore.Services.Localization; using SmartStore.Services.Media; using SmartStore.Utilities; namespace SmartStore.Services.Catalog.Importer { - public class CategoryImporter : EntityImporterBase + public class CategoryImporter : EntityImporterBase { private readonly IRepository _categoryRepository; private readonly IRepository _pictureRepository; - private readonly ICommonServices _services; private readonly ICategoryTemplateService _categoryTemplateService; private readonly IPictureService _pictureService; private readonly ILocalizedEntityService _localizedEntityService; @@ -41,7 +39,6 @@ public class CategoryImporter : EntityImporterBase public CategoryImporter( IRepository categoryRepository, IRepository pictureRepository, - ICommonServices services, ICategoryTemplateService categoryTemplateService, IPictureService pictureService, ILocalizedEntityService localizedEntityService, @@ -49,7 +46,6 @@ public CategoryImporter( { _categoryRepository = categoryRepository; _pictureRepository = pictureRepository; - _services = services; _categoryTemplateService = categoryTemplateService; _pictureService = pictureService; _localizedEntityService = localizedEntityService; @@ -81,20 +77,20 @@ protected override void Import(ImportExecuteContext context) { ProcessCategories(context, batch, templateViewPaths, srcToDestId); } - catch (Exception exception) + catch (Exception ex) { - context.Result.AddError(exception, segmenter.CurrentSegment, "ProcessCategories"); + context.Result.AddError(ex, segmenter.CurrentSegment, "ProcessCategories"); } - // reduce batch to saved (valid) products. + // Reduce batch to saved (valid) products. // No need to perform import operations on errored products. batch = batch.Where(x => x.Entity != null && !x.IsTransient).ToArray(); - // update result object + // Update result object. context.Result.NewRecords += batch.Count(x => x.IsNew && !x.IsTransient); context.Result.ModifiedRecords += batch.Count(x => !x.IsNew && !x.IsTransient); - // process slugs + // Process slugs. if (segmenter.HasColumn("SeName", true) || batch.Any(x => x.IsNew || x.NameChanged)) { try @@ -102,9 +98,9 @@ protected override void Import(ImportExecuteContext context) _categoryRepository.Context.AutoDetectChangesEnabled = true; ProcessSlugs(context, batch, typeof(Category).Name); } - catch (Exception exception) + catch (Exception ex) { - context.Result.AddError(exception, segmenter.CurrentSegment, "ProcessSlugs"); + context.Result.AddError(ex, segmenter.CurrentSegment, "ProcessSlugs"); } finally { @@ -112,49 +108,51 @@ protected override void Import(ImportExecuteContext context) } } - // process store mappings + // Process store mappings. if (segmenter.HasColumn("StoreIds")) { try { ProcessStoreMappings(context, batch); } - catch (Exception exception) + catch (Exception ex) { - context.Result.AddError(exception, segmenter.CurrentSegment, "ProcessStoreMappings"); + context.Result.AddError(ex, segmenter.CurrentSegment, "ProcessStoreMappings"); } } - // localizations + // Localizations. try { ProcessLocalizations(context, batch, _localizableProperties); } - catch (Exception exception) + catch (Exception ex) { - context.Result.AddError(exception, segmenter.CurrentSegment, "ProcessLocalizedProperties"); + context.Result.AddError(ex, segmenter.CurrentSegment, "ProcessLocalizedProperties"); } - // process pictures - if (srcToDestId.Any() && segmenter.HasColumn("ImageUrl") && !segmenter.IsIgnored("PictureId")) + // Process pictures. + if (segmenter.HasColumn("ImageUrl") && !segmenter.IsIgnored("PictureId")) { try { _categoryRepository.Context.AutoDetectChangesEnabled = true; - ProcessPictures(context, batch, srcToDestId); + ProcessPictures(context, batch); } - catch (Exception exception) + catch (Exception ex) { - context.Result.AddError(exception, segmenter.CurrentSegment, "ProcessPictures"); + context.Result.AddError(ex, segmenter.CurrentSegment, "ProcessPictures"); } finally { _categoryRepository.Context.AutoDetectChangesEnabled = false; } } - } - // map parent id of inserted categories + context.Services.EventPublisher.Publish(new ImportBatchExecutedEvent(context, batch)); + } + + // Map parent id of inserted categories. if (srcToDestId.Any() && segmenter.HasColumn("Id") && segmenter.HasColumn("ParentCategoryId") && !segmenter.IsIgnored("ParentCategoryId")) { segmenter.Reset(); @@ -168,9 +166,9 @@ protected override void Import(ImportExecuteContext context) { ProcessParentMappings(context, batch, srcToDestId); } - catch (Exception exception) + catch (Exception ex) { - context.Result.AddError(exception, segmenter.CurrentSegment, "ProcessParentMappings"); + context.Result.AddError(ex, segmenter.CurrentSegment, "ProcessParentMappings"); } } } @@ -179,82 +177,74 @@ protected override void Import(ImportExecuteContext context) protected virtual int ProcessPictures( ImportExecuteContext context, - IEnumerable> batch, - Dictionary srcToDestId) + IEnumerable> batch) { - var equalPictureId = 0; - foreach (var row in batch) { try { var srcId = row.GetDataValue("Id"); - var urlOrPath = row.GetDataValue("ImageUrl"); - - if (srcId != 0 && srcToDestId.ContainsKey(srcId) && urlOrPath.HasValue()) - { - var currentPictures = new List(); - var category = _categoryRepository.GetById(srcToDestId[srcId].DestinationId); - var seoName = _pictureService.GetPictureSeName(row.EntityDisplayName); - var image = CreateDownloadImage(urlOrPath, seoName, 1); - - if (category != null && image != null) - { - if (image.Url.HasValue() && !image.Success.HasValue) - { - AsyncRunner.RunSync(() => _fileDownloadManager.DownloadAsync(DownloaderContext, new FileDownloadManagerItem[] { image })); - } - - if ((image.Success ?? false) && File.Exists(image.Path)) - { - Succeeded(image); - var pictureBinary = File.ReadAllBytes(image.Path); - - if (pictureBinary != null && pictureBinary.Length > 0) - { - var pictureId = category.PictureId ?? 0; - if (pictureId != 0) - { - var picture = _pictureRepository.TableUntracked.Expand(x => x.MediaStorage).FirstOrDefault(x => x.Id == pictureId); - if (picture != null) - { - currentPictures.Add(picture); - } - } - - pictureBinary = _pictureService.FindEqualPicture(pictureBinary, currentPictures, out equalPictureId); - - if (pictureBinary != null && pictureBinary.Length > 0) - { - //var picture = _pictureService.InsertPicture(pictureBinary, image.MimeType, seoName, true, size.Width, size.Height, false); - var picture = _pictureService.InsertPicture(pictureBinary, image.MimeType, seoName, true, false, false); ; - if (picture != null) - { - category.PictureId = picture.Id; - _categoryRepository.Update(category); - } - } - else - { - context.Result.AddInfo("Found equal picture in data store. Skipping field.", row.GetRowInfo(), "ImageUrls"); - } - } - } - else if (image.Url.HasValue()) - { - context.Result.AddInfo("Download of an image failed.", row.GetRowInfo(), "ImageUrls"); - } - } - } + var imageUrl = row.GetDataValue("ImageUrl"); + if (imageUrl.IsEmpty()) + { + continue; + } + + var seoName = _pictureService.GetPictureSeName(row.EntityDisplayName); + var image = CreateDownloadImage(context, imageUrl, seoName, 1); + + if (image.Url.HasValue() && !image.Success.HasValue) + { + AsyncRunner.RunSync(() => _fileDownloadManager.DownloadAsync(DownloaderContext, new FileDownloadManagerItem[] { image })); + } + + if ((image.Success ?? false) && File.Exists(image.Path)) + { + Succeeded(image); + var pictureBinary = File.ReadAllBytes(image.Path); + + if (pictureBinary != null && pictureBinary.Length > 0) + { + var currentPictures = new List(); + var pictureId = row.Entity.PictureId ?? 0; + if (pictureId != 0) + { + var picture = _pictureRepository.TableUntracked.Expand(x => x.MediaStorage).FirstOrDefault(x => x.Id == pictureId); + if (picture != null) + { + currentPictures.Add(picture); + } + } + + pictureBinary = _pictureService.FindEqualPicture(pictureBinary, currentPictures, out var equalPictureId); + + if (pictureBinary != null && pictureBinary.Length > 0) + { + var picture = _pictureService.InsertPicture(pictureBinary, image.MimeType, seoName, true, false, false); + if (picture != null) + { + row.Entity.PictureId = picture.Id; + _categoryRepository.Update(row.Entity); + } + } + else + { + context.Result.AddInfo("Found equal picture in data store. Skipping field.", row.GetRowInfo(), "ImageUrls"); + } + } + } + else if (image.Url.HasValue()) + { + context.Result.AddInfo("Download of an image failed.", row.GetRowInfo(), "ImageUrls"); + } } - catch (Exception exception) + catch (Exception ex) { - context.Result.AddWarning(exception.ToAllMessages(), row.GetRowInfo(), "ImageUrls"); + context.Result.AddWarning(ex.ToAllMessages(), row.GetRowInfo(), "ImageUrls"); } } var num = _categoryRepository.Context.SaveChanges(); - return num; } @@ -339,8 +329,9 @@ protected virtual int ProcessCategories( _categoryRepository.AutoCommitEnabled = true; var defaultTemplateId = templateViewPaths["CategoryTemplate.ProductsInGridOrLines"]; + var hasNameColumn = context.DataSegmenter.HasColumn("Name"); - foreach (var row in batch) + foreach (var row in batch) { Category category = null; var id = row.GetDataValue("Id"); @@ -372,9 +363,9 @@ protected virtual int ProcessCategories( continue; } - // a Name is required with new categories - if (!row.Segmenter.HasColumn("Name")) - { + // A name is required for new categories. + if (!row.HasDataValue("Name")) + { ++context.Result.SkippedRecords; context.Result.AddError("The 'Name' field is required for new categories. Skipping row.", row.GetRowInfo(), "Name"); continue; @@ -385,7 +376,7 @@ protected virtual int ProcessCategories( row.Initialize(category, name ?? category.Name); - if (!row.IsNew && !category.Name.Equals(name, StringComparison.OrdinalIgnoreCase)) + if (!row.IsNew && hasNameColumn && !category.Name.Equals(name, StringComparison.OrdinalIgnoreCase)) { // Perf: use this later for SeName updates. row.NameChanged = true; @@ -432,16 +423,17 @@ protected virtual int ProcessCategories( } } - // commit whole batch at once + // Commit whole batch at once. var num = _categoryRepository.Context.SaveChanges(); - // get new category ids + // Get new category ids. foreach (var row in batch) { var id = row.GetDataValue("Id"); - - if (id != 0 && srcToDestId.ContainsKey(id)) - srcToDestId[id].DestinationId = row.Entity.Id; + if (id != 0 && srcToDestId.ContainsKey(id)) + { + srcToDestId[id].DestinationId = row.Entity.Id; + } } return num; diff --git a/src/Libraries/SmartStore.Services/Catalog/Importer/ProductImporter.cs b/src/Libraries/SmartStore.Services/Catalog/Importer/ProductImporter.cs index 671ca44a8a..ed77e3abc3 100644 --- a/src/Libraries/SmartStore.Services/Catalog/Importer/ProductImporter.cs +++ b/src/Libraries/SmartStore.Services/Catalog/Importer/ProductImporter.cs @@ -15,6 +15,7 @@ using SmartStore.Core.Localization; using SmartStore.Data.Utilities; using SmartStore.Services.DataExchange.Import; +using SmartStore.Services.DataExchange.Import.Events; using SmartStore.Services.Localization; using SmartStore.Services.Media; using SmartStore.Utilities; @@ -269,6 +270,8 @@ x is ProductBundleItem || x is ProductCategory || x is ProductManufacturer || x context.Result.AddError(ex, segmenter.CurrentSegment, "ProcessProductTags"); } } + + context.Services.EventPublisher.Publish(new ImportBatchExecutedEvent(context, batch)); } // =========================================================================== @@ -356,7 +359,11 @@ protected virtual void ImportTierPrices(ImportExecuteContext context) row.SetProperty(context.Result, (x) => x.CustomerRoleId); row.SetProperty(context.Result, (x) => x.Quantity); row.SetProperty(context.Result, (x) => x.Price); - row.SetProperty(context.Result, (x) => x.CalculationMethod); + + if (row.TryGetDataValue("CalculationMethod", out int calcMethod)) + { + tierPrice.CalculationMethod = (TierPriceCalculationMethod)calcMethod; + } if (row.IsTransient) { @@ -383,7 +390,11 @@ protected virtual void ImportTierPrices(ImportExecuteContext context) // Update has tier prices property for inserted records. var insertedProductIds = new HashSet(batch.Where(x => x.IsNew).Select(x => x.Entity.ProductId)); var products = _productService.GetProductsByIds(insertedProductIds.ToArray()); - products.Each(x => _productService.UpdateHasTierPricesProperty(x)); + if (products.Any()) + { + products.Each(x => _productService.UpdateHasTierPricesProperty(x)); + _productRepository.Context.SaveChanges(); + } } } @@ -585,7 +596,11 @@ protected virtual void ImportAttributeCombinations(ImportExecuteContext context) // Update lowest attribute combination price property. var products = _productService.GetProductsByIds(lowestCombinationPriceProductIds.ToArray()); - products.Each(x => _productService.UpdateLowestAttributeCombinationPriceProperty(x)); + if (products.Any()) + { + products.Each(x => _productService.UpdateLowestAttributeCombinationPriceProperty(x)); + _productRepository.Context.SaveChanges(); + } } } @@ -598,6 +613,7 @@ protected virtual int ProcessProducts( _productRepository.AutoCommitEnabled = false; var defaultTemplateId = templateViewPaths["Product"]; + var hasNameColumn = context.DataSegmenter.HasColumn("Name"); foreach (var row in batch) { @@ -657,7 +673,7 @@ protected virtual int ProcessProducts( row.Initialize(product, name ?? product.Name); - if (!row.IsNew) + if (!row.IsNew && hasNameColumn) { if (!product.Name.Equals(name, StringComparison.OrdinalIgnoreCase)) { @@ -857,7 +873,7 @@ protected virtual void ProcessProductPictures(ImportExecuteContext context, IEnu // Collect required image file infos. foreach (var urlOrPath in imageUrls) { - var image = CreateDownloadImage(urlOrPath, seoName, ++imageNumber); + var image = CreateDownloadImage(context, urlOrPath, seoName, ++imageNumber); if (image != null) imageFiles.Add(image); diff --git a/src/Libraries/SmartStore.Services/Catalog/ManufacturerService.cs b/src/Libraries/SmartStore.Services/Catalog/ManufacturerService.cs index d160e1d7c6..ae476bb05d 100644 --- a/src/Libraries/SmartStore.Services/Catalog/ManufacturerService.cs +++ b/src/Libraries/SmartStore.Services/Catalog/ManufacturerService.cs @@ -15,10 +15,10 @@ namespace SmartStore.Services.Catalog { public partial class ManufacturerService : IManufacturerService { - private const string PRODUCTMANUFACTURERS_ALLBYMANUFACTURERID_KEY = "SmartStore.productmanufacturer.allbymanufacturerid-{0}-{1}-{2}-{3}-{4}"; - private const string PRODUCTMANUFACTURERS_ALLBYPRODUCTID_KEY = "SmartStore.productmanufacturer.allbyproductid-{0}-{1}-{2}"; - private const string MANUFACTURERS_PATTERN_KEY = "SmartStore.manufacturer.*"; - private const string PRODUCTMANUFACTURERS_PATTERN_KEY = "SmartStore.productmanufacturer.*"; + private const string PRODUCTMANUFACTURERS_ALLBYMANUFACTURERID_KEY = "productmanufacturer:allbymanufacturerid-{0}-{1}-{2}-{3}-{4}"; + private const string PRODUCTMANUFACTURERS_ALLBYPRODUCTID_KEY = "productmanufacturer:allbyproductid-{0}-{1}-{2}"; + private const string MANUFACTURERS_PATTERN_KEY = "manufacturer:*"; + private const string PRODUCTMANUFACTURERS_PATTERN_KEY = "productmanufacturer:*"; private readonly IRepository _manufacturerRepository; private readonly IRepository _productManufacturerRepository; @@ -121,6 +121,23 @@ public virtual Manufacturer GetManufacturerById(int manufacturerId) return _manufacturerRepository.GetByIdCached(manufacturerId, "db.manu.id-" + manufacturerId); } + public virtual IList GetManufacturersByIds(int[] manufacturerIds) + { + if (manufacturerIds == null || !manufacturerIds.Any()) + { + return new List(); + } + + var query = from m in _manufacturerRepository.Table + where manufacturerIds.Contains(m.Id) + select m; + + var manufacturers = query.ToList(); + + // Sort by passed identifier sequence. + return manufacturers.OrderBySequence(manufacturerIds).ToList(); + } + public virtual void InsertManufacturer(Manufacturer manufacturer) { if (manufacturer == null) @@ -221,8 +238,6 @@ join m in _manufacturerRepository.Table on pm.ManufacturerId equals m.Id orderby pm.DisplayOrder select pm; - query = query.Include(x => x.Manufacturer.Picture); - if (!showHidden) { if (!QuerySettings.IgnoreMultiStore) @@ -247,7 +262,9 @@ orderby mGroup.Key query = query.OrderBy(pm => pm.DisplayOrder); } - var productManufacturers = query.ToList(); + query = query.Include(x => x.Manufacturer.Picture); + + var productManufacturers = query.ToList(); return productManufacturers; }); } diff --git a/src/Libraries/SmartStore.Services/Catalog/Modelling/ProductVariantQueryFactory.cs b/src/Libraries/SmartStore.Services/Catalog/Modelling/ProductVariantQueryFactory.cs index f115f77341..954eebf7d5 100644 --- a/src/Libraries/SmartStore.Services/Catalog/Modelling/ProductVariantQueryFactory.cs +++ b/src/Libraries/SmartStore.Services/Catalog/Modelling/ProductVariantQueryFactory.cs @@ -4,6 +4,7 @@ using System.Text.RegularExpressions; using System.Web; using SmartStore.Collections; +using SmartStore.Core.Html; using SmartStore.Services.Search.Modelling; namespace SmartStore.Services.Catalog.Modelling @@ -38,11 +39,10 @@ protected Multimap QueryItems { _queryItems = new Multimap(); - if (_httpContext.Request != null) + if (_httpContext.Request?.Unvalidated != null) { - var form = _httpContext.Request.Form; - var query = _httpContext.Request.QueryString; - + var form = _httpContext.Request.Unvalidated.Form; + if (form != null) { foreach (var key in form.AllKeys) @@ -54,7 +54,9 @@ protected Multimap QueryItems } } - if (query != null) + var query = _httpContext.Request.Unvalidated.QueryString; + + if (query != null) { foreach (var key in query.AllKeys) { @@ -71,7 +73,51 @@ protected Multimap QueryItems } } - private DateTime? ConvertToDate(string key, string value) + public ProductVariantQuery Current { get; private set; } + + public ProductVariantQuery CreateFromQuery() + { + var query = new ProductVariantQuery(); + Current = query; + + if (_httpContext.Request == null) + return query; + + var languageId = _services.WorkContext.WorkingLanguage.Id; + + foreach (var item in QueryItems) + { + if (!item.Value.Any() || item.Key.EndsWith("-day") || item.Key.EndsWith("-month")) + { + continue; + } + + if (IsVariantKey.IsMatch(item.Key)) + { + ConvertVariant(query, item.Key, item.Value); + } + else if (IsGiftCardKey.IsMatch(item.Key)) + { + item.Value.Each(value => ConvertGiftCard(query, item.Key, value)); + } + else if (IsCheckoutAttributeKey.IsMatch(item.Key)) + { + ConvertCheckoutAttribute(query, item.Key, item.Value); + } + else if (IsVariantAliasKey.IsMatch(item.Key)) + { + ConvertVariantAlias(query, item.Key, item.Value, languageId); + } + else + { + ConvertItems(_httpContext.Request, query, item.Key, item.Value); + } + } + + return query; + } + + private DateTime? ConvertToDate(string key, string value) { var year = 0; var month = 0; @@ -119,15 +165,17 @@ protected virtual void ConvertVariant(ProductVariantQuery query, string key, ICo if (isDate || isFile || isText) { var value = isText ? string.Join(",", values) : values.First(); - var variant = new ProductVariantQueryItem(value); - variant.ProductId = ids[0].ToInt(); - variant.BundleItemId = ids[1].ToInt(); - variant.AttributeId = ids[2].ToInt(); - variant.VariantAttributeId = ids[3].ToInt(); - variant.IsFile = isFile; - variant.IsText = isText; - - if (isDate) + var variant = new ProductVariantQueryItem(value) + { + ProductId = ids[0].ToInt(), + BundleItemId = ids[1].ToInt(), + AttributeId = ids[2].ToInt(), + VariantAttributeId = ids[3].ToInt(), + IsFile = isFile, + IsText = isText + }; + + if (isDate) { variant.Date = ConvertToDate(key, value); } @@ -138,13 +186,15 @@ protected virtual void ConvertVariant(ProductVariantQuery query, string key, ICo { foreach (var value in values) { - var variant = new ProductVariantQueryItem(value); - variant.ProductId = ids[0].ToInt(); - variant.BundleItemId = ids[1].ToInt(); - variant.AttributeId = ids[2].ToInt(); - variant.VariantAttributeId = ids[3].ToInt(); - - query.AddVariant(variant); + var variant = new ProductVariantQueryItem(value) + { + ProductId = ids[0].ToInt(), + BundleItemId = ids[1].ToInt(), + AttributeId = ids[2].ToInt(), + VariantAttributeId = ids[3].ToInt() + }; + + query.AddVariant(variant); } } } @@ -181,16 +231,18 @@ protected virtual void ConvertVariantAlias(ProductVariantQuery query, string key if (isDate || isFile || isText) { var value = isText ? string.Join(",", values) : values.First(); - var variant = new ProductVariantQueryItem(value); - variant.ProductId = productId; - variant.BundleItemId = bundleItemId; - variant.AttributeId = attributeId; - variant.VariantAttributeId = variantAttributeId; - variant.Alias = alias; - variant.IsFile = isFile; - variant.IsText = isText; - - if (isDate) + var variant = new ProductVariantQueryItem(value) + { + ProductId = productId, + BundleItemId = bundleItemId, + AttributeId = attributeId, + VariantAttributeId = variantAttributeId, + Alias = alias, + IsFile = isFile, + IsText = isText + }; + + if (isDate) { variant.Date = ConvertToDate(key, value); } @@ -213,14 +265,16 @@ protected virtual void ConvertVariantAlias(ProductVariantQuery query, string key valueAlias = string.Join("-", valueIds.Take(valueIds.Length - 1)); } - var variant = new ProductVariantQueryItem(optionId == 0 ? value : optionId.ToString()); - variant.ProductId = productId; - variant.BundleItemId = bundleItemId; - variant.AttributeId = attributeId; - variant.VariantAttributeId = variantAttributeId; - variant.Alias = alias; + var variant = new ProductVariantQueryItem(optionId == 0 ? value : optionId.ToString()) + { + ProductId = productId, + BundleItemId = bundleItemId, + AttributeId = attributeId, + VariantAttributeId = variantAttributeId, + Alias = alias + }; - if (optionId != 0) + if (optionId != 0) { variant.ValueAlias = valueAlias; } @@ -257,11 +311,13 @@ protected virtual void ConvertCheckoutAttribute(ProductVariantQuery query, strin if (isDate || isFile || isText) { var value = isText ? string.Join(",", values) : values.First(); - var attribute = new CheckoutAttributeQueryItem(attributeId, value); - attribute.IsFile = isFile; - attribute.IsText = isText; + var attribute = new CheckoutAttributeQueryItem(attributeId, value) + { + IsFile = isFile, + IsText = isText + }; - if (isDate) + if (isDate) { attribute.Date = ConvertToDate(key, value); } @@ -280,49 +336,5 @@ protected virtual void ConvertCheckoutAttribute(ProductVariantQuery query, strin protected virtual void ConvertItems(HttpRequestBase request, ProductVariantQuery query, string key, ICollection values) { } - - public ProductVariantQuery Current { get; private set; } - - public ProductVariantQuery CreateFromQuery() - { - var query = new ProductVariantQuery(); - Current = query; - - if (_httpContext.Request == null) - return query; - - var languageId = _services.WorkContext.WorkingLanguage.Id; - - foreach (var item in QueryItems) - { - if (!item.Value.Any() || item.Key.EndsWith("-day") || item.Key.EndsWith("-month")) - { - continue; - } - - if (IsVariantKey.IsMatch(item.Key)) - { - ConvertVariant(query, item.Key, item.Value); - } - else if (IsGiftCardKey.IsMatch(item.Key)) - { - item.Value.Each(value => ConvertGiftCard(query, item.Key, value)); - } - else if (IsCheckoutAttributeKey.IsMatch(item.Key)) - { - ConvertCheckoutAttribute(query, item.Key, item.Value); - } - else if (IsVariantAliasKey.IsMatch(item.Key)) - { - ConvertVariantAlias(query, item.Key, item.Value, languageId); - } - else - { - ConvertItems(_httpContext.Request, query, item.Key, item.Value); - } - } - - return query; - } } } diff --git a/src/Libraries/SmartStore.Services/Catalog/PriceCalculationService.cs b/src/Libraries/SmartStore.Services/Catalog/PriceCalculationService.cs index fb33efe0a8..5fc429449c 100644 --- a/src/Libraries/SmartStore.Services/Catalog/PriceCalculationService.cs +++ b/src/Libraries/SmartStore.Services/Catalog/PriceCalculationService.cs @@ -539,7 +539,7 @@ public virtual decimal GetFinalPrice( } // Tier prices. - if (product.HasTierPrices && includeDiscounts && bundleItem == null) + if (product.HasTierPrices && includeDiscounts && !(bundleItem != null && bundleItem.Item != null)) { var tierPrice = GetMinimumTierPrice(product, customer, quantity, context); var discountAmountTest = GetDiscountAmount(product, customer, additionalCharge, quantity, out var appliedDiscountTest, bundleItem); @@ -598,7 +598,7 @@ public virtual decimal GetFinalPrice( { var itemPrice = GetFinalPrice(itemData.Item.Product, customer, itemData.AdditionalCharge, includeDiscounts, 1, itemData, context); - result = result + decimal.Multiply(itemPrice, itemData.Item.Quantity); + result += decimal.Multiply(itemPrice, itemData.Item.Quantity); } return result < decimal.Zero ? decimal.Zero : result; diff --git a/src/Libraries/SmartStore.Services/Catalog/ProductAttributeFormatter.cs b/src/Libraries/SmartStore.Services/Catalog/ProductAttributeFormatter.cs index 1cfb95ee34..7d3c6db822 100644 --- a/src/Libraries/SmartStore.Services/Catalog/ProductAttributeFormatter.cs +++ b/src/Libraries/SmartStore.Services/Catalog/ProductAttributeFormatter.cs @@ -113,7 +113,7 @@ public string FormatAttributes(Product product, string attributes, //encode (if required) if (htmlEncode) attributeName = HttpUtility.HtmlEncode(attributeName); - pvaAttribute = string.Format("{0}: {1}", attributeName, HtmlUtils.FormatText(valueStr, false, true, false, false, false, false)); + pvaAttribute = string.Format("{0}: {1}", attributeName, HtmlUtils.ConvertPlainTextToHtml(valueStr.HtmlEncode())); //we never encode multiline textbox input } else if (pva.AttributeControlType == AttributeControlType.FileUpload) diff --git a/src/Libraries/SmartStore.Services/Catalog/ProductExtensions.cs b/src/Libraries/SmartStore.Services/Catalog/ProductExtensions.cs index f48e90521a..679dddfea8 100644 --- a/src/Libraries/SmartStore.Services/Catalog/ProductExtensions.cs +++ b/src/Libraries/SmartStore.Services/Catalog/ProductExtensions.cs @@ -321,7 +321,6 @@ public static int[] ParseRequiredProductIds(this Product product) /// Customer /// Target currency /// Price adjustment - /// Whether the result string should be language insensitive /// The base price info public static string GetBasePriceInfo(this Product product, ILocalizationService localizationService, @@ -331,8 +330,7 @@ public static string GetBasePriceInfo(this Product product, IPriceCalculationService priceCalculationService, Customer customer, Currency currency, - decimal priceAdjustment = decimal.Zero, - bool languageInsensitive = false) + decimal priceAdjustment = decimal.Zero) { Guard.NotNull(product, nameof(product)); Guard.NotNull(currencyService, nameof(currencyService)); @@ -343,16 +341,14 @@ public static string GetBasePriceInfo(this Product product, if (product.BasePriceHasValue && product.BasePriceAmount != decimal.Zero) { - var taxrate = decimal.Zero; var currentPrice = priceCalculationService.GetFinalPrice(product, customer, true); - var price = taxService.GetProductPrice(product, decimal.Add(currentPrice, priceAdjustment), customer, currency, out taxrate); - + var price = taxService.GetProductPrice(product, decimal.Add(currentPrice, priceAdjustment), customer, currency, out var taxrate); price = currencyService.ConvertFromPrimaryStoreCurrency(price, currency); - return product.GetBasePriceInfo(price, localizationService, priceFormatter, currency, languageInsensitive); + return product.GetBasePriceInfo(price, localizationService, priceFormatter, currency); } - return ""; + return string.Empty; } /// @@ -363,14 +359,12 @@ public static string GetBasePriceInfo(this Product product, /// Localization service /// Price formatter /// Target currency - /// Whether the result string should be language insensitive /// The base price info public static string GetBasePriceInfo(this Product product, decimal productPrice, ILocalizationService localizationService, IPriceFormatter priceFormatter, - Currency currency, - bool languageInsensitive = false) + Currency currency) { Guard.NotNull(product, nameof(product)); Guard.NotNull(localizationService, nameof(localizationService)); @@ -382,8 +376,7 @@ public static string GetBasePriceInfo(this Product product, var value = Convert.ToDecimal((productPrice / product.BasePriceAmount) * product.BasePriceBaseAmount); var valueFormatted = priceFormatter.FormatPrice(value, true, currency); var amountFormatted = Math.Round(product.BasePriceAmount.Value, 2).ToString("G29"); - - var infoTemplate = localizationService.GetResource(languageInsensitive ? "Products.BasePriceInfo.LanguageInsensitive" : "Products.BasePriceInfo"); + var infoTemplate = localizationService.GetResource("Products.BasePriceInfo"); var result = infoTemplate.FormatInvariant( amountFormatted, @@ -395,7 +388,7 @@ public static string GetBasePriceInfo(this Product product, return result; } - return ""; + return string.Empty; } public static string GetProductTypeLabel(this Product product, ILocalizationService localizationService) diff --git a/src/Libraries/SmartStore.Services/Catalog/SpecificationAttributeService.cs b/src/Libraries/SmartStore.Services/Catalog/SpecificationAttributeService.cs index 1602eeb0b1..ac5bda82b6 100644 --- a/src/Libraries/SmartStore.Services/Catalog/SpecificationAttributeService.cs +++ b/src/Libraries/SmartStore.Services/Catalog/SpecificationAttributeService.cs @@ -105,10 +105,16 @@ public virtual SpecificationAttributeOption GetSpecificationAttributeOptionById( public virtual IList GetSpecificationAttributeOptionsBySpecificationAttribute(int specificationAttributeId) { + if (specificationAttributeId == 0) + { + return new List(); + } + var query = from sao in _specificationAttributeOptionRepository.Table orderby sao.DisplayOrder where sao.SpecificationAttributeId == specificationAttributeId select sao; + var specificationAttributeOptions = query.ToList(); return specificationAttributeOptions; } diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/BlockHandlerBase.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/BlockHandlerBase.cs new file mode 100644 index 0000000000..03d182c4a3 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/BlockHandlerBase.cs @@ -0,0 +1,403 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Web; +using System.Web.Mvc; +using System.Web.Mvc.Async; +using System.Web.Mvc.Html; +using System.Web.Routing; +using Newtonsoft.Json; +using SmartStore.Core.Logging; +using SmartStore.Services.Localization; +using SmartStore.Utilities; + +namespace SmartStore.Services.Cms.Blocks +{ + public abstract class BlockHandlerBase : IBlockHandler where T : IBlock + { + public ICommonServices Services { get; set; } + + public ILogger Logger { get; set; } + + public ILocalizedEntityService LocalizedEntityService { get; set; } + + public virtual T Create(IBlockEntity entity) + { + return Activator.CreateInstance(); + } + + public virtual T Load(IBlockEntity entity, StoryViewMode viewMode) + { + Guard.NotNull(entity, nameof(entity)); + + var block = Create(entity); + var json = entity.Model; + + if (json.IsEmpty()) + { + return block; + } + + JsonConvert.PopulateObject(json, block); + + if (block is IBindableBlock bindableBlock) + { + bindableBlock.BindEntityName = entity.BindEntityName; + bindableBlock.BindEntityId = entity.BindEntityId; + } + + return block; + } + + public virtual bool IsValid(T block) + { + return true; + } + + public virtual void Save(T block, IBlockEntity entity) + { + Guard.NotNull(entity, nameof(entity)); + + if (block == null) + { + return; + } + + var settings = new JsonSerializerSettings + { + TypeNameHandling = TypeNameHandling.Objects, + ReferenceLoopHandling = ReferenceLoopHandling.Ignore, + ObjectCreationHandling = ObjectCreationHandling.Replace, + NullValueHandling = NullValueHandling.Ignore + }; + + entity.Model = JsonConvert.SerializeObject(block, Formatting.None, settings); + + // save BindEntintyName & BindEntintyId + if (block is IBindableBlock bindableBlock) + { + entity.BindEntityId = bindableBlock.BindEntityId; + entity.BindEntityName = bindableBlock.BindEntityName; + } + } + + public virtual string Clone(IBlockEntity sourceEntity, IBlockEntity clonedEntity) + { + return sourceEntity.Model; + } + + public void Render(IBlockContainer element, IEnumerable templates, HtmlHelper htmlHelper) + { + RenderCore(element, templates, htmlHelper, htmlHelper.ViewContext.Writer); + } + + public IHtmlString ToHtmlString(IBlockContainer element, IEnumerable templates, HtmlHelper htmlHelper) + { + using (var writer = new StringWriter(CultureInfo.CurrentCulture)) + { + RenderCore(element, templates, htmlHelper, writer); + return MvcHtmlString.Create(writer.ToString()); + } + } + + protected virtual void RenderCore(IBlockContainer element, IEnumerable templates, HtmlHelper htmlHelper, TextWriter textWriter) + { + RenderByView(element, templates, htmlHelper, textWriter); + } + + protected void RenderByView(IBlockContainer element, IEnumerable templates, HtmlHelper htmlHelper, TextWriter textWriter) + { + Guard.NotNull(element, nameof(element)); + Guard.NotNull(templates, nameof(templates)); + Guard.NotNull(htmlHelper, nameof(htmlHelper)); + Guard.NotNull(textWriter, nameof(textWriter)); + + var viewContext = htmlHelper.ViewContext; + + if (!element.Metadata.IsInbuilt) + { + // Change "area" token in RouteData in order to begin search in the plugin's view folder. + var originalRouteData = htmlHelper.ViewContext.RouteData; + var routeData = new RouteData(originalRouteData.Route, originalRouteData.RouteHandler); + routeData.Values.Merge(originalRouteData.Values); + routeData.DataTokens["area"] = element.Metadata.AreaName; + + viewContext = new ViewContext + { + RouteData = routeData, + RequestContext = htmlHelper.ViewContext.RequestContext + }; + } + + var viewResult = FindFirstView(element.Metadata, templates, viewContext, out var searchedLocations); + + if (viewResult == null) + { + var msg = string.Format("No template found for '{0}'. Searched locations:\n{1}.", string.Join(", ", templates), string.Join("\n", searchedLocations)); + Logger.Debug(msg); + throw new FileNotFoundException(msg); + } + + var viewData = new ViewDataDictionary(element.Block); + viewData.TemplateInfo.HtmlFieldPrefix = "Block"; + + viewContext = new ViewContext( + htmlHelper.ViewContext, + viewResult.View, + viewData, + htmlHelper.ViewContext.TempData, + textWriter); + + viewResult.View.Render(viewContext, textWriter); + } + + private ViewEngineResult FindFirstView(IBlockMetadata blockMetadata, IEnumerable templates, ViewContext viewContext, out ICollection searchedLocations) + { + searchedLocations = new List(); + + foreach (var template in templates) + { + var viewName = string.Concat("BlockTemplates/", blockMetadata.SystemName, "/", template); + var viewResult = ViewEngines.Engines.FindPartialView(viewContext, viewName); + searchedLocations.AddRange(viewResult.SearchedLocations); + if (viewResult.View != null) + { + return viewResult; + } + } + + return null; + } + + protected void RenderByChildAction(IBlockContainer element, IEnumerable templates, HtmlHelper htmlHelper, TextWriter textWriter) + { + Guard.NotNull(element, nameof(element)); + Guard.NotNull(templates, nameof(templates)); + Guard.NotNull(htmlHelper, nameof(htmlHelper)); + Guard.NotNull(textWriter, nameof(textWriter)); + + var routeInfo = templates.Select(x => GetRoute(element, x)).FirstOrDefault(); + if (routeInfo == null) + { + throw new InvalidOperationException("The return value of the 'GetRoute()' method cannot be NULL."); + } + + var routeValues = routeInfo.RouteValues; + + routeValues["action"] = routeInfo.Action; + routeValues["controller"] = routeInfo.Controller; + + VirtualPathData vpd = GetVirtualPathForArea(htmlHelper.RouteCollection, htmlHelper.ViewContext.RequestContext, null /* name */, routeValues, out var usingAreas); + if (vpd == null) + { + throw new InvalidOperationException("Could not find any matching route."); + } + + if (usingAreas) + { + routeValues.Remove("area"); + } + + var routeData = CreateRouteData(vpd.Route, routeValues, vpd.DataTokens, htmlHelper.ViewContext); + var httpContext = htmlHelper.ViewContext.HttpContext; + var requestContext = new RequestContext(httpContext, routeData); + + // Create the controller instance + var controller = ControllerBuilder.Current.GetControllerFactory().CreateController(requestContext, routeInfo.Controller) as Controller; + if (controller == null) + { + throw new InvalidOperationException($"Could not activate controller '{routeInfo.Controller}'. Please ensure that the controller class exists and inherits from '{typeof(Controller).FullName}'."); + } + + var originalWriter = htmlHelper.ViewContext.Writer; + htmlHelper.ViewContext.Writer = textWriter; + + var originalOutput = httpContext.Response.Output; + httpContext.Response.Output = textWriter; + + var originalActionInvoker = controller.ActionInvoker; + controller.ActionInvoker = new ActionInvokerWithResultValidator(); + + void endRender() + { + htmlHelper.ViewContext.Writer = originalWriter; + httpContext.Response.Output = originalOutput; + controller.ActionInvoker = originalActionInvoker; + } + + using (new ActionDisposable((Action)endRender)) + { + ((IController)controller).Execute(requestContext); + } + } + + #region Legacy 'RenderByChildAction' + + //protected void RenderByChildAction(IBlockContainer element, IEnumerable templates, HtmlHelper htmlHelper, TextWriter textWriter) + // { + // Guard.NotNull(element, nameof(element)); + // Guard.NotNull(templates, nameof(templates)); + // Guard.NotNull(htmlHelper, nameof(htmlHelper)); + // Guard.NotNull(textWriter, nameof(textWriter)); + + // var routeInfo = templates.Select(x => GetRoute(element, x)).FirstOrDefault(); + // if (routeInfo == null) + // { + // throw new InvalidOperationException("The return value of the 'GetRoute()' method cannot be NULL."); + // } + + // //routeInfo.RouteValues["model"] = element.Block; + + // var originalWriter = htmlHelper.ViewContext.Writer; + // htmlHelper.ViewContext.Writer = textWriter; + + // using (new ActionDisposable(() => htmlHelper.ViewContext.Writer = originalWriter)) + // { + // htmlHelper.RenderAction(routeInfo.Action, routeInfo.Controller, routeInfo.RouteValues); + // } + // } + + #endregion + + protected virtual RouteInfo GetRoute(IBlockContainer element, string template) + => throw new NotImplementedException(); + + + class ActionInvokerWithResultValidator : AsyncControllerActionInvoker + { + protected override void InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) + { + switch (actionResult) + { + case PartialViewResult _: + case ContentResult _: + base.InvokeActionResult(controllerContext, actionResult); + break; + default: + throw new InvalidOperationException($"The action result type of an MVC route block must either be '{nameof(PartialViewResult)}' or '{nameof(ContentResult)}'"); + } + } + } + + #region Copied from ASP.NET MVC + + private VirtualPathData GetVirtualPathForArea(RouteCollection routes, RequestContext requestContext, string name, RouteValueDictionary values, out bool usingAreas) + { + // Copied over from https://github.com/aspnet/AspNetWebStack/blob/master/src/System.Web.Mvc/RouteCollectionExtensions.cs#L53 + + Guard.NotNull(routes, nameof(routes)); + + if (!String.IsNullOrEmpty(name)) + { + // the route name is a stronger qualifier than the area name, so just pipe it through + usingAreas = false; + return routes.GetVirtualPath(requestContext, name, values); + } + + string targetArea = null; + if (values != null) + { + if (values.TryGetValue("area", out var targetAreaRawValue)) + { + targetArea = targetAreaRawValue as string; + } + else + { + // set target area to current area + if (requestContext != null) + { + targetArea = requestContext.RouteData.GetAreaName(); + } + } + } + + // need to apply a correction to the RVD if areas are in use + RouteValueDictionary correctedValues = values; + RouteCollection filteredRoutes = FilterRouteCollectionByArea(routes, targetArea, out usingAreas); + if (usingAreas) + { + correctedValues = new RouteValueDictionary(values); + correctedValues.Remove("area"); + } + + VirtualPathData vpd = filteredRoutes.GetVirtualPath(requestContext, correctedValues); + return vpd; + } + + // This method returns a new RouteCollection containing only routes that matched a particular area. + // The Boolean out parameter is just a flag specifying whether any registered routes were area-aware. + private RouteCollection FilterRouteCollectionByArea(RouteCollection routes, string areaName, out bool usingAreas) + { + // Copied over from https://github.com/aspnet/AspNetWebStack/blob/master/src/System.Web.Mvc/RouteCollectionExtensions.cs#L18 + + if (areaName == null) + { + areaName = String.Empty; + } + + usingAreas = false; + + // Ensure that we continue using the same settings as the previous route collection + // if we are using areas and the route collection is exchanged + RouteCollection filteredRoutes = new RouteCollection + { + AppendTrailingSlash = routes.AppendTrailingSlash, + LowercaseUrls = routes.LowercaseUrls, + RouteExistingFiles = routes.RouteExistingFiles + }; + + using (routes.GetReadLock()) + { + foreach (RouteBase route in routes) + { + string thisAreaName = route.GetAreaName() ?? String.Empty; + usingAreas |= (thisAreaName.Length > 0); + if (String.Equals(thisAreaName, areaName, StringComparison.OrdinalIgnoreCase)) + { + filteredRoutes.Add(route); + } + } + } + + // if areas are not in use, the filtered route collection might be incorrect + return (usingAreas) ? filteredRoutes : routes; + } + + private RouteData CreateRouteData(RouteBase route, RouteValueDictionary routeValues, RouteValueDictionary dataTokens, ViewContext parentViewContext) + { + var routeData = new RouteData(); + + foreach (var kvp in routeValues) + { + routeData.Values.Add(kvp.Key, kvp.Value); + } + + foreach (var kvp in dataTokens) + { + routeData.DataTokens.Add(kvp.Key, kvp.Value); + } + + routeData.Route = route; + routeData.DataTokens["ParentActionViewContext"] = parentViewContext; + + return routeData; + } + + class ChildActionMvcHandler : MvcHandler + { + public ChildActionMvcHandler(RequestContext context) + : base(context) + { + } + + protected override void AddVersionHeader(HttpContextBase httpContext) + { + // No version header for child actions + } + } + + #endregion + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/BlockMetadata.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/BlockMetadata.cs new file mode 100644 index 0000000000..ee65bc8ff5 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/BlockMetadata.cs @@ -0,0 +1,79 @@ +using System; +using SmartStore.Core.Plugins; + +namespace SmartStore.Services.Cms.Blocks +{ + /// + /// Applies metadata to concrete block types which implement . + /// + [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] + public sealed class BlockAttribute : Attribute + { + public BlockAttribute(string systemName) + { + Guard.NotNull(systemName, nameof(systemName)); + + SystemName = systemName; + } + + /// + /// The block system name, e.g. 'html', 'picture' etc. + /// + public string SystemName { get; set; } + + /// + /// The english friendly name of the block + /// + public string FriendlyName { get; set; } + + /// + /// The icon class name of the block, e.g. 'fa fa-sitemap' + /// + public string Icon { get; set; } + + /// + /// The order of display + /// + public int DisplayOrder { get; set; } + + public bool IsInternal { get; set; } + } + + /// + /// Represents block registration metadata + /// + public interface IBlockMetadata : IProviderMetadata + { + string AreaName { get; } + string Icon { get; } + bool IsInternal { get; } + bool IsInbuilt { get; } + Type BlockClrType { get; } + Type BlockHandlerClrType { get; } + } + + public class BlockMetadata : IBlockMetadata, ICloneable + { + public string AreaName { get; set; } + public string SystemName { get; set; } + public string FriendlyName { get; set; } + public string Description { get; set; } + public string ResourceKeyPattern { get; set; } + public string Icon { get; set; } + public int DisplayOrder { get; set; } + public bool IsInternal { get; set; } + public bool IsInbuilt { get; set; } + public Type BlockClrType { get; set; } + public Type BlockHandlerClrType { get; set; } + + public BlockMetadata Clone() + { + return (BlockMetadata)this.MemberwiseClone(); + } + + object ICloneable.Clone() + { + return this.MemberwiseClone(); + } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/IBindableBlock.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/IBindableBlock.cs new file mode 100644 index 0000000000..3638b5e31c --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/IBindableBlock.cs @@ -0,0 +1,91 @@ +using System.Collections.Generic; +using Newtonsoft.Json; + +namespace SmartStore.Services.Cms.Blocks +{ + /// + /// When implemented on types, makes the block bindable to + /// product, category and manufacturer entities. The UI will display a 'Data binding' + /// section which allows selection of an entity. + /// + /// + /// The handler for a bindable block type MUST implement . + /// + public interface IBindableBlock : IBlock + { + /// + /// The name of the bound entity, e.g. 'product'. + /// + [JsonIgnore] + string BindEntityName { get; set; } + + /// + /// The id of the bound entity. + /// + [JsonIgnore] + int? BindEntityId { get; set; } + + /// + /// Returns a value to indicate whether the block can be bound. A block can be bound + /// if both and have values. + /// However, this property does not indicate whether the bound entity actually exists. + /// + bool CanBind { get; } + + /// + /// Returns a value to indicate whether the binding source () has been loaded from the store already. + /// + bool IsLoaded { get; } + + /// + /// The data item of the bound entity. + /// + IDictionary DataItem { get; set; } + + /// + /// Returns a value to indicate whether the block has been bound already. + /// A block is considered bound if the binding source dictionary has been + /// applied to the block instance's bindable properties. + /// + bool IsBound { get; set; } + + /// + /// Resets the data item of the bound entity. After calling this method, + /// is null, and are false. + /// + void Reset(); + } + + public abstract class BindableBlockBase : IBindableBlock + { + public virtual string BindEntityName { get; set; } + public virtual int? BindEntityId { get; set; } + + [JsonIgnore] + public bool CanBind + { + get + { + return BindEntityName.HasValue() && BindEntityId.HasValue; + } + } + + [JsonIgnore] + public bool IsLoaded + { + get { return DataItem != null; } + } + + [JsonIgnore] + public IDictionary DataItem { get; set; } + + [JsonIgnore] + public bool IsBound { get; set; } + + public void Reset() + { + DataItem = null; + IsBound = false; + } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/IBindableBlockHandler.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/IBindableBlockHandler.cs new file mode 100644 index 0000000000..0658902f37 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/IBindableBlockHandler.cs @@ -0,0 +1,55 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.Mvc; + +namespace SmartStore.Services.Cms.Blocks +{ + /// + /// Retrieves information about UI mapping between template tokens and form controls. + /// + /// + /// only works in conjunction with . + /// Make sure that the handled block type implements . + /// + public interface IBindableBlockHandler : IBlockHandler + { + /// + /// Build and returns the template mapping configuration. + /// + /// + TemplateMappingConfiguration GetMappingConfiguration(); + } + + /// + /// Contans information about UI mapping between template tokens and form controls. + /// + public class TemplateMappingConfiguration + { + /// + /// A list of template tokens and their corresponding form controls. + /// + public IList Map { get; set; } + + /// + /// The complete list of field names which can be bound to entity fields. + /// + public string[] BindableFields { get; set; } + } + + /// + /// Block data binding mapping definition for a single field. + /// + public class TemplateMapping + { + /// + /// Name of the bound field, e.g. 'Title', 'Description', 'Price' etc. + /// + public string FieldName { get; set; } + + /// + /// The 'Liquid' template + /// + public string Template { get; set; } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/IBlock.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/IBlock.cs new file mode 100644 index 0000000000..5f08fb785d --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/IBlock.cs @@ -0,0 +1,13 @@ +using System; +using System.Web.Routing; + +namespace SmartStore.Services.Cms.Blocks +{ + /// + /// Marker interface for a PageBuilder block implementation. + /// Blocks are handled by corresponding implementations. + /// + public interface IBlock + { + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockContainer.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockContainer.cs new file mode 100644 index 0000000000..9f5e50c931 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockContainer.cs @@ -0,0 +1,51 @@ +using System; + +namespace SmartStore.Services.Cms.Blocks +{ + /// + /// Contains base data for a block instance. + /// + public interface IBlockContainer + { + /// + /// The type of the block, e.g. 'html'. + /// + string BlockType { get; } + + /// + /// The actual block instance. + /// + IBlock Block { get; } + + /// + /// The block metadata. + /// + IBlockMetadata Metadata { get; } + + /// + /// The block title / display name. + /// + string Title { get; } + + /// + /// Whether the block's text content color should be inversed so + /// that it gets readable on dark backgrounds. + /// + bool IsInversed { get; } + + /// + /// The block html id. + /// + string HtmlId { get; } + + /// + /// The block css class name(s). + /// + string CssClass { get; } + + /// + /// The block css style expression. + /// + string CssStyle { get; } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockEntity.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockEntity.cs new file mode 100644 index 0000000000..100f78e138 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockEntity.cs @@ -0,0 +1,28 @@ +using System; + +namespace SmartStore.Services.Cms.Blocks +{ + /// + /// Represents a block instance's storage data. + /// + public interface IBlockEntity + { + int Id { get; set; } + int StoryId { get; } + string BlockType { get; set; } + string Model { get; set; } + string TagLine { get; set; } + string Title { get; set; } + string SubTitle { get; set; } + string Body { get; set; } + string Template { get; set; } + string Custom1 { get; set; } + string Custom2 { get; set; } + string Custom3 { get; set; } + string Custom4 { get; set; } + string Custom5 { get; set; } + + string BindEntityName { get; set; } + int? BindEntityId { get; set; } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockHandler.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockHandler.cs new file mode 100644 index 0000000000..8f50bfdb37 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/IBlockHandler.cs @@ -0,0 +1,94 @@ +using System; +using System.Collections.Generic; +using System.Web; +using System.Web.Mvc; + +namespace SmartStore.Services.Cms.Blocks +{ + /// + /// Indicates the view mode of a PageBuilder block. + /// + public enum StoryViewMode + { + /// + /// Final rendering result in public frontend + /// + Public, + /// + /// Preview mode in backend + /// + Preview, + /// + /// Visual block editing in backend's story editor + /// + GridEdit, + /// + /// Property dialog in backend + /// + Edit + } + + /// + /// Handles rendering of corresponding implementations. + /// + public interface IBlockHandler + { + /// + /// Renders the block result. + /// + /// The block element to render. + /// A list of template names. The first valid template will be used for rendering. + /// Html helper instance. + void Render(IBlockContainer element, IEnumerable templates, HtmlHelper htmlHeper); + + /// + /// returns the block's render result as string. + /// + /// The block element to render. + /// A list of valid template names. The first valid template will be used for rendering. + /// Html helper instance. + IHtmlString ToHtmlString(IBlockContainer element, IEnumerable templates, HtmlHelper htmlHelper); + } + + /// + /// Handles loading, saving and rendering of corresponding implementations. + /// + public interface IBlockHandler : IBlockHandler where T : IBlock + { + /// + /// Creates the implementation instance for the passed block entity. + /// + /// The serialized entity to create a block instance for. + /// A concrete block implementation instance. + T Create(IBlockEntity entity); + + /// + /// Creates and loads the implementation instance for the passed block entity and view mode. + /// + /// The serialized entity to load a block instance for. + /// Depending on view mode, some data may be loaded or not. + /// A concrete block implementation instance. + T Load(IBlockEntity entity, StoryViewMode viewMode); + + bool IsValid(T block); + + /// + /// Serializes the passed block instance and saves the result in the underlying data storage. + /// + /// The block instance to save. + /// + /// The corresponding entity record for the block. In most cases will + /// be converted to JSON and assigned to property, which then will be saved in the data storage. + /// + void Save(T block, IBlockEntity entity); + + /// + /// Clones . In most cases it is sufficient to directly return the serialized model, but there may be cases + /// where the inner data must be cloned first, e.g. if it contains a picture reference. + /// + /// The source entity. + /// The target entity clone which is about to be saved in the data storage. + /// The serialized block clone. + string Clone(IBlockEntity sourceEntity, IBlockEntity clonedEntity); + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Blocks/StoryAssetAttribute.cs b/src/Libraries/SmartStore.Services/Cms/Blocks/StoryAssetAttribute.cs new file mode 100644 index 0000000000..0cc92ccdc7 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Blocks/StoryAssetAttribute.cs @@ -0,0 +1,55 @@ +using System; + +namespace SmartStore.Services.Cms.Blocks +{ + /// + /// Specifies whether a property refers to an asset to be included in the story export. + /// + [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] + public sealed class StoryAssetAttribute : Attribute + { + public StoryAssetAttribute(StoryAssetKind kind) + { + Kind = kind; + } + + /// + /// The asset property kind. + /// + public StoryAssetKind Kind { get; private set; } + } + + + public enum StoryAssetKind + { + /// + /// The property value is a picture identifier. + /// + Picture = 0, + + /// + /// The property value is a video path. + /// + Video, + + /// + /// The property value is a product identifier. + /// + Product, + + /// + /// The property value is a category identifier. + /// + Category, + + /// + /// The property value is a manufacturer identifier. + /// + Manufacturer, + + /// + /// The property value is a link builder expression. + /// + Link + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/ILinkResolver.cs b/src/Libraries/SmartStore.Services/Cms/ILinkResolver.cs new file mode 100644 index 0000000000..0a98489d7e --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/ILinkResolver.cs @@ -0,0 +1,25 @@ +using System.Collections.Generic; +using SmartStore.Core.Domain.Customers; + +namespace SmartStore.Services.Cms +{ + /// + /// Provides methods to resolve link expressions. + /// + public partial interface ILinkResolver + { + /// + /// Resolves a link expression. + /// + /// + /// Link expression, e.g. product:123, category:234, topic:2, topic:aboutus etc. + /// Supported entities are product, category, manufacturer and topic. Value of topic can + /// either be the topic id or system name. + /// + /// Customer roles to check access for. null to use current customer's roles. + /// Language identifier. 0 to use current working language. + /// Store identifier. 0 to use current store. + /// LinkResolverResult + LinkResolverResult Resolve(string linkExpression, IEnumerable roles = null, int languageId = 0, int storeId = 0); + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/LinkResolver.cs b/src/Libraries/SmartStore.Services/Cms/LinkResolver.cs new file mode 100644 index 0000000000..de254b8fd4 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/LinkResolver.cs @@ -0,0 +1,392 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Linq.Expressions; +using System.Web; +using System.Web.Mvc; +using SmartStore.Core; +using SmartStore.Core.Data; +using SmartStore.Core.Domain.Catalog; +using SmartStore.Core.Domain.Customers; +using SmartStore.Core.Domain.Topics; +using SmartStore.Services.Localization; +using SmartStore.Services.Security; +using SmartStore.Services.Seo; +using SmartStore.Services.Stores; +using SmartStore.Services.Topics; + +namespace SmartStore.Services.Cms +{ + public partial class LinkResolver : ILinkResolver + { + /// + /// {0} : Expression w/o q + /// {1} : LanguageId + /// {2} : Store + /// {3} : RolesIdent + /// + internal const string LINKRESOLVER_KEY = "linkresolver:{0}-{1}-{2}-{3}"; + + // 0: Expression + internal const string LINKRESOLVER_PATTERN_KEY = "linkresolver:{0}-*"; + + protected readonly ICommonServices _services; + protected readonly IUrlRecordService _urlRecordService; + protected readonly ILocalizedEntityService _localizedEntityService; + protected readonly IAclService _aclService; + protected readonly IStoreMappingService _storeMappingService; + protected readonly ITopicService _topicService; + protected readonly UrlHelper _urlHelper; + + public LinkResolver( + ICommonServices services, + IUrlRecordService urlRecordService, + ILocalizedEntityService localizedEntityService, + IAclService aclService, + IStoreMappingService storeMappingService, + ITopicService topicService, + UrlHelper urlHelper) + { + _services = services; + _urlRecordService = urlRecordService; + _localizedEntityService = localizedEntityService; + _aclService = aclService; + _storeMappingService = storeMappingService; + _topicService = topicService; + _urlHelper = urlHelper; + + QuerySettings = DbQuerySettings.Default; + } + + public DbQuerySettings QuerySettings { get; set; } + + public virtual LinkResolverResult Resolve(string linkExpression, IEnumerable roles = null, int languageId = 0, int storeId = 0) + { + if (linkExpression.IsEmpty()) + { + return new LinkResolverResult { Type = LinkType.Url, Status = LinkStatus.NotFound }; + } + + if (roles == null) + { + roles = _services.WorkContext.CurrentCustomer.CustomerRoles; + } + + if (languageId == 0) + { + languageId = _services.WorkContext.WorkingLanguage.Id; + } + + if (storeId == 0) + { + storeId = _services.StoreContext.CurrentStore.Id; + } + + var d = Parse(linkExpression); + var queryString = d.QueryString; + + if (d.Type == LinkType.Url) + { + var url = d.Value.ToString(); + if (url.EmptyNull().StartsWith("~")) + { + url = VirtualPathUtility.ToAbsolute(url); + } + d.Link = d.Label = url; + } + else if (d.Type == LinkType.File) + { + d.Link = d.Label = d.Value.ToString(); + } + else + { + var cacheKey = LINKRESOLVER_KEY.FormatInvariant( + d.Expression.EmptyNull().ToLower(), + languageId, + storeId, + string.Join(",", roles.Where(x => x.Active).Select(x => x.Id))); + + d = _services.Cache.Get(cacheKey, () => + { + var d2 = d.Clone(); + + switch (d2.Type) + { + case LinkType.Product: + GetEntityData(d2, storeId, languageId, x => new ResolverEntitySummary + { + Name = x.Name, + Published = x.Published, + Deleted = x.Deleted, + SubjectToAcl = x.SubjectToAcl, + LimitedToStores = x.LimitedToStores, + PictureId = x.MainPictureId + }); + break; + case LinkType.Category: + GetEntityData(d2, storeId, languageId, x => new ResolverEntitySummary + { + Name = x.Name, + Published = x.Published, + Deleted = x.Deleted, + SubjectToAcl = x.SubjectToAcl, + LimitedToStores = x.LimitedToStores, + PictureId = x.PictureId + }); + break; + case LinkType.Manufacturer: + GetEntityData(d2, storeId, languageId, x => new ResolverEntitySummary + { + Name = x.Name, + Published = x.Published, + Deleted = x.Deleted, + LimitedToStores = x.LimitedToStores, + PictureId = x.PictureId + }); + break; + case LinkType.Topic: + GetEntityData(d2, storeId, languageId, x => null); + break; + default: + throw new SmartException("Unknown link builder type."); + } + + return d2; + }); + } + + var result = new LinkResolverResult + { + Type = d.Type, + Status = d.Status, + Value = d.Value, + Link = d.Link, + QueryString = queryString, + Label = d.Label, + Id = d.Id, + PictureId = d.PictureId + }; + + // Check ACL and limited to stores. + switch (d.Type) + { + case LinkType.Product: + case LinkType.Category: + case LinkType.Manufacturer: + case LinkType.Topic: + var entityName = d.Type.ToString(); + + if (d.CheckLimitedToStores && + d.LimitedToStores && + d.Status == LinkStatus.Ok && + !QuerySettings.IgnoreMultiStore && + !_storeMappingService.Authorize(entityName, d.Id, storeId)) + { + result.Status = LinkStatus.NotFound; + } + else if (d.SubjectToAcl && + d.Status == LinkStatus.Ok && + !QuerySettings.IgnoreAcl && + !_aclService.Authorize(entityName, d.Id, roles)) + { + result.Status = LinkStatus.Forbidden; + } + break; + } + + return result; + } + + private bool TokenizeExpression(string expression, out string type, out string path, out string query) + { + type = null; + path = null; + query = null; + + if (string.IsNullOrWhiteSpace(expression)) + { + return false; + } + + var colonIndex = expression.IndexOf(':'); + if (colonIndex > -1) + { + type = expression.Substring(0, colonIndex); + if (type.StartsWith("http", StringComparison.OrdinalIgnoreCase)) + { + type = null; + colonIndex = -1; + } + } + + path = expression.Substring(colonIndex + 1); + + var qmIndex = path.IndexOf('?'); + if (qmIndex > -1) + { + query = path.Substring(qmIndex + 1); + path = path.Substring(0, qmIndex); + } + + return true; + } + + protected virtual string GetLocalized(int entityId, string localeKeyGroup, string localeKey, int languageId, string defaultValue) + { + return _localizedEntityService.GetLocalizedValue(languageId, entityId, localeKeyGroup, localeKey).NullEmpty() ?? defaultValue.NullEmpty(); + } + + protected virtual LinkResolverData Parse(string linkExpression) + { + if (TokenizeExpression(linkExpression, out var type, out var path, out var query)) + { + if (!string.IsNullOrWhiteSpace(type) && Enum.TryParse(type, true, out LinkType linkType)) + { + var result = new LinkResolverData { Type = linkType, Expression = string.Concat(type, ":", path) }; + + switch (linkType) + { + case LinkType.Product: + case LinkType.Category: + case LinkType.Manufacturer: + case LinkType.Topic: + if (int.TryParse(path, out var id)) + { + // Reduce thrown exceptions in console + result.Value = id; + } + else + { + result.Value = path; + } + + result.QueryString = query; + break; + case LinkType.Url: + result.Value = path + (query.HasValue() ? "?" + query : ""); + break; + case LinkType.File: + result.Value = path; + result.QueryString = query; + break; + default: + throw new SmartException("Unknown link builder type."); + } + + return result; + } + } + + return new LinkResolverData { Type = LinkType.Url, Value = linkExpression.EmptyNull() }; + } + + internal void GetEntityData( + LinkResolverData data, + int storeId, + int languageId, + Expression> selector) where T : BaseEntity + { + ResolverEntitySummary summary = null; + string systemName = null; + + if (data.Value is string) + { + data.Id = 0; + systemName = (string)data.Value; + } + else + { + data.Id = (int)data.Value; + } + + if (data.Type == LinkType.Topic) + { + Topic topic = null; + + if (string.IsNullOrEmpty(systemName)) + { + topic = _services.DbContext.Set() + .AsNoTracking() + .FirstOrDefault(x => x.Id == data.Id); + } + else + { + topic = _topicService.GetTopicBySystemName(systemName, storeId, false); + data.CheckLimitedToStores = false; + } + + if (topic != null) + { + summary = new ResolverEntitySummary + { + Id = topic.Id, + Name = topic.SystemName, + Title = topic.Title, + ShortTitle = topic.ShortTitle, + Published = topic.IsPublished, + SubjectToAcl = topic.SubjectToAcl, + LimitedToStores = topic.LimitedToStores + }; + } + } + else + { + summary = _services.DbContext.Set() + .AsNoTracking() + .Where(x => x.Id == data.Id) + .Select(selector) + .FirstOrDefault(); + } + + if (summary != null) + { + var entityName = data.Type.ToString(); + + data.Id = summary.Id != 0 ? summary.Id : data.Id; + data.SubjectToAcl = summary.SubjectToAcl; + data.LimitedToStores = summary.LimitedToStores; + data.PictureId = summary.PictureId; + data.Status = summary.Deleted + ? LinkStatus.NotFound + : summary.Published ? LinkStatus.Ok : LinkStatus.Hidden; + + if (data.Type == LinkType.Topic) + { + data.Label = GetLocalized(data.Id, entityName, "ShortTitle", languageId, null) + ?? GetLocalized(data.Id, entityName, "Title", languageId, null) + ?? summary.ShortTitle.NullEmpty() + ?? summary.Title.NullEmpty() + ?? summary.Name; + } + else + { + data.Label = GetLocalized(data.Id, entityName, "Name", languageId, summary.Name); + } + + data.Slug = _urlRecordService.GetActiveSlug(data.Id, entityName, languageId).NullEmpty() ?? _urlRecordService.GetActiveSlug(data.Id, entityName, 0); + if (!string.IsNullOrEmpty(data.Slug)) + { + data.Link = _urlHelper.RouteUrl(entityName, new { SeName = data.Slug }); + } + } + else + { + data.Label = systemName; + data.Status = LinkStatus.NotFound; + } + } + } + + internal class ResolverEntitySummary + { + public int Id { get; set; } + public string Name { get; set; } + public string Title { get; set; } + public string ShortTitle { get; set; } + public bool Deleted { get; set; } + public bool Published { get; set; } + public bool SubjectToAcl { get; set; } + public bool LimitedToStores { get; set; } + public int? PictureId { get; set; } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/LinkResolverInvalidator.cs b/src/Libraries/SmartStore.Services/Cms/LinkResolverInvalidator.cs new file mode 100644 index 0000000000..58cda2a320 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/LinkResolverInvalidator.cs @@ -0,0 +1,94 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using SmartStore.Core; +using SmartStore.Core.Data; +using SmartStore.Core.Data.Hooks; +using SmartStore.Core.Domain.Catalog; +using SmartStore.Core.Domain.Seo; +using SmartStore.Core.Domain.Stores; +using SmartStore.Core.Domain.Topics; +using SmartStore.Data; + +namespace SmartStore.Services.Cms +{ + public partial class LinkResolverInvalidator : DbSaveHook + { + private readonly ICommonServices _services; + + private static readonly HashSet _toxicProps = new HashSet + { + nameof(Topic.SystemName), + nameof(Topic.IsPublished), + nameof(Topic.SubjectToAcl), + nameof(Topic.LimitedToStores), + nameof(Topic.Title), + nameof(Topic.ShortTitle), + nameof(Product.Name), + nameof(Product.Deleted), + nameof(Product.MainPictureId), + nameof(Category.Published), + nameof(Category.PictureId), + nameof(StoreMapping.StoreId), + nameof(UrlRecord.IsActive), + nameof(UrlRecord.Slug) + }; + + public LinkResolverInvalidator(ICommonServices services) + { + _services = services; + } + + public override void OnBeforeSave(IHookedEntity entry) + { + var cache = _services.Cache; + var e = entry.Entity; + + var evict = e is Topic || e is Product || e is Category || e is Manufacturer || e is StoreMapping || e is UrlRecord; + if (evict && entry.InitialState == EntityState.Modified) + { + var modProps = entry.Entry.GetModifiedProperties(_services.DbContext); + evict = modProps.Keys.Any(x => _toxicProps.Contains(x)); + } + + if (!evict) + return; + + int? evictTopicId = null; + + if (e is Topic t) + { + cache.RemoveByPattern(BuildPatternKey("topic", t.Id)); + cache.RemoveByPattern(BuildPatternKey("topic", t.SystemName)); + } + else if (e is Category || e is Product || e is Manufacturer) + { + cache.RemoveByPattern(BuildPatternKey(e.GetEntityName().ToLowerInvariant(), e.Id)); + } + else if (e is UrlRecord ur) + { + cache.RemoveByPattern(BuildPatternKey(ur.EntityName.ToLowerInvariant(), ur.EntityId)); + evictTopicId = ur.EntityId; + } + else if (e is StoreMapping sm) + { + cache.RemoveByPattern(BuildPatternKey(sm.EntityName.ToLowerInvariant(), sm.EntityId)); + evictTopicId = sm.EntityId; + } + + if (evictTopicId.HasValue) + { + var systemName = _services.DbContext.Set().Where(x => x.Id == evictTopicId.Value).Select(x => x.SystemName).FirstOrDefault(); + if (systemName.HasValue()) + { + cache.RemoveByPattern(BuildPatternKey("topic", systemName)); + } + } + } + + private string BuildPatternKey(string entityName, object ident) + { + return LinkResolver.LINKRESOLVER_PATTERN_KEY.FormatInvariant(String.Concat(entityName, ":", ident)); + } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/LinkResolverResult.cs b/src/Libraries/SmartStore.Services/Cms/LinkResolverResult.cs new file mode 100644 index 0000000000..71002103a9 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/LinkResolverResult.cs @@ -0,0 +1,145 @@ +using System; + +namespace SmartStore.Services.Cms +{ + public enum LinkType + { + Product = 0, + Category, + Manufacturer, + Topic, + Url = 20, + File = 30 + } + + public enum LinkStatus + { + Ok, + Forbidden, + NotFound, + Hidden + } + + public class LinkResolverResult + { + private string _link; + + /// + /// The raw expression without query string. + /// + public string Expression { get; set; } + + /// + /// The query string part. + /// + public string QueryString { get; set; } + + public LinkType Type { get; set; } + public object Value { get; set; } + + public LinkStatus Status { get; set; } + public string Label { get; set; } + public int Id { get; set; } + public int? PictureId { get; set; } + public string Slug { get; set; } + + public string Link + { + get + { + if (Type != LinkType.Url && !string.IsNullOrWhiteSpace(_link) && !string.IsNullOrWhiteSpace(QueryString)) + { + return string.Concat(_link, "?", QueryString); + } + + return _link; + } + set + { + _link = value; + + if (_link != null && Type != LinkType.Url) + { + var index = _link.IndexOf('?'); + if (index != -1) + { + QueryString = _link.Substring(index + 1); + _link = _link.Substring(0, index); + } + } + } + } + + public override string ToString() + { + return this.Link.EmptyNull(); + } + } + + [Serializable] + public partial class LinkResolverData : LinkResolverResult, ICloneable + { + public bool SubjectToAcl { get; set; } + public bool LimitedToStores { get; set; } + public bool CheckLimitedToStores { get; set; } = true; + + public LinkResolverData Clone() + { + return (LinkResolverData)this.MemberwiseClone(); + } + + object ICloneable.Clone() + { + return this.MemberwiseClone(); + } + } + + + public static class LinkResolverExtensions + { + public static (string Icon, string ResKey) GetLinkTypeInfo(this LinkType type) + { + switch (type) + { + case LinkType.Product: + return ("fa fa-cube", "Common.Entity.Product"); + case LinkType.Category: + return ("fa fa-sitemap", "Common.Entity.Category"); + case LinkType.Manufacturer: + return ("far fa-building", "Common.Entity.Manufacturer"); + case LinkType.Topic: + return ("far fa-file-alt", "Common.Entity.Topic"); + case LinkType.Url: + return ("fa fa-link", "Common.Url"); + case LinkType.File: + return ("far fa-folder-open", "Common.File"); + default: + throw new SmartException("Unknown link builder type."); + } + } + + /// + /// Creates the full link expression including type, value and query string. + /// + /// Whether to include the query string. + /// Link expression. + public static string CreateExpression(this LinkResolverResult data, bool includeQueryString = true) + { + if (data?.Value == null) + { + return string.Empty; + } + + var result = data.Type == LinkType.Url + ? data.Value.ToString() + : string.Concat(data.Type.ToString().ToLower(), ":", data.Value.ToString()); + + if (includeQueryString && data.Type != LinkType.Url && !string.IsNullOrWhiteSpace(data.QueryString)) + { + return string.Concat(result, "?", data.QueryString); + } + + return result; + } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Menus/IMenuStorage.cs b/src/Libraries/SmartStore.Services/Cms/Menus/IMenuStorage.cs new file mode 100644 index 0000000000..6218e2c7b2 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Menus/IMenuStorage.cs @@ -0,0 +1,114 @@ +using System.Collections.Generic; +using SmartStore.Core; +using SmartStore.Core.Domain.Cms; +using SmartStore.Core.Domain.Customers; + +namespace SmartStore.Services.Cms +{ + public partial interface IMenuStorage + { + /// + /// Inserts a menu. + /// + /// Menu entity. + void InsertMenu(MenuRecord menu); + + /// + /// Updates a menu. + /// + /// Menu entity. + void UpdateMenu(MenuRecord menu); + + /// + /// Deletes a menu. + /// + /// Menu entity. + void DeleteMenu(MenuRecord menu); + + /// + /// Gets all menus. + /// + /// Menu system name. + /// Store identifier. 0 to get menus for all stores. + /// Whether to include hidden menus. + /// Page index. + /// Page size. + /// Menu entities. + IPagedList GetAllMenus( + string systemName = null, + int storeId = 0, + bool includeHidden = false, + int pageIndex = 0, + int pageSize = int.MaxValue); + + /// + /// Gets cached infos about all user menus. + /// + /// Customer roles to check access for. null to use current customer's roles. + /// Store identifier. 0 to use current store. + /// Menu infos. + IEnumerable GetUserMenuInfos(IEnumerable roles = null, int storeId = 0); + + /// + /// Gets a menu by identifier. + /// + /// Menu identifier. + /// Menu item entity. + MenuRecord GetMenuById(int id); + + /// + /// Checks whether the menu exists. + /// + /// Menu system name. + /// true the menu exists, false the menu doesn't exist. + bool MenuExists(string systemName); + + #region Menu items + + /// + /// Inserts a menu item. + /// + /// Menu item entity. + void InsertMenuItem(MenuItemRecord item); + + /// + /// Updates a menu item. + /// + /// Menu item entity. + void UpdateMenuItem(MenuItemRecord item); + + /// + /// Deletes a menu item. + /// + /// Menu item entity. + /// Whether to delete all child items too. + void DeleteMenuItem(MenuItemRecord item, bool deleteChilds = true); + + /// + /// Gets a menu item by identifier. + /// + /// Menu item identifier. + /// Menu item entity. + MenuItemRecord GetMenuItemById(int id); + + /// + /// Gets menu items. + /// + /// Menu item identifier. + /// Store identifier. 0 to get menus for all stores. + /// Whether to include hidden menus. + /// Menu item entities. + IList GetMenuItems(int menuId, int storeId = 0, bool includeHidden = false); + + /// + /// Gets menu items. + /// + /// Menu system name. + /// Store identifier. 0 to get menus for all stores. + /// Whether to include hidden menus. + /// Menu item entities. + IList GetMenuItems(string systemName, int storeId = 0, bool includeHidden = false); + + #endregion + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Menus/MenuInfo.cs b/src/Libraries/SmartStore.Services/Cms/Menus/MenuInfo.cs new file mode 100644 index 0000000000..afabc97e8b --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Menus/MenuInfo.cs @@ -0,0 +1,11 @@ +namespace SmartStore.Services.Cms +{ + public class MenuInfo + { + public int Id { get; set; } + public string SystemName { get; set; } + public string Template { get; set; } + public string[] WidgetZones { get; set; } + public int DisplayOrder { get; set; } + } +} diff --git a/src/Libraries/SmartStore.Services/Cms/Menus/MenuStorage.cs b/src/Libraries/SmartStore.Services/Cms/Menus/MenuStorage.cs new file mode 100644 index 0000000000..ff0332720c --- /dev/null +++ b/src/Libraries/SmartStore.Services/Cms/Menus/MenuStorage.cs @@ -0,0 +1,417 @@ +using System; +using System.Collections.Generic; +using System.Data.Entity; +using System.Linq; +using SmartStore.Core; +using SmartStore.Core.Caching; +using SmartStore.Core.Data; +using SmartStore.Core.Domain.Cms; +using SmartStore.Core.Domain.Customers; +using SmartStore.Core.Domain.Security; +using SmartStore.Core.Domain.Stores; +using SmartStore.Data.Caching; + +namespace SmartStore.Services.Cms +{ + public partial class MenuStorage : IMenuStorage + { + private const string MENU_ALLSYSTEMNAMEs_CACHE_KEY = "MenuStorage:SystemNames"; + private const string MENU_USER_CACHE_KEY = "MenuStorage:Menus:User-{0}-{1}"; + private const string MENU_PATTERN_KEY = "MenuStorage:Menus:*"; + + private readonly IRepository _menuRepository; + private readonly IRepository _menuItemRepository; + private readonly IRepository _storeMappingRepository; + private readonly IRepository _aclRepository; + private readonly ICommonServices _services; + + public MenuStorage( + IRepository menuRepository, + IRepository menuItemRepository, + IRepository storeMappingRepository, + IRepository aclRepository, + ICommonServices services) + { + _menuRepository = menuRepository; + _menuItemRepository = menuItemRepository; + _storeMappingRepository = storeMappingRepository; + _aclRepository = aclRepository; + _services = services; + + QuerySettings = DbQuerySettings.Default; + } + + public DbQuerySettings QuerySettings { get; set; } + + public virtual void InsertMenu(MenuRecord menu) + { + Guard.NotNull(menu, nameof(MenuRecord)); + + menu.SystemName = menu.SystemName.ToValidPath(); + + _menuRepository.Insert(menu); + + var systemNames = GetMenuSystemNames(false); + if (systemNames != null && menu.Published) + { + systemNames.Add(menu.SystemName); + } + + _services.Cache.RemoveByPattern(MENU_PATTERN_KEY); + } + + public virtual void UpdateMenu(MenuRecord menu) + { + Guard.NotNull(menu, nameof(MenuRecord)); + + menu.SystemName = menu.SystemName.ToValidPath(); + + var modProps = _services.DbContext.GetModifiedProperties(menu); + + _menuRepository.Update(menu); + + var systemNames = GetMenuSystemNames(false); + if (systemNames != null) + { + if (modProps.TryGetValue(nameof(menu.Published), out var original)) + { + if (original.Convert() == true) + { + systemNames.Remove(menu.SystemName); + } + else + { + systemNames.Add(menu.SystemName); + } + } + else if (modProps.TryGetValue(nameof(menu.SystemName), out original)) + { + systemNames.Remove((string)original); + systemNames.Add(menu.SystemName); + } + } + + _services.Cache.RemoveByPattern(MENU_PATTERN_KEY); + } + + public virtual void DeleteMenu(MenuRecord menu) + { + if (menu == null) + return; + + _menuRepository.Delete(menu); + + var systemNames = GetMenuSystemNames(false); + if (systemNames != null) + { + systemNames.Remove(menu.SystemName); + } + + _services.Cache.RemoveByPattern(MENU_PATTERN_KEY); + } + + public virtual IPagedList GetAllMenus( + string systemName = null, + int storeId = 0, + bool includeHidden = false, + int pageIndex = 0, + int pageSize = int.MaxValue) + { + var query = BuildMenuQuery(0, storeId, systemName, null, includeHidden); + return new PagedList(query, pageIndex, pageSize); + } + + public virtual IEnumerable GetUserMenuInfos(IEnumerable roles = null, int storeId = 0) + { + if (roles == null) + { + roles = _services.WorkContext.CurrentCustomer.CustomerRoles; + } + + if (storeId == 0) + { + storeId = _services.StoreContext.CurrentStore.Id; + } + + var cacheKey = MENU_USER_CACHE_KEY.FormatInvariant(storeId, string.Join(",", roles.Where(x => x.Active).Select(x => x.Id))); + + var userMenusInfo = _services.Cache.Get(cacheKey, () => + { + var query = BuildMenuQuery(0, storeId, null, false, false, true, false, true); + + var data = query.Select(x => new + { + x.Id, + x.SystemName, + x.Template, + x.WidgetZone, + x.DisplayOrder + }) + .ToList(); + + var result = data.Select(x => new MenuInfo + { + Id = x.Id, + SystemName = x.SystemName, + Template = x.Template, + DisplayOrder = x.DisplayOrder, + WidgetZones = x.WidgetZone.EmptyNull().Trim() + .Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries) + .Select(y => y.Trim()) + .ToArray() + }) + .ToList(); + + return result; + }); + + return userMenusInfo; + } + + public virtual MenuRecord GetMenuById(int id) + { + if (id == 0) + { + return null; + } + + return _menuRepository.GetByIdCached(id, "db.menurecord.id-" + id); + } + + public virtual bool MenuExists(string systemName) + { + if (systemName.IsEmpty()) + { + return false; + } + + return GetMenuSystemNames(true).Contains(systemName); + } + + #region Menu items + + public virtual void InsertMenuItem(MenuItemRecord item) + { + Guard.NotNull(item, nameof(MenuRecord)); + + // Prevent inconsistent tree structure. + if (item.ParentItemId != 0 && item.ParentItemId == item.Id) + { + item.ParentItemId = 0; + } + + _menuItemRepository.Insert(item); + + _services.Cache.RemoveByPattern(MENU_PATTERN_KEY); + } + + public virtual void UpdateMenuItem(MenuItemRecord item) + { + Guard.NotNull(item, nameof(MenuRecord)); + + // Prevent inconsistent tree structure. + if (item.ParentItemId != 0 && item.ParentItemId == item.Id) + { + item.ParentItemId = 0; + } + + _menuItemRepository.Update(item); + + _services.Cache.RemoveByPattern(MENU_PATTERN_KEY); + } + + public virtual void DeleteMenuItem(MenuItemRecord item, bool deleteChilds = true) + { + if (item == null) + { + return; + } + + if (!deleteChilds) + { + _menuItemRepository.Delete(item); + } + else + { + var ids = new HashSet { item.Id }; + GetChildIds(item.Id, ids); + + foreach (var chunk in ids.Slice(200)) + { + var items = _menuItemRepository.Table.Where(x => chunk.Contains(x.Id)).ToList(); + _menuItemRepository.DeleteRange(items); + } + } + + _services.Cache.RemoveByPattern(MENU_PATTERN_KEY); + + void GetChildIds(int parentId, HashSet ids) + { + var childIds = _menuItemRepository.TableUntracked + .Where(x => x.ParentItemId == parentId) + .Select(x => x.Id) + .ToList(); + + if (childIds.Any()) + { + ids.AddRange(childIds); + childIds.Each(x => GetChildIds(x, ids)); + } + } + } + + public virtual MenuItemRecord GetMenuItemById(int id) + { + if (id == 0) + { + return null; + } + + return _menuItemRepository.GetByIdCached(id, "db.menuitemrecord.id-" + id); + } + + public virtual IList GetMenuItems(int menuId, int storeId = 0, bool includeHidden = false) + { + if (menuId == 0) + { + return new List(); + } + + var query = BuildMenuItemQuery(menuId, null, storeId, includeHidden); + return query.ToList(); + } + + public virtual IList GetMenuItems(string systemName, int storeId = 0, bool includeHidden = false) + { + if (systemName.IsEmpty()) + { + return new List(); + } + + var query = BuildMenuItemQuery(0, systemName, storeId, includeHidden); + return query.ToList(); + } + + #endregion + + #region Utilities + + private ISet GetMenuSystemNames(bool create) + { + if (create || _services.Cache.Contains(MENU_ALLSYSTEMNAMEs_CACHE_KEY)) + { + return _services.Cache.GetHashSet(MENU_ALLSYSTEMNAMEs_CACHE_KEY, () => + { + return _menuRepository.TableUntracked + .Where(x => x.Published) + .Select(x => x.SystemName) + .ToArray(); + }); + } + + return null; + } + + protected virtual IQueryable BuildMenuQuery( + int id, + int storeId, + string systemName, + bool? isSystemMenu, + bool includeHidden, + bool groupBy = true, + bool sort = true, + bool untracked = false) + { + var applied = false; + var entityName = nameof(MenuRecord); + var query = untracked ? _menuRepository.TableUntracked : _menuRepository.Table; + + query = query.Where(x => includeHidden || x.Published); + + if (id != 0) + { + query = query.Where(x => x.Id == id); + } + + if (systemName.HasValue()) + { + query = query.Where(x => x.SystemName == systemName); + } + + if (isSystemMenu.HasValue) + { + query = query.Where(x => x.IsSystemMenu == isSystemMenu.Value); + } + + if (storeId > 0 && !QuerySettings.IgnoreMultiStore) + { + query = + from x in query + join m in _storeMappingRepository.Table + on new { x1 = x.Id, x2 = entityName } equals new { x1 = m.EntityId, x2 = m.EntityName } into sm + from m in sm.DefaultIfEmpty() + where !x.LimitedToStores || storeId == m.StoreId + select x; + + applied = true; + } + + if (!includeHidden && !QuerySettings.IgnoreAcl) + { + var allowedRoleIds = _services.WorkContext.CurrentCustomer.CustomerRoles.Where(x => x.Active).Select(x => x.Id).ToList(); + + query = + from x in query + join a in _aclRepository.Table + on new { x1 = x.Id, x2 = entityName } equals new { x1 = a.EntityId, x2 = a.EntityName } into ac + from a in ac.DefaultIfEmpty() + where !x.SubjectToAcl || allowedRoleIds.Contains(a.CustomerRoleId) + select x; + + applied = true; + } + + if (applied && groupBy) + { + query = + from x in query + group x by x.Id into grp + orderby grp.Key + select grp.FirstOrDefault(); + } + + if (sort) + { + query = query.OrderBy(x => x.SystemName).ThenBy(x => x.Title); + } + + return query; + } + + protected virtual IQueryable BuildMenuItemQuery( + int menuId, + string systemName, + int storeId, + bool includeHidden) + { + var singleMenu = menuId != 0 || (systemName.HasValue() && storeId != 0); + var menuQuery = BuildMenuQuery(menuId, storeId, systemName, null, includeHidden, !singleMenu, !singleMenu); + + if (singleMenu) + { + menuQuery = menuQuery.Take(1); + } + + var query = + from m in menuQuery + join mi in _menuItemRepository.Table on m.Id equals mi.MenuId + where includeHidden || mi.Published + orderby mi.ParentItemId, mi.DisplayOrder + select mi; + + return query; + } + + #endregion + } +} diff --git a/src/Libraries/SmartStore.Services/Common/TempFileCleanupTask.cs b/src/Libraries/SmartStore.Services/Common/TempFileCleanupTask.cs index a07dfe8cce..e02429fba3 100644 --- a/src/Libraries/SmartStore.Services/Common/TempFileCleanupTask.cs +++ b/src/Libraries/SmartStore.Services/Common/TempFileCleanupTask.cs @@ -10,7 +10,7 @@ public partial class TempFileCleanupTask : ITask { public void Execute(TaskExecutionContext ctx) { - FileSystemHelper.TempCleanup(); + FileSystemHelper.ClearTempDirectories(); } } } diff --git a/src/Libraries/SmartStore.Services/Configuration/SettingService.cs b/src/Libraries/SmartStore.Services/Configuration/SettingService.cs index 5eab6f9f14..1caeae24d0 100644 --- a/src/Libraries/SmartStore.Services/Configuration/SettingService.cs +++ b/src/Libraries/SmartStore.Services/Configuration/SettingService.cs @@ -57,7 +57,7 @@ protected virtual IDictionary GetAllCachedSettings() } return dictionary; - }); + }, independent: true); } protected virtual PropertyInfo GetPropertyInfo(Expression> keySelector) @@ -152,7 +152,7 @@ public virtual Setting GetSettingById(int settingId) public virtual T GetSettingByKey( string key, - T defaultValue = default(T), + T defaultValue = default, int storeId = 0, bool loadSharedValueIfNotFound = false) { @@ -162,9 +162,7 @@ public virtual T GetSettingByKey( var cacheKey = CreateCacheKey(key, storeId); - CachedSetting cachedSetting; - - if (settings.TryGetValue(cacheKey, out cachedSetting)) + if (settings.TryGetValue(cacheKey, out CachedSetting cachedSetting)) { return cachedSetting.Value.Convert(); } @@ -224,32 +222,33 @@ public ISettings LoadSetting(Type settingType, int storeId = 0) protected virtual ISettings LoadSettingCore(Type settingType, int storeId = 0) { - if (settingType.HasAttribute(true)) - { - return LoadSettingsJson(settingType, storeId); - } - - var settings = (ISettings)Activator.CreateInstance(settingType); - + var allSettings = GetAllCachedSettings(); + var instance = (ISettings)Activator.CreateInstance(settingType); var prefix = settingType.Name; foreach (var fastProp in FastProperty.GetProperties(settingType).Values) { var prop = fastProp.Property; - // get properties we can read and write to + // Get properties we can read and write to if (!prop.CanWrite) continue; - var key = prefix + "." + prop.Name; - // load by store - string setting = GetSettingByKey(key, storeId: storeId, loadSharedValueIfNotFound: true); + string key = prefix + "." + prop.Name; + if (!allSettings.TryGetValue(CreateCacheKey(key, storeId), out var cachedSetting) && storeId > 0) + { + // // Fallback to shared (storeId = 0) + allSettings.TryGetValue(CreateCacheKey(key, 0), out cachedSetting); + } + + string setting = cachedSetting?.Value; + if (setting == null) { if (fastProp.IsSequenceType) { - if ((fastProp.GetValue(settings) as IEnumerable) != null) + if ((fastProp.GetValue(instance) as IEnumerable) != null) { // Instance of IEnumerable<> was already created, most likely in the constructor of the settings concrete class. // In this case we shouldn't let the EnumerableConverter create a new instance but keep this one. @@ -294,7 +293,7 @@ protected virtual ISettings LoadSettingCore(Type settingType, int storeId = 0) object value = converter.ConvertFrom(setting); // Set property - fastProp.SetValue(settings, value); + fastProp.SetValue(instance, value); } catch (Exception ex) { @@ -303,7 +302,7 @@ protected virtual ISettings LoadSettingCore(Type settingType, int storeId = 0) } } - return settings; + return instance; } public virtual void SetSetting(string key, T value, int storeId = 0, bool clearCache = true) @@ -313,10 +312,9 @@ public virtual void SetSetting(string key, T value, int storeId = 0, bool cle var str = value.Convert(); var allSettings = GetAllCachedSettings(); var cacheKey = CreateCacheKey(key, storeId); - CachedSetting cachedSetting; var insert = false; - if (allSettings.TryGetValue(cacheKey, out cachedSetting)) + if (allSettings.TryGetValue(cacheKey, out CachedSetting cachedSetting)) { var setting = GetSettingById(cachedSetting.Id); if (setting != null) @@ -370,12 +368,6 @@ protected virtual void SaveSettingCore(ISettings settings, int storeId = 0) var settingType = settings.GetType(); var prefix = settingType.Name; - if (settingType.HasAttribute(true)) - { - SaveSettingsJson(settings); - return; - } - /* We do not clear cache after each setting update. * This behavior can increase performance because cached settings will not be cleared * and loaded from database after each update */ @@ -446,12 +438,6 @@ public virtual void DeleteSetting(Setting setting) { using (BeginScope()) { - if (typeof(T).HasAttribute(true)) - { - DeleteSettingsJson(); - return; - } - var settingsToDelete = new List(); var allSettings = GetAllSettings(); foreach (var prop in typeof(T).GetProperties()) diff --git a/src/Libraries/SmartStore.Services/Customers/CustomerRegistrationService.cs b/src/Libraries/SmartStore.Services/Customers/CustomerRegistrationService.cs index 81114192cb..6343755061 100644 --- a/src/Libraries/SmartStore.Services/Customers/CustomerRegistrationService.cs +++ b/src/Libraries/SmartStore.Services/Customers/CustomerRegistrationService.cs @@ -25,13 +25,13 @@ public CustomerRegistrationService(ICustomerService customerService, RewardPointsSettings rewardPointsSettings, CustomerSettings customerSettings, IStoreContext storeContext, IEventPublisher eventPublisher) { - this._customerService = customerService; - this._encryptionService = encryptionService; - this._newsLetterSubscriptionService = newsLetterSubscriptionService; - this._rewardPointsSettings = rewardPointsSettings; - this._customerSettings = customerSettings; - this._storeContext = storeContext; - this._eventPublisher = eventPublisher; + _customerService = customerService; + _encryptionService = encryptionService; + _newsLetterSubscriptionService = newsLetterSubscriptionService; + _rewardPointsSettings = rewardPointsSettings; + _customerSettings = customerSettings; + _storeContext = storeContext; + _eventPublisher = eventPublisher; T = NullLocalizer.Instance; } @@ -42,10 +42,18 @@ public virtual bool ValidateCustomer(string usernameOrEmail, string password) { Customer customer = null; - if (_customerSettings.UsernamesEnabled) + if (_customerSettings.CustomerLoginType == CustomerLoginType.Email) + { + customer = _customerService.GetCustomerByEmail(usernameOrEmail); + } + else if (_customerSettings.CustomerLoginType == CustomerLoginType.Username) + { customer = _customerService.GetCustomerByUsername(usernameOrEmail); + } else - customer = _customerService.GetCustomerByEmail(usernameOrEmail); + { + customer = _customerService.GetCustomerByEmail(usernameOrEmail) ?? _customerService.GetCustomerByUsername(usernameOrEmail); + } if (customer == null || customer.Deleted || !customer.Active) return false; @@ -110,7 +118,7 @@ public virtual CustomerRegistrationResult RegisterCustomer(CustomerRegistrationR return result; } - if (String.IsNullOrEmpty(request.Email)) + if (!request.Email.HasValue()) { result.AddError(T("Account.Register.Errors.EmailIsNotProvided")); return result; @@ -122,19 +130,16 @@ public virtual CustomerRegistrationResult RegisterCustomer(CustomerRegistrationR return result; } - if (String.IsNullOrWhiteSpace(request.Password)) + if (!request.Password.HasValue()) { result.AddError(T("Account.Register.Errors.PasswordIsNotProvided")); return result; } - if (_customerSettings.UsernamesEnabled) + if (_customerSettings.CustomerLoginType != CustomerLoginType.Email && !request.Username.HasValue()) { - if (String.IsNullOrEmpty(request.Username)) - { - result.AddError(T("Account.Register.Errors.UsernameIsNotProvided")); - return result; - } + result.AddError(T("Account.Register.Errors.UsernameIsNotProvided")); + return result; } // Validate unique user @@ -144,13 +149,10 @@ public virtual CustomerRegistrationResult RegisterCustomer(CustomerRegistrationR return result; } - if (_customerSettings.UsernamesEnabled) + if (_customerSettings.CustomerLoginType != CustomerLoginType.Email && _customerService.GetCustomerByUsername(request.Username) != null) { - if (_customerService.GetCustomerByUsername(request.Username) != null) - { - result.AddError(T("Account.Register.Errors.UsernameAlreadyExists")); - return result; - } + result.AddError(T("Account.Register.Errors.UsernameAlreadyExists")); + return result; } // At this point request is valid @@ -214,12 +216,12 @@ public virtual PasswordChangeResult ChangePassword(ChangePasswordRequest request Guard.NotNull(request, nameof(request)); var result = new PasswordChangeResult(); - if (String.IsNullOrWhiteSpace(request.Email)) + if (!request.Email.HasValue()) { result.AddError(T("Account.ChangePassword.Errors.EmailIsNotProvided")); return result; } - if (String.IsNullOrWhiteSpace(request.NewPassword)) + if (!request.NewPassword.HasValue()) { result.AddError(T("Account.ChangePassword.Errors.PasswordIsNotProvided")); return result; @@ -232,7 +234,6 @@ public virtual PasswordChangeResult ChangePassword(ChangePasswordRequest request return result; } - var requestIsValid = false; if (request.ValidateRequest) { @@ -307,15 +308,15 @@ public virtual void SetEmail(Customer customer, string newEmail) if (newEmail.Length > 100) throw new SmartException(T("Account.EmailUsernameErrors.EmailTooLong")); - var customer2 = _customerService.GetCustomerByEmail(newEmail); - if (customer2 != null && customer.Id != customer2.Id) + var newCustomer = _customerService.GetCustomerByEmail(newEmail); + if (newCustomer != null && customer.Id != newCustomer.Id) throw new SmartException(T("Account.EmailUsernameErrors.EmailAlreadyExists")); customer.Email = newEmail; _customerService.UpdateCustomer(customer); //update newsletter subscription (if required) - if (!String.IsNullOrEmpty(oldEmail) && !oldEmail.Equals(newEmail, StringComparison.InvariantCultureIgnoreCase)) + if (oldEmail.HasValue() && !oldEmail.Equals(newEmail, StringComparison.InvariantCultureIgnoreCase)) { var subscriptionOld = _newsLetterSubscriptionService.GetNewsLetterSubscriptionByEmail(oldEmail, _storeContext.CurrentStore.Id); if (subscriptionOld != null) @@ -330,7 +331,7 @@ public virtual void SetUsername(Customer customer, string newUsername) { Guard.NotNull(customer, nameof(customer)); - if (!_customerSettings.UsernamesEnabled) + if (_customerSettings.CustomerLoginType == CustomerLoginType.Email) throw new SmartException("Usernames are disabled"); if (!_customerSettings.AllowUsersToChangeUsernames) @@ -341,8 +342,8 @@ public virtual void SetUsername(Customer customer, string newUsername) if (newUsername.Length > 100) throw new SmartException(T("Account.EmailUsernameErrors.UsernameTooLong")); - var user2 = _customerService.GetCustomerByUsername(newUsername); - if (user2 != null && customer.Id != user2.Id) + var newUser = _customerService.GetCustomerByUsername(newUsername); + if (newUser != null && customer.Id != newUser.Id) throw new SmartException(T("Account.EmailUsernameErrors.UsernameAlreadyExists")); customer.Username = newUsername; diff --git a/src/Libraries/SmartStore.Services/Customers/CustomerSearchQuery.cs b/src/Libraries/SmartStore.Services/Customers/CustomerSearchQuery.cs index 92710cc92e..e0737ac075 100644 --- a/src/Libraries/SmartStore.Services/Customers/CustomerSearchQuery.cs +++ b/src/Libraries/SmartStore.Services/Customers/CustomerSearchQuery.cs @@ -86,10 +86,15 @@ public class CustomerSearchQuery : ICloneable /// public bool? Deleted { get; set; } = false; - /// - /// Whether only system account records should be loaded. Default: false (meaning: ignore system accounts) - /// - public bool? IsSystemAccount { get; set; } = false; + /// + /// Whether only active customers should be loaded. + /// + public bool? Active { get; set; } + + /// + /// Whether only system account records should be loaded. Default: false (meaning: ignore system accounts) + /// + public bool? IsSystemAccount { get; set; } = false; /// /// Searches in FullName (FirstName + LastName) and Company fields. Default: null. diff --git a/src/Libraries/SmartStore.Services/Customers/CustomerService.cs b/src/Libraries/SmartStore.Services/Customers/CustomerService.cs index db565351e5..b6890718c9 100644 --- a/src/Libraries/SmartStore.Services/Customers/CustomerService.cs +++ b/src/Libraries/SmartStore.Services/Customers/CustomerService.cs @@ -20,6 +20,7 @@ using SmartStore.Data.Caching; using SmartStore.Services.Common; using SmartStore.Services.Localization; +using System.Threading.Tasks; namespace SmartStore.Services.Customers { @@ -182,6 +183,11 @@ select grp query = query.Where(c => c.Deleted == q.Deleted.Value); } + if (q.Active.HasValue) + { + query = query.Where(c => c.Active == q.Active.Value); + } + if (q.IsSystemAccount.HasValue) { query = q.IsSystemAccount.Value == true @@ -200,9 +206,9 @@ select grp { query = query .Join(_gaRepository.Table, x => x.Id, y => y.EntityId, (x, y) => new { Customer = x, Attribute = y }) - .Where((z => z.Attribute.KeyGroup == "Customer" && + .Where(z => z.Attribute.KeyGroup == "Customer" && z.Attribute.Key == SystemCustomerAttributeNames.Phone && - z.Attribute.Value.Contains(q.Phone))) + z.Attribute.Value.Contains(q.Phone)) .Select(z => z.Customer); } @@ -211,9 +217,9 @@ select grp { query = query .Join(_gaRepository.Table, x => x.Id, y => y.EntityId, (x, y) => new { Customer = x, Attribute = y }) - .Where((z => z.Attribute.KeyGroup == "Customer" && + .Where(z => z.Attribute.KeyGroup == "Customer" && z.Attribute.Key == SystemCustomerAttributeNames.ZipPostalCode && - z.Attribute.Value.Contains(q.ZipPostalCode))) + z.Attribute.Value.Contains(q.ZipPostalCode)) .Select(z => z.Customer); } @@ -523,7 +529,11 @@ public virtual void ResetCheckoutData( UpdateCustomer(customer); } - public virtual int DeleteGuestCustomers(DateTime? registrationFrom, DateTime? registrationTo, bool onlyWithoutShoppingCart, int maxItemsToDelete = 5000) + public virtual async Task DeleteGuestCustomersAsync( + DateTime? registrationFrom, + DateTime? registrationTo, + bool onlyWithoutShoppingCart, + int maxItemsToDelete = 5000) { var ctx = _customerRepository.Context; @@ -560,7 +570,7 @@ public virtual int DeleteGuestCustomers(DateTime? registrationFrom, DateTime? re // no forum topics query = JoinWith(query, x => x.CustomerId); - //don't delete system accounts + // don't delete system accounts query = query.Where(c => !c.IsSystemAccount); // only distinct items @@ -571,7 +581,7 @@ orderby cGroup.Key select cGroup.FirstOrDefault(); query = query.OrderBy(c => c.Id); - var customers = query.Take(() => maxItemsToDelete).ToList(); + var customers = await query.Take(() => maxItemsToDelete).ToListAsync(); int numberOfDeletedCustomers = 0; foreach (var c in customers) @@ -580,10 +590,9 @@ orderby cGroup.Key { // delete attributes (using GenericAttributeService would incorporate caching... which is bad in long running processes) var gaQuery = from ga in _gaRepository.Table - where ga.EntityId == c.Id && - ga.KeyGroup == "Customer" + where ga.EntityId == c.Id && ga.KeyGroup == "Customer" select ga; - var attributes = gaQuery.ToList(); + var attributes = await gaQuery.ToListAsync(); _gaRepository.DeleteRange(attributes); @@ -596,7 +605,7 @@ orderby cGroup.Key // save changes all 1000th item try { - scope.Commit(); + await ctx.SaveChangesAsync(); } catch (Exception ex) { @@ -611,7 +620,7 @@ orderby cGroup.Key } // save the rest - scope.Commit(); + await ctx.SaveChangesAsync(); return numberOfDeletedCustomers; } diff --git a/src/Libraries/SmartStore.Services/Customers/DeleteGuestsTask.cs b/src/Libraries/SmartStore.Services/Customers/DeleteGuestsTask.cs index 35dbb85d43..1238009e0d 100644 --- a/src/Libraries/SmartStore.Services/Customers/DeleteGuestsTask.cs +++ b/src/Libraries/SmartStore.Services/Customers/DeleteGuestsTask.cs @@ -1,4 +1,5 @@ using System; +using System.Threading.Tasks; using SmartStore.Services.Tasks; namespace SmartStore.Services.Customers @@ -6,23 +7,20 @@ namespace SmartStore.Services.Customers /// /// Represents a task for deleting guest customers /// - public partial class DeleteGuestsTask : ITask + public partial class DeleteGuestsTask : AsyncTask { private readonly ICustomerService _customerService; public DeleteGuestsTask(ICustomerService customerService) { - this._customerService = customerService; + _customerService = customerService; } - /// - /// Executes a task - /// - public void Execute(TaskExecutionContext ctx) - { - //60*24 = 1 day - var olderThanMinutes = 1440; // TODO: move to settings - _customerService.DeleteGuestCustomers(null, DateTime.UtcNow.AddMinutes(-olderThanMinutes), true); - } - } + public override async Task ExecuteAsync(TaskExecutionContext ctx) + { + //60*24 = 1 day + var olderThanMinutes = 1440; // TODO: move to settings + await _customerService.DeleteGuestCustomersAsync(null, DateTime.UtcNow.AddMinutes(-olderThanMinutes), true); + } + } } diff --git a/src/Libraries/SmartStore.Services/Customers/ICustomerService.cs b/src/Libraries/SmartStore.Services/Customers/ICustomerService.cs index 7921eb281d..5736bf5fa0 100644 --- a/src/Libraries/SmartStore.Services/Customers/ICustomerService.cs +++ b/src/Libraries/SmartStore.Services/Customers/ICustomerService.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Threading.Tasks; using SmartStore.Collections; using SmartStore.Core; using SmartStore.Core.Domain.Catalog; @@ -140,14 +141,14 @@ void ResetCheckoutData(Customer customer, int storeId, bool clearPaymentMethod = true, bool clearCreditBalance = false); - /// - /// Delete guest customer records - /// - /// Customer registration from; null to load all customers - /// Customer registration to; null to load all customers - /// A value indicating whether to delete customers only without shopping cart - /// Number of deleted customers - int DeleteGuestCustomers(DateTime? registrationFrom, DateTime? registrationTo, bool onlyWithoutShoppingCart, int maxItemsToDelete = 5000); + /// + /// Delete guest customer records + /// + /// Customer registration from; null to load all customers + /// Customer registration to; null to load all customers + /// A value indicating whether to delete customers only without shopping cart + /// Number of deleted customers + Task DeleteGuestCustomersAsync(DateTime? registrationFrom, DateTime? registrationTo, bool onlyWithoutShoppingCart, int maxItemsToDelete = 5000); #endregion diff --git a/src/Libraries/SmartStore.Services/Customers/Importer/CustomerImporter.cs b/src/Libraries/SmartStore.Services/Customers/Importer/CustomerImporter.cs index 62836732ce..f806f232fe 100644 --- a/src/Libraries/SmartStore.Services/Customers/Importer/CustomerImporter.cs +++ b/src/Libraries/SmartStore.Services/Customers/Importer/CustomerImporter.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Drawing; using System.IO; using System.Linq; using SmartStore.Core.Async; @@ -10,10 +9,10 @@ using SmartStore.Core.Domain.DataExchange; using SmartStore.Core.Domain.Forums; using SmartStore.Core.Domain.Media; -using SmartStore.Core.Events; using SmartStore.Services.Affiliates; using SmartStore.Services.Common; using SmartStore.Services.DataExchange.Import; +using SmartStore.Services.DataExchange.Import.Events; using SmartStore.Services.Directory; using SmartStore.Services.Helpers; using SmartStore.Services.Media; @@ -22,7 +21,7 @@ namespace SmartStore.Services.Customers.Importer { - public class CustomerImporter : EntityImporterBase + public class CustomerImporter : EntityImporterBase { private const string _attributeKeyGroup = "Customer"; @@ -195,7 +194,9 @@ protected override void Import(ImportExecuteContext context) { _services.DbContext.AutoDetectChangesEnabled = false; } - } + + context.Services.EventPublisher.Publish(new ImportBatchExecutedEvent(context, batch)); + } } } @@ -581,7 +582,7 @@ protected virtual int ProcessAvatars( var currentPictures = new List(); var seoName = _pictureService.GetPictureSeName(row.EntityDisplayName); - var image = CreateDownloadImage(urlOrPath, seoName, 1); + var image = CreateDownloadImage(context, urlOrPath, seoName, 1); if (image == null) continue; diff --git a/src/Libraries/SmartStore.Services/DataExchange/Csv/CsvDataReader.cs b/src/Libraries/SmartStore.Services/DataExchange/Csv/CsvDataReader.cs index 645097de1b..0a172ff592 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Csv/CsvDataReader.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Csv/CsvDataReader.cs @@ -11,9 +11,6 @@ using System.Collections.Generic; using System.Data; using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using LumenWorks.Framework.IO.Csv; namespace SmartStore.Services.DataExchange.Csv @@ -47,20 +44,22 @@ public CsvDataReader(TextReader reader, CsvConfiguration configuration) this.Configuration = configuration; _csv = new CsvReader( - reader, + reader, configuration.HasHeaders, configuration.Delimiter, configuration.Quote, configuration.Escape, configuration.Comment, configuration.TrimValues ? ValueTrimmingOptions.All : ValueTrimmingOptions.None, - configuration.NullValue); - - _csv.SupportsMultiline = configuration.SupportsMultiline; - _csv.SkipEmptyLines = configuration.SkipEmptyLines; - _csv.DefaultHeaderName = configuration.DefaultHeaderName; - _csv.DefaultParseErrorAction = (LumenWorks.Framework.IO.Csv.ParseErrorAction)((int)configuration.DefaultParseErrorAction); - _csv.MissingFieldAction = (LumenWorks.Framework.IO.Csv.MissingFieldAction)((int)configuration.MissingFieldAction); + 4096, + configuration.NullValue) + { + SupportsMultiline = configuration.SupportsMultiline, + SkipEmptyLines = configuration.SkipEmptyLines, + DefaultHeaderName = configuration.DefaultHeaderName, + DefaultParseErrorAction = (LumenWorks.Framework.IO.Csv.ParseErrorAction)((int)configuration.DefaultParseErrorAction), + MissingFieldAction = (LumenWorks.Framework.IO.Csv.MissingFieldAction)((int)configuration.MissingFieldAction) + }; _reader = _csv; } diff --git a/src/Libraries/SmartStore.Services/DataExchange/Export/DataExporter.cs b/src/Libraries/SmartStore.Services/DataExchange/Export/DataExporter.cs index 811dfa2abe..6d1b16defc 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Export/DataExporter.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Export/DataExporter.cs @@ -333,7 +333,7 @@ private void StreamToFile(DataExporterContext ctx, Stream stream, string path, A if (ctx.ExecuteContext.Abort == DataExchangeAbortion.Hard && ctx.IsFileBasedExport && path.HasValue()) { - FileSystemHelper.Delete(path); + FileSystemHelper.DeleteFile(path); } } @@ -1786,8 +1786,8 @@ private void ExportCoreOuter(DataExporterContext ctx) var logPath = profile.GetExportLogPath(); var zipPath = profile.GetExportZipPath(); - FileSystemHelper.Delete(logPath); - FileSystemHelper.Delete(zipPath); + FileSystemHelper.DeleteFile(logPath); + FileSystemHelper.DeleteFile(zipPath); FileSystemHelper.ClearDirectory(ctx.FolderContent, false); using (var logger = new TraceLogger(logPath)) diff --git a/src/Libraries/SmartStore.Services/DataExchange/Export/DynamicEntityHelper.cs b/src/Libraries/SmartStore.Services/DataExchange/Export/DynamicEntityHelper.cs index 7258f5d6c9..8c89087b72 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Export/DynamicEntityHelper.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Export/DynamicEntityHelper.cs @@ -22,6 +22,7 @@ using SmartStore.Core.Domain.Seo; using SmartStore.Core.Domain.Shipping; using SmartStore.Core.Domain.Stores; +using SmartStore.Core.Domain.Tax; using SmartStore.Core.Html; using SmartStore.Services.Catalog; using SmartStore.Services.Catalog.Modelling; @@ -31,6 +32,7 @@ using SmartStore.Services.Localization; using SmartStore.Services.Media; using SmartStore.Services.Seo; +using SmartStore.Utilities; namespace SmartStore.Services.DataExchange.Export { @@ -106,7 +108,7 @@ private void PrepareProductDescription(DataExporterContext ctx, dynamic dynObjec string[] appendText = ctx.Projection.AppendDescriptionText.SplitSafe(","); if (appendText.Length > 0) { - var rnd = new Random().Next(0, appendText.Length - 1); + var rnd = CommonHelper.GenerateRandomInteger(0, appendText.Length - 1); description = description.Grow(appendText.SafeGet(rnd), " "); } } @@ -459,10 +461,12 @@ private dynamic ToDynamic(DataExporterContext ctx, QuantityUnit quantityUnit) var translations = ctx.Translations[nameof(QuantityUnit)]; result.Name = translations.GetValue(ctx.LanguageId, quantityUnit.Id, nameof(quantityUnit.Name)) ?? quantityUnit.Name; - result.Description = translations.GetValue(ctx.LanguageId, quantityUnit.Id, nameof(quantityUnit.Description)) ?? quantityUnit.Description; + result.NamePlural = translations.GetValue(ctx.LanguageId, quantityUnit.Id, nameof(quantityUnit.NamePlural)) ?? quantityUnit.NamePlural; + result.Description = translations.GetValue(ctx.LanguageId, quantityUnit.Id, nameof(quantityUnit.Description)) ?? quantityUnit.Description; result._Localized = GetLocalized(ctx, translations, null, quantityUnit, x => x.Name, + x => x.NamePlural, x => x.Description); return result; @@ -666,12 +670,28 @@ private dynamic ToDynamic(DataExporterContext ctx, Product product, string seNam result._ProductTemplateViewPath = ctx.ProductTemplates.ContainsKey(product.ProductTemplateId) ? ctx.ProductTemplates[product.ProductTemplateId] - : ""; + : string.Empty; + + // A standard, language independent base price formatting: / + var basePriceInfo = string.Empty; + + if (product.BasePriceHasValue && product.BasePriceAmount != decimal.Zero) + { + var finalPrice = _priceCalculationService.Value.GetFinalPrice(product, ctx.ContextCustomer, true); + var productPrice = _taxService.Value.GetProductPrice(product, finalPrice, ctx.ContextCustomer, ctx.ContextCurrency, out var taxrate); + productPrice = _currencyService.Value.ConvertFromPrimaryStoreCurrency(productPrice, ctx.ContextCurrency); + + var priceIncludesTax = _services.WorkContext.TaxDisplayType == TaxDisplayType.IncludingTax; + var priceTemplate = _services.Localization.GetResource("Products.BasePriceInfo.LanguageInsensitive"); + var formattedPriceBase = System.Convert.ToDecimal((productPrice / product.BasePriceAmount) * product.BasePriceBaseAmount); + var formattedPrice = _priceFormatter.Value.FormatPrice(formattedPriceBase, true, ctx.ContextCurrency, ctx.ContextLanguage, priceIncludesTax, false); + + basePriceInfo = priceTemplate.FormatInvariant(formattedPrice, product.BasePriceBaseAmount, product.BasePriceMeasureUnit); + } - result._BasePriceInfo = product.GetBasePriceInfo(_services.Localization, _priceFormatter.Value, _currencyService.Value, _taxService.Value, - _priceCalculationService.Value, ctx.ContextCustomer, ctx.ContextCurrency, decimal.Zero, true); + result._BasePriceInfo = basePriceInfo; - ToDeliveryTime(ctx, result, product.DeliveryTimeId); + ToDeliveryTime(ctx, result, product.DeliveryTimeId); ToQuantityUnit(ctx, result, product.QuantityUnitId); result._Localized = GetLocalized(ctx, translations, urlRecords, product, diff --git a/src/Libraries/SmartStore.Services/DataExchange/Export/ExportExtensions.cs b/src/Libraries/SmartStore.Services/DataExchange/Export/ExportExtensions.cs index 83a3fb4f96..4c9fd6fdb1 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Export/ExportExtensions.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Export/ExportExtensions.cs @@ -140,11 +140,11 @@ public static string ResolveFileNamePattern(this ExportProfile profile, Store st if (profile.FileNamePattern.Contains("%Profile.SeoName%")) { - sb.Replace("%Profile.SeoName%", SeoHelper.GetSeName(profile.Name, true, false).Replace("/", "").Replace("-", "")); + sb.Replace("%Profile.SeoName%", SeoHelper.GetSeName(profile.Name, true, false, false).Replace("-", "")); } if (profile.FileNamePattern.Contains("%Store.SeoName%")) { - sb.Replace("%Store.SeoName%", profile.PerStore ? SeoHelper.GetSeName(store.Name, true, false) : "allstores"); + sb.Replace("%Store.SeoName%", profile.PerStore ? SeoHelper.GetSeName(store.Name, true, false, true) : "allstores"); } if (profile.FileNamePattern.Contains("%Random.Number%")) { @@ -192,7 +192,7 @@ public static string GetDeploymentFolder(this ExportDeployment deployment, bool } else { - path = FileSystemHelper.ValidateRootPath(deployment.FileSystemPath); + path = PathHelper.NormalizeAppRelativePath(deployment.FileSystemPath); path = CommonHelper.MapPath(path); } } diff --git a/src/Libraries/SmartStore.Services/DataExchange/Export/ExportProfileService.cs b/src/Libraries/SmartStore.Services/DataExchange/Export/ExportProfileService.cs index 80451c63d4..e3a4f541b6 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Export/ExportProfileService.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Export/ExportProfileService.cs @@ -148,7 +148,7 @@ public virtual ExportProfile InsertExportProfile( .Replace("/", "") .Replace("-", ""); - var folderName = SeoHelper.GetSeName(cleanedSystemName, true, false) + var folderName = SeoHelper.GetSeName(cleanedSystemName, true, false, false) .ToValidPath() .Truncate(_dataExchangeSettings.MaxFileNameLength); @@ -221,12 +221,11 @@ public virtual ExportProfile InsertExportProfile( public virtual void UpdateExportProfile(ExportProfile profile) { - if (profile == null) - throw new ArgumentNullException("profile"); + Guard.NotNull(profile, nameof(profile)); - profile.FolderName = FileSystemHelper.ValidateRootPath(profile.FolderName); + profile.FolderName = PathHelper.NormalizeAppRelativePath(profile.FolderName); - if (!FileSystemHelper.IsSafeRootPath(profile.FolderName)) + if (!PathHelper.IsSafeAppRootPath(profile.FolderName)) { throw new SmartException(_localizationService.GetResource("Admin.DataExchange.Export.FolderName.Validate")); } @@ -236,8 +235,7 @@ public virtual void UpdateExportProfile(ExportProfile profile) public virtual void DeleteExportProfile(ExportProfile profile, bool force = false) { - if (profile == null) - throw new ArgumentNullException("profile"); + Guard.NotNull(profile, nameof(profile)); if (!force && profile.IsSystemProfile) throw new SmartException(_localizationService.GetResource("Admin.DataExchange.Export.CannotDeleteSystemProfile")); diff --git a/src/Libraries/SmartStore.Services/DataExchange/Export/ExportXmlHelper.cs b/src/Libraries/SmartStore.Services/DataExchange/Export/ExportXmlHelper.cs index df53b4cb3f..4af3ac1836 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Export/ExportXmlHelper.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Export/ExportXmlHelper.cs @@ -318,7 +318,8 @@ public void WriteQuantityUnit(dynamic quantityUnit, string node) _writer.Write("Id", entity.Id.ToString()); _writer.Write("Name", (string)quantityUnit.Name); - _writer.Write("Description", (string)quantityUnit.Description); + _writer.Write("NamePlural", (string)quantityUnit.NamePlural); + _writer.Write("Description", (string)quantityUnit.Description); _writer.Write("DisplayLocale", entity.DisplayLocale); _writer.Write("DisplayOrder", entity.DisplayOrder.ToString()); _writer.Write("IsDefault", entity.IsDefault.ToString()); diff --git a/src/Libraries/SmartStore.Services/DataExchange/Import/DataImporter.cs b/src/Libraries/SmartStore.Services/DataExchange/Import/DataImporter.cs index a464efaf8a..e413acdde9 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Import/DataImporter.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Import/DataImporter.cs @@ -257,7 +257,7 @@ private void ImportCoreOuter(DataImporterContext ctx) var customer = _services.WorkContext.CurrentCustomer; var profile = ctx.Request.Profile; var logPath = profile.GetImportLogPath(); - FileSystemHelper.Delete(logPath); + FileSystemHelper.DeleteFile(logPath); using (var logger = new TraceLogger(logPath)) { diff --git a/src/Libraries/SmartStore.Services/DataExchange/Import/EntityImporterBase.cs b/src/Libraries/SmartStore.Services/DataExchange/Import/EntityImporterBase.cs index f4c963a045..4452f00382 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Import/EntityImporterBase.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Import/EntityImporterBase.cs @@ -86,7 +86,7 @@ protected void Initialize(ImportExecuteContext context) context.Result.TotalRecords = context.DataSegmenter.TotalRows; } - public FileDownloadManagerItem CreateDownloadImage(string urlOrPath, string seoName, int displayOrder) + public FileDownloadManagerItem CreateDownloadImage(ImportExecuteContext context, string urlOrPath, string seoName, int displayOrder) { var item = new FileDownloadManagerItem { @@ -102,10 +102,10 @@ public FileDownloadManagerItem CreateDownloadImage(string urlOrPath, string seoN if (urlOrPath.IsWebUrl()) { - item.Url = urlOrPath; - item.FileName = "{0}-{1}".FormatInvariant(seoName, item.Id).ToValidFileName(); + item.Url = context.Services.WebHelper.ModifyQueryString(urlOrPath, "q=100", null); + item.FileName = "{0}-{1}".FormatInvariant(seoName, item.Id).ToValidFileName(); - if (DownloadedItems.ContainsKey(urlOrPath)) + if (DownloadedItems.ContainsKey(urlOrPath)) { item.Path = Path.Combine(ImageDownloadFolder, DownloadedItems[urlOrPath]); item.Success = true; diff --git a/src/Libraries/SmartStore.Services/DataExchange/Import/Events/ImportBatchExecutedEvent.cs b/src/Libraries/SmartStore.Services/DataExchange/Import/Events/ImportBatchExecutedEvent.cs new file mode 100644 index 0000000000..b903b505cc --- /dev/null +++ b/src/Libraries/SmartStore.Services/DataExchange/Import/Events/ImportBatchExecutedEvent.cs @@ -0,0 +1,31 @@ +using System.Collections.Generic; +using SmartStore.Core; + +namespace SmartStore.Services.DataExchange.Import.Events +{ + /// + /// An event that is fired after an import of a data batch. + /// + /// The entity type to be imported. + public class ImportBatchExecutedEvent where TEntity : BaseEntity + { + public ImportBatchExecutedEvent(ImportExecuteContext context, IEnumerable> batch) + { + Guard.NotNull(context, nameof(context)); + Guard.NotNull(batch, nameof(batch)); + + Context = context; + Batch = batch; + } + + /// + /// Context of the import. + /// + public ImportExecuteContext Context { get; private set; } + + /// + /// Current batch of import data. + /// + public IEnumerable> Batch { get; private set; } + } +} diff --git a/src/Libraries/SmartStore.Services/DataExchange/Import/ImportProfileService.cs b/src/Libraries/SmartStore.Services/DataExchange/Import/ImportProfileService.cs index fbded791c7..da6ad91076 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Import/ImportProfileService.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Import/ImportProfileService.cs @@ -223,7 +223,7 @@ public virtual ImportProfile InsertImportProfile(string fileName, string name, I profile.KeyFieldNames = string.Join(",", keyFieldNames); - profile.FolderName = SeoHelper.GetSeName(name, true, false) + profile.FolderName = SeoHelper.GetSeName(name, true, false, false) .ToValidPath() .Truncate(_dataExchangeSettings.MaxFileNameLength); diff --git a/src/Libraries/SmartStore.Services/DataExchange/Import/ImportResult.cs b/src/Libraries/SmartStore.Services/DataExchange/Import/ImportResult.cs index a8a29366f7..a0de84eae2 100644 --- a/src/Libraries/SmartStore.Services/DataExchange/Import/ImportResult.cs +++ b/src/Libraries/SmartStore.Services/DataExchange/Import/ImportResult.cs @@ -171,26 +171,26 @@ public string LastError object ICloneable.Clone() { - return this.Clone(); + return this.MemberwiseClone(); } public SerializableImportResult Clone() { - var result = new SerializableImportResult(); - result.StartDateUtc = StartDateUtc; - result.EndDateUtc = EndDateUtc; - result.TotalRecords = TotalRecords; - result.SkippedRecords = SkippedRecords; - result.NewRecords = NewRecords; - result.ModifiedRecords = ModifiedRecords; - result.AffectedRecords = AffectedRecords; - result.Cancelled = Cancelled; - result.Warnings = Warnings; - result.Errors = Errors; - result.LastError = LastError; - - return result; - } + var result = new SerializableImportResult(); + result.StartDateUtc = StartDateUtc; + result.EndDateUtc = EndDateUtc; + result.TotalRecords = TotalRecords; + result.SkippedRecords = SkippedRecords; + result.NewRecords = NewRecords; + result.ModifiedRecords = ModifiedRecords; + result.AffectedRecords = AffectedRecords; + result.Cancelled = Cancelled; + result.Warnings = Warnings; + result.Errors = Errors; + result.LastError = LastError; + + return result; + } } diff --git a/src/Libraries/SmartStore.Services/Directory/GeoCountryLookup.cs b/src/Libraries/SmartStore.Services/Directory/GeoCountryLookup.cs index 497cd4a8a7..71ec189d47 100644 --- a/src/Libraries/SmartStore.Services/Directory/GeoCountryLookup.cs +++ b/src/Libraries/SmartStore.Services/Directory/GeoCountryLookup.cs @@ -1,123 +1,58 @@ using System; using System.Net; +using MaxMind.GeoIP2; using SmartStore.Core; using SmartStore.Core.Caching; +using SmartStore.Utilities; using SmDir = SmartStore.Core.Domain.Directory; namespace SmartStore.Services.Directory { - public partial class GeoCountryLookup : IGeoCountryLookup + public partial class GeoCountryLookup : DisposableObject, IGeoCountryLookup { - private readonly IWebHelper _webHelper; - private readonly ICountryService _countryService; - private readonly IRequestCache _requestCache; - private readonly ICacheManager _cache; + private readonly DatabaseReader _reader; + private readonly object _lock = new object(); - public GeoCountryLookup(IWebHelper webHelper, IRequestCache requestCache, ICacheManager cache, ICountryService countryService) + public GeoCountryLookup() { - this._webHelper = webHelper; - this._requestCache = requestCache; - this._cache = cache; - this._countryService = countryService; + _reader = new DatabaseReader(CommonHelper.MapPath("~/App_Data/GeoLite2/GeoLite2-Country.mmdb")); } - private MaxMind.GeoIP.LookupService GetLookupService() - { - return _cache.Get("GeoCountryLookup", () => - { - var lookupService = new MaxMind.GeoIP.LookupService(_webHelper.MapPath("~/App_Data/GeoIP.dat")); - return lookupService; - }); - } - - public virtual string LookupCountryCode(string str) + public LookupCountryResponse LookupCountry(string addr) { - if (String.IsNullOrEmpty(str)) - return string.Empty; - - IPAddress addr; - try + if (addr.HasValue() && IPAddress.TryParse(addr, out var ipAddress)) { - addr = IPAddress.Parse(str); + return LookupCountry(ipAddress); } - catch - { - return string.Empty; - } - return LookupCountryCode(addr); - } - public virtual string LookupCountryCode(IPAddress addr) - { - try - { - var lookupService = GetLookupService(); - var country = lookupService.getCountry(addr); - var code = country.getCode(); - if (code == "--") - return string.Empty; - - return code; - } - catch - { - return string.Empty; - } + return null; } - public virtual string LookupCountryName(string str) + public LookupCountryResponse LookupCountry(IPAddress addr) { - if (String.IsNullOrEmpty(str)) - return string.Empty; + Guard.NotNull(addr, nameof(addr)); - IPAddress addr; - try + if (_reader.TryCountry(addr, out var response) && response.Country != null) { - addr = IPAddress.Parse(str); + var country = response.Country; + return new LookupCountryResponse + { + GeoNameId = country.GeoNameId, + IsoCode = country.IsoCode, + Name = country.Name, + IsInEu = country.IsInEuropeanUnion + }; } - catch - { - return string.Empty; - } - return LookupCountryName(addr); + + return null; } - public virtual string LookupCountryName(IPAddress addr) + protected override void OnDispose(bool disposing) { - try - { - var lookupService = GetLookupService(); - var country = lookupService.getCountry(addr); - return country.getName(); - } - catch - { - return string.Empty; - } + if (disposing && _reader != null) + { + _reader.Dispose(); + } } - - public virtual bool IsEuIpAddress(string ipAddress, out SmDir.Country euCountry) - { - euCountry = null; - - if (ipAddress.IsEmpty()) - return false; - - euCountry = _requestCache.Get("GeoCountryLookup.EuCountry.{0}".FormatInvariant(ipAddress), () => - { - var countryCode = LookupCountryCode(ipAddress); - if (countryCode.IsEmpty()) - return (SmDir.Country)null; - - var country = _countryService.GetCountryByTwoLetterIsoCode(countryCode); - return country; - }); - - if (euCountry == null) - return false; - - return euCountry.SubjectToVat; - } - } } \ No newline at end of file diff --git a/src/Libraries/SmartStore.Services/Directory/IGeoCountryLookup.cs b/src/Libraries/SmartStore.Services/Directory/IGeoCountryLookup.cs index 815a030b2c..cfe4cae186 100644 --- a/src/Libraries/SmartStore.Services/Directory/IGeoCountryLookup.cs +++ b/src/Libraries/SmartStore.Services/Directory/IGeoCountryLookup.cs @@ -3,27 +3,36 @@ namespace SmartStore.Services.Directory { - /// - /// Country lookup helper - /// - public partial interface IGeoCountryLookup + public sealed class LookupCountryResponse { - string LookupCountryCode(string str); + /// + /// The GeoName ID for the country. + /// + public int? GeoNameId { get; set; } - string LookupCountryCode(IPAddress addr); + /// + /// The english name of the country. + /// + public string Name { get; set; } - string LookupCountryName(string str); + /// + /// The two-letter ISO 3166-1 alpha code for the country + /// + public string IsoCode { get; set; } + + /// + /// This is true if the country is a member state of the European Union. + /// + public bool IsInEu { get; set; } + } - string LookupCountryName(IPAddress addr); + /// + /// Country lookup helper for IPv4/6 addresses + /// + public partial interface IGeoCountryLookup + { + LookupCountryResponse LookupCountry(string addr); - /// - /// Gets a value indicating whether the given IP address originates from an EU country - /// - /// IP address - /// An instance of if the IP originates from a EU country - /// - /// true if the IP address originates from an EU country, false if not - /// - bool IsEuIpAddress(string ipAddress, out Country euCountry); + LookupCountryResponse LookupCountry(IPAddress addr); } } \ No newline at end of file diff --git a/src/Libraries/SmartStore.Services/Directory/MeasureService.cs b/src/Libraries/SmartStore.Services/Directory/MeasureService.cs index 1e8c052807..1ff51e67a9 100644 --- a/src/Libraries/SmartStore.Services/Directory/MeasureService.cs +++ b/src/Libraries/SmartStore.Services/Directory/MeasureService.cs @@ -150,14 +150,14 @@ public virtual MeasureWeight GetMeasureWeightById(int measureWeightId) public virtual MeasureWeight GetMeasureWeightBySystemKeyword(string systemKeyword) { - if (String.IsNullOrEmpty(systemKeyword)) + if (!systemKeyword.HasValue()) return null; var measureWeights = GetAllMeasureWeights(); - foreach (var measureWeight in measureWeights) - if (measureWeight.SystemKeyword.ToLowerInvariant() == systemKeyword.ToLowerInvariant()) - return measureWeight; - return null; + + return measureWeights + .Where(x => x.SystemKeyword.ToLowerInvariant() == systemKeyword.ToLowerInvariant()) + .FirstOrDefault(); } public virtual IList GetAllMeasureWeights() @@ -186,8 +186,7 @@ public virtual void UpdateMeasureWeight(MeasureWeight measure) _measureWeightRepository.Update(measure); } - public virtual decimal ConvertWeight(decimal quantity, - MeasureWeight sourceMeasureWeight, MeasureWeight targetMeasureWeight, bool round = true) + public virtual decimal ConvertWeight(decimal quantity, MeasureWeight sourceMeasureWeight, MeasureWeight targetMeasureWeight, bool round = true) { decimal result = quantity; if (result != decimal.Zero && sourceMeasureWeight.Id != targetMeasureWeight.Id) @@ -195,8 +194,10 @@ public virtual decimal ConvertWeight(decimal quantity, result = ConvertToPrimaryMeasureWeight(result, sourceMeasureWeight); result = ConvertFromPrimaryMeasureWeight(result, targetMeasureWeight); } + if (round) result = Math.Round(result, 2); + return result; } @@ -214,11 +215,11 @@ public virtual decimal ConvertToPrimaryMeasureWeight(decimal quantity, MeasureWe return result; } - public virtual decimal ConvertFromPrimaryMeasureWeight(decimal quantity, - MeasureWeight targetMeasureWeight) + public virtual decimal ConvertFromPrimaryMeasureWeight(decimal quantity, MeasureWeight targetMeasureWeight) { decimal result = quantity; var baseWeightIn = GetMeasureWeightById(_measureSettings.BaseWeightId); + if (result != decimal.Zero && targetMeasureWeight.Id != baseWeightIn.Id) { decimal exchangeRatio = targetMeasureWeight.Ratio; @@ -226,6 +227,7 @@ public virtual decimal ConvertFromPrimaryMeasureWeight(decimal quantity, throw new SmartException(string.Format("Exchange ratio not set for weight [{0}]", targetMeasureWeight.Name)); result = result * exchangeRatio; } + return result; } diff --git a/src/Libraries/SmartStore.Services/Discounts/DiscountService.cs b/src/Libraries/SmartStore.Services/Discounts/DiscountService.cs index 666c53dfdb..660e5f23a1 100644 --- a/src/Libraries/SmartStore.Services/Discounts/DiscountService.cs +++ b/src/Libraries/SmartStore.Services/Discounts/DiscountService.cs @@ -1,19 +1,16 @@ using System; using System.Collections.Generic; using System.Linq; +using SmartStore.Collections; using SmartStore.Core; using SmartStore.Core.Caching; using SmartStore.Core.Data; using SmartStore.Core.Domain.Customers; using SmartStore.Core.Domain.Discounts; -using SmartStore.Core.Events; -using SmartStore.Core.Plugins; using SmartStore.Core.Domain.Orders; -using SmartStore.Services.Customers; +using SmartStore.Core.Plugins; using SmartStore.Services.Common; -using SmartStore.Services.Configuration; -using SmartStore.Collections; -using SmartStore.Core.Data.Hooks; +using SmartStore.Services.Customers; namespace SmartStore.Services.Discounts { @@ -28,21 +25,16 @@ public partial class DiscountService : IDiscountService private readonly IRequestCache _requestCache; private readonly IStoreContext _storeContext; private readonly IGenericAttributeService _genericAttributeService; - private readonly IPluginFinder _pluginFinder; - private readonly IEventPublisher _eventPublisher; - private readonly ISettingService _settingService; private readonly IProviderManager _providerManager; private readonly IDictionary _discountValidityCache; - public DiscountService(IRequestCache requestCache, + public DiscountService( + IRequestCache requestCache, IRepository discountRepository, IRepository discountRequirementRepository, IRepository discountUsageHistoryRepository, IStoreContext storeContext, IGenericAttributeService genericAttributeService, - IPluginFinder pluginFinder, - IEventPublisher eventPublisher, - ISettingService settingService, IProviderManager providerManager) { _requestCache = requestCache; @@ -51,9 +43,6 @@ public DiscountService(IRequestCache requestCache, _discountUsageHistoryRepository = discountUsageHistoryRepository; _storeContext = storeContext; _genericAttributeService = genericAttributeService; - _pluginFinder = pluginFinder; - _eventPublisher = eventPublisher; - _settingService = settingService; _providerManager = providerManager; _discountValidityCache = new Dictionary(); } @@ -207,7 +196,6 @@ public virtual Discount GetDiscountByCouponCode(string couponCode, bool showHidd return discount; } - private System.Diagnostics.Stopwatch _watch = new System.Diagnostics.Stopwatch(); public virtual bool IsDiscountValid(Discount discount, Customer customer) { var couponCodeToValidate = ""; diff --git a/src/Libraries/SmartStore.Services/Events/ConsumerRegistry.cs b/src/Libraries/SmartStore.Services/Events/ConsumerRegistry.cs new file mode 100644 index 0000000000..3f89138f56 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Events/ConsumerRegistry.cs @@ -0,0 +1,126 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using SmartStore.Collections; +using SmartStore.Core.Events; + +namespace SmartStore.Services.Events +{ + public class ConsumerRegistry : IConsumerRegistry + { + private readonly Multimap _descriptorMap = new Multimap(); + + public ConsumerRegistry(IEnumerable> consumers) + { + foreach (var consumer in consumers) + { + var metadata = consumer.Metadata; + + if (!metadata.IsActive) + continue; + + var methods = FindMethods(metadata); + var messageTypes = new Dictionary(); + + foreach (var method in methods) + { + var descriptor = new ConsumerDescriptor(metadata) + { + IsAsync = method.ReturnType == typeof(Task), + FireForget = method.HasAttribute(false) + }; + + //if (descriptor.IsAsync && descriptor.FireForget) + //{ + // throw new NotSupportedException($"An asynchronous message consumer method cannot be called as fire & forget. Method: '{method}'."); + //} + + if (method.ReturnType != typeof(Task) && method.ReturnType != typeof(void)) + { + throw new NotSupportedException($"A message consumer method's return type must either be 'void' or '${typeof(Task).FullName}'. Method: '{method}'."); + } + + if (method.Name.EndsWith("Async") && !descriptor.IsAsync) + { + throw new NotSupportedException($"A synchronous message consumer method name should not end with 'Async'. Method: '{method}'."); + } + + var parameters = method.GetParameters(); + if (parameters.Length == 0) + { + throw new NotSupportedException($"A message consumer method must have at least one parameter identifying the message to consume. Method: '{method}'."); + } + + if (parameters.Any(x => x.ParameterType.IsByRef || x.IsOut || x.IsOptional)) + { + throw new NotSupportedException($"'out', 'ref' and optional parameters are not allowed in consumer methods. Method: '{method}'."); + } + + var p = parameters[0]; + var messageType = p.ParameterType; + + if (messageType.IsGenericType && messageType.GetGenericTypeDefinition() == typeof(ConsumeContext<>)) + { + messageType = messageType.GetGenericArguments()[0]; + descriptor.WithEnvelope = true; + } + + if (messageTypes.TryGetValue(messageType, out var method2)) + { + // We won't allow methods with different signatures, but same message type: there can only be one! + throw new AmbigousConsumerException(method2, method); + } + + messageTypes.Add(messageType, method); + + if (messageType.IsPublic && (messageType.IsClass || messageType.IsInterface)) + { + // The method signature is valid: add to dictionary. + descriptor.MessageParameter = p; + descriptor.Parameters = parameters.Skip(1).ToArray(); + descriptor.MessageType = messageType; + descriptor.Method = method; + + _descriptorMap.Add(messageType, descriptor); + } + else + { + // TODO: message + throw new NotSupportedException(); + } + } + } + } + + private IEnumerable FindMethods(EventConsumerMetadata metadata) + { + var methods = metadata.ContainerType.GetMethods(BindingFlags.Public | BindingFlags.Instance); + + var validNames = new HashSet(new[] { "Handle", "HandleEvent", "Consume", "HandleAsync", "HandleEventAsync", "ConsumeAsync" }); + + foreach (var method in methods) + { + if (validNames.Contains(method.Name)) + { + yield return method; + } + } + } + + public virtual IEnumerable GetConsumers(object message) + { + Guard.NotNull(message, nameof(message)); + + var type = message.GetType(); + if (_descriptorMap.ContainsKey(type)) + { + return _descriptorMap[type]; + } + + return Enumerable.Empty(); + } + } +} diff --git a/src/Libraries/SmartStore.Services/Events/ConsumerResolver.cs b/src/Libraries/SmartStore.Services/Events/ConsumerResolver.cs new file mode 100644 index 0000000000..ebab9eff71 --- /dev/null +++ b/src/Libraries/SmartStore.Services/Events/ConsumerResolver.cs @@ -0,0 +1,73 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using Autofac; +using SmartStore.Core; +using SmartStore.Core.Events; +using SmartStore.Core.Infrastructure; +using SmartStore.Core.Infrastructure.DependencyManagement; +using SmartStore.Core.Plugins; +using SmartStore.Services; +using SmartStore.Services.Configuration; + +namespace SmartStore.Services.Events +{ + public class ConsumerResolver : IConsumerResolver + { + private readonly Work _container; + + public ConsumerResolver(Work container) + { + _container = container; + } + + public virtual IConsumer Resolve(ConsumerDescriptor descriptor) + { + if (descriptor.PluginDescriptor == null || IsActiveForStore(descriptor.PluginDescriptor)) + { + return _container.Value.ResolveKeyed(descriptor.ContainerType); + } + + return null; + } + + public virtual object ResolveParameter(ParameterInfo p, IComponentContext c = null) + { + return (c ?? _container.Value).Resolve(p.ParameterType); + } + + private bool IsActiveForStore(PluginDescriptor plugin) + { + int storeId = 0; + if (EngineContext.Current.IsFullyInitialized) + { + storeId = _container.Value.Resolve().CurrentStore.Id; + } + + if (storeId == 0) + { + return true; + } + + var settingService = _container.Value.Resolve(); + + var limitedToStoresSetting = settingService.GetSettingByKey(plugin.GetSettingKey("LimitedToStores")); + if (limitedToStoresSetting.IsEmpty()) + { + return true; + } + + var limitedToStores = limitedToStoresSetting.ToIntArray(); + if (limitedToStores.Length > 0) + { + var flag = limitedToStores.Contains(storeId); + return flag; + } + + return true; + } + } +} diff --git a/src/Libraries/SmartStore.Services/Events/DefaultConsumerFactory.cs b/src/Libraries/SmartStore.Services/Events/DefaultConsumerFactory.cs deleted file mode 100644 index 72382fd1c7..0000000000 --- a/src/Libraries/SmartStore.Services/Events/DefaultConsumerFactory.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using System.Linq; -using System.Collections.Generic; -using SmartStore.Core.Events; -using SmartStore.Core.Plugins; - -namespace SmartStore.Services.Events -{ - public class DefaultConsumerFactory : IConsumerFactory - { - private readonly IEnumerable, EventConsumerMetadata>> _consumers; - private readonly ICommonServices _services; - - public DefaultConsumerFactory( - IEnumerable, EventConsumerMetadata>> consumers, - ICommonServices services) - { - _consumers = consumers; - _services = services; - } - - public IEnumerable> GetConsumers(bool? resolveAsyncs = null) - { - foreach (var consumer in _consumers) - { - var isActive = consumer.Metadata.IsActive; - var isAsync = consumer.Metadata.ExecuteAsync; - var pluginDescriptor = consumer.Metadata.PluginDescriptor; - - if (isActive && (resolveAsyncs == null || (resolveAsyncs.Value == isAsync))) - { - if (pluginDescriptor == null || IsActiveForStore(pluginDescriptor, _services.StoreContext.CurrentStore.Id)) - { - yield return consumer.Value; - } - } - } - } - - - public bool HasAsyncConsumer - { - get - { - return _consumers.Any(c => c.Metadata.IsActive == true && c.Metadata.ExecuteAsync == true); - } - } - - private bool IsActiveForStore(PluginDescriptor plugin, int storeId) - { - if (storeId == 0) - { - return true; - } - - var limitedToStoresSetting = _services.Settings.GetSettingByKey(plugin.GetSettingKey("LimitedToStores")); - if (limitedToStoresSetting.IsEmpty()) - { - return true; - } - - var limitedToStores = limitedToStoresSetting.ToIntArray(); - if (limitedToStores.Length > 0) - { - var flag = limitedToStores.Contains(storeId); - return flag; - } - - return true; - } - } - -} diff --git a/src/Libraries/SmartStore.Services/Events/EventPublisher.cs b/src/Libraries/SmartStore.Services/Events/EventPublisher.cs index eddb7b5a9e..e6529d9469 100644 --- a/src/Libraries/SmartStore.Services/Events/EventPublisher.cs +++ b/src/Libraries/SmartStore.Services/Events/EventPublisher.cs @@ -1,102 +1,51 @@ using System; -using System.Linq; using System.Collections.Generic; -using System.Collections.Concurrent; -using System.Threading; -using SmartStore.Core.Infrastructure; -using SmartStore.Core.Logging; -using SmartStore.Core.Async; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SmartStore.ComponentModel; using SmartStore.Core.Events; -using Autofac; +using SmartStore.Core.Logging; namespace SmartStore.Services.Events { - public class EventPublisher : IEventPublisher - { - private readonly ConcurrentDictionary _queue = new ConcurrentDictionary(); + public class EventPublisher : IEventPublisher + { + private readonly IConsumerRegistry _registry; + private readonly IConsumerResolver _resolver; + private readonly IConsumerInvoker _invoker; - public EventPublisher() + public EventPublisher(IConsumerRegistry registry, IConsumerResolver resolver, IConsumerInvoker invoker) { + _registry = registry; + _resolver = resolver; + _invoker = invoker; + Logger = NullLogger.Instance; } public ILogger Logger { get; set; } - public void Publish(T eventMessage) - { - if (eventMessage != null) - { - // Enable event throttling by allowing the very same event to be published only all 150 ms. - Timer timer; - if (_queue.TryGetValue(eventMessage, out timer)) - { - // do nothing. The same event was published a tick ago. - return; - } - - _queue[eventMessage] = new Timer(RemoveFromQueue, eventMessage, 150, Timeout.Infinite); - } - - var consumerFactory = EngineContext.Current.Resolve>(); - if (consumerFactory == null) - return; - - IEnumerable> consumers = null; - - // first fire/forget all async consumers - if (consumerFactory.HasAsyncConsumer) - { - AsyncRunner.Run((c, ct) => - { - // for wiring up dependencies correctly - var newFactory = c.Resolve>(); - consumers = newFactory.GetConsumers(true).ToArray(); - foreach (var consumer in consumers) - { - consumer.HandleEvent(eventMessage); - } - }).ContinueWith(t => - { - if (t.IsFaulted) - { - var ex = t.Exception; - if (ex != null) - { - ex.InnerExceptions.Each(x => Logger.Error(x)); - } - } - }); - } + public void Publish(T message) where T : class + { + var descriptors = _registry.GetConsumers(message); - // now execute all sync consumers - consumers = consumerFactory.GetConsumers(false).ToArray(); - foreach (var consumer in consumers) + if (!descriptors.Any()) { - PublishEvent(consumer, eventMessage); + return; } - } - private void PublishEvent(IConsumer x, T eventMessage) - { - try - { - x.HandleEvent(eventMessage); - } - catch (Exception ex) - { - Logger.Error(ex); - throw; - } - } + var envelopeType = typeof(ConsumeContext<>).MakeGenericType(typeof(T)); + var envelope = (ConsumeContext)FastActivator.CreateInstance(envelopeType, message); - private void RemoveFromQueue(object eventMessage) - { - Timer timer; - if (_queue.TryRemove(eventMessage, out timer)) + foreach (var descriptor in descriptors) { - timer.Dispose(); + var consumer = _resolver.Resolve(descriptor); + if (consumer != null) + { + _invoker.Invoke(descriptor, consumer, envelope); + } } } - - } + } } diff --git a/src/Libraries/SmartStore.Services/Forums/ForumExtensions.cs b/src/Libraries/SmartStore.Services/Forums/ForumExtensions.cs index 41aa0c15bc..54a67d93b6 100644 --- a/src/Libraries/SmartStore.Services/Forums/ForumExtensions.cs +++ b/src/Libraries/SmartStore.Services/Forums/ForumExtensions.cs @@ -23,21 +23,12 @@ public static string FormatPostText(this ForumPost post) return string.Empty; } - switch (EngineContext.Current.Resolve().ForumEditor) - { - case EditorType.SimpleTextBox: - { - text = HtmlUtils.FormatText(text, false, true, false, false, false, false); - } - break; - case EditorType.BBCodeEditor: - { - text = HtmlUtils.FormatText(text, false, true, false, true, false, false); - } - break; - default: - break; - } + text = HtmlUtils.ConvertPlainTextToHtml(text.HtmlEncode()); + + if (EngineContext.Current.Resolve().ForumEditor == EditorType.BBCodeEditor) + { + text = BBCodeHelper.ToHtml(text); + } return text; } @@ -83,8 +74,8 @@ public static string FormatForumSignatureText(this string text) return string.Empty; } - return HtmlUtils.FormatText(text, false, true, false, false, false, false); - } + return HtmlUtils.ConvertPlainTextToHtml(text.HtmlEncode()); + } /// /// Formats the private message text @@ -101,7 +92,8 @@ public static string FormatPrivateMessageText(this PrivateMessage message) return string.Empty; } - return HtmlUtils.FormatText(text, false, true, false, true, false, false); + text = HtmlUtils.ConvertPlainTextToHtml(text.HtmlEncode()); + return BBCodeHelper.ToHtml(text); } /// diff --git a/src/Libraries/SmartStore.Services/Localization/LocalizationService.cs b/src/Libraries/SmartStore.Services/Localization/LocalizationService.cs index 60a56d3b8e..d85eafb668 100644 --- a/src/Libraries/SmartStore.Services/Localization/LocalizationService.cs +++ b/src/Libraries/SmartStore.Services/Localization/LocalizationService.cs @@ -319,7 +319,7 @@ public virtual void ImportPluginResourcesFromXml( bool updateTouchedResources = true, IList filterLanguages = null) { - var directory = new DirectoryInfo(Path.Combine(pluginDescriptor.OriginalAssemblyFile.Directory.FullName, "Localization")); + var directory = new DirectoryInfo(Path.Combine(pluginDescriptor.Assembly.OriginalFile.Directory.FullName, "Localization")); if (!directory.Exists) return; diff --git a/src/Libraries/SmartStore.Services/Media/CachedImageResult.cs b/src/Libraries/SmartStore.Services/Media/CachedImageResult.cs index 613192513a..8761739ab8 100644 --- a/src/Libraries/SmartStore.Services/Media/CachedImageResult.cs +++ b/src/Libraries/SmartStore.Services/Media/CachedImageResult.cs @@ -13,6 +13,7 @@ namespace SmartStore.Services.Media public class CachedImageResult { private bool? _exists; + private string _mimeType; public CachedImageResult(IFile file) { @@ -59,11 +60,19 @@ public long FileSize /// The file extension (without 'dot') /// public string Extension { get; set; } - - /// - /// The path relative to the cache root folder - /// - public string Path { get; set; } + + /// + /// The filemime type + /// + public string MimeType + { + get => _mimeType ?? (_mimeType = MimeTypes.MapNameToMimeType(FileName)); + } + + /// + /// The path relative to the cache root folder + /// + public string Path { get; set; } /// /// The last modified date or null if the file does not exist diff --git a/src/Libraries/SmartStore.Services/Media/DefaultImageProcessor.cs b/src/Libraries/SmartStore.Services/Media/DefaultImageProcessor.cs index 01f8d58440..1c5e8dc893 100644 --- a/src/Libraries/SmartStore.Services/Media/DefaultImageProcessor.cs +++ b/src/Libraries/SmartStore.Services/Media/DefaultImageProcessor.cs @@ -9,6 +9,7 @@ using SmartStore.Core.Logging; using ImageProcessor.Configuration; using SmartStore.Core.Events; +using SmartStore.Utilities; namespace SmartStore.Services.Media { @@ -48,6 +49,7 @@ public ProcessImageResult ProcessImage(ProcessImageQuery query) ValidateQuery(query); var watch = new Stopwatch(); + byte[] inBuffer = null; try { @@ -58,28 +60,36 @@ public ProcessImageResult ProcessImage(ProcessImageQuery query) var source = query.Source; // Load source - if (source is byte[]) + if (source is byte[] b) { - processor.Load((byte[])source); + inBuffer = b; } - else if (source is Stream) + else if (source is Stream s) { - processor.Load((Stream)source); + inBuffer = s.ToByteArray(); } - else if (source is Image) + else if (source is Image img) { - processor.Load((Image)source); + processor.Load(img); } - else if (source is string) + else if (source is string str) { - // TODO: (mc) map virtual pathes - processor.Load((string)source); + var path = NormalizePath(str); + using (var fs = File.OpenRead(path)) + { + inBuffer = fs.ToByteArray(); + } } else { throw new ProcessImageException("Invalid source type '{0}' in query.".FormatInvariant(query.Source.GetType().FullName), query); } + if (inBuffer != null) + { + processor.Load(inBuffer); + } + // Pre-process event _eventPublisher.Publish(new ImageProcessingEvent(query, processor)); @@ -87,25 +97,60 @@ public ProcessImageResult ProcessImage(ProcessImageQuery query) { Query = query, SourceWidth = processor.Image.Width, - SourceHeight = processor.Image.Height + SourceHeight = processor.Image.Height, + SourceMimeType = processor.CurrentImageFormat.MimeType }; // Core processing - ProcessImageCore(query, processor); + ProcessImageCore(query, processor, out var fxApplied); // Create & prepare result var outStream = new MemoryStream(); processor.Save(outStream); + var fmt = processor.CurrentImageFormat; + result.FileExtension = fmt.DefaultExtension == "jpeg" ? "jpg" : fmt.DefaultExtension; + result.MimeType = fmt.MimeType; + + result.HasAppliedVisualEffects = fxApplied; result.Width = processor.Image.Width; result.Height = processor.Image.Height; - result.FileExtension = processor.CurrentImageFormat.DefaultExtension; - result.MimeType = processor.CurrentImageFormat.MimeType; - result.OutputStream = outStream; + + if (inBuffer != null) + { + // Check whether it is more beneficial to return the source instead of the result. + // Prefer result only if its size is smaller than the source size. + // Result size may be larger if a high-compressed image has been uploaded. + // During image processing the source compression algorithm gets lost and the image may be larger in size + // after encoding with default encoders. + var compare = + // only when image was not altered visually... + !fxApplied + // ...size has not changed + && result.Width == result.SourceWidth + && result.Height == result.SourceHeight + // ...and format has not changed + && result.MimeType == result.SourceMimeType; + + if (compare && inBuffer.LongLength <= outStream.GetBuffer().LongLength) + { + // Source is smaller. Throw away result and get back to source. + outStream.Dispose(); + result.OutputStream = new MemoryStream(inBuffer, 0, inBuffer.Length, true, true); + } + } + + // Set output stream + if (result.OutputStream == null) + { + result.OutputStream = outStream; + } // Post-process event _eventPublisher.Publish(new ImageProcessedEvent(query, processor, result)); + result.OutputStream.Position = 0; + result.ProcessTimeMs = watch.ElapsedMilliseconds; return result; @@ -119,9 +164,9 @@ public ProcessImageResult ProcessImage(ProcessImageQuery query) } finally { - if (query.DisposeSource && query.Source is IDisposable) + if (query.DisposeSource && query.Source is IDisposable source) { - ((IDisposable)query.Source).Dispose(); + source.Dispose(); } watch.Stop(); @@ -134,8 +179,14 @@ public ProcessImageResult ProcessImage(ProcessImageQuery query) /// /// Query /// Processor instance - protected virtual void ProcessImageCore(ProcessImageQuery query, ImageFactory processor) + /// + /// Should be true if any effect has been applied that potentially changes the image visually (like background color, contrast, sharpness etc.). + /// Resize and compression quality does NOT count as FX. + /// + protected virtual void ProcessImageCore(ProcessImageQuery query, ImageFactory processor, out bool fxApplied) { + fxApplied = false; + // Resize var size = query.MaxWidth != null || query.MaxHeight != null ? new Size(query.MaxWidth ?? 0, query.MaxHeight ?? 0) @@ -143,8 +194,17 @@ protected virtual void ProcessImageCore(ProcessImageQuery query, ImageFactory pr if (!size.IsEmpty) { - var scaleMode = ConvertScaleMode(query.ScaleMode); - processor.Resize(new ResizeLayer(size, resizeMode: scaleMode, upscale: false)); + processor.Resize(new ResizeLayer( + size, + resizeMode: ConvertScaleMode(query.ScaleMode), + anchorPosition: ConvertAnchorPosition(query.AnchorPosition), + upscale: false)); + } + + if (query.BackgroundColor.HasValue()) + { + processor.BackgroundColor(ColorTranslator.FromHtml(query.BackgroundColor)); + fxApplied = true; } // Format @@ -183,6 +243,21 @@ protected virtual void ProcessImageCore(ProcessImageQuery query, ImageFactory pr } } + private string NormalizePath(string path) + { + if (path.IsWebUrl()) + { + throw new NotSupportedException($"Remote images cannot be processed: Path: {path}"); + } + + if (!PathHelper.IsAbsolutePhysicalPath(path)) + { + path = CommonHelper.MapPath(path); + } + + return path; + } + private void ValidateQuery(ProcessImageQuery query) { if (query.Source == null) @@ -214,5 +289,30 @@ private ResizeMode ConvertScaleMode(string mode) return ResizeMode.Max; } } + + private AnchorPosition ConvertAnchorPosition(string anchor) + { + switch (anchor.EmptyNull().ToLower()) + { + case "top": + return AnchorPosition.Top; + case "bottom": + return AnchorPosition.Bottom; + case "left": + return AnchorPosition.Left; + case "right": + return AnchorPosition.Right; + case "top-left": + return AnchorPosition.TopLeft; + case "top-right": + return AnchorPosition.TopRight; + case "bottom-left": + return AnchorPosition.BottomLeft; + case "bottom-right": + return AnchorPosition.BottomRight; + default: + return AnchorPosition.Center; + } + } } } diff --git a/src/Libraries/SmartStore.Services/Media/ImageCache.cs b/src/Libraries/SmartStore.Services/Media/ImageCache.cs index b6f005e920..68c98f8926 100644 --- a/src/Libraries/SmartStore.Services/Media/ImageCache.cs +++ b/src/Libraries/SmartStore.Services/Media/ImageCache.cs @@ -19,21 +19,12 @@ public class ImageCache : IImageCache private readonly MediaSettings _mediaSettings; private readonly string _thumbsRootDir; - private readonly IStoreContext _storeContext; - private readonly HttpContextBase _httpContext; private readonly IMediaFileSystem _fileSystem; private readonly IImageProcessor _imageProcessor; - public ImageCache( - MediaSettings mediaSettings, - IStoreContext storeContext, - HttpContextBase httpContext, - IMediaFileSystem fileSystem, - IImageProcessor imageProcessor) + public ImageCache(MediaSettings mediaSettings, IMediaFileSystem fileSystem, IImageProcessor imageProcessor) { _mediaSettings = mediaSettings; - _storeContext = storeContext; - _httpContext = httpContext; _fileSystem = fileSystem; _imageProcessor = imageProcessor; @@ -61,25 +52,19 @@ public void Put(CachedImageResult cachedImage, byte[] buffer) } } - public Task PutAsync(CachedImageResult cachedImage, byte[] buffer) + public async Task PutAsync(CachedImageResult cachedImage, byte[] buffer) { if (PreparePut(cachedImage, buffer)) { var path = BuildPath(cachedImage.Path); // save file - var t = _fileSystem.WriteAllBytesAsync(path, buffer); - t.ContinueWith(x => - { - // Refresh info - cachedImage.Exists = true; - cachedImage.File = _fileSystem.GetFile(path); - }); - - return t; - } + await _fileSystem.WriteAllBytesAsync(path, buffer); - return Task.FromResult(false); + // Refresh info + cachedImage.Exists = true; + cachedImage.File = _fileSystem.GetFile(path); + } } private bool PreparePut(CachedImageResult cachedImage, byte[] buffer) @@ -202,7 +187,7 @@ public virtual void Delete(IFile file) public virtual void Clear() { - for (int i = 0; i < 10; i++) + for (int i = 0; i < 10; i++) { try { diff --git a/src/Libraries/SmartStore.Services/Media/PictureService.cs b/src/Libraries/SmartStore.Services/Media/PictureService.cs index 850ea22bdb..9e421212eb 100644 --- a/src/Libraries/SmartStore.Services/Media/PictureService.cs +++ b/src/Libraries/SmartStore.Services/Media/PictureService.cs @@ -154,8 +154,7 @@ protected virtual string GetFallbackImageFileName(FallbackPictureType defaultPic public virtual byte[] ValidatePicture(byte[] pictureBinary, string mimeType) { - var size = Size.Empty; - return ValidatePicture(pictureBinary, mimeType, out size); + return ValidatePicture(pictureBinary, mimeType, out _); } public virtual byte[] ValidatePicture(byte[] pictureBinary, string mimeType, out Size size) @@ -275,7 +274,7 @@ public IDictionary GetPictureInfos(IEnumerable pictureIds { PictureId = id, CacheKey = cacheKey, - Info = _cacheManager.Contains(cacheKey) ? _cacheManager.Get(cacheKey) : (PictureInfo)null + Info = _cacheManager.Contains(cacheKey) ? _cacheManager.Get(cacheKey, independent: true) : (PictureInfo)null }).ToList(); var result = new Dictionary(allRequestedInfos.Count); @@ -315,7 +314,7 @@ public PictureInfo GetPictureInfo(int? pictureId) var info = _cacheManager.Get(cacheKey, () => { return CreatePictureInfo(GetPictureById(pictureId.GetValueOrDefault())); - }); + }, independent: true); return info; } @@ -329,7 +328,7 @@ public PictureInfo GetPictureInfo(Picture picture) var info = _cacheManager.Get(cacheKey, () => { return CreatePictureInfo(picture); - }); + }, independent: true); return info; } @@ -513,7 +512,7 @@ public int ClearUrlCache() public virtual string GetPictureSeName(string name) { - return SeoHelper.GetSeName(name, true, false); + return SeoHelper.GetSeName(name, true, false, false); } public virtual Picture SetSeoFilename(int pictureId, string seoFilename) diff --git a/src/Libraries/SmartStore.Services/Media/ProcessImageException.cs b/src/Libraries/SmartStore.Services/Media/ProcessImageException.cs index 1cb2038497..d16095ff8c 100644 --- a/src/Libraries/SmartStore.Services/Media/ProcessImageException.cs +++ b/src/Libraries/SmartStore.Services/Media/ProcessImageException.cs @@ -21,23 +21,25 @@ public ProcessImageException(string message, ProcessImageQuery query) } public ProcessImageException(ProcessImageQuery query, Exception innerException) - : base(CreateMessage(query), innerException) + : base(CreateMessage(query, innerException), innerException) { Query = query; } - private static string CreateMessage(ProcessImageQuery query) + private static string CreateMessage(ProcessImageQuery query, Exception innerException) { var fileName = query?.FileName; - if (fileName.HasValue()) - { - return "Error while processing image '{0}'.".FormatCurrent(fileName); - } - else + var msg = fileName.HasValue() + ? "Error while processing image '{0}'".FormatCurrent(fileName) + : "Error while processing image"; + + if (innerException != null) { - return "Error while processing image."; + msg += " (" + innerException.Message + ")"; } + + return msg; } public ProcessImageQuery Query { get; private set; } diff --git a/src/Libraries/SmartStore.Services/Media/ProcessImageQuery.cs b/src/Libraries/SmartStore.Services/Media/ProcessImageQuery.cs index 7e316381ef..9b3c5998e2 100644 --- a/src/Libraries/SmartStore.Services/Media/ProcessImageQuery.cs +++ b/src/Libraries/SmartStore.Services/Media/ProcessImageQuery.cs @@ -117,13 +117,30 @@ public int? Quality set { Set("q", value); } } - // TODO: (mc) make Enum + /// + /// max (default) | boxpad | crop | min | pad | stretch + /// public string ScaleMode { get { return Get("m"); } set { Set("m", value); } } + /// + /// center (default) | top | bottom | left | right | top-left | top-right | bottom-left | bottom-right + /// + public string AnchorPosition + { + get { return Get("pos"); } + set { Set("pos", value); } + } + + public string BackgroundColor + { + get { return Get("bg"); } + set { Set("bg", value); } + } + /// /// Gets or sets the output file format either as a string ("png", "jpg", and "gif"), /// or as a format object instance. @@ -153,13 +170,19 @@ public bool NeedsProcessing(bool ignoreQualityFlag = false) { if (base.Count == 0) return false; - + if (ignoreQualityFlag && base.Count == 1 && base["q"] != null) { // Return false if ignoreQualityFlag is true and "q" is the only flag. return false; } + if (base.Count == 1 && Quality == 100) + { + // If "q" is the only flag and its value is 100, we don't need to process + return false; + } + return true; } diff --git a/src/Libraries/SmartStore.Services/Media/ProcessImageResult.cs b/src/Libraries/SmartStore.Services/Media/ProcessImageResult.cs index e520fcfefd..9ff224d143 100644 --- a/src/Libraries/SmartStore.Services/Media/ProcessImageResult.cs +++ b/src/Libraries/SmartStore.Services/Media/ProcessImageResult.cs @@ -11,12 +11,19 @@ public class ProcessImageResult : DisposableObject public int? SourceWidth { get; set; } public int? SourceHeight { get; set; } + public string SourceMimeType { get; set; } public string FileExtension { get; set; } public string MimeType { get; set; } public int Width { get; set; } public int Height { get; set; } + /// + /// Is true if any effect has been applied that changed the image visually (like background color, contrast, sharpness etc.). + /// Resize and compression quality does NOT count as FX. + /// + public bool HasAppliedVisualEffects { get; set; } + public long ProcessTimeMs { get; set; } protected override void OnDispose(bool disposing) diff --git a/src/Libraries/SmartStore.Services/Media/TransientMediaClearTask.cs b/src/Libraries/SmartStore.Services/Media/TransientMediaClearTask.cs index b67c04fbe5..4810d8f0bc 100644 --- a/src/Libraries/SmartStore.Services/Media/TransientMediaClearTask.cs +++ b/src/Libraries/SmartStore.Services/Media/TransientMediaClearTask.cs @@ -1,6 +1,7 @@ using System; +using System.Data.Entity; using System.Linq; -using System.Linq.Expressions; +using System.Threading.Tasks; using SmartStore.Core.Data; using SmartStore.Core.Domain.Media; using SmartStore.Services.Tasks; @@ -9,61 +10,71 @@ namespace SmartStore.Services.Media { /// /// Represents a task for deleting transient media from the database - /// (pictures and downloads which have been uploaded but never assigned to an entity) + /// (pictures and downloads which have been uploaded but never assigned to an entity). /// - public partial class TransientMediaClearTask : ITask + public partial class TransientMediaClearTask : AsyncTask { private readonly IPictureService _pictureService; + private readonly IDownloadService _downloadService; private readonly IRepository _pictureRepository; private readonly IRepository _downloadRepository; public TransientMediaClearTask( IPictureService pictureService, - IRepository pictureRepository, + IDownloadService downloadService, + IRepository pictureRepository, IRepository downloadRepository) { - this._pictureService = pictureService; - this._pictureRepository = pictureRepository; - this._downloadRepository = downloadRepository; + _pictureService = pictureService; + _downloadService = downloadService; + _pictureRepository = pictureRepository; + _downloadRepository = downloadRepository; } - public void Execute(TaskExecutionContext ctx) + public override async Task ExecuteAsync(TaskExecutionContext ctx) { - // delete all media records which are in transient state since at least 3 hours + // Delete all media records which are in transient state since at least 3 hours. var olderThan = DateTime.UtcNow.AddHours(-3); - - // delete Downloads - _downloadRepository.DeleteAll(x => x.IsTransient && x.UpdatedOnUtc < olderThan); - - // delete Pictures - var autoCommit = _pictureRepository.AutoCommitEnabled; - _pictureRepository.AutoCommitEnabled = false; + var pictureAutoCommit = _pictureRepository.AutoCommitEnabled; + var downloadAutoCommit = _downloadRepository.AutoCommitEnabled; + + _pictureRepository.AutoCommitEnabled = false; + _downloadRepository.AutoCommitEnabled = false; try { using (var scope = new DbContextScope(autoDetectChanges: false, validateOnSave: false, hooksEnabled: false)) { - var pictures = _pictureRepository.Table.Where(x => x.IsTransient && x.UpdatedOnUtc < olderThan).ToList(); + var pictures = await _pictureRepository.Table.Where(x => x.IsTransient && x.UpdatedOnUtc < olderThan).ToListAsync(); foreach (var picture in pictures) { _pictureService.DeletePicture(picture); } - _pictureRepository.Context.SaveChanges(); + await _pictureRepository.Context.SaveChangesAsync(); - if (DataSettings.Current.IsSqlServer) - { - try - { - _pictureRepository.Context.ExecuteSqlCommand("DBCC SHRINKDATABASE(0)", true); - } - catch { } - } - } - } - finally + var downloads = await _downloadRepository.Table.Where(x => x.IsTransient && x.UpdatedOnUtc < olderThan).ToListAsync(); + foreach (var download in downloads) + { + _downloadService.DeleteDownload(download); + } + + await _downloadRepository.Context.SaveChangesAsync(); + + if (DataSettings.Current.IsSqlServer && (pictures.Any() || downloads.Any())) + { + try + { + _pictureRepository.Context.ExecuteSqlCommand("DBCC SHRINKDATABASE(0)", true); + } + catch { } + } + } + } + finally { - _pictureRepository.AutoCommitEnabled = autoCommit; + _pictureRepository.AutoCommitEnabled = pictureAutoCommit; + _downloadRepository.AutoCommitEnabled = downloadAutoCommit; } } } diff --git a/src/Libraries/SmartStore.Services/Messages/CreateAttachmentsConsumer.cs b/src/Libraries/SmartStore.Services/Messages/CreateAttachmentsConsumer.cs index ac9ffb04ab..b1fffacea2 100644 --- a/src/Libraries/SmartStore.Services/Messages/CreateAttachmentsConsumer.cs +++ b/src/Libraries/SmartStore.Services/Messages/CreateAttachmentsConsumer.cs @@ -13,7 +13,7 @@ namespace SmartStore.Services.Messages { - public class CreateAttachmentsConsumer : IConsumer + public class CreateAttachmentsConsumer : IConsumer { private readonly PdfSettings _pdfSettings; private readonly HttpRequestBase _httpRequest; diff --git a/src/Libraries/SmartStore.Services/Messages/IQueuedEmailService.cs b/src/Libraries/SmartStore.Services/Messages/IQueuedEmailService.cs index 9bbdc2d02d..82a6de9bac 100644 --- a/src/Libraries/SmartStore.Services/Messages/IQueuedEmailService.cs +++ b/src/Libraries/SmartStore.Services/Messages/IQueuedEmailService.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using System.Threading.Tasks; using SmartStore.Core; using SmartStore.Core.Domain.Messages; @@ -52,11 +53,11 @@ public partial interface IQueuedEmailService IPagedList SearchEmails(SearchEmailsQuery query); /// - /// Sends a queued email + /// Sends a queued email asynchronously. /// /// Queued email /// Whether the operation succeeded - bool SendEmail(QueuedEmail queuedEmail); + Task SendEmailAsync(QueuedEmail queuedEmail); /// /// Gets a queued email attachment by identifier diff --git a/src/Libraries/SmartStore.Services/Messages/Importer/NewsLetterSubscriptionImporter.cs b/src/Libraries/SmartStore.Services/Messages/Importer/NewsLetterSubscriptionImporter.cs index 3b81f017f6..93ba2c8044 100644 --- a/src/Libraries/SmartStore.Services/Messages/Importer/NewsLetterSubscriptionImporter.cs +++ b/src/Libraries/SmartStore.Services/Messages/Importer/NewsLetterSubscriptionImporter.cs @@ -4,19 +4,16 @@ using SmartStore.Core.Domain.DataExchange; using SmartStore.Core.Domain.Messages; using SmartStore.Services.DataExchange.Import; +using SmartStore.Services.DataExchange.Import.Events; namespace SmartStore.Services.Messages.Importer { public class NewsLetterSubscriptionImporter : IEntityImporter { - private readonly ICommonServices _services; private readonly IRepository _subscriptionRepository; - public NewsLetterSubscriptionImporter( - ICommonServices services, - IRepository subscriptionRepository) + public NewsLetterSubscriptionImporter(IRepository subscriptionRepository) { - _services = services; _subscriptionRepository = subscriptionRepository; } @@ -39,9 +36,9 @@ public static string[] DefaultKeyFields public void Execute(ImportExecuteContext context) { var utcNow = DateTime.UtcNow; - var currentStoreId = _services.StoreContext.CurrentStore.Id; + var currentStoreId = context.Services.StoreContext.CurrentStore.Id; - using (var scope = new DbContextScope(ctx: _services.DbContext, hooksEnabled: false, autoDetectChanges: false, proxyCreation: false, validateOnSave: false, autoCommit: false)) + using (var scope = new DbContextScope(ctx: context.Services.DbContext, hooksEnabled: false, autoDetectChanges: false, proxyCreation: false, validateOnSave: false, autoCommit: false)) { var segmenter = context.DataSegmenter; @@ -147,7 +144,9 @@ public void Execute(ImportExecuteContext context) } // for _subscriptionRepository.Context.SaveChanges(); - } // while + + context.Services.EventPublisher.Publish(new ImportBatchExecutedEvent(context, batch)); + } // while } } } diff --git a/src/Libraries/SmartStore.Services/Messages/MessageFactory.cs b/src/Libraries/SmartStore.Services/Messages/MessageFactory.cs index 61fb676fbc..a70a2b480e 100644 --- a/src/Libraries/SmartStore.Services/Messages/MessageFactory.cs +++ b/src/Libraries/SmartStore.Services/Messages/MessageFactory.cs @@ -22,6 +22,7 @@ using SmartStore.Services.Localization; using SmartStore.Services.Media; using SmartStore.Templating; +using SmartStore.Utilities; namespace SmartStore.Services.Messages { @@ -626,7 +627,7 @@ private object GetModelFromExpression(string expression, IDictionary 0) { // Fetch a random one - var skip = new Random().Next(count); + var skip = CommonHelper.GenerateRandomInteger(0, count); result = query.OrderBy(x => x.Id).Skip(() => skip).FirstOrDefault(); } else diff --git a/src/Libraries/SmartStore.Services/Messages/MessageModelProvider.OrderParts.cs b/src/Libraries/SmartStore.Services/Messages/MessageModelProvider.OrderParts.cs index b328ee6563..b88fda1d9a 100644 --- a/src/Libraries/SmartStore.Services/Messages/MessageModelProvider.OrderParts.cs +++ b/src/Libraries/SmartStore.Services/Messages/MessageModelProvider.OrderParts.cs @@ -451,8 +451,8 @@ protected virtual object CreateModelPart(ReturnRequest part, MessageContext mess { "Reason", part.ReasonForReturn.NullEmpty() }, { "Status", part.ReturnRequestStatus.GetLocalizedEnum(_services.Localization, messageContext.Language.Id) }, { "RequestedAction", part.RequestedAction.NullEmpty() }, - { "CustomerComments", HtmlUtils.FormatText(part.CustomerComments, true, false, false, false, false, false).NullEmpty() }, - { "StaffNotes", HtmlUtils.FormatText(part.StaffNotes, true, false, false, false, false, false).NullEmpty() }, + { "CustomerComments", HtmlUtils.StripTags(part.CustomerComments).NullEmpty() }, + { "StaffNotes", HtmlUtils.StripTags(part.StaffNotes).NullEmpty() }, { "Quantity", part.Quantity }, { "RefundToWallet", part.RefundToWallet }, { "Url", BuildActionUrl("Edit", "ReturnRequest", new { id = part.Id, area = "admin" }, messageContext) } diff --git a/src/Libraries/SmartStore.Services/Messages/MessageModelProvider.cs b/src/Libraries/SmartStore.Services/Messages/MessageModelProvider.cs index b28a37af0b..8cc14ed9d5 100644 --- a/src/Libraries/SmartStore.Services/Messages/MessageModelProvider.cs +++ b/src/Libraries/SmartStore.Services/Messages/MessageModelProvider.cs @@ -469,7 +469,7 @@ protected virtual object CreateModelPart(Store part, MessageContext messageConte var host = messageContext.BaseUri.ToString(); var logoInfo = _services.PictureService.GetPictureInfo(messageContext.Store.LogoPictureId); - // Issue: https://github.com/smartstoreag/SmartStoreNET/issues/1321 + // Issue: https://github.com/smartstore/SmartStoreNET/issues/1321 var m = new Dictionary { @@ -668,7 +668,7 @@ protected virtual object CreateModelPart(GiftCard part, MessageContext messageCo var message = (string)null; if (part.Message.HasValue()) { - message = HtmlUtils.FormatText(part.Message, true, false, false, false, false, false); + message = HtmlUtils.StripTags(part.Message); } m["Message"] = message; @@ -746,7 +746,7 @@ protected virtual object CreateModelPart(ProductReview part, MessageContext mess var m = new Dictionary { { "Title", part.Title.NullEmpty() }, - { "Text", HtmlUtils.FormatText(part.ReviewText, true, false, false, false, false, false).NullEmpty() }, + { "Text", HtmlUtils.StripTags(part.ReviewText).NullEmpty() }, { "Rating", part.Rating } }; @@ -840,7 +840,7 @@ protected virtual object CreateModelPart(NewsComment part, MessageContext messag { { "NewsTitle", part.NewsItem.Title.NullEmpty() }, { "Title", part.CommentTitle.NullEmpty() }, - { "Text", HtmlUtils.FormatText(part.CommentText, true, false, false, false, false, false).NullEmpty() }, + { "Text", HtmlUtils.StripTags(part.CommentText).NullEmpty() }, { "NewsUrl", BuildRouteUrl("NewsItem", new { SeName = part.NewsItem.GetSeName(messageContext.Language.Id) }, messageContext) } }; diff --git a/src/Libraries/SmartStore.Services/Messages/QueuedEmailService.cs b/src/Libraries/SmartStore.Services/Messages/QueuedEmailService.cs index 8b7ebd258c..00ee3e397e 100644 --- a/src/Libraries/SmartStore.Services/Messages/QueuedEmailService.cs +++ b/src/Libraries/SmartStore.Services/Messages/QueuedEmailService.cs @@ -3,6 +3,7 @@ using System.IO; using System.Linq; using System.Net.Mail; +using System.Threading.Tasks; using System.Web; using SmartStore.Core; using SmartStore.Core.Data; @@ -184,7 +185,7 @@ public virtual IPagedList SearchEmails(SearchEmailsQuery query) return queuedEmails; } - public virtual bool SendEmail(QueuedEmail queuedEmail) + public virtual async Task SendEmailAsync(QueuedEmail queuedEmail) { var result = false; @@ -193,7 +194,7 @@ public virtual bool SendEmail(QueuedEmail queuedEmail) var smtpContext = new SmtpContext(queuedEmail.EmailAccount); var msg = ConvertEmail(queuedEmail); - _emailSender.SendEmail(smtpContext, msg); + await _emailSender.SendEmailAsync(smtpContext, msg); queuedEmail.SentOnUtc = DateTime.UtcNow; result = true; diff --git a/src/Libraries/SmartStore.Services/Messages/QueuedMessagesClearTask.cs b/src/Libraries/SmartStore.Services/Messages/QueuedMessagesClearTask.cs index b31f3b4ce3..1af83916e8 100644 --- a/src/Libraries/SmartStore.Services/Messages/QueuedMessagesClearTask.cs +++ b/src/Libraries/SmartStore.Services/Messages/QueuedMessagesClearTask.cs @@ -1,29 +1,32 @@ using System; -using System.Linq; -using System.Linq.Expressions; +using System.Threading.Tasks; using SmartStore.Core.Data; +using SmartStore.Core.Domain.Common; using SmartStore.Core.Domain.Messages; -using SmartStore.Data; using SmartStore.Services.Tasks; namespace SmartStore.Services.Messages { /// - /// Represents a task for deleting sent emails from the message queue + /// Represents a task for deleting sent emails from the message queue. /// - public partial class QueuedMessagesClearTask : ITask + public partial class QueuedMessagesClearTask : AsyncTask { private readonly IRepository _qeRepository; + private readonly CommonSettings _commonSettings; - public QueuedMessagesClearTask(IRepository qeRepository) + public QueuedMessagesClearTask( + IRepository qeRepository, + CommonSettings commonSettings) { - this._qeRepository = qeRepository; + _qeRepository = qeRepository; + _commonSettings = commonSettings; } - public void Execute(TaskExecutionContext ctx) + public override async Task ExecuteAsync(TaskExecutionContext ctx) { - var olderThan = DateTime.UtcNow.AddDays(-14); - _qeRepository.DeleteAll(x => x.SentOnUtc.HasValue && x.CreatedOnUtc < olderThan); + var olderThan = DateTime.UtcNow.AddDays(-Math.Abs(_commonSettings.MaxQueuedMessagesAgeInDays)); + await _qeRepository.DeleteAllAsync(x => x.SentOnUtc.HasValue && x.CreatedOnUtc < olderThan); _qeRepository.Context.ShrinkDatabase(); } diff --git a/src/Libraries/SmartStore.Services/Messages/QueuedMessagesSendTask.cs b/src/Libraries/SmartStore.Services/Messages/QueuedMessagesSendTask.cs index 0c3e7080a6..abcd1c2315 100644 --- a/src/Libraries/SmartStore.Services/Messages/QueuedMessagesSendTask.cs +++ b/src/Libraries/SmartStore.Services/Messages/QueuedMessagesSendTask.cs @@ -1,11 +1,13 @@ -using SmartStore.Services.Tasks; +using System.Threading.Tasks; +using System.Data.Entity; +using SmartStore.Services.Tasks; namespace SmartStore.Services.Messages { /// /// Represents a task for sending queued message /// - public partial class QueuedMessagesSendTask : ITask + public partial class QueuedMessagesSendTask : AsyncTask { private readonly IQueuedEmailService _queuedEmailService; @@ -14,7 +16,7 @@ public QueuedMessagesSendTask(IQueuedEmailService queuedEmailService) _queuedEmailService = queuedEmailService; } - public void Execute(TaskExecutionContext ctx) + public override async Task ExecuteAsync(TaskExecutionContext ctx) { const int pageSize = 1000; const int maxTries = 3; @@ -30,11 +32,12 @@ public void Execute(TaskExecutionContext ctx) UnsentOnly = true, SendManually = false }; - var queuedEmails = _queuedEmailService.SearchEmails(q); + + var queuedEmails = await _queuedEmailService.SearchEmails(q).LoadAsync(); foreach (var queuedEmail in queuedEmails) { - _queuedEmailService.SendEmail(queuedEmail); + await _queuedEmailService.SendEmailAsync(queuedEmail); } if (!queuedEmails.HasNextPage) diff --git a/src/Libraries/SmartStore.Services/Orders/CheckoutAttributeFormatter.cs b/src/Libraries/SmartStore.Services/Orders/CheckoutAttributeFormatter.cs index 45da5bef58..627a5b692d 100644 --- a/src/Libraries/SmartStore.Services/Orders/CheckoutAttributeFormatter.cs +++ b/src/Libraries/SmartStore.Services/Orders/CheckoutAttributeFormatter.cs @@ -102,7 +102,7 @@ public string FormatAttributes(string attributes, attributeName = HttpUtility.HtmlEncode(attributeName); caAttribute = string.Format("{0}: {1}", attributeName, - HtmlUtils.FormatText(valueStr.EmptyNull().Replace(":", ""), false, true, false, false, false, false)); + HtmlUtils.ConvertPlainTextToHtml(valueStr.EmptyNull().Replace(":", "").HtmlEncode())); //we never encode multiline textbox input } diff --git a/src/Libraries/SmartStore.Services/Orders/IOrderProcessingService.cs b/src/Libraries/SmartStore.Services/Orders/IOrderProcessingService.cs index 9c3f825b03..5ac6d24daf 100644 --- a/src/Libraries/SmartStore.Services/Orders/IOrderProcessingService.cs +++ b/src/Libraries/SmartStore.Services/Orders/IOrderProcessingService.cs @@ -2,6 +2,7 @@ using SmartStore.Core.Domain.Customers; using SmartStore.Core.Domain.Orders; using SmartStore.Core.Domain.Shipping; +using SmartStore.Core.Domain.Stores; using SmartStore.Services.Payments; namespace SmartStore.Services.Orders @@ -16,7 +17,35 @@ public partial interface IOrderProcessingService /// /// Order to be validated void CheckOrderStatus(Order order); - + + /// + /// Checks whether orders are placed at too short intervals. + /// + /// Customer. + /// Store + /// true valid interval, false invalid interval. + bool IsMinimumOrderPlacementIntervalValid(Customer customer, Store store); + + /// + /// Checks whether an order can be placed. + /// + /// Process payment request. + /// List of warning messages. Empty list if an order can be placed. + IList GetOrderPlacementWarnings(ProcessPaymentRequest processPaymentRequest); + + /// + /// Checks whether an order can be placed. + /// + /// Process payment request. + /// Initial order if any (recurring payment). + /// Customer placing the order. + /// List of warning messages. Empty list if an order can be placed. + IList GetOrderPlacementWarnings( + ProcessPaymentRequest processPaymentRequest, + Order initialOrder, + Customer customer, + out IList cart); + /// /// Places an order /// diff --git a/src/Libraries/SmartStore.Services/Orders/IOrderService.cs b/src/Libraries/SmartStore.Services/Orders/IOrderService.cs index 9fca02b17f..e0d8dddfc4 100644 --- a/src/Libraries/SmartStore.Services/Orders/IOrderService.cs +++ b/src/Libraries/SmartStore.Services/Orders/IOrderService.cs @@ -83,6 +83,7 @@ public partial interface IOrderService /// Billing email. Leave empty to load all records. /// Filter by order number /// Billing name. Leave empty to load all records. + /// Filter by payment method system names. /// Order query IQueryable GetOrders( int storeId, @@ -94,7 +95,8 @@ IQueryable GetOrders( int[] shippingStatusIds, string billingEmail, string orderNumber, - string billingName = null); + string billingName = null, + string[] paymentMethods = null); /// /// Search orders @@ -112,10 +114,12 @@ IQueryable GetOrders( /// Page index /// Page size /// Billing name. Leave empty to load all records. + /// Filter by payment method system names. /// Order collection IPagedList SearchOrders(int storeId, int customerId, DateTime? startTime, DateTime? endTime, int[] orderStatusIds, int[] paymentStatusIds, int[] shippingStatusIds, - string billingEmail, string orderGuid, string orderNumber, int pageIndex, int pageSize, string billingName = null); + string billingEmail, string orderGuid, string orderNumber, int pageIndex, int pageSize, string billingName = null, + string[] paymentMethods = null); /// /// Gets all orders by affiliate identifier @@ -126,12 +130,6 @@ IPagedList SearchOrders(int storeId, int customerId, DateTime? startTime, /// Orders IPagedList GetAllOrders(int affiliateId, int pageIndex, int pageSize); - /// - /// Load all orders - /// - /// Order collection - IList LoadAllOrders(); - /// /// Gets all orders by affiliate identifier /// diff --git a/src/Libraries/SmartStore.Services/Orders/OrderExtensions.cs b/src/Libraries/SmartStore.Services/Orders/OrderExtensions.cs index e896a7c12e..5a5803d728 100644 --- a/src/Libraries/SmartStore.Services/Orders/OrderExtensions.cs +++ b/src/Libraries/SmartStore.Services/Orders/OrderExtensions.cs @@ -40,7 +40,7 @@ public static string FormatOrderNoteText(this OrderNote orderNote) if (orderNote.Note.IsEmpty()) return string.Empty; - return HtmlUtils.FormatText(orderNote.Note, false, true, true, false, false, false); + return HtmlUtils.ConvertPlainTextToHtml(orderNote.Note); } public static List GetBundleData(this OrderItem orderItem) diff --git a/src/Libraries/SmartStore.Services/Orders/OrderProcessingService.cs b/src/Libraries/SmartStore.Services/Orders/OrderProcessingService.cs index 492618410a..f09a198d95 100644 --- a/src/Libraries/SmartStore.Services/Orders/OrderProcessingService.cs +++ b/src/Libraries/SmartStore.Services/Orders/OrderProcessingService.cs @@ -12,6 +12,7 @@ using SmartStore.Core.Domain.Orders; using SmartStore.Core.Domain.Payments; using SmartStore.Core.Domain.Shipping; +using SmartStore.Core.Domain.Stores; using SmartStore.Core.Domain.Tax; using SmartStore.Core.Events; using SmartStore.Core.Localization; @@ -426,45 +427,321 @@ public void CheckOrderStatus(Order order) #region Methods - /// - /// Places an order - /// - /// Process payment request - /// Place order result + public virtual bool IsMinimumOrderPlacementIntervalValid(Customer customer, Store store) + { + Guard.NotNull(customer, nameof(customer)); + Guard.NotNull(store, nameof(store)); + + // Prevent 2 orders being placed within an X seconds time frame. + if (_orderSettings.MinimumOrderPlacementInterval == 0) + { + return true; + } + + var lastOrder = _orderService.SearchOrders(store.Id, customer.Id, null, null, null, null, null, null, null, null, 0, 1).FirstOrDefault(); + if (lastOrder == null) + { + return true; + } + + var interval = DateTime.UtcNow - lastOrder.CreatedOnUtc; + return interval.TotalSeconds > _orderSettings.MinimumOrderPlacementInterval; + } + + public virtual IList GetOrderPlacementWarnings(ProcessPaymentRequest processPaymentRequest) + { + Guard.NotNull(processPaymentRequest, nameof(processPaymentRequest)); + + var initialOrder = _orderService.GetOrderById(processPaymentRequest.InitialOrderId); + var customer = _customerService.GetCustomerById(processPaymentRequest.CustomerId); + + return GetOrderPlacementWarnings(processPaymentRequest, initialOrder, customer, out var cart); + } + + public virtual IList GetOrderPlacementWarnings( + ProcessPaymentRequest processPaymentRequest, + Order initialOrder, + Customer customer, + out IList cart) + { + Guard.NotNull(processPaymentRequest, nameof(processPaymentRequest)); + + cart = null; + + var warnings = new List(); + var skipPaymentWorkflow = false; + var isRecurringShoppingCart = false; + var paymentMethodSystemName = processPaymentRequest.PaymentMethodSystemName; + + if (customer == null) + { + warnings.Add(T("Customer.DoesNotExist")); + return warnings; + } + + // Check whether guest checkout is allowed. + if (customer.IsGuest() && !_orderSettings.AnonymousCheckoutAllowed) + { + warnings.Add(T("Checkout.AnonymousNotAllowed")); + return warnings; + } + + if (!processPaymentRequest.IsRecurringPayment) + { + if (processPaymentRequest.ShoppingCartItemIds.Any()) + { + cart = customer.GetCartItems(ShoppingCartType.ShoppingCart, processPaymentRequest.StoreId) + .Where(x => processPaymentRequest.ShoppingCartItemIds.Contains(x.Item.Id)) + .ToList(); + } + else + { + cart = customer.GetCartItems(ShoppingCartType.ShoppingCart, processPaymentRequest.StoreId); + } + + if (!cart.Any()) + { + warnings.Add(T("ShoppingCart.CartIsEmpty")); + return warnings; + } + + // Validate the entire shopping cart. + var cartWarnings = _shoppingCartService.GetShoppingCartWarnings(cart, customer.GetAttribute(SystemCustomerAttributeNames.CheckoutAttributes), true); + if (cartWarnings.Any()) + { + warnings.AddRange(cartWarnings); + return warnings; + } + + // Validate individual cart items. + foreach (var sci in cart) + { + var sciWarnings = _shoppingCartService.GetShoppingCartItemWarnings(customer, sci.Item.ShoppingCartType, + sci.Item.Product, processPaymentRequest.StoreId, sci.Item.AttributesXml, + sci.Item.CustomerEnteredPrice, sci.Item.Quantity, false, childItems: sci.ChildItems); + + if (sciWarnings.Any()) + { + warnings.AddRange(sciWarnings); + return warnings; + } + } + + // Min totals validation. + var minOrderSubtotalAmountOk = ValidateMinOrderSubtotalAmount(cart); + if (!minOrderSubtotalAmountOk) + { + var minOrderSubtotalAmount = _currencyService.ConvertFromPrimaryStoreCurrency(_orderSettings.MinOrderSubtotalAmount, _workContext.WorkingCurrency); + warnings.Add(T("Checkout.MinOrderSubtotalAmount", _priceFormatter.FormatPrice(minOrderSubtotalAmount, true, false))); + return warnings; + } + + var minOrderTotalAmountOk = ValidateMinOrderTotalAmount(cart); + if (!minOrderTotalAmountOk) + { + var minOrderTotalAmount = _currencyService.ConvertFromPrimaryStoreCurrency(_orderSettings.MinOrderTotalAmount, _workContext.WorkingCurrency); + warnings.Add(T("Checkout.MinOrderTotalAmount", _priceFormatter.FormatPrice(minOrderTotalAmount, true, false))); + return warnings; + } + + // Total validations. + var orderShippingTotalInclTax = _orderTotalCalculationService.GetShoppingCartShippingTotal(cart, true, out var orderShippingTaxRate, out var shippingTotalDiscount); + var orderShippingTotalExclTax = _orderTotalCalculationService.GetShoppingCartShippingTotal(cart, false); + + if (!orderShippingTotalInclTax.HasValue || !orderShippingTotalExclTax.HasValue) + { + warnings.Add(T("Order.CannotCalculateShippingTotal")); + return warnings; + } + + var cartTotal = _orderTotalCalculationService.GetShoppingCartTotal(cart); + if (!cartTotal.TotalAmount.HasValue) + { + warnings.Add(T("Order.CannotCalculateOrderTotal")); + return warnings; + } + + skipPaymentWorkflow = cartTotal.TotalAmount.Value == decimal.Zero; + + // Address validations. + if (customer.BillingAddress == null) + { + warnings.Add(T("Order.BillingAddressMissing")); + } + else if (!customer.BillingAddress.Email.IsEmail()) + { + warnings.Add(T("Common.Error.InvalidEmail")); + } + else if (customer.BillingAddress.Country != null && !customer.BillingAddress.Country.AllowsBilling) + { + warnings.Add(T("Order.CountryNotAllowedForBilling", customer.BillingAddress.Country.Name)); + } + + if (cart.RequiresShipping()) + { + if (customer.ShippingAddress == null) + { + warnings.Add(T("Order.ShippingAddressMissing")); + throw new SmartException(); + } + else if (!customer.ShippingAddress.Email.IsEmail()) + { + warnings.Add(T("Common.Error.InvalidEmail")); + } + else if (customer.ShippingAddress.Country != null && !customer.ShippingAddress.Country.AllowsShipping) + { + warnings.Add(T("Order.CountryNotAllowedForShipping", customer.ShippingAddress.Country.Name)); + } + } + } + else + { + // Recurring order. + if (initialOrder == null) + { + warnings.Add(T("Order.InitialOrderDoesNotExistForRecurringPayment")); + return warnings; + } + + var cartTotal = new ShoppingCartTotal(initialOrder.OrderTotal); + skipPaymentWorkflow = cartTotal.TotalAmount.Value == decimal.Zero; + paymentMethodSystemName = initialOrder.PaymentMethodSystemName; + + // Address validations. + if (initialOrder.BillingAddress == null) + { + warnings.Add(T("Order.BillingAddressMissing")); + } + else if (initialOrder.BillingAddress.Country != null && !initialOrder.BillingAddress.Country.AllowsBilling) + { + warnings.Add(T("Order.CountryNotAllowedForBilling", initialOrder.BillingAddress.Country.Name)); + } + + if (initialOrder.ShippingStatus != ShippingStatus.ShippingNotRequired) + { + if (initialOrder.ShippingAddress == null) + { + warnings.Add(T("Order.ShippingAddressMissing")); + } + else if (initialOrder.ShippingAddress.Country != null && !initialOrder.ShippingAddress.Country.AllowsShipping) + { + warnings.Add(T("Order.CountryNotAllowedForShipping", initialOrder.ShippingAddress.Country.Name)); + } + } + } + + // Payment. + if (!warnings.Any() && !skipPaymentWorkflow) + { + var paymentMethod = _paymentService.LoadPaymentMethodBySystemName(paymentMethodSystemName); + if (paymentMethod == null) + { + warnings.Add(T("Payment.CouldNotLoadMethod")); + } + else if (!paymentMethod.IsPaymentMethodActive(_paymentSettings)) + { + warnings.Add(T("Payment.MethodNotAvailable")); + } + } + + // Recurring or standard shopping cart? + if (!warnings.Any() && !processPaymentRequest.IsRecurringPayment) + { + isRecurringShoppingCart = cart.IsRecurring(); + if (isRecurringShoppingCart) + { + var recurringCyclesError = cart.GetRecurringCycleInfo(_localizationService, out var recurringCycleLength, out var recurringCyclePeriod, out var recurringTotalCycles); + if (recurringCyclesError.HasValue()) + { + warnings.Add(recurringCyclesError); + } + } + } + else + { + isRecurringShoppingCart = true; + } + + // Validate recurring payment type. + if (!warnings.Any() && !skipPaymentWorkflow && !processPaymentRequest.IsMultiOrder) + { + RecurringPaymentType? recurringPaymentType = null; + + if (!processPaymentRequest.IsRecurringPayment) + { + if (isRecurringShoppingCart) + { + recurringPaymentType = _paymentService.GetRecurringPaymentType(processPaymentRequest.PaymentMethodSystemName); + } + } + else + { + if (isRecurringShoppingCart) + { + recurringPaymentType = _paymentService.GetRecurringPaymentType(processPaymentRequest.PaymentMethodSystemName); + } + else + { + warnings.Add(T("Order.NoRecurringProducts")); + } + } + + if (recurringPaymentType.HasValue) + { + switch (recurringPaymentType.Value) + { + case RecurringPaymentType.NotSupported: + warnings.Add(T("Payment.RecurringPaymentNotSupported")); + break; + case RecurringPaymentType.Manual: + case RecurringPaymentType.Automatic: + break; + default: + warnings.Add(T("Payment.RecurringPaymentTypeUnknown")); + break; + } + } + } + + return warnings; + } + public virtual PlaceOrderResult PlaceOrder( ProcessPaymentRequest processPaymentRequest, Dictionary extraData) { - // think about moving functionality of processing recurring orders (after the initial order was placed) to ProcessNextRecurringPayment() method - if (processPaymentRequest == null) - throw new ArgumentNullException("processPaymentRequest"); + // Think about moving functionality of processing recurring orders (after the initial order was placed) to ProcessNextRecurringPayment() method. + Guard.NotNull(processPaymentRequest, nameof(processPaymentRequest)); if (processPaymentRequest.OrderGuid == Guid.Empty) + { processPaymentRequest.OrderGuid = Guid.NewGuid(); + } var result = new PlaceOrderResult(); var utcNow = DateTime.UtcNow; try { - #region Order details (customer, totals) - - // Recurring orders. Load initial order var initialOrder = _orderService.GetOrderById(processPaymentRequest.InitialOrderId); - if (processPaymentRequest.IsRecurringPayment) + var customer = _customerService.GetCustomerById(processPaymentRequest.CustomerId); + + var warnings = GetOrderPlacementWarnings(processPaymentRequest, initialOrder, customer, out var cart); + if (warnings.Any()) { - if (initialOrder == null) - throw new ArgumentException(T("Order.InitialOrderDoesNotExistForRecurringPayment")); + result.Errors.AddRange(warnings); + Logger.Warn(string.Join(" ", result.Errors)); + return result; + } + + #region Order details + if (processPaymentRequest.IsRecurringPayment) + { processPaymentRequest.PaymentMethodSystemName = initialOrder.PaymentMethodSystemName; } - // customer - var customer = _customerService.GetCustomerById(processPaymentRequest.CustomerId); - if (customer == null) - throw new ArgumentException(T("Customer.DoesNotExist")); - - // affilites + // Affilites. var affiliateId = 0; var affiliate = _affiliateService.GetAffiliateById(customer.AffiliateId); if (affiliate != null && affiliate.Active && !affiliate.Deleted) @@ -472,9 +749,9 @@ public virtual PlaceOrderResult PlaceOrder( affiliateId = affiliate.Id; } - // customer currency - string customerCurrencyCode = ""; - decimal customerCurrencyRate = decimal.Zero; + // Customer currency. + var customerCurrencyCode = string.Empty; + var customerCurrencyRate = decimal.Zero; if (!processPaymentRequest.IsRecurringPayment) { var currencyTmp = _currencyService.GetCurrencyById(customer.GetAttribute(SystemCustomerAttributeNames.CurrencyId, processPaymentRequest.StoreId)); @@ -482,7 +759,6 @@ public virtual PlaceOrderResult PlaceOrder( customerCurrencyCode = customerCurrency.CurrencyCode; var primaryStoreCurrency = _storeContext.CurrentStore.PrimaryStoreCurrency; - customerCurrencyRate = customerCurrency.Rate / primaryStoreCurrency.Rate; } else @@ -491,7 +767,7 @@ public virtual PlaceOrderResult PlaceOrder( customerCurrencyRate = initialOrder.CurrencyRate; } - // customer language + // Customer language. Language customerLanguage = null; if (!processPaymentRequest.IsRecurringPayment) { @@ -506,66 +782,8 @@ public virtual PlaceOrderResult PlaceOrder( { customerLanguage = _workContext.WorkingLanguage; } - - // check whether customer is guest - if (customer.IsGuest() && !_orderSettings.AnonymousCheckoutAllowed) - throw new SmartException(T("Checkout.AnonymousNotAllowed")); - - var storeId = _storeContext.CurrentStore.Id; - - // load and validate customer shopping cart - IList cart = null; - if (!processPaymentRequest.IsRecurringPayment) - { - //load shopping cart - if (processPaymentRequest.ShoppingCartItemIds.Count > 0) - { - cart = customer.GetCartItems(ShoppingCartType.ShoppingCart, processPaymentRequest.StoreId) - .Where(x => processPaymentRequest.ShoppingCartItemIds.Contains(x.Item.Id)) - .ToList(); - } - else - cart = customer.GetCartItems(ShoppingCartType.ShoppingCart, processPaymentRequest.StoreId); - - if (cart.Count == 0) - throw new SmartException(T("ShoppingCart.CartIsEmpty")); - - // validate the entire shopping cart - var warnings = _shoppingCartService.GetShoppingCartWarnings(cart, customer.GetAttribute(SystemCustomerAttributeNames.CheckoutAttributes), true); - if (warnings.Count > 0) - throw new SmartException(string.Join(" ", warnings)); - - // validate individual cart items - foreach (var sci in cart) - { - var sciWarnings = _shoppingCartService.GetShoppingCartItemWarnings(customer, sci.Item.ShoppingCartType, - sci.Item.Product, processPaymentRequest.StoreId, sci.Item.AttributesXml, - sci.Item.CustomerEnteredPrice, sci.Item.Quantity, false, childItems: sci.ChildItems); - - if (sciWarnings.Count > 0) - throw new SmartException(string.Join(" ", sciWarnings)); - } - } - - // min totals validation - if (!processPaymentRequest.IsRecurringPayment) - { - var minOrderSubtotalAmountOk = ValidateMinOrderSubtotalAmount(cart); - if (!minOrderSubtotalAmountOk) - { - var minOrderSubtotalAmount = _currencyService.ConvertFromPrimaryStoreCurrency(_orderSettings.MinOrderSubtotalAmount, _workContext.WorkingCurrency); - throw new SmartException(T("Checkout.MinOrderSubtotalAmount", _priceFormatter.FormatPrice(minOrderSubtotalAmount, true, false))); - } - - var minOrderTotalAmountOk = ValidateMinOrderTotalAmount(cart); - if (!minOrderTotalAmountOk) - { - var minOrderTotalAmount = _currencyService.ConvertFromPrimaryStoreCurrency(_orderSettings.MinOrderTotalAmount, _workContext.WorkingCurrency); - throw new SmartException(T("Checkout.MinOrderTotalAmount", _priceFormatter.FormatPrice(minOrderTotalAmount, true, false))); - } - } - - // tax display type + + // Tax display type. var customerTaxDisplayType = TaxDisplayType.IncludingTax; if (!processPaymentRequest.IsRecurringPayment) { @@ -576,7 +794,7 @@ public virtual PlaceOrderResult PlaceOrder( customerTaxDisplayType = initialOrder.CustomerTaxDisplayType; } - // checkout attributes + // Checkout attributes. string checkoutAttributeDescription, checkoutAttributesXml; if (!processPaymentRequest.IsRecurringPayment) { @@ -589,38 +807,28 @@ public virtual PlaceOrderResult PlaceOrder( checkoutAttributeDescription = initialOrder.CheckoutAttributeDescription; } - // applied discount (used to store discount usage history) + // Applied discount (used to store discount usage history). var appliedDiscounts = new List(); - - // sub total decimal orderSubTotalInclTax, orderSubTotalExclTax; decimal orderSubTotalDiscountInclTax = 0, orderSubTotalDiscountExclTax = 0; if (!processPaymentRequest.IsRecurringPayment) { - // sub total (incl tax) - decimal orderSubTotalDiscountAmount1 = decimal.Zero; - Discount orderSubTotalAppliedDiscount1 = null; - decimal subTotalWithoutDiscountBase1 = decimal.Zero; - decimal subTotalWithDiscountBase1 = decimal.Zero; - - _orderTotalCalculationService.GetShoppingCartSubTotal(cart, - true, out orderSubTotalDiscountAmount1, out orderSubTotalAppliedDiscount1, out subTotalWithoutDiscountBase1, out subTotalWithDiscountBase1); + // Sub total (incl tax). + _orderTotalCalculationService.GetShoppingCartSubTotal(cart, true, + out var orderSubTotalDiscountAmount1, out var orderSubTotalAppliedDiscount1, out var subTotalWithoutDiscountBase1, out var subTotalWithDiscountBase1); orderSubTotalInclTax = subTotalWithoutDiscountBase1; orderSubTotalDiscountInclTax = orderSubTotalDiscountAmount1; - // discount history + // Discount history. if (orderSubTotalAppliedDiscount1 != null && !appliedDiscounts.Any(x => x.Id == orderSubTotalAppliedDiscount1.Id)) + { appliedDiscounts.Add(orderSubTotalAppliedDiscount1); + } - // sub total (excl tax) - decimal orderSubTotalDiscountAmount2 = decimal.Zero; - Discount orderSubTotalAppliedDiscount2 = null; - decimal subTotalWithoutDiscountBase2 = decimal.Zero; - decimal subTotalWithDiscountBase2 = decimal.Zero; - - _orderTotalCalculationService.GetShoppingCartSubTotal(cart, - false, out orderSubTotalDiscountAmount2, out orderSubTotalAppliedDiscount2, out subTotalWithoutDiscountBase2, out subTotalWithDiscountBase2); + // Sub total (excl tax). + _orderTotalCalculationService.GetShoppingCartSubTotal(cart, false, + out var orderSubTotalDiscountAmount2, out var orderSubTotalAppliedDiscount2, out var subTotalWithoutDiscountBase2, out var subTotalWithDiscountBase2); orderSubTotalExclTax = subTotalWithoutDiscountBase2; orderSubTotalDiscountExclTax = orderSubTotalDiscountAmount2; @@ -632,8 +840,8 @@ public virtual PlaceOrderResult PlaceOrder( } - // shipping info - bool shoppingCartRequiresShipping = false; + // Shipping info. + var shoppingCartRequiresShipping = false; if (!processPaymentRequest.IsRecurringPayment) { shoppingCartRequiresShipping = cart.RequiresShipping(); @@ -662,19 +870,18 @@ public virtual PlaceOrderResult PlaceOrder( } } - // shipping total + // Shipping total. decimal? orderShippingTotalInclTax, orderShippingTotalExclTax = null; decimal orderShippingTaxRate = decimal.Zero; if (!processPaymentRequest.IsRecurringPayment) { - Discount shippingTotalDiscount = null; - orderShippingTotalInclTax = _orderTotalCalculationService.GetShoppingCartShippingTotal(cart, true, out orderShippingTaxRate, out shippingTotalDiscount); + orderShippingTotalInclTax = _orderTotalCalculationService.GetShoppingCartShippingTotal(cart, true, out orderShippingTaxRate, out var shippingTotalDiscount); orderShippingTotalExclTax = _orderTotalCalculationService.GetShoppingCartShippingTotal(cart, false); - if (!orderShippingTotalInclTax.HasValue || !orderShippingTotalExclTax.HasValue) - throw new SmartException(T("Order.CannotCalculateShippingTotal")); if (shippingTotalDiscount != null && !appliedDiscounts.Any(x => x.Id == shippingTotalDiscount.Id)) + { appliedDiscounts.Add(shippingTotalDiscount); + } } else { @@ -683,11 +890,11 @@ public virtual PlaceOrderResult PlaceOrder( orderShippingTaxRate = initialOrder.OrderShippingTaxRate; } - //payment total + // Payment total. decimal paymentAdditionalFeeInclTax, paymentAdditionalFeeExclTax, paymentAdditionalFeeTaxRate; if (!processPaymentRequest.IsRecurringPayment) { - decimal paymentAdditionalFee = _paymentService.GetAdditionalHandlingFee(cart, processPaymentRequest.PaymentMethodSystemName); + var paymentAdditionalFee = _paymentService.GetAdditionalHandlingFee(cart, processPaymentRequest.PaymentMethodSystemName); paymentAdditionalFeeInclTax = _taxService.GetPaymentMethodAdditionalFee(paymentAdditionalFee, true, customer, out paymentAdditionalFeeTaxRate); paymentAdditionalFeeExclTax = _taxService.GetPaymentMethodAdditionalFee(paymentAdditionalFee, false, customer); } @@ -698,16 +905,15 @@ public virtual PlaceOrderResult PlaceOrder( paymentAdditionalFeeTaxRate = initialOrder.PaymentMethodAdditionalFeeTaxRate; } - //tax total - decimal orderTaxTotal = decimal.Zero; + // Tax total. + var orderTaxTotal = decimal.Zero; string vatNumber = "", taxRates = ""; if (!processPaymentRequest.IsRecurringPayment) { - //tax amount - SortedDictionary taxRatesDictionary = null; - orderTaxTotal = _orderTotalCalculationService.GetTaxTotal(cart, out taxRatesDictionary); + // Tax amount. + orderTaxTotal = _orderTotalCalculationService.GetTaxTotal(cart, out var taxRatesDictionary); - //VAT number + // VAT number. var customerVatStatus = (VatNumberStatus)customer.GetAttribute(SystemCustomerAttributeNames.VatNumberStatusId); if (_taxSettings.EuVatEnabled && customerVatStatus == VatNumberStatus.Valid) { @@ -719,22 +925,19 @@ public virtual PlaceOrderResult PlaceOrder( else { orderTaxTotal = initialOrder.OrderTax; - // VAT number vatNumber = initialOrder.VatNumber; } + processPaymentRequest.OrderTax = orderTaxTotal; - // Order total (and applied discounts, gift cards, reward points) + // Order total (and applied discounts, gift cards, reward points). ShoppingCartTotal cartTotal = null; if (!processPaymentRequest.IsRecurringPayment) { cartTotal = _orderTotalCalculationService.GetShoppingCartTotal(cart); - if (!cartTotal.TotalAmount.HasValue) - throw new SmartException(T("Order.CannotCalculateOrderTotal")); - - // Discount history + // Discount history. if (cartTotal.AppliedDiscount != null && !appliedDiscounts.Any(x => x.Id == cartTotal.AppliedDiscount.Id)) { appliedDiscounts.Add(cartTotal.AppliedDiscount); @@ -750,9 +953,9 @@ public virtual PlaceOrderResult PlaceOrder( #endregion - #region Addresses & pre payment workflow + #region Addresses & pre-payment workflow - // give payment processor the opportunity to fullfill billing address + // Give payment processor the opportunity to fullfill billing address. var preProcessPaymentResult = _paymentService.PreProcessPayment(processPaymentRequest); if (!preProcessPaymentResult.Success) @@ -762,95 +965,44 @@ public virtual PlaceOrderResult PlaceOrder( return result; } - Address billingAddress = null; - if (!processPaymentRequest.IsRecurringPayment) - { - if (customer.BillingAddress == null) - throw new SmartException(T("Order.BillingAddressMissing")); - - if (!customer.BillingAddress.Email.IsEmail()) - throw new SmartException(T("Common.Error.InvalidEmail")); - - billingAddress = (Address)customer.BillingAddress.Clone(); - } - else - { - if (initialOrder.BillingAddress == null) - throw new SmartException(T("Order.BillingAddressMissing")); - - billingAddress = (Address)initialOrder.BillingAddress.Clone(); - } - - if (billingAddress.Country != null && !billingAddress.Country.AllowsBilling) - throw new SmartException(T("Order.CountryNotAllowedForBilling", billingAddress.Country.Name)); + var billingAddress = !processPaymentRequest.IsRecurringPayment + ? (Address)customer.BillingAddress.Clone() + : (Address)initialOrder.BillingAddress.Clone(); Address shippingAddress = null; if (shoppingCartRequiresShipping) { - if (!processPaymentRequest.IsRecurringPayment) - { - if (customer.ShippingAddress == null) - throw new SmartException(T("Order.ShippingAddressMissing")); - - if (!customer.ShippingAddress.Email.IsEmail()) - throw new SmartException(T("Common.Error.InvalidEmail")); - - shippingAddress = (Address)customer.ShippingAddress.Clone(); - } - else - { - if (initialOrder.ShippingAddress == null) - throw new SmartException(T("Order.ShippingAddressMissing")); - - shippingAddress = (Address)initialOrder.ShippingAddress.Clone(); - } - - if (shippingAddress.Country != null && !shippingAddress.Country.AllowsShipping) - throw new SmartException(T("Order.CountryNotAllowedForShipping", shippingAddress.Country.Name)); + shippingAddress = !processPaymentRequest.IsRecurringPayment + ? (Address)customer.ShippingAddress.Clone() + : (Address)initialOrder.ShippingAddress.Clone(); } #endregion #region Payment workflow - // skip payment workflow if order total equals zero - var skipPaymentWorkflow = false; - if (cartTotal.TotalAmount.Value == decimal.Zero) - { - skipPaymentWorkflow = true; - } + // Skip payment workflow if order total equals zero. + var skipPaymentWorkflow = cartTotal.TotalAmount.Value == decimal.Zero; - // payment workflow + // Payment workflow. Provider paymentMethod = null; if (!skipPaymentWorkflow) { paymentMethod = _paymentService.LoadPaymentMethodBySystemName(processPaymentRequest.PaymentMethodSystemName); - if (paymentMethod == null) - throw new SmartException(T("Payment.CouldNotLoadMethod")); - - // ensure that payment method is active - if (!paymentMethod.IsPaymentMethodActive(_paymentSettings)) - throw new SmartException(T("Payment.MethodNotAvailable")); } else { processPaymentRequest.PaymentMethodSystemName = ""; } - // recurring or standard shopping cart? + // Recurring or standard shopping cart? var isRecurringShoppingCart = false; if (!processPaymentRequest.IsRecurringPayment) { isRecurringShoppingCart = cart.IsRecurring(); if (isRecurringShoppingCart) { - var recurringCycleLength = 0; - var recurringTotalCycles = 0; - RecurringProductCyclePeriod recurringCyclePeriod; - string recurringCyclesError = cart.GetRecurringCycleInfo(_localizationService, out recurringCycleLength, out recurringCyclePeriod, out recurringTotalCycles); - - if (!string.IsNullOrEmpty(recurringCyclesError)) - throw new SmartException(recurringCyclesError); + var unused = cart.GetRecurringCycleInfo(_localizationService, out var recurringCycleLength, out var recurringCyclePeriod, out var recurringTotalCycles); processPaymentRequest.RecurringCycleLength = recurringCycleLength; processPaymentRequest.RecurringCyclePeriod = recurringCyclePeriod; @@ -862,7 +1014,7 @@ public virtual PlaceOrderResult PlaceOrder( isRecurringShoppingCart = true; } - // process payment + // Process payment. ProcessPaymentResult processPaymentResult = null; if (!skipPaymentWorkflow && !processPaymentRequest.IsMultiOrder) { @@ -870,7 +1022,7 @@ public virtual PlaceOrderResult PlaceOrder( { if (isRecurringShoppingCart) { - // recurring cart + // Recurring cart. var recurringPaymentType = _paymentService.GetRecurringPaymentType(processPaymentRequest.PaymentMethodSystemName); switch (recurringPaymentType) { @@ -886,7 +1038,7 @@ public virtual PlaceOrderResult PlaceOrder( } else { - // standard cart + // Standard cart. processPaymentResult = _paymentService.ProcessPayment(processPaymentRequest); } } @@ -894,11 +1046,11 @@ public virtual PlaceOrderResult PlaceOrder( { if (isRecurringShoppingCart) { - // Old credit card info + // Old credit card info. processPaymentRequest.CreditCardType = initialOrder.AllowStoringCreditCardNumber ? _encryptionService.DecryptText(initialOrder.CardType) : ""; processPaymentRequest.CreditCardName = initialOrder.AllowStoringCreditCardNumber ? _encryptionService.DecryptText(initialOrder.CardName) : ""; processPaymentRequest.CreditCardNumber = initialOrder.AllowStoringCreditCardNumber ? _encryptionService.DecryptText(initialOrder.CardNumber) : ""; - // MaskedCreditCardNumber + // MaskedCreditCardNumber. processPaymentRequest.CreditCardCvv2 = initialOrder.AllowStoringCreditCardNumber ? _encryptionService.DecryptText(initialOrder.CardCvv2) : ""; try @@ -917,7 +1069,7 @@ public virtual PlaceOrderResult PlaceOrder( processPaymentResult = _paymentService.ProcessRecurringPayment(processPaymentRequest); break; case RecurringPaymentType.Automatic: - //payment is processed on payment gateway site + // Payment is processed on payment gateway site. processPaymentResult = new ProcessPaymentResult(); break; default: @@ -932,20 +1084,19 @@ public virtual PlaceOrderResult PlaceOrder( } else { - // payment is not required - if (processPaymentResult == null) - { - processPaymentResult = new ProcessPaymentResult(); - } - processPaymentResult.NewPaymentStatus = PaymentStatus.Paid; + // Payment is not required. + processPaymentResult = new ProcessPaymentResult + { + NewPaymentStatus = PaymentStatus.Paid + }; } #endregion if (processPaymentResult.Success) { - //save order in data storage - //uncomment this line to support transactions + // Save order. + // Uncomment this line to support transactions. //using (var scope = new System.Transactions.TransactionScope()) { #region Save order details @@ -1112,7 +1263,7 @@ public virtual PlaceOrderResult PlaceOrder( order.OrderItems.Add(orderItem); _orderService.UpdateOrder(order); - // Gift cards + // Gift cards. if (sc.Item.Product.IsGiftCard) { _productAttributeParser.GetGiftCardAttribute( @@ -1147,7 +1298,7 @@ public virtual PlaceOrderResult PlaceOrder( _productService.AdjustInventory(sc, true); } - // Clear shopping cart + // Clear shopping cart. if (!processPaymentRequest.IsMultiOrder) { cart.ToList().ForEach(sci => _shoppingCartService.DeleteShoppingCartItem(sci.Item, false)); @@ -1155,11 +1306,11 @@ public virtual PlaceOrderResult PlaceOrder( } else { - // Recurring payment + // Recurring payment. var initialOrderItems = initialOrder.OrderItems; foreach (var orderItem in initialOrderItems) { - // Save item + // Save item. var newOrderItem = new OrderItem { OrderItemGuid = Guid.NewGuid(), @@ -1187,7 +1338,7 @@ public virtual PlaceOrderResult PlaceOrder( order.OrderItems.Add(newOrderItem); _orderService.UpdateOrder(order); - // Gift cards + // Gift cards. if (orderItem.Product.IsGiftCard) { _productAttributeParser.GetGiftCardAttribute( @@ -1223,7 +1374,7 @@ public virtual PlaceOrderResult PlaceOrder( } } - // Discount usage history + // Discount usage history. if (!processPaymentRequest.IsRecurringPayment) { foreach (var discount in appliedDiscounts) @@ -1238,7 +1389,7 @@ public virtual PlaceOrderResult PlaceOrder( } } - // Gift card usage history + // Gift card usage history. if (!processPaymentRequest.IsRecurringPayment && cartTotal.AppliedGiftCards != null) { foreach (var agc in cartTotal.AppliedGiftCards) @@ -1256,7 +1407,7 @@ public virtual PlaceOrderResult PlaceOrder( } } - // Reward points history + // Reward points history. if (cartTotal.RedeemedRewardPointsAmount > decimal.Zero) { customer.AddRewardPointsHistoryEntry(-cartTotal.RedeemedRewardPoints, @@ -1267,10 +1418,10 @@ public virtual PlaceOrderResult PlaceOrder( _customerService.UpdateCustomer(customer); } - // Recurring orders + // Recurring orders. if (!processPaymentRequest.IsRecurringPayment && isRecurringShoppingCart) { - // Create recurring payment (the first payment) + // Create recurring payment (the first payment). var rp = new RecurringPayment { CycleLength = processPaymentRequest.RecurringCycleLength, @@ -1287,26 +1438,22 @@ public virtual PlaceOrderResult PlaceOrder( switch (recurringPaymentType) { case RecurringPaymentType.NotSupported: - { - //not supported - } break; case RecurringPaymentType.Manual: { - //first payment - var rph = new RecurringPaymentHistory() + // First payment. + rp.RecurringPaymentHistory.Add(new RecurringPaymentHistory { RecurringPayment = rp, - CreatedOnUtc = utcNow, - OrderId = order.Id, - }; - rp.RecurringPaymentHistory.Add(rph); + CreatedOnUtc = utcNow, + OrderId = order.Id + }); _orderService.UpdateRecurringPayment(rp); } break; case RecurringPaymentType.Automatic: { - //will be created later (process is automated) + // Will be created later (process is automated). } break; default: @@ -1318,10 +1465,10 @@ public virtual PlaceOrderResult PlaceOrder( #region Notifications, notes and attributes - // notes, messages + // Notes, messages. _orderService.AddOrderNote(order, T("Admin.OrderNotice.OrderPlaced")); - // send email notifications + // Send email notifications. var msg = _messageFactory.SendOrderPlacedStoreOwnerNotification(order, _localizationSettings.DefaultAdminLanguageId); if (msg?.Email?.Id != null) { @@ -1334,25 +1481,25 @@ public virtual PlaceOrderResult PlaceOrder( _orderService.AddOrderNote(order, T("Admin.OrderNotice.CustomerEmailQueued", msg.Email.Id)); } - // check order status + // Check order status. CheckOrderStatus(order); - //reset checkout data + // Reset checkout data. if (!processPaymentRequest.IsRecurringPayment && !processPaymentRequest.IsMultiOrder) { _customerService.ResetCheckoutData(customer, processPaymentRequest.StoreId, true, true, true, clearCreditBalance: true); } - // check for generic attributes to be inserted automatically + // Check for generic attributes to be inserted automatically. foreach (var customProperty in processPaymentRequest.CustomProperties.Where(x => x.Key.HasValue() && x.Value.AutoCreateGenericAttribute)) { _genericAttributeService.SaveAttribute(order, customProperty.Key, customProperty.Value.Value, order.StoreId); } - //uncomment this line to support transactions + // Uncomment this line to support transactions. //scope.Complete(); - // raise event + // Publish events. _eventPublisher.PublishOrderPlaced(order); if (!processPaymentRequest.IsRecurringPayment) @@ -1360,7 +1507,6 @@ public virtual PlaceOrderResult PlaceOrder( _customerActivityService.InsertActivity("PublicStore.PlaceOrder", T("ActivityLog.PublicStore.PlaceOrder", order.GetOrderNumber())); } - //raise event if (order.PaymentStatus == PaymentStatus.Paid) { _eventPublisher.PublishOrderPaid(order); @@ -1378,10 +1524,7 @@ public virtual PlaceOrderResult PlaceOrder( if (nsResult.HasValue) { - if (nsResult.Value) - _orderService.AddOrderNote(order, T("Admin.OrderNotice.NewsLetterSubscriptionAdded")); - else - _orderService.AddOrderNote(order, T("Admin.OrderNotice.NewsLetterSubscriptionRemoved")); + _orderService.AddOrderNote(order, T(nsResult.Value ? "Admin.OrderNotice.NewsLetterSubscriptionAdded" : "Admin.OrderNotice.NewsLetterSubscriptionRemoved")); } } @@ -1404,7 +1547,7 @@ public virtual PlaceOrderResult PlaceOrder( result.AddError(ex.Message); } - if (result.Errors.Count > 0) + if (result.Errors.Any()) { Logger.Error(string.Join(" ", result.Errors)); } @@ -1418,30 +1561,28 @@ public virtual PlaceOrderResult PlaceOrder( /// The order public virtual void DeleteOrder(Order order) { - if (order == null) - throw new ArgumentNullException("order"); - - //reward points - ReduceRewardPoints(order); + Guard.NotNull(order, nameof(order)); - //cancel recurring payments - var recurringPayments = _orderService.SearchRecurringPayments(0, 0, order.Id, null); - foreach (var rp in recurringPayments) + if (order.OrderStatus != OrderStatus.Cancelled) { - //use errors? - var errors = CancelRecurringPayment(rp); + ReduceRewardPoints(order); + + // Cancel recurring payments. + var recurringPayments = _orderService.SearchRecurringPayments(0, 0, order.Id, null); + foreach (var rp in recurringPayments) + { + CancelRecurringPayment(rp); + } + + // Adjust inventory. + foreach (var orderItem in order.OrderItems) + { + _productService.AdjustInventory(orderItem, false, orderItem.Quantity); + } } - //Adjust inventory - foreach (var orderItem in order.OrderItems) - { - _productService.AdjustInventory(orderItem, false, orderItem.Quantity); - } + _orderService.AddOrderNote(order, T("Admin.OrderNotice.OrderDeleted")); - //add a note - _orderService.AddOrderNote(order, T("Admin.OrderNotice.OrderDeleted")); - - //now delete an order _orderService.DeleteOrder(order); } @@ -1714,26 +1855,26 @@ public virtual bool CanCancelOrder(Order order) /// True to notify customer public virtual void CancelOrder(Order order, bool notifyCustomer) { - if (order == null) - throw new ArgumentNullException("order"); + Guard.NotNull(order, nameof(order)); if (!CanCancelOrder(order)) + { throw new SmartException(T("Order.CannotCancel")); + } - //Cancel order + // Cancel order. SetOrderStatus(order, OrderStatus.Cancelled, notifyCustomer); _orderService.AddOrderNote(order, T("Admin.OrderNotice.OrderCancelled")); - //cancel recurring payments + // Cancel recurring payments. var recurringPayments = _orderService.SearchRecurringPayments(0, 0, order.Id, null); foreach (var rp in recurringPayments) { - //use errors? - var errors = CancelRecurringPayment(rp); + CancelRecurringPayment(rp); } - //Adjust inventory + // Adjust inventory. foreach (var orderItem in order.OrderItems) { _productService.AdjustInventory(orderItem, false, orderItem.Quantity); diff --git a/src/Libraries/SmartStore.Services/Orders/OrderService.cs b/src/Libraries/SmartStore.Services/Orders/OrderService.cs index 586f3656e1..0d9d8f965d 100644 --- a/src/Libraries/SmartStore.Services/Orders/OrderService.cs +++ b/src/Libraries/SmartStore.Services/Orders/OrderService.cs @@ -10,10 +10,11 @@ using SmartStore.Core.Domain.Payments; using SmartStore.Core.Domain.Shipping; using SmartStore.Core.Events; +using SmartStore.Data.Caching; namespace SmartStore.Services.Orders { - public partial class OrderService : IOrderService + public partial class OrderService : IOrderService { private readonly IRepository _orderRepository; private readonly IRepository _orderItemRepository; @@ -48,7 +49,7 @@ public virtual Order GetOrderById(int orderId) if (orderId == 0) return null; - return _orderRepository.GetById(orderId); + return _orderRepository.GetByIdCached(orderId, "db.order.id-" + orderId); } public virtual IList GetOrdersByIds(int[] orderIds) @@ -134,7 +135,8 @@ public virtual IQueryable GetOrders( int[] shippingStatusIds, string billingEmail, string orderNumber, - string billingName = null) + string billingName = null, + string[] paymentMethods = null) { var query = _orderRepository.Table; @@ -173,6 +175,11 @@ public virtual IQueryable GetOrders( if (shippingStatusIds != null && shippingStatusIds.Count() > 0) query = query.Where(x => shippingStatusIds.Contains(x.ShippingStatusId)); + if (paymentMethods != null && paymentMethods.Any()) + { + query = query.Where(x => paymentMethods.Contains(x.PaymentMethodSystemName)); + } + query = query.Where(x => !x.Deleted); return query; @@ -180,10 +187,11 @@ public virtual IQueryable GetOrders( public virtual IPagedList SearchOrders(int storeId, int customerId, DateTime? startTime, DateTime? endTime, int[] orderStatusIds, int[] paymentStatusIds, int[] shippingStatusIds, - string billingEmail, string orderGuid, string orderNumber, int pageIndex, int pageSize, string billingName = null) + string billingEmail, string orderGuid, string orderNumber, int pageIndex, int pageSize, string billingName = null, + string[] paymentMethods = null) { var query = GetOrders(storeId, customerId, startTime, endTime, orderStatusIds, paymentStatusIds, shippingStatusIds, - billingEmail, orderNumber, billingName); + billingEmail, orderNumber, billingName, paymentMethods); query = query.OrderByDescending(x => x.CreatedOnUtc); @@ -212,11 +220,6 @@ public virtual IPagedList GetAllOrders(int affiliateId, int pageIndex, in return orders; } - public virtual IList LoadAllOrders() - { - return SearchOrders(0, 0, null, null, null, null, null, null, null, null, 0, int.MaxValue); - } - public virtual IList GetOrdersByAffiliateId(int affiliateId) { var query = from o in _orderRepository.Table diff --git a/src/Libraries/SmartStore.Services/Orders/OrderTotalCalculationService.cs b/src/Libraries/SmartStore.Services/Orders/OrderTotalCalculationService.cs index d2fbbd50e7..7bcf2910a0 100644 --- a/src/Libraries/SmartStore.Services/Orders/OrderTotalCalculationService.cs +++ b/src/Libraries/SmartStore.Services/Orders/OrderTotalCalculationService.cs @@ -1250,9 +1250,9 @@ public virtual ShoppingCartTotal GetShoppingCartTotal( resultTemp = resultTemp.RoundIfEnabledFor(currency); - // Return null if we have errors var roundingAmount = decimal.Zero; var roundingAmountConverted = decimal.Zero; + // Return null if we have errors: var orderTotal = shoppingCartShipping.HasValue ? resultTemp : (decimal?)null; var orderTotalConverted = orderTotal; var appliedCreditBalance = decimal.Zero; diff --git a/src/Libraries/SmartStore.Services/Orders/ShoppingCartService.cs b/src/Libraries/SmartStore.Services/Orders/ShoppingCartService.cs index 47e05d3015..d0880c760d 100644 --- a/src/Libraries/SmartStore.Services/Orders/ShoppingCartService.cs +++ b/src/Libraries/SmartStore.Services/Orders/ShoppingCartService.cs @@ -942,10 +942,16 @@ public virtual IList GetShoppingCartWarnings(IList a.TextPrompt))) - warnings.Add(ca2.GetLocalized(a => a.TextPrompt)); + string textPrompt = ca2.GetLocalized(a => a.TextPrompt); + + if (textPrompt.HasValue()) + { + warnings.Add(textPrompt); + } else + { warnings.Add(T("ShoppingCart.SelectAttribute", ca2.GetLocalized(a => a.Name))); + } } } } diff --git a/src/Libraries/SmartStore.Services/Search/Catalog/Modelling/CatalogSearchQueryAliasMapper.cs b/src/Libraries/SmartStore.Services/Search/Catalog/Modelling/CatalogSearchQueryAliasMapper.cs index be969584e7..6cfae38fd0 100644 --- a/src/Libraries/SmartStore.Services/Search/Catalog/Modelling/CatalogSearchQueryAliasMapper.cs +++ b/src/Libraries/SmartStore.Services/Search/Catalog/Modelling/CatalogSearchQueryAliasMapper.cs @@ -16,12 +16,12 @@ namespace SmartStore.Services.Search.Modelling { public class CatalogSearchQueryAliasMapper : ICatalogSearchQueryAliasMapper { - private const string ALL_ATTRIBUTE_ID_BY_ALIAS_KEY = "search.attribute.id.alias.mappings.all"; - private const string ALL_ATTRIBUTE_ALIAS_BY_ID_KEY = "search.attribute.alias.id.mappings.all"; - private const string ALL_COMMONFACET_ALIAS_BY_KIND_KEY = "search.commonfacet.alias.kind.mappings.all"; + private const string ALL_ATTRIBUTE_ID_BY_ALIAS_KEY = "search:attribute.id.alias.mappings.all"; + private const string ALL_ATTRIBUTE_ALIAS_BY_ID_KEY = "search:attribute.alias.id.mappings.all"; + private const string ALL_COMMONFACET_ALIAS_BY_KIND_KEY = "search:commonfacet.alias.kind.mappings.all"; - private const string ALL_VARIANT_ID_BY_ALIAS_KEY = "search.variant.id.alias.mappings.all"; - private const string ALL_VARIANT_ALIAS_BY_ID_KEY = "search.variant.alias.id.mappings.all"; + private const string ALL_VARIANT_ID_BY_ALIAS_KEY = "search:variant.id.alias.mappings.all"; + private const string ALL_VARIANT_ALIAS_BY_ID_KEY = "search:variant.alias.id.mappings.all"; private readonly ICacheManager _cacheManager; private readonly IRepository _localizedPropertyRepository; diff --git a/src/Libraries/SmartStore.Services/Search/Catalog/Modelling/CatalogSearchQueryFactory.cs b/src/Libraries/SmartStore.Services/Search/Catalog/Modelling/CatalogSearchQueryFactory.cs index 88bb3da613..3c30544a0d 100644 --- a/src/Libraries/SmartStore.Services/Search/Catalog/Modelling/CatalogSearchQueryFactory.cs +++ b/src/Libraries/SmartStore.Services/Search/Catalog/Modelling/CatalogSearchQueryFactory.cs @@ -595,7 +595,7 @@ protected virtual void OnConverted(CatalogSearchQuery query, RouteData routeData protected virtual bool GetValueFor(CatalogSearchQuery query, string key, FacetGroupKind kind, out T value) { - return GetValueFor(_catalogSearchQueryAliasMapper.GetCommonFacetAliasByGroupKind(kind, query.LanguageId ?? 0) ?? key, out value); + return TryGetValueFor(_catalogSearchQueryAliasMapper.GetCommonFacetAliasByGroupKind(kind, query.LanguageId ?? 0) ?? key, out value); } } } diff --git a/src/Libraries/SmartStore.Services/Search/Forum/Modelling/ForumSearchQueryFactory.cs b/src/Libraries/SmartStore.Services/Search/Forum/Modelling/ForumSearchQueryFactory.cs index 05f89aa954..d4c9c754d5 100644 --- a/src/Libraries/SmartStore.Services/Search/Forum/Modelling/ForumSearchQueryFactory.cs +++ b/src/Libraries/SmartStore.Services/Search/Forum/Modelling/ForumSearchQueryFactory.cs @@ -252,7 +252,7 @@ protected virtual void OnConverted(ForumSearchQuery query, RouteData routeData, protected virtual bool GetValueFor(ForumSearchQuery query, string key, FacetGroupKind kind, out T value) { - return GetValueFor(_forumSearchQueryAliasMapper.GetCommonFacetAliasByGroupKind(kind, query.LanguageId ?? 0) ?? key, out value); + return TryGetValueFor(_forumSearchQueryAliasMapper.GetCommonFacetAliasByGroupKind(kind, query.LanguageId ?? 0) ?? key, out value); } protected virtual void AddDates(FacetDescriptor descriptor, DateTime? selectedFrom, DateTime? selectedTo) diff --git a/src/Libraries/SmartStore.Services/Search/SearchQueryFactoryBase.cs b/src/Libraries/SmartStore.Services/Search/SearchQueryFactoryBase.cs index 998503180d..0fa710c25d 100644 --- a/src/Libraries/SmartStore.Services/Search/SearchQueryFactoryBase.cs +++ b/src/Libraries/SmartStore.Services/Search/SearchQueryFactoryBase.cs @@ -62,21 +62,19 @@ protected virtual Multimap Aliases protected virtual T GetValueFor(string key) { - T value; - return GetValueFor(key, out value) ? value : default(T); + return TryGetValueFor(key, out T value) ? value : default; } - protected virtual bool GetValueFor(string key, out T value) + protected virtual bool TryGetValueFor(string key, out T value) { var strValue = _httpContext.Request?.Unvalidated.Form?[key] ?? _httpContext.Request?.Unvalidated.QueryString?[key]; if (strValue.HasValue()) { - value = strValue.Convert(); - return true; + return CommonHelper.TryConvert(strValue, out value); } - value = default(T); + value = default; return false; } diff --git a/src/Libraries/SmartStore.Services/Security/AclService.cs b/src/Libraries/SmartStore.Services/Security/AclService.cs index 426fa881f1..2b77fadb24 100644 --- a/src/Libraries/SmartStore.Services/Security/AclService.cs +++ b/src/Libraries/SmartStore.Services/Security/AclService.cs @@ -152,7 +152,7 @@ public virtual void UpdateAclRecord(AclRecord aclRecord) ClearCacheSegment(aclRecord.EntityName, aclRecord.EntityId); } - public virtual int[] GetCustomerRoleIdsWithAccess(string entityName, int entityId) + public virtual int[] GetCustomerRoleIdsWithAccessTo(string entityName, int entityId) { Guard.NotEmpty(entityName, nameof(entityName)); @@ -171,35 +171,38 @@ public virtual int[] GetCustomerRoleIdsWithAccess(string entityName, int entityI public bool Authorize(string entityName, int entityId) { - return Authorize(entityName, entityId, _workContext.Value.CurrentCustomer); + return Authorize(entityName, entityId, _workContext.Value.CurrentCustomer?.CustomerRoles); } - public virtual bool Authorize(string entityName, int entityId, Customer customer) + public virtual bool Authorize(string entityName, int entityId, IEnumerable roles) { Guard.NotEmpty(entityName, nameof(entityName)); if (entityId <= 0) return false; - if (customer == null) - return false; - if (!HasActiveAcl) return true; - foreach (var role1 in customer.CustomerRoles.Where(cr => cr.Active)) + if (roles == null) + return false; + + foreach (var role in roles) { - foreach (var role2Id in GetCustomerRoleIdsWithAccess(entityName, entityId)) + if (!role.Active) + continue; + + foreach (var role2Id in GetCustomerRoleIdsWithAccessTo(entityName, entityId)) { - if (role1.Id == role2Id) + if (role.Id == role2Id) { - // yes, we have such permission + // Yes, we have such permission return true; } } } - // no permission granted + // No permission granted return false; } diff --git a/src/Libraries/SmartStore.Services/Security/IAclService.cs b/src/Libraries/SmartStore.Services/Security/IAclService.cs index 552f467f2b..5130dcc09f 100644 --- a/src/Libraries/SmartStore.Services/Security/IAclService.cs +++ b/src/Libraries/SmartStore.Services/Security/IAclService.cs @@ -80,7 +80,7 @@ public partial interface IAclService /// Entity name to check permission for /// Entity id to check permission for /// Customer role identifiers - int[] GetCustomerRoleIdsWithAccess(string entityName, int entityId); + int[] GetCustomerRoleIdsWithAccessTo(string entityName, int entityId); /// /// Authorize ACL permission @@ -91,15 +91,24 @@ public partial interface IAclService /// true - authorized; otherwise, false bool Authorize(string entityName, int entityId); + ///// + ///// Authorize ACL permission + ///// + ///// Type + ///// Entity name to check permission for + ///// Entity id to check permission for + ///// Customer + ///// true - authorized; otherwise, false + //bool Authorize(string entityName, int entityId, Customer customer); + /// /// Authorize ACL permission /// - /// Type /// Entity name to check permission for /// Entity id to check permission for - /// Customer + /// Roles to check access permission for. Inactive roles will be skipped. /// true - authorized; otherwise, false - bool Authorize(string entityName, int entityId, Customer customer); + bool Authorize(string entityName, int entityId, IEnumerable roles); } public static class IAclServiceExtensions @@ -110,12 +119,17 @@ public static class IAclServiceExtensions /// Type /// Entity /// Customer role identifiers - public static int[] GetCustomerRoleIdsWithAccess(this IAclService aclService, T entity) where T : BaseEntity, IAclSupported + public static int[] GetCustomerRoleIdsWithAccessTo(this IAclService aclService, T entity) where T : BaseEntity, IAclSupported { if (entity == null) return new int[0]; - return aclService.GetCustomerRoleIdsWithAccess(entity.GetEntityName(), entity.Id); + return aclService.GetCustomerRoleIdsWithAccessTo(entity.GetEntityName(), entity.Id); + } + + public static bool Authorize(this IAclService aclService, string entityName, int entityId, Customer customer) + { + return aclService.Authorize(entityName, entityId, customer?.CustomerRoles); } /// @@ -150,7 +164,25 @@ public static bool Authorize(this IAclService aclService, T entity, Customer if (!entity.SubjectToAcl) return true; - return aclService.Authorize(entity.GetEntityName(), entity.Id, customer); + return aclService.Authorize(entity.GetEntityName(), entity.Id, customer?.CustomerRoles); + } + + /// + /// Authorize ACL permission + /// + /// Type + /// Entity + /// Roles to check access permission for. Inactive roles will be skipped. + /// true - authorized; otherwise, false + public static bool Authorize(this IAclService aclService, T entity, IEnumerable roles) where T : BaseEntity, IAclSupported + { + if (entity == null) + return false; + + if (!entity.SubjectToAcl) + return true; + + return aclService.Authorize(entity.GetEntityName(), entity.Id, roles); } } } \ No newline at end of file diff --git a/src/Libraries/SmartStore.Services/Security/PermissionService.cs b/src/Libraries/SmartStore.Services/Security/PermissionService.cs index 16d0fa0ac0..dec98fd0fe 100644 --- a/src/Libraries/SmartStore.Services/Security/PermissionService.cs +++ b/src/Libraries/SmartStore.Services/Security/PermissionService.cs @@ -10,12 +10,11 @@ namespace SmartStore.Services.Security { - /// - /// Permission service - /// - public partial class PermissionService : IPermissionService + /// + /// Permission service + /// + public partial class PermissionService : IPermissionService { - #region Constants /// /// Cache key for storing a valie indicating whether a certain customer role has a permission /// @@ -25,20 +24,12 @@ public partial class PermissionService : IPermissionService /// private const string PERMISSIONS_ALLOWED_KEY = "permission:allowed-{0}-{1}"; private const string PERMISSIONS_PATTERN_KEY = "permission:*"; - #endregion - - #region Fields private readonly IRepository _permissionRecordRepository; - private readonly IRepository _customerRoleRepository; private readonly ICustomerService _customerService; private readonly IWorkContext _workContext; private readonly ICacheManager _cacheManager; - #endregion - - #region Ctor - /// /// Ctor /// @@ -48,19 +39,16 @@ public partial class PermissionService : IPermissionService /// Cache manager public PermissionService( IRepository permissionRecordRepository, - IRepository customerRoleRepository, ICustomerService customerService, - IWorkContext workContext, ICacheManager cacheManager) + IWorkContext workContext, + ICacheManager cacheManager) { - this._permissionRecordRepository = permissionRecordRepository; - this._customerRoleRepository = customerRoleRepository; - this._customerService = customerService; - this._workContext = workContext; - this._cacheManager = cacheManager; + _permissionRecordRepository = permissionRecordRepository; + _customerService = customerService; + _workContext = workContext; + _cacheManager = cacheManager; } - #endregion - #region Utilities /// @@ -71,15 +59,21 @@ public PermissionService( /// true - authorized; otherwise, false protected virtual bool Authorize(string permissionRecordSystemName, CustomerRole customerRole) { - if (String.IsNullOrEmpty(permissionRecordSystemName)) + if (string.IsNullOrEmpty(permissionRecordSystemName)) + { return false; + } - string key = string.Format(PERMISSIONS_ALLOWED_KEY, customerRole.Id, permissionRecordSystemName); + var key = string.Format(PERMISSIONS_ALLOWED_KEY, customerRole.Id, permissionRecordSystemName); return _cacheManager.Get(key, () => { foreach (var permission1 in customerRole.PermissionRecords) + { if (permission1.SystemName.Equals(permissionRecordSystemName, StringComparison.InvariantCultureIgnoreCase)) + { return true; + } + } return false; }); @@ -311,16 +305,20 @@ public virtual bool Authorize(string permissionRecordSystemName) /// true - authorized; otherwise, false public virtual bool Authorize(string permissionRecordSystemName, Customer customer) { - if (String.IsNullOrEmpty(permissionRecordSystemName)) + if (string.IsNullOrEmpty(permissionRecordSystemName)) + { return false; + } var customerRoles = customer.CustomerRoles.Where(cr => cr.Active); foreach (var role in customerRoles) + { if (Authorize(permissionRecordSystemName, role)) - //yes, we have such permission + { return true; + } + } - //no permission found return false; } diff --git a/src/Libraries/SmartStore.Services/Security/StandardPermissionProvider.cs b/src/Libraries/SmartStore.Services/Security/StandardPermissionProvider.cs index 499e977c7f..32ba800597 100644 --- a/src/Libraries/SmartStore.Services/Security/StandardPermissionProvider.cs +++ b/src/Libraries/SmartStore.Services/Security/StandardPermissionProvider.cs @@ -24,6 +24,7 @@ public partial class StandardPermissionProvider : IPermissionProvider public static readonly PermissionRecord ManageBlog = new PermissionRecord { Name = "Admin area. Manage Blog", SystemName = "ManageBlog", Category = "Content Management" }; public static readonly PermissionRecord ManageWidgets = new PermissionRecord { Name = "Admin area. Manage Widgets", SystemName = "ManageWidgets", Category = "Content Management" }; public static readonly PermissionRecord ManageTopics = new PermissionRecord { Name = "Admin area. Manage Topics", SystemName = "ManageTopics", Category = "Content Management" }; + public static readonly PermissionRecord ManageMenus = new PermissionRecord { Name = "Admin area. Manage Menus", SystemName = "ManageMenus", Category = "Content Management" }; public static readonly PermissionRecord ManageForums = new PermissionRecord { Name = "Admin area. Manage Forums", SystemName = "ManageForums", Category = "Content Management" }; public static readonly PermissionRecord ManageMessageTemplates = new PermissionRecord { Name = "Admin area. Manage Message Templates", SystemName = "ManageMessageTemplates", Category = "Content Management" }; public static readonly PermissionRecord ManageCountries = new PermissionRecord { Name = "Admin area. Manage Countries", SystemName = "ManageCountries", Category = "Configuration" }; @@ -79,6 +80,7 @@ public virtual IEnumerable GetPermissions() ManageBlog, ManageWidgets, ManageTopics, + ManageMenus, ManageForums, ManageMessageTemplates, ManageCountries, @@ -138,6 +140,7 @@ public virtual IEnumerable GetDefaultPermissions() ManageBlog, ManageWidgets, ManageTopics, + ManageMenus, ManageForums, ManageMessageTemplates, ManageCountries, diff --git a/src/Libraries/SmartStore.Services/Seo/IXmlSitemapGenerator.cs b/src/Libraries/SmartStore.Services/Seo/IXmlSitemapGenerator.cs index f1c7b37d22..5e833a086e 100644 --- a/src/Libraries/SmartStore.Services/Seo/IXmlSitemapGenerator.cs +++ b/src/Libraries/SmartStore.Services/Seo/IXmlSitemapGenerator.cs @@ -1,6 +1,7 @@ using SmartStore.Services.Tasks; using System.Collections.Generic; using System.Threading; +using System.Threading.Tasks; namespace SmartStore.Services.Seo { @@ -18,7 +19,7 @@ public partial interface IXmlSitemapGenerator /// sitemap XML document at this index, but only when the sitemap is actually indexed (otherwise null is returned) /// /// Sitemap partition - XmlSitemapPartition GetSitemapPart(int index = 0); + Task GetSitemapPartAsync(int index = 0); /// /// Rebuilds the collection of XML sitemap documents for a store/language combination. If there are less than 1.000 sitemap @@ -30,7 +31,7 @@ public partial interface IXmlSitemapGenerator /// During rebuilding, requests are being served from the existing cache. /// Once rebuild is completed, the cache is updated. /// - void Rebuild(XmlSitemapBuildContext ctx); + Task RebuildAsync(XmlSitemapBuildContext ctx); /// /// Determines whether a rebuild is already running. diff --git a/src/Libraries/SmartStore.Services/Seo/SeoExtensions.cs b/src/Libraries/SmartStore.Services/Seo/SeoExtensions.cs index d427ecc2d8..3a2c115b85 100644 --- a/src/Libraries/SmartStore.Services/Seo/SeoExtensions.cs +++ b/src/Libraries/SmartStore.Services/Seo/SeoExtensions.cs @@ -348,6 +348,7 @@ public static string GetSeName(string name, SeoSettings seoSettings) name, seoSettings == null ? false : seoSettings.ConvertNonWesternChars, seoSettings == null ? false : seoSettings.AllowUnicodeCharsInUrls, + true, seoSettings?.SeoNameCharConversion); } diff --git a/src/Libraries/SmartStore.Services/Seo/Tasks/RebuildXmlSitemapTask.cs b/src/Libraries/SmartStore.Services/Seo/Tasks/RebuildXmlSitemapTask.cs index bfd1186699..5e07f2a9fb 100644 --- a/src/Libraries/SmartStore.Services/Seo/Tasks/RebuildXmlSitemapTask.cs +++ b/src/Libraries/SmartStore.Services/Seo/Tasks/RebuildXmlSitemapTask.cs @@ -10,7 +10,7 @@ namespace SmartStore.Services.Seo { - public class RebuildXmlSitemapTask : ITask + public class RebuildXmlSitemapTask : AsyncTask { private readonly IStoreService _storeService; private readonly ILanguageService _languageService; @@ -29,7 +29,7 @@ public RebuildXmlSitemapTask( _seoSettings = seoSettings; } - public void Execute(TaskExecutionContext ctx) + public override async Task ExecuteAsync(TaskExecutionContext ctx) { var stores = _storeService.GetAllStores(); @@ -42,7 +42,7 @@ public void Execute(TaskExecutionContext ctx) ProgressCallback = OnProgress }; - _generator.Rebuild(buildContext); + await _generator.RebuildAsync(buildContext); } void OnProgress(int value, int max, string msg) diff --git a/src/Libraries/SmartStore.Services/Seo/UrlRecordService.cs b/src/Libraries/SmartStore.Services/Seo/UrlRecordService.cs index bbdb23440b..df8bad3de9 100644 --- a/src/Libraries/SmartStore.Services/Seo/UrlRecordService.cs +++ b/src/Libraries/SmartStore.Services/Seo/UrlRecordService.cs @@ -246,7 +246,9 @@ public virtual UrlRecordCollection GetUrlRecordCollectionInternal(string entityN { if (languageIds.Length == 1) { - query = query.Where(x => x.LanguageId == languageIds[0]); + // Avoid "The LINQ expression node type 'ArrayIndex' is not supported in LINQ to Entities". + var languageId = languageIds[0]; + query = query.Where(x => x.LanguageId == languageId); } else { @@ -309,7 +311,7 @@ orderby x.Id descending return result; } - }); + }, independent: true); var key = GenerateKey(entityId, entityName, languageId); if (!allActiveSlugs.TryGetValue(key, out slug)) @@ -537,7 +539,7 @@ orderby ur.Id descending return dict; } - }); + }, independent: true); } /// diff --git a/src/Libraries/SmartStore.Services/Seo/XmlSitemapGenerator.cs b/src/Libraries/SmartStore.Services/Seo/XmlSitemapGenerator.cs index e0f4162c2a..17a8e5356e 100644 --- a/src/Libraries/SmartStore.Services/Seo/XmlSitemapGenerator.cs +++ b/src/Libraries/SmartStore.Services/Seo/XmlSitemapGenerator.cs @@ -102,12 +102,12 @@ public XmlSitemapGenerator( public ILogger Logger { get; set; } - public virtual XmlSitemapPartition GetSitemapPart(int index = 0) + public virtual async Task GetSitemapPartAsync(int index = 0) { - return GetSitemapPart(index, false); + return await GetSitemapPartAsync(index, false); } - private XmlSitemapPartition GetSitemapPart(int index, bool isRetry) + private async Task GetSitemapPartAsync(int index, bool isRetry) { Guard.NotNegative(index, nameof(index)); @@ -174,11 +174,11 @@ private XmlSitemapPartition GetSitemapPart(int index, bool isRetry) CancellationToken = CancellationToken.None }; - Rebuild(buildContext); + await RebuildAsync(buildContext); } // DRY: call self to get sitemap partition object - return GetSitemapPart(index, true); + return await GetSitemapPartAsync(index, true); } private bool SitemapFileExists(int storeId, int languageId, int index, out string path, out string name) @@ -216,7 +216,7 @@ private string GetLockFilePath(int storeId, int languageId) return _tenantFolder.Combine(_baseDir, fileName); } - public virtual void Rebuild(XmlSitemapBuildContext ctx) + public virtual async Task RebuildAsync(XmlSitemapBuildContext ctx) { Guard.NotNull(ctx, nameof(ctx)); @@ -283,7 +283,7 @@ public virtual void Rebuild(XmlSitemapBuildContext ctx) var nodes = new List(); var queries = CreateQueries(ctx); - var total = queries.GetTotalRecordCount(); + var total = await queries.GetTotalRecordCountAsync(); var totalSegments = (int)Math.Ceiling(total / (double)MaximumSiteMapNodeCount); var hasIndex = totalSegments > 1; @@ -339,7 +339,7 @@ public virtual void Rebuild(XmlSitemapBuildContext ctx) { // Commit every 5th segment (10.000 nodes) temporarily to disk to minimize RAM usage var documents = GetSiteMapDocuments((IReadOnlyCollection)sitemaps[language.Id]); - SaveTemp(documents, data, segment - documents.Count + (hasIndex ? 1 : 0)); + await SaveTempAsync(documents, data, segment - documents.Count + (hasIndex ? 1 : 0)); documents.Clear(); sitemaps.RemoveAll(language.Id); @@ -348,8 +348,8 @@ public virtual void Rebuild(XmlSitemapBuildContext ctx) slugs.Clear(); - GC.Collect(); - GC.WaitForPendingFinalizers(); + //GC.Collect(); + //GC.WaitForPendingFinalizers(); } // Process custom nodes @@ -363,7 +363,7 @@ public virtual void Rebuild(XmlSitemapBuildContext ctx) if (sitemaps.ContainsKey(data.Language.Id) && sitemaps[data.Language.Id].Count > 0) { var documents = GetSiteMapDocuments((IReadOnlyCollection)sitemaps[data.Language.Id]); - SaveTemp(documents, data, (segment + 1) - documents.Count + (hasIndex ? 1 : 0)); + await SaveTempAsync(documents, data, (segment + 1) - documents.Count + (hasIndex ? 1 : 0)); } else if (segment == 0) { @@ -371,7 +371,7 @@ public virtual void Rebuild(XmlSitemapBuildContext ctx) // the system will try to rebuild again. var homeNode = new XmlSitemapNode { LastMod = DateTime.UtcNow, Loc = data.BaseUrl }; var documents = GetSiteMapDocuments(new List { homeNode }); - SaveTemp(documents, data, 0); + await SaveTempAsync(documents, data, 0); } } @@ -388,7 +388,7 @@ public virtual void Rebuild(XmlSitemapBuildContext ctx) if (hasIndex && indexNodes.Any()) { var indexDocument = CreateSitemapIndexDocument(indexNodes[data.Language.Id]); - SaveTemp(new List { indexDocument }, data, 0); + await SaveTempAsync(new List { indexDocument }, data, 0); } // Save finally (actually renames temp folder) @@ -409,8 +409,8 @@ public virtual void Rebuild(XmlSitemapBuildContext ctx) } } - GC.Collect(); - GC.WaitForPendingFinalizers(); + //GC.Collect(); + //GC.WaitForPendingFinalizers(); } } } @@ -437,7 +437,7 @@ private string BuildNodeUrl(string baseUrl, NamedEntity entity, UrlRecordCollect return baseUrl + slugs.GetSlug(language.Id, entity.Id, true); } - private void SaveTemp(List documents, LanguageData data, int start) + private async Task SaveTempAsync(List documents, LanguageData data, int start) { for (int i = 0; i < documents.Count; i++) { @@ -445,7 +445,7 @@ private void SaveTemp(List documents, LanguageData data, int start) var fileName = SiteMapFileNamePattern.FormatInvariant(i + start); var filePath = _tenantFolder.Combine(data.TempDir, fileName); - _tenantFolder.CreateTextFile(filePath, documents[i]); + await _tenantFolder.CreateTextFileAsync(filePath, documents[i]); } } @@ -476,8 +476,6 @@ private void SaveFinal(LanguageData data) private IEnumerable EnumerateEntities(QueryHolder queries) { - var entities = Enumerable.Empty(); - if (queries.Categories != null) { var categories = queries.Categories.Select(x => new { x.Id, x.UpdatedOnUtc }).ToList(); @@ -707,7 +705,7 @@ private QueryHolder CreateQueries(XmlSitemapBuildContext ctx) if (seoSettings.XmlSitemapIncludesCategories) { - holder.Categories = _categoryService.GetAllCategories(showHidden: false, storeId: storeId).SourceQuery; + holder.Categories = _categoryService.BuildCategoriesQuery(showHidden: false, storeId: storeId); } if (seoSettings.XmlSitemapIncludesManufacturers) @@ -726,7 +724,7 @@ private QueryHolder CreateQueries(XmlSitemapBuildContext ctx) if (seoSettings.XmlSitemapIncludesProducts) { var searchQuery = new CatalogSearchQuery() - .VisibleOnly() + .VisibleOnly(_services.WorkContext.CurrentCustomer) .VisibleIndividuallyOnly(true) .HasStoreId(storeId); @@ -810,13 +808,13 @@ class QueryHolder public IQueryable Topics { get; set; } public IQueryable Products { get; set; } - public int GetTotalRecordCount() + public async Task GetTotalRecordCountAsync() { int num = 0; - if (Categories != null) num += Categories.Count(); - if (Manufacturers != null) num += Manufacturers.Count(); - if (Topics != null) num += Topics.Count(); - if (Products != null) num += Products.Count(); + if (Categories != null) num += await Categories.CountAsync(); + if (Manufacturers != null) num += await Manufacturers.CountAsync(); + if (Topics != null) num += await Topics.CountAsync(); + if (Products != null) num += await Products.CountAsync(); //if (Products != null) num += 200000; return num; diff --git a/src/Libraries/SmartStore.Services/SmartStore.Services.csproj b/src/Libraries/SmartStore.Services/SmartStore.Services.csproj index 28cc59a3ab..723ecf1212 100644 --- a/src/Libraries/SmartStore.Services/SmartStore.Services.csproj +++ b/src/Libraries/SmartStore.Services/SmartStore.Services.csproj @@ -1,5 +1,6 @@  - + + Debug AnyCPU @@ -67,11 +68,10 @@ - ..\..\packages\AngleSharp.0.9.9\lib\net45\AngleSharp.dll + ..\..\packages\AngleSharp.0.9.11\lib\net45\AngleSharp.dll - - ..\..\packages\Autofac.4.5.0\lib\net45\Autofac.dll - True + + ..\..\packages\Autofac.4.9.0\lib\net45\Autofac.dll ..\..\packages\Autofac.Mvc5.4.0.2\lib\net45\Autofac.Integration.Mvc.dll @@ -89,36 +89,35 @@ ..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll True - - ..\..\packages\EPPlus.4.1.0\lib\net40\EPPlus.dll - True + + ..\..\packages\EPPlus.4.5.3.1\lib\net40\EPPlus.dll - - ..\..\packages\ImageProcessor.2.5.6\lib\net45\ImageProcessor.dll - True + + ..\..\packages\ImageProcessor.2.7.0.100\lib\net452\ImageProcessor.dll - - ..\..\packages\LumenWorksCsvReader.3.9.1\lib\net20\LumenWorks.Framework.IO.dll - True + + ..\..\packages\LumenWorksCsvReader.4.0.0\lib\net461\LumenWorks.Framework.IO.dll + + + ..\..\packages\MaxMind.Db.2.4.0\lib\net45\MaxMind.Db.dll - - ..\..\packages\MaxMind.GeoIP.2.1.17\lib\net35\MaxMind.GeoIP.dll + + ..\..\packages\MaxMind.GeoIP2.3.0.0\lib\net45\MaxMind.GeoIP2.dll True ..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - ..\..\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll + + ..\..\packages\Microsoft.Web.Xdt.3.0.0\lib\net40\Microsoft.Web.XmlTransform.dll ..\..\packages\ncrontab.3.3.0\lib\net35\NCrontab.dll True - - ..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll - True + + ..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll ..\..\packages\NReco.PdfGenerator.1.1.15\lib\net20\NReco.PdfGenerator.dll @@ -127,12 +126,14 @@ ..\..\packages\NuGet.Core.2.14.0\lib\net40-Client\NuGet.Core.dll - - ..\..\packages\PreMailer.Net.1.5.5\lib\net45\PreMailer.Net.dll + + ..\..\packages\PreMailer.Net.2.0.1\lib\net45\PreMailer.Net.dll + + @@ -142,35 +143,30 @@ True + - - ..\..\packages\System.ValueTuple.4.4.0\lib\net461\System.ValueTuple.dll + + ..\..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll - - False - ..\..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll + + ..\..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll - False - ..\..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll + ..\..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.dll - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Deployment.dll - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll @@ -204,6 +200,22 @@ + + + + + + + + + + + + + + + + @@ -234,6 +246,7 @@ + @@ -270,6 +283,7 @@ + @@ -280,6 +294,9 @@ + + + @@ -409,11 +426,8 @@ - - - diff --git a/src/Libraries/SmartStore.Services/Stores/StoreService.cs b/src/Libraries/SmartStore.Services/Stores/StoreService.cs index 68a7280116..f8cde15ab0 100644 --- a/src/Libraries/SmartStore.Services/Stores/StoreService.cs +++ b/src/Libraries/SmartStore.Services/Stores/StoreService.cs @@ -18,17 +18,6 @@ public StoreService(IRepository storeRepository) _storeRepository = storeRepository; } - public virtual void DeleteStore(Store store) - { - Guard.NotNull(store, nameof(store)); - - var allStores = GetAllStores(); - if (allStores.Count == 1) - throw new Exception("You cannot delete the only configured store."); - - _storeRepository.Delete(store); - } - public virtual IList GetAllStores() { var query = _storeRepository.Table @@ -63,6 +52,17 @@ public virtual void UpdateStore(Store store) _storeRepository.Update(store); } + public virtual void DeleteStore(Store store) + { + Guard.NotNull(store, nameof(store)); + + var allStores = GetAllStores(); + if (allStores.Count == 1) + throw new Exception("You cannot delete the only configured store."); + + _storeRepository.Delete(store); + } + public virtual bool IsSingleStoreMode() { if (!_isSingleStoreMode.HasValue) diff --git a/src/Libraries/SmartStore.Services/Tasks/IScheduleTaskService.cs b/src/Libraries/SmartStore.Services/Tasks/IScheduleTaskService.cs index 3ff6f7c69a..be442aa61a 100644 --- a/src/Libraries/SmartStore.Services/Tasks/IScheduleTaskService.cs +++ b/src/Libraries/SmartStore.Services/Tasks/IScheduleTaskService.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Threading.Tasks; using SmartStore.Core; using SmartStore.Core.Domain.Tasks; @@ -41,7 +42,7 @@ public partial interface IScheduleTaskService /// Gets all pending tasks /// /// Tasks - IList GetPendingTasks(); + Task> GetPendingTasksAsync(); /// /// Inserts a task diff --git a/src/Libraries/SmartStore.Services/Tasks/ITask.cs b/src/Libraries/SmartStore.Services/Tasks/ITask.cs index 4cc75d9a75..01e576c330 100644 --- a/src/Libraries/SmartStore.Services/Tasks/ITask.cs +++ b/src/Libraries/SmartStore.Services/Tasks/ITask.cs @@ -1,17 +1,42 @@  +using System; +using System.Threading.Tasks; + namespace SmartStore.Services.Tasks { /// - /// Interface that should be implemented by each task + /// Interface that should be implemented by background tasks /// public partial interface ITask { /// - /// Execute task + /// Executes a task synchronously /// /// /// The execution context /// void Execute(TaskExecutionContext ctx); } + + /// + /// Interface that should be implemented by background tasks + /// + public interface IAsyncTask : ITask + { + /// + /// Executes a task asynchronously + /// + /// + /// The execution context + /// + Task ExecuteAsync(TaskExecutionContext ctx); + } + + public abstract class AsyncTask : IAsyncTask + { + public void Execute(TaskExecutionContext ctx) => + throw new NotSupportedException(); + + public abstract Task ExecuteAsync(TaskExecutionContext ctx); + } } diff --git a/src/Libraries/SmartStore.Services/Tasks/ITaskExecutor.cs b/src/Libraries/SmartStore.Services/Tasks/ITaskExecutor.cs index ef9d7da4f0..5f0f126359 100644 --- a/src/Libraries/SmartStore.Services/Tasks/ITaskExecutor.cs +++ b/src/Libraries/SmartStore.Services/Tasks/ITaskExecutor.cs @@ -1,12 +1,13 @@ using System.Collections.Generic; +using System.Threading.Tasks; using SmartStore.Core.Domain.Tasks; namespace SmartStore.Services.Tasks { public interface ITaskExecutor { - void Execute( - ScheduleTask task, + Task ExecuteAsync( + ScheduleTask entity, IDictionary taskParameters = null, bool throwOnError = false); } diff --git a/src/Libraries/SmartStore.Services/Tasks/InitializeSchedulerFilter.cs b/src/Libraries/SmartStore.Services/Tasks/InitializeSchedulerFilter.cs index 8a92d0abe2..665fca2d30 100644 --- a/src/Libraries/SmartStore.Services/Tasks/InitializeSchedulerFilter.cs +++ b/src/Libraries/SmartStore.Services/Tasks/InitializeSchedulerFilter.cs @@ -32,15 +32,7 @@ public void OnAuthentication(AuthenticationContext filterContext) var eventPublisher = EngineContext.Current.Resolve(); var logger = EngineContext.Current.Resolve().CreateLogger(); - - // The very first request must set app state to 'fully initialized' - if (!EngineContext.Current.IsFullyInitialized) - { - EngineContext.Current.IsFullyInitialized = true; - eventPublisher.Publish(new AppStartedEvent { HttpContext = filterContext.HttpContext }); - } - - ITaskScheduler taskScheduler = EngineContext.Current.Resolve(); + var taskScheduler = EngineContext.Current.Resolve(); try { diff --git a/src/Libraries/SmartStore.Services/Tasks/ScheduleTaskService.cs b/src/Libraries/SmartStore.Services/Tasks/ScheduleTaskService.cs index 7d5b7373a7..0b4e3ef725 100644 --- a/src/Libraries/SmartStore.Services/Tasks/ScheduleTaskService.cs +++ b/src/Libraries/SmartStore.Services/Tasks/ScheduleTaskService.cs @@ -3,6 +3,8 @@ using System.Data.Entity.Core; using System.Data.SqlClient; using System.Linq; +using System.Threading.Tasks; +using System.Data.Entity; using SmartStore.Core; using SmartStore.Core.Data; using SmartStore.Core.Domain.Common; @@ -98,7 +100,7 @@ public virtual IList GetAllTasks(bool includeDisabled = false) RetryOnDeadlockException); } - public virtual IList GetPendingTasks() + public async virtual Task> GetPendingTasksAsync() { var now = DateTime.UtcNow; var machineName = _env.MachineName; @@ -116,8 +118,8 @@ from t in _taskRepository.Table .FirstOrDefault() }); - var tasks = Retry.Run( - () => query.ToList(), + var tasks = await Retry.RunAsync( + () => query.ToListAsync(), 3, TimeSpan.FromMilliseconds(100), RetryOnDeadlockException); diff --git a/src/Libraries/SmartStore.Services/Tasks/TaskExecutionContext.cs b/src/Libraries/SmartStore.Services/Tasks/TaskExecutionContext.cs index 466e1db24f..fa52d51967 100644 --- a/src/Libraries/SmartStore.Services/Tasks/TaskExecutionContext.cs +++ b/src/Libraries/SmartStore.Services/Tasks/TaskExecutionContext.cs @@ -9,7 +9,6 @@ namespace SmartStore.Services.Tasks { public delegate void ProgressCallback(int value, int maximum, string message); - /// /// Provides the context for the Execute method of the interface. /// diff --git a/src/Libraries/SmartStore.Services/Tasks/TaskExecutor.cs b/src/Libraries/SmartStore.Services/Tasks/TaskExecutor.cs index 361141e2c8..93e71a4f7a 100644 --- a/src/Libraries/SmartStore.Services/Tasks/TaskExecutor.cs +++ b/src/Libraries/SmartStore.Services/Tasks/TaskExecutor.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Threading; +using System.Threading.Tasks; using Autofac; using SmartStore.Core; using SmartStore.Core.Async; @@ -43,8 +44,8 @@ public TaskExecutor( public ILogger Logger { get; set; } public Localizer T { get; set; } - public void Execute( - ScheduleTask task, + public async Task ExecuteAsync( + ScheduleTask entity, IDictionary taskParameters = null, bool throwOnError = false) { @@ -53,13 +54,13 @@ public void Execute( return; } - if (task.LastHistoryEntry == null) + if (entity.LastHistoryEntry == null) { // The task was started manually. - task.LastHistoryEntry = _scheduledTaskService.GetLastHistoryEntryByTaskId(task.Id); + entity.LastHistoryEntry = _scheduledTaskService.GetLastHistoryEntryByTaskId(entity.Id); } - if (task?.LastHistoryEntry?.IsRunning == true) + if (entity?.LastHistoryEntry?.IsRunning == true) { return; } @@ -67,14 +68,14 @@ public void Execute( bool faulted = false; bool canceled = false; string lastError = null; - ITask instance = null; + ITask task = null; string stateName = null; Type taskType = null; Exception exception = null; var historyEntry = new ScheduleTaskHistory { - ScheduleTaskId = task.Id, + ScheduleTaskId = entity.Id, IsRunning = true, MachineName = _env.MachineName.EmptyNull(), StartedOnUtc = DateTime.UtcNow @@ -82,10 +83,10 @@ public void Execute( try { - taskType = Type.GetType(task.Type); + taskType = Type.GetType(entity.Type); if (taskType == null) { - Logger.DebugFormat("Invalid scheduled task type: {0}", task.Type.NaIfEmpty()); + Logger.DebugFormat("Invalid scheduled task type: {0}", entity.Type.NaIfEmpty()); } if (taskType == null) @@ -94,8 +95,8 @@ public void Execute( if (!PluginManager.IsActivePluginAssembly(taskType.Assembly)) return; - task.ScheduleTaskHistory.Add(historyEntry); - _scheduledTaskService.UpdateTask(task); + entity.ScheduleTaskHistory.Add(historyEntry); + _scheduledTaskService.UpdateTask(entity); } catch { @@ -106,8 +107,8 @@ public void Execute( { // Task history entry has been successfully added, now we execute the task. // Create task instance. - instance = _taskResolver(taskType); - stateName = task.Id.ToString(); + task = _taskResolver(taskType); + stateName = entity.Id.ToString(); // Create & set a composite CancellationTokenSource which also contains the global app shoutdown token. var cts = CancellationTokenSource.CreateLinkedTokenSource(AsyncRunner.AppShutdownCancellationToken, new CancellationTokenSource().Token); @@ -120,8 +121,16 @@ public void Execute( Parameters = taskParameters ?? new Dictionary() }; - Logger.DebugFormat("Executing scheduled task: {0}", task.Type); - instance.Execute(ctx); + Logger.DebugFormat("Executing scheduled task: {0}", entity.Type); + + if (task is IAsyncTask asyncTask) + { + await asyncTask.ExecuteAsync(ctx); + } + else + { + task.Execute(ctx); + } } catch (Exception ex) { @@ -132,11 +141,11 @@ public void Execute( if (canceled) { - Logger.Warn(ex, T("Admin.System.ScheduleTasks.Cancellation", task.Name)); + Logger.Warn(ex, T("Admin.System.ScheduleTasks.Cancellation", entity.Name)); } else { - Logger.Error(ex, string.Concat(T("Admin.System.ScheduleTasks.RunningError", task.Name), ": ", ex.Message)); + Logger.Error(ex, string.Concat(T("Admin.System.ScheduleTasks.RunningError", entity.Name), ": ", ex.Message)); } } finally @@ -152,9 +161,9 @@ public void Execute( if (faulted) { - if ((!canceled && task.StopOnError) || instance == null) + if ((!canceled && entity.StopOnError) || task == null) { - task.Enabled = false; + entity.Enabled = false; updateTask = true; } } @@ -165,7 +174,7 @@ public void Execute( try { - Logger.DebugFormat("Executed scheduled task: {0}. Elapsed: {1} ms.", task.Type, (now - historyEntry.StartedOnUtc).TotalMilliseconds); + Logger.DebugFormat("Executed scheduled task: {0}. Elapsed: {1} ms.", entity.Type, (now - historyEntry.StartedOnUtc).TotalMilliseconds); // Remove from AsyncState. if (stateName.HasValue()) @@ -178,9 +187,9 @@ public void Execute( Logger.Error(ex); } - if (task.Enabled) + if (entity.Enabled) { - task.NextRunUtc = _scheduledTaskService.GetNextSchedule(task); + entity.NextRunUtc = _scheduledTaskService.GetNextSchedule(entity); updateTask = true; } @@ -188,7 +197,7 @@ public void Execute( if (updateTask) { - _scheduledTaskService.UpdateTask(task); + _scheduledTaskService.UpdateTask(entity); } Throttle.Check("Delete old schedule task history entries", TimeSpan.FromDays(1), () => _scheduledTaskService.DeleteHistoryEntries() > 0); diff --git a/src/Libraries/SmartStore.Services/Tasks/TaskScheduler.cs b/src/Libraries/SmartStore.Services/Tasks/TaskScheduler.cs index 131d0239c0..f8fca60dc9 100644 --- a/src/Libraries/SmartStore.Services/Tasks/TaskScheduler.cs +++ b/src/Libraries/SmartStore.Services/Tasks/TaskScheduler.cs @@ -112,7 +112,7 @@ private string CreateAuthToken() private string GenerateAuthTokenCacheKey(string authToken) { - return "Scheduler.AuthToken." + authToken; + return "Scheduler:AuthToken:" + authToken; } public bool VerifyAuthToken(string authToken) diff --git a/src/Libraries/SmartStore.Services/Tax/TaxService.cs b/src/Libraries/SmartStore.Services/Tax/TaxService.cs index bcf14821e3..6d5cb78344 100644 --- a/src/Libraries/SmartStore.Services/Tax/TaxService.cs +++ b/src/Libraries/SmartStore.Services/Tax/TaxService.cs @@ -140,15 +140,9 @@ protected virtual bool IsEuConsumer(Customer customer) return true; } - var country = address == null ? null : address.Country; - - if (country == null) - { - // No Country or BillingAddress set: try to resolve country from IP address - _geoCountryLookup.IsEuIpAddress(customer.LastIpAddress, out country); - } - - if (country == null || !country.SubjectToVat) + // No Country or BillingAddress set: try to resolve country from IP address + var subjectToVat = _geoCountryLookup.LookupCountry(customer.LastIpAddress)?.IsInEu == true; + if (!subjectToVat) { return false; } diff --git a/src/Libraries/SmartStore.Services/Topics/TopicService.cs b/src/Libraries/SmartStore.Services/Topics/TopicService.cs index eb8dfee3a0..07152bf79b 100644 --- a/src/Libraries/SmartStore.Services/Topics/TopicService.cs +++ b/src/Libraries/SmartStore.Services/Topics/TopicService.cs @@ -49,7 +49,7 @@ public virtual Topic GetTopicById(int topicId) if (topicId == 0) return null; - return _topicRepository.GetById(topicId); + return _topicRepository.GetByIdCached(topicId, "db.topic.id-" + topicId); } public virtual Topic GetTopicBySystemName(string systemName, int storeId = 0, bool checkPermission = true) @@ -115,7 +115,7 @@ from a in ca.DefaultIfEmpty() if (joinApplied) { - // Only distinct categories (group by ID) + // Only distinct topics (group by ID) query = from t in query group t by t.Id into tGroup orderby tGroup.Key diff --git a/src/Libraries/SmartStore.Services/app.config b/src/Libraries/SmartStore.Services/app.config index 48f67fefef..08f9834796 100644 --- a/src/Libraries/SmartStore.Services/app.config +++ b/src/Libraries/SmartStore.Services/app.config @@ -21,7 +21,7 @@ - + @@ -29,12 +29,20 @@ - + + + + + + + + + diff --git a/src/Libraries/SmartStore.Services/packages.config b/src/Libraries/SmartStore.Services/packages.config index c369c9c9bc..be5db3727d 100644 --- a/src/Libraries/SmartStore.Services/packages.config +++ b/src/Libraries/SmartStore.Services/packages.config @@ -1,25 +1,27 @@  - - + + - - - - - - - + + + + + + + + + - + - + - + - + \ No newline at end of file diff --git a/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayCheckoutController.cs b/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayCheckoutController.cs index 30fcf453b6..35fbe06a06 100644 --- a/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayCheckoutController.cs +++ b/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayCheckoutController.cs @@ -1,25 +1,34 @@ using System; +using System.Collections.Generic; +using System.Linq; using System.Web; using System.Web.Mvc; using SmartStore.AmazonPay.Services; +using SmartStore.Core.Html; +using SmartStore.Core.Logging; using SmartStore.Services.Common; +using SmartStore.Services.Orders; +using SmartStore.Services.Payments; namespace SmartStore.AmazonPay.Controllers { - public class AmazonPayCheckoutController : AmazonPayControllerBase + public class AmazonPayCheckoutController : AmazonPayControllerBase { private readonly HttpContextBase _httpContext; private readonly IAmazonPayService _apiService; private readonly IGenericAttributeService _genericAttributeService; + private readonly IOrderProcessingService _orderProcessingService; - public AmazonPayCheckoutController( + public AmazonPayCheckoutController( HttpContextBase httpContext, IAmazonPayService apiService, - IGenericAttributeService genericAttributeService) + IGenericAttributeService genericAttributeService, + IOrderProcessingService orderProcessingService) { _httpContext = httpContext; _apiService = apiService; _genericAttributeService = genericAttributeService; + _orderProcessingService = orderProcessingService; } public ActionResult OrderReferenceCreated(string orderReferenceId/*, string accessToken*/) @@ -49,9 +58,9 @@ public ActionResult OrderReferenceCreated(string orderReferenceId/*, string acce error = error.Grow(T("Plugins.Payments.AmazonPay.MissingAddressConsentToken"), " "); } } - catch (Exception exception) + catch (Exception ex) { - error = exception.Message; + error = ex.Message; } return new JsonResult { Data = new { success = success, error = error } }; @@ -107,5 +116,97 @@ public ActionResult CheckoutCompleted() return new EmptyResult(); } - } + + #region Confirmation flow + + // Ajax. + public ActionResult ConfirmOrder(string formData) + { + string redirectUrl = null; + var messages = new List(); + var success = false; + + try + { + var store = Services.StoreContext.CurrentStore; + var customer = Services.WorkContext.CurrentCustomer; + var processPaymentRequest = (_httpContext.Session["OrderPaymentInfo"] as ProcessPaymentRequest) ?? new ProcessPaymentRequest(); + + processPaymentRequest.StoreId = store.Id; + processPaymentRequest.CustomerId = customer.Id; + processPaymentRequest.PaymentMethodSystemName = AmazonPayPlugin.SystemName; + + // We must check here if an order can be placed to avoid creating unauthorized Amazon payment objects. + var warnings = _orderProcessingService.GetOrderPlacementWarnings(processPaymentRequest); + + if (!warnings.Any()) + { + if (_orderProcessingService.IsMinimumOrderPlacementIntervalValid(customer, store)) + { + if (_apiService.ConfirmOrderReference()) + { + success = true; + + var state = _httpContext.GetAmazonPayState(Services.Localization); + state.FormData = formData.EmptyNull(); + } + else + { + _httpContext.Session["AmazonPayFailedPaymentReason"] = "PaymentMethodNotAllowed"; + + redirectUrl = Url.Action("PaymentMethod", "Checkout", new { area = "" }); + } + } + else + { + messages.Add(T("Checkout.MinOrderPlacementInterval")); + } + } + else + { + messages.AddRange(warnings.Select(x => HtmlUtils.ConvertPlainTextToHtml(x))); + } + } + catch (Exception ex) + { + messages.Add(ex.Message); + Logger.Error(ex); + } + + return Json(new { success, redirectUrl, messages }); + } + + public ActionResult ConfirmationResult(string authenticationStatus) + { + var state = _httpContext.GetAmazonPayState(Services.Localization); + state.SubmitForm = false; + + if (authenticationStatus.IsCaseInsensitiveEqual("Success")) + { + state.SubmitForm = true; + return RedirectToAction("Confirm", "Checkout", new { area = "" }); + } + else if (authenticationStatus.IsCaseInsensitiveEqual("Failure")) + { + // The buyer has exhausted their retry attempts and payment instrument selection on the Amazon Pay page. + // Review: redirect back to shopping cart (like AmazonRejected). + _httpContext.Session["AmazonPayFailedPaymentReason"] = "AuthenticationStatusFailure"; + + return RedirectToRoute("ShoppingCart"); + } + else + { + // authenticationStatus == "Abandoned": The buyer took action to close/cancel the MFA challenge. + // Review: redirect to checkout payment page (like InvalidPaymentMethod). + state.IsConfirmed = false; + state.FormData = null; + + _httpContext.Session["AmazonPayFailedPaymentReason"] = "AuthenticationStatusAbandoned"; + + return RedirectToAction("PaymentMethod", "Checkout", new { area = "" }); + } + } + + #endregion + } } \ No newline at end of file diff --git a/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayController.cs b/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayController.cs index bce38ebbd0..669cc4c009 100644 --- a/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayController.cs +++ b/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayController.cs @@ -1,11 +1,15 @@ using System; using System.Collections.Generic; +using System.Net; +using System.Text; +using System.Web; using System.Web.Mvc; using SmartStore.AmazonPay.Models; using SmartStore.AmazonPay.Services; using SmartStore.ComponentModel; using SmartStore.Core.Domain.Customers; using SmartStore.Services.Authentication.External; +using SmartStore.Services.Customers; using SmartStore.Services.Payments; using SmartStore.Services.Tasks; using SmartStore.Web.Framework; @@ -17,17 +21,20 @@ namespace SmartStore.AmazonPay.Controllers { public class AmazonPayController : PaymentControllerBase { - private readonly IAmazonPayService _apiService; + private readonly HttpContextBase _httpContext; + private readonly IAmazonPayService _apiService; private readonly Lazy _scheduleTaskService; private readonly Lazy _openAuthenticationService; private readonly Lazy _externalAuthenticationSettings; public AmazonPayController( - IAmazonPayService apiService, + HttpContextBase httpContext, + IAmazonPayService apiService, Lazy scheduleTaskService, Lazy openAuthenticationService, Lazy externalAuthenticationSettings) { + _httpContext = httpContext; _apiService = apiService; _scheduleTaskService = scheduleTaskService; _openAuthenticationService = openAuthenticationService; @@ -148,9 +155,57 @@ public ActionResult IPNHandler() return Content("OK"); } - // Authentication + // For payment simulation in sandbox mode. Admin and sandbox only. + public ActionResult SetSellerNote(string paymentState) + { + var customer = Services.WorkContext.CurrentCustomer; + if (!customer.IsAdmin()) + { + return HttpNotFound(); + } + + var store = Services.StoreContext.CurrentStore; + var settings = Services.Settings.LoadSetting(store.Id); + + if (!settings.UseSandbox) + { + return new HttpStatusCodeResult(HttpStatusCode.BadRequest, "Endpoint is for testing purposes and only available in sandbox mode."); + } + + var state = _httpContext.GetAmazonPayState(Services.Localization); + var sellerNote = string.Empty; // Reset payment state. + + // See https://pay.amazon.com/de/developer/documentation/lpwa/201956480 + if (paymentState.IsCaseInsensitiveEqual("PaymentMethodNotAllowed")) + { + sellerNote = "{\"SandboxSimulation\":{\"Constraint\":\"PaymentMethodNotAllowed\"}}"; + } + else if (paymentState.IsCaseInsensitiveEqual("Success")) + { + sellerNote = "{\"SandboxSimulation\":{\"PaymentAuthenticationStatus\":{\"State\":\"Success\"}}}"; + } + else if (paymentState.IsCaseInsensitiveEqual("Failure")) + { + sellerNote = "{\"SandboxSimulation\":{\"PaymentAuthenticationStatus\":{\"State\":\"Failure\"}}}"; + } + else if (paymentState.IsCaseInsensitiveEqual("Abandoned")) + { + sellerNote = "{\"SandboxSimulation\":{\"PaymentAuthenticationStatus\":{\"State\":\"Abandoned\"}}}"; + } + + var result = _apiService.SetOrderReferenceDetails(null, settings, state, sellerNote, out var errorMesage); + + var sb = new StringBuilder(); + sb.Append(result ? "ok. " : "failure. "); + sb.AppendLine(sellerNote); + sb.AppendLine(errorMesage.EmptyNull()); + + return Content(sb.ToString()); + } - [ChildActionOnly] + #region Authentication + + [ChildActionOnly] public ActionResult AuthenticationPublicInfo() { var model = _apiService.CreateViewModel(AmazonPayRequestType.AuthenticationPublicInfo, TempData); @@ -197,5 +252,7 @@ public ActionResult AuthenticationButtonHandler() return new RedirectResult(Url.LogOn(returnUrl)); } } - } + + #endregion + } } diff --git a/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayShoppingCartController.cs b/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayShoppingCartController.cs index e90edbd309..2bebbbaf81 100644 --- a/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayShoppingCartController.cs +++ b/src/Plugins/SmartStore.AmazonPay/Controllers/AmazonPayShoppingCartController.cs @@ -3,9 +3,9 @@ namespace SmartStore.AmazonPay.Controllers { - public class AmazonPayShoppingCartController : AmazonPayControllerBase + public class AmazonPayShoppingCartController : AmazonPayControllerBase { - private readonly IAmazonPayService _apiService; + private readonly IAmazonPayService _apiService; public AmazonPayShoppingCartController(IAmazonPayService apiService) { @@ -27,6 +27,7 @@ public ActionResult ShoppingCart() return GetActionResult(model); } + return new EmptyResult(); } @@ -53,5 +54,5 @@ public ActionResult MiniShoppingCart(bool renderAmazonPayView) } return new EmptyResult(); } - } + } } \ No newline at end of file diff --git a/src/Plugins/SmartStore.AmazonPay/Description.txt b/src/Plugins/SmartStore.AmazonPay/Description.txt index 900e79594d..7449e587bb 100644 --- a/src/Plugins/SmartStore.AmazonPay/Description.txt +++ b/src/Plugins/SmartStore.AmazonPay/Description.txt @@ -1,8 +1,8 @@ FriendlyName: Login and Pay with Amazon SystemName: SmartStore.AmazonPay Group: Payment -Version: 3.1.5.1 -MinAppVersion: 3.1.5 +Version: 3.2.2 +MinAppVersion: 3.2.2 Author: SmartStore AG DisplayOrder: 1 FileName: SmartStore.AmazonPay.dll diff --git a/src/Plugins/SmartStore.AmazonPay/Events/EventConsumer.cs b/src/Plugins/SmartStore.AmazonPay/Events/EventConsumer.cs index a9e120bd2f..3d6e180d4f 100644 --- a/src/Plugins/SmartStore.AmazonPay/Events/EventConsumer.cs +++ b/src/Plugins/SmartStore.AmazonPay/Events/EventConsumer.cs @@ -13,7 +13,7 @@ namespace SmartStore.AmazonPay.Events { - public class EventConsumer : IConsumer, IConsumer + public class EventConsumer : IConsumer { private readonly IPluginFinder _pluginFinder; private readonly ICommonServices _services; diff --git a/src/Plugins/SmartStore.AmazonPay/Localization/resources.de-de.xml b/src/Plugins/SmartStore.AmazonPay/Localization/resources.de-de.xml index 3ec171cd79..baa01c2299 100644 --- a/src/Plugins/SmartStore.AmazonPay/Localization/resources.de-de.xml +++ b/src/Plugins/SmartStore.AmazonPay/Localization/resources.de-de.xml @@ -45,13 +45,19 @@ Textvorschläge:
    Leider wurde die Zahlung zu Ihrer Bestellung in unserem Onlineshop von Amazon Pay zurückgewiesen. Bitte wählen Sie eine andere Zahlart. - + Leider wurde die Zahlung zu Ihrer Bestellung in unserem Onlineshop von Amazon Pay zurückgewiesen. Bitte kontaktieren Sie uns.

    ]]>
    - + + Beim Zahlungsvorgang ist ein Problem aufgetreten. Ihre Bestellung wurde nicht aufgegeben und Ihr Konto nicht belastet. + + + Mit dieser Zahlungsart ist ein Problem aufgetreten. Um Ihre Bestellung abzuschließen, wählen Sie bitte eine andere aus. + + Amazon Pay meldet @@ -111,7 +117,7 @@ Textvorschläge:
      Mitteilungstyp;Mitteilungs ID;Autorisierungs ID;Buchungs ID;Rückerstatattungs ID;Referenz ID;Status;Statusaktualisierung;Gebühr;Autorisierungsbetrag;Buchungsbetrag;Erstattungsbetrag;Sofort buchen;Erstellt am;Verfällt am - + Sandbox benutzen diff --git a/src/Plugins/SmartStore.AmazonPay/Localization/resources.en-us.xml b/src/Plugins/SmartStore.AmazonPay/Localization/resources.en-us.xml index bc510fac8e..caaa7ebf43 100644 --- a/src/Plugins/SmartStore.AmazonPay/Localization/resources.en-us.xml +++ b/src/Plugins/SmartStore.AmazonPay/Localization/resources.en-us.xml @@ -51,7 +51,13 @@ Text suggestions:
        Unfortunately Amazon Pay declined the payment for your order in our online shop. Please contact us.

        ]]> - + + There was a problem with your payment. Your order hasn't been placed, and you haven't been charged. + + + Something's wrong with your payment method. To place your order, try another. + + Amazon Pay reports @@ -111,7 +117,7 @@ Text suggestions:
          Message type;Message ID;Authorization ID;Capture ID;Refund ID;Reference ID;State;State update;Fee;Authorized amount;Captured amount;Refunded amount;Capture now;Creation;Expiration - + Use Sandbox diff --git a/src/Plugins/SmartStore.AmazonPay/Models/AmazonPayViewModel.cs b/src/Plugins/SmartStore.AmazonPay/Models/AmazonPayViewModel.cs index d56a233de9..77c391b448 100644 --- a/src/Plugins/SmartStore.AmazonPay/Models/AmazonPayViewModel.cs +++ b/src/Plugins/SmartStore.AmazonPay/Models/AmazonPayViewModel.cs @@ -15,10 +15,7 @@ public AmazonPayViewModel() BillingAddress = new AddressModel(); } - public string SystemName - { - get { return AmazonPayPlugin.SystemName; } - } + public string SystemName => AmazonPayPlugin.SystemName; public string SellerId { get; set; } public string ClientId { get; set; } @@ -50,5 +47,10 @@ public string SystemName public string ShippingMethod { get; set; } public AddressModel BillingAddress { get; set; } - } + + // Confirmation flow. + public bool IsConfirmed { get; set; } + public string FormData { get; set; } + public bool SubmitForm { get; set; } + } } \ No newline at end of file diff --git a/src/Plugins/SmartStore.AmazonPay/Plugin.cs b/src/Plugins/SmartStore.AmazonPay/Plugin.cs index 9006d725cf..9524984a8d 100644 --- a/src/Plugins/SmartStore.AmazonPay/Plugin.cs +++ b/src/Plugins/SmartStore.AmazonPay/Plugin.cs @@ -70,12 +70,6 @@ public override void Uninstall() base.Uninstall(); } - public override PreProcessPaymentResult PreProcessPayment(ProcessPaymentRequest processPaymentRequest) - { - var result = _apiService.PreProcessPayment(processPaymentRequest); - return result; - } - public override ProcessPaymentResult ProcessPayment(ProcessPaymentRequest processPaymentRequest) { var result = _apiService.ProcessPayment(processPaymentRequest); diff --git a/src/Plugins/SmartStore.AmazonPay/Scripts/jquery.deserialize.js b/src/Plugins/SmartStore.AmazonPay/Scripts/jquery.deserialize.js new file mode 100644 index 0000000000..13c00e2a0d --- /dev/null +++ b/src/Plugins/SmartStore.AmazonPay/Scripts/jquery.deserialize.js @@ -0,0 +1,276 @@ +/** + * Copyright (C) 2017 Kyle Florence + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * @website https://github.com/kflorence/jquery-deserialize/ + * @version 2.0.0-rc1 + * + * Dual licensed under the MIT and GPLv2 licenses. + */ +(function( factory ) { + if ( typeof module === "object" && module.exports ) { + // Node/CommonJS + module.exports = factory( require( "jquery" ) ); + + } else { + // Browser globals + factory( window.jQuery ); + } +}(function( $ ) { + + /** + * Updates a key/valueArray with the given property and value. Values will always be stored as arrays. + * + * @param prop The property to add the value to. + * @param value The value to add. + * @param obj The object to update. + * @returns {object} Updated object. + */ + function updateKeyValueArray( prop, value, obj ) { + var current = obj[ prop ]; + + if ( current === undefined ) { + obj[ prop ] = [ value ]; + + } else { + current.push( value ); + } + + return obj; + } + + /** + * Get all of the fields contained within the given elements by name. + * + * @param $elements jQuery object of elements. + * @param filter Custom filter to apply to the list of fields. + * @returns {object} All of the fields contained within the given elements, keyed by name. + */ + function getFieldsByName( $elements, filter ) { + var elementsByName = {}; + + // Extract fields from elements + var fields = $elements + .map(function convertFormToElements() { + return this.elements ? $.makeArray( this.elements ) : this; + }) + .filter( filter || ":input:not(:disabled)" ) + .get(); + + $.each( fields, function( index, field ) { + updateKeyValueArray( field.name, field, elementsByName ); + }); + + return elementsByName; + } + + /** + * Figure out the type of an element. Input type will be used first, falling back to nodeName. + * + * @param element DOM element to check type of. + * @returns {string} The element's type. + */ + function getElementType( element ) { + return ( element.type || element.nodeName ).toLowerCase(); + } + + /** + * Normalize the provided data into a key/valueArray store. + * + * @param data The data provided by the user to the plugin. + * @returns {object} The data normalized into a key/valueArray store. + */ + function normalizeData( data ) { + var normalized = {}; + var rPlus = /\+/g; + + // Convert data from .serializeObject() notation + if ( $.isPlainObject( data ) ) { + $.extend( normalized, data ); + + // Convert non-array values into an array + $.each( normalized, function( name, value ) { + if ( !$.isArray( value ) ) { + normalized[ name ] = [ value ]; + } + }); + + // Convert data from .serializeArray() notation + } else if ( $.isArray( data ) ) { + $.each( data, function( index, field ) { + updateKeyValueArray( field.name, field.value, normalized ); + }); + + // Convert data from .serialize() notation + } else if ( typeof data === "string" ) { + $.each( data.split( "&" ), function( index, field ) { + var current = field.split( "=" ); + var name = decodeURIComponent( current[ 0 ].replace( rPlus, "%20" ) ); + var value = decodeURIComponent( current[ 1 ].replace( rPlus, "%20" ) ); + updateKeyValueArray( name, value, normalized ); + }); + } + + return normalized; + } + + /** + * Map of property name -> element types. + * + * @type {object} + */ + var updateTypes = { + checked: [ + "radio", + "checkbox" + ], + selected: [ + "option", + "select-one", + "select-multiple" + ], + value: [ + "button", + "color", + "date", + "datetime", + "datetime-local", + "email", + "hidden", + "month", + "number", + "password", + "range", + "reset", + "search", + "submit", + "tel", + "text", + "textarea", + "time", + "url", + "week" + ] + }; + + /** + * Get the property to update on an element being updated. + * + * @param element The DOM element to get the property for. + * @returns The name of the property to update if element is supported, otherwise `undefined`. + */ + function getPropertyToUpdate( element ) { + var type = getElementType( element ); + var elementProperty = undefined; + + $.each( updateTypes, function( property, types ) { + if ( $.inArray( type, types ) > -1 ) { + elementProperty = property; + return false; + } + }); + + return elementProperty; + } + + /** + * Update the element based on the provided data. + * + * @param element The DOM element to update. + * @param elementIndex The index of this element in the list of elements with the same name. + * @param value The serialized element value. + * @param valueIndex The index of the value in the list of values for elements with the same name. + * @param callback A function to call if the value of an element was updated. + */ + function update( element, elementIndex, value, valueIndex, callback ) { + var property = getPropertyToUpdate( element ); + + // Handle value inputs + // If there are multiple value inputs with the same name, they will be populated by matching indexes. + if ( property == "value" && elementIndex == valueIndex ) { + element.value = value; + callback.call( element, value ); + + // Handle select menus, checkboxes and radio buttons + } else if ( property == "checked" || property == "selected" ) { + var fields = []; + + // Extract option fields from select menus + if ( element.options ) { + $.each( element.options, function( index, option ) { + fields.push( option ); + }); + + } else { + fields.push( element ); + } + + // #37: Remove selection from multiple select menus before deserialization + if ( element.multiple && valueIndex == 0 ) { + element.selectedIndex = -1; + } + + $.each( fields, function( index, field ) { + if ( field.value == value ) { + field[ property ] = true; + callback.call( field, value ); + } + }); + } + } + + /** + * Default plugin options. + * + * @type {object} + */ + var defaultOptions = { + change: $.noop, + complete: $.noop + }; + + /** + * The $.deserialize function. + * + * @param data The data to deserialize. + * @param options Additional options. + * @returns {jQuery} The jQuery object that was provided to the plugin. + */ + $.fn.deserialize = function( data, options ) { + + // Backwards compatible with old arguments: data, callback + if ( $.isFunction( options ) ) { + options = { complete: options }; + } + + options = $.extend( defaultOptions, options || {} ); + data = normalizeData( data ); + + var elementsByName = getFieldsByName( this, options.filter ); + + $.each( data, function( name, values ) { + $.each( elementsByName[ name ], function( elementIndex, element ) { + $.each( values, function( valueIndex, value ) { + update( element, elementIndex, value, valueIndex, options.change ); + }); + }); + }); + + options.complete.call( this ); + + return this; + }; +})); diff --git a/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayService.cs b/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayService.cs index 4b7ef18f9d..a24c0646f7 100644 --- a/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayService.cs +++ b/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayService.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Text; using System.Threading; -using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using AmazonPay; @@ -22,18 +21,17 @@ using SmartStore.Core.Domain.Orders; using SmartStore.Core.Domain.Payments; using SmartStore.Core.Domain.Shipping; +using SmartStore.Core.Domain.Stores; using SmartStore.Core.Localization; using SmartStore.Core.Logging; using SmartStore.Core.Plugins; using SmartStore.Services; using SmartStore.Services.Authentication.External; -using SmartStore.Services.Catalog; using SmartStore.Services.Common; using SmartStore.Services.Customers; using SmartStore.Services.Directory; using SmartStore.Services.Helpers; using SmartStore.Services.Localization; -using SmartStore.Services.Messages; using SmartStore.Services.Orders; using SmartStore.Services.Payments; using SmartStore.Web; @@ -41,30 +39,27 @@ namespace SmartStore.AmazonPay.Services { - public partial class AmazonPayService : IAmazonPayService + public partial class AmazonPayService : IAmazonPayService { private readonly HttpContextBase _httpContext; private readonly IRepository _orderRepository; private readonly ICommonServices _services; private readonly IPaymentService _paymentService; private readonly IGenericAttributeService _genericAttributeService; - private readonly IOrderTotalCalculationService _orderTotalCalculationService; private readonly ICurrencyService _currencyService; private readonly ICustomerService _customerService; private readonly ICountryService _countryService; private readonly IStateProvinceService _stateProvinceService; - private readonly IAddressService _addressService; private readonly IOrderService _orderService; private readonly IOrderProcessingService _orderProcessingService; + private readonly IOrderTotalCalculationService _orderTotalCalculationService; - private readonly IPriceFormatter _priceFormatter; private readonly IDateTimeHelper _dateTimeHelper; private readonly IPluginFinder _pluginFinder; private readonly Lazy _authorizer; private readonly AddressSettings _addressSettings; private readonly OrderSettings _orderSettings; private readonly CompanyInformationSettings _companyInformationSettings; - private readonly Lazy _externalAuthenticationSettings; public AmazonPayService( HttpContextBase httpContext, @@ -72,45 +67,39 @@ public AmazonPayService( ICommonServices services, IPaymentService paymentService, IGenericAttributeService genericAttributeService, - IOrderTotalCalculationService orderTotalCalculationService, ICurrencyService currencyService, ICustomerService customerService, ICountryService countryService, IStateProvinceService stateProvinceService, - IAddressService addressService, IOrderService orderService, IOrderProcessingService orderProcessingService, - IPriceFormatter priceFormatter, + IOrderTotalCalculationService orderTotalCalculationService, IDateTimeHelper dateTimeHelper, IPluginFinder pluginFinder, Lazy authorizer, AddressSettings addressSettings, OrderSettings orderSettings, - CompanyInformationSettings companyInformationSettings, - Lazy externalAuthenticationSettings) + CompanyInformationSettings companyInformationSettings) { _httpContext = httpContext; _orderRepository = orderRepository; _services = services; _paymentService = paymentService; _genericAttributeService = genericAttributeService; - _orderTotalCalculationService = orderTotalCalculationService; _currencyService = currencyService; _customerService = customerService; _countryService = countryService; _stateProvinceService = stateProvinceService; - _addressService = addressService; _orderService = orderService; _orderProcessingService = orderProcessingService; + _orderTotalCalculationService = orderTotalCalculationService; - _priceFormatter = priceFormatter; _dateTimeHelper = dateTimeHelper; _pluginFinder = pluginFinder; _authorizer = authorizer; _addressSettings = addressSettings; _orderSettings = orderSettings; _companyInformationSettings = companyInformationSettings; - _externalAuthenticationSettings = externalAuthenticationSettings; T = NullLocalizer.Instance; Logger = NullLogger.Instance; @@ -144,8 +133,7 @@ public void SetupConfiguration(ConfigurationModel model) model.KeyShareUrl = GetPluginUrl("ShareKey", store.SslEnabled); model.LanguageLocale = language.UniqueSeoCode.ToAmazonLanguageCode('_'); model.MerchantStoreDescription = store.Name.Truncate(2048); - - model.MerchantPrivacyNoticeUrl = urlHelper.RouteUrl("Topic", new { SeName = urlHelper.TopicSeName("privacyinfo") }, store.SslEnabled ? "https" : "http"); + model.MerchantPrivacyNoticeUrl = WebHelper.GetAbsoluteUrl(urlHelper.Topic("privacyinfo"), _httpContext.Request, protocol: store.SslEnabled ? "https" : "http"); model.MerchantSandboxIpnUrl = model.IpnUrl; model.MerchantProductionIpnUrl = model.IpnUrl; @@ -353,7 +341,11 @@ public AmazonPayViewModel CreateViewModel(AmazonPayRequestType type, TempDataDic var state = _httpContext.GetAmazonPayState(_services.Localization); model.OrderReferenceId = state.OrderReferenceId; model.AddressConsentToken = state.AccessToken; - //model.IsOrderConfirmed = state.IsOrderConfirmed; + model.IsConfirmed = state.IsConfirmed; + model.FormData = state.FormData; + model.SubmitForm = state.SubmitForm; + + state.SubmitForm = false; if (type == AmazonPayRequestType.ShippingMethod || type == AmazonPayRequestType.PaymentMethod) { @@ -365,8 +357,6 @@ public AmazonPayViewModel CreateViewModel(AmazonPayRequestType type, TempDataDic } } - var currency = store.PrimaryStoreCurrency; - model.SellerId = settings.SellerId; model.ClientId = settings.ClientId; model.IsShippable = cart.RequiresShipping(); @@ -391,12 +381,18 @@ public AmazonPayViewModel CreateViewModel(AmazonPayRequestType type, TempDataDic model.ButtonColor = settings.PayButtonColor; model.ButtonSize = settings.PayButtonSize; - var failedPaymentReason = _httpContext.Session["AmazonPayFailedPaymentReason"] as string; - if (failedPaymentReason.IsCaseInsensitiveEqual("AmazonRejected")) - { - model.Logout = true; - _services.Notifier.Error(new LocalizedString(T("Plugins.Payments.AmazonPay.AuthorizationSoftDeclineMessage"))); - } + var failureReason = _httpContext.Session["AmazonPayFailedPaymentReason"] as string; + if (failureReason.IsCaseInsensitiveEqual("AmazonRejected")) + { + model.Logout = true; + _services.Notifier.Error(new LocalizedString(T("Plugins.Payments.AmazonPay.AuthorizationSoftDeclineMessage"))); + } + else if (failureReason.IsCaseInsensitiveEqual("AuthenticationStatusFailure")) + { + model.Logout = true; + _services.Notifier.Error(new LocalizedString(T("Plugins.Payments.AmazonPay.AuthenticationStatusFailureMessage"))); + } + _httpContext.Session.SafeRemove("AmazonPayFailedPaymentReason"); } else if (type == AmazonPayRequestType.AuthenticationPublicInfo) @@ -489,24 +485,29 @@ public AmazonPayViewModel CreateViewModel(AmazonPayRequestType type, TempDataDic } else { - LogError(getOrderResponse); + LogError(getOrderRequest, getOrderResponse); } } } else if (type == AmazonPayRequestType.PaymentMethod) { - _genericAttributeService.SaveAttribute(customer, SystemCustomerAttributeNames.SelectedPaymentMethod, AmazonPayPlugin.SystemName, store.Id); + _genericAttributeService.SaveAttribute(customer, SystemCustomerAttributeNames.SelectedPaymentMethod, AmazonPayPlugin.SystemName, store.Id); - var failedPaymentReason = _httpContext.Session["AmazonPayFailedPaymentReason"] as string; - if (failedPaymentReason.IsCaseInsensitiveEqual("InvalidPaymentMethod")) + var paymentFailure = _httpContext.Session["AmazonPayFailedPaymentReason"] as string; + + if (paymentFailure.IsCaseInsensitiveEqual("InvalidPaymentMethod")) { _services.Notifier.Warning(new LocalizedString(T("Payment.PayingFailed"))); } - else if (failedPaymentReason.IsCaseInsensitiveEqual("PaymentMethodNotAllowed")) + else if (paymentFailure.IsCaseInsensitiveEqual("PaymentMethodNotAllowed")) { _services.Notifier.Warning(new LocalizedString(T("Plugins.Payments.AmazonPay.AuthorizationSoftDeclineMessage"))); } - else + else if (paymentFailure.IsCaseInsensitiveEqual("AuthenticationStatusAbandoned")) + { + _services.Notifier.Warning(new LocalizedString(T("Plugins.Payments.AmazonPay.AuthenticationStatusAbandonedMessage"))); + } + else { decimal? shoppingCartTotalBase = _orderTotalCalculationService.GetShoppingCartTotal(cart); if (shoppingCartTotalBase.HasValue) @@ -523,7 +524,7 @@ public AmazonPayViewModel CreateViewModel(AmazonPayRequestType type, TempDataDic var setOrderResponse = client.SetOrderReferenceDetails(setOrderRequest); if (!setOrderResponse.GetSuccess()) { - LogError(setOrderResponse); + LogError(setOrderRequest, setOrderResponse); } } } @@ -532,7 +533,7 @@ public AmazonPayViewModel CreateViewModel(AmazonPayRequestType type, TempDataDic var paymentRequest = _httpContext.Session["OrderPaymentInfo"] as ProcessPaymentRequest; if (paymentRequest == null) { - _httpContext.Session["OrderPaymentInfo"] = new ProcessPaymentRequest(); + _httpContext.Session["OrderPaymentInfo"] = new ProcessPaymentRequest { OrderGuid = Guid.NewGuid() }; } } else if (type == AmazonPayRequestType.OrderReviewData) @@ -540,8 +541,10 @@ public AmazonPayViewModel CreateViewModel(AmazonPayRequestType type, TempDataDic if (model.IsShippable) { var shippingOption = customer.GetAttribute(SystemCustomerAttributeNames.SelectedShippingOption, store.Id); - if (shippingOption != null) - model.ShippingMethod = shippingOption.Name; + if (shippingOption != null) + { + model.ShippingMethod = shippingOption.Name; + } } if (customer.BillingAddress != null) @@ -550,10 +553,10 @@ public AmazonPayViewModel CreateViewModel(AmazonPayRequestType type, TempDataDic } } } - catch (Exception exception) + catch (Exception ex) { - Logger.Error(exception); - _services.Notifier.Error(new LocalizedString(exception.Message)); + Logger.Error(ex); + _services.Notifier.Error(new LocalizedString(ex.Message)); } return model; @@ -630,7 +633,7 @@ private void ProcessCaptureResult(Client client, AmazonPaySettings settings, Ord } else { - LogError(authDetailsResponse); + LogError(authDetailsRequest, authDetailsResponse); } } @@ -792,7 +795,7 @@ public void CloseOrderReference(AmazonPaySettings settings, Order order) } else { - LogError(closeResponse, true); + LogError(closeRequest, closeResponse, true); } } } @@ -837,9 +840,9 @@ public void AddCustomerOrderNoteLoop(AmazonPayActionState state) Thread.Sleep(sleepMillSec); } } - catch (Exception exception) + catch (Exception ex) { - Logger.Error(exception); + Logger.Error(ex); } } @@ -920,101 +923,124 @@ public void GetBillingAddress() } else { - LogError(getOrderResponse); + LogError(getOrderRequest, getOrderResponse); } } - public PreProcessPaymentResult PreProcessPayment(ProcessPaymentRequest request) - { - // Fulfill the Amazon checkout. - var result = new PreProcessPaymentResult(); - - try - { - var store = _services.StoreService.GetStoreById(request.StoreId); - - if (!IsPaymentMethodActive(store.Id, true)) - { - result.AddError(T("Plugins.Payments.AmazonPay.PaymentMethodNotActive", store.Name)); - return result; - } - - var orderGuid = request.OrderGuid.ToString(); - var customer = _customerService.GetCustomerById(request.CustomerId); - var settings = _services.Settings.LoadSetting(store.Id); - var state = _httpContext.GetAmazonPayState(_services.Localization); - var client = CreateClient(settings); - - var failedPaymentReason = _httpContext.Session["AmazonPayFailedPaymentReason"] as string; - if (!failedPaymentReason.IsCaseInsensitiveEqual("InvalidPaymentMethod")) - { - var setOrderRequest = new SetOrderReferenceDetailsRequest() - .WithMerchantId(settings.SellerId) - .WithAmazonOrderReferenceId(state.OrderReferenceId) - .WithPlatformId(PlatformId) - .WithAmount(request.OrderTotal) - .WithCurrencyCode(ConvertCurrency(store.PrimaryStoreCurrency.CurrencyCode)) - .WithSellerOrderId(orderGuid) - .WithStoreName(store.Name); - - // See https://pay.amazon.com/de/developer/documentation/lpwa/201956480 - //{"SandboxSimulation":{"Constraint":"PaymentMethodNotAllowed"}} - //if (settings.UseSandbox) - //{ - // var orderReferenceNote = _services.Settings.GetSettingByKey("SmartStore.AmazonPay.SellerOrderReferenceNote"); - // if (orderReferenceNote.HasValue()) - // { - // setOrderRequest = setOrderRequest.WithSellerNote(orderReferenceNote); - // } - //} - - var setOrderResponse = client.SetOrderReferenceDetails(setOrderRequest); - if (setOrderResponse.GetSuccess()) - { - if (setOrderResponse.GetHasConstraint()) - { - var ids = setOrderResponse.GetConstraintIdList(); - var descriptions = setOrderResponse.GetDescriptionList(); - - foreach (var id in ids) - { - var idx = ids.IndexOf(id); - if (idx < descriptions.Count) - { - result.Errors.Add($"{descriptions[idx]} ({id})"); - } - - if (id.IsCaseInsensitiveEqual("PaymentMethodNotAllowed")) - { - // Must be redirected to checkout payment page. - _httpContext.Session["AmazonPayFailedPaymentReason"] = id; - - var urlHelper = new UrlHelper(_httpContext.Request.RequestContext); - _httpContext.Response.Redirect(urlHelper.Action("PaymentMethod", "Checkout", new { area = "" })); - } - } - } - } - else - { - var message = LogError(setOrderResponse); - result.AddError(message); - } - - if (!result.Success) - { - return result; - } - } - } - catch (Exception exception) - { - Logger.Error(exception); - result.AddError(exception.Message); - } - - return result; - } + public bool SetOrderReferenceDetails( + Client client, + AmazonPaySettings settings, + AmazonPayCheckoutState state, + string sellerNote, + out string errorMessage) + { + errorMessage = null; + + if (client == null) + { + client = CreateClient(settings); + } + + var store = _services.StoreContext.CurrentStore; + var customer = _services.WorkContext.CurrentCustomer; + var cart = customer.GetCartItems(ShoppingCartType.ShoppingCart, store.Id); + decimal? cartTotal = _orderTotalCalculationService.GetShoppingCartTotal(cart); + + var setOrderRequest = new SetOrderReferenceDetailsRequest() + .WithMerchantId(settings.SellerId) + .WithAmazonOrderReferenceId(state.OrderReferenceId) + .WithPlatformId(PlatformId) + .WithAmount(cartTotal) + .WithCurrencyCode(ConvertCurrency(store.PrimaryStoreCurrency.CurrencyCode)) + .WithStoreName(store.Name); + + var paymentRequest = _httpContext.Session["OrderPaymentInfo"] as ProcessPaymentRequest; + if (paymentRequest != null) + { + setOrderRequest = setOrderRequest.WithSellerOrderId(paymentRequest.OrderGuid.ToString()); + } + + if (sellerNote != null) + { + setOrderRequest = setOrderRequest.WithSellerNote(sellerNote); + } + + var setOrderResponse = client.SetOrderReferenceDetails(setOrderRequest); + if (!setOrderResponse.GetSuccess()) + { + errorMessage = LogError(setOrderRequest, setOrderResponse); + return false; + } + + if (setOrderResponse.GetHasConstraint()) + { + var ids = setOrderResponse.GetConstraintIdList(); + var descriptions = setOrderResponse.GetDescriptionList(); + + foreach (var id in ids) + { + var idx = ids.IndexOf(id); + if (idx < descriptions.Count) + { + errorMessage = $"{descriptions[idx]} ({id})"; + Logger.Error(errorMessage); + } + + if (id.IsCaseInsensitiveEqual("PaymentMethodNotAllowed")) + { + // Must be redirected to checkout payment page. + return false; + } + } + } + + return true; + } + + public bool ConfirmOrderReference() + { + try + { + var store = _services.StoreContext.CurrentStore; + var settings = _services.Settings.LoadSetting(store.Id); + var state = _httpContext.GetAmazonPayState(_services.Localization); + var client = CreateClient(settings); + + // Only call SetOrderReferenceDetailsRequest if it's in draft state, otherwise it returns InvalidOrderReferenceStatus error. + if (!state.DetailsSet && !SetOrderReferenceDetails(client, settings, state, null, out var _)) + { + return false; + } + + state.DetailsSet = true; + + var confirmationResultUrl = _services.WebHelper.GetStoreLocation() + "Plugins/SmartStore.AmazonPay/AmazonPayCheckout/ConfirmationResult"; + + // Confirm order. This already generates the payment object at Amazon. + // Can be called multiple times, for example to move the order reference object from suspended to open state. + var confirmRequest = new ConfirmOrderReferenceRequest() + .WithMerchantId(settings.SellerId) + .WithAmazonOrderReferenceId(state.OrderReferenceId) + .WithSuccessUrl(confirmationResultUrl); + + var confirmResponse = client.ConfirmOrderReference(confirmRequest); + if (confirmResponse.GetSuccess()) + { + state.IsConfirmed = true; + return true; + } + else + { + LogError(confirmRequest, confirmResponse); + return false; + } + } + catch (Exception ex) + { + Logger.Error(ex); + return false; + } + } public ProcessPaymentResult ProcessPayment(ProcessPaymentRequest request) { @@ -1037,30 +1063,24 @@ public ProcessPaymentResult ProcessPayment(ProcessPaymentRequest request) var captureNow = settings.TransactionType == AmazonPayTransactionType.AuthorizeAndCapture; var state = _httpContext.GetAmazonPayState(_services.Localization); var client = CreateClient(settings); - AuthorizeResponse authResponse = null; + AuthorizeRequest authRequest = null; + AuthorizeResponse authResponse = null; informCustomerAboutErrors = settings.InformCustomerAboutErrors; informCustomerAddErrors = settings.InformCustomerAddErrors; - // Confirm order. This already generates the payment object at Amazon. - var confirmRequest = new ConfirmOrderReferenceRequest() - .WithMerchantId(settings.SellerId) - .WithAmazonOrderReferenceId(state.OrderReferenceId); - - client.ConfirmOrderReference(confirmRequest); - // Authorize. if (settings.AuthorizeMethod == AmazonPayAuthorizeMethod.Omnichronous) { // First try synchronously. - authResponse = AuthorizePayment(settings, state, store, request, client, true); + authResponse = AuthorizePayment(settings, state, store, request, client, true, out authRequest); if (authResponse.GetAuthorizationState().IsCaseInsensitiveEqual("Declined") && authResponse.GetReasonCode().IsCaseInsensitiveEqual("TransactionTimedOut")) { // Second try asynchronously. // Transaction is always in pending state after return. - authResponse = AuthorizePayment(settings, state, store, request, client, false); + authResponse = AuthorizePayment(settings, state, store, request, client, false, out authRequest); } else { @@ -1070,7 +1090,7 @@ public ProcessPaymentResult ProcessPayment(ProcessPaymentRequest request) else { isSynchronous = settings.AuthorizeMethod == AmazonPayAuthorizeMethod.Synchronous; - authResponse = AuthorizePayment(settings, state, store, request, client, isSynchronous); + authResponse = AuthorizePayment(settings, state, store, request, client, isSynchronous, out authRequest); } // Process authorization response. @@ -1128,6 +1148,10 @@ public ProcessPaymentResult ProcessPayment(ProcessPaymentRequest request) // Must be redirected to checkout payment page. _httpContext.Session["AmazonPayFailedPaymentReason"] = reason; + // Review: confirmation required to get order reference object from suspended to open state again. + state.IsConfirmed = false; + state.FormData = null; + var urlHelper = new UrlHelper(_httpContext.Request.RequestContext); _httpContext.Response.Redirect(urlHelper.Action("PaymentMethod", "Checkout", new { area = "" })); } @@ -1135,13 +1159,13 @@ public ProcessPaymentResult ProcessPayment(ProcessPaymentRequest request) } else { - error = LogError(authResponse); + error = LogError(authRequest, authResponse); } } - catch (Exception exception) + catch (Exception ex) { - Logger.Error(exception); - error = exception.Message; + Logger.Error(ex); + error = ex.Message; } if (error.HasValue()) @@ -1168,12 +1192,12 @@ public ProcessPaymentResult ProcessPayment(ProcessPaymentRequest request) state.Errors.AddRange(orderNoteErrors); } - AsyncRunner.Run((container, ct, o) => + AsyncRunner.Run((c, ct, o) => { var obj = o as AmazonPayActionState; - container.Resolve().AddCustomerOrderNoteLoop(obj); + c.Resolve().AddCustomerOrderNoteLoop(obj); }, - state, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); + state); } return result; @@ -1225,7 +1249,7 @@ public void PostProcessPayment(PostProcessPaymentRequest request) } else { - LogError(closeResponse, true); + LogError(closeRequest, closeResponse, true); } } @@ -1272,7 +1296,7 @@ public CapturePaymentResult Capture(CapturePaymentRequest request) } else { - var message = LogError(captureResponse); + var message = LogError(captureRequest, captureResponse); result.AddError(message); } } @@ -1325,7 +1349,7 @@ public RefundPaymentResult Refund(RefundPaymentRequest request) } else { - var message = LogError(refundResponse); + var message = LogError(refundRequest, refundResponse); result.AddError(message); } } @@ -1380,7 +1404,7 @@ public VoidPaymentResult Void(VoidPaymentRequest request) } else { - var message = LogError(cancelResponse); + var message = LogError(cancelRequest, cancelResponse); result.AddError(message); } } @@ -1551,7 +1575,7 @@ orderby x.Id descending } else { - LogError(authDetailsResponse); + LogError(authDetailsRequest, authDetailsResponse); } } @@ -1579,7 +1603,7 @@ orderby x.Id descending } else { - LogError(captureDetailsResponse); + LogError(captureDetailsRequest, captureDetailsResponse); } } } diff --git a/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayServiceHelper.cs b/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayServiceHelper.cs index 11e22c003b..baf21a850a 100644 --- a/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayServiceHelper.cs +++ b/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayServiceHelper.cs @@ -441,11 +441,18 @@ private string GetRandomId(string prefix) return str.Truncate(32); } - private string LogError(IResponse response, bool isWarning = false) + private string LogError(DelegateRequest request, IResponse response, bool isWarning = false) { - var message = $"{response.GetErrorMessage().NaIfEmpty()} ({response.GetErrorCode().NaIfEmpty()})"; + var message = string.Empty; - Logger.Log(isWarning ? LogLevel.Warning : LogLevel.Error, new Exception(response.GetJson()), message, null); + if (response != null) + { + var requestMethod = request != null ? request.GetAction() : null; + + message = $"{requestMethod.NaIfEmpty()} --> {response.GetErrorCode().NaIfEmpty()}. {response.GetErrorMessage().NaIfEmpty()}"; + + Logger.Log(isWarning ? LogLevel.Warning : LogLevel.Error, new Exception(response.GetJson()), message, null); + } return message; } @@ -563,9 +570,10 @@ private AuthorizeResponse AuthorizePayment( Store store, ProcessPaymentRequest request, Client client, - bool synchronously) + bool synchronously, + out AuthorizeRequest authRequest) { - var authRequest = new AuthorizeRequest() + authRequest = new AuthorizeRequest() .WithMerchantId(settings.SellerId) .WithAmazonOrderReferenceId(state.OrderReferenceId) .WithAuthorizationReferenceId(GetRandomId("Authorize")) @@ -578,19 +586,16 @@ private AuthorizeResponse AuthorizePayment( authRequest = authRequest.WithTransactionTimeout(0); } - // See https://pay.amazon.com/de/developer/documentation/lpwa/201956480 - //{"SandboxSimulation": {"State":"Declined", "ReasonCode":"InvalidPaymentMethod", "PaymentMethodUpdateTimeInMins":5}} - //{"SandboxSimulation": {"State":"Declined", "ReasonCode":"AmazonRejected"}} - //if (settings.UseSandbox) - //{ - // var authNote = _services.Settings.GetSettingByKey("SmartStore.AmazonPay.SellerAuthorizationNote"); - // if (authNote.HasValue()) - // { - // authRequest = authRequest.WithSellerAuthorizationNote(authNote); - // } - //} - - var authResponse = client.Authorize(authRequest); + // See https://pay.amazon.com/de/developer/documentation/lpwa/201956480 + //{"SandboxSimulation": {"State":"Declined", "ReasonCode":"InvalidPaymentMethod", "PaymentMethodUpdateTimeInMins":5}} + //{"SandboxSimulation": {"State":"Declined", "ReasonCode":"AmazonRejected"}} + //if (settings.UseSandbox) + //{ + // var authNote = _services.Settings.GetSettingByKey("SmartStore.AmazonPay.SellerAuthorizationNote"); + // authRequest = authRequest.WithSellerAuthorizationNote(authNote); + //} + + var authResponse = client.Authorize(authRequest); return authResponse; } } diff --git a/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayUtilities.cs b/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayUtilities.cs index 7d54a8456b..8836575653 100644 --- a/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayUtilities.cs +++ b/src/Plugins/SmartStore.AmazonPay/Services/AmazonPayUtilities.cs @@ -10,7 +10,13 @@ public class AmazonPayCheckoutState { public string OrderReferenceId { get; set; } public string AccessToken { get; set; } - } + + // Confirmation flow. + public bool DetailsSet { get; set; } + public bool IsConfirmed { get; set; } + public string FormData { get; set; } + public bool SubmitForm { get; set; } + } public class AmazonPayActionState diff --git a/src/Plugins/SmartStore.AmazonPay/Services/IAmazonPayService.cs b/src/Plugins/SmartStore.AmazonPay/Services/IAmazonPayService.cs index 6f3f727d48..f4adc780e2 100644 --- a/src/Plugins/SmartStore.AmazonPay/Services/IAmazonPayService.cs +++ b/src/Plugins/SmartStore.AmazonPay/Services/IAmazonPayService.cs @@ -1,5 +1,6 @@ using System.Web; using System.Web.Mvc; +using AmazonPay; using SmartStore.AmazonPay.Models; using SmartStore.Core.Domain.Orders; using SmartStore.Services.Authentication.External; @@ -7,7 +8,7 @@ namespace SmartStore.AmazonPay.Services { - public partial interface IAmazonPayService : IExternalProviderAuthorizer + public partial interface IAmazonPayService : IExternalProviderAuthorizer { void SetupConfiguration(ConfigurationModel model); @@ -19,7 +20,14 @@ public partial interface IAmazonPayService : IExternalProviderAuthorizer void GetBillingAddress(); - PreProcessPaymentResult PreProcessPayment(ProcessPaymentRequest request); + bool SetOrderReferenceDetails( + Client client, + AmazonPaySettings settings, + AmazonPayCheckoutState state, + string sellerNote, + out string errorMessage); + + bool ConfirmOrderReference(); ProcessPaymentResult ProcessPayment(ProcessPaymentRequest request); diff --git a/src/Plugins/SmartStore.AmazonPay/Services/Internal/AmazonPayExtensions.cs b/src/Plugins/SmartStore.AmazonPay/Services/Internal/AmazonPayExtensions.cs index f77931cc01..1eb4378dfa 100644 --- a/src/Plugins/SmartStore.AmazonPay/Services/Internal/AmazonPayExtensions.cs +++ b/src/Plugins/SmartStore.AmazonPay/Services/Internal/AmazonPayExtensions.cs @@ -116,7 +116,7 @@ internal static AmazonPayCheckoutState GetAmazonPayState(this HttpContextBase ht return state; } - internal static Order GetOrderByAmazonId(this IRepository orderRepository, string amazonId) + internal static Order GetOrderByAmazonId(this IRepository orderRepository, string amazonId) { // S02-9777218-8608106 OrderReferenceId // S02-9777218-8608106-A088344 Auth ID diff --git a/src/Plugins/SmartStore.AmazonPay/SmartStore.AmazonPay.csproj b/src/Plugins/SmartStore.AmazonPay/SmartStore.AmazonPay.csproj index 4f7473a224..b2db65457e 100644 --- a/src/Plugins/SmartStore.AmazonPay/SmartStore.AmazonPay.csproj +++ b/src/Plugins/SmartStore.AmazonPay/SmartStore.AmazonPay.csproj @@ -1,6 +1,6 @@  - - + + @@ -78,15 +78,17 @@ MinimumRecommendedRules.ruleset - - ..\..\packages\AmazonPay.3.3.1\lib\net20\AmazonPay.dll + + ..\..\packages\AmazonPay.3.5.0\lib\net20\AmazonPay.dll True - - ..\..\packages\Autofac.4.5.0\lib\net45\Autofac.dll + + ..\..\packages\Autofac.4.9.0\lib\net45\Autofac.dll + False ..\..\packages\Autofac.Mvc5.4.0.2\lib\net45\Autofac.Integration.Mvc.dll + False ..\..\packages\Common.Logging.2.0.0\lib\2.0\Common.Logging.dll @@ -94,9 +96,10 @@ ..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll + False - - ..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll + + ..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll False @@ -108,32 +111,32 @@ + + - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.Helpers.dll + False - - False - ..\..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll + + ..\..\packages\Microsoft.AspNet.Mvc.5.2.7\lib\net45\System.Web.Mvc.dll + False - False - ..\..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll + ..\..\packages\Microsoft.AspNet.Razor.3.2.7\lib\net45\System.Web.Razor.dll + False - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.dll + False - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Deployment.dll + False - False - ..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll + ..\..\packages\Microsoft.AspNet.WebPages.3.2.7\lib\net45\System.Web.WebPages.Razor.dll + False - - @@ -179,6 +182,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest @@ -285,9 +291,9 @@ - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}". - + + + \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Localization/resources.en-us.xml b/src/Plugins/SmartStore.PayPal/Localization/resources.en-us.xml index d0a439de43..5e14838769 100644 --- a/src/Plugins/SmartStore.PayPal/Localization/resources.en-us.xml +++ b/src/Plugins/SmartStore.PayPal/Localization/resources.en-us.xml @@ -1,389 +1,407 @@  + + PayPal Payment Methods + + + Provides the PayPal payment methods. + + + PayPal + - - PayPal Payment Methods - - - Provides the PayPal payment methods PayPal Standard, PayPal Direct, PayPal Express and PayPal PLUS. - + + Including financing example + + + Only text + - - API access;Data exchange;Miscellaneous - - - {0}]]> - - - Message;Event;Event-ID;State;Amount;Payment-ID - - - Miscellaneous - - - The execution of the payment has been declined by PayPal. - - - {0} hat die Forderung gegen Sie im Rahmen eines laufenden Factoringvertrages an die PayPal (Europe) S.àr.l. et Cie, S.C.A. abgetreten. Zahlungen mit schuldbefreiender Wirkung können nur an die PayPal (Europe) S.àr.l. et Cie, S.C.A. geleistet werden. - - - Please transfer the due amount to the following bank account. - - - Reference;Bank routing number;Bank;BIC;IBAN;Account holder;Account number;Amount;Payment due date;Details - - - Message has been ignored because {0} orders with payment ID {1} found. - - - Currency {0} does not equal primary store currency {1}. - - - No redirect URL received from PayPal. - - - Missing API access token. Method {0} for path {1}. - - - The PayPal session expired. Please try again. - - - PayPal was unable to verify the transmitted data. - + + Access data + + + {0}]]> + + + Message;Event;Event-ID;State;Amount;Payment-ID + + + Miscellaneous + + + The execution of the payment has been declined by PayPal. + + + {0} hat die Forderung gegen Sie im Rahmen eines laufenden Factoringvertrages an die PayPal (Europe) S.àr.l. et Cie, S.C.A. abgetreten. Zahlungen mit schuldbefreiender Wirkung können nur an die PayPal (Europe) S.àr.l. et Cie, S.C.A. geleistet werden. + + + Please transfer the due amount to the following bank account. + + + Reference;Bank routing number;Bank;BIC;IBAN;Account holder;Account number;Amount;Payment due date;Details + + + Message has been ignored because {0} orders with payment ID {1} found. + + + Currency {0} does not equal primary store currency {1}. + + + No redirect URL received from PayPal. + + + Missing API access token. Method {0} for path {1}. + + + The PayPal session expired. Please try again. + + + PayPal was unable to verify the transmitted data. + + + Promotion + + + Unfortunately, the payment method you have chosen cannot be offered to you. Please select another payment method. + + + The credentials are invalid. + - - Client ID - - - Specifies the API client ID. - - - Secret - - - Specifies the API secret. - - - Please enter your API credentials. - - - Experience profile ID - - - Specifies the experience profile ID. The profile contains global data like shop name and logo. A profile needs to be created only once. Using the button, you can create a new profile or update an existing one. - - - Webhook ID - - - Specifies the webhook ID. PayPal sends payment status changes via a webhook to your shop, whereby the payment status of your orders can be automatically synced. - + + Client ID + + + Specifies the API client ID. + + + Secret + + + Specifies the API secret. + + + Please enter your API credentials. + + + Experience profile ID + + + Specifies the experience profile ID. The profile contains global data like shop name and logo. A profile needs to be created only once. Using the button, you can create a new profile or update an existing one. + + + Webhook ID + + + Specifies the webhook ID. PayPal sends payment status changes via a webhook to your shop, whereby the payment status of your orders can be automatically synced. + - - - - Use Sandbox - - - Check the box to enable Sandbox (testing environment). - - - IPN may change payment status - - - Specifies whether received IPNs should change the payment status of an order. - - - Transaction mode - - - Specify the payment transaction mode. - - - API Account Name - - - Specify the API account name. - - - API Account Password - - - Specify the API account password. - - - Signature - - - Enter the signature. - - - Show PayPal address - - - Specifies whether to show the shipping address stored at PayPal (address_override). - - - Shipping address required - - - Specifies whether a shipping address is required (no_shipping). - - - The payment method is not active ({0}). - - - PayPal IPN. Recurring payment. - - - PayPal IPN. Order cannot be found. - - - Irregular PayPal IPN. The value of field '{0}' is missing. - - - PayPal IPN. Failed to retrieve notification. - - - Partial refund of {0} - - - Payment method fee - - - Discount - - - Giftcard Applied - - - - - - PayPal Express - - - - - - + + + Use Sandbox + + + Check the box to enable Sandbox (testing environment). + + + IPN may change payment status + + + Specifies whether received IPNs should change the payment status of an order. + + + Transaction mode + + + Specify the payment transaction mode. + + + API Account Name + + + Specify the API account name. + + + API Account Password + + + Specify the API account password. + + + Signature + + + Enter the signature. + + + Show PayPal address + + + Specifies whether to show the shipping address stored at PayPal (address_override). + + + Shipping address required + + + Specifies whether a shipping address is required (no_shipping). + + + The payment method is not active ({0}). + + + PayPal IPN. Recurring payment. + + + PayPal IPN. Order cannot be found. + + + Irregular PayPal IPN. The value of field '{0}' is missing. + + + PayPal IPN. Failed to retrieve notification. + + + Partial refund of {0} + + + Payment method fee + + + Discount + + + Giftcard Applied + + + + + + PayPal Express + + + + + + If you're using this gateway ensure that your primary store currency is supported by Paypal!

          1. Log into your PayPal account.
          2. -
          3. Click on Profile from the Home Menu.
          4. -
          5. Under Account Information choose API Access.
          6. -
          7. Choose Request API credentials.
          8. -
          9. Choose API Signature as the credential type.
          10. -
          11. Enable the checkbox and agree to the license Terms-I agree to the API Certificate Terms of Use and terms incorporated therein and press the Submit button.
          12. +
          13. Click on Profile from the Home Menu.
          14. +
          15. Under Account Information choose API Access.
          16. +
          17. Choose Request API credentials.
          18. +
          19. Choose API Signature as the credential type.
          20. +
          21. Enable the checkbox and agree to the license Terms-I agree to the API Certificate Terms of Use and terms incorporated therein and press the Submit button.

          Before being able to receive IPN (Instant Payment Notification) messages (optional), you'll need to activate this service; follow these steps:

          1. Log in to your Premier or Business account.
          2. Click the Profile subtab.
          3. -
          4. Click Language Encoding and More options and select UTF-8.
          5. -
          6. Click Instant Payment Notification in the Selling Preferences column.
          7. -
          8. Click the Edit IPN Settings button to update your settings.
          9. -
          10. Select Receive IPN messages (enabled) and enter the URL of your IPN handler (https://www.yourStore.com/Plugins/SmartStore.PayPal/PayPalExpress/IPNHandler).
          11. -
          12. Click Save, and you should get a message that you have successfully activated IPN.
          13. +
          14. Click Language Encoding and More options and select UTF-8.
          15. +
          16. Click Instant Payment Notification in the Selling Preferences column.
          17. +
          18. Click the Edit IPN Settings button to update your settings.
          19. +
          20. Select Receive IPN messages (enabled) and enter the URL of your IPN handler (https://www.yourStore.com/Plugins/SmartStore.PayPal/PayPalExpress/IPNHandler).
          21. +
          22. Click Save, and you should get a message that you have successfully activated IPN.
          ]]> -
          -
          - - recurring payment - - - Not supported cycle period. - - - Immediately debit - - - Authorize immediately, debit later - - - Show button in mini shopping cart - - - Soecifies to show the checkout button in the mini shopping cart. - - - Confirmed email address - - - Choose whether the used email address has to be confirmed by PayPal. - - - Disable display of the shipping address. - - - Disables display of the shipping address. - - - Timeout for API callback - - - Determines the timeout for API callbacks. - - - Shipping costs (fallback) - - - Determines shipping costs if no other could be obtained. - -
          -
          + +
          + + recurring payment + + + Not supported cycle period. + + + Immediately debit + + + Authorize immediately, debit later + + + Show button in mini shopping cart + + + Soecifies to show the checkout button in the mini shopping cart. + + + Confirmed email address + + + Choose whether the used email address has to be confirmed by PayPal. + + + Disable display of the shipping address. + + + Disables display of the shipping address. + + + Timeout for API callback + + + Determines the timeout for API callbacks. + + + Shipping costs (fallback) + + + Determines shipping costs if no other could be obtained. + + +
          - - PayPal Direct - - - - - - If you're using this gateway ensure that your primary store currency is supported by Paypal!

          + + PayPal Direct + + + + + + If you're using this gateway ensure that your primary store currency is supported by Paypal!

          1. Log into your PayPal account.
          2. -
          3. Click on Profile from the Home Menu.
          4. -
          5. Under Account Information choose API Access.
          6. -
          7. Choose Request API credentials.
          8. -
          9. Choose API Signature as the credential type.
          10. -
          11. Enable the checkbox and agree to the license Terms-I agree to the API Certificate Terms of Use and terms incorporated therein and press the Submit button.
          12. +
          13. Click on Profile from the Home Menu.
          14. +
          15. Under Account Information choose API Access.
          16. +
          17. Choose Request API credentials.
          18. +
          19. Choose API Signature as the credential type.
          20. +
          21. Enable the checkbox and agree to the license Terms-I agree to the API Certificate Terms of Use and terms incorporated therein and press the Submit button.

          Before being able to receive IPN (Instant Payment Notification) messages (optional), you'll need to activate this service; follow these steps:

          1. Log in to your Premier or Business account.
          2. Click the Profile subtab.
          3. -
          4. Click Language Encoding and More options and select UTF-8.
          5. -
          6. Click Instant Payment Notification in the Selling Preferences column.
          7. -
          8. Click the Edit IPN Settings button to update your settings.
          9. -
          10. Select Receive IPN messages (enabled) and enter the URL of your IPN handler (https://www.yourStore.com/Plugins/SmartStore.PayPal/PayPalDirect/IPNHandler).
          11. -
          12. Click Save, and you should get a message that you have successfully activated IPN.
          13. +
          14. Click Language Encoding and More options and select UTF-8.
          15. +
          16. Click Instant Payment Notification in the Selling Preferences column.
          17. +
          18. Click the Edit IPN Settings button to update your settings.
          19. +
          20. Select Receive IPN messages (enabled) and enter the URL of your IPN handler (https://www.yourStore.com/Plugins/SmartStore.PayPal/PayPalDirect/IPNHandler).
          21. +
          22. Click Save, and you should get a message that you have successfully activated IPN.
          ]]> -
          -
          - - recurring payment - - - Not supported cycle period. - - - Immediately debit - - - Authorize immediately, debit later - -
          -
          +
          +
          + + recurring payment + + + Not supported cycle period. + + + Immediately debit + + + Authorize immediately, debit later + +
          +
          - - PayPal Standard - - - - - - If you're using this gateway ensure that your primary store currency is supported by Paypal.

          + + PayPal Standard + + + + + + If you're using this gateway ensure that your primary store currency is supported by Paypal.

          To use PDT (Payment Data Transfer), you must activate PDT and Auto Return in your PayPal account profile. You must also acquire a PDT identity token, which is used in all PDT communication you send to PayPal. Follow these steps to configure your account for PDT:

          1. Log in to your PayPal account.
          2. -
          3. Click the Profile subtab.
          4. -
          5. Click Website Payment Preferences in the Seller Preferences column.
          6. -
          7. Under Auto Return for Website Payments, click the On radio button.
          8. -
          9. For the Return URL, enter the URL on your site that will receive the transaction ID posted by PayPal after a customer payment (https://www.yourStore.com/Plugins/SmartStore.PayPal/PayPalStandard/PDTHandler).
          10. -
          11. Under Payment Data Transfer, click the On radio button.
          12. -
          13. Click Save.
          14. -
          15. Click Website Payment Preferences in the Seller Preferences column.
          16. -
          17. Scroll down to Payment Data Transfer of the page to view your PDT identity token.
          18. +
          19. Click the Profile subtab.
          20. +
          21. Click Website Payment Preferences in the Seller Preferences column.
          22. +
          23. Under Auto Return for Website Payments, click the On radio button.
          24. +
          25. For the Return URL, enter the URL on your site that will receive the transaction ID posted by PayPal after a customer payment (https://www.yourStore.com/Plugins/SmartStore.PayPal/PayPalStandard/PDTHandler).
          26. +
          27. Under Payment Data Transfer, click the On radio button.
          28. +
          29. Click Save.
          30. +
          31. Click Website Payment Preferences in the Seller Preferences column.
          32. +
          33. Scroll down to Payment Data Transfer of the page to view your PDT identity token.

          Two ways to be able to receive IPN (Instant Payment Notification) messages (optional):

            -
          1. Check Enable IPN below. It will include in the request the url of you IPN handler.
          2. +
          3. Check Enable IPN below. It will include in the request the url of you IPN handler.
          4. The second way is to configure your paypal account to activate this service; follow these steps:
            1. Log in to your Premier or Business account.
            2. -
            3. Click the Profile subtab.
            4. -
            5. Click Language Encoding and More options and select UTF-8.
            6. -
            7. Back to Profile click Instant Payment Notification in the Selling Preferences column.
            8. -
            9. Click the Edit IPN Settings button to update your settings.
            10. -
            11. Select Receive IPN messages (Enabled) and enter the URL of your IPN handler (https://www.yourStore.com/Plugins/SmartStore.PayPal/PayPalStandard/IPNHandler).
            12. -
            13. Click Save, and you should get a message that you have successfully activated IPN.
            14. +
            15. Click the Profile subtab.
            16. +
            17. Click Language Encoding and More options and select UTF-8.
            18. +
            19. Back to Profile click Instant Payment Notification in the Selling Preferences column.
            20. +
            21. Click the Edit IPN Settings button to update your settings.
            22. +
            23. Select Receive IPN messages (Enabled) and enter the URL of your IPN handler (https://www.yourStore.com/Plugins/SmartStore.PayPal/PayPalStandard/IPNHandler).
            24. +
            25. Click Save, and you should get a message that you have successfully activated IPN.
          ]]> -
          -
          - - After confirmation of the order, you will be redirected straight to PayPal. Please provide your data for online banking. - - - Business Email - - - Specify your PayPal business email. - - - PDT Identity Token - - - Specify PDT identity token - - - Validate order total - - - Check the box if the PDT handler should validate PayPal's order totals. - - - Only warn - - - Specifies whether to add an order note if the order total is unequal. Otherwise an error will be logged and the payment status is not updated. - - - Transmit product names and unit prices - - - Check the box if product names and unit prices should be transmitted to PayPal. - - - Enable IPN - - - Check the box if IPN (Instant Payment Notification) is enabled. - - - Please leave blank to use the default IPN handler URL. - - - IPN Handler - - - Specify IPN Handler. - - - PayPal Standard PDT. Error getting mc_gross. - - - PayPal Standard PDT. Returned order total {0} doesn't equal order total {1} (not rounded {2}). The difference is {3}. - - - PayPal Standard PDT failed. - - - Incomplete credentials for the PayPal API. Please enter the required data in the configuration area. - - - Shipping fee - - - Sales tax - - - - + + + After confirmation of the order, you will be redirected straight to PayPal. Please provide your data for online banking. + + + Business Email + + + Specify your PayPal business email. + + + PDT Identity Token + + + Specify PDT identity token + + + Validate order total + + + Check the box if the PDT handler should validate PayPal's order totals. + + + Only warn + + + Specifies whether to add an order note if the order total is unequal. Otherwise an error will be logged and the payment status is not updated. + + + Transmit product names and unit prices + + + Check the box if product names and unit prices should be transmitted to PayPal. + + + Enable IPN + + + Check the box if IPN (Instant Payment Notification) is enabled. + + + Please leave blank to use the default IPN handler URL. + + + IPN Handler + + + Specify IPN Handler. + + + PayPal Standard PDT. Error getting mc_gross. + + + PayPal Standard PDT. Returned order total {0} doesn't equal order total {1} (not rounded {2}). The difference is {3}. + + + PayPal Standard PDT failed. + + + Incomplete credentials for the PayPal API. Please enter the required data in the configuration area. + + + Shipping fee + + + Sales tax + + + + - - -
          -
          +
          +
          +
          +
          - - PayPal PLUS - - - - - - PayPal PLUS is a solution where PayPal offers PayPal, Credit Card, Direct Debit (ELV) and pay upon invoice as individual payment options on the payment selection page. + + PayPal PLUS + + + + + + PayPal PLUS is a solution where PayPal offers PayPal, Credit Card, Direct Debit (ELV) and pay upon invoice as individual payment options on the payment selection page. Pay upon invoice may not be available for all merchants. PayPal PLUS only supports the transaction type of instant settlement and is only available in Germany at the moment.

          -

          PayPal PLUS replaces the list of payment methods in checkout by the PayPal payment wall. You can add up to 5 offline or redirection payment methods to the payment wall.

          +

          PayPal PLUS replaces the list of payment methods in checkout by the PayPal payment wall. You can add up to 10 offline or redirection payment methods to the payment wall.

          How to set up PayPal PLUS:

            -
          1. Create a new REST API application under My Apps & Credentials. -Go to Manage your applications to get more information about PayPal applications.
          2. -
          3. Click the name of the application and enter Client-ID and Secret below on this page. Save.
          4. -
          5. Optional: Click Add next to Experience profile ID to create a new profile. Your shop data (name, logo etc.) can now be displayed to customers when paying on PayPal pages.
          6. -
          7. Optional: Click Add next to Webhook-ID to create a webhook. Through a webhook the shop receives PayPal messages und possibly updates the payment state of your orders.
          8. -

          To define images for other payment methods, you have to store files with the following name pattern in the content folder of the plugin: branding.<Plugin-Systemname|Provider-Systemname>.<jpg|jpeg|png|gif>
          For prepayment the pfad is for example \Plugins\SmartStore.OfflinePayment\Content\branding.Payments.Prepayment.jpg. Important: The shop must support SSL for this.

          ]]> -
          -
          - - Unfortunately we cannot offer you a PayPal PLUS payment method. Please try again later. - - - I'm sorry, that just didn't work. Please try again or select another payment method. - - - .]]> - - - More payment methods - - - You can set up to 5 more payment methods. These are offered along with the PayPal PLUS payment methods during the checkout process. - - - Maximum of 5 third party payment methods can be specified. - - - Display logo of other payment methods - - - Specifies whether to display the logo for other payment methods. SSL required. - - - Display description of other payment methods - - - Specifies whether to display the description for other payment methods. - -
          -
          +
        • Create a new REST API application under My Apps & Credentials. +Go to Manage your applications to get more information about PayPal applications.
        • +
        • Click the name of the application and enter Client-ID and Secret below on this page. Save.
        • +
        • Optional: Click Add next to Experience profile ID to create a new profile. Your shop data (name, logo etc.) can now be displayed to customers when paying on PayPal pages.
        • +
        • Optional: Click Add next to Webhook-ID to create a webhook. Through a webhook the shop receives PayPal messages und possibly updates the payment state of your orders.
        • +

          To define images for other payment methods, you have to store files with the following name pattern in the content folder of the plugin: branding.<Plugin-Systemname|Provider-Systemname>.<jpg|jpeg|png|gif>
          For prepayment the pfad is for example \Plugins\SmartStore.OfflinePayment\Content\branding.Payments.Prepayment.jpg. Important: The shop must support SSL for this.

          ]]> +
          +
          + + Unfortunately we cannot offer you a PayPal PLUS payment method. Please try again later. + + + I'm sorry, that just didn't work. Please try again or select another payment method. + + + .]]> + + + More payment methods + + + You can set up to 5 more payment methods. These are offered along with the PayPal PLUS payment methods during the checkout process. + + + Display logo of other payment methods + + + Specifies whether to display the logo for other payment methods. SSL required. + + + Display description of other payment methods + + + Specifies whether to display the description for other payment methods. + +
          +
          + + + Ratenzahlung Powered by PayPal + + + + Installment + + + + + How to set up Ratenzahlung Powered by PayPal:

          +
            +
          1. Create a new REST API application under My Apps & Credentials. +Go to Manage your applications to get more information about PayPal applications.
          2. +
          3. Click the name of the application and enter Client-ID and Secret below on this page. Save.
          4. +
          5. Optional: Click Add next to Experience profile ID to create a new profile. Your shop data (name, logo etc.) can now be displayed to customers when paying on PayPal pages.
          6. +
          7. Optional: Click Add next to Webhook-ID to create a webhook. Through a webhook the shop receives PayPal messages und possibly updates the payment state of your orders.
          8. +

          Once an order has been placed, the order total and order items may no longer be changed!

          ]]> +
          +
          + + We enable you to finance your purchase with the payment in installments powered by PayPal. In seconds, fully online, subject to credit check. + + + Financing costs + + + Total incl. financing costs + + + Information on possible rates. + + + Financing wanted? + + + Financing from {0} per month. + + + Financing from {0} in {1} monthly installments. + + + Representative example according to § 6a PAngV + + + Plan {0} + + + Net loan amount + + + Fixed nominal rate + + + Annual percentage rate + + + Total payable amount + + + {0} monthly installments in the amount of + + + last installment of + + + Interest amount + + + No financing details are available. + + + Pay conveniently and easily in monthly installments. + + + You can select your installment payment and the appropriate financing plan during the ordering process. Your application is processed online via Ratenzahlung Powered by PayPal and can be completed here in the shop in just a few steps. + + + Minimum financing amount + + + Specifies the minimum anount from which to offer a payment in installments. + + + Maximum financing amount + + + Specifies the maximum amount up to which to offer a payment in installments. + + + On product pages + + + Specifies whether and how to promote payment in installments on product pages. + + + On cart page + + + Specifies whether and how to promote payment in installments on the cart page. + + + When selecting payment methods + + + Specifies whether and how to promote when selecting payment methods. + + + Lender + + + Company name and address. + + +
          +
          \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Models/ApiConfigurationModels.cs b/src/Plugins/SmartStore.PayPal/Models/ApiConfigurationModels.cs index 81f7bc46eb..65d8c5b6af 100644 --- a/src/Plugins/SmartStore.PayPal/Models/ApiConfigurationModels.cs +++ b/src/Plugins/SmartStore.PayPal/Models/ApiConfigurationModels.cs @@ -1,19 +1,13 @@ -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations; using SmartStore.ComponentModel; using SmartStore.PayPal.Settings; using SmartStore.Web.Framework; using SmartStore.Web.Framework.Modelling; -using SmartStore.Web.Framework.Validators; -using SmartStore.Core.Localization; -using System; -using FluentValidation; namespace SmartStore.PayPal.Models { - public abstract class ApiConfigurationModel : ModelBase + public abstract class ApiConfigurationModel : ModelBase { - public string[] ConfigGroups { get; set; } public string PrimaryStoreCurrencyCode { get; set; } [SmartResourceDisplayName("Plugins.Payments.PayPal.UseSandbox")] @@ -107,68 +101,5 @@ public void Copy(PayPalExpressPaymentSettings settings, bool fromSettings) settings.Signature = Signature.TrimSafe(); } } - } - - public class PayPalPlusConfigurationModel : ApiConfigurationModel - { - public PayPalPlusConfigurationModel() - { - TransactMode = TransactMode.AuthorizeAndCapture; - } - - [SmartResourceDisplayName("Plugins.Payments.PayPalPlus.ThirdPartyPaymentMethods")] - public List ThirdPartyPaymentMethods { get; set; } - public IList AvailableThirdPartyPaymentMethods { get; set; } - - [SmartResourceDisplayName("Plugins.Payments.PayPalPlus.DisplayPaymentMethodLogo")] - public bool DisplayPaymentMethodLogo { get; set; } - - [SmartResourceDisplayName("Plugins.Payments.PayPalPlus.DisplayPaymentMethodDescription")] - public bool DisplayPaymentMethodDescription { get; set; } - - - public void Copy(PayPalPlusPaymentSettings settings, bool fromSettings) - { - if (fromSettings) - { - MiniMapper.Map(settings, this); - } - else - { - TransactMode = TransactMode.AuthorizeAndCapture; - - MiniMapper.Map(this, settings); - settings.ApiAccountName = ApiAccountName.TrimSafe(); - settings.ApiAccountPassword = ApiAccountPassword.TrimSafe(); - settings.ClientId = ClientId.TrimSafe(); - settings.ExperienceProfileId = ExperienceProfileId.TrimSafe(); - settings.Secret = Secret.TrimSafe(); - settings.Signature = Signature.TrimSafe(); - settings.WebhookId = WebhookId.TrimSafe(); - } - } - } - - public class PayPalPlusConfigValidator : SmartValidatorBase - { - public PayPalPlusConfigValidator(Localizer T, Func addRule) - { - if (addRule("ClientId")) - { - RuleFor(x => x.ClientId).NotEmpty(); - } - - if (addRule("Secret")) - { - RuleFor(x => x.Secret).NotEmpty(); - } - - if (addRule("ThirdPartyPaymentMethods")) - { - RuleFor(x => x.ThirdPartyPaymentMethods) - .Must(x => x == null || x.Count <= 5) - .WithMessage(T("Plugins.Payments.PayPalPlus.ValidateThirdPartyPaymentMethods")); - } - } - } + } } \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Models/Congfiguration/PayPalInstalmentsConfigModel.cs b/src/Plugins/SmartStore.PayPal/Models/Congfiguration/PayPalInstalmentsConfigModel.cs new file mode 100644 index 0000000000..aa10dac96c --- /dev/null +++ b/src/Plugins/SmartStore.PayPal/Models/Congfiguration/PayPalInstalmentsConfigModel.cs @@ -0,0 +1,47 @@ +using System.Collections.Generic; +using System.Web.Mvc; +using SmartStore.PayPal.Services; +using SmartStore.PayPal.Settings; +using SmartStore.Web.Framework; + +namespace SmartStore.PayPal.Models +{ + public class PayPalInstalmentsConfigModel : ApiConfigurationModel + { + public PayPalInstalmentsConfigModel() + { + TransactMode = TransactMode.AuthorizeAndCapture; + } + + [SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.FinancingMin")] + public decimal FinancingMin { get; set; } + + [SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.FinancingMax")] + public decimal FinancingMax { get; set; } + + [SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.ProductPagePromotion")] + public PayPalPromotion? ProductPagePromotion { get; set; } + public IList ProductPagePromotions { get; set; } + + [SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.CartPagePromotion")] + public PayPalPromotion? CartPagePromotion { get; set; } + public IList CartPagePromotions { get; set; } + + [SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.PaymentListPromotion")] + public PayPalPromotion? PaymentListPromotion { get; set; } + public IList PaymentListPromotions { get; set; } + + [SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.Lender")] + public string Lender { get; set; } + + //[SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.Promote")] + //public bool Promote { get; set; } + + //[SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.PromotionWidgetZones")] + //[UIHint("WidgetZone")] + //public string[] PromotionWidgetZones { get; set; } + + //[SmartResourceDisplayName("Plugins.Payments.PayPalInstalments.PromotionDisplayOrder")] + //public int PromotionDisplayOrder { get; set; } + } +} \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Models/Congfiguration/PayPalPlusConfigurationModel.cs b/src/Plugins/SmartStore.PayPal/Models/Congfiguration/PayPalPlusConfigurationModel.cs new file mode 100644 index 0000000000..b104dfdd0a --- /dev/null +++ b/src/Plugins/SmartStore.PayPal/Models/Congfiguration/PayPalPlusConfigurationModel.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using FluentValidation; +using SmartStore.Core.Localization; +using SmartStore.PayPal.Settings; +using SmartStore.Web.Framework; +using SmartStore.Web.Framework.Validators; + +namespace SmartStore.PayPal.Models +{ + public class PayPalPlusConfigurationModel : ApiConfigurationModel + { + public PayPalPlusConfigurationModel() + { + TransactMode = TransactMode.AuthorizeAndCapture; + } + + [SmartResourceDisplayName("Plugins.Payments.PayPalPlus.ThirdPartyPaymentMethods")] + public List ThirdPartyPaymentMethods { get; set; } + public IList AvailableThirdPartyPaymentMethods { get; set; } + + [SmartResourceDisplayName("Plugins.Payments.PayPalPlus.DisplayPaymentMethodLogo")] + public bool DisplayPaymentMethodLogo { get; set; } + + [SmartResourceDisplayName("Plugins.Payments.PayPalPlus.DisplayPaymentMethodDescription")] + public bool DisplayPaymentMethodDescription { get; set; } + } + + + public class PayPalApiConfigValidator : SmartValidatorBase + { + public PayPalApiConfigValidator(Localizer T, Func addRule) + { + if (addRule("ClientId")) + { + RuleFor(x => x.ClientId).NotEmpty(); + } + + if (addRule("Secret")) + { + RuleFor(x => x.Secret).NotEmpty(); + } + } + } +} \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Plugin.cs b/src/Plugins/SmartStore.PayPal/Plugin.cs index 054332ca29..e34585a10b 100644 --- a/src/Plugins/SmartStore.PayPal/Plugin.cs +++ b/src/Plugins/SmartStore.PayPal/Plugin.cs @@ -1,80 +1,165 @@ using System; +using System.Collections.Generic; +using System.Web.Routing; using SmartStore.Core.Logging; using SmartStore.Core.Plugins; +using SmartStore.PayPal.Providers; using SmartStore.PayPal.Services; using SmartStore.PayPal.Settings; -using SmartStore.Services.Configuration; -using SmartStore.Services.Localization; +using SmartStore.Services; +using SmartStore.Services.Cms; +using SmartStore.Services.Directory; +using SmartStore.Web.Models.Catalog; +using SmartStore.Web.Models.Order; +using SmartStore.Web.Models.ShoppingCart; namespace SmartStore.PayPal { - public class Plugin : BasePlugin - { - private readonly ISettingService _settingService; - private readonly ILocalizationService _localizationService; + [SystemName("Widgets.PayPal")] + [FriendlyName("PayPal")] + public class Plugin : BasePlugin, IWidget + { + private readonly ICommonServices _services; private readonly Lazy _payPalService; + private readonly Lazy _currencyService; - public Plugin( - ISettingService settingService, - ILocalizationService localizationService, - Lazy payPalService) + public Plugin( + ICommonServices services, + Lazy payPalService, + Lazy currencyService) { - _settingService = settingService; - _localizationService = localizationService; + _services = services; _payPalService = payPalService; + _currencyService = currencyService; Logger = NullLogger.Instance; } public ILogger Logger { get; set; } - public static string SystemName - { - get { return "SmartStore.PayPal"; } - } + public static string SystemName => "SmartStore.PayPal"; public override void Install() { - _settingService.SaveSetting(new PayPalExpressPaymentSettings()); - _settingService.SaveSetting(new PayPalDirectPaymentSettings()); - _settingService.SaveSetting(new PayPalStandardPaymentSettings()); - _settingService.SaveSetting(new PayPalPlusPaymentSettings()); + _services.Settings.SaveSetting(new PayPalExpressPaymentSettings()); + _services.Settings.SaveSetting(new PayPalDirectPaymentSettings()); + _services.Settings.SaveSetting(new PayPalStandardPaymentSettings()); + _services.Settings.SaveSetting(new PayPalPlusPaymentSettings()); + _services.Settings.SaveSetting(new PayPalInstalmentsSettings()); - _localizationService.ImportPluginResourcesFromXml(this.PluginDescriptor); + _services.Localization.ImportPluginResourcesFromXml(this.PluginDescriptor); base.Install(); } public override void Uninstall() { - try - { - var settings = _settingService.LoadSetting(); - if (settings.WebhookId.HasValue()) - { - var session = new PayPalSessionData(); - var result = _payPalService.Value.EnsureAccessToken(session, settings); - - if (result.Success) - result = _payPalService.Value.DeleteWebhook(settings, session); - - if (!result.Success) - Logger.Log(LogLevel.Error, null, result.ErrorMessage, null); - } - } - catch (Exception exception) - { - Logger.Log(LogLevel.Error, exception, null, null); - } - - _settingService.DeleteSetting(); - _settingService.DeleteSetting(); - _settingService.DeleteSetting(); - _settingService.DeleteSetting(); - - _localizationService.DeleteLocaleStringResources(PluginDescriptor.ResourceRootKey); + DeleteWebhook(_services.Settings.LoadSetting(), PayPalPlusProvider.SystemName); + DeleteWebhook(_services.Settings.LoadSetting(), PayPalInstalmentsProvider.SystemName); + + _services.Settings.DeleteSetting(); + _services.Settings.DeleteSetting(); + _services.Settings.DeleteSetting(); + _services.Settings.DeleteSetting(); + _services.Settings.DeleteSetting(); + + _services.Localization.DeleteLocaleStringResources(PluginDescriptor.ResourceRootKey); base.Uninstall(); } + + public IList GetWidgetZones() + { + return new List + { + "productdetails_add_info", + "order_summary_totals_after", + "orderdetails_page_aftertotal", + "invoice_aftertotal" + }; + } + + public void GetDisplayWidgetRoute(string widgetZone, object model, int storeId, out string actionName, out string controllerName, out RouteValueDictionary routeValues) + { + actionName = controllerName = null; + routeValues = new RouteValueDictionary + { + { "Namespaces", "SmartStore.PayPal.Controllers" }, + { "area", SystemName } + }; + + if (widgetZone == "productdetails_add_info") + { + var viewModel = model as ProductDetailsModel; + if (viewModel != null) + { + var price = viewModel.ProductPrice.PriceWithDiscountValue > decimal.Zero + ? viewModel.ProductPrice.PriceWithDiscountValue + : viewModel.ProductPrice.PriceValue; + + if (price > decimal.Zero) + { + actionName = "Promotion"; + controllerName = "PayPalInstalments"; + + // Convert price because it is in working currency. + price = _currencyService.Value.ConvertToPrimaryStoreCurrency(price, _services.WorkContext.WorkingCurrency); + + routeValues.Add("origin", "productpage"); + routeValues.Add("amount", price); + } + } + } + else if (widgetZone == "order_summary_totals_after") + { + var viewModel = model as ShoppingCartModel; + if (viewModel != null && viewModel.IsEditable) + { + actionName = "Promotion"; + controllerName = "PayPalInstalments"; + + routeValues.Add("origin", "cart"); + routeValues.Add("amount", decimal.Zero); + } + } + else if (widgetZone == "orderdetails_page_aftertotal" || widgetZone == "invoice_aftertotal") + { + var viewModel = model as OrderDetailsModel; + if (viewModel != null) + { + actionName = "OrderDetails"; + controllerName = "PayPalInstalments"; + + routeValues.Add("orderId", viewModel.Id); + routeValues.Add("print", widgetZone.IsCaseInsensitiveEqual("invoice_aftertotal")); + } + } + } + + private void DeleteWebhook(PayPalApiSettingsBase settings, string providerSystemName) + { + try + { + if (settings?.WebhookId.HasValue() ?? false) + { + var session = new PayPalSessionData { ProviderSystemName = providerSystemName }; + var result = _payPalService.Value.EnsureAccessToken(session, settings); + + if (result.Success) + { + result = _payPalService.Value.DeleteWebhook(settings, session); + } + + if (!result.Success) + { + Logger.Log(LogLevel.Error, null, result.ErrorMessage, null); + } + } + } + catch (Exception ex) + { + Logger.Log(LogLevel.Error, ex, null, null); + } + } } } diff --git a/src/Plugins/SmartStore.PayPal/Providers/PayPalInstalmentsProvider.cs b/src/Plugins/SmartStore.PayPal/Providers/PayPalInstalmentsProvider.cs new file mode 100644 index 0000000000..bf4d1e2da6 --- /dev/null +++ b/src/Plugins/SmartStore.PayPal/Providers/PayPalInstalmentsProvider.cs @@ -0,0 +1,57 @@ +using System; +using Newtonsoft.Json; +using SmartStore.Core.Plugins; +using SmartStore.PayPal.Controllers; +using SmartStore.PayPal.Settings; +using SmartStore.Services.Payments; + +namespace SmartStore.PayPal.Providers +{ + [DisplayOrder(1)] + [SystemName("Payments.PayPalInstalments")] + [FriendlyName("Ratenzahlung Powered by PayPal")] + [DependentWidgets("Widgets.PayPal")] + public class PayPalInstalmentsProvider : PayPalRestApiProviderBase + { + public PayPalInstalmentsProvider() + : base(SystemName) + { + } + + public static string SystemName => "Payments.PayPalInstalments"; + + public override PaymentMethodType PaymentMethodType => PaymentMethodType.StandardAndRedirection; + + public override Type GetControllerType() + { + return typeof(PayPalInstalmentsController); + } + + public override void PostProcessPayment(PostProcessPaymentRequest postProcessPaymentRequest) + { + var order = postProcessPaymentRequest.Order; + var session = HttpContext.GetPayPalState(SystemName); + + var orderAttribute = new PayPalInstalmentsOrderAttribute + { + FinancingCosts = session.FinancingCosts, + TotalInclFinancingCosts = session.TotalInclFinancingCosts + }; + + GenericAttributeService.SaveAttribute(order, PayPalInstalmentsOrderAttribute.Key, JsonConvert.SerializeObject(orderAttribute), order.StoreId); + + base.PostProcessPayment(postProcessPaymentRequest); + } + } + + + [Serializable] + public class PayPalInstalmentsOrderAttribute + { + [JsonIgnore] + public static string Key => string.Concat(PayPalInstalmentsProvider.SystemName, ".OrderAttribute"); + + public decimal FinancingCosts { get; set; } + public decimal TotalInclFinancingCosts { get; set; } + } +} \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Providers/PayPalRestApiProviderBase.cs b/src/Plugins/SmartStore.PayPal/Providers/PayPalRestApiProviderBase.cs index 7b83e6d349..64a4db72a4 100644 --- a/src/Plugins/SmartStore.PayPal/Providers/PayPalRestApiProviderBase.cs +++ b/src/Plugins/SmartStore.PayPal/Providers/PayPalRestApiProviderBase.cs @@ -43,11 +43,6 @@ protected string GetControllerName() return GetControllerType().Name.EmptyNull().Replace("Controller", ""); } - public static string CheckoutCompletedKey - { - get { return "PayPalCheckoutCompleted"; } - } - public override bool SupportCapture { get { return true; } @@ -90,7 +85,7 @@ public override ProcessPaymentResult ProcessPayment(ProcessPaymentRequest proces NewPaymentStatus = PaymentStatus.Pending }; - HttpContext.Session.SafeRemove(CheckoutCompletedKey); + HttpContext.Session.SafeRemove("PayPalCheckoutCompleted"); var storeId = processPaymentRequest.StoreId; var customer = Services.WorkContext.CurrentCustomer; @@ -102,7 +97,7 @@ public override ProcessPaymentResult ProcessPayment(ProcessPaymentRequest proces session.SessionExpired = true; result.AddError(T("Plugins.SmartStore.PayPal.SessionExpired")); - // Redirect to payment wall and create new payment (we need the payment id). + // Redirect to payment page and create new payment (we need the payment id). var urlHelper = new UrlHelper(HttpContext.Request.RequestContext); HttpContext.Response.Redirect(urlHelper.Action("PaymentMethod", "Checkout", new { area = "" })); @@ -194,14 +189,14 @@ public override ProcessPaymentResult ProcessPayment(ProcessPaymentRequest proces public override void PostProcessPayment(PostProcessPaymentRequest postProcessPaymentRequest) { - var storeId = postProcessPaymentRequest.Order.StoreId; - var customer = Services.WorkContext.CurrentCustomer; - var session = HttpContext.GetPayPalState(_providerSystemName, customer, storeId, GenericAttributeService); + var order = postProcessPaymentRequest.Order; + var customer = order.Customer ?? Services.WorkContext.CurrentCustomer; + var session = HttpContext.GetPayPalState(_providerSystemName, customer, order.StoreId, GenericAttributeService); var instruction = PayPalService.CreatePaymentInstruction(session.PaymentInstruction); if (instruction.HasValue()) { - HttpContext.Session[CheckoutCompletedKey] = instruction; + HttpContext.Session["PayPalCheckoutCompleted"] = instruction; OrderService.AddOrderNote(postProcessPaymentRequest.Order, instruction, true); } @@ -215,19 +210,23 @@ public override CapturePaymentResult Capture(CapturePaymentRequest capturePaymen }; var settings = Services.Settings.LoadSetting(capturePaymentRequest.Order.StoreId); - var session = new PayPalSessionData(); + var session = new PayPalSessionData { ProviderSystemName = _providerSystemName }; - var apiResult = PayPalService.EnsureAccessToken(session, settings); + var apiResult = PayPalService.EnsureAccessToken(session, settings); if (apiResult.Success) { apiResult = PayPalService.Capture(settings, session, capturePaymentRequest); - if (apiResult.Success) - result.NewPaymentStatus = PaymentStatus.Paid; + if (apiResult.Success) + { + result.NewPaymentStatus = PaymentStatus.Paid; + } } - if (!apiResult.Success) - result.Errors.Add(apiResult.ErrorMessage); + if (!apiResult.Success) + { + result.Errors.Add(apiResult.ErrorMessage); + } return result; } @@ -240,23 +239,24 @@ public override RefundPaymentResult Refund(RefundPaymentRequest refundPaymentReq }; var settings = Services.Settings.LoadSetting(refundPaymentRequest.Order.StoreId); - var session = new PayPalSessionData(); + var session = new PayPalSessionData { ProviderSystemName = _providerSystemName }; - var apiResult = PayPalService.EnsureAccessToken(session, settings); + var apiResult = PayPalService.EnsureAccessToken(session, settings); if (apiResult.Success) { apiResult = PayPalService.Refund(settings, session, refundPaymentRequest); if (apiResult.Success) { - if (refundPaymentRequest.IsPartialRefund) - result.NewPaymentStatus = PaymentStatus.PartiallyRefunded; - else - result.NewPaymentStatus = PaymentStatus.Refunded; + result.NewPaymentStatus = refundPaymentRequest.IsPartialRefund + ? PaymentStatus.PartiallyRefunded + : PaymentStatus.Refunded; } } - if (!apiResult.Success) - result.Errors.Add(apiResult.ErrorMessage); + if (!apiResult.Success) + { + result.Errors.Add(apiResult.ErrorMessage); + } return result; } @@ -269,9 +269,9 @@ public override VoidPaymentResult Void(VoidPaymentRequest voidPaymentRequest) }; var settings = Services.Settings.LoadSetting(voidPaymentRequest.Order.StoreId); - var session = new PayPalSessionData(); + var session = new PayPalSessionData { ProviderSystemName = _providerSystemName }; - var apiResult = PayPalService.EnsureAccessToken(session, settings); + var apiResult = PayPalService.EnsureAccessToken(session, settings); if (apiResult.Success) { apiResult = PayPalService.Void(settings, session, voidPaymentRequest); @@ -281,8 +281,10 @@ public override VoidPaymentResult Void(VoidPaymentRequest voidPaymentRequest) } } - if (!apiResult.Success) - result.Errors.Add(apiResult.ErrorMessage); + if (!apiResult.Success) + { + result.Errors.Add(apiResult.ErrorMessage); + } return result; } @@ -291,14 +293,14 @@ public override void GetConfigurationRoute(out string actionName, out string con { actionName = "Configure"; controllerName = GetControllerName(); - routeValues = new RouteValueDictionary { { "area", "SmartStore.PayPal" } }; + routeValues = new RouteValueDictionary { { "area", Plugin.SystemName } }; } public override void GetPaymentInfoRoute(out string actionName, out string controllerName, out RouteValueDictionary routeValues) { actionName = "PaymentInfo"; controllerName = GetControllerName(); - routeValues = new RouteValueDictionary { { "area", "SmartStore.PayPal" } }; + routeValues = new RouteValueDictionary { { "area", Plugin.SystemName } }; } } } diff --git a/src/Plugins/SmartStore.PayPal/Services/IPayPalService.cs b/src/Plugins/SmartStore.PayPal/Services/IPayPalService.cs index c4a911fa4f..e30b5d554c 100644 --- a/src/Plugins/SmartStore.PayPal/Services/IPayPalService.cs +++ b/src/Plugins/SmartStore.PayPal/Services/IPayPalService.cs @@ -9,7 +9,7 @@ namespace SmartStore.PayPal.Services { - public interface IPayPalService + public interface IPayPalService { void AddOrderNote(PayPalSettingsBase settings, Order order, string anyString, bool isIpn = false); @@ -19,25 +19,33 @@ public interface IPayPalService PaymentStatus GetPaymentStatus(string state, string reasonCode, PaymentStatus defaultStatus); - PayPalResponse CallApi(string method, string path, string accessToken, PayPalApiSettingsBase settings, string data); + PayPalResponse CallApi( + string method, + string path, + PayPalApiSettingsBase settings, + PayPalSessionData session, + string data); PayPalResponse EnsureAccessToken(PayPalSessionData session, PayPalApiSettingsBase settings); PayPalResponse GetPayment(PayPalApiSettingsBase settings, PayPalSessionData session); - PayPalResponse CreatePayment( - PayPalApiSettingsBase settings, - PayPalSessionData session, - List cart, - string providerSystemName, - string returnUrl, - string cancelUrl); + Dictionary CreatePaymentData( + PayPalApiSettingsBase settings, + PayPalSessionData session, + List cart, + string returnUrl, + string cancelUrl); + + PayPalResponse CreatePayment( + PayPalApiSettingsBase settings, + PayPalSessionData session, + Dictionary data); PayPalResponse PatchShipping( PayPalApiSettingsBase settings, PayPalSessionData session, - List cart, - string providerSystemName); + List cart); PayPalResponse ExecutePayment(PayPalApiSettingsBase settings, PayPalSessionData session); @@ -60,5 +68,16 @@ HttpStatusCode ProcessWebhook( NameValueCollection headers, string rawJson, string providerSystemName); - } + + #region Credit + + FinancingOptions GetFinancingOptions( + PayPalInstalmentsSettings settings, + PayPalSessionData session, + string origin, + decimal amount, + PayPalPromotion? promotion = null); + + #endregion + } } \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Services/PayPalEnums.cs b/src/Plugins/SmartStore.PayPal/Services/PayPalEnums.cs index d5bba1b72c..5211bf9cc0 100644 --- a/src/Plugins/SmartStore.PayPal/Services/PayPalEnums.cs +++ b/src/Plugins/SmartStore.PayPal/Services/PayPalEnums.cs @@ -1,5 +1,4 @@ - -namespace SmartStore.PayPal.Services +namespace SmartStore.PayPal.Services { public enum PayPalPaymentInstructionItem { @@ -24,4 +23,10 @@ public enum PayPalMessage Amount, PaymentId } + + public enum PayPalPromotion + { + FinancingExample = 0, + TextOnly + } } \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Services/PayPalPaymentFilter.cs b/src/Plugins/SmartStore.PayPal/Services/PayPalPaymentFilter.cs new file mode 100644 index 0000000000..73d8ff91de --- /dev/null +++ b/src/Plugins/SmartStore.PayPal/Services/PayPalPaymentFilter.cs @@ -0,0 +1,83 @@ +using System; +using SmartStore.PayPal.Providers; +using SmartStore.PayPal.Settings; +using SmartStore.Services; +using SmartStore.Services.Orders; +using SmartStore.Services.Payments; + +namespace SmartStore.PayPal.Services +{ + public partial class PayPalPaymentFilter : IPaymentMethodFilter + { + protected readonly ICommonServices _services; + protected readonly Lazy _orderTotalCalculationService; + + public PayPalPaymentFilter( + ICommonServices services, + Lazy orderTotalCalculationService) + { + _services = services; + _orderTotalCalculationService = orderTotalCalculationService; + } + + public string GetConfigurationUrl(string systemName) => null; + + public bool IsExcluded(PaymentFilterRequest request) + { + if (request.Customer == null) + { + return false; + } + + var method = request.PaymentMethod?.Metadata?.SystemName; + + if (method.IsCaseInsensitiveEqual(PayPalInstalmentsProvider.SystemName)) + { + return IsPaymentExcluded(request); + } + + return false; + } + + protected bool CanPayOrderAmount(PayPalInstalmentsSettings settings, PaymentFilterRequest request) + { + var cartTotal = ((decimal?)_orderTotalCalculationService.Value.GetShoppingCartTotal(request.Cart)) ?? decimal.Zero; + + if (cartTotal == decimal.Zero) + { + return false; + } + + return cartTotal >= settings.FinancingMin && cartTotal <= settings.FinancingMax; + } + + protected bool IsPaymentExcluded(PaymentFilterRequest request) + { + var ba = request.Customer.BillingAddress; + var sa = request.Customer.ShippingAddress; + + if (ba?.Country != null && !ba.Country.TwoLetterIsoCode.IsCaseInsensitiveEqual("DE")) + { + return true; + } + if (sa != null && sa.Country != null && !sa.Country.TwoLetterIsoCode.IsCaseInsensitiveEqual("DE")) + { + return true; + } + + var settings = _services.Settings.LoadSetting(request.StoreId); + + if (settings.ClientId.IsEmpty() || settings.Secret.IsEmpty()) + { + return true; + } + + if (!CanPayOrderAmount(settings, request)) + { + return true; + } + + return false; + } + } +} \ No newline at end of file diff --git a/src/Plugins/SmartStore.PayPal/Services/PayPalService.Credit.cs b/src/Plugins/SmartStore.PayPal/Services/PayPalService.Credit.cs new file mode 100644 index 0000000000..e9a2e1d54a --- /dev/null +++ b/src/Plugins/SmartStore.PayPal/Services/PayPalService.Credit.cs @@ -0,0 +1,215 @@ +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using SmartStore.Core.Domain.Orders; +using SmartStore.PayPal.Settings; +using SmartStore.Services.Customers; + +namespace SmartStore.PayPal.Services +{ + public partial class PayPalService + { + public FinancingOptions GetFinancingOptions( + PayPalInstalmentsSettings settings, + PayPalSessionData session, + string origin, + decimal amount, + PayPalPromotion? promotion = null) + { + Guard.NotNull(settings, nameof(settings)); + Guard.NotNull(session, nameof(session)); + Guard.NotEmpty(origin, nameof(origin)); + + var store = _services.StoreContext.CurrentStore; + + // Get promotion type. + if (!promotion.HasValue) + { + switch (origin) + { + case "productpage": + promotion = settings.ProductPagePromotion; + break; + case "cart": + promotion = settings.CartPagePromotion; + break; + case "paymentinfo": + promotion = settings.PaymentListPromotion; + break; + } + } + + if (!promotion.HasValue || settings.ClientId.IsEmpty() || settings.Secret.IsEmpty()) + { + return null; + } + + // Get financing amount. + if (origin == "cart" || origin == "paymentinfo") + { + var cart = _services.WorkContext.CurrentCustomer.GetCartItems(ShoppingCartType.ShoppingCart, store.Id); + decimal? cartTotal = _orderTotalCalculationService.GetShoppingCartTotal(cart, usePaymentMethodAdditionalFee: false); + if (!cartTotal.HasValue) + { + _orderTotalCalculationService.GetShoppingCartSubTotal(cart, out _, out _, out _, out amount); + } + else + { + amount = cartTotal.Value; + } + } + + if (!settings.IsAmountFinanceable(amount)) + { + return null; + } + + // Get financing options from API. + var result = new FinancingOptions(origin) + { + Promotion = promotion, + Lender = settings.Lender + }; + + var sourceCurrency = store.PrimaryStoreCurrency; + var targetCurrency = _services.WorkContext.WorkingCurrency; + + result.NetLoanAmount = new Money(_currencyService.ConvertCurrency(amount, sourceCurrency, targetCurrency, store), targetCurrency); + + if (promotion == PayPalPromotion.FinancingExample) + { + var response = EnsureAccessToken(session, settings); + if (response.Success) + { + var index = 0; + var dc = decimal.Zero; + var data = new Dictionary(); + var transactionAmount = new Dictionary(); + transactionAmount.Add("value", amount.FormatInvariant()); + transactionAmount.Add("currency_code", store.PrimaryStoreCurrency.CurrencyCode); + + var merchantCountry = _countryService.Value.GetCountryById(_companyInfoSettings.Value.CountryId) ?? _countryService.Value.GetAllCountries().FirstOrDefault(); + data.Add("financing_country_code", merchantCountry.TwoLetterIsoCode); + data.Add("transaction_amount", transactionAmount); + + response = CallApi("POST", "/v1/credit/calculated-financing-options", settings, session, JsonConvert.SerializeObject(data)); + + if (response.Success && response.Json.financing_options != null) + { + foreach (var fo in response.Json.financing_options[0].qualifying_financing_options) + { + var option = new FinancingOptions.Option(); + + option.MonthlyPayment = Parse((string)fo.monthly_payment.value, sourceCurrency, targetCurrency, store); + + if (option.MonthlyPayment.Amount > decimal.Zero) + { + if (decimal.TryParse(((string)fo.credit_financing.apr).EmptyNull(), NumberStyles.Number, CultureInfo.InvariantCulture, out dc)) + { + option.AnnualPercentageRate = dc; + } + if (decimal.TryParse(((string)fo.credit_financing.nominal_rate).EmptyNull(), NumberStyles.Number, CultureInfo.InvariantCulture, out dc)) + { + option.NominalRate = dc; + } + + option.Term = ((string)fo.credit_financing.term).ToInt(); + option.MinAmount = Parse((string)fo.min_amount.value, sourceCurrency, targetCurrency, store); + option.TotalInterest = Parse((string)fo.total_interest.value, sourceCurrency, targetCurrency, store); + option.TotalCost = Parse((string)fo.total_cost.value, sourceCurrency, targetCurrency, store); + + // PayPal review: do not display last instalment. + //var instalments = fo.estimated_installments as JArray; + //var lastInstalment = instalments?.LastOrDefault()?.SelectToken("total_payment.value")?.ToString(); + //option.LastInstalment = Parse(lastInstalment, sourceCurrency, targetCurrency, store); + + //if (option.LastInstalment.Amount == decimal.Zero) + //{ + // option.LastInstalment = new Money(option.MonthlyPayment.Amount, targetCurrency); + //} + + result.Qualified.Add(option); + } + } + + result.Qualified = result.Qualified + .OrderBy(x => x.Term) + .ThenBy(x => x.MonthlyPayment.Amount) + .ToList(); + + result.Qualified.Each(x => x.Index = ++index); + } + } + } + + return result; + } + } + + + public class FinancingOptions + { + public FinancingOptions(string origin) + { + Origin = origin; + Qualified = new List
        @@ -51,7 +51,7 @@

        Produktinformation

        Neues Design.

        -

        Mit 7,6 mm und 112 g3 hat das iPhone 5 ein bemerkenswert dünnes und leichtes Design. Es ist aus eloxiertem Aluminium gefertigt. Die abgeschrägten Kanten wurden präzise mit einem Diamanten geschnitten.

        +

        Mit 7,6 mm und 112 g3 hat das iPhone 5 ein bemerkenswert dünnes und leichtes Design. Es ist aus eloxiertem Aluminium gefertigt. Die abgeschrägten Kanten wurden präzise mit einem Diamanten geschnitten.

        Brillantes 4" Retina Display.

        @@ -83,35 +83,26 @@

        Produktinformation

        Wähl das iPhone, das zu dir passt.

        -

        16 GB, 32 GB oder 64 GB Kapazität?

        Das iPhone gibt es in drei Kapazitäten: 16, 32 und 64 GB. „GB“ steht für Gigabyte. Je mehr Gigabyte dein iPhone hat, desto mehr Platz hast du für Inhalte wie Apps, Spiele, Fotos, HD Videos, Musik, Filme und mehr. Bei einer umfangreichen Musik- oder Fotobibliothek oder wenn du häufig HD Filme lädst, empfiehlt sich ein iPhone mit einer größeren Speicherkapazität. Wenn deine Musik- oder Fotobibliothek eher klein ist oder du selten Filme machst oder kaufst, reicht ein iPhone mit einer kleineren Speichergröße für dich aus. Mit der Zeit kommt Einiges an Inhalten auf deinem iPhone zusammen. Deshalb solltest du deinen wachsenden Speicherbedarf beim iPhone Kauf berücksichtigen.

        Das entsperrte iPhone

        -

        Das entsperrte iPhone ist an kein Mobilfunknetz gebunden, das heißt, du kannst dich für jedes unterstützte GSM Netz weltweit entscheiden. Kaufe ein iPhone ohne Vertragsbindung im Apple Online Store und suche dann einen Tarif für das iPhone, der nur die SIM-Karte umfasst. Oder wende dich an deinen bisherigen Anbieter, wenn du deinen derzeitigen Tarif behalten möchtest.

        PrePaid

        -

        Wenn du keinen Vertrag willst, kannst du eines der „PrePaid“ Starter-Pakete der verfügbaren Netzbetreiber im Apple Online Store wählen. Mit „PrePaid“ bekommst du dein iPhone einsatzbereit und mit einer kompatiblen SIM-Karte. Eine Bonitätsprüfung ist nicht erforderlich. Du bezahlst einfach nur online für das, was du verbrauchst, und kannst den Netzbetreiber jederzeit wechseln. „PrePaid“ ist eine gute Option, wenn du bei Auslandsreisen lieber einen lokalen Anbieter nutzen willst.

        Welche SIM-Karte brauche ich?

        -

        Es ist egal, ob du einen neuen Vertrag abschließt, deinen vorhandenen Vertrag weiterführst oder „PrePaid“ wählst – du brauchst eine kompatible SIM-Karte. Für das iPhone 5 brauchst du eine Nano-SIM-Karte, für das iPhone 4S und das iPhone 4 eine Micro-SIM-Karte. Nähere Einzelheiten bekommst du bei deinem Mobilfunkanbieter.

        Mobilfunknetz und Wi-Fi

        -

        GSM Modell A1428: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz), GSM/EDGE (850, 900, 1800, 1900 MHz), LTE (Band 4 und 17)

        -

        CDMA Modell A1429*: CDMA EV-DO Rev. A und Rev. B (800, 1900, 2100 MHz), UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz), GSM/EDGE (850, 900, 1800, 1900 MHz), LTE (Band 1, 3, 5, 13, 25)

        -

        GSM Modell A1429*: UMTS/HSPA+/DC-HSDPA (850, 900, 1900, 2100 MHz), GSM/EDGE (850, 900, 1800, 1900 MHz), LTE (Band 1, 3, 5)

        -

        802.11a/b/g/n Wi-Fi (802.11n 2,4 GHz und 5 GHz)

        Bluetooth 4.0

        -

        Display

        diff --git a/src/Tests/SmartStore.Core.Tests/PerformanceTests.cs b/src/Tests/SmartStore.Core.Tests/PerformanceTests.cs index 955b0b8a37..6a560d6b46 100644 --- a/src/Tests/SmartStore.Core.Tests/PerformanceTests.cs +++ b/src/Tests/SmartStore.Core.Tests/PerformanceTests.cs @@ -1,69 +1,233 @@ //using System; //using System.Collections.Generic; +//using System.Runtime.Caching; +//using System.Threading; //using NUnit.Framework; +//using System.Linq; +//using SmartStore.ComponentModel; //using SmartStore.Core.Domain.Catalog; //using SmartStore.Tests; +//using System.Collections.Concurrent; +//using System.Threading.Tasks; //namespace SmartStore.Core.Tests //{ // [TestFixture] // public class PerformanceTests // { +// //[Test] +// //public void InstantiatePerfTest() +// //{ +// // int cycles = 500000; + +// // Chronometer.Measure(cycles, "Create Product NATIVE", i => new Product()); +// // Chronometer.Measure(cycles, "Create Product Reflection", i => Activator.CreateInstance(typeof(Product))); +// // Chronometer.Measure(cycles, "Create Product FASTACTIVATOR", i => FastActivator.CreateInstance(typeof(Product))); + +// // var list = new List(); + +// // Chronometer.Measure(cycles, "Create List NATIVE", i => new TestClass(list)); +// // Chronometer.Measure(cycles, "Create List Reflection", i => Activator.CreateInstance(typeof(TestClass), list)); +// // Chronometer.Measure(cycles, "Create List FASTACTIVATOR.CreateInstance()", i => FastActivator.CreateInstance(typeof(TestClass), list)); + +// // var ctor = typeof(TestClass).GetConstructor(new Type[] { typeof(List) }); +// // //var activator = new FastActivator(ctor); +// // var activator = FastActivator.FindMatchingActivator(typeof(TestClass), list); +// // Chronometer.Measure(cycles, "Create List FASTACTIVATOR.Activate()", i => activator.Activate(list)); + +// // Chronometer.Measure(cycles, "Create List CTOR.Invoke()", i => ctor.Invoke(new object[] { list })); +// //} + // [Test] -// public void InstantiatePerfTest() +// public void MeasureMemCachePerformance() +// { +// var cache = new MemCache(); +// Chronometer.Measure(100, "MemCache", x => StressCache(cache, x)); +// } + +// [Test] +// public void MeasureCdCachePerformance() +// { +// var cache = new MemCache(); +// Chronometer.Measure(100, "CdCache", x => StressCache(cache, x)); +// } + +// private void StressCache(ICache cache, int cycle) // { -// int cycles = 500000; - -// Chronometer.Measure(cycles, "Create Product NATIVE", i => new Product()); -// Chronometer.Measure(cycles, "Create Product Reflection", i => Activator.CreateInstance(typeof(Product))); -// Chronometer.Measure(cycles, "Create Product FASTACTIVATOR", i => FastActivator.CreateInstance(typeof(Product))); +// for (int i = 0; i < 1000; i++) +// { +// var key = "key" + i; +// if (!cache.TryGet("key" + i, out var obj)) +// { +// cache.Put(key, new object()); +// } + +// if (i % 100 == 100) +// { +// var keys = cache.Keys(); +// } +// } -// var list = new List(); +// for (int i = 0; i < 1000; i++) +// { +// var key = "key" + i; +// if (cache.Contains(key)) +// { +// cache.TryGet("key" + i, out var obj); +// } -// Chronometer.Measure(cycles, "Create List NATIVE", i => new TestClass(list)); -// Chronometer.Measure(cycles, "Create List Reflection", i => Activator.CreateInstance(typeof(TestClass), list)); -// Chronometer.Measure(cycles, "Create List FASTACTIVATOR.CreateInstance()", i => FastActivator.CreateInstance(typeof(TestClass), list) ); +// if (i % 10 == 10) +// { +// var keys = cache.Keys(); +// } +// } -// var ctor = typeof(TestClass).GetConstructor(new Type[] { typeof(List) }); -// //var activator = new FastActivator(ctor); -// var activator = FastActivator.FindMatchingActivator(typeof(TestClass), list); -// Chronometer.Measure(cycles, "Create List FASTACTIVATOR.Activate()", i => activator.Activate(list)); +// cache.Clear(); -// Chronometer.Measure(cycles, "Create List CTOR.Invoke()", i => ctor.Invoke(new object[] { list })); +// //for (int i = 0; i < 1000000; i++) +// //{ +// // if (i < 1000) +// // { + +// // } +// //} // } // } -// public class TestClass +// internal interface ICache // { -// public TestClass() +// bool TryGet(string key, out object value); +// void Put(string key, object value, TimeSpan? duration = null); +// bool Contains(string key); +// void Remove(string key); +// IEnumerable Keys(); +// void Clear(); +// } + +// internal class CdCache : ICache +// { +// private readonly ConcurrentDictionary _cache = new ConcurrentDictionary(StringComparer.OrdinalIgnoreCase); + +// public void Clear() +// { +// _cache.Clear(); +// } + +// public bool Contains(string key) // { +// return _cache.ContainsKey(key); // } -// public TestClass(IEnumerable param1) + +// public IEnumerable Keys() +// { +// return _cache.Keys; +// } + +// public void Put(string key, object value, TimeSpan? duration = null) // { +// _cache.AddOrUpdate(key, value, (k, v) => value); // } -// public TestClass(int param1) + +// public void Remove(string key) // { +// _cache.TryRemove(key, out _); // } -// public TestClass(IEnumerable param1, int param2) + +// public bool TryGet(string key, out object value) +// { +// return _cache.TryGetValue(key, out value); +// } +// } + +// internal class MemCache : ICache +// { +// private MemoryCache _cache = new MemoryCache("SmartStore"); + +// public void Clear() // { +// var oldCache = Interlocked.Exchange(ref _cache, new MemoryCache("SmartStore")); +// oldCache.Dispose(); +// GC.Collect(); // } -// public TestClass(IEnumerable param1, int param2, string param3) + +// public bool Contains(string key) // { +// return _cache.Contains(key); // } -// public TestClass(DateTime param1) + +// public IEnumerable Keys() // { +// return _cache.AsParallel().Select(x => x.Key).ToArray(); // } -// public TestClass(double param1) + +// public void Put(string key, object value, TimeSpan? duration = null) // { +// var absoluteExpiration = ObjectCache.InfiniteAbsoluteExpiration; +// if (duration.HasValue) +// { +// absoluteExpiration = DateTime.UtcNow + duration.Value; +// } + +// var cacheItemPolicy = new CacheItemPolicy +// { +// AbsoluteExpiration = absoluteExpiration, +// SlidingExpiration = ObjectCache.NoSlidingExpiration +// }; + +// _cache.Set(key, value, cacheItemPolicy); // } -// public TestClass(decimal param1) + +// public void Remove(string key) // { +// _cache.Remove(key); // } -// public TestClass(long param1) + +// public bool TryGet(string key, out object value) // { +// value = null; +// object obj = _cache.Get(key); + +// if (obj != null) +// { +// value = obj; +// return true; +// } + +// return false; // } // } +// //public class TestClass +// //{ +// // public TestClass() +// // { +// // } +// // public TestClass(IEnumerable param1) +// // { +// // } +// // public TestClass(int param1) +// // { +// // } +// // public TestClass(IEnumerable param1, int param2) +// // { +// // } +// // public TestClass(IEnumerable param1, int param2, string param3) +// // { +// // } +// // public TestClass(DateTime param1) +// // { +// // } +// // public TestClass(double param1) +// // { +// // } +// // public TestClass(decimal param1) +// // { +// // } +// // public TestClass(long param1) +// // { +// // } +// //} + //} diff --git a/src/Tests/SmartStore.Core.Tests/SmartStore.Core.Tests.csproj b/src/Tests/SmartStore.Core.Tests/SmartStore.Core.Tests.csproj index bc64ccce7e..498af716eb 100644 --- a/src/Tests/SmartStore.Core.Tests/SmartStore.Core.Tests.csproj +++ b/src/Tests/SmartStore.Core.Tests/SmartStore.Core.Tests.csproj @@ -1,5 +1,6 @@  - + + Debug AnyCPU @@ -62,9 +63,8 @@ MinimumRecommendedRules.ruleset - - ..\..\packages\Autofac.4.5.0\lib\net45\Autofac.dll - True + + ..\..\packages\Autofac.4.9.0\lib\net45\Autofac.dll ..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll @@ -72,8 +72,8 @@ ..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll - - ..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll + + ..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll False @@ -87,6 +87,7 @@ + diff --git a/src/Tests/SmartStore.Core.Tests/WebHelperTests.cs b/src/Tests/SmartStore.Core.Tests/WebHelperTests.cs index a564edd259..fa8e649bbd 100644 --- a/src/Tests/SmartStore.Core.Tests/WebHelperTests.cs +++ b/src/Tests/SmartStore.Core.Tests/WebHelperTests.cs @@ -48,8 +48,10 @@ public void Can_get_serverVariables() [Test] public void Can_get_storeLocation_without_ssl() { - var serverVariables = new NameValueCollection(); - serverVariables.Add("HTTP_HOST", "www.example.com"); + var serverVariables = new NameValueCollection + { + { "HTTP_HOST", "www.example.com" } + }; _httpContext = new FakeHttpContext("~/", "GET", null, null, null, null, null, serverVariables); _webHelper = new WebHelper(_httpContext); _webHelper.GetStoreLocation(false).ShouldEqual("http://www.example.com/"); diff --git a/src/Tests/SmartStore.Core.Tests/packages.config b/src/Tests/SmartStore.Core.Tests/packages.config index a63c5753c3..f4baf1e494 100644 --- a/src/Tests/SmartStore.Core.Tests/packages.config +++ b/src/Tests/SmartStore.Core.Tests/packages.config @@ -1,8 +1,8 @@  - + - + \ No newline at end of file diff --git a/src/Tests/SmartStore.Data.Tests/App.config b/src/Tests/SmartStore.Data.Tests/App.config index 6d678e7b8c..cac607e919 100644 --- a/src/Tests/SmartStore.Data.Tests/App.config +++ b/src/Tests/SmartStore.Data.Tests/App.config @@ -20,16 +20,24 @@ - + - + + + + + + + + + diff --git a/src/Tests/SmartStore.Data.Tests/Common/AddressPeristenceTests.cs b/src/Tests/SmartStore.Data.Tests/Common/AddressPersistenceTests.cs similarity index 98% rename from src/Tests/SmartStore.Data.Tests/Common/AddressPeristenceTests.cs rename to src/Tests/SmartStore.Data.Tests/Common/AddressPersistenceTests.cs index 6046c26a5b..e8b902ba86 100644 --- a/src/Tests/SmartStore.Data.Tests/Common/AddressPeristenceTests.cs +++ b/src/Tests/SmartStore.Data.Tests/Common/AddressPersistenceTests.cs @@ -1,13 +1,13 @@ using System; +using NUnit.Framework; using SmartStore.Core.Domain.Common; using SmartStore.Core.Domain.Directory; using SmartStore.Tests; -using NUnit.Framework; namespace SmartStore.Data.Tests.Common { [TestFixture] - public class AddressPeristenceTests : PersistenceTest + public class AddressPersistenceTests : PersistenceTest { [Test] public void Can_save_and_load_address() diff --git a/src/Tests/SmartStore.Data.Tests/SmartStore.Data.Tests.csproj b/src/Tests/SmartStore.Data.Tests/SmartStore.Data.Tests.csproj index 2c287cbc09..1e0a831df9 100644 --- a/src/Tests/SmartStore.Data.Tests/SmartStore.Data.Tests.csproj +++ b/src/Tests/SmartStore.Data.Tests/SmartStore.Data.Tests.csproj @@ -1,5 +1,6 @@  - + + Debug AnyCPU @@ -94,7 +95,7 @@ - + diff --git a/src/Tests/SmartStore.Services.Tests/App.config b/src/Tests/SmartStore.Services.Tests/App.config index 89cea3e23f..b8e59c41ac 100644 --- a/src/Tests/SmartStore.Services.Tests/App.config +++ b/src/Tests/SmartStore.Services.Tests/App.config @@ -26,7 +26,7 @@ - + @@ -34,12 +34,20 @@ - + + + + + + + + + diff --git a/src/Tests/SmartStore.Services.Tests/Catalog/PriceFormatterTests.cs b/src/Tests/SmartStore.Services.Tests/Catalog/PriceFormatterTests.cs index 8771dc8ba1..21fe8219d0 100644 --- a/src/Tests/SmartStore.Services.Tests/Catalog/PriceFormatterTests.cs +++ b/src/Tests/SmartStore.Services.Tests/Catalog/PriceFormatterTests.cs @@ -72,7 +72,7 @@ public class PriceFormatterTests : ServiceTest _storeMappingService = MockRepository.GenerateMock(); _storeContext = MockRepository.GenerateMock(); - var pluginFinder = new PluginFinder(); + var pluginFinder = PluginFinder.Current; _currencyService = new CurrencyService(_currencyRepo, _storeMappingService, _currencySettings, pluginFinder, null, this.ProviderManager, _storeContext); diff --git a/src/Tests/SmartStore.Services.Tests/Configuration/ConfigFileSettingService.cs b/src/Tests/SmartStore.Services.Tests/Configuration/ConfigFileSettingService.cs index 710a3247c8..d7c1e36d24 100644 --- a/src/Tests/SmartStore.Services.Tests/Configuration/ConfigFileSettingService.cs +++ b/src/Tests/SmartStore.Services.Tests/Configuration/ConfigFileSettingService.cs @@ -1,15 +1,18 @@ using System; using System.Collections.Generic; using System.Configuration; +using System.Globalization; using System.Linq; +using SmartStore.ComponentModel; using SmartStore.Core.Caching; +using SmartStore.Core.Configuration; using SmartStore.Core.Data; using SmartStore.Core.Domain.Configuration; using SmartStore.Services.Configuration; namespace SmartStore.Services.Tests.Configuration { - public class ConfigFileSettingService : SettingService + public class ConfigFileSettingService : SettingService { public ConfigFileSettingService( ICacheManager cacheManager, @@ -20,13 +23,15 @@ public ConfigFileSettingService( public override Setting GetSettingById(int settingId) { - throw new InvalidOperationException("Get setting by id is not supported"); + throw new InvalidOperationException("Get setting by id is not supported."); } public override T GetSettingByKey(string key, T defaultValue = default(T), int storeId = 0, bool loadSharedValueIfNotFound = false) { - if (String.IsNullOrEmpty(key)) - return defaultValue; + if (string.IsNullOrEmpty(key)) + { + return defaultValue; + } var settings = GetAllSettings(); key = key.Trim().ToLowerInvariant(); @@ -34,22 +39,24 @@ public override Setting GetSettingById(int settingId) var setting = settings.FirstOrDefault(x => x.Name.Equals(key, StringComparison.InvariantCultureIgnoreCase) && x.StoreId == storeId); - //load shared value? + // Load shared value? if (setting == null && storeId > 0 && loadSharedValueIfNotFound) { setting = settings.FirstOrDefault(x => x.Name.Equals(key, StringComparison.InvariantCultureIgnoreCase) && x.StoreId == 0); } - if (setting != null) - return setting.Value.Convert(); + if (setting != null) + { + return setting.Value.Convert(); + } return defaultValue; } public override void DeleteSetting(Setting setting) { - throw new InvalidOperationException("Deleting settings is not supported"); + throw new InvalidOperationException("Deleting settings is not supported."); } public override void SetSetting(string key, T value, int storeId = 0, bool clearCache = true) @@ -57,13 +64,36 @@ public override void SetSetting(string key, T value, int storeId = 0, bool cl throw new NotImplementedException(); } - public override IList GetAllSettings() + protected override ISettings LoadSettingCore(Type settingType, int storeId = 0) + { + var appSettings = ConfigurationManager.AppSettings; + var result = Activator.CreateInstance(settingType); + + var properties = FastProperty.GetCandidateProperties(settingType) + .Select(pi => FastProperty.GetProperty(pi, PropertyCachingStrategy.Uncached)) + .Where(pi => pi.IsPublicSettable); + + foreach (var prop in properties) + { + var key = string.Concat(settingType.Name, ".", prop.Name); + if (appSettings.AllKeys.Contains(key)) + { + var val = appSettings.Get(key); + var convertedVal = val.Convert(prop.Property.PropertyType, CultureInfo.CurrentCulture); + prop.SetValue(result, convertedVal); + } + } + + return result as ISettings; + } + + public override IList GetAllSettings() { var settings = new List(); var appSettings = ConfigurationManager.AppSettings; foreach (var setting in appSettings.AllKeys) { - settings.Add(new Setting() + settings.Add(new Setting { Name = setting.ToLowerInvariant(), Value = appSettings[setting] diff --git a/src/Tests/SmartStore.Services.Tests/Configuration/ConfigurationProviderTests.cs b/src/Tests/SmartStore.Services.Tests/Configuration/ConfigurationProviderTests.cs index af51bc827f..bfd1a7aefb 100644 --- a/src/Tests/SmartStore.Services.Tests/Configuration/ConfigurationProviderTests.cs +++ b/src/Tests/SmartStore.Services.Tests/Configuration/ConfigurationProviderTests.cs @@ -1,7 +1,7 @@ -using SmartStore.Core.Configuration; +using NUnit.Framework; +using SmartStore.Core.Configuration; using SmartStore.Services.Configuration; using SmartStore.Tests; -using NUnit.Framework; namespace SmartStore.Services.Tests.Configuration { @@ -19,7 +19,7 @@ public class ConfigurationProviderTests : ServiceTest [Test] public void Can_get_settings() { - // requires settings to be set in app.config in format TestSettings.[PropertyName] + // Requires settings to be set in app.config in format TestSettings.[PropertyName]. var settings = _settingService.LoadSetting(); settings.ServerName.ShouldEqual("Ruby"); settings.Ip.ShouldEqual("192.168.0.1"); diff --git a/src/Tests/SmartStore.Services.Tests/Directory/CurrencyServiceTests.cs b/src/Tests/SmartStore.Services.Tests/Directory/CurrencyServiceTests.cs index da88fe98bd..0c68a4d187 100644 --- a/src/Tests/SmartStore.Services.Tests/Directory/CurrencyServiceTests.cs +++ b/src/Tests/SmartStore.Services.Tests/Directory/CurrencyServiceTests.cs @@ -96,7 +96,7 @@ public class CurrencyServiceTests : ServiceTest _eventPublisher = MockRepository.GenerateMock(); _eventPublisher.Expect(x => x.Publish(Arg.Is.Anything)); - var pluginFinder = new PluginFinder(); + var pluginFinder = PluginFinder.Current; _currencyService = new CurrencyService(_currencyRepository, _storeMappingService, _currencySettings, pluginFinder, _eventPublisher, this.ProviderManager, _storeContext); } diff --git a/src/Tests/SmartStore.Services.Tests/Directory/GeoCountryLookupTests.cs b/src/Tests/SmartStore.Services.Tests/Directory/GeoCountryLookupTests.cs new file mode 100644 index 0000000000..d2ad68cdb9 --- /dev/null +++ b/src/Tests/SmartStore.Services.Tests/Directory/GeoCountryLookupTests.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using NUnit.Framework; +using SmartStore.Core.Utilities; +using SmartStore.Services.Directory; + +namespace SmartStore.Services.Tests.Directory +{ + [TestFixture] + public class GeoCountryLookupTests + { + private IGeoCountryLookup _geoCountryLookup; + private IDictionary _addresses; + + [SetUp] + public void SetUp() + { + _geoCountryLookup = new GeoCountryLookup(); + + _addresses = new Dictionary + { + ["0:0:0:0:0:ffff:b0eb:6304"] = new LookupCountryResponse { IsoCode = "TR", Name = "Turkey" }, + ["104.221.132.123"] = new LookupCountryResponse { IsoCode= "US", Name = "United States" }, + ["14.232.208.88"] = new LookupCountryResponse { IsoCode = "VN", Name = "Vietnam" }, + ["88.199.164.142"] = new LookupCountryResponse { IsoCode = "PL", Name = "Poland", IsInEu = true }, + ["186.10.251.74"] = new LookupCountryResponse { IsoCode = "CL", Name = "Chile" }, + ["131.196.141.56"] = new LookupCountryResponse { IsoCode = "MX", Name = "Mexico" }, + ["1.179.245.146"] = new LookupCountryResponse { IsoCode = "TH", Name = "Thailand" }, + ["85.62.10.84"] = new LookupCountryResponse { IsoCode = "ES", Name = "Spain", IsInEu = true }, + ["89.111.105.72"] = new LookupCountryResponse { IsoCode = "CZ", Name = "Czechia", IsInEu = true }, + ["46.254.246.123"] = new LookupCountryResponse { IsoCode = "RU", Name = "Russia" }, + ["177.87.79.90"] = new LookupCountryResponse { IsoCode = "BR", Name = "Brazil" }, + ["176.235.99.4"] = new LookupCountryResponse { IsoCode = "TR", Name = "Turkey" }, + ["185.216.213.237"] = new LookupCountryResponse { IsoCode = "DE", Name = "Germany", IsInEu = true }, + ["41.60.232.2"] = new LookupCountryResponse { IsoCode = "KE", Name = "Kenya" }, + ["88.157.176.94"] = new LookupCountryResponse { IsoCode = "PT", Name = "Portugal", IsInEu = true } + }; + } + + [Test] + public void CanLookup() + { + foreach (var kvp in _addresses) + { + var ip = kvp.Key; + var expect = kvp.Value; + + var response = _geoCountryLookup.LookupCountry(ip); + + Assert.AreEqual(expect.IsoCode, response.IsoCode, response.Name); + Assert.AreEqual(expect.Name, response.Name, response.Name); + Assert.AreEqual(expect.IsInEu, response.IsInEu, response.Name); + } + } + } +} diff --git a/src/Tests/SmartStore.Services.Tests/Discounts/DiscountServiceTests.cs b/src/Tests/SmartStore.Services.Tests/Discounts/DiscountServiceTests.cs index 5c3fb0e389..44368552fb 100644 --- a/src/Tests/SmartStore.Services.Tests/Discounts/DiscountServiceTests.cs +++ b/src/Tests/SmartStore.Services.Tests/Discounts/DiscountServiceTests.cs @@ -1,21 +1,17 @@ using System; using System.Collections.Generic; using System.Linq; +using NUnit.Framework; +using Rhino.Mocks; +using SmartStore.Core; using SmartStore.Core.Caching; using SmartStore.Core.Data; using SmartStore.Core.Domain.Customers; using SmartStore.Core.Domain.Discounts; -using SmartStore.Core.Plugins; +using SmartStore.Core.Domain.Stores; +using SmartStore.Services.Common; using SmartStore.Services.Discounts; -using SmartStore.Core.Events; using SmartStore.Tests; -using NUnit.Framework; -using Rhino.Mocks; -using SmartStore.Core; -using SmartStore.Services.Common; -using SmartStore.Core.Domain.Common; -using SmartStore.Services.Configuration; -using SmartStore.Core.Domain.Stores; namespace SmartStore.Services.Tests.Discounts { @@ -25,11 +21,9 @@ public class DiscountServiceTests : ServiceTest IRepository _discountRepo; IRepository _discountRequirementRepo; IRepository _discountUsageHistoryRepo; - IEventPublisher _eventPublisher; IGenericAttributeService _genericAttributeService; IDiscountService _discountService; IStoreContext _storeContext; - ISettingService _settingService; [SetUp] public new void SetUp() @@ -62,9 +56,6 @@ public class DiscountServiceTests : ServiceTest _discountRepo.Expect(x => x.Table).Return(new List() { discount1, discount2 }.AsQueryable()); - _eventPublisher = MockRepository.GenerateMock(); - _eventPublisher.Expect(x => x.Publish(Arg.Is.Anything)); - _storeContext = MockRepository.GenerateMock(); _storeContext.Expect(x => x.CurrentStore).Return(new Store { @@ -72,17 +63,12 @@ public class DiscountServiceTests : ServiceTest Name = "MyStore" }); - _settingService = MockRepository.GenerateMock(); - - var cacheManager = new NullCache(); _discountRequirementRepo = MockRepository.GenerateMock>(); _discountUsageHistoryRepo = MockRepository.GenerateMock>(); - var pluginFinder = new PluginFinder(); _genericAttributeService = MockRepository.GenerateMock(); _discountService = new DiscountService(NullRequestCache.Instance, _discountRepo, _discountRequirementRepo, - _discountUsageHistoryRepo, _storeContext, _genericAttributeService, pluginFinder, _eventPublisher, - _settingService, base.ProviderManager); + _discountUsageHistoryRepo, _storeContext, _genericAttributeService, ProviderManager); } [Test] @@ -133,17 +119,8 @@ public void Should_accept_valid_discount_code() LastActivityDateUtc = new DateTime(2010, 01, 02) }; - _genericAttributeService.Expect(x => x.GetAttributesForEntity(customer.Id, "Customer")) - .Return(new List() - { - new GenericAttribute() - { - EntityId = customer.Id, - Key = SystemCustomerAttributeNames.DiscountCouponCode, - KeyGroup = "Customer", - Value = "CouponCode 1" - } - }); + _genericAttributeService.Expect(x => x.GetAttribute(nameof(Customer), customer.Id, SystemCustomerAttributeNames.DiscountCouponCode, 0)) + .Return("CouponCode 1"); var result1 = _discountService.IsDiscountValid(discount, customer); result1.ShouldEqual(true); @@ -174,29 +151,30 @@ public void Should_not_accept_wrong_discount_code() LastActivityDateUtc = new DateTime(2010, 01, 02) }; - _genericAttributeService.Expect(x => x.GetAttributesForEntity(customer.Id, "Customer")) - .Return(new List() - { - new GenericAttribute() - { - EntityId = customer.Id, - Key = SystemCustomerAttributeNames.DiscountCouponCode, - KeyGroup = "Customer", - Value = "CouponCode 2" - } - }); - - var result2 = _discountService.IsDiscountValid(discount, customer); + _genericAttributeService.Expect(x => x.GetAttribute(nameof(Customer), customer.Id, SystemCustomerAttributeNames.DiscountCouponCode, 0)) + .Return("CouponCode 2"); + + var result2 = _discountService.IsDiscountValid(discount, customer); result2.ShouldEqual(false); } [Test] public void Can_validate_discount_dateRange() { - var discount = new Discount + var customer = new Customer + { + CustomerGuid = Guid.NewGuid(), + AdminComment = "", + Active = true, + Deleted = false, + CreatedOnUtc = new DateTime(2010, 01, 01), + LastActivityDateUtc = new DateTime(2010, 01, 02) + }; + + var discount1 = new Discount { DiscountType = DiscountType.AssignedToSkus, - Name = "Discount 2", + Name = "Discount 1", UsePercentage = false, DiscountPercentage = 0, DiscountAmount = 5, @@ -206,21 +184,23 @@ public void Can_validate_discount_dateRange() DiscountLimitation = DiscountLimitationType.Unlimited, }; - var customer = new Customer + var discount2 = new Discount { - CustomerGuid = Guid.NewGuid(), - AdminComment = "", - Active = true, - Deleted = false, - CreatedOnUtc = new DateTime(2010, 01, 01), - LastActivityDateUtc = new DateTime(2010, 01, 02) + DiscountType = DiscountType.AssignedToSkus, + Name = "Discount 2", + UsePercentage = false, + DiscountPercentage = 0, + DiscountAmount = 5, + StartDateUtc = DateTime.UtcNow.AddDays(1), + EndDateUtc = DateTime.UtcNow.AddDays(2), + RequiresCouponCode = false, + DiscountLimitation = DiscountLimitationType.Unlimited, }; - var result1 = _discountService.IsDiscountValid(discount, customer); + var result1 = _discountService.IsDiscountValid(discount1, customer); result1.ShouldEqual(true); - discount.StartDateUtc = DateTime.UtcNow.AddDays(1); - var result2 = _discountService.IsDiscountValid(discount, customer); + var result2 = _discountService.IsDiscountValid(discount2, customer); result2.ShouldEqual(false); } } diff --git a/src/Tests/SmartStore.Services.Tests/Events/ConsumerRegistryTests.cs b/src/Tests/SmartStore.Services.Tests/Events/ConsumerRegistryTests.cs new file mode 100644 index 0000000000..9d22422ef6 --- /dev/null +++ b/src/Tests/SmartStore.Services.Tests/Events/ConsumerRegistryTests.cs @@ -0,0 +1,107 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using NUnit.Framework; +using SmartStore.Tests; +using SmartStore.Core.Events; +using SmartStore.Services.Events; +using SmartStore.Services.Customers; +using SmartStore.Services.Media; +using SmartStore.Core.Domain.Orders; +using SmartStore.Services.DataExchange.Export.Events; + +namespace SmartStore.Services.Tests.Events +{ + [TestFixture] + public class ConsumerRegistryTests + { + //private IEnumerable> _validConsumers; + + [Test] + public void Can_create_descriptors() + { + var validConsumers = new List> + { + CreateConsumerRegistration(new TestConsumer1()), + CreateConsumerRegistration(new TestConsumer2()), + CreateConsumerRegistration(new TestConsumer3()) + }; + + var registry = new ConsumerRegistry(validConsumers); + + var descriptors = registry.GetConsumers(new AppStartedEvent()); + descriptors.Count().ShouldEqual(2, "AppStartedEvent count"); + + descriptors = registry.GetConsumers(new AppInitScheduledTasksEvent()); + descriptors.Count().ShouldEqual(2, "AppInitScheduledTasksEvent count"); + + descriptors = registry.GetConsumers(new CustomerRegisteredEvent()); + descriptors.Count().ShouldEqual(1); + var descriptor = descriptors.First(); + descriptor.ContainerType.ShouldEqual(typeof(TestConsumer2)); + descriptor.FireForget.ShouldEqual(true); + descriptor.IsAsync.ShouldEqual(false); + descriptor.WithEnvelope.ShouldEqual(false); + + descriptors = registry.GetConsumers(new OrderPaidEvent(null)); + descriptors.Count().ShouldEqual(1); + descriptor = descriptors.First(); + descriptor.ContainerType.ShouldEqual(typeof(TestConsumer3)); + descriptor.FireForget.ShouldEqual(true); + descriptor.IsAsync.ShouldEqual(true); + + descriptors = registry.GetConsumers(new RowExportingEvent()); + descriptors.Count().ShouldEqual(1); + descriptor = descriptors.First(); + descriptor.ContainerType.ShouldEqual(typeof(TestConsumer3)); + descriptor.FireForget.ShouldEqual(true); + descriptor.IsAsync.ShouldEqual(false); + descriptor.WithEnvelope.ShouldEqual(true); + } + + [Test] + public void Finds_ambigous_consumers() + { + var consumers = new List> + { + CreateConsumerRegistration(new HasAmbigousConsumers1()) + }; + typeof(AmbigousConsumerException).ShouldBeThrownBy(() => new ConsumerRegistry(consumers)); + + consumers = new List> + { + CreateConsumerRegistration(new HasAmbigousConsumers2()) + }; + typeof(AmbigousConsumerException).ShouldBeThrownBy(() => new ConsumerRegistry(consumers)); + } + + [Test] + public void Finds_invalid_consumers() + { + foreach (var c in new IConsumer[] + { + new InvalidConsumer1(), + new InvalidConsumer2(), + new InvalidConsumer3(), + new InvalidConsumer4(), + new InvalidConsumer5(), + new InvalidConsumer6() + }) + { + var consumers = new List> { CreateConsumerRegistration(c) }; + typeof(NotSupportedException).ShouldBeThrownBy(() => new ConsumerRegistry(consumers)); + } + } + + private Lazy CreateConsumerRegistration(IConsumer consumer, bool isActive = true) + { + var metadata = new EventConsumerMetadata + { + IsActive = isActive, + ContainerType = consumer.GetType() + }; + + return new Lazy(() => consumer, metadata); + } + } +} diff --git a/src/Tests/SmartStore.Services.Tests/Events/TestConsumers.cs b/src/Tests/SmartStore.Services.Tests/Events/TestConsumers.cs new file mode 100644 index 0000000000..33d8f99ce5 --- /dev/null +++ b/src/Tests/SmartStore.Services.Tests/Events/TestConsumers.cs @@ -0,0 +1,127 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SmartStore.Core.Caching; +using SmartStore.Core.Domain.Orders; +using SmartStore.Core.Events; +using SmartStore.Services.Catalog; +using SmartStore.Services.Customers; +using SmartStore.Services.DataExchange.Export.Events; +using SmartStore.Services.Media; + +namespace SmartStore.Services.Tests.Events +{ + public class TestConsumer1 : IConsumer + { + public void Handle(AppStartedEvent msg, ICacheManager s1, ICommonServices s2) + { + } + + public void HandleEvent(AppInitScheduledTasksEvent msg) + { + } + + public void Consume(ConsumeContext msg) + { + } + } + + public class TestConsumer2 : IConsumer + { + public Task HandleAsync(CategoryTreeChangedEvent msg) + { + return Task.FromResult(0); + } + + [FireForget] + public void HandleEvent(CustomerRegisteredEvent msg) + { + } + + public void Handle(ConsumeContext msg) + { + } + + public Task ConsumeAsync(AppInitScheduledTasksEvent msg) + { + return Task.FromResult(0); + } + } + + public class TestConsumer3 : IConsumer + { + public void Handle(CategoryTreeChangedEvent msg) + { + } + + [FireForget] + public void HandleEvent(ConsumeContext msg) + { + } + + [FireForget] + public Task HandleEventAsync(OrderPaidEvent msg) + { + return Task.FromResult(0); + } + + public void NotAnEvent(AppStartedEvent msg) + { + } + } + + public class HasAmbigousConsumers1 : IConsumer + { + public void Handle(AppStartedEvent msg) + { + } + + public void HandleEvent(ConsumeContext msg) + { + } + } + + public class HasAmbigousConsumers2 : IConsumer + { + public void Handle(AppStartedEvent msg) + { + } + + public Task HandleAsync(AppStartedEvent msg) + { + return Task.FromResult(0); + } + } + + public class InvalidConsumer1 : IConsumer + { + public string Handle(AppStartedEvent msg) => string.Empty; + } + + public class InvalidConsumer2 : IConsumer + { + public void ConsumeAsync(AppStartedEvent msg) { } + } + + public class InvalidConsumer3 : IConsumer + { + public void Consume() { } + } + + public class InvalidConsumer4 : IConsumer + { + public void HandleEvent(AppStartedEvent msg, bool something = true) { } + } + + public class InvalidConsumer5 : IConsumer + { + public void HandleEvent(AppStartedEvent msg, out bool something) { something = false; } + } + + public class InvalidConsumer6 : IConsumer + { + public void HandleEvent(AppStartedEvent msg, ref CachedImageResult result) { } + } +} diff --git a/src/Tests/SmartStore.Services.Tests/Helpers/DateTimeHelperTests.cs b/src/Tests/SmartStore.Services.Tests/Helpers/DateTimeHelperTests.cs index 29160fe4b9..ed5a793f53 100644 --- a/src/Tests/SmartStore.Services.Tests/Helpers/DateTimeHelperTests.cs +++ b/src/Tests/SmartStore.Services.Tests/Helpers/DateTimeHelperTests.cs @@ -1,16 +1,15 @@ using System; using System.Collections.Generic; +using NUnit.Framework; +using Rhino.Mocks; using SmartStore.Core; +using SmartStore.Core.Domain.Common; using SmartStore.Core.Domain.Customers; using SmartStore.Core.Domain.Stores; -using SmartStore.Core.Domain.Common; +using SmartStore.Services.Common; using SmartStore.Services.Configuration; -using SmartStore.Services.Customers; using SmartStore.Services.Helpers; -using SmartStore.Services.Common; using SmartStore.Tests; -using NUnit.Framework; -using Rhino.Mocks; namespace SmartStore.Services.Tests.Helpers { @@ -33,18 +32,17 @@ public class DateTimeHelperTests : ServiceTest _workContext = MockRepository.GenerateMock(); - _store = new Store() { Id = 1 }; + _store = new Store { Id = 1 }; _storeContext = MockRepository.GenerateMock(); _storeContext.Expect(x => x.CurrentStore).Return(_store); - _dateTimeSettings = new DateTimeSettings() + _dateTimeSettings = new DateTimeSettings { AllowCustomersToSetTimeZone = false, DefaultStoreTimeZoneId = "" }; - _dateTimeHelper = new DateTimeHelper(_workContext, _genericAttributeService, - _settingService, _dateTimeSettings); + _dateTimeHelper = new DateTimeHelper(_workContext, _genericAttributeService, _settingService, _dateTimeSettings); } [Test] @@ -67,25 +65,16 @@ public void Can_get_all_systemTimeZones() public void Can_get_customer_timeZone_with_customTimeZones_enabled() { _dateTimeSettings.AllowCustomersToSetTimeZone = true; - _dateTimeSettings.DefaultStoreTimeZoneId = "E. Europe Standard Time"; //(GMT+02:00) Minsk; + _dateTimeSettings.DefaultStoreTimeZoneId = "E. Europe Standard Time"; // (GMT+02:00) Minsk; - var customer = new Customer() + var customer = new Customer { Id = 10 }; - _genericAttributeService.Expect(x => x.GetAttributesForEntity(customer.Id, "Customer")) - .Return(new List() - { - new GenericAttribute() - { - StoreId = 0, - EntityId = customer.Id, - Key = SystemCustomerAttributeNames.TimeZoneId, - KeyGroup = "Customer", - Value = "Russian Standard Time" //(GMT+03:00) Moscow, St. Petersburg, Volgograd - } - }); + _genericAttributeService + .Expect(x => x.GetAttribute(nameof(Customer), customer.Id, SystemCustomerAttributeNames.TimeZoneId, 0)) + .Return("Russian Standard Time"); // (GMT+03:00) Moscow, St. Petersburg, Volgograd var timeZone = _dateTimeHelper.GetCustomerTimeZone(customer); timeZone.ShouldNotBeNull(); diff --git a/src/Tests/SmartStore.Services.Tests/Orders/OrderProcessingServiceTests.cs b/src/Tests/SmartStore.Services.Tests/Orders/OrderProcessingServiceTests.cs index eb7d7a871e..c968ced0cf 100644 --- a/src/Tests/SmartStore.Services.Tests/Orders/OrderProcessingServiceTests.cs +++ b/src/Tests/SmartStore.Services.Tests/Orders/OrderProcessingServiceTests.cs @@ -107,7 +107,7 @@ public class OrderProcessingServiceTests : ServiceTest _storeContext = MockRepository.GenerateMock(); _storeContext.Expect(x => x.CurrentStore).Return(_store); - var pluginFinder = new PluginFinder(); + var pluginFinder = PluginFinder.Current; _shoppingCartSettings = new ShoppingCartSettings(); _catalogSettings = new CatalogSettings(); diff --git a/src/Tests/SmartStore.Services.Tests/Orders/OrderTotalCalculationServiceTests.cs b/src/Tests/SmartStore.Services.Tests/Orders/OrderTotalCalculationServiceTests.cs index 7e9dbc1879..859ba4df19 100644 --- a/src/Tests/SmartStore.Services.Tests/Orders/OrderTotalCalculationServiceTests.cs +++ b/src/Tests/SmartStore.Services.Tests/Orders/OrderTotalCalculationServiceTests.cs @@ -85,7 +85,7 @@ public class OrderTotalCalculationServiceTests : ServiceTest _services.Expect(x => x.StoreContext).Return(_storeContext); _services.Expect(x => x.WorkContext).Return(_workContext); - var pluginFinder = new PluginFinder(); + var pluginFinder = PluginFinder.Current; _shoppingCartSettings = new ShoppingCartSettings(); _catalogSettings = new CatalogSettings(); @@ -133,12 +133,15 @@ public class OrderTotalCalculationServiceTests : ServiceTest _giftCardService = MockRepository.GenerateMock(); //tax - _taxSettings = new TaxSettings(); - _taxSettings.ShippingIsTaxable = true; - _taxSettings.PaymentMethodAdditionalFeeIsTaxable = true; - _taxSettings.PricesIncludeTax = false; - _taxSettings.TaxDisplayType = TaxDisplayType.IncludingTax; - _taxSettings.DefaultTaxAddressId = 10; + _taxSettings = new TaxSettings + { + ShippingPriceIncludesTax = false, + ShippingIsTaxable = true, + PaymentMethodAdditionalFeeIsTaxable = true, + PricesIncludeTax = false, + TaxDisplayType = TaxDisplayType.IncludingTax, + DefaultTaxAddressId = 10 + }; _addressService = MockRepository.GenerateMock(); _addressService.Expect(x => x.GetAddressById(_taxSettings.DefaultTaxAddressId)).Return(new Address { Id = _taxSettings.DefaultTaxAddressId }); @@ -789,11 +792,11 @@ public void Can_get_shipping_total_with_fixed_shipping_rate_including_tax() [Test] public void Can_get_shipping_total_discount_excluding_tax() { - var sci1 = new ShoppingCartItem() + var sci1 = new ShoppingCartItem { AttributesXml = "", Quantity = 3, - Product = new Product() + Product = new Product { Id = 1, Weight = 1.5M, @@ -804,11 +807,11 @@ public void Can_get_shipping_total_discount_excluding_tax() IsShipEnabled = true, } }; - var sci2 = new ShoppingCartItem() + var sci2 = new ShoppingCartItem { AttributesXml = "", Quantity = 4, - Product = new Product() + Product = new Product { Id = 2, Weight = 11.5M, @@ -821,11 +824,11 @@ public void Can_get_shipping_total_discount_excluding_tax() }; //sci3 is not shippable - var sci3 = new ShoppingCartItem() + var sci3 = new ShoppingCartItem { AttributesXml = "", Quantity = 5, - Product = new Product() + Product = new Product { Id = 3, Weight = 11.5M, @@ -847,7 +850,7 @@ public void Can_get_shipping_total_discount_excluding_tax() cart.ForEach(sci => sci.Item.CustomerId = customer.Id); //discounts - var discount1 = new Discount() + var discount1 = new Discount { Id = 1, Name = "Discount 1", @@ -858,13 +861,7 @@ public void Can_get_shipping_total_discount_excluding_tax() _discountService.Expect(ds => ds.IsDiscountValid(discount1, customer)).Return(true); _discountService.Expect(ds => ds.GetAllDiscounts(DiscountType.AssignedToShipping)).Return(new List() { discount1 }); - - decimal taxRate = decimal.Zero; - Discount appliedDiscount = null; - decimal? shipping = null; - - - shipping = _orderTotalCalcService.GetShoppingCartShippingTotal(cart, false, out taxRate, out appliedDiscount); + var shipping = _orderTotalCalcService.GetShoppingCartShippingTotal(cart, false, out var taxRate, out var appliedDiscount); appliedDiscount.ShouldNotBeNull(); appliedDiscount.Name.ShouldEqual("Discount 1"); shipping.ShouldNotBeNull(); @@ -965,7 +962,7 @@ public void Can_get_shipping_total_discount_including_tax() public void Can_get_tax_total() { //customer - var customer = new Customer() + var customer = new Customer { Id = 10, }; @@ -1031,11 +1028,10 @@ public void Can_get_tax_total() //1. shipping is taxable, payment fee is taxable _taxSettings.ShippingIsTaxable = true; _taxSettings.PaymentMethodAdditionalFeeIsTaxable = true; - SortedDictionary taxRates; - _orderTotalCalcService.GetTaxTotal(cart, out taxRates).ShouldEqual(6.6); + _orderTotalCalcService.GetTaxTotal(cart, out SortedDictionary taxRates).ShouldEqual(6.6m); - taxRates.ShouldNotBeNull(); + taxRates.ShouldNotBeNull(); taxRates.Count.ShouldEqual(1); taxRates.ContainsKey(10).ShouldBeTrue(); taxRates[10].ShouldEqual(6.6); diff --git a/src/Tests/SmartStore.Services.Tests/SmartStore.Services.Tests.csproj b/src/Tests/SmartStore.Services.Tests/SmartStore.Services.Tests.csproj index 99771b4d36..9b56b4e97d 100644 --- a/src/Tests/SmartStore.Services.Tests/SmartStore.Services.Tests.csproj +++ b/src/Tests/SmartStore.Services.Tests/SmartStore.Services.Tests.csproj @@ -1,5 +1,6 @@  - + + Debug AnyCPU @@ -107,11 +108,14 @@ + + + @@ -164,6 +168,7 @@ +