Commit Graph
4083 Commits
Author SHA1 Message Date
Suraj Khurana 2de8058af8 Fixed: Unable to remove items from onePageCheckout screen of e-commerce.
(OFBIZ-10800)

Thanks Arpit Mor for reporting and Dhaval Wagela for the patch.
2020-03-02 12:18:52 +05:30
Jacques Le Roux 6d031fe2db Merge pull request #6 from PierreSmits/OFBIZ-10561
Improved: AssetMaint labels (OFBIZ-10561
2020-02-28 15:44:58 +01:00
akash 019cc010fc Improvement: Dropdown/facet at Reports under 'Sale Orders By Channel' is not working fine
(OFBIZ-10624)

Thanks, Ritesh Kumar and Dikpal Kanungo for your contribution.
2020-02-22 18:33:02 +05:30
Suraj Khurana a73712b17a Fixed: Billing Information UI getting distorted.
(OFBIZ-10980)

Thanks Padmavati Rawat for reporting and Sourabh Punyani for the patch.
2020-02-22 17:14:19 +05:30
akash 21e4a7299d Improvement: Print and Export of ViewFacilityInventoryByProduct report into new window
(OFBIZ-10526)

Thanks, Sourabh Punyani and Pierre Smits for your contribution.
2020-02-22 16:48:26 +05:30
Jacques Le Roux a42ac97ce9 Fixed: replaceFirst sensible to variable pattern
(OFBIZ-11396)

When using variable pattern with replaceFirst you may cross issues if the
pattern contains specific tokens. For instance on Windows with the path
"C:\projectsASF\Git\ofbiz-framework/" you have inside the token "\p" which has
a special meaning.
2020-02-22 07:43:13 +01:00
akash c6067e44cc Improvement: Quantity and Add to Cart button showing twice on Compare Products page
(OFBIZ-10665)

Thanks, Ritesh Kumar and Dikpal Kanungo for your contribution.
2020-02-22 11:31:58 +05:30
Pierre Smits 8173afed0f Improved: AssetMaint labels
(OFBIZ-10561)

removed: unused labels
2020-02-20 11:44:03 +01:00
Jacques Le Roux 7525177800 Improved: no functional change
This file inadvertently slipped in with a previous commit, it's not needed.
2020-02-19 14:07:04 +01:00
Jacques Le Roux e5e7567798 Fixed: The "stream" request-map in ecommerce and commonext controllers
requires authentication
(OFBIZ-11349)

Thanks: Michael for reporting a possible issue when only commenting the "stream"
request-map in commonext controller. And Jacopo to suggest to require
authentication (after suggesting to comment out)

It should be also noted that when the CSRF defense implementation will be in
place, all XSS vulnerabilities w/o authentication will not longer be possible.
Because then all requests shall contains a CSRF token.
2020-02-19 13:55:35 +01:00
Jacques Le Roux c004c8f00b Improved: Temporarily comment out the "stream" request-map in ecommerce
controller for security reason
(OFBIZ-11348)

No functional change, simply amend the comment
2020-02-14 10:22:15 +01:00
Jacques Le Roux 57de034e1c Fixed: Temporarily comment out the "stream" request-map in ecommerce controller
for security reason
(OFBIZ-11348)

A vulnerability has been reported to the OFBiz security team. We were able to
quickly and quietly fix it in supported versions, but in the ecommerce component.
To be able to release the 17.12.01 version with this vulnerability fixed we need
to temporarily comment out the "stream" request-map in ecommerce controller.
We will later fix the specific issue in ecommerce to put back the functionnalities
allowed by the "stream" request-map in ecommerce controller.
2020-02-13 06:50:51 +01:00
Jacques Le Roux dbde1204e9 Improved: no functional change
This was added for OFBIZ-9198 but was superfluous since the same is already in
the included ecommerce controller
2020-02-12 16:26:43 +01:00
Aditya Sharma 6f17e2253e Merge pull request #5 from adityasharma7/OFBIZ-11333
Implemented: Cookie Consent In E-Commerce
2020-02-11 13:56:15 +05:30
Aditya Sharma 031fb51255 Implemented: Cookie Consent In E-Commerce
(OFBIZ-11333)
Implemented internationalisation by initialising the plugin in header.ftl and using uiLabels for title, message and labels.
Thanks Michael Brohl for your inputs
2020-02-11 11:21:32 +05:30
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
Aditya Sharma 985840046a Improved: no functional change
Added .gitignore file
2020-02-10 10:42:34 +05:30
Nicolas Malin 04b2c4c28a Fixed: Error when initialize billFromParty from groovy context in loadSalesOrderItemFact service
After the conversion from bsh to groovy, the script that resolve
billFromParty need to propage the value on context Map to be available
on minilang context
2020-02-06 13:03:18 +01:00
Pawan Verma 90e5f7deff Fixed: service 'loadSalesOrderItemFact' has hard coded currencyUomId
(OFBIZ-11033)

Used PartyAccountingPreference.baseCurrencyUomId instead of hard coded USD.

Thanks: Pierre Smits for your contribution.
2020-01-30 18:55:01 +05:30
Pawan Verma ccb6219954 Implemented: Have a Country Dimension
(OFBIZ-10954)

Added new CountryDimension entity in olap.

Thanks: Pierre Smits for your contribution.
2020-01-30 14:45:25 +05:30
akash 61ad77166b Fixed: User is unable to create return.
(OFBIZ-10850)
Thanks, Ashish and Ankush Upadhyay for your contribution.
2020-01-25 18:31:23 +05:30
Jacques Le Roux 15750b9d5a Fixed: User should not be directed to main page after adding product to cart
from showcart page
(OFBIZ-11223)

    Navigate to URL: https://demo-trunk.ofbiz.apache.org/ecomseo/
    Click on View Cart at top-right of the page (User will be directed to showcart page)
    Enter product number (Eg: GZ-2644)
    Enter quantity
    Click on add to cart

Product is added to the cart but user is directed to main page of ecommerce. 


Thanks: Arpit Mor for report, Sourabh Punyani for the fix
2020-01-25 10:57:15 +01:00
Pawan Verma 0c6a80ac69 Fixed: Corrected file path for ProcessPaymentSettings.groovy
(OFBIZ-11324)
2020-01-25 11:41:45 +05:30
James Yong ffb54c2180 Fixed: processorder is submitted as GET instead of POST
(OFBIZ-11319)

During checkout of shopping cart, it is observed that the processorder of the form action is submitted as GET which is incorrect.

Thanks: Jacques for the review
2020-01-13 22:31:10 +08:00
James Yong 7cbc4b6d79 Improved: Add 'controlPath' attribute to 'ofbizUrl' freemarker macro
(OFBIZ-11317)

Adding the controlPath attribute to allow the controls by ofbizUrl to support uri to other OFBiz web application.

Thanks: Jacques for the review
2020-01-12 22:34:39 +08:00
Jacques Le Roux 95deb6f87f Improved: no functional change
(OFBIZ-INFRA-19550)

Buildbot build triggered by another project

This to test the ofbiz-plugins (only) trigger
2019-12-17 11:33:22 +01:00
Mathieu Lirzin 1158664ba3 Fixed: Add XML declaration in “web.xml” files (OFBIZ-6993)
These declarations avoid SAXParseException traceback when parsing web.xml
the first time in WebappUtil.parseWebXmlFile

A schema conformance issue has been fixed in ecommerce “web.xml”.
2019-12-07 22:52:30 +01:00
Jacques Le Roux f435521da9 No functional change
Just re-adds a line to fix INFRA-19505
2019-11-30 07:29:13 +01:00
Jacques Le Roux 30cbad0392 No functional change
Just adds a line to check that a sole plugins commit triggers the
frameworl-plugins Buildbot build
2019-11-29 15:56:09 +01:00
Mathieu Lirzin c0db78c750 Fixed: Use correct package name for ‘OrderNotificationTests.groovy’
This test belongs to the ‘ecommerce’ plugin not to the ‘order’ plugin.
2019-11-26 00:03:18 +01:00
Jacopo Cappellato e49b345808 Fixed: Add missing view permissions checks to various screens. 2019-11-15 19:24:22 +01:00
Jacques Le Roux 045f97b956 Fixed: Link in verification email for Newsletter gives security error
(OFBIZ-9804)

Changes ContactListEmailTemplate.ftl to also use GET. 
Because we dont' want a form to ask, but only to hide parameters.
See details in Jira.

Handles the emails also in ecomseo after OFBIZ-11278

I have still to see why I get this message at the end of the process:
"Invalid verify code for the New Product Announcements"
ie when using the link in the last (3rd) email:
"Subscribe Contact List New Product Announcements"
This will be another Jira..!
2019-11-10 10:59:01 +01:00
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
Jacques Le Roux 25733c0981 Create .sonarcloud.properties 2019-11-04 09:25:14 +01:00
Jacques Le Roux 3ec8fc30f4 Improved: no functional change
We use HSTS but anyway replaces HTTP by HTTPS in some data. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1869102 13f79535-47bb-0310-9956-ffa450edef68
2019-10-29 09:17:36 +00:00
Jacques Le Roux 448d820b93 Adds a specific TortoiseSVN commit log header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1869101 13f79535-47bb-0310-9956-ffa450edef68
2019-10-29 09:16:09 +00:00
Jacques Le Roux d35a26937b Fixed: Move OrderNotificationTests.groovy from order to ecommerce
(OFBIZ-11255)

Fixes the errors in framework only tests, order and ecommerce suites tests pass


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1868591 13f79535-47bb-0310-9956-ffa450edef68
2019-10-18 13:16:39 +00:00
Jacques Le Roux 229027647f Fixed: EditExample always update status, because current Status not shown
(OFBIZ-11230)

In the EditExample Form, the drop-down is populates with the Valid change status 
only. So current status is not in the list and the status print in the drop-down 
is the next authorized. I want to modify exampleName or exampleType, I go to 
editExample and change what I want and validate. The problem is status is also 
changed!

There are 12 other same or similar cases. For the first of them (in FinAccount) 
there is the same bug: when I change FinAccount Name, status change too. If I 
add current="first-in-list" in the tag drop-down it works 

jleroux: Quote is a peculiar case due to OFBIZ-7337 which was a wrong fix
 
Thanks: Oliver for the analysis and the fix 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1868545 13f79535-47bb-0310-9956-ffa450edef68
2019-10-17 12:19:33 +00:00
Jacques Le Roux 23dbe19690 Improved: Upgrade Tomcat from 9.0.26 to 9.0.27
(OFBIZ-11249)

Forgot a plugin, as ever :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1868544 13f79535-47bb-0310-9956-ffa450edef68
2019-10-17 12:18:00 +00:00
Jacques Le Roux 682f3438f3 Improved: Update build.gradle to the latest dependencies
(OFBIZ-11245)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1868194 13f79535-47bb-0310-9956-ffa450edef68
2019-10-09 14:06:47 +00:00
Jacques Le Roux fbbd9d893f Improved: no functional change
In r1868022 I added the POS_SALES_CHANNEL was suggested in OFBIZ-10965. Actually
that was wrong. Tt's already in PosTypeData.xml though with a wrong sequenceId

This fixes it


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1868023 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 14:23:17 +00:00
Jacques Le Roux 63962f306a Fixed: Issue with "User name filed" while creating the new user
(OFBIZ-11226)

Steps to regenerate:

    Open URL https://demo-trunk.ofbiz.apache.org
    2. Click on the "Register" button for creating a new customer
    3. Enter all the mandatory details for the registring a new customer
    4. Enter the user name with a dot (.), for example: "demo.user"
    5. Click on the "Save" button

Actual: Error message "Username can only have letters, digits and the _- 
        characters" is displaying on the screen.

Expected: Dot (.) should be also allowed in validation rules when we enter user 
name manually with a dot (.)

Thanks: Vedansh Tiwari for report

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1867849 13f79535-47bb-0310-9956-ffa450edef68
2019-10-01 17:32:02 +00:00
Jacques Le Roux 9274944a43 Fixed: Freemarker error on reviewProduct page on storefront
(OFBIZ-11108)

Steps to regenerate:
1)Navigate to https://demo-trunk.ofbiz.apache.org/ecommerce/control/main
2) User should not be logged in
3) Click on any product
4) Click on Be The First To Review This Product! link
5) FTL error for the null check is occurring

