Commit Graph
84 Commits
Author SHA1 Message Date
Jacques Le Roux 2e084123de No functional change, updates the demos to run R16.11 as stable and 13.07 as old
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1773090 13f79535-47bb-0310-9956-ffa450edef68
2016-12-07 14:44:34 +00:00
Jacques Le Roux d32d746a93 No functional change, update README.md.html for wiki
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1766248 13f79535-47bb-0310-9956-ffa450edef68
2016-10-23 08:23:19 +00:00
Jacques Le Roux 42cabe9d46 Improves: Ah no, forgot, we don't want any jar in the repo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762789 13f79535-47bb-0310-9956-ffa450edef68
2016-09-29 14:35:33 +00:00
Jacques Le Roux a9d07df2f9 Improves: adds minor information to not forget when changing
contrast-rO0.jar will be only useful as long as we use R13.07 and R12.04 as
respectively stable and old

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762786 13f79535-47bb-0310-9956-ffa450edef68
2016-09-29 14:34:32 +00:00
Jacques Le Roux bfc2eb846d Improves: makes this file comparable to all-manual.sh
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762781 13f79535-47bb-0310-9956-ffa450edef68
2016-09-29 14:00:11 +00:00
Jacques Le Roux fbf84e1f3c Updates: the README.md.html file for the From Ant to Gradle Wiki page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762086 13f79535-47bb-0310-9956-ffa450edef68
2016-09-23 20:10:23 +00:00
Jacques Le Roux c895d10c0a Completes: Put notsoserial in Attic
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
2016-09-13 06:43:34 +00:00
Jacques Le Roux 226b4c5f52 "Updates documentation with respect to implementation of gradle as a replacement of ant" - https://issues.apache.org/jira/browse/OFBIZ-7677
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
2016-08-21 10:47:54 +00:00
Jacques Le Roux 7d2c5a77b2 "Updates documentation with respect to implementation of gradle as a replacement of ant" - https://issues.apache.org/jira/browse/OFBIZ-7677
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
2016-08-21 10:21:47 +00:00
Jacques Le Roux 8714d18ba6 Updates for Gradle
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756758 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 11:25:00 +00:00
Jacques Le Roux 2aeae8a4a7 Change all *.sh properties, LF makes no sense, I can edit them on Windows!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756488 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 08:27:40 +00:00
Jacques Le Roux e2e271d478 Updates Ubuntu script with respect to Gradle changes - OFBIZ-7677
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756350 13f79535-47bb-0310-9956-ffa450edef68
2016-08-15 05:36:30 +00:00
Jacques Le Roux 146ba998fc Updates merge scripts to use testIntegration instead of test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756333 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 21:43:57 +00:00
Jacques Le Roux acef383049 Updates trunk scripts for OFBIZ-7951
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1756332 13f79535-47bb-0310-9956-ffa450edef68
2016-08-14 21:42:14 +00:00
Jacques Le Roux 9a6dd3ff75 No functional change, just adds eclipse task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755248 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 07:05:56 +00:00
Jacques Le Roux 985b23a5cf We have a lot of problems (mostly DB related issues) with the trunk demo since we switched to Gradle. Trying here (and on OFBIZ-VM)
./gradlew terminateOfbiz
instead of 
  ./gradlew "ofbiz --shutdown" 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755113 13f79535-47bb-0310-9956-ffa450edef68
