Commit Graph
10472 Commits
Author SHA1 Message Date
Sascha Rodekamp 13cf8abcc4 Bug - Create (upload) content in Party Profile does not work (https://issues.apache.org/jira/browse/OFBIZ-4179). The bug occurs when trying to upload a zip file. Tika was missing a class for dealing with zip files. I added commons-compress-1.1.jar. I also updated the UX for the upload function. When no file purpose was set the upload crashes. Therefore i added a field validation.
Orig. Msg.:
As it does not work in trunk I 1st thought it was a jQuery migration issue. But it does not work either in R9.04 and I guess this is the initial reason

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087254 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 11:22:05 +00:00
Sascha Rodekamp 07fae63352 Update - jQuery validation plugin to version 1.8. https://issues.apache.org/jira/browse/OFBIZ-4223
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087222 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 09:03:04 +00:00
Jacques Le Roux 1c3fa1b852 Deletes all useless *.rej files generated by apply patches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087057 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:42:00 +00:00
Hans Bakker e7692574ec More and extended geo data for china
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086881 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 09:32:08 +00:00
Jacques Le Roux b8a8a93b0a Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086844 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 05:30:53 +00:00
Jacques Le Roux 9cb202e326 Update the link to OFBiz SeleniumXml copy of the presentation that was given at the ApacheCon2008 OFBiz Conference that describes more about the project.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086843 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 05:29:04 +00:00
Adrian Crum 5cb181e8fa Start.java bug fix: Exception is thrown if a string is entered that doesn't contain a ':'. Patch contributed by Chris Snow - https://issues.apache.org/jira/browse/OFBIZ-4237.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086701 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 19:49:26 +00:00
Hans Bakker 65ccc5ae87 improve error message to indicate where the error happened
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086096 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 02:11:53 +00:00
Adrian Crum d04a5d75b0 Final Start class code cleanup - moved remaining Config-specific code to the Config class, simplified some code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085806 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 21:37:00 +00:00
Adrian Crum 11578a9872 Misc Start.java code cleanups: eliminated unnecessary methods, renamed some methods, and fixed another potential thread deadlock issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085802 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 21:04:34 +00:00
Adrian Crum 38fb5bae80 Moved Config-specific code from Start class to Config class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085794 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 19:52:44 +00:00
Adrian Crum df91c022e2 Unraveling Start.java spaghetti code: Moved "admin port" code to a separate class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085781 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 18:44:04 +00:00
Adrian Crum 3855697825 Moved nested class in Start.java to its own file - no functional change. This commit changes the StartupLoader API.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085757 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 16:29:15 +00:00
Adrian Crum 58a6b3bdeb Reordered methods and fields in Start.java - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085745 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:56:19 +00:00
Adrian Crum 355cc6a59e Fix framework/base tests that were not running. Patch from Bob Morley with a few changes by me - https://issues.apache.org/jira/browse/OFBIZ-3662.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085735 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:11:00 +00:00
Adrian Crum 50abae04f4 Fixed a bug from one of my previous commits: In Start.java there could be a thread deadlock if one of the loaders failed to load.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085733 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:08:41 +00:00
Jacques Le Roux b06b847f00 A patch from Deepak Dixit "Lookup target-parameter in form widget is not working." https://issues.apache.org/jira/browse/OFBIZ-4225 - OFBIZ-4225
An improved patch for target-parameter functionality, now paramI indexing start with I=0 instead of 1.

JLR: I have updated the XSD to tell it must begin at 0

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085671 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 09:17:17 +00:00
David E. Jones 38db32de85 Small change to service call logging for longer running services to show their results maps, helps establish context a bit better, especially on busy servers; tempting to show context as well, but that isn't in this change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085333 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:40:05 +00:00
David E. Jones 86b9945c01 Screen parameters map no longer includes this catalina-specific variable with the full classpath that makes log messages that print parameters REALLY ugly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085332 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:38:53 +00:00
Hans Bakker 65d7832c14 patch provided by Eric de Maulde OFBIZ-4217: Scaling image for every size type from ImageProperties.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085275 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 07:57:46 +00:00
Erwan de Ferrieres ddea2b9136 OFBIZ-4220 a patch from Philippe Mouawad: Current implementation of UtilCache has a memory leak if maxInMemory is set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084732 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 20:44:17 +00:00
Jacques Le Roux bc7fc69cb3 A patch from Deepak Dixit "Lookup target-parameter in form widget is not working." https://issues.apache.org/jira/browse/OFBIZ-4225 - OFBIZ-4225
There is a target-parameter for lookup, Currently it's not working.
We can test it over at https://localhost:8443/ordermgr/control/request page. 


I have added a small change in the XSD to tell it should begin at one(1)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084574 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 13:14:34 +00:00
Erwan de Ferrieres 076910e971 Adding a new field for seleniumTestSuitePaths, testSuiteType, which should be filled with HTML or XML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084551 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 11:51:33 +00:00
Jacques Le Roux 0fb95c2459 Adds 2 convenient anchors (seleniumXml and Junit)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084543 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 11:32:37 +00:00
Adrian Crum 397889ae8f Some work on ContainerLoader.java - Fixes some thread-safe issues and try to have better control over loading/starting/stopping containers.
I'm not sure what the Geronimo code was supposed to do. It appeared to load all of the containers just so it could create/start the rmi-dispatcher container. So, I created a static method that allows client code to get a specific container. If this change causes problems with Geronimo just let me know and I will fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084238 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 16:22:54 +00:00
Adrian Crum 824a2186db Some work on Start.java - Try to have better control over loading/starting/unloading loaders. The shutdown hook is set before the loaders are loaded, so they can be unloaded if the OFBiz process terminates during loading. Also, thread synchronization was added so that loaders can't be loaded and unloaded simultaneously.
This commit might cause some loaders to throw exceptions during premature shutdown - that's because some loaders are not designed to be unloaded asynchronously.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084219 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 15:29:37 +00:00
Jacques Le Roux cb9ffa3654 Add a root.patch and allow to work correctly on Windows machines where patch.exe does not handle mixed EOLs (contrary to patch on Linux). This is due to SVN mixing EOLs when creating patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084215 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 15:24:59 +00:00
Adrian Crum 1700cd1371 StartupLoader.java JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084211 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 15:20:23 +00:00
Adrian Crum c0ae7cfde6 More Container.java JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084202 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 14:51:46 +00:00
Jacques Le Roux b7f5077402 Sorry while switching from OFBiz trunk to an internal directory I used the from folder when committing this
Thanks to Erwan for report

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084139 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 11:35:17 +00:00
Jacques Le Roux 5584e478aa Since we have no access to Internet I exceptionally add selenium-server.jar, it's easier than upload and same at end
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084133 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 11:11:42 +00:00
Adrian Crum e1acc655ee Reordered code in ContainerLoader.java - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084043 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 00:47:32 +00:00
Adrian Crum 99807645a9 Container.java JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084034 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 00:14:11 +00:00
Erwan de Ferrieres c83a564abc Moving the example selenium testsuite from it belongs and make it loads only when loading demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083861 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 16:37:42 +00:00
Erwan de Ferrieres 44e4e4f662 typo in BIRT's help
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083856 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 16:12:01 +00:00
Sascha Rodekamp 35a2a4d43c Bug - Remove Debug alert calls. They are not needed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083775 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:29:30 +00:00
Sascha Rodekamp bb0a18d100 Bug - The In Place Editor threw an exception when a message with more than one linebreak was entered.No he replaced all line breaks with a space.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083774 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:23:05 +00:00
Adrian Crum 1d3c353252 Some bug fixes and improvements to ComponentContainer.java and Classpath.java:
1. <classpath type="dir" .../> did not add jar files to the classpath. That has been fixed.
2. <classpath type="dir" .../> that contained an invalid path was added to the classpath anyway. That has been fixed.
3. Added ability to load native libraries (*.dll, *.so).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083554 13f79535-47bb-0310-9956-ffa450edef68
2011-03-20 20:02:48 +00:00
Adrian Crum fc0290e297 Fixed a bug in Start.java where the command line arguments were not passed to the loaders if there was only one argument.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083110 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 00:12:23 +00:00
Jacques Le Roux fffeffac59 * Remove "ofbiz-" from the component name, not really used anyway
* Allow to apply/reapply patches even when there are more than 3 patches in patches directory (it can be the case when you have other patches than those created with create-ofbiz-patches)

Note: the ant patch task will not work on Windows (diff in svn put Unix EOL into patch files), because there are no way to use the --binary parameter. So to have patches working in Windows you need to change their EOL to CR+LF (Eclipse, Notepad++ or Scite can do the trick)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083087 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 21:57:27 +00:00
Jacques Le Roux 0436f7f6f9 Complete r1082174 (Resizing the new example modal form so there is no more scroll-bar
), this was not enough for at least FF 3.6.15 on Windows

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083002 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 18:17:58 +00:00
Sascha Rodekamp e11f878458 Update - Update the jQuery library to version 1.5.1. A few changes were necessary for this step. I updated the jQuery flot library to the current release, because the old one doesn't work with the new jQuery version, i also updated the jsTree Plugin to make it work with the new jQuery Version.
Note in jQuery 1.5 the implementation of the ajax function has been changed.

For more Information have a look at: http://blog.jquery.com/2011/01/31/jquery-15-released/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082916 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 13:37:29 +00:00
Erwan de Ferrieres 428f2edc9a Sorting portalPageColumns by columnSeqId when retrieving
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082868 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 10:40:34 +00:00
Jacques Le Roux 12eb9ea828 A patch from chris snow "SOAP improvements" (https://issues.apache.org/jira/browse/OFBIZ-4218) - OFBIZ-4218
1) SOAPHandler fault handling and error logging improvements
2) Current SOAPHandler allows multiple service requests in the SOAPBody. There should only be one service request.
3) Error messages give too much information in soap response to potential hackers.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082829 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 06:45:54 +00:00
Jacques Le Roux c66be987ed This version compiles under all Java version (so far :/ )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082475 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 12:52:27 +00:00
Hans Bakker 57c070e33a fixing overlapping text in the category tree in the catalog component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082417 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 07:10:15 +00:00
Erwan de Ferrieres fe64b09e06 Adding a comment about the new way to download selenium-server.jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082252 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 18:34:49 +00:00
Sascha Rodekamp 6b6a8c145d Update - Update to jQuery 1.4.4, Fix a bug in the fieldlookup.js to make it work with the new jQuery lib. This patch is to orepare the update to jQuery version 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082227 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 17:25:15 +00:00
Erwan de Ferrieres da4c56a43e Adding missing property-map when calling an ajax-link, as it is not using a decorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082183 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 16:20:08 +00:00
Erwan de Ferrieres f1e6fa4e7e Resizing the new example modal form so there is no more scroll-bar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082174 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 15:56:56 +00:00