Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 38801c3e25 A 1st patch from Pierre Smits for <<Have the ability to test solr queries through widgets (screens & forms)>> https://issues.apache.org/jira/browse/OFBIZ-6595
Adding widgest (screens, forms, etc) so that an end-user can execute a search  against the data indexed would enhance the applicability of the application.
This patch is the first increment to address the issue. Please feel free to test drive and provide feedback
Currently it includes the following aspects:

    SolrMenus.xml - providing the application menu, items:
        main - opening the start screen of the app
        admin - opening the Solr admin page in a new target
        newquery - opening the query screen
    SolrScreens.xml - defining Solr specific screen widgets
    CommonScreens.xml - defining the common screens for Solr specific screen widgets
    SolrUiLabels.xml - defining Solr app specific labels
    SolrForms.xml - defining Solr specific form widgets
    controller.xml - (re)defining request-map and view-map re widgets

This file also includes a modification to web.xml of the Solr component, changing the mainDecoratorLocation
This patch currently doesn't include functionality to execute a query through widgets and show the result.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736878 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 12:15:15 +00:00
Jacques Le Roux 8e45b3531c A patch from Pierre Smits for <<relocate .ftl files in the project component>> https://issues.apache.org/jira/browse/OFBIZ-6812
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736876 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 12:08:13 +00:00
Jacques Le Roux 2a1ff6866a A patch from Pierre Smits for <<relocate .ftl files in the myportal component>> https://issues.apache.org/jira/browse/OFBIZ-6860
Did not notice I got that

delete --force C:/projectASF-Mars/ofbiz/specialpurpose/myportal/widget/RegisterPerson.ftl
    SQLite error
svn: sqlite[S10]: disk I/O error
svn: Additional errors:
svn: sqlite[S10]: disk I/O error

Deleting again

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736872 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:20:43 +00:00
Jacques Le Roux aa2691cff4 A patch from Pierre Smits for <<relocate .ftl files in the myportal component>> https://issues.apache.org/jira/browse/OFBIZ-6860
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736870 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:16:52 +00:00
Jacques Le Roux f66de0625f A patch from Pierre Smits for <<relocate .ftl files in the wepbpos component>> https://issues.apache.org/jira/browse/OFBIZ-6837
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736869 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:15:43 +00:00
Jacques Le Roux fda400bc3b A patch from Pierre Smits for <<relocate .ftl files in the order component>> https://issues.apache.org/jira/browse/OFBIZ-6819
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736868 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:14:22 +00:00
Jacques Le Roux f2196175f4 A patch from Pierre Smits for <<relocate .ftl files in the manufacturing component>> https://issues.apache.org/jira/browse/OFBIZ-6817
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736867 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:10:43 +00:00
Jacques Le Roux f72e5adba2 A patch from Pierre Smits for <<relocate .ftl files in the humanres component>> https://issues.apache.org/jira/browse/OFBIZ-6816
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736866 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:07:52 +00:00
Jacques Le Roux d71ba4d6cc Fixes an issue with css images path in ecommain.css reported by James Yong at https://issues.apache.org/jira/browse/OFBIZ-6961
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736854 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 10:10:03 +00:00
Jacques Le Roux da5d077310 A patch from James Yong for <<popup fades in and out non-stop when hovers on a product image in list view>> https://issues.apache.org/jira/browse/OFBIZ-6961
Problem
========
Go to https://localhost:8443/ecommerce/gift-cards-GC-100-c
When the mouse hovers on a product image in a list view, the popup fades in and out non-stop.
 
Cause
=====
The list view has a narrower height than the grid (matrix) view. This causes the popup to overlay on the target and results in the cycling.

Quick Fix
==============
To illustrate the problem, we change the display to grid view, instead of list view, by append the following to the CatalogDetail.groovy file
{quote}
context.put("numCol", 3);
context.viewSize = 12;
{quote}

Better Solution
===============
Use tooltip from jQuery UI. Works correctly when the products are displayed in list view / grid view. A patch will be provided.


jleroux: I checked, there should not be other cases like this

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736851 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 09:55:17 +00:00
Jacques Le Roux 2f43c5a993 Patches from Pierre Smits for <<Enhancing *Attribute entities with a description field>> https://issues.apache.org/jira/browse/OFBIZ-6962
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736846 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 09:31:53 +00:00
Jacques Le Roux 9baddd4578 No functional change.
Long ago I wanted to implement a VAT report. At r738452 I already committed "an unused taxAuthorityVATReport request/view-map in accounting controller (part of another task I slowly work on)". 
Here the part I was working on. I did not change anything since but I prefer now to have this in repo. Maybe someone will complete it and maybe this will be me... later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736737 13f79535-47bb-0310-9956-ffa450edef68
2016-03-27 11:29:49 +00:00
Jacques Le Roux 10b1eef855 Patches from Pierre Smits for <<rename AccountingConfig.properties to accounting.properties>> https://issues.apache.org/jira/browse/OFBIZ-6954
Currently many properties files in various components are named after the component, i.e. the bi component has bi.properties.
In order to have consistency from component to component the AccountingConfig.properties file must be renamed to accounting.properties and all references in other components should reflect the change.

