Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
leedavi committed Oct 17, 2024
2 parents d60041b + 83315c6 commit b79d83b
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 34 deletions.
2 changes: 1 addition & 1 deletion Components/Categories/CategoryFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public String CategoryAdminSaveList(HttpContext context)
{
var ajaxInfoList = NBrightBuyUtils.GetAjaxInfoList(context);
var strOut = "";
var regex = new Regex(@"^[a-z0-9]+$");
var regex = new Regex("^[a-zA-Z0-9_]*$");
var isPropertyList = (context.Request.QueryString.Get("cmd") == "property_admin_savelist");

foreach (var nbi in ajaxInfoList)
Expand Down
2 changes: 1 addition & 1 deletion DNNpackager.dnnpack
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<root>
<version>4.2.0</version>
<version>4.2.1</version>
<websitedestrelpath>\DesktopModules\NBright\NBrightBuy</websitedestrelpath>
<websitedestbinrelpath>\bin</websitedestbinrelpath>
<!-- Include only files that match the regular expression -->
Expand Down
29 changes: 16 additions & 13 deletions OpenStore.dnn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dotnetnuke type="Package" version="5.0">
<packages>

<package name="OS_ProductView" type="Module" version="4.2.0">
<package name="OS_ProductView" type="Module" version="4.2.1">
<friendlyName>OS_ProductView</friendlyName>
<description>
OpenStore open source e-commerce for DNN.
Expand Down Expand Up @@ -132,6 +132,9 @@
- af1987b - Fix first render search query
- 0432151 - fix invalid SQL for static list

v04.02.01
- property Fix to allow underscore Regex("^[a-zA-Z0-9_]*$")

</releaseNotes>
<dependencies>
<dependency type="CoreVersion">08.00.04</dependency>
Expand Down Expand Up @@ -264,7 +267,7 @@
</package>


<package name="OpenStoreBO" type="Skin" version="4.2.0">
<package name="OpenStoreBO" type="Skin" version="4.2.1">
<friendlyName>OpenStoreBO</friendlyName>
<description>
OpenStore Admin Panel
Expand Down Expand Up @@ -310,7 +313,7 @@



<package name="OS_DisplaySearch" type="Module" version="4.2.0">
<package name="OS_DisplaySearch" type="Module" version="4.2.1">
<friendlyName>OS_DisplaySearch</friendlyName>
<description>
OpenStore open source e-commerce for DNN.
Expand Down Expand Up @@ -391,7 +394,7 @@
</components>
</package>

<package name="OS_AddressAdmin" type="Module" version="4.2.0">
<package name="OS_AddressAdmin" type="Module" version="4.2.1">
<friendlyName>OS_AddressAdmin</friendlyName>
<description>OpenStore open source e-commerce for DNN.
Admin for clients addresses from the front office.
Expand Down Expand Up @@ -466,7 +469,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_Payment" type="Module" version="4.2.0">
<package name="OS_Payment" type="Module" version="4.2.1">
<friendlyName>OS_Payment</friendlyName>
<description>OpenStore open source e-commerce for DNN.
Process payment of orders.
Expand Down Expand Up @@ -540,7 +543,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_OrderAdmin" type="Module" version="4.2.0">
<package name="OS_OrderAdmin" type="Module" version="4.2.1">

<friendlyName>OS_OrderAdmin</friendlyName>
<description>OpenStore open source e-commerce for DNN.
Expand Down Expand Up @@ -616,7 +619,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_ProfileForm" type="Module" version="4.2.0">
<package name="OS_ProfileForm" type="Module" version="4.2.1">
<friendlyName>OS_ProfileForm</friendlyName>
<description>OpenStore open source e-commerce for DNN.
This module creates a profile form that links to the DNN profile and NBS address.
Expand Down Expand Up @@ -692,7 +695,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</package>


<package name="OS_Checkout" type="Module" version="4.2.0">
<package name="OS_Checkout" type="Module" version="4.2.1">
<friendlyName>OS_Checkout</friendlyName>
<description>OpenStore open source e-commerce for DNN. Checkout process.
</description>
Expand Down Expand Up @@ -766,7 +769,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_MiniCart" type="Module" version="4.2.0">
<package name="OS_MiniCart" type="Module" version="4.2.1">
<friendlyName>OS_MiniCart</friendlyName>
<description>OpenStore open source e-commerce for DNN. Mini cart view.
</description>
Expand Down Expand Up @@ -840,7 +843,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_FullCart" type="Module" version="4.2.0">
<package name="OS_FullCart" type="Module" version="4.2.1">
<friendlyName>OS_FullCart</friendlyName>
<description>OpenStore open source e-commerce for DNN. full cart view.
</description>
Expand Down Expand Up @@ -914,7 +917,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_CategoryMenu" type="Module" version="4.2.0">
<package name="OS_CategoryMenu" type="Module" version="4.2.1">
<friendlyName>OS_CategoryMenu</friendlyName>
<description>
CategoryMenu Display
Expand Down Expand Up @@ -986,7 +989,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_ProductFilter" type="Module" version="4.2.0">
<package name="OS_ProductFilter" type="Module" version="4.2.1">
<friendlyName>OS_ProductFilter</friendlyName>
<description>
Filter module for Ajax Product Display
Expand Down Expand Up @@ -1059,7 +1062,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_ItemList" type="Module" version="4.2.0">
<package name="OS_ItemList" type="Module" version="4.2.1">
<friendlyName>OS_ItemList</friendlyName>
<description>
Itemlist admin for shopping/favorites list
Expand Down
27 changes: 15 additions & 12 deletions OpenStoreUpgrade.dnn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<dotnetnuke type="Package" version="5.0">
<packages>

<package name="OS_ProductView" type="Module" version="4.2.0">
<package name="OS_ProductView" type="Module" version="4.2.1">
<friendlyName>OS_ProductView</friendlyName>
<description>
OpenStore open source e-commerce for DNN.
Expand Down Expand Up @@ -130,6 +130,9 @@
- af1987b - Fix first render search query
- 0432151 - fix invalid SQL for static list

v04.02.01
- property Fix to allow underscore Regex("^[a-zA-Z0-9_]*$")

</releaseNotes>
<dependencies>
<dependency type="CoreVersion">08.00.04</dependency>
Expand Down Expand Up @@ -261,7 +264,7 @@
</components>
</package>

<package name="OS_DisplaySearch" type="Module" version="4.2.0">
<package name="OS_DisplaySearch" type="Module" version="4.2.1">
<friendlyName>OS_DisplaySearch</friendlyName>
<description>
OpenStore open source e-commerce for DNN.
Expand Down Expand Up @@ -342,7 +345,7 @@
</components>
</package>

<package name="OS_AddressAdmin" type="Module" version="4.2.0">
<package name="OS_AddressAdmin" type="Module" version="4.2.1">
<friendlyName>OS_AddressAdmin</friendlyName>
<description>OpenStore open source e-commerce for DNN.
Admin for clients addresses from the front office.
Expand Down Expand Up @@ -417,7 +420,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_Payment" type="Module" version="4.2.0">
<package name="OS_Payment" type="Module" version="4.2.1">
<friendlyName>OS_Payment</friendlyName>
<description>OpenStore open source e-commerce for DNN.
Process payment of orders.
Expand Down Expand Up @@ -491,7 +494,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_OrderAdmin" type="Module" version="4.2.0">
<package name="OS_OrderAdmin" type="Module" version="4.2.1">

<friendlyName>OS_OrderAdmin</friendlyName>
<description>OpenStore open source e-commerce for DNN.
Expand Down Expand Up @@ -567,7 +570,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_ProfileForm" type="Module" version="4.2.0">
<package name="OS_ProfileForm" type="Module" version="4.2.1">
<friendlyName>OS_ProfileForm</friendlyName>
<description>OpenStore open source e-commerce for DNN.
This module creates a profile form that links to the DNN profile and NBS address.
Expand Down Expand Up @@ -643,7 +646,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</package>


<package name="OS_Checkout" type="Module" version="4.2.0">
<package name="OS_Checkout" type="Module" version="4.2.1">
<friendlyName>OS_Checkout</friendlyName>
<description>OpenStore open source e-commerce for DNN. Checkout process.
</description>
Expand Down Expand Up @@ -717,7 +720,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_MiniCart" type="Module" version="4.2.0">
<package name="OS_MiniCart" type="Module" version="4.2.1">
<friendlyName>OS_MiniCart</friendlyName>
<description>OpenStore open source e-commerce for DNN. Mini cart view.
</description>
Expand Down Expand Up @@ -791,7 +794,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_FullCart" type="Module" version="4.2.0">
<package name="OS_FullCart" type="Module" version="4.2.1">
<friendlyName>OS_FullCart</friendlyName>
<description>OpenStore open source e-commerce for DNN. full cart view.
</description>
Expand Down Expand Up @@ -865,7 +868,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_CategoryMenu" type="Module" version="4.2.0">
<package name="OS_CategoryMenu" type="Module" version="4.2.1">
<friendlyName>OS_CategoryMenu</friendlyName>
<description>
CategoryMenu Display
Expand Down Expand Up @@ -937,7 +940,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_ProductFilter" type="Module" version="4.2.0">
<package name="OS_ProductFilter" type="Module" version="4.2.1">
<friendlyName>OS_ProductFilter</friendlyName>
<description>
Filter module for Ajax Product Display
Expand Down Expand Up @@ -1010,7 +1013,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
</components>
</package>

<package name="OS_ItemList" type="Module" version="4.2.0">
<package name="OS_ItemList" type="Module" version="4.2.1">
<friendlyName>OS_ItemList</friendlyName>
<description>
Itemlist admin for shopping/favorites list
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.2.0.0")]
[assembly: AssemblyFileVersion("4.2.0.0")]
[assembly: AssemblyVersion("4.2.1.0")]
[assembly: AssemblyFileVersion("4.2.1.0")]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenSource v4.2.0.2
# OpenSource v4.2.1.0
OpenStore - E-Commerce for DNN

**OpenStore is still maintained, it is now considered feature full. More functionality will only be added as bug fixes and plugins.**
Expand All @@ -8,7 +8,7 @@ Developer please read this to get started:

https://doc.openstore-ecommerce.com/

https://www.openstore-ecommerce.com/Open-Store/%C3%80-propos
https://www.openstore-ecommerce.com

https://www.openstore-ecommerce.com/Fonctionnalites

Expand Down
1 change: 1 addition & 0 deletions Themes/config/default/Admin_PropertyList.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
{
<td style="width: 20%">
@nbi.GetXmlProperty("genxml/textbox/propertyref")
@NBrightTextBox(nbi, "genxml/textbox/propertyref", "class='form-control' style='display:none;' maxlength='150' lp='" + lp + "'")
</td>
}
<td style="width: 80%">
Expand Down
4 changes: 1 addition & 3 deletions Themes/config/js/admin_property.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,9 @@
}
});


$('#propertyAdmin_cmdSaveList').unbind("click");
$("#propertyAdmin_cmdSaveList").click(function () {

var regEx = /[^a-z\d]/i;
var regEx = /[^a-z\d_]/i;
var elems = ".propertyitemfields input#propertyref";
var isValid = ($(elems).length > 0);
$(elems).each(function(){
Expand Down

0 comments on commit b79d83b

Please sign in to comment.