Commit Graph
367 Commits
Author SHA1 Message Date
Jacques Le Roux 367b46c95a Improved: updates the LICENSE file date.format-1.2.3 no longer present
It has been removed with (OFBIZ-12040)
2020-11-08 17:23:20 +01:00
James Yong 90e43c9713 Improved: Replace Mask Js (OFBIZ-11964)
Replace library from
https://github.com/igorescobar/jQuery-Mask-Plugin
to
https://github.com/RobinHerbots/Inputmask

Tested at
https://localhost:8443/example/control/FormWidgetExamples
2020-08-19 08:37:39 +08:00
Jacques Le Roux a4753d911d Improved: no functional change
Follows the "How to apply the Apache License to your work" section at
https://www.apache.org/licenses/LICENSE-2.0

Removes the references to products only used in plugins
2020-03-14 12:32:02 +01:00
Jacopo Cappellato 2389969b2a Fixed: moved the reference of the license for the "Quicksand" fonts from the
NOTICE file to the LICENSE file.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828400 13f79535-47bb-0310-9956-ffa450edef68
2018-04-05 08:23:28 +00:00
Jacques Le Roux 9e74309d5d Forgot to commit changes in LICENSE file when doing r1817478 and r1817489
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817702 13f79535-47bb-0310-9956-ffa450edef68
2017-12-10 11:47:13 +00:00
Jacques Le Roux b94cfe7965 No functional changes, updates links after common-theme creation et
framework/images removal

I also removed famfamfam we have none but those from DocBook

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816145 13f79535-47bb-0310-9956-ffa450edef68
2017-11-23 12:19:45 +00:00
Jacques Le Roux 3b8e3e3b8c No functional change
Adds Openlayers in LICENSE file. It has been omitted when 1st committed at
http://svn.apache.org/viewvc?view=revision&revision=986095 and ignored since 
then

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816142 13f79535-47bb-0310-9956-ffa450edef68
2017-11-23 11:50:33 +00:00
Taher A. Alkhateeb 72b9013f24 Implemented: renamed the directory specialpurpose to plugins
(OFBIZ-7972)

In another step towards completing the plugin system for OFBiz, we renamed
the /specialpurpose directory to /plugins and changed all occurences of the
word "specialpurpose" to "plugins" in all files found in the system

Reference discussion: http://markmail.org/message/hpyuxkmftiyn44w2


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1778271 13f79535-47bb-0310-9956-ffa450edef68
2017-01-11 10:48:47 +00:00
Jacopo Cappellato 2fe42574f4 Implemented: removed the specialpurpose/oagis component; a reference to it is in
the Attic page.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1763454 13f79535-47bb-0310-9956-ffa450edef68
2016-10-05 14:10:54 +00:00
Jacopo Cappellato 667e6690a4 Improved: some minor formatting changes and a fix for a typo in the LICENSE
file.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762233 13f79535-47bb-0310-9956-ffa450edef68
2016-09-25 20:51:40 +00:00
Jacopo Cappellato 39f7403875 Improved: removed unnecessary * symbol.
Thanks: Jacques Le Roux for the report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762049 13f79535-47bb-0310-9956-ffa450edef68
2016-09-23 10:52:12 +00:00
Jacopo Cappellato e3a8470d8c Improved: major refactoring of the content of the LICENSE and NOTICE files as
a consequence of the fact that, after the switch to Gradle, most of the 
product's dependencies are not bundled in the package.

While doing that, I have also cleaned up and unified the format of the files, 
removed unnecessary content (like the full text of other licenses), moved the 
"Crypto notice" from NOTICE to README.md, merged the LICENSE/NOTICE files in 
specialpurpose with the ones in the distribution's main folder.
In general, I have followed the directions provided by these documents:
http://www.apache.org/dev/licensing-howto.html
http://www.apache.org/dev/crypto.html



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762037 13f79535-47bb-0310-9956-ffa450edef68
2016-09-23 09:20:56 +00:00
Jacopo Cappellato e7c402200a Improved: added "mockito-core" to the LICENSE file.
I have replaced the three version numbers with the "x" symbol: in this way we 
will not have to edit the LICENSE file everytime we upgrade the jar. This 
strategy is used by other ASF projects (e.g. Tomcat).



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761988 13f79535-47bb-0310-9956-ffa450edef68
2016-09-22 18:16:12 +00:00
Jacques Le Roux 22f0c839f9 Removes obsolete information:
LICENSE file
  jars have no longer paths files
  Ant is no longer present the Version 1.1 of the ASL can be removed
