Jacques Le Roux
1f1a5c952c
New self signed SSL certificate created on the OFBiz demo VM with own CA following http://httpd.apache.org/docs/current/ssl/ssl_faq.html#realcert
...
This certificate is valid for 10 years (until May 27 08:43:19 2024 GMT)
Characteristics: C=US, ST=DE, L=Wilmington, O=Apache Software Fundation, OU=Apache OFBiz, CN=ofbiz-vm.apache.org/emailAddress=dev@ofbiz.apache.org
The password is still the same: changeit, I checked: HTTPS works locally
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1598505 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 08:58:44 +00:00
Jacques Le Roux
3a6709473f
Updates Tomcat to 7.0.54
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1598113 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 19:50:16 +00:00
Adrian Crum
11d9b19b46
Improved some converters to strip the time-of-day from java.sql.Date values. This will help prevent JDBC drivers from changing the date when stored.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1590301 13f79535-47bb-0310-9956-ffa450edef68
2014-04-26 21:28:07 +00:00
Adrian Crum
e23b118575
Fixed a bug in ObjectTypeTests.java: The CachedClassLoader maps the "Date" class name to java.sql.Date, not java.util.Date.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1590299 13f79535-47bb-0310-9956-ffa450edef68
2014-04-26 21:25:25 +00:00
Jacopo Cappellato
c2fd23d0da
Upgraded commons-pool to the latest bug fix only release.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1587841 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 09:38:26 +00:00
Adrian Crum
f2799d6e72
Bug fix in ObjectTypeTests - a java.sql.Date instance created in one time zone is not equal to another instance created in another time zone.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1585959 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 13:01:18 +00:00
Adrian Crum
0499098732
Modified the String to java.sql.Date conversion. Replace deprecated constructor call with a Calendar implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1585958 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 12:55:00 +00:00
Adrian Crum
70a4757b4b
Fixed a bug in rev 1585033. Reported by Gareth Carter on the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1585574 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 19:45:02 +00:00
Adrian Crum
9291e24ea4
Fixed a bug in String to java.sql.Date conversion. If the Date object includes time information, then the JDBC driver will adjust the date according to the default time zone - causing the wrong date to be stored in some circumstances.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1585033 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 09:46:58 +00:00
Adrian Crum
191fd073b0
Fix for quirky user-selected time zone behavior. Changing the time zone in one session did not update other sessions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583663 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 13:32:12 +00:00
Jacques Le Roux
489877a44d
Removes useless empty folders, adds README files with explanations in useful empty folders
...
This to facilitate the creation of Git repositories where empty folders needs a file in or must be ignored
Especially when you want to keep the OFBiz Subversion repository inside the Git repository (useful for committers)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1580865 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 14:42:52 +00:00
Jacques Le Roux
849bbb3c29
A patch from Antoine Vittecoq for "Form widget/ FTL pagination, Last does not take to last page" https://issues.apache.org/jira/browse/OFBIZ-5575
...
This issue in pagination can be tested in https://localhost:8443/partymgr/control/findparty (FTL) & https://localhost:8443/webtools/control/FindUtilCache?VIEW_SIZE_1=2&VIEW_INDEX_1=0 (XML Form).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579277 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 16:15:22 +00:00
Jacopo Cappellato
7d8d938a3b
Performance optimization for UtilHttp.getFullRequestUrl method: instead of returning a StringBuffer object (synchronized) it now returns a String (immutable); internally it uses a StringBuilder (lighter because not synchronized) within a private context.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570810 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 08:32:28 +00:00
Jacopo Cappellato
52ee5728a4
Upgraded JUEL to 2.2.7 using EL specification 2.2.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570611 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 15:48:26 +00:00
Adrian Crum
c5b041ed6b
Update Commons File Upload to 1.3.1.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1565760 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 18:48:21 +00:00
Jacques Le Roux
4b3a20ac92
Reverts r1564680, keeps geronimo-activation_1.0.2_spec-1.0.jar
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564686 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 09:18:00 +00:00
Jacques Le Roux
fcf3b36468
Updates geronimo-activation to 1.1_spec-1.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564680 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 08:56:42 +00:00
Jacques Le Roux
89f92ff544
Updates geronimo-saaj to _1.3_spec-1.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564493 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 21:09:43 +00:00
Jacques Le Roux
44087a04f0
Update commons-fileupload to 1.3
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564463 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 20:24:14 +00:00
Jacopo Cappellato
9f8bb29787
Some minor simplifications to ComponentContainer: removed some unnecessary overloaded methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1561757 13f79535-47bb-0310-9956-ffa450edef68
2014-01-27 17:19:52 +00:00
Jacques Le Roux
0757ed8a24
A patch from Gareth Carter for "last index for paging is not calculated correctly" https://issues.apache.org/jira/browse/OFBIZ-5497
...
The last index (used on the last button) is not calculated correctly in ftl or the renderer classes. It currently users floor which works only for list sizes that are not multiples of the view size. When you have a list size which is a multiple of the view size, it does not subtract 1 for zero based index and therefore the last button goes to the last page + 1
Examples
listSize = 1
viewSize = 10
listSize / viewSize = 0.1
floor(0.1) = 0
This one produces the correct value
listSize = 20
viewSize = 10
listSize / viewSize = 2
floor(2) = 2
Last index should be 1 because of zero based index but never occurs
To reproduce, enter a view with a list and paging functionality, the list size must be a multiple of the view size
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1560176 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 20:53:29 +00:00
Adrian Crum
6a42559853
Updated XStream library to latest version.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1557440 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:23:58 +00:00
Adrian Crum
fe9cd1f776
Added the ability to exclude certain classes from XML serialization/deserialization.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1557427 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 17:39:38 +00:00
Jacques Le Roux
b3767764d7
Updates java mail-1.4.jar to mail-1.5.1.jar (tests passes)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1557410 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 15:24:10 +00:00
Jacques Le Roux
a08c142ee7
Updates icu4j-49_1.jar to icu4j-52_1.jar (tests passes)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1557409 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 14:52:23 +00:00
Jacopo Cappellato
692a5ab569
Upgrade to the latest official major version of Groovy: 2.2.1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554242 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 14:44:32 +00:00
Jacques Le Roux
398aeffd7f
Oops my bad, I forgot that I had downloaded the cobertura-1.9.4.1.jar locally so I had no issues after an ant clean but Buildbot had
...
So finally removes last change in framework/base/build.xml related to Cobertura
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554018 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 12:15:47 +00:00
Jacques Le Roux
5b7572d537
Finally commits change in framework/base/build.xml, the Buildbot error was not related to this change (did not make sense, as long this target is not used at least)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554016 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 11:52:15 +00:00
Jacques Le Roux
92525ea290
I was too fast with the Cobertura changes in previous commit, I forgotI did not test those yet.
...
So I revert them for now, they are not needed yet for the INFRA-3590 progresses anyway, only the portoffset parameter is needed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553975 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 23:43:53 +00:00
Jacques Le Roux
4c0b42b9d2
This completes "set different ports for testing in a CI environment (e.g. Jenkins)" https://issues.apache.org/jira/browse/OFBIZ-4794
...
This was waiting for a moment in my working copy after I found that there was an issue with testSOAPSimpleService when portoffset was used with run-tests target.
I have still no resolved this issue, but since I got a better way to run simultaneous Buildbot instances this is no longer an issue for run-tests target.
So I commit these small pending changes in order to allow to run Sonar on OFBiz https://issues.apache.org/jira/browse/INFRA-3590 .
The cobertura target does not work yet but what's committed here is needed anyway to progress with INFRA-3590.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553962 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 23:09:01 +00:00
Jacques Le Roux
4c3e9b7ec8
No functional changes:
...
Removes all remaining unchecked warnings
Automatically adds some @Override
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551207 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 13:30:46 +00:00
Jacques Le Roux
082d2ec52f
In r1533839 (related to https://issues.apache.org/jira/browse/OFBIZ-4794 "Set different ports for testing in a CI environment (e.g. Jenkins)"
...
Which will mostly be used to simultaneously run official demos without having to create patches, I forgot the portOffset for websites and url.properties ports values.
This fixes this point. I also did in it RequestHandler class though the getDefaultServerRootUrl() method is now deprecated.
To be consistent with r1547186 I will backport in R13.07
People should be aware that this will change the ports values of websites and url.properties ports values which in some cases could be an unwanted side effect.
Anyway the portOffset feature is not destined to be used in production environments where websites and url.properties ports values are often changed purposely
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1549015 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 10:48:18 +00:00
Adrian Crum
63462fa908
Added a new attribute to the ofbiz-component.xml <webapp> element - access-permission. It is used to specify an explicit permission to allow access to the web application, instead of the implied permissions specified in the base-permission attribute (which causes unpredictable behavior).
...
Also moved web application authorization code from the Flat Grey visual theme to LoginWorker.java. This change needs to be copied to other visual themes as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1546891 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 04:19:48 +00:00
Jacques Le Roux
a38a21fc0a
This closes "Introduce Tomcat's JreMemoryLeakPreventionListener and why" https://issues.apache.org/jira/browse/OFBIZ-5395
...
The idea is to avoid ThreadLocal with custom classes, this can lead to memory leaks when an external application server is used.
Reverts r1075322 (commit for OFBIZ-4107) hence removes CompilerMatcher
Uses PatternFactory instead of CompilerMatcher class (from CompilerMatcher keeps the compiled patterns cache idea)
In UtilHttp.java
Removes dead code
Removes useless "UtilHttp." for class methods and constants calls (moot point, have we conventions on this?).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542960 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 09:46:35 +00:00
Jacques Le Roux
de40fb6041
Makes createOrGetPerl5CompiledPattern static
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542959 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 09:45:33 +00:00
Jacques Le Roux
98e992fc1d
Renames the Perl5 method createOrGetPerl5CompiledPattern, in case later we want to implement other regex flavors
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542725 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 13:52:11 +00:00
Jacques Le Roux
6387735b0d
Changes module and method names
...
Uses | instead of & in compile mask options
Adds a comment about when to use or not
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542709 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 11:35:49 +00:00
Jacques Le Roux
950192c0d0
No functional change, just simplify code.
...
Also some trailing spaces removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542708 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 11:30:43 +00:00
Adrian Crum
39eb2da06e
Small fixup for me previous commit - Perl5 pattern compiler needs to be told the patterns will be shared among threads.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542551 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 19:03:17 +00:00
Adrian Crum
dbc3a522fb
Created a PatternFactory class to replace the existing CompilerMatcher class.
...
https://issues.apache.org/jira/browse/OFBIZ-5395
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542544 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 18:30:08 +00:00
Paul Foxworthy
46392f7649
FORMATTING: Fix misspelling in comment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1542162 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 02:52:56 +00:00
Adrian Crum
7043dd0c6b
Fixed a bug introduced in rev 1534264 - unable to log into web applications that do not have a base-permission attribute.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1540475 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 14:02:47 +00:00
Jacopo Cappellato
4c6d49b735
Upgrade to the latest version of Groovy: 2.1.9
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1537086 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 13:43:08 +00:00
Adrian Crum
6b416318af
Expose the TestSuiteInfo constructor so it can be used outside its containing class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536586 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 04:27:07 +00:00
Adrian Crum
a770f0e853
Small fix for StringUtil.toMap method - avoid array index exceptions when a Map element is missing a value.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536170 13f79535-47bb-0310-9956-ffa450edef68
2013-10-27 18:06:15 +00:00
Adrian Crum
69b5d92007
Use parameterized return type in FreeMarkerWorker.unwrap method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535245 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 00:42:12 +00:00
Adrian Crum
185d02da45
ComponentConfig.java refactor - JavaDocs, no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1534343 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 19:41:27 +00:00
Adrian Crum
cd43d99579
ComponentConfig.java refactor - improved thread-safety for the WebappInfo inner class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1534331 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 19:22:21 +00:00
Adrian Crum
3183961741
ComponentConfig.java refactor - thread-safety for the ComponentConfig inner classes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1534264 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 16:17:26 +00:00
Adrian Crum
618fcfa6cf
ComponentConfig.java refactor - thread-safety for the ComponentConfig instance.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1534178 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 14:23:29 +00:00