Commit Graph
348 Commits
Author SHA1 Message Date
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 efb589682b OFBIZ-5042 Apache Solr Implementation.
1. Put the patch into trunk.
2. Added access control to solr /admin/ pages.
3. Upgraded solr to 4.9.0 to match Lucene version in trunk.
4. Removed solr.solr.home, used 
SolrResourceLoader loader = new SolrResourceLoader("specialpurpose/solr/conf");
instead.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700119 13f79535-47bb-0310-9956-ffa450edef68
2015-08-30 13:27:07 +00:00
Jacques Le Roux 8d0e1895ab No functional change, reverts r1696950
Eclipse uses tabs so better to have them in repo, thanks to Adrian on dev ML

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697072 13f79535-47bb-0310-9956-ffa450edef68
2015-08-22 02:55:06 +00:00
Jacques Le Roux 4d5b669590 Replaces tabs with spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696950 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 12:03:00 +00:00
Shi Jinghai 85ab0e0eff OFBIZ-4154 Use ZXing to generate QR 2d barcode.
1. Add zxing-core-3.2.0.jar to framework/base/lib and .classpath.
2. Add services_qrcode.xml and QRCodeService.java in framework/common/.
3. Add qrcode request in common-controller.xml and QRCodeEvents.java under framework/common/.
4. Add qrcode.properties and QRCodeUiLabels.xml under framework/common/.
5. Add a barcode example page in specialpurpose/example, entry is on page: /example/control/EditExample?exampleId=EX01, the example can be seen on page: /example/control/ExampleReportPdfBarcode?exampleId=EX01

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696921 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 10:03:11 +00:00
Shi Jinghai a575165ce4 OFBIZ-6504 - Create password protected PDF in OFBiz
1. Changed to use FOP 2.0 native encryption, jars are updated.

2. Now the Embeded options are request parameters supported in ScreenFopViewHandler.java, the options are:
http://xmlgraphics.apache.org/fop/2.0/pdfencryption.html#embedded
the default values of the options can be configured in framework/webapp/config/fop.properties.

3. The demo page is https://localhost:8443/example/control/ExampleReportPdfOptions?exampleId=EX01