NOTICE file
  Ant is no longer present its notice can be removed
  Log4J is no longer present its notice can be removed (log4j2 has not the same constraint)
  jpim is no longer present its notice can be removed
 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757579 13f79535-47bb-0310-9956-ffa450edef68
2016-08-24 21:53:07 +00:00
Jacques Le Roux bf11c01929 A 1st step for "Upgrade Tomcat to 8.5.3 (or 8.0.36)" - https://issues.apache.org/jira/browse/OFBIZ-7348
This is a security issue which was pending for too long. It only updates Tomcat to 8.0.36 because I got issues with 8.5.3 when just changing to 8.0.36 in build.gradle files worked.

I also changed the version number in LICENSE, even if some libs are only downloaded by Gradle as dependencies of the main present in build.gradle, this is a WIP.

I have investigated if we really need to have all the external jar libs in LICENSE even if we don't deliver them in 1st place, but are still used when building, see http://markmail.org/message/emnu6s5wu2yuyith


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757318 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 07:35:32 +00:00
Gil Portenseigne 3130f0eb95 OFBIZ-7763 :
Remove all bsh libraries and bsh remaining fonctionnalities.
Bsh interpreter is replaced by GroovyShell evaluation.

To avoid groovyShell undefined var exception, the evaluated expression is analysed, detecting variables used and setting its to null if undefined in context.
Today only alphabetic variable with '_' are detected (i.e. my_variable==null).
Add in example a test replacement of " syntax to simple quote.
Remove all found bsh references

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752231 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 23:04:54 +00:00
Jacopo Cappellato 539084a511 OFBIZ-7763 Removed a series of artifacts dependent on the old Beanshell jar that is going to be removed from the project; specifically:
* removed the code that implemented the deprecated "call-bsh" operation in Minilang
* removed the BeanShellContainer (it has been disabled a long time ago)
* removed the BeanShell service engine, no more used


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751947 13f79535-47bb-0310-9956-ffa450edef68
2016-07-08 17:53:59 +00:00
Jacopo Cappellato 02cf86f31e Removed the watermarker jar and the code that was dependent on it because Watermarker is a dead project and the jar is no more publicly available, so we will not be able to run it in releases.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751819 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 17:35:47 +00:00
Jacopo Cappellato e0da901504 OFBIZ-7760 Removed from UtilCache the ability to persist entries in the file system.
This feature has been contributed a long time ago as an experimental feature but never really matured into a production ready artifact: since it was contributed, no users asked about how to use it, or tested it, or reported bugs or enhancement requests.
More importantly, the feature has always been disabled in the OFBiz framework (i.e. the widget code and the entity engine code were not using it).
This removal should not impact our user base; however, after the removal, an entry to the Attic will be created to keep track of it and to make it easier, to interested users, to get this code, improve it (e.g. by making it dependent on a live external jar, for example MapDB instead of JDBM) and possibly contribute it back to the project.
The most compelling reason for its removal is that the feature was based on a snapshot, unreleased version of JDBM, which is now a mostly dead project: for licensing reasons we are no more allowed to bundle jars in our releases. Additionally, having code that relies an old jar from a no more active project represents a maintenance issue for the community.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751817 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 17:00:05 +00:00
Jacques Le Roux 4172b230a7 A patch from Amardeep Singh Jhajj for "Add websocket support in OFBiz" https://issues.apache.org/jira/browse/OFBIZ-7073
It also contains a slightly modified patch from Amardeep Singh Jhajj for "WebSocket Example - Push Notifications" - https://issues.apache.org/jira/browse/OFBIZ-7467 - It's adding working example (in example application) of WebSocket support

