Commit Graph
228 Commits
Author SHA1 Message Date
Jacques Le Roux 97fe0058a8 Fixed: Use NPM with gradle to get external JS dependencies (OFBIZ-11960)
additional-methods.min.js was missing, forgot previously

Unrelated to plugins, but I also tried to use jquery-ui-dist from node
https://www.npmjs.com/package/jquery-ui-dist despite I knew it was less secure
https://www.cvedetails.com/vulnerability-list/vendor_id-6538/product_id-31126/Jquery-Jquery-Ui.html
But it missed at least the lookup icon in Helveticus.

I'll check later when https://www.npmjs.com/package/jquery-ui-dist will provide
a more secure version.

Also in ecommerceI found this error in js console: : "$.timepicker is undefined"
I did not find the reason. Anyway it seems not used in ecommerce.
2021-11-11 11:26:02 +01:00
Nicolas Malin 20e00c82a3 Fixed: Add to cart is not working for products with selectable features (OFBIZ-11970)
Two issues were present, first was due to incorrect markup and the second was due to ajax request and response view of the additem request.
In additem request last saved view or the view of the last request is rendered on successful operation and in this case the last request/view is the one which is used to render UOM dropdown.

Thanks: Akash Jain and Ravi Lodhi
2021-09-28 14:11:52 +02:00
Jacques Le Roux e51dccb9bb Fixed: Empty field is reflecting on Contact list section on Profile Page (OFBIZ-10386)
Steps to generate:

Open https://demo-trunk.ofbiz.apache.org/ecomseo/viewprofile

On the profile page, Go down to Contact list
Empty fields are displaying before Verify Subscription button

Expected: The field should have some specifications to be filled up

Thanks: Archana Asthana for report, Devanshu Vyas for suggestion, Praveen Patil
for patch and Thirumurugan for confirming
2021-05-29 15:47:21 +02:00
Jacques Le Roux 77b9733cf6 Improved: Redundant line in themes (OFBIZ-OFBIZ-11997)
Removes the duplicated line in ecommerce theme and format correctly in multiflex

Thanks: Alex Bodnaru for report
2020-10-06 12:26:13 +02:00
Jacques Le Roux c8d22ed72a Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)
All final data members of the class must match this naming pattern
'^[A-Z][A-Z0-9](_[A-Z0-9]+)$'

I added the changes in CommonScreens.xml but forgot to push this one in ecommerce
2020-08-28 09:38:31 +02:00
Jacques Le Roux 809d2ce300 Improved: bootstrap-bundle*.js contains bootstrap*.js (OFBIZ-11969)
Non-bundle is redundant, with performance hit.

I also replaced in multiflex theme

Thanks: Alex Bodnaru
2020-08-22 11:08:59 +02:00
James Yong 2989420294 Fixed: Unable to add product to cart in ecommence (OFBIZ-11899)
Incorrect markup in ConfigProductDetail.ftl affected jsoup (when multi-block=true) to parse and output the file correctly. Let me know if not fixed.

Thanks: Jacques for reporting
2020-08-09 22:09:25 +08:00
Jacques Le Roux 882246204e Improved: Can't enter decimals when ordering on ecommerce (OFBIZ-11899)
I found the reason of this regression. It's due to
https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=a802ae0

This reverts Suraj's workaround and the change in ConfigProductDetail.ftl by
commit a802ae0. I'll ask James to fix the root of the issue in OFBIZ-11706.
2020-08-09 08:41:25 +02:00
James Yong 2e937378f4 Improved: Apply multi-block attr to each application (OFBIZ-11706)
Fix regression
2020-05-16 15:12:28 +08:00
James Yong ca5e6b45f1 Improved: Apply multi-block attr to each application (OFBIZ-11706)
For remaining plugin applications.
2020-05-16 13:37:43 +08:00
James Yong a802ae0a02 Improved: Apply multi-block attr to each application (OFBIZ-11706)
For eCommerce application.
2020-05-16 12:31:24 +08:00
Aditya Sharma e8021b7ede Implemented: Cookie Consent In E-Commerce
(OFBIZ-11333)
The Cookie Law is a piece of privacy legislation that requires websites to get consent from visitors to store or retrieve any information on their computer, smartphone or tablet. It was designed to protect online privacy, by making consumers aware of how information about them is collected and used online, and give them a choice to allow it or not.

The EU Cookie Legislation began as a directive from the European Union. Some variation on the policy has since been adopted by all countries within the EU.

