Commit Graph
23419 Commits
Author SHA1 Message Date
Arun Patidar fddabfbdbd Applied patch from jira issue - OFBIZ-8006 - Added CRUD services for BudgetScenarioRule entity . Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759528 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 01:01:39 +00:00
Arun Patidar 11124912c0 Applied patch from jira issue - OFBIZ-7891 - Added CRUD services for BudgetRevisionImpact entity . Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759527 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 00:55:35 +00:00
Arun Patidar 97979f788f Applied patch from jira issue - OFBIZ-7870 - Added CRUD services for AgreementTypeAttr entity . Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759526 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 00:51:59 +00:00
Arun Patidar 7679921b17 Applied patch from jira issue - OFBIZ-7853 - Added CRUD services for AcctgTransType entity . Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759524 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 00:47:47 +00:00
Arun Patidar 7872d23119 Applied patch from jira issue - OFBIZ-7873 - Added CRUD services for BillingAccountTermAttr entity . Thanks Chinmay Patidar and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759521 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 00:42:08 +00:00
Arun Patidar a0aafa9e69 Applied patch from jira issue - OFBIZ-7869 - Added CRUD services for AgreementTermAttribute entity . Thanks Chinmay Patidar and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759520 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 00:37:34 +00:00
Arun Patidar 0109d9c079 Applied patch from OFBIZ-7847. Added CRUD services for entity AcctgTransEntryType. Thanks Chinmay Patidar and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759519 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 00:28:49 +00:00
Jacques Le Roux c750a95810 Fixes "The "Only Not Used Labels" option of the Label Manager is broken" OFBIZ-8114
Simply replaces the parenthesis in ServiceUtil.getResource() by 2 spaces when parsing files with getLabelsFromJavaFiles() and getLabelsFromFtlFiles(). 
ServiceUtil.getResource() breaks the parsing
Note: no occurrences of ServiceUtil.getResource() yet in FTL files, and only 16 in Java files.

Also replaces "script" by "minilang" in getLabelsFromSimpleMethodFiles()

This adds a getResourceRegex  in a new webtools.properties files. This property
* Allow to remove this string from files when parsing with Label Manager, else it breaks 
* Moreover the string can't be in the LabelReferences.java file, to avoid side effects

I have also increased the transaction-timeout of the screen "SearchLabels" to 600. 
Because when using the "Only Not Used Labels" option the 1st pass can be long. 10 min should plenty enough, even on old machines. Not blocking anyway, just a bad stack trace in log
I'm sorry you will see a lot of false changes because the LabelManagerScreens.xml had no svn:properties at all, here they are now.


We have 5237 "Not Used Labels". I wondered if they were all real, I just checked some an indeed, they were not used. 
But there are also a huge bunch of *.description.* labels which certainly make sense. I'll remove them from the "Only Not Used Labels" result in another Jira I'll create

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759457 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 16:38:14 +00:00
Shi Jinghai 2b85678b7f Clean OFBizSolrContextFilter.java to follow ContextFilter.java's changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759401 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 10:05:59 +00:00
Jacques Le Roux eb1ddfced8 A patch from Fumiyoshi To for "No States/Provinces Exist when Request a New Account" https://issues.apache.org/jira/browse/OFBIZ-8136
When I choose Japan in new customer screen, no states/province exists occurred, and I cannot register as a customer through ecommerce.
It is because of no data exist for Japan in CountryAddressFormat[GeoData.xml].