I tried to use websockets in OFBiz. I simply added tomcat-embed-websocket.jar in catalina lib and created one webapp for websocket and also added server endpoint class.
It didn't work. After that, I tried the same thing with plain j2ee application with embedded tomcat. It worked there.
I researched on above issue in OFBiz and got the reason. Websockets implementation need jar scanning enabled and it is currently disabled in OFBiz. Below is the code snippet of disabling jar scan from CatalinaContainer.java:

    JarScanner jarScanner = context.getJarScanner();
    if (jarScanner instanceof StandardJarScanner) {
        StandardJarScanner standardJarScanner = (StandardJarScanner) jarScanner;
        standardJarScanner.setScanClassPath(false);
    }

Jar scanning enabling increase OFBiz server startup time upto couples of minutes (in my case, it took approx 8 minutes), so we don't want this much of startup time for OFBiz.
I got the following document where I found the reason why websocket is not working if scanning disabled.

    https://wiki.apache.org/tomcat/HowTo/FasterStartUp

Here tips are given to decrease the startup time. This tips also include disabling of jar scanning. 
We can say disabling jar scanning is right approach because if we enable it then scanner will scan all the jars loaded in OFBiz startup that we don't want.
But, If we want websockets working then we have to enable jar scanning.
For enabling jar scanning, we need below code:

    standardJarScanner.setScanClassPath(true); // Will increase server startup time.

Solution: We can add filter on jar scanning. It will allow only some kind of jars only. For example: jars having websockets endpoints. I am attaching patch for the same here.
I added filter like if jar name string contains "discoverable" word then only it will be considered for jar scan. We can change jar name of our jars using build.xml to make it discoverable for jar scanning.
For example: I have added my websocket endpoint class in "specialpurpose/ecommerce/src" and changed the "name" property in build.xml of ecommerce component from "ofbiz-ecommerce"
to "ofbiz-ecommerce-discoverable". Here is the code snippet from build.xml:

    <property name="name" value="ofbiz-ecommerce-discoverable"/>

This change will create the jar with name "ofbiz-ecommerce-discoverable.jar" in "ecommerce/build/lib/".
Now created jar will be scanned in jar scanner as its name contains "discoverable" word in it.
This change will not increase server start up time more than couple of seconds (in my case, it just two seconds). So scanning time totally depends on the list of jars scanned.
Conclusion: We can use websocket support with the help of jar filters.

The very basic working example of sending push notifications to all connected clients using WebSocket added by Amardeep Singh Jhajj works as follow:
1. Adds support to show push notifications over every screen of an example application using WebSocket when any example created or updated.
2. As it's an example, so for now push notifications will only for example creation and update using SECA's.
3. Push notification will be shown on screen for 5 seconds only, we can close it before 5 seconds using close button if needed.
The UI of notification pop-up can be changed. I kept it simple (No fancy work) to just demonstrate the WebSocket usage.
To see it in action, Please follow the steps given in OFBIZ-7073 and apply patch given here.


jleroux: I committed the 2 patches at the same time because the changes in .classpath and the LICENSE files were in the example patch for OFBIZ-7467. 

I also slightly modified the example patch in order to provide an example where no sync issues are possible by using a Collections.synchronizedSet for the javax.websocket.Session Set. I also used synchronized loops as it's requested for synchronizedSet where it's used. I know it rather symbolic in the example component but it will remember developers about the possible sync issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750557 13f79535-47bb-0310-9956-ffa450edef68
2016-06-28 18:50:04 +00:00
Jacques Le Roux b43b62bef2 Updates Shiro to 1.2.5 (CVE-2016-4437) - https://issues.apache.org/jira/browse/OFBIZ-7373
Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attackers to execute arbitrary code or bypass intended access restrictions via an unspecified request parameter.

Details at https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-4437

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749220 13f79535-47bb-0310-9956-ffa450edef68
2016-06-19 22:30:06 +00:00
Deepak Dixit 64d804e2e1 (OFBIZ-7141) Updated apache fop to 2.1 and also updated xmlgraphics-commons to 2.1.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746270 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 12:49:12 +00:00
Jacques Le Roux c048e9c85a Ugrades PDFBox to 1.8.12 (or 2.0.1?) due to vulnerability - https://issues.apache.org/jira/browse/OFBIZ-7136
See CVE-2016-2175: Apache PDFBox XML External Entity vulnerability