jleroux: I also changed a bunch of accountingconfig names in comments/descriptions/etc. And of course as ever I forgot to update the view before committing (or to save sources) here are missing parts from previous commit



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736736 13f79535-47bb-0310-9956-ffa450edef68
2016-03-27 11:21:17 +00:00
Jacques Le Roux 89d5d687ef Patches from Pierre Smits for <<rename AccountingConfig.properties to accounting.properties>> https://issues.apache.org/jira/browse/OFBIZ-6954
Currently many properties files in various components are named after the component, i.e. the bi component has bi.properties.
In order to have consistency from component to component the AccountingConfig.properties file must be renamed to accounting.properties and all references in other components should reflect the change.

jleroux: I also changed a bunch of accountingconfig names in comments/descriptions/etc.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736734 13f79535-47bb-0310-9956-ffa450edef68
2016-03-27 10:59:54 +00:00
Jacques Le Roux 49a2e60390 Fixes a typo in labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736694 13f79535-47bb-0310-9956-ffa450edef68
2016-03-26 11:28:24 +00:00
Jacques Le Roux 3182bfd531 Fixes "Adding some translations for French" - https://issues.apache.org/jira/browse/OFBIZ-4761
Thanks to James Young report!

jleroux: I moved 
  <value xml:lang="fr">Créer un référencement de categorie/produits</value>
  <value xml:lang="en">Modifier le contenu de référencement pour la Categorie</value>
into their rights positions

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736693 13f79535-47bb-0310-9956-ffa450edef68
2016-03-26 11:24:38 +00:00
Jacques Le Roux 3db0424069 Fixes "Failed to load contentForum.css" - https://issues.apache.org/jira/browse/OFBIZ-6956
Got the following error when accessing ecommerce main page
"NetworkError: 404 Not Found - https://127.0.0.1:8443/contentimages/contentForum.css"

jleroux: contentimages webapp path was wrongly used there instead of simply content. I replaced all occurrences


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736628 13f79535-47bb-0310-9956-ffa450edef68
2016-03-25 18:02:16 +00:00
Jacques Le Roux 86e954bda5 A patch from Pierre Smits for <<Correct setting of the WorkEffortPurposeTypeId on production run tasks>> https://issues.apache.org/jira/browse/OFBIZ-6954
Currently when a new production run is created, the workeffort purpose type id is set to WEPT_PRODUCTION_RUN. This setting should also be applied to the associate production run tasks. 
However, this doesn't happen. Instead the workeffort purpose type id from the routing task is copied.

jleroux: I agree with Pierre after a short discussion. This patch will ensure that routing tasks will be visible in the CAL_MANUFACTURING calendar without losing any information since the association, be a routing task or a task for a production run, will remain in the WorkEffortAssoc entity with a workEffortAssocTypeId = “WORK_EFF_TEMPLATE”.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736621 13f79535-47bb-0310-9956-ffa450edef68
2016-03-25 17:53:50 +00:00
Jacques Le Roux 5b9cbbebde Fixes "jquery plugin jgrowl is loaded before jquery in ecommerce" - https://issues.apache.org/jira/browse/OFBIZ-6957
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736614 13f79535-47bb-0310-9956-ffa450edef68
2016-03-25 16:41:36 +00:00
Jacques Le Roux 60abf1ffce A patch from Pierre Smits for <<Adding event definitions for inbound and outbound shipments>> https://issues.apache.org/jira/browse/OFBIZ-6958
When inbound and outbound shipments are registered also WorkEffort records are persisted. 
* This action doesn't set the workEffortPurposeTypeId for the created work efforts.

