Commit Graph
760 Commits
Author SHA1 Message Date
Jacques Le Roux bd428bde64 A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" (https://issues.apache.org/jira/browse/OFBIZ-530).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux 084ff1b883 A patch from Stefan Huehner "Code-Cleanup: remove unncessary return at end of void function" (https://issues.apache.org/jira/browse/OFBIZ-536).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484972 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:52:56 +00:00
Jacopo Cappellato f34ed9cbc7 Minor code cleanups from Stefan Huehner (OFBIZ-537).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484971 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 11:29:27 +00:00
Jacopo Cappellato 37ebed9dad Applied patch from Tim Ruppert (OFBIZ-539) to update path to ofbizssl.jks.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484962 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 10:20:45 +00:00
Jacopo Cappellato 4c2ba27630 Applied patch from Stefan Huehner (OFBIZ-514) to remove some unnecessary casts.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482260 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 17:41:14 +00:00
Jacopo Cappellato b05f4a66a1 Major refactoring of the Apache FOP rendering engine: upgrade from .20.5 to .92
Special thanks to John Martin and Christian Geisert for this work: OFBIZ-311


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481558 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 13:37:24 +00:00
Jacopo Cappellato 55bcc8af8f Applied patch from Stefan Huehner (OFBIZ-511), to remove some unnecessary casts where the source-type and the casted-to type are identical.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481546 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 10:45:01 +00:00
Jacopo Cappellato 16ffbf5809 Misc improvements to the Webtools log view screen:
- added a new log file appender that decorates the log messages with css; the content of this file is shown by the Webtools screen
- log messages containing ${...} notations are now supported
OFBIZ-361
Thanks to Chris Howe for most of this work.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481544 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 10:26:09 +00:00
Jacopo Cappellato 29f9c766a5 Upgraded Freemarker jar from 2.3.4 to 2.3.8 (downloaded from http://prdownloads.sourceforge.net/freemarker/freemarker-2.3.8.tar.gz).
According to the new conventions, I've also renamed the jar file including the version number and updated the LICENSE and NOTICE files.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481530 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 09:34:22 +00:00
Si Chen 2fb55ad7c8 UtilValidate.isEmail now has the default isEmail(string) method which accepts formats such as sichen@localhost and isEmail(string, requireDot) which requires formats like sichen@somewhere.com
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@478901 13f79535-47bb-0310-9956-ffa450edef68
2006-11-24 15:55:37 +00:00
David E. Jones 28c4824143 Applied reformatted patch from Jacques based on patch from Stephen Parry to escape spaces in classpath entries, which should resolve problem with jdk location on Windows; Jira #OFBIZ-486
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477801 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 18:24:27 +00:00
Hans Bakker 5524f51fa5 add a parammeter to be able to limit the maximum size of an incoming email message (set to 1Mb)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477691 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 14:51:49 +00:00
Jacques Le Roux 85c8823d60 Facilitates POS printers switches
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477640 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 11:59:10 +00:00
David E. Jones 64d21975bf Created new specialpurpose directory for special purpose components that are based on the more general components under the applications directory, but reuse resources in order to create applications meant for a special purpose, or a particular type of user or task; also adjusted build files, component load files, etc
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476486 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 10:32:43 +00:00
Jacques Le Roux 44c7632634 A patch from Jean-Sébastien Hederer "Variable allocation without effect" (https://issues.apache.org/jira/browse/OFBIZ-439)
Thanks Jean-Sébastien

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473074 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 21:11:53 +00:00
David E. Jones fc96cf5ab7 Changed all build files to add NOTICE and LICENSE files to the META-INF directory in each jar file that is created in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:23 +00:00
David E. Jones adaf003ee9 Removed jcl.dtd file for licensing reasons; there are publicly available web locations for this, but it's not in a standard location; fortunately this is somewhat infrequently used; I tested the jpos.xml file in my editor and it works fine this way
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472414 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 07:50:37 +00:00
David E. Jones beea25ea9e Fixed problem caused by updating and then reverting the BSF library, should now compile and such
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468954 13f79535-47bb-0310-9956-ffa450edef68
2006-10-29 18:59:12 +00:00
Jacques Le Roux 889d1579ea Revert patch from Adam Heath "Upgrade bsf to something a bit more modern" (https://issues.apache.org/jira/browse/OFBIZ-401) to IBM version because of a problem found by Jacopo (please see Jira issue)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468667 13f79535-47bb-0310-9956-ffa450edef68
2006-10-28 10:07:08 +00:00
David E. Jones d4c8b76d54 Updated Xerces to version 2.8.1; added a suffix to the jar files to help keep track of this; in testing it seems to work fine
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@467373 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 16:25:58 +00:00
Jacques Le Roux 080680236a A patch from Adam Heath "Upgrade bsf to something a bit more modern" (https://issues.apache.org/jira/browse/OFBIZ-401)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@467304 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 10:58:36 +00:00
Jacques Le Roux 07e943f1ef At beginning a patch from Bilgin Ibryam slightly modified by Jacopo.
But actually that was not solving the problem exposed in "Wrong week numbers in the fixed asset calendar" (https://issues.apache.org/jira/browse/OFBIZ-392)
To fix it I added some locale settings in month.ftl .
I'm not quite sure why these should be "en". But I'm sure it works with it and don't without. 
I assume it's because we calculate date values before in this locale (set from command line).
It seems that it's the same type of problem that the one who arises and forced us to put -Duser.language=en in command line some times ago.



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466364 13f79535-47bb-0310-9956-ffa450edef68
2006-10-21 08:34:23 +00:00
Jacopo Cappellato 1174de024e Added Jakarta Commons Validator jar, version 1.3.0.
This will be soon used for its enhanced date comparison features.
It is licensed under the ASL2.0 (no NOTICES are due) and I've also added the file to the list of included jars.
OFBIZ-374.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463915 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 11:20:35 +00:00
Jacopo Cappellato 4adf782115 Added new currencyFormat method that accepts as input the maximum number of fraction digits: if the value is >= 0 then it is used to override the default value of the currency format of the given locale.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463137 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 06:04:33 +00:00
Jacopo Cappellato 3b81b56520 Removed author information from all the files of the "base" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454162 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 15:45:30 +00:00
Jacopo Cappellato 137ab48677 Fixed bug reported in OFBIZ-222: Prev/Next links in multi forms are messed up after form is submitted.
This was caused by the presence in the links of the parameters submitted by the multi form.
I've fixed implementing a new method that takes as input the parameters map and returns as output a map without the multi-form parameters.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453530 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 08:44:28 +00:00
Jacques Le Roux 6b4c60ddd3 Removed plugin.jar file was added by accident
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453529 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 08:41:58 +00:00
Jacques Le Roux 732230105c This commit resolves "Percentage item and sale discounts not working" (https://issues.apache.org/jira/browse/OFBIZ-289)
Thanks to Ray Barlow for reporting and Si Chen/Iain Fogg for their clues. I have tested it quite thourougly it seems to work well. 
IMHO there is still work to be done for the receipt that does not show clearly the sale adjustment. But that's another story...

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453515 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 07:02:41 +00:00
Si Chen d8ea216473 Made console.log and ofbiz.log display of date time consistent usig the date-time format
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453301 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 17:50:34 +00:00
Jacopo Cappellato b79f8b95c5 Removed unused import statements from Java classes.
Patch from Peter Goron (OFBIZ-349).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452088 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 15:50:00 +00:00
Jacopo Cappellato eb224eab4c This is a fix for rendering of numeric values both in ftl templates and in form widget.
The problem was that the number of fractional digit used was the default one for the locale (usually 3) and for this reason many numbers were truncated in the screens.
I have fixed this by setting the maximum number of digits to 10.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451937 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 09:52:36 +00:00
Jacques Le Roux 040024f4a7 Added a new method htmlSpecialChars into the StringUtil class from John Martin.
htmlSpecialChars may be used in 
http://issues.apache.org/jira/browse/OFBIZ-178 & 
http://issues.apache.org/jira/browse/OFBIZ-260 issues




git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451145 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 07:34:32 +00:00
Jacques Le Roux 017e1ed33b Added Solo & Switch cards (Barclays) ans Visa Electron Purchasing validation.
(please see https://issues.apache.org/jira/browse/OFBIZ-202)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446941 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 20:18:44 +00:00
David E. Jones ab4ecd7681 Commented out the MCA listener so it won't complain when not configured
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446517 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 04:45:43 +00:00
David E. Jones f4309707dd Applied patch from Adam Heath to fix off by one error; Undersun Jira #OFBIZ-378
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@443051 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 18:13:49 +00:00
Si Chen bd062504b5 reorganized comments for javamail-container
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@443033 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 17:10:04 +00:00
David E. Jones d350333ebd Some fixes for the distributed cache clear services, and the default OpenJMS configuration; contributed by Peter Goron, old Undersun Jira #OFBIZ-876
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442704 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 21:03:10 +00:00
Jacques Le Roux d96c66b44d This commit close issue http://jira.undersunconsulting.com/browse/OFBIZ-717 (Patch to update the JGoodies look&feel version for POS)
The page http://docs.ofbiz.org/display/OFBADMIN/Libraries+Included+in+OFBiz should be updated.
There is no more look-1.2.2.jar file. Unfortunatly I have not enough rights to edit them. I let a comment in Confluence.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@442517 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 08:24:53 +00:00
Jacques Le Roux 8b08df2c19 Patch from Rodrigo Aguinaga : OFBiz does speak Spanish now :o)
Thanks for your great work Rodrigo

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434047 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 13:53:14 +00:00
Jacques Le Roux 4132a6e5cd git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@434036 13f79535-47bb-0310-9956-ffa450edef68 2006-08-23 13:19:58 +00:00
Jacques Le Roux d74d2faaec Add *_es.properties from Rodrigo Aguinaga (see Apache Jira OFBIZ-157)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@432188 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 09:21:27 +00:00
David E. Jones 4540e40d2a Separated applications and framework transforms into separate try/catch in case the apps aren't present
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431018 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:38:49 +00:00
David E. Jones c177531b50 Added some handy methods to StringUtil for padding number strings and adding a number to a number string
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430253 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:19:05 +00:00
Jacopo Cappellato 358e81d2ca tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429337 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:26:07 +00:00
Jacopo Cappellato b1ee07d69a removeSpaces method was indeed removing digits.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429334 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:23:03 +00:00
Jacopo Cappellato adfc40c71d tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429265 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 07:27:27 +00:00
David E. Jones bea65ea45b Addressed some issues with i18n stuff and comparisons, type conversions; for numbers spaces are removed before parsing; for comparing with constants the en locale is assumed, ie the right value or value2 is mean to be a constant (we might have to do something with expanded strings here, but there string expansion should also generally expand numbers in the system or en locale; may still be an issue there, but the FlexibleStringExpander does a toString to this should be fine); this should fix Apahce Jira OFBIZ-133 and OFBIZ-136
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429249 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:11:08 +00:00
Jacques Le Roux a6f48576ab Debug.logVerbose instead of Debug.logInfo in JavaMailContainer.java
Property name="mail.debug" to false in ofbiz-containers.xml
This close Apache OFBIZ-24



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428656 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 08:17:12 +00:00
Jacques Le Roux cfe3a85d94 To close this chapter of dynamic modification of xpos.properties (needed by XUI i18n mechanism) and mostly avoiding svn notifications I suppressed the $Id let in the ASL2 header written by UtilProperties.java.
But because java.util.Properties.store (called by UtilProperties.java to write in xpos.properties) always writes a date/time after the header there is always a difference between repository and working copy files.
So I decided to svn:ignore xpos.properties in its directory (applications/pos/config), hoping this will not bring problems in future...



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428292 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 09:47:18 +00:00
Jacques Le Roux e89160d370 Applying the Apache CTR policy I commit this change (dynamic ASL2 in xpos.properties) to close old Jira OFBIZ-884
If anybody think that this is not to be done, please feel free to revert the file.
Thanks

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427570 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 13:15:42 +00:00