Commit Graph
3844 Commits
Author SHA1 Message Date
Hans Bakker 141a75160f remove empty files, svnignore all files in the runtime log and tempfiles directory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890204 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 07:29:05 +00:00
Hans Bakker f9e1b11bde Merge birt branch 831204:886087 and 831209:885099. A contribution by Antwebsystems employee Chattree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890175 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 04:41:28 +00:00
Scott Gray 27cf8edea6 Fixed problem reported by Jacopo where the tree widget expand/collapse buttons weren't being displayed in Safari. Safari seems to not want to display link background images unless the link has some content, fixed by adding a non-breaking space if the link is empty.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890120 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 21:13:49 +00:00
Scott Gray 9273c5b478 I noticed during test runs that the same eca rules are being checked multiple times, this is because the test run loads multiple dispatchers with each calling ServiceEcaUtil.readConfig() which blindly adds the rules to each cache entry regardless of whether they are already present or not.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889919 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 10:50:28 +00:00
Adam Heath be09838055 Remove duplicate webslinger-base-invoker libs and classpath entries.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889878 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 01:47:34 +00:00
Adam Heath 7286ff8d28 Instrumentation with cobertura. It won't actually do anything, tho,
until cobertura-1.9.3.jar is placed into framework/base/lib.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889839 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:27:18 +00:00
Adam Heath 68e0788392 Generic instrumentation framework. Nothing is configured to use it yet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889838 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:26:24 +00:00
Adam Heath d22fbbe257 Upgrade asm from 2.2 to 3.2; this required upgrading to an unreleased
version of groovy(ick), and a new webslinger snapshot.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889836 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:21:36 +00:00
Adam Heath de36a4dfb8 Add the beginnings of a tester for GenericMap. Doesn't really verify
anything yet, and is rather stupid, in that it only does printlns.  Not
adding this to the existing test infrastructure, until it is ready.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889763 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:45:32 +00:00
Adam Heath 2b12434323 Rename putAll(Iterator) to putAllIterator(Iterator).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889762 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:44:36 +00:00
Adam Heath 52383e1988 Support ConcurrentModificationException for iterators.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889761 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:43:55 +00:00
Adam Heath 7dcca5e431 Inverted wrapped hasNext/next processing, so that
ConcurrentModificationException support will work, thru an isValid
helper call.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889759 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:42:33 +00:00
Adam Heath ef08ee7003 Generic test case assertEquals methods, can be used as an extends, or
statically.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889757 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:40:13 +00:00
Adrian Crum 4585668b7e Changed ObjectType info logging level from warning to verbose.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889748 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:25:07 +00:00
Jacques Le Roux b675c31a3a Close "duplicated countries listed in currency selection" (https://issues.apache.org/jira/browse/OFBIZ-3246)
As explained in OFBIZ-3246, RMB is not ISO, CNY is. I kept the lines (only commented out)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889666 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 15:46:03 +00:00
Jacques Le Roux 908852b731 Remove some useless types, Number covers: BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, Short
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889319 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 16:41:13 +00:00
Bilgin Ismet Ibryam 25bf7c9ba7 Removed an extra quote from tree renderer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889190 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:14:12 +00:00
Jacques Le Roux c10003199d A patch from Harmeet Bedi "update required JDK constant to reflect JDK 1.6 requirement." (https://issues.apache.org/jira/browse/OFBIZ-3323) - OFBIZ-3323
Update gives a nice message instead of ugly stack trace when anyone attempts to run with JDK 1.5


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889124 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:34:03 +00:00
Jacques Le Roux 884cc9ce8f I forgot this file in r889014 - OFBIZ-3317 "Update and correction for the visual HTML editor"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889122 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:26:54 +00:00
Ashish Vijaywargiya 0507a954f6 Part of OFBIZ-3320 - Now you will see "Find" button on Lookup forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889088 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:50:29 +00:00
Ashish Vijaywargiya 88a092d2f9 Applied patch from jira issue OFBIZ-3320 - improvement in Find screen.
Fix title of buttons to Find, for all the find screens to maintain consistency. 

Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:29:19 +00:00
Scott Gray 84445caafe Fix typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889043 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 01:02:37 +00:00
Scott Gray a56b0d4ea2 Added two new methods to UtilHttp to assist in temporarily storing and retreiving request parameters to/from the session.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889038 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:52:37 +00:00
Jacques Le Roux 22741bbb34 I found Long to appear too much. While at it I add all primtives wrappers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889015 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:15:19 +00:00
Jacques Le Roux 1423f948ee A patch from Erwan de FERRIERES " Update and correction for the visual HTML editor" (https://issues.apache.org/jira/browse/OFBIZ-3317) - OFBIZ-3317
The visual editor is using this line to fix a minimum height for the textarea box.
if (!o(idTa).rows < 5) o(idTa).rows='15';//IE won't use % from style
No matter the size we give it, it stays at 15. So I commented the line in the .js file. While I was at it, I updated whizzywig.js to the last version (55i ->59) and put the new toolbar icons system

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889014 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 23:07:02 +00:00
Adam Heath 48a7d8470e Add a target for per-component quick testing. Can only deal with tests
that can run standalone.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888851 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 16:05:33 +00:00
Jacques Le Roux fe340b0b19 Some other forgotten changes done by hand.
Note that in ofbizwebsite/data/OfbizData.xml there are a lot of old tinylinks...
It'd be a pity to have to rewrite them all or to lost them :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888587 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:54:04 +00:00
Jacques Le Roux 47c9613346 Some easy documentation (cwiki) links changes following r888510
I have found a way to fix tinylinks :D http://confluence.atlassian.com/pages/viewpage.action?pageId=162988142

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888559 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:23:23 +00:00
Bilgin Ismet Ibryam 0a55b369ae Removed an extra <li> element and added a missing <a> element to htmlFormMacroLibrary.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888412 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 14:43:36 +00:00
Jacques Le Roux 6be9a2c8ea Revert r887916, not a solution at all
I did not test eCommerce, it crashes at 1st load :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888111 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 20:05:51 +00:00
Bruno Busco d0d9384a6e Added a new feature that allows to save the screenlet collapsed/expanded status as a userPreference. (OFBIZ-3271)
By default screenlets status are saved. A new "save-collapsed" screenlet attribute (default=true) can be used to disable this feature for selected screenlets.
An userPreference with key = screenlet.id+"_collapsed" is used to save the status.
Screenlets that share the same ID, share the same saved status also (i.e. all searchOptions screenlets used in the FindScreenDecorator use the same status). In order to have them separated a different ID should be specified.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 17:24:21 +00:00
Jacques Le Roux ef296bb420 A patch from Adrian Crum "ServerHit aborts transactions when trying to create entries with duplicate startTime(s)." (https://issues.apache.org/jira/browse/OFBIZ-2208) - OFBIZ-2208
This add synchronization for ServerHit entities creation. Hence startTime is no longer used. 
I have also removed some comment about the problem, and added one for startTime no longer used.

Note: If synchronization proves to slow down sites we could introduce a properties in serverstats.properties to switch from using it or not since I did not remove startTime from the method signature
Then we will use one or the other lines
-            serverHit.set("hitStartDateTime", new java.sql.Timestamp(startTime));
+            serverHit.set("hitStartDateTime", getNowTimestamp());


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887916 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 13:00:09 +00:00
Bruno Busco 7c32babcd5 Webtools application
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887786 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 22:27:36 +00:00
Jacques Le Roux 62fe2a9a7c Better French translation.
In the title we don't need to specify that it's fixed asset actually, simpler, more clear

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887527 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 11:35:20 +00:00
Jacques Le Roux 5cac36d5c5 Complete calendar i18n initialization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887454 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 23:38:25 +00:00
Jacques Le Roux 88e6b9481b I realized that in some cases it's better to keep the country part of locale, so this is better than r887164 (Fix a calendar i18n initialization issue in lookup.ftl)
And generalized to all FTL files where needed.
I only tested for lookups, but should be ok, since the same trick is used in other FTL files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887166 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 12:07:48 +00:00
Jacques Le Roux 2d9cecd3b9 Fix a calendar i18n initialization issue in lookup.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887164 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 11:50:25 +00:00
Jacques Le Roux de77e0bca8 A patch from Erwan de FERRIERES "seleniumXML improvement and corrections" (https://issues.apache.org/jira/browse/OFBIZ-3296) - OFBIZ-3296
corrected the XML tests
added new functions in selenium for better conversion from selenese and use with the XML tests :
    * echo
    * verifyTextPresent
    * verifyTextNotPresent
    * assertTitle
    * assertConfirmation
Removed comments
    *  waitForPageToLoad : just wait the page to load before any other action (time in ms)
    * click : make a click on an element
    * assertContains : assert an element contains some code.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887126 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:27:30 +00:00
Bilgin Ismet Ibryam ee59a11813 Fix for my previous commit in r886727 - added a new mapping for java.sql.Date to xsd:date
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886915 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 20:45:51 +00:00
Jacopo Cappellato f30c00588d Added styles for fop.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886817 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 15:29:57 +00:00
Jacques Le Roux 49bce4301f A patch from Erwan de FERRIERES " adding localization on visual themes" (https://issues.apache.org/jira/browse/OFBIZ-3295) - OFBIZ-3295
just adding the needed lines in commonEntityLabels and adding the property ressource name for the entity VisualTheme

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886745 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 11:48:48 +00:00
Bilgin Ismet Ibryam ee1cf7c139 Fixed wsdl generation for ofbiz services.
- Replaced java.util.Date with java.sql.Date because the latter is used in ofbiz services.
 - Replaced soap binding style from document to rpc, as this is the expected style in SoapEventHandler, ie the service name element, wrapping all the parameter elements in the soap body.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886727 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 10:01:22 +00:00
Jacques Le Roux 059cf20ff9 Fix a bug introduced with r886143 (when a language.js was missing no default was given)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 09:45:33 +00:00
Bilgin Ismet Ibryam 6e69b265eb - Display locale specific description of the visual theme if exists.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886701 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 08:12:57 +00:00
Jacques Le Roux 2de8e3d53a A patch from Erwan de FERRIERES "Cleaning of the seleniumXml.java and seleniumIDEconverter.java files" (https://issues.apache.org/jira/browse/OFBIZ-3286) - OFBIZ-3286
This patch do not modify the files, but is just for cleaning this files :
seleniumXml.java
seleniumIDEconverter.java

There is a lot of LOC commented in the code, a lot of whitespaces and so on. This patch removes all of this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886301 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 21:04:54 +00:00
Jacques Le Roux db9d329c2c A enhanced patch from Erwan de FERRIERES "Bug when using convert selenium html tests to xml" (https://issues.apache.org/jira/browse/OFBIZ-3282) - OFBIZ-3282
This line was causing the error : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
What Erwan done :
    * corrected the imports in the script
    * used sed to remove this line, it is now creating a temp file without the line which is given to the converter.

I have personally modified the convertSeleniumIDE.bat file but did not test (nor Linux version, I suppose it's ok). I guess this will mostly used on Linux Server and should work anyway.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886233 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:14:39 +00:00
Jacques Le Roux 98fe02257c A patch from Erwan de FERRIERES "Add the images in docbook help" (https://issues.apache.org/jira/browse/OFBIZ-3280) - OFBIZ-3280
In this new version, I :
    * removed the graphic tag
    * added the mediaobject tag
    * updated the selenium help page


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886157 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 14:32:48 +00:00
Jacques Le Roux 3dd84d9f25 A patch from Sascha Rodekamp " Colors and localisation for the calendar" (https://issues.apache.org/jira/browse/OFBIZ-1825) - OFBIZ-1825
Simple and clear implementation!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886143 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:54:17 +00:00
Hans Bakker b2e6528f36 duplicated and a unused file in the selenium test tools as reported by Erwan de FERRIERES in the mailinglist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 09:26:42 +00:00
Marco Risaliti f68c06b08b Better Italian translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885875 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 19:19:21 +00:00