The EU Cookie Legislation requires 4 actions from website owners who use cookies:
1. When someone visits your website, you need to let them know that your site uses cookies.
2. You need to provide detailed information regarding how that cookie data will be utilized.
3. You need to provide visitors with some means of accepting or refusing the use of cookies in your site.
4. If they refuse, you need to ensure that cookies will not be placed on their machine.

Used bsgdprcookies plugin to implement the feature. Thanks Deepak Nigam for initiating and providing initial patch. Thanks Deepak Nigam, Pierre Smits, Michael Brohl, Jacques Le Roux and Swapnil M Mane for inputs.
2020-02-10 11:46:58 +05:30
Jacques Le Roux 35c1dacdb1 Fixed: double forward slashes in ecommerce emails
(OFBIZ-2618)

I reopened this issue because while working on OFBIZ-9804 I found that
since maybe r1052457 some baseEcommerceSecureUrl in screens like 
ContactListSubscribeEmail are not working anymore.
While at it I remove the commented out lines
2019-11-09 23:07:31 +01:00
Pawan Verma 9a33a3cc1e Implemented: Improve add to compare screen with latest bootstrap framework
(OFBIZ-10968)

Thanks, Nitish Mishra for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1867662 13f79535-47bb-0310-9956-ffa450edef68
2019-09-28 10:14:24 +00:00
Nicolas Malin 0572dfa89d Improved: Any ecommerce user has the ability to reset anothers password (including admin) via "Forget Your Password"
(OFBIZ-4361)

Update ecommerce plugin to use the forget passord process with jwtToken :
  * Add jwtToken managment on update password page
  * Change changepassword to passwordChange on controller for align with common-controller



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1867647 13f79535-47bb-0310-9956-ffa450edef68
2019-09-27 19:25:08 +00:00
Jacques Le Roux 7d79da3b4c Fixed: <description> of <visual-theme> in Theme.xml does not work
(OFBIZ-9867)

There is no str:label in UelFunctions class but util:label
Missed theses files in previous commit (damn plugins)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1865398 13f79535-47bb-0310-9956-ffa450edef68
2019-08-18 15:16:12 +00:00
Aditya Sharma 3747e3d283 Fixed: Check embedded Javascript libs vulnerabilities using retire.js
(OFBIZ-10678)
For solving CVE-2018-14041, Bootstrap upgraded to latest 4.3.1
Thanks Jacques Le Roux for the reviews

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1863839 13f79535-47bb-0310-9956-ffa450edef68
2019-07-27 06:48:11 +00:00
Deepak Dixit f00bccf762 Fixed: Wrong page title displayed on contact us page of ecommerce
(OFBIZ-11062)
Thanks Arpit Mor and Ayushi Rathod for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1860648 13f79535-47bb-0310-9956-ffa450edef68
2019-06-05 09:44:35 +00:00
Jacques Le Roux ad14f70944 Improved: Missing uiLabel for Create New on CMS Content Find Screen
(OFBIZ-11005)

Steps to regenerate:
    Go to https://demo-trunk.ofbiz.apache.org/content/control/CMSContentFind
    Find missing uiLabel for Create New, showing as CommonCreateNew.

jleroux: This is related with OFBIZ-9905, we decided to use only CommonCreate
This do that and fix others which were missing in OFBIZ-9905

