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
Adrian Crum
1367a57349
Updated Example component to new XML properties files. Two languages are still in need of conversion.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600647 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 19:48:39 +00:00
Jacques Le Roux
703bafe452
Typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600355 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 18:44:18 +00:00
Jacques Le Roux
7e60f4cec9
A patch from Jeremy Wickersheimer "makeLoginUrl doesn't URL encode the strings" ( https://issues.apache.org/jira/browse/OFBIZ-1199 ) - OFBIZ-1199
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600278 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 12:58:01 +00:00
Jacques Le Roux
e56f73b1e1
Where RBE proves its usefulness (though CMSSite seems not yet used)
...
I double-checked changes in rev 600214. Just some instability when opening already open files with RBE outside of RBE and saving them without having saved files in RBE before
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600270 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 11:11:53 +00:00
Anil Patel
cf5eef5c10
moved screenxml and screentext handlers from facility controller to common-controller so that they are available in wider scoop.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600251 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 06:00:51 +00:00
David E. Jones
2a3f7fe13a
Some more backward compatibility to use getBytes if getBlob fails; gotta love JDBC
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600224 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 01:20:52 +00:00
Jacques Le Roux
828a4a3203
This fixes a problem in dropdowns using CommonGoTo (not localised). I moved CommonGoTo from eCommerce to Common because no components should rely on Ecommerce which is no really a "core application".
...
I used RBE to do the work (a breeze). There are a lot of false changes but don't worry, I checked them all (not a breeze).
There are only 2 types of false
. properties not sorted (they are all sorted now)
. properties using lowercase for UTF8 encoding
I still thing that all properties should be sorted and should be using uppercase to avoid false changes. Anyway maybe soon we will not relay anymore on property files and this kind of inconveniences will not appear anymore.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600214 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 23:39:37 +00:00
Jacopo Cappellato
2dc6bc2c7b
Disabled widget.verbose: it is breaking all the PDF reports. This is a temp fix but we will need to review this feature.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600205 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 22:37:42 +00:00
David E. Jones
0c171dd783
This is a fix for the lock wait timeout problem that was happening for large sets of orders and other high volume operations, and long-lived operations with lots of asynchronous service calls; this includes some diagnostic code to show the status of transactions in other threads when a lock wait timeout error is detected; the main fix here is a big cleanup of the concurrency handling in the JobManager and JobPoller objects, including the use of sleep instead of wait for more strict and consistent sync locking, and the use of different objects for locking different parts of that class since some are meant to be used by various other threads (like the queueNow and next methods) and others are only for the poller thread, like the run method; this also includes certain other small cleanups and improvements, like using FastList/FastMap more
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600164 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 16:50:00 +00:00
Si Chen
57497c7c7c
Print exceptions when a unit test fails.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599939 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 20:08:47 +00:00