Commit Graph
10472 Commits
Author SHA1 Message Date
Adrian Crum a1e21d498e Final change to UtilProperties.java, based on work in https://issues.apache.org/jira/browse/OFBIZ-1485.
The ResourceBundle cache is now managed by the custom ResourceBundle class - which reduces memory used and also allows for better properties file cache clearing. Clearing the "properties.UtilPropertiesBundleCache" cache works as expected now.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607574 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 18:35:23 +00:00
Adrian Crum 7a20f41fe8 Improved Webtools logging screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607565 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 17:47:34 +00:00
Adrian Crum 35fad8baff Add ability to specify alternate webapp footer - contributed by BJ Freeman, https://issues.apache.org/jira/browse/OFBIZ-932.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607553 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 16:11:48 +00:00
Adrian Crum e841ce4734 Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607454 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 18:18:00 +00:00
Adrian Crum cdd0e8517c Improved Webtools job management screen. Patch submitted by Anil Soni - https://issues.apache.org/jira/browse/OFBIZ-1553 - with additional modifications by me.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607446 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 17:13:35 +00:00
Adrian Crum ba4c36e272 Small enhancement to main style sheet. screenlet-title-bar style now supports the <span class="head1 | head2 | head3"> elements - which the screen widgets generate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607445 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 17:03:29 +00:00
Adrian Crum 5fd21c9c37 Small enhancement to menu widget rendering to make it more compatible with other widgets. Rendering of <a> elements is suppressed if no link target is specified. This will allow the rendering of labels, captions, etc by using the <link> menu widget element without the target attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607444 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 16:43:28 +00:00
Adrian Crum bdafd3b7ff Small fixup in form widget rendering.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607322 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 20:21:15 +00:00
Adrian Crum 4b20e7adc2 Improved error handling in the FOP view handler.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607100 13f79535-47bb-0310-9956-ffa450edef68
2007-12-27 17:54:35 +00:00
Jacques Le Roux bce4f0cb55 Refactored from a Fabien Carrion's patch "Send mail through gmail with the javamail api in ofbiz" (https://issues.apache.org/jira/browse/OFBIZ-1256) - OFBIZ-1256
With the help of Chris Howe

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606789 13f79535-47bb-0310-9956-ffa450edef68
2007-12-25 13:19:29 +00:00
Jacopo Cappellato 1cbd9fe070 Added missing primary key; part of OFBIZ-495
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606439 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 09:55:16 +00:00
Adrian Crum 2b5150dad0 Oops, I forgot to remove debugging code before the last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606283 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 19:32:29 +00:00
Adrian Crum 65d64af698 User preferences feature - https://issues.apache.org/jira/browse/OFBIZ-495. This is the Java version - I'll commit the simple method version as soon as one is available.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606269 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 19:02:28 +00:00
Jacques Le Roux d10d6edda3 A patch from Joe Eckard "Adding new string utility methods to collapse characters" (https://issues.apache.org/jira/browse/OFBIZ-658) - OFBIZ-658
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606035 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 21:49:42 +00:00
Scott Gray 863e81f9d4 added selectall.js, required for calls to submitFormDisableSubmits()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605835 13f79535-47bb-0310-9956-ffa450edef68
2007-12-20 08:40:07 +00:00
Andrew Zeneski 5462f70138 updated thread list to show ttl and # of jobs processed per thread
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605372 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 00:37:58 +00:00
Andrew Zeneski 0d8ed37403 fix to the synchronization of threads being removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605371 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 00:37:28 +00:00
Adrian Crum f6bb7cb42b Clarify OFBTOOLS_VIEW permission description.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605296 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 18:58:58 +00:00
Andrew Zeneski 81dbc56019 added initial status when using the schedule() method; changed wait() to sleep() in invoker
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605290 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 18:46:02 +00:00
Andrew Zeneski 3d7be35a6e addded status to the job list display
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605278 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 18:11:35 +00:00
Andrew Zeneski e66a3cb049 updated job list UI with new link to reset a RUNNING job
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605259 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 17:13:36 +00:00
Andrew Zeneski a0ffc4e42b added new service to reset scheduled jobs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605258 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 17:12:58 +00:00
David E. Jones f96673b421 Based on new comments in an old issue (OFBIZ-1116) setting this to false and commenting about want; I meant to do this a few months agoout want; I meant to do this a few months ago but obviously never got around to it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605129 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 08:17:36 +00:00
Jacques Le Roux c264e55817 A patch from Eriks Dobelis "WSDL returns error if datatype of parameter is Long or Timestamp" (https://issues.apache.org/jira/browse/OFBIZ-1263) - OFBIZ-1263 where string is used for Timestamp for simplicity reasons.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605075 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 04:07:06 +00:00
Jacques Le Roux 728c3f4446 Replacing unused ACCOUNTING_ATX_ by ACCTG_ATX_
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604987 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 20:33:59 +00:00
Jacopo Cappellato d28cfcb26a First step in the implementation of past due date invoices: created a service that computes the due date(s) and outstanding amount(s) based on the Invoice terms; added initial support for multiple payment terms per invoice (e.g. 'pay after 30 days the 50% of the invoice, pay after 60 days the 40%, pay after 90 the 10%').
Part of issue OFBIZ-1530
Modified the getDayEnd util method to be usable in Minilang.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604922 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 16:40:35 +00:00
Hans Bakker 389359d36c another small day calculation class to be used in minilanguage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604898 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 15:24:46 +00:00
Jacques Le Roux 21fc2f91ba A patch from Fabien Carrion "To permit to have a view with jasperreports to export to excel using the poi api, or the jxls api." (https://issues.apache.org/jira/browse/OFBIZ-1250) - OFBIZ-1250
JasperReports is any longer used in OFBIz but this might be helpful in some occasions. As it changes anything (I reviewed but no tested) I prefer to commit than ignore.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604728 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 22:38:02 +00:00
Jacques Le Roux 38e0ac0aab Now by default if an user is timed out user or has blocked the POS any other user can login.
This behavior is reversible using isSameLogin parameter in new xui.properties.file
Note that this behavior is not specific to POS and could be used by any applications using XUI

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604423 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 12:56:27 +00:00
Jacopo Cappellato 88631750a8 Added missing 'List' type (taht is supported) to the 'set' operation definition to avoid validation errors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604173 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 11:43:19 +00:00
Jacques Le Roux b61b18b490 A patch from Daniel Martínez "Make user input change background colours of formulars" (https://issues.apache.org/jira/browse/OFBIZ-660) - OFBIZ-660
Note : only when the change comes from calendar or lookup. I will revert if it annoys somebody...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603893 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 11:40:07 +00:00
Marco Risaliti 4e8185593a new css class to have the same style for ftl and screen widget (Part of issue OFBIZ-1372)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603733 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 20:44:16 +00:00
Adrian Crum 5b7f4024ad Improved error handling in ScreenFopViewHandler.java. Original error handling was:
Try to render screen using fop
  If that fails, try to render error message using fop
    If that fails, throw an exception (results in blank screen)

The new error handling is:

Try to render screen using fop
  If that fails, try to render error message using HTML screen widget
    If that fails, log a debug message


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603703 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 18:51:53 +00:00
Adrian Crum b584b3549b FOP code improvements, based on https://issues.apache.org/jira/browse/OFBIZ-1414.
The Jira issue mentions rendering to temp files, but I kept that out of the commit. If we get out of memory errors in the future, it will be easy to add it back in.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603483 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 06:38:23 +00:00
Jacques Le Roux 279c6b8313 A patch from Chris Howe <<Missing "not-like" condition in Simple Methods>> (https://issues.apache.org/jira/browse/OFBIZ-1433) - OFBIZ-1433
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603152 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 06:14:23 +00:00
Adrian Crum 705d7ed4b0 Enable entity reference PDF menu item now that fop rendering speed has been fixed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603108 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 01:01:58 +00:00
Adrian Crum 2562f6a713 Created a fop log4j logger because the root logger setting of "all" was bogging down fop rendering.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603107 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 00:57:15 +00:00
Adrian Crum 24b9ab8268 Small fixups for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603059 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 21:44:30 +00:00
Adrian Crum b91ca87911 UtilProperties bug fix and enhancements.
This commit fixes the bug reported in https://issues.apache.org/jira/browse/OFBIZ-1488 and it includes a few of the improvements mentioned in https://issues.apache.org/jira/browse/OFBIZ-1485. This commit also lays the groundwork for improved properties file support in the future.

This commit contains a new xsd file - it needs to be included on the apache ofbiz website. XML properties files will generate console error messages until it is.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603024 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:04:01 +00:00
Hans Bakker 7451815b62 show number of days between timestamps and add a day to a timestamp. I realize this is perhaps not the best method, but it works. If somebody has suggestions to do it better, pleae let me now, i will change it....
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602650 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 07:58:41 +00:00
Jacques Le Roux d81e21d5e2 A patch from Fabien Carrion "Correct a problem with calendar window popup" (https://issues.apache.org/jira/browse/OFBIZ-1251) - OFBIZ-1251
Specific to Firefox and the extention Tab mix plus activated on enable single window mode.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602586 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 00:02:17 +00:00
Adrian Crum 962ab2ef79 Added new FOP templates and decorator. The new FOP decorator operates more like the screen GlobalDecorator. Parameters can be passed to templates via the layoutSettings Map, and there is an assortment of standard page size templates.
This improvement was proposed in Jira - https://issues.apache.org/jira/browse/OFBIZ-1410. Many thanks to Jacopo for his great suggestions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602516 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:25:08 +00:00
Adrian Crum b33da1edc2 Fixed problem where screen widget DTD allows multiple tags within the <html> element, but the widget code renders only one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@602515 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 17:20:14 +00:00
David E. Jones c41422d5f0 Added comments and an if to protect a call to remove just in case this method is used in the future in anything other than the JobInvoker.run method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601382 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 16:01:51 +00:00
Jacopo Cappellato af320519e0 Applied patch from Adrian Crum (OFBIZ-1422) to fix some cases where aliased entity fields were losing their description element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601072 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 20:27:19 +00:00
Adrian Crum dcf6a61c50 Improved entity reference screen - now has better field definitions. Based on discussion in https://issues.apache.org/jira/browse/OFBIZ-1425.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601056 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:40:38 +00:00
Scott Gray 463d79858f Running a simple method bombs if you don't pass in a locale.
The other option was to get the default locale if one wasn't passed in when creating the MethodContext but I don't know much about that so I took the easy road :-)
On the bright side another one of the unit tests now passes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600864 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 10:00:24 +00:00
Scott Gray ccc31cb640 Fixed invalid location
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600862 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 09:55:56 +00:00
Scott Gray 592b4a2229 Don't use getInParamNames because it returns a TreeSet which means the parameters are sorted by name rather than the order they are defined in the service def. The unit test for XML-RPC now passes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600834 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 08:35:04 +00:00
Scott Gray 212733027f getNextSeqId requires a valid entity name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600830 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 08:16:36 +00:00