4. Barcode is tested.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1691852 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 20:41:32 +00:00
Shi Jinghai f1fb02e53d OFBIZ-6135 - Passport Component for OAuth2
The oauth2 login icons will appear in /ecomseo/checkLogin page if the seed data files are properly configured and imported into database.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1688503 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 18:38:16 +00:00
Michael Brohl 3ebf5b704b Applied patch for OFBIZ-6317 which added framework/base/config to the Eclipse .classpath file.
Thanks Martin Becker for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686576 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:55:45 +00:00
Scott Gray ed78fd5bff Re-alphabetize the eclipse classpath and tidy it up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 22:41:54 +00:00
Scott Gray 9bfa33026e Add shiro to eclipse .classpath
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684774 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 22:25:16 +00:00
Jacques Le Roux 44cd36bace A patch from Martin Becker "Missing BIRT libs in eclipse .classpath file" https://issues.apache.org/jira/browse/OFBIZ-6317
Because of missing JARs from the specialpurpose component birt in the eclipse .classpath file OFBiz could not be startet within eclipse without errors (NoClassDefFoundError while starting birt component).
With "starting within eclipse" I mean the configuration with hot code replacement like this: https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-debuggingInEclipseHotClasses
I provide a patch for the .classpath file with 4 added libs from the specialpurpose/birt/lib folder.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1681848 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 20:26:41 +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
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
Jacopo Cappellato 5c2e9841e8 Removed commons-cli jar that was not used: barcode4j has an optional dependency on it but only if used from the command line (which is not the case in OFBiz); Groovy has a dependency on Commons CLI, antlr, asm but it uses a copy of them bundled in groovy-all jar, so removing the pathelements set for the ant path id "groovy.class.path".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1677597 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 13:36:09 +00:00
Jacques Le Roux 3ecea0fd93 A patch from Pierre Smits "Move special purpose/jetty to attic" https://issues.apache.org/jira/browse/OFBIZ-6223
As per outcome of http://ofbiz.markmail.org/message/xoqjhbitdj5fi3bl remove special purpose/jetty from the trunk branch and add a notification to the attic document.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674482 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 11:44:52 +00:00
Jacopo Cappellato 86012b7e0c Removed appserver component from the Eclipse config file because it has been recently removed from OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668205 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 07:58:46 +00:00
Jacopo Cappellato b387dcb2b4 Upgraded Tomcat from 7.0.57 to the latest bug fix release 7.0.59.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667253 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 10:52:34 +00:00
Jacopo Cappellato 38017100b3 Upgraded the following commons jars:
- codec from 1.6 to 1.10
- validator from 1.4.0 to 1.4.1
- logging from 1.1.2 to 1.2
- net from 3.1 to 3.3
- csv from 1.0 to 1.1
Resolves OFBIZ-6157, OFBIZ-6158, OFBIZ-6159, OFBIZ-6160, OFBIZ-6161



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667055 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 16:17:49 +00:00
Jacopo Cappellato 0db5888047 OFBIZ-6156: Upgraded commons-pool2 from 2.2 to.2.3 and commons-dbcp2 from 2.0.1 to 2.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666958 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 10:58:26 +00:00
Jacopo Cappellato f69e599355 Upgrade to latest bug fix release of Freemarker: 2.3.22
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666949 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 10:31:13 +00:00
Jacopo Cappellato 68723a2130 Upgrade to latest release of Log4j
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666939 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 09:20:14 +00:00
Scott Gray a6407914dc Corrected eclipse .classpath file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665312 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 17:34:42 +00:00
Jacques Le Roux ec1e40d0d2 Adds json-lib-2.2.3-jdk15.jar to. classpath
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658364 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 11:28:56 +00:00
Jacques Le Roux d5d1579773 Updates apache Tika jar to 1.7 thanks to Deepak at https://issues.apache.org/jira/browse/OFBIZ-6062
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657790 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 12:47:45 +00:00
Jacques Le Roux ab535e27fe Sort lines by blocks and alphabetically
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657332 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 17:25:11 +00:00
Jacques Le Roux a935824f09 This adds commons-discovery-0.5.jar in .classpath. I missed it in r1641037.
In a next commit I will sort the lines. Sorry for the inconvenience, this should have been done when paths changed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1657323 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 17:07:27 +00:00
Scott Gray 42d3aa96f5 Eclipse classpath fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650865 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 03:29:25 +00:00
Jacopo Cappellato 9ce782f90b Removed a bunch of dependencies of Owasp Esapi classes after I realized (by studying the Esapi source files and the integration in OFBiz) that we were using a small part of that product; this made it possible to upgrade to the latest release of Owasp Esapi (2.1.0) without having to include a bunch of jars.
I had to comment out two lines in the unit tests because they were failing after the upgrade; still investigating on this.
This commit resolves OFBIZ-5343.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1648747 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 17:31:16 +00:00
Jacques Le Roux 6826553c36 Forgot to commit changes in .classpath and LICENSE when updatig Tomcat from 7.0.55 to 7.0.57
Forgot also to say that there were no changes in framework\base\lib\j2eespecs

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1640515 13f79535-47bb-0310-9956-ffa450edef68
2014-11-19 10:21:59 +00:00
Adrian Crum 5510c3ea5b Upgraded httpclient libraries. HttpClient defaults to TLS instead of SSLv3.
http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-4.3.x.txt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637883 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 15:15:59 +00:00
Jacopo Cappellato 3552f65800 Merged json-integration-refactoring into trunk:
* moved the json-lib jar (json-lib-2.2.3-jdk15.jar) from the framework/webapp to the framework/base component
* removed the SQL select Parser.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code
* removed the JSON.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code apart from the JSON Converters (now migrated to json-lib, see next items in this list) some utility methods in UtilIO.java (that have been removed too because they have never been used in OFBiz) 
* removed the JavaCC jar and related ant scripts because no more needed after the removal of Parser.jj and JSON.jj
* converted the JSONConverter code that was based on JSON.jj to Jackson
* added a new class org.ofbiz.base.lang.JSON that have been contributed by Adrian Crum that is a facade for simplifying the client code and for hiding the specific JSON library being used
* removed an unused method: ImageManagementServices.toJsonObject(...)
* added TestBooleanConverters to the list of tests
* new unit tests for the new JSON converters
* refactored Ajax code in applications to use the common request json response rather than a custom method
* OFBIZ-5790 Implemented ability to call a service event by passing its input parameters in the request body as JSON data. These classes provide a simple mechanism, based on the request's content type, that can be extended to support other formats (e.g. XML).