I did not try to update to version 2.0.1. 
I only tested by using https://localhost:8443/example/control/ExampleReportPdfOptions?exampleId=EX01 but I got nothing, so I tried with R15.12 before backporting with the same issue so I guess it's unrelated with this update moreover with both branches I get an error in log for the barcode PDF I will open a Jira

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745751 13f79535-47bb-0310-9956-ffa450edef68
2016-05-27 13:12:55 +00:00
Jacopo Cappellato 32bb7cb3d4 Added commons-cli jar to our LICENSE file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745449 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 07:10:14 +00:00
Deepak Dixit da58d4da97 (OFBIZ-7041) Upgraded freemarker jar to 2.3.24
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742685 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 06:35:55 +00:00
Jacopo Cappellato 0422ed0700 Updated Licence and Eclipse .classpath file after recent upgrade to ICU4J (rev. 1740229).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740310 13f79535-47bb-0310-9956-ffa450edef68
2016-04-21 13:34:42 +00:00
Nicolas Malin ab000418de Uprade the Apache Tika Library :
tika-parsers-1.7.jar -> tika-parsers-1.12.jar
    tika-core-1.7.jar -> tika-core-1.12.jar

This update induce updating of :

    pdfbox-1.8.5.jar -> pdfbox-1.8.11.jar
    jempbox-1.8.5.jar -> jempbox-1.8.11.jar
    fontbox-1.8.5.jar -> fontbox-1.8.11.jar
    commons-compress-1.9.jar -> commons-compress-1.11.jar

And pdfbox-1.8.11.jar need the introduction of :

    jce-jdk13-154.jar under MIT licence (www.bouncycastle.org)

Apache Tika is needed to test the screenfop on issue OFBIZ-6497. So I move all library from applications/content/lib/ to framework/base/lib/ to didn't create a dependency between widget and content 
Related issue OFBIZ-7015

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739551 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 08:26:45 +00:00
Jacques Le Roux c64517519b A slightly modified patch from Chatree Srichart for "Upgrade Tomcat to 8.0.32" https://issues.apache.org/jira/browse/OFBIZ-6915
jleroux: I simply changed the doc link in catalina ofbiz-component.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738902 13f79535-47bb-0310-9956-ffa450edef68
2016-04-13 07:40:25 +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 d4d623513c Fixes "Update Tomcat to 7.0.68" - https://issues.apache.org/jira/browse/OFBIZ-6913
As ever forgot .classpath and LICENSE files, here they are.

I decided to no longer move the new entries in.classpath which are not automatically alphabetically ordered by Eclipse. Since we should now use the given tool no need for that.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1734918 13f79535-47bb-0310-9956-ffa450edef68
2016-03-14 11:09:02 +00:00
Jacques Le Roux e576d72fc8 "Upgrade Axis2 to 1.7.0" - https://issues.apache.org/jira/browse/OFBIZ-6916 - Actually this upgrades Axis2 to 1.7.1
Replacing Axis2 1.6.3 by 1.7.1 version is easy as long as you don't try to replace the commons-httpclient-3.1 lib. The only noticeable change is this warning shown in log
    |http-bio-8443-exec-1 |AxisConfigBuilder             |W| Unable to instantiate deployer org.apache.axis2.deployment.ServiceDeployer; see debug logs for more details|
It has no effects on the SOAP test services, both works.

But the main goal of this issue is a security update because commons-httpclient-3.1 lib is deprecated, no longer maintained and vulnerable and must be replaced.

This commit also concerns OFBIZ-6755 but to not mix things OFBIZ-6755 will be completed later. So to not block this issue, the commons-httpclient-3.1 lib is moved from framework/service/lib to specialpurpose/passport/lib/ where it's still required.

Normally, as explained at https://axis.apache.org/axis2/java/core/release-notes/1.7.0.html, Axis2 1.7.1 requires "HttpClient 4.2.x and should work with 4.3.x and 4.4.x, but is incompatible with 4.5.x". I did not replace commons-httpclient-3.1 by HttpClient 4.2.1, which is bundled with Axis2 1.7.1, because we have already HttpClient/Core 4.4.1 in base/lib and it works well as is (HttpClient/Core 4.4.1 is in the classpath).