Thanks: Pawan Verma for report, Suraj for comment


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1858516 13f79535-47bb-0310-9956-ffa450edef68
2019-05-02 06:44:47 +00:00
Jacopo Cappellato 2df8887cb4 Fixed: improved the configuration for the "add forum message" form (the source
tab is not needed in the ecommerce application).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1858435 13f79535-47bb-0310-9956-ffa450edef68
2019-04-30 14:47:31 +00:00
Deepak Dixit 157f23f7d2 Improved: Markup improvement for the blogs screen
(OFBIZ-10578)
Thanks  Nitish Mishra and Parakh Maheshwari for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1855086 13f79535-47bb-0310-9956-ffa450edef68
2019-03-09 06:34:33 +00:00
Deepak Dixit 5f6727ee53 Improved: Convert Promotion Screen of e-commerce as per Bootstrap Styling
(OFBIZ-10793)
Thanks  Nitish Mishra for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1851185 13f79535-47bb-0310-9956-ffa450edef68
2019-01-12 19:15:09 +00:00
Deepak Dixit 8ba3822d60 Fixed:List Request page seems distorted of ecommerce component
(OFBIZ-10621)
Thanks  Garima jain for reporting the issue.
Set the col class based on right/left screen inclusion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1851140 13f79535-47bb-0310-9956-ffa450edef68
2019-01-12 06:46:53 +00:00
Deepak Dixit 84b11df4c5 Only formatting , No function chages
(OFBIZ-10790)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1851139 13f79535-47bb-0310-9956-ffa450edef68
2019-01-12 06:39:55 +00:00
Deepak Dixit 44a7af62ed Improved: Improve ecommerce main-decorator
(OFBIZ-10790)
Added two new section in ecommerce main-decorator, now we don't need to pass right/left bar screen name, instead we can include it directly in decoratot-section.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1851135 13f79535-47bb-0310-9956-ffa450edef68
2019-01-12 06:15:17 +00:00
Deepak Dixit d2101257df Fixed: visual-editor not working on ecommerce (OFBIZ-10708)
The main issue was in js file loading, jQuery is being initialised twice thus eltre might not be available in the prototype of reinitialised jQuery object.
Thanks Aditya Sharama for the discussion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1848921 13f79535-47bb-0310-9956-ffa450edef68
2018-12-14 10:32:46 +00:00
Deepak Dixit cc74c200ec Improved: Removed some unused commented code
(OFBIZ-10482)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1847350 13f79535-47bb-0310-9956-ffa450edef68
2018-11-24 09:27:27 +00:00
Deepak Dixit d4fa2f9f6d Fixed: Quote list is not showing on ecommerce
(OFBIZ-10628)
Thanks  Mohammed Rehan Khan for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1847346 13f79535-47bb-0310-9956-ffa450edef68
2018-11-24 08:48:01 +00:00
Suraj Khurana 909c2c5996 Improved: Cart summary section distroted after add to cart on Medium screen devices.
(OFBIZ-10385)
Thanks Padmavati Rawat for reporting and Garima Jain for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1841672 13f79535-47bb-0310-9956-ffa450edef68
2018-09-22 12:16:42 +00:00
Aditya Sharma ba17a2ed01 Improved: Change the uggly favicon with the new one ! | Using new OFBiz logo
(OFBIZ-10522)
Updated the icon for the ecommerce.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1838797 13f79535-47bb-0310-9956-ffa450edef68
2018-08-24 09:18:59 +00:00
Jacques Le Roux 50c6d3604a Fixed: Click on category the filter function doesn't work
(OFBIZ-10423)

Click on the left category, the page doesn't refresh, there are two issues.

productCategoryId not set in 
   ecommerce/groovyScripts/catalog/AjaxBreadcrumbs.groovy
updated data will fill in #div3, but the div id is missing in 
   ecommerce/widget/CommonScreens.xml
 
Thanks: Jason Hao

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1832800 13f79535-47bb-0310-9956-ffa450edef68
2018-06-04 08:34:35 +00:00
Jacques Le Roux 56bbe808d2 Fixed: jquery.jgrowl.min.css url out of date
(OFBIZ-10421)

jleroux: this is only in ecommerce and R16 is not concerned

Thanks: Jason Hao

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1832727 13f79535-47bb-0310-9956-ffa450edef68
2018-06-02 09:11:22 +00:00
Jacques Le Roux b1fd51c50d Fixed: One Page Checkout page cannot move to Step 5 due to javascript errors
(OFBIZ-10329)

When you click on continue to step 5 you encounter some javascript exception
which makes the checkout process hit the wall.

additional-methods.min.js was missing in ecommerce
 
Thanks: Sameer Gajanan Apte

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1828569 13f79535-47bb-0310-9956-ffa450edef68
2018-04-06 21:06:48 +00:00
Deepak Dixit b3d7080811 Improved: Update markup of Checkout page according to standard markup given by Bootstrap v4.0.s (OFBIZ-10105)
Thanks Mayank for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1822389 13f79535-47bb-0310-9956-ffa450edef68
2018-01-27 11:16:45 +00:00
Deepak Dixit 0255eb3b98 Improved: Update markup of qucik add page according to standard markup given by Bootstrap v4.0.0 (OFBIZ-10161)
Thanks Nitish Mishra for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1822145 13f79535-47bb-0310-9956-ffa450edef68
2018-01-24 18:06:18 +00:00
Deepak Dixit c8d1ee4d2a Improved: Update Bootstrap 4.0 library to stable version from bootstrap 4.0 beta-2 (OFBIZ-10179)
Thanks  Parakh Maheshwari for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1822129 13f79535-47bb-0310-9956-ffa450edef68
2018-01-24 17:39:22 +00:00
Deepak Dixit b3efcef195 Improved: Update markup of Quick Checkout Page according to standard markup given by Bootstrap v4.0.0 (OFBIZ-10136)
Thanks Mayank Lambhate for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1821051 13f79535-47bb-0310-9956-ffa450edef68
2018-01-13 08:49:54 +00:00
Jacques Le Roux 1e1e7a0d8f Fixed: Exception Error rendering on all View Category pages
(OFBIZ-10006)