jleroux: I'm not sure it's really a bug, but anyway committing this is a good thing


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759378 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 08:03:12 +00:00
Jacopo Cappellato 8150cf2e2d Throw an exception rather than failing with a NPE if delegatorInfo is null: this can happen for example when the entityconfig.xml file is missing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759372 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 07:18:01 +00:00
Jacopo Cappellato 4cbedfc518 Improved error message logged by DelegatorFactoryImpl.getInstance(...) when a delegator can't be created; added a TODO comment to remind that the code should be refactored to throw the exception instead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759371 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 07:15:21 +00:00
Jacopo Cappellato 8fdaa37885 Fixed wrong module name in the DelegatorFactory class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759370 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 07:12:28 +00:00
Jacopo Cappellato 6b18c49e6c Removed unused container for Geronimo TX.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759369 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 07:10:57 +00:00
Jacopo Cappellato 9778235247 OFBIZ-8142 Additional cleanups related to OFBiz servlet filters
* introduced a constant for the "control" mount point
* moved public fields and methods from the ContentUrlFilter to the OfbizContentAltUrlTransforms and made them private (since they are only used by this class)
* no more need for the UrlServletHelper to extend the ContextFilter



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759368 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 07:09:03 +00:00
Divesh Dutta 3992656604 [OFBIZ-7394, OFBIZ-7403] Allow user to select multiple options in Purchase by Product and Purchases by Payment Method report. Thanks Swapnil Shah for creating the issue and Mohammad Kathawala for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759343 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 18:51:28 +00:00
Divesh Dutta e12867c6a0 [OFBIZ-7440] Not donation amount over sales order will not get pro-rated based on shipped quantity in case of partial shipments. Thanks Swapnil Shah for reoprting the issue and Ankush Upadhyay for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759339 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 18:29:50 +00:00
Divesh Dutta fb7d5ea2b6 [OFBIZ-7533] Now user will be able to set new lotId to existing inventory item. Thanks Swapnil Shah for reporting the issue and Ankush Upadhyay for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759336 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 17:41:08 +00:00
Divesh Dutta ee0d3faae8 [OFBIZ-7721] Fixed: auto-completer does not work to search Data Resource Id and owner content id. Thanks Ankush Upadhyay for reporting and fixing the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759333 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 17:05:43 +00:00
Jacopo Cappellato 948dbc646c OFBIZ-8142 A series of cleanups related to OFBiz servlet filters:
* removed an unused filter (UrlRegexpContextFilter)
* moved a series of methods from ContextFilter to WebAppUtil, where they make more sense; changed one of them to be a static method
* made private some methods of ContextFilter and WebAppUtil because they were not used outside of their classes



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759332 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 16:56:04 +00:00
Divesh Dutta 08db5125a1 [OFBIZ-7724] Fixed: System allows to change status from cancel to empty for return and allow-empty flag of form widget does not honour to add or not empty option field in drop-down. Thanks Ankush for reproting and fixing this issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759331 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 16:39:15 +00:00
Jacques Le Roux 049f9c58ac A slightly modified Taher's patch for "Load the OWASP dependency checker Gradle plugin efficiently" I reported at OFBIZ-7930
Using OWASP-DC with Gradle was impossible w/o the corresponding plugin. Unfortunately using the suggested way at https://plugins.gradle.org/plugin/org.owasp.dependencycheck loads a lot of dependencies which are only needed by OWASP-DC. So Taher wrote a specific solution to avoid downloading useless libs to a normal use of OFBiz, there it is.