2016-08-03 20:44:46 +00:00
Jacques Le Roux b5739fcb11 I don't want eclipse to complain each time I run that script!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754616 13f79535-47bb-0310-9956-ffa450edef68
2016-07-30 10:48:58 +00:00
Jacques Le Roux 2c84041532 This is no longer needed in trunk, only used in R13.07 and R12.04. Thanks to Taher's reminder on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754606 13f79535-47bb-0310-9956-ffa450edef68
2016-07-30 09:08:23 +00:00
Jacques Le Roux a88cf82f11 Updates convenient test.bat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754437 13f79535-47bb-0310-9956-ffa450edef68
2016-07-28 17:57:38 +00:00
Jacques Le Roux 7ada24fd04 This removes the pos component. OFBIZ-7804 "Check if we should fix or remove the POS (hence WebPos?)"
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
2016-07-28 12:27:20 +00:00
Jacques Le Roux 2f4cd932a0 No functional change: updates the dependency-check-report. This is now checking jars libs in the Gradle cache. I noticed there are more vulnerabilities than when we were doing it by hand. I have though to review the suppress file and a very good news is we got rid of the Birt issues!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1754072 13f79535-47bb-0310-9956-ffa450edef68
2016-07-26 06:33:00 +00:00
Jacques Le Roux 4ff2d49545 Updates modified demos scripts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1753166 13f79535-47bb-0310-9956-ffa450edef68
2016-07-18 07:51:10 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Jacques Le Roux bc06c7e302 For "Clean the tools directory" - https://issues.apache.org/jira/browse/OFBIZ-7795 - This is in relation with the move from Ant to Gradle
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
2016-07-15 09:48:10 +00:00
Jacques Le Roux 6382d9e31b For "Clean the tools directory" - https://issues.apache.org/jira/browse/OFBIZ-7795 - This is in relation with the move from Ant to Gradle
Fixes and remove few scripts, removes useless ofbiz.aptana.js.format.xml file, more to come... 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752771 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 05:11:09 +00:00
Jacques Le Roux da29d8e842 This closes "Add the -server JVM argument to Ant targets like start and tools/start*.bat files" https://issues.apache.org/jira/browse/OFBIZ-7321
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
2016-06-13 10:34:39 +00:00
Jacques Le Roux 1575eb6903 No functional change, a convenient patch, tired to type that in terminal. tools\cleanbuild is so easier. And yes, Windows is case insensitive, one of the rare cases I appreciate it :/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746864 13f79535-47bb-0310-9956-ffa450edef68
2016-06-05 06:00:39 +00:00
Deepak Dixit dcee04d3e2 (OFBIZ-7141) Updated dependency-check-report.html to include recently updated jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746400 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 06:24:14 +00:00
Jacques Le Roux 4896a785f8 Updates or adds APACHE2_HEADER in windows batches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746036 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 16:57:52 +00:00
Jacques Le Roux ad0a11eb31 Better to clean-all than only data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745457 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 08:56:33 +00:00
Jacques Le Roux 8baab2a5bf Updates dependency-check-report.html after OFBIZ-7026 (Hadoop libs vulnerability)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741956 13f79535-47bb-0310-9956-ffa450edef68
2016-05-02 10:43:45 +00:00
Jacques Le Roux 3067a14b81 Updates OWASP dependency check files.
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
2016-04-28 11:51:08 +00:00
Jacques Le Roux f214e31ed9 Sometimes you need to update before testing or reverting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739571 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 10:26:54 +00:00
Jacques Le Roux c0df7257c2 No functional changes, updates dependency-check-report.html, no important changes (no new vulnerabilities), just to get rid of the differences in my working copy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739570 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 10:20:21 +00:00
Jacques Le Roux b902261620 No functional changes, updates suppress.xml, small formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739341 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 17:56:50 +00:00
Jacques Le Roux c37317f86a No functional changes, updates suppress.xml, I will ask why we have to put all those suppressions about Tomcat 8.0.33 which is the last available version!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739340 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 17:56:06 +00:00
Jacques Le Roux ad4e63dd15 No functional changes, update OWASP dependency-check documents
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739339 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 17:50:11 +00:00
Jacques Le Roux 96eaa864f5 Small update mostly about OTP, the "nicely" scripts, and notsoserial Java agent replacing contrast
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1733063 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 13:36:43 +00:00
Jacques Le Roux d5d7d732fb The empty.txt file is necessary but not the deserialize-trace.txt and is-deserialized.txt files
Those are only used when you want to create your own white-list

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730758 13f79535-47bb-0310-9956-ffa450edef68
2016-02-16 21:56:16 +00:00
Jacques Le Roux 834882ee59 No functional change, I forgot to replace the content of this README.txt file, copied from the dependency check folder, by the content for the notsoserial Java agent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730747 13f79535-47bb-0310-9956-ffa450edef68
2016-02-16 20:43:14 +00:00
Jacques Le Roux df8aa5108e Reverts previous useless commit (not functional)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730740 13f79535-47bb-0310-9956-ffa450edef68
2016-02-16 19:41:56 +00:00
Jacques Le Roux a2e0f357fb No functional changes: modifies UTF8 encoding
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730739 13f79535-47bb-0310-9956-ffa450edef68
2016-02-16 19:40:06 +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
Jacques Le Roux 5a7fd2624d More info about dependency-check command line option. Ref in wiki: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61331040
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718162 13f79535-47bb-0310-9956-ffa450edef68
2015-12-06 11:26:00 +00:00
Jacques Le Roux d0fc35e09c Updates to reflect the current state on the demo VM
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718155 13f79535-47bb-0310-9956-ffa450edef68
2015-12-06 10:36:42 +00:00
Jacques Le Roux b70ccc9280 Being nice on demos VM (manual cases) with not stuck script
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714897 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 22:05:18 +00:00
Jacques Le Roux e712f47190 Let's try being nice on demos VM (manual cases, cron done)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714304 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 11:46:18 +00:00
Jacques Le Roux 98352e57eb It's easier to type
tools\test
than
  ant clean-data load-demo run-tests
:)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1711767 13f79535-47bb-0310-9956-ffa450edef68
2015-11-01 13:46:31 +00:00
Jacques Le Roux 57dbdced80 Since we now use Java 8, we no longer need to use MaxPermSize
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1709718 13f79535-47bb-0310-9956-ffa450edef68
2015-10-21 05:43:52 +00:00
Jacques Le Roux 2aa558c25e Now that some incompatible changes have been committed in the specialpurpose components in trunk HEAD we can't no longer run the specialpurpose components in R13.07
Good to have that in svn history though.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1636298 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 09:47:04 +00:00