Commit Graph
4365 Commits
Author SHA1 Message Date
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
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
Jacques Le Roux 5d53e28b6d Fixed: Issue loading solr component (JNDI timeout)
(OFBIZ-11156)

We need to provide a JNDI environment property for Solr to load faster

Fixes previous commit where I hastily harcoded in jndi.properties file

Used a system property which can be used to define a JNDI environment 
property

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1865347 13f79535-47bb-0310-9956-ffa450edef68
2019-08-17 11:34:01 +00:00
Jacques Le Roux 6a30378f06 Improved: Update build.gradle to the latest dependencies
(OFBIZ-11151)
We can update Guava to v28: 
https://mvnrepository.com/artifact/org.apache.solr/solr-core/8.2.0.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1865336 13f79535-47bb-0310-9956-ffa450edef68
2019-08-17 07:01:55 +00:00
Jacques Le Roux 4f19b762f3 Improved: Update build.gradle to the latest dependencies
(OFBIZ-11151)

Like for OFBIZ-10922 some updates were not possible. Please refer to the Jira 
for more information

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1864973 13f79535-47bb-0310-9956-ffa450edef68
2019-08-12 15:03:03 +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
Mathieu Lirzin 5ae9892e4e Improved: Inline ‘UtilGenerics#checkList’
(OFBIZ-11141)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1863492 13f79535-47bb-0310-9956-ffa450edef68
2019-07-20 16:22:24 +00:00
Mathieu Lirzin 31fa95fd91 Improved: Inline ‘UtilGenerics#checkMap’
(OFBIZ-11141)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1863491 13f79535-47bb-0310-9956-ffa450edef68
2019-07-20 16:21:23 +00:00
Mathieu Lirzin 5154931f4f Improved: Inline ‘UtilGenerics#checkSet’
(OFBIZ-11141)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1863490 13f79535-47bb-0310-9956-ffa450edef68
2019-07-20 16:20:16 +00:00
Mathieu Lirzin 6e211a7c2a Improved: Use ‘UtilGenerics#checkCollection’ when possible
(OFBIZ-11141)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1863488 13f79535-47bb-0310-9956-ffa450edef68
2019-07-20 16:17:32 +00:00
Mathieu Lirzin 237a2fc8f7 Improved: Do not use ‘UtilMisc#toList’
(OFBIZ-11140)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1863390 13f79535-47bb-0310-9956-ffa450edef68
2019-07-19 13:38:49 +00:00
Jacques Le Roux 82f440a4a1 Improved: Navigate from a domain to another with automated signed in
authentication
(OFBIZ-10307)

Currently the CORS demonstration in example component is useless.
This tooltip allows local users to test it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1862538 13f79535-47bb-0310-9956-ffa450edef68
2019-07-04 08:14:05 +00:00
Jacques Le Roux 6ed67067c7 Fixed: Error message is displayed when user having space in username logs
in at ecommerce
(OFBIZ-10671)

Steps to regenerate:
 # Open URL: [https://demo-trunk.ofbiz.apache.org/ecommerce/control/main]
 # Click on register in header section
 # Provide all the mandatory information but provide a user name such that is 
    contains a space (like: Walter White or Jesse Pinkman)
 # Click on save button

Actual: When user clicks on save button then he is redirected to main page of 
ecommerce and an error message is displayed. 
Similarly when user with space in username tries to login, error message is 
displayed. 

Praven: Added standard regex for username allowed alphabets, numbers, and _-
jleroux: actually "-" was  missing in the regepx definition.

Thanks: Arpit Mor for report and Praveen Sharma for the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1862466 13f79535-47bb-0310-9956-ffa450edef68
2019-07-03 13:30:28 +00:00
Mathieu Lirzin a0fd98c02d Improved: Use ‘ServletRequest#getServletContext’ when possible
(OFBIZ-11129)

Avoid unecessary casts by using ‘ServletRequest#getServletContext’
instead of ‘ServletRequest#getAttribute’. This method is available
since Servlet specification 3.0.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1862296 13f79535-47bb-0310-9956-ffa450edef68
2019-06-28 23:06:05 +00:00
Jacques Le Roux 280e24a57b Fixed: Last Categories section is blank
(OFBIZ-10858)

Fixes typos in descriptions

Thanks: Priya Sharma

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1861986 13f79535-47bb-0310-9956-ffa450edef68
2019-06-24 10:31:11 +00:00
Jacques Le Roux 363643717c Fixed: Last Categories section is blank
(OFBIZ-10858)

Issue 1:
1. Open https://demo-trunk.ofbiz.apache.org/ecomseo
2. Click on a category from the Categories section
3. Refresh the page
Actual:
1. Last Categories is blank
2. If we refresh the page then only the search category visible with the last 
row blank with a bullet.

Issue 2:
1. Open https://demo-trunk.ofbiz.apache.org/ecomseo
2. Click on a category from the Categories section
3. Again, open the https://demo-trunk.ofbiz.apache.org/ecomseo in the new tab
Actual: 1st row is blank with searched categories

As per the initial observation, the issue persists for some specific categories 
like Dropship Products, Account Activation and Services.
For all other categories, the last categories section is populated correctly. 
So there could be some issue with the data.

jleroux: on Priya warning I modified the descriptions

Thanks: Rashi Dhagat for reporting, Priya Sharma for the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1861904 13f79535-47bb-0310-9956-ffa450edef68
2019-06-23 09:09:00 +00:00
Jacques Le Roux acad8b02d8 Improved: Ecommerce image distorted in trunk demo main page
(OFBIZ-11095)

Due to recent bootstrap changes, ecommerce image is distorted in trunk demo main 
page

Thanks: Nitish Mishra

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1861867 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 14:01:03 +00:00
Suraj Khurana 72014e0d4f Improved: Request details are overlapping with language and cart summary.
(OFBIZ-10739)
Thanks Ashish Sharma for reporting and Ashish Kumar Pandey for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1861863 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 12:21:21 +00:00
Swapnil Mane 1e106e0c78 Fixed: UI issue on the Contact Us page of ecommerce application
(OFBIZ-11061)

Steps to regenerate:

1. Navigate to https://demo-trunk.ofbiz.apache.org/ecomseo/
2. Click on Login
3. Enter valid username and password
4. Click on login button
5. Click on Contact Us

Actual: From, subject and message label are not displayed properly on some resolution.

Note: This issue is resolution specific if you are unable to generate the issue then increase the resolution of your screen or zoom in the page on browser

Thanks:  Arpit Mor for reporting and Sasikant Biswal for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1861824 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 09:10:39 +00:00