OFBIZ-8241
We decided to no longer support notsoserial because we not only have no longer issues OOTB, but also because the classes protected by default are now also covered by the external libs themselves, even those we don't use OOTB.
Those who use RMI, JNDI, JMX or Spring and maybe other Java classes OFBiz does not use OOTB would still be at risk if they don't use a tool like notsoserial.
So we will amend the https://cwiki.apache.org/confluence/display/OFBIZ/The+infamous+Java+serialization+vulnerability Wiki page to let them know about that.
The main OFBiz README.MD file is also modified to be sure this is known by our users. BTW adding a security section is certainly a good idea.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760484 13f79535-47bb-0310-9956-ffa450edef68
As suggested by Taher moves README.md.html to another folder than root. FOr now I decided to create a documentation sub folder into tools and to put it there while also moving pandoc.bat there. This is a WIP anyway...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757044 13f79535-47bb-0310-9956-ffa450edef68
Adds a convenient pandoc.bat as a reminder for now, to be enhanced later. Maybe it will become a Gradle task rather or maybe even several Gradle tasks if we use CONTRIBUTING-template.md and other possible *.md files
Updates the README.md file:
* Improve the "Load default OFBiz data" explanation
* adds the ® sign in 2 places (OFBiz and Tomcat)
* Misc other minor changes
Replaces README.MD.html renamed README.md.html after regeneration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757043 13f79535-47bb-0310-9956-ffa450edef68
Most is done already. Test pass but testFopMacroLibrary but I don't see how it could be related to these changes, could be a quirk on Windows, BuilBot will tell us. Anyway, I will later double-check to be sure, also to see if I did not miss anything else.
I have voluntarily left 2 or 3 moot points
I was unable to remove possible POS references in <property key="FieldDescription.ProductStore.isImmediatelyFulfilled"> for certain language I'm unable to read.
I have to check if we should keep or not this code snippet
<!-- if inventory info is not available for all of the products, then don't do the issuance, ie there has to be at least SOME inventory info in the database to facilitate inventory-less POS terminals -->
<entity-count entity-name="InventoryItem" count-field="iiCount">
<condition-expr field-name="facilityId" operator="equals" from-field="orderHeader.originFacilityId"/>
</entity-count>
I simply commented out twice this snippet in InvoiceServices.java, because I wonder if it would not be useful when the webPos will be able to issue money change
// if (null == adj.get("amount")) { // JLR 17/4/7 : fix a bug coming from POS in case of use of a discount (on item(s) or sale, sale here) and a cash amount higher than total (hence issuing change)
// continue;
// }
While at it, since I modified OPTIONAL_LIBRARIES, I also changed these svn:properties: svn:eol-style = native & svn:mime-type = text/plain
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754402 13f79535-47bb-0310-9956-ffa450edef68
Completes r1752771, I did not change the not concerned scripts. Though I worked carefully, I could have missed something so please check (notably typos, I did not test all). Note: we had no "apply-ofbiz-patches" Ant target (in applyOfbizPatchesAndHotDeploy.sh)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752806 13f79535-47bb-0310-9956-ffa450edef68
I kept things as simple as possible. I only changed the following Ant targets
start
start-secure
start-batch
start-batch-secure
run-test
I also changed the startofbiz.bat file. The other start*.bat are for the POS and it's not expected to run on a server.
I put a mention when using "java -jar ofbiz.jar -u" (start)
I will add a mention in "Technical+Production+Setup+Guide" wiki page about using "java -jar ofbiz.jar"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748173 13f79535-47bb-0310-9956-ffa450edef68
Several changes, notably:
* removes all Tomcat libs suppresses (in catalina\lib) and rather adds a sole suppress based on CVEs (current Tomcat version not concerned)
* same for jsp-api-2.3
* a new vulnerability is identified: CVE-2015-1776 for hadoop libs (in solr component)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741416 13f79535-47bb-0310-9956-ffa450edef68
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