This commit resolves OFBIZ-4572, OFBIZ-3365, OFBIZ-5751, OFBIZ-5790



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1635901 13f79535-47bb-0310-9956-ffa450edef68
2014-11-01 09:06:42 +00:00
Jacopo Cappellato 5e106b124d Upgraded to the latest, now official, release of Freemarker
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1631299 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 06:45:42 +00:00
Scott Gray 6df6796adc Remove worldpay from Eclipse classpath exclusion because it is built by ant and doesn't have 3rd party library dependencies. Also added missing scrum src folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629537 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 20:28:22 +00:00
Jacopo Cappellato 3b8baced92 Upgraded freemarker to 2.3.21-rc02.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628130 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 07:37:46 +00:00
Jacopo Cappellato 9be3230d22 Removed unused jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623738 13f79535-47bb-0310-9956-ffa450edef68
2014-09-09 10:19:39 +00:00
Jacques Le Roux 8f8a5ce868 Updates from poi-3.9-20121203.jar to poi-3.10.1-20140818.jar for security reasons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623370 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 12:27:35 +00:00
Jacopo Cappellato 4833915d0d Removed unused jars.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623042 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 15:04:31 +00:00
Jacopo Cappellato 3c76aa4b89 Removed unused jars.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623005 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 12:35:38 +00:00
Jacopo Cappellato c50eb3abfb Removed three asm jars not used by OFBiz code or any other jars in the OFBiz trunk.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622996 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 10:31:29 +00:00
Jacopo Cappellato c907d4dbe2 Removed old, not maintained and never really used integration with the Apache Velocity template engine.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622980 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 06:57:19 +00:00
Jacopo Cappellato 281209d0d1 Removed unused and not maintained integration with DataVision.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622979 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 06:43:41 +00:00
Scott Gray 0459cd590b Removed reference to a jar file removed with the upgrade to Log4j2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622771 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 19:42:16 +00:00
Jacopo Cappellato 1830aee2c7 Removed old code for JPublish
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622010 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 14:18:17 +00:00
Jacopo Cappellato b20d598a67 Updated freemarker jar to the release candidate 01; waiting for the official release that should happen in mid October 2014.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621683 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 06:28:49 +00:00
Jacopo Cappellato 38b7048581 Upgraded two j2ee spec jars from Geronimo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1619300 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 07:30:06 +00:00
Jacopo Cappellato 6b34bcf53f Updated jar in .classpath file after upgrade to Log4j2; thanks to Deepak Dixit for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1619087 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 12:18:59 +00:00
Jacques Le Roux efa20e8cef Update Tomcat from 7.0.54 to 7.0.55
Forgot LICENSE and .classpath


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1615297 13f79535-47bb-0310-9956-ffa450edef68
2014-08-02 11:20:09 +00:00
Jacopo Cappellato f66ab18d6e Upgrade to Commons DBCP 2; this new version is designed for Java 7 (JDBC 4.1).
Commons DBCP 2 relies on Commons Pool 2 and this commits upgrades that jar too.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612909 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 18:26:33 +00:00
Jacques Le Roux 4dcfac549c ant-nodeps can be re-added later if needed. Eclipse was complaining ("The project cannot be built until build path errors are resolved") though it was actually building it seems, only unable to report other errors, this one was blocking it.
I don't change macro.xml (ant-nodep refs) because it might be used later and does not harm


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612053 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 08:19:12 +00:00
Jacopo Cappellato ef5976a228 Fixed Tomcat internal logging that was broken after the upgrade to the 7 series; log4j configuration for Tomcat is now inline with the one described in http://tomcat.apache.org/tomcat-7.0-doc/logging.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609047 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 07:53:23 +00:00