jleroux: I have simply formatted the "if(" to "if ("

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759250 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 12:24:21 +00:00
Jacopo Cappellato 4eb7b2bebb Completed the fix for securing the management of blog entries by preventing tags to be added to the content of an entry when it is updated.
[CVE-2016-6800] Apache OFBiz blog stored XSS vulnerability
The default configuration of the OFBiz framework offers a blog
functionality. Different users are able to operate blogs which are
related to specific parties. In the form field for the creation of new
blog articles the user input of the summary field as well as the article
field is not properly sanitized. It is possible to inject arbitrary
JavaScript code in these form fields. This code gets executed from the
browser of every user who is visiting this article.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759218 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 09:16:57 +00:00
Nicolas Malin 60d4b2635e Add crud entity-auto service for AgreementType, thanks to Rishi Solanki and Pratik Kulshreshth for this patch trow OFBIZ-7871.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759181 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 17:58:57 +00:00
Divesh Dutta 6aac00975e [OFBIZ-7475] Provided the option to update Check Payment Method from Party profile page. Introduced new service updateCheckAccount. Thanks Jagpreet Kaur for the patch and Swapnil for creating the ticket.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759180 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 17:11:08 +00:00
Shi Jinghai 5981061dcf OFBIZ-8137 Entityname starts with schema name causes error in PostgreSQL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759155 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 08:57:44 +00:00
Ashish Vijaywargiya 4a63aaba7d Applied patch from jira issue - OFBIZ-8091 - Clean up commented out code in XML for Common component. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759152 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 07:37:15 +00:00
Ashish Vijaywargiya 6f013aea3e Applied patch from jira issue - OFBIZ-8070 - Clean up commented out code in Groovy for Content. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759151 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 07:32:47 +00:00
Ashish Vijaywargiya 6b3717e026 Applied patch from jira issue - OFBIZ-8071 - Clean up commented out code in Groovy for Manufacturing. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759150 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:56:50 +00:00
Ashish Vijaywargiya c1f693f38a Applied patch from jira issue - OFBIZ-8072 - Clean up commented out code in Groovy for Marketing. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759149 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:47:47 +00:00
Ashish Vijaywargiya 7effe002ce Applied patch from jira issue - OFBIZ-8073 - Clean up commented out code in Groovy for WorkEffort. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759148 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:44:37 +00:00
Ashish Vijaywargiya b15974a6f6 Applied patch from jira issue - OFBIZ-8074 - Clean up commented out code in Groovy for Order. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759147 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:41:20 +00:00
Ashish Vijaywargiya 4e652d8631 Applied patch from jira issue - OFBIZ-8075 - Clean up commented out code in Groovy for Product. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759146 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:38:03 +00:00
Ashish Vijaywargiya 7402cda35d Applied patch from jira issue - OFBIZ-8069 - Clean up commented out code in Groovy for Accounting. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759145 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:33:32 +00:00
Ashish Vijaywargiya 718f45cc7a Applied patch from jira issue - OFBIZ-8066 - Clean up commented out code in Free Marker Template for Product. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759144 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:28:52 +00:00
Taher A. Alkhateeb b123f41268 Move the java encoding declaration to the project configuration section where it belongs - OFBIZ-8119
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759143 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:26:58 +00:00
Ashish Vijaywargiya baca3d7c31 Applied patch from jira issue - OFBIZ-8064 - Clean up commented out code in Free Marker Template for Party. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759142 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 06:25:27 +00:00
Ashish Vijaywargiya 7987679488 Applied patch from jira issue - OFBIZ-8065 - Clean up commented out code in Free Marker Template for WorkEffort. Thanks Aman for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759141 13f79535-47bb-0310-9956-ffa450edef68
2016-09-04 05:01:37 +00:00
Deepak Dixit 74d26f87d9 (OFBIZ-7969) Added missing file in my last commit related to AgreementContent feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759130 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:36:07 +00:00
Deepak Dixit d51014bf71 (OFBIZ-7969) Set hyperlink type to anchor for stream request, that is used to render attached agreement content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759129 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:32:48 +00:00
Deepak Dixit e99052cf12 (OFBIZ-7969) Applied slightly modified patch from jira issue.
=================================
Enable adding a content to an agreement
=================================
Thanks Leila Mekika for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759127 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 19:24:00 +00:00
Arun Patidar 135f0cc847 Applied patch from jira issue - OFBIZ-7859 - Added CRUD services for AcctgTransTypeAttr entity . Thanks Rahul Kushwah and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759103 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 16:36:35 +00:00
Arun Patidar d04d59a7da Applied patch from jira issue - OFBIZ-8080 - Added CRUD services for ContactMechTypePurpose entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759102 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 16:32:35 +00:00
Arun Patidar 22210a4369 Applied patch from jira issue - OFBIZ-8062 - Added CRUD services for ContactMechTypeAttr entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759101 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 16:28:19 +00:00
Arun Patidar 7314e26399 Applied patch from jira issue - OFBIZ-8061 - Added CRUD services for ContactMechType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759100 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 16:24:21 +00:00
Arun Patidar b000219e77 Applied patch from jira issue - OFBIZ-8060 - Added CRUD services for ContactMechPurposeType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759099 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 16:10:12 +00:00
Arun Patidar 5d0d509131 Applied patch from jira issue - OFBIZ-8059 - Added CRUD services for ContactListType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759098 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 16:02:06 +00:00
Arun Patidar 666ad0e07f Applied patch from jira issue - OFBIZ-8047 - Added CRUD services for CommunicationEventType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759097 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 15:56:38 +00:00
Arun Patidar db6aecccc8 Applied patch from jira issue - OFBIZ-8020 - Added CRUD services for CatalinaSession entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759096 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 15:48:34 +00:00
Arun Patidar 007a5b5539 Applied patch from jira issue - OFBIZ-8000 - Added CRUD services for BudgetScenario entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759095 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 15:34:15 +00:00