jleroux: 2nd and last part




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736606 13f79535-47bb-0310-9956-ffa450edef68
2016-03-25 16:13:10 +00:00
Jacques Le Roux a725bd4db7 Fixes "Update XStream lib to prevent XML External Entity (XXE) Processing" - https://issues.apache.org/jira/browse/OFBIZ-6959
The XStream team has released the 1.4.9 stable version in March 15, 2016
This version fixes the XML External Entity (XXE) Processing security issue https://www.owasp.org/index.php/XML_External_Entity_%28XXE%29_Processing
Since OFBiz uses the DomDriver, with Java 6 at least in supported releases, OFBiz seems not really vulnerable https://x-stream.github.io/faq.html#Security_XXEVulnerability, but better to be safe than sorry, notably for not OOTB uses...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736434 13f79535-47bb-0310-9956-ffa450edef68
2016-03-24 12:12:11 +00:00
Jacques Le Roux 2c859f7a60 A patch from Pierre Smits for <<Adding event definitions for inbound and outbound shipments>> https://issues.apache.org/jira/browse/OFBIZ-6958
When inbound and outbound shipments are registered also WorkEffort records are persisted. 
* This action doesn't set the workEffortPurposeTypeId for the created work efforts.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736409 13f79535-47bb-0310-9956-ffa450edef68
2016-03-24 10:06:54 +00:00
Deepak Dixit 64ef408374 Removed extra unused sign from start.properties file, I think its mistakenly committed at r#1736083.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736272 13f79535-47bb-0310-9956-ffa450edef68
2016-03-23 05:23:41 +00:00
Jacques Le Roux 339ad450f1 A partial and modified patch from Francis ANDRE for "Adding some translations for French" - https://issues.apache.org/jira/browse/OFBIZ-4761
jleroux: I have no added the PostalAddress_FRA.ftl. There was only a simple one and it seems better to me. I also fixed some labels issues as reported in the Jira

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736248 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 20:41:49 +00:00
Jacques Le Roux 4a0e16a792 A patch from Pierre Smits for <<enhancement of dutch labels>> https://issues.apache.org/jira/browse/OFBIZ-6950
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736246 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 20:13:43 +00:00
Jacques Le Roux 33e3a15077 A patch from Pierre Smits for <<Dutch translations for catalog labels>> https://issues.apache.org/jira/browse/OFBIZ-6890
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736245 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 20:11:43 +00:00
Nicolas Malin d40919bdb9 correct typo on javadoc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736222 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 18:08:26 +00:00
Jacques Le Roux fc25d442b3 Reverts r1735777, it was for "Credit card valdation does not work properly during anonymous quick checkout process" - https://issues.apache.org/jira/browse/OFBIZ-1585
Few tests don't pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736164 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 09:18:59 +00:00
Jacques Le Roux 48ef641fe6 No functional change.
xpos.properties was wrongly committed at r1736083, this removes unwanted changes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736087 13f79535-47bb-0310-9956-ffa450edef68
2016-03-21 20:38:47 +00:00
Jacques Le Roux e38ec39dfe This partially reverts r1735569 to simplify and have less commented out parts.
Fixes "Comment out RMI related code because of the Java deserialization issue" - https://issues.apache.org/jira/browse/OFBIZ-6942

We decided to comment out as less as possible because once, in the start and both properties; the rmi part is off and the related test services are off there is no RMI related danger left (test services are not a danger but would fail during tests run). 
It's then easier for users who need RMI in their projects to have only to uncomment those and not digg everywhere.