Thanks: Minal Phalak for the patch and Suraj for review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1867717 13f79535-47bb-0310-9956-ffa450edef68
2019-09-29 09:43:42 +00:00
Jacques Le Roux 433fa628f5 Improved: UI issue on ecommerce Product page
(OFBIZ-10884)

Navigate to demo-trunk ecom
Click on Product titled as Enchiladas, It redirects to the product page
On the Product page, Multiple horizontal lines are displayed 

Thanks: Garima jain for report, Sourabh Punyani for initial patch and Jayesh 
Agrawal for updated patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1867712 13f79535-47bb-0310-9956-ffa450edef68
2019-09-29 09:31:59 +00:00
Jacques Le Roux 6b3267d2cf Improved: no functional change
Small change in tsvn log template

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1867711 13f79535-47bb-0310-9956-ffa450edef68
2019-09-29 09:29:40 +00: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
Pawan Verma 09095590a8 Improved: Replaced hard coded PDF instead of uiLabel on various places
(OFBIZ-11169)
 
Replaced hard coded PDF instead of uiLabel on various places use CommonUilable instead.
 
Thanks: Komal Dayle for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1865854 13f79535-47bb-0310-9956-ffa450edef68
2019-08-24 15:06:14 +00:00
Pawan Verma e5077bed41 Fixed: Scrum parties don't have partyTypeId set
(OFBIZ-11013)
Added missing partyTypeId data for the Scrum Parties.

Thanks: Pierre Smits for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1865828 13f79535-47bb-0310-9956-ffa450edef68
2019-08-24 09:32:41 +00:00
Mathieu Lirzin af4b7336c9 Improved: Remove redundant "dtd" directory from classpath
(OFBIZ-11161)

the "dtd" directories are already present as resources distributed
inside OFBiz jar, so there is no need to augment the classpath to find
the XML schema inside those directories.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1865797 13f79535-47bb-0310-9956-ffa450edef68
2019-08-24 00:30:34 +00:00