Steps to regenerate:
1. Open https://demo-trunk.ofbiz.apache.org/ecommerce/control/main
2. Go to Category section
3. Click any category
Exception Error renders

jleroux: the patch fixes the issue in log but the feature still does not work. 
I mean when you click on a category in the tree nothing happens. 
I see no related js error in browser console.

Thanks: Archana Asthana for report and Aman Agrawal for patch



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1819592 13f79535-47bb-0310-9956-ffa450edef68
2017-12-30 11:35:38 +00:00
Jacques Le Roux 40fd4b889a Fixes a wrong path to jgrowl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1819589 13f79535-47bb-0310-9956-ffa450edef68
2017-12-30 10:36:47 +00:00
Deepak Dixit 03e8859b55 Improved: Improvement in navbar of ecommerce page (OFBIZ-10117)
Thanks Parakh and Mayank for your contribtion.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1819205 13f79535-47bb-0310-9956-ffa450edef68
2017-12-24 08:29:19 +00:00
Deepak Dixit 402bed6c03 Improved: Update markup of party profile page according to standard markup given by Bootstrap v4.0.0 (OFBIZ-10043)
Thanks Parakh Maheshwari for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1819128 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 09:41:28 +00:00
Deepak Dixit c1b408f80d Improved: Restructuring of ecommerce container according to responsive behaviour of bootstrap (OFBIZ-10106)
Thanks Parakh Maheshwari for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1819000 13f79535-47bb-0310-9956-ffa450edef68
2017-12-22 06:51:18 +00:00
Deepak Dixit d25e3ed4c0 Improved: Updated footer markup, now footer will be render properly on all pages.
Thanks Parakh for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1818789 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 12:41:25 +00:00
Deepak Dixit 09715443d9 Improved: Update markup of List Requests page according to standard markup given by Bootstrap v4.0.s (OFBIZ-10092)
Thanks Nitish Mishra for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1818774 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 11:15:54 +00:00
Deepak Dixit 41fb12d13d Improved: Update markup of Home page product summary section to standard markup given by Bootstrap v4.0.0 (OFBIZ-10055)
Thanks Saurabh Dixit for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1818773 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 11:08:53 +00:00
Deepak Dixit 4307fe1436 Fixed: PropertyNotFoundException occuring while accessing ecommerce applicaiton, moved InitTheme.groovy code at the starting of man-decorator, as layoutSettings variable was used to set some valies.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1818255 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 09:58:38 +00:00
Deepak Dixit d27c3dcb3a Fixed: Added popper.js file to fix ecommerce js console error (OFBIZ-10016)
currently, there is an open issue with bootstrap.bundle.min.js, It gives 'Uncaught ReferenceError: Popper is not defined' so, to fix this issue I am including separate popper.js from it.
popper.js is temporarily included when this issue is fixed in the stable version we will remove it from here.
Here is the link for reference:
https://github.com/FezVrasta/popper.js/issues/501

Thanks Parakh Maheshwari for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1818250 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 09:25:37 +00:00
Deepak Dixit 97f6877737 Improved: Update markup of Home page according to standard markup given by Bootstrap v4.0.0 (OFBIZ-10011)
Thanks Parakh and Mayank for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1818245 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 08:56:27 +00:00
Jacques Le Roux ea53c06d18 Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
The path of JQuery UI in ecommerce plugin was missing, this fixes it

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1817095 13f79535-47bb-0310-9956-ffa450edef68
2017-12-04 14:43:51 +00:00
Jacques Le Roux e951c2ee65 Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
(OFBIZ-9978)

Includes following changes
jQuery UI upgraded to 1.12.1
Included CSS files to theme properties and screens.

Manually added datepicker-en.js and datepicker-it-CH.js a new candidate added 
it to jsLanguageFilesMapping
Updated defaultDateTime path of dateTime picker it was having path of 
timepicker files.

I18n files for datepicker renamed from jquery.ui.datepicker- to datepicker- 
as comes with the JQuery ui package so that we don’t have to rename files 
manually everytime we upgrade.
https://github.com/jquery/jquery-ui/tree/master/ui/i18n
Can’t get jquery-ui-i18n.js file though it was not used either.

I have not updated jQuery.cookie-1.4.0.js as it is related to jstree and we will 
update & move it when we will update jstree.

Jeditable 1.7.2 upgraded to 1.7.3

I feel JQuery ui should also be in plugins folder with other JQuery plugin

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1817026 13f79535-47bb-0310-9956-ffa450edef68
2017-12-03 10:15:55 +00:00