[CVE-2016-2170] The infamous Java serialization vulnerability

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1736083 13f79535-47bb-0310-9956-ffa450edef68
2016-03-21 20:17:59 +00:00
Jacques Le Roux 62258e21ed A patch from Pierre Smits for <<Update various manufacturing labels regarding the dutch locale >> https://issues.apache.org/jira/browse/OFBIZ-6876
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735853 13f79535-47bb-0310-9956-ffa450edef68
2016-03-20 09:31:59 +00:00
Jacques Le Roux 0af41dde6c A enhanced patch from Pierre Smits for <<Move forms in ProductStoreForms.xml to StoreForms.xml>> https://issues.apache.org/jira/browse/OFBIZ-6938
jleroux: I simply added the necessary changes in StoreScreens.xml and removed ProductStoreForms.xml. I did not test yet because I have an issue with CatalinaContainer.java, should be OK the changes are straightforward


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735844 13f79535-47bb-0310-9956-ffa450edef68
2016-03-20 08:31:27 +00:00
Divesh Dutta 382d99527a [OFBIZ-5703] Fixed: Project contents were not getting deleted. auto-parameters-entity does not seems to be working, for now passed all the needed parameters. Thanks Anuj Jain for the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735778 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 14:57:27 +00:00
Divesh Dutta 368bb334d7 Fixed : Credit Card validation does not work properly during anonymous quick checkout process. Added new method checkoutValidation which will validate if shipping method and payment method are in cart and if not available then this method will return error. Thanks Jagpreet Kaur for the patch and Late Raj Saini for reporting this bug.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735777 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 14:38:48 +00:00
Divesh Dutta 2ff59019a3 [OFBIZ-6042] Allowing inventory transfers based on Product instead of only InventoryItem. Thanks Christian Carlow for this patch and Suraj Khurana for testing it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735775 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 14:24:49 +00:00
Deepak Dixit efe24efac9 (OFBIZ-5918) Fixed NPE for ecommerce/products url, If user enter invalid url ecommerce/products then redirect it to main.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735773 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 13:31:02 +00:00
Deepak Dixit bc2f7f2bbd (OFBIZ-6861) Fixed Search.groovy, use correct method for analyzer, QueryParser and TopScoreDocCollector.
Thanks Pierre for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735759 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:47:06 +00:00
Deepak Dixit 8620c30225 (OFBIZ-6859) Fixed Search.groovy, use correct method for analyzer, QueryParser and TopScoreDocCollector.
Thanks Pierre for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735756 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:40:05 +00:00
Deepak Dixit bdbd6d72e9 (OFBIZ-6860) Applied patch from jira issue.
============================================================
ProductSearch generates an errorr
============================================================
Thanks   Pierre for reporting issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735753 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:27:49 +00:00
Deepak Dixit 1dc64d8079 (OFBIZ-6894) Applied patch from jira issue.
============================================================
Cannot find linkToProduct from createCommunicationEvent SECA 
============================================================
Thanks  Jacques for reporting issue and Rehan Khan for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735750 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:12:38 +00:00
Deepak Dixit 8d477c12c0 Added missing jgrowl js and css file for ecommerce main-decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735747 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 09:28:09 +00:00
Gil Portenseigne 1b24109e5d OFBIZ-6943
Update entity definition of OtherDataResource, VideoDataResource and AudioDataResource replacing object to byte-array data type and title correction

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735742 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 09:15:14 +00:00
Nicolas Malin 2aa9aaf3f4 For screen engine drop-down, sort with the locale the entity-list if the related entity have a default resource defined.
This work also with view entity. Relate issue OFBIZ-3311

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735741 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 09:01:40 +00:00
Gil Portenseigne d58d3a2fbf OFBIZ-6927
Add width and height attributes retrieval in renderLink method in MacroMenuRenderer. Thanks Pierre for the report.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735738 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 08:08:50 +00:00
Nicolas Malin f27504a3a0 Related to the thread http://ofbiz.135035.n4.nabble.com/entity-auto-and-cancel-operation-td4676929.html on the dev mailing list and the issue OFBIZ-6892, this commit manage the action expire on entity-auto engine.
When you call expire on a entity :
 * if a date field is present on service attribute, OFBiz try to expire it with the given value or with now date
 * else try to expire thruDate field
 * else try to expire *ThruDate or thru*Date field
With the new action I refactoring the code to separate each action on dedicate function.
the unit test associate to expire action was updated.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735737 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 08:04:16 +00:00
Deepak Dixit af04ef588e (OFBIZ-6933) Applied slightly modified patch from jira issue.
============================================================
When we update the Allow order decimal quantity to N for product store and update the unit price of item in shopping cart then its shown error. 
============================================================
Thanks  Yashwant Dhakad for reporting issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735734 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 07:15:24 +00:00
Deepak Dixit cf28e7359c (OFBIZ-6937) Applied patch from jira issue.
============================================================
Company Check payment method should be shown when issuing chek
============================================================
Thanks Akash Jain for reporting the issue and Mohammad Rehan Khan for patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735731 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 06:23:40 +00:00
Deepak Dixit 21b8417edd (OFBIZ-5868) Applied patch from jira issue.
============================================================
Currently the View Profit overview is only visible when the quote has the status 'QUO_CREATED'. It should be so that the user can see the profit overview irrespect of the the status.
============================================================
Thanks Pierre Smits for reporting the issue and Mohammad Kathawala for patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735727 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 06:16:18 +00:00
Jacques Le Roux b021268fa7 Fixes "Comment out RMI related code because of the Java deserialization issue" - https://issues.apache.org/jira/browse/OFBIZ-6942
I decided to comment out as less as possible because once the RMI loaders, the RMI dispatcher and the related test services are off there is no RMI related danger left (test services are not a danger but would fail during tests run). It's then easier for users who need RMI in their projects to have only to uncomment those and not digg everywhere. Because the naming (JNDI) server relies on the rmi loader it will also be commented out.

[CVE-2016-2170] The infamous Java serialization vulnerability

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735569 13f79535-47bb-0310-9956-ffa450edef68
2016-03-18 10:38:04 +00:00
Jacopo Cappellato 1247c39d15 Improved the documentation about the purpose and behavior of the "auth" and "in-validate" secas events.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735441 13f79535-47bb-0310-9956-ffa450edef68
2016-03-17 15:00:47 +00:00