To use HttpClient/Core 4.4.1 you need to change the axis2.xml files as specified in the 1.7.0 release note. But where to place this file in OFBiz is not obvious! 

I decided the best way was to use Axis2 ConfigurationContextFactory.createConfigurationContextFromFileSystem() method to let know Axis2 we want the new httpclient instead of the default one (I really don't understand why the Axis2 team still prefers commons-httpclient-3.1 as default). I had to pass both locations to avoid hardcoding the repository location in the axis2.xml file.

I have also decided the best place for the "Axis2 repository" (as they call it) was in framework/service/axis2. So following Axis2 convention http://wso2.com/library/tutorials/axis2-repository/ I put the axis2.xml file in framework/service/axis2/conf.
Note: the Axis2 repository could be used to put [Apache Rampart|https://axis.apache.org/axis2/java/rampart/] as a module to secure web services...

After this change, there are a number of warnings thrown by Axis2 but they are actually interesting as they provide guidance for future use of modules and such (notably Apache Rampart)
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.MustUnderstandChecker
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher
    |ttp-bio-8443-exec-10 |AxisConfigBuilder             |W| Unable to instantiate deployer org.apache.axis2.deployment.ServiceDeployer; see debug logs for more details
    |ttp-bio-8443-exec-10 |AxisConfigBuilder             |W| Unable to instantiate deployer org.apache.axis2.jaxws.framework.JAXWSDeployer; see debug logs for more details


While at it I replaced StAXOMBuilder (deprecated) by OMXMLBuilderFactory

I will backport the changes in the supported releases branches but R12.04 which use a too old version of HttpClient/Core. Others all use versions older than 4.2.1. I'm aware I will have to handle several conflicts by hand, some are easy others "harder". We have the passport component only in R15.12, it will be easy to neglect in older releases. I expect more work with the LICENSE file and even more with the .classpath file. Since R15.12 we use tabs in it (Adrian rightly told us to use Eclipse internal tools to edit this file, though I noted it does not respect the alphabetical order) but older releases still use spaces (and this is often a pain now, but a bright future ahead ;))

Crossing fingers with this commit, I have other changes pending in this instance (notably for OFBIZ-6849) and it got quite complicated...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1733956 13f79535-47bb-0310-9956-ffa450edef68
2016-03-07 18:48:14 +00:00
Jacques Le Roux 55824f2f48 This commit replaces the contrast Java agent by the notsoserial Java agent which can be used to protect OFBiz instances from possible Java serialize vulnerabilities.
For that it modifies the *-secure targets (start-secure, start-batch-secure, start-pos-secure, start-both-secure) to use the notsoserial Java agent with its most secure setting. 
See https://cwiki.apache.org/confluence/display/OFBIZ/The+infamous+Java+serialize+vulnerability for more information 

The notsoserial Java agent is placed in the tools/security/notsoserial folder and a dependency-check folder created under the tools/security folder to move there the dependency-check files from the tools/security folder.

The demos will be using the notsoserial Java agent ASAP.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730735 13f79535-47bb-0310-9956-ffa450edef68
2016-02-16 19:07:51 +00:00
Jacopo Cappellato b0bbe4d430 OFBIZ-6568: upgraded Groovy to the latest version (2.4.5).
[CVE-2016-2170] The infamous Java serialization vulnerability


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1729609 13f79535-47bb-0310-9956-ffa450edef68
2016-02-10 14:38:00 +00:00
Jacques Le Roux 58cbed1366 Updates Spring Framework to 4.2.3, rename org.springframework.*-3.1.0.M2.jar to spring-*-4.2.3.jar as it's the name used by Spring. OFBIZ-6754
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718109 13f79535-47bb-0310-9956-ffa450edef68
2015-12-05 17:39:44 +00:00
Jacques Le Roux bcf00752dd Upgrades Axis2 to 1.6.3, with its dependencies on Axiom 1.2.9 and Neethi 3.0.2 - OFBIZ-5801
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718023 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 20:30:39 +00:00
Jacques Le Roux 13c114cee7 Updates Tomcat to 7.0.65 - OFBIZ-6752
Though disputed CVE-2013-2185 indicates a possible vulnerability with jasper.jar. Better safe than sorry: I will backport to all concerned branches (R14 and R13)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717760 13f79535-47bb-0310-9956-ffa450edef68
2015-12-03 13:26:23 +00:00
Jacques Le Roux 5643f45dc8 Fixes "POI security fix" https://issues.apache.org/jira/browse/OFBIZ-6751
Updates POI from poi-3.10.1-20140818.jar to poi-3.13-20150929.jar

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717682 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 21:24:35 +00:00
Jacques Le Roux 3b84a03fab Updates commons collections from 3.2.2 to 4.1 - OFBIZ-6748
Even if we are covered from the Java Object possible deserialisation exploit by the 3.2.2 version, since it's easy to update, this issue to update the trunk to the last available release.

I updated the .classpath file by hand, but kept the tabs in it, so I could move misplaced entries to their right alphabetical places.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717247 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 13:01:47 +00:00
Jacques Le Roux c66a9b8c30 Updates commons-collections lib from 3.2.1 to 3.2.2
[CVE-2016-2170] The infamous Java serialization vulnerability

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714571 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 12:24:13 +00:00
Jacques Le Roux 7a4e2d927d Update after r1708560, thanks to Jacopo's reminder on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1708731 13f79535-47bb-0310-9956-ffa450edef68
2015-10-15 06:46:12 +00:00
Jacques Le Roux ee6164d8bd Fix for ContentWorker at OFBIZ-6669. For that I have added owasp-java-html-sanitizer-r239.jar and put a "content.sanitize=true" property in content.properties with some explanations. The reason I put this property is because the sanitizer does some (safe) changes which might be unwanted in a context where you are "sure" no one can inject/exploit your DB, see the JIra issue for details. Note that this does not affect the *ContentWrapper.java classes where we use OWASP encoding and not sanitizer. The reason we need the sanitizer here is because we are no only handling content but also HTML code...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1708274 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 00:40:47 +00:00
Arun Patidar 3865ff485d [OFBIZ-6171] Applied patch from Pierre Smits for replacing 'Open for Business' references with 'Apache OFBiz'.Thanks Pierre for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1706589 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:15:21 +00:00
Jacopo Cappellato 02415d77ea Upgraded Apache Tomcat to the latest bug fix release of the 7 series: 7.0.64
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701164 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 06:56:13 +00:00
Shi Jinghai d401c92c26 Add framework/base/lib/zxing-core-3.2.0.jar into LICENSE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700460 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 09:51:18 +00:00
Nicolas Malin 1fa217304e Update LICENSE file with new jar version (pdfbox 1.8.5, jempbox 1.8.5, fontbox 1.8.5, xmlgraphics-commons 2.0.1, fop 2.0, batik-all 1.8) load by shijh to support pdf encryption (OFBIZ-6504)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692051 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 06:41:27 +00:00
Jacopo Cappellato eb6d01b066 New implementation of the two-way cryptographic services of OFBiz based on Apache Shiro:
* two-way encryption is now delegated to Apache Shiro, with stronger initialization vectors
* the mechanism is backward compatible
* new tools to update the encryption of private keys, useful to upgrade older versions of OFBiz and most of all to replace old keys with new ones (this is critical to implement stronger security practices as requested by PCI) 
* unit tests



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684608 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 09:01:30 +00:00
Jacopo Cappellato 74e6dec22f OFBIZ-6380 Upgraded Log4j from 2.2 to 2.3.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680733 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 05:40:27 +00:00
Jacques Le Roux 688da5d2d2 "Updates Log4j 2.2 to 2.3" https://issues.apache.org/jira/browse/OFBIZ-6380
Reverts r1679702

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679723 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 10:52:41 +00:00
Deepak Dixit 6ce8d7d74d OFBIZ-6351 - Upload function does not work on Party Manager.
Upgrade commons-compress jar from 1.4.1 to 1.9

Thanks Supachai Chaima-ngua and Pierre Smits for reporting the issue, and thanks Supachai Chaima-ngua for providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679709 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 09:01:01 +00:00
Jacques Le Roux 4bf39d2316 "Updates Log4j 2.2 to 2.3" https://issues.apache.org/jira/browse/OFBIZ-6380
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679702 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 08:27:54 +00:00