Jacques Le Roux
fcb48aa971
A modified patch from Marco Risailit " Add the possibility to filter the list of available countries from the drop down." ( https://issues.apache.org/jira/browse/OFBIZ-3192 ) - OFBIZ-3192
...
I have used StringUtil.split() and enhanced for loops instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883017 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 00:20:12 +00:00
Scott Gray
24b64728fe
Throw a ContainerException if any tests are unsuccessful during a test run and have the run-tests target fail if that is the case
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882995 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 21:20:50 +00:00
Bilgin Ismet Ibryam
338f778a57
Fixed form header links.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882959 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 18:29:45 +00:00
Bilgin Ismet Ibryam
9053ef47d1
Used raw string literal to escape ${} chars in example labels. This fixes the error reported in user list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882948 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 18:01:50 +00:00
Bruno Busco
6a4aafa0ad
Added license header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882935 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 15:57:34 +00:00
Jacques Le Roux
ff15fe93e5
A patch from Carsten Schinzer "Seed data (GEO) for Gemany contains bugs." ( https://issues.apache.org/jira/browse/OFBIZ-2759 ) - OFBIZ-2759
...
Commited in CTR mode...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882918 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 14:45:40 +00:00
Jacques Le Roux
a5eae6afcc
Add an EncryptedString format possibilities in datafile (use in Record.java, needed some changes to build in framework/build.xml and datafile/build.xml)
...
+ datafile/dtd/datafiles.xsd enhanced with some documentations, and an enumeration for the type: I used all occurrences found in Record.setString() method)
+ datafile/dtd/datafiles-catalog.xml added
+ Few generics cleaning in login/LoginServices.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882892 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 13:10:07 +00:00
Jacopo Cappellato
c55722b2e3
Reverted change I did in 882187 because Bilgin Ibryam has reported an issue with it (it is causing an error in services which require auth).
...
I will investigate more and provide a better fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882836 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21 07:28:20 +00:00
Bilgin Ismet Ibryam
6e05f75909
Made forms inside list forms with unique IDs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882794 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 23:52:31 +00:00
Bruno Busco
aee9b7b437
Moved some application labels out of the framework
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882731 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 21:50:31 +00:00
Jacopo Cappellato
6a845bf5a4
Added empty menu widget macro renderers for csv, xml, xsl-fo, text: they are require to properly render screens containing menu.
...
However they are empty and so the menu will not be rendered with this output (which should be fine).
OFBIZ-3207
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882601 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 15:26:45 +00:00
Jacques Le Roux
1f23dcaae0
A patch from Erwan de FERRIERES "Add an ant task to download the postgreSQL JDBC driver" ( https://issues.apache.org/jira/browse/OFBIZ-3232 ) - OFBIZ-3232
...
This add a simple ant to download the postgreSQL JDBC driver, to simplify the installation of a database based on this engine
Currently it works only for the last drivers available : postgresql-8.4-701.jdbc4.jar. But this may be easily adapted.
I have also added an svn ignore for postgresql-8.4-701.jdbc4.jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882502 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:06:44 +00:00
Adrian Crum
f342a9804b
Small fixup for last commit - intern() the field type name.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882243 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 18:48:30 +00:00
Adrian Crum
fdf56b40b0
Major code cleanup in ModelFieldTypeReader.java. Eliminated unused fields, made public fields protected, simplified code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882236 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 18:16:35 +00:00
Jacopo Cappellato
23a095ab67
Added two new IN parameter, internally (and automatically) set for service definitions:
...
login.username
login.password
They are already used by the authorization service ("userLogin") to authorize the user to the service call and to retrieve the userLogin object (if the user is authorized).
They can be passed to the service in the input context in place of the userLogin object: this is useful when the service is invoked from a remote system (thru SOAP etc...).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882187 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 16:06:43 +00:00
Jacques Le Roux
65601eeccd
A patch from Abdullah Shaikh "SagePay payment gateway integrated" ( https://issues.apache.org/jira/browse/OFBIZ-3180 ) - OFBIZ-3180
...
SagePay payment gateway integrated. All the gateway parameters are configurable using the Payment gateway configuration, also the transaction types that are available in sagepay are configurable.
I moved the httpclient httpcore jars to base/lib (also new jcip-annotations-1.0.jar)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882103 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 11:01:29 +00:00
Jacques Le Roux
c28207e323
A patch from Philippe Mouawad "OutOfMemory provoked by Cache overflow" ( https://issues.apache.org/jira/browse/OFBIZ-2186 ) - OFBIZ-2186
...
CacheLineTable and LRUMap do not synchronize on the same lock
* CacheLineTable synchronization use the CacheLineTable instance monitor
* LRUMap synchronization use the LRUMap instance monitor
the LRUMap (memoryTable) can be updated concurrently by 2 differents threads
* one in the CacheLineTable #put or CacheLineTable#remove
* another in the CacheLineTable#get
this leads to the corruption of the LRUMap which is not thread-safe
the CacheLineTable#get should be synchronized or the LRUMap should be replaced by a thead safe collection
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882072 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 08:25:48 +00:00
Scott Gray
b9b0a55b55
When possible log the actual test case name, makes debugging a lot easier
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882060 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 07:09:18 +00:00
Bruno Busco
e1b3275805
Moved some application labels out of the framework (more to come)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882011 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 00:10:52 +00:00
Bruno Busco
220705d2da
A slightly modified patch from Sascha Rodekamp "Drag 'n' Drop for myPortal + update prototype and script.aculo.us"
...
(https://issues.apache.org/jira/browse/OFBIZ-3190 ) - OFBIZ-3190
- I changed some tabs to spaces
- It seems to me that everything works with the script.aculo.us version that is already present in the framework; so I did not commit the script.aculo.us update since could break some other thing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881999 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 23:31:59 +00:00
Jacques Le Roux
189e7ad383
A patch from Erwan de FERRIERES "Misc. French translations" ( https://issues.apache.org/jira/browse/OFBIZ-3222 ) - OFBIZ-3222
...
Some translations for the accounting component, and for the CommonUiLabels file
I have also changed some other labels in ProductEntityLabels.xml and ProductUiLabels.xml while I was at it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881987 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 23:03:48 +00:00
Bruno Busco
57d4cb5ea9
Better Italian labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881944 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 21:34:56 +00:00
Jacques Le Roux
dd66fd9dd6
Some itemizedlists and orderedlists in Accounting Help
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881845 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 17:39:53 +00:00
Adam Heath
284eecbe8f
More space changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881683 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 06:20:15 +00:00
Adam Heath
38178273f6
Some space changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881681 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 06:13:52 +00:00
Jacques Le Roux
9f3e41d975
A patch from Bob Morley "Resolve java warnings exposed in Eclipse : framework - entity" ( https://issues.apache.org/jira/browse/OFBIZ-3107 ) - OFBIZ-3107
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881669 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 04:54:18 +00:00
Jacques Le Roux
0641f38348
A patch from André Herbst "Danish translations for CommonErrorUiLabels" ( https://issues.apache.org/jira/browse/OFBIZ-3215 ) - OFBIZ-3215
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881667 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 04:34:01 +00:00
Adam Heath
4494ee3306
Use the location, instead of the url's file path, when parsing groovy
...
class files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881659 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 03:44:06 +00:00
Adam Heath
d8c232164f
Reworked, no more unchecked warnings, nor suppressions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881653 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 02:55:59 +00:00
Adam Heath
c171e23064
Add generics markup to makeWhereClause(modelFields) parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881652 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 02:52:11 +00:00
Adam Heath
d2260d05d4
Implements all the interfaces/classes, but everything returns null
...
still.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881643 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 02:07:52 +00:00
Adrian Crum
22b83c211f
More Java object type converters.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881515 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 21:02:57 +00:00
Jacques Le Roux
834176ceaf
A patch from Philippe Mouawad "Ofbiz freeze" ( https://issues.apache.org/jira/browse/OFBIZ-2124 ) - OFBIZ-2124
...
In a certain scenario the application freezes, no more AJP connector threads are available.
After analysis the lock seems to come from very slow response time in GenericDelegator.clearAllCaches and particularily in CacheLineTable.keySet.
Furthermore, looking at org.ofbiz.base.util.cache.UtilCache, the class seems to have some synchronisation problems:
1) utilCacheTable.put calls are not synchronized
2) findCache synchronizes access to utilCacheTable while only getting an element which has big performance impact since utilCacheTable is static
3) clearExpiredFromAllCaches and clearAllCaches does not synchronize while clearCachesThatStartWith does, why ?
The patch synchronizes correctly the access to utilCacheTable and optimises findCache
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881194 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:36:35 +00:00
Adam Heath
f5009216c1
Implement parameterized value conversion.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881193 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:31:30 +00:00
Adam Heath
5875284963
And generic condition planning.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881192 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:30:46 +00:00
Adam Heath
60c960a795
Handle nested alias.fieldName, which happens when nested conditions
...
exist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881191 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:29:23 +00:00
Adam Heath
e2e43bf9e9
Move the condition parsing code to a separate class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881190 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:28:35 +00:00
Adam Heath
2e3757ffc1
Convert Planner from an interface to a class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881189 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:26:58 +00:00
Adam Heath
b3c5cb1724
Make most classes extends Atom, which implements Appender, and
...
toString().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881188 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 08:24:41 +00:00
Jacques Le Roux
ed6b4be761
A patch from André Herbst "Danish translations for CommonHelpUiLabels" ( https://issues.apache.org/jira/browse/OFBIZ-3210 ) - OFBIZ-3210
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881182 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 07:54:41 +00:00
Adam Heath
04259814de
Add a helper method, reduce, for list processing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881169 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 06:29:56 +00:00
Scott Gray
b01a50578c
Forgot to commit the uiLabel for r881139
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 03:31:07 +00:00
Scott Gray
062e85ac9e
Added a screenlet to webtool's view value screen that shows an entity xml representation of the value, might be useful if you've got some xml data files to build by hand
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881139 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 03:29:44 +00:00
Scott Gray
d79e59f640
Added java.sql.Date -> java.sql.Timestamp converter
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881045 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 23:27:19 +00:00
Adam Heath
671b47bd69
Remove some unneeded imports.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881033 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 23:07:14 +00:00
Adam Heath
6b4a696e1e
Expost various properties in a standard way.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881032 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 23:06:56 +00:00
Adam Heath
60c1f7cb09
Make some more classes final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881025 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 22:57:42 +00:00
Adrian Crum
5832bcd719
Small performance enhancement to the entity engine converter code. If a SQL->Java converter is needed, keep a reference to it in ModelFieldType.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880957 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 21:09:34 +00:00
Adam Heath
11b281c025
Bother, I should have never used the conversion framework.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880919 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 19:30:11 +00:00
Adam Heath
35edfbc498
Removed space from jar name.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@880879 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 18:00:46 +00:00