Adrian Crum
22273d5391
Fixed some problems with geo data, patch contributed by Deepak Dixit ( https://issues.apache.org/jira/browse/OFBIZ-4371 ).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1162693 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 09:26:52 +00:00
Hans Bakker
426d814c0c
allow the listing of all preference groups in the partymanager user preferences
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1162312 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 08:21:01 +00:00
Hans Bakker
9b17664d42
add the viewsize and viewindex parameters to the buttons on a list form to remember the paage and pagesize automatically
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160539 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 04:26:06 +00:00
Scott Gray
d54894f913
Just realized I missed sending the error message list along to the service. (It pays to review your own commits)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159971 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 12:09:47 +00:00
Scott Gray
de7bf9ddf9
Replace code with a call to ModelService.makeValid(...) which does the same thing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159969 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 12:03:43 +00:00
Jacques Le Roux
1d99d76019
Dummy service to prevent empty files and syntax error - To be removes when the 1st real service will be added there
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159080 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:25:35 +00:00
Hans Bakker
0a59303a34
remove the rest of the website definitions from seed data, the ones that are left are in the demo data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Hans Bakker
d29adab86a
add http/htttps to the request log message
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1154846 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 05:46:37 +00:00
Ashish Vijaywargiya
e7b7b6168e
Applied patch from jira issue - OFBIZ-4355. Update simple-methods.xsd (Missing "not-in" operator in condtion-expr tag).
...
Thanks Amit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1154470 13f79535-47bb-0310-9956-ffa450edef68
2011-08-06 09:32:23 +00:00
Adrian Crum
dfb1eac36f
Fixed a screen widget bug where non-existent hyperlink parameter values were rendered as "null" - https://issues.apache.org/jira/browse/OFBIZ-4358 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153752 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 04:51:19 +00:00
Jacques Le Roux
0fe66fb067
http://jakarta.apache.org/regexp/ is now deprecated in favor of java.util.regexp. I don't see any use of org.apache.regexp in OFBiz code OOTB, so removing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153682 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 21:44:52 +00:00
Sascha Rodekamp
8ea4b86713
Improvement: OFBIZ-4270 - State dropdown only finds states and does not include county information
...
Reorganized and extend the Data structure, now it is possible to store additional country postal code regex data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153402 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 09:12:31 +00:00
Hans Bakker
53de1508c4
improve the alternative seo friendly content url: some url's where not recognized
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153366 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 07:12:29 +00:00
Jacques Le Roux
458fc97948
Update the comment about default VisualTheme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153069 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 08:55:03 +00:00
Adrian Crum
752b4b5b8a
Downgraded iCal4j jar file to ver 1 RC2 because ver 1 RC3 and greater is throwing exceptions. I will look into this more later.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1151623 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 20:56:10 +00:00
Hans Bakker
154d6c534b
improved implementation of rev 1150271: only add contenturl prefix to javascript includes which do not start with http. Suggestion from Scott G.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1151030 13f79535-47bb-0310-9956-ffa450edef68
2011-07-26 09:06:31 +00:00
Hans Bakker
bc8d33eec0
xml format error corrected
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1148129 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 02:41:24 +00:00
Erwan de Ferrieres
968819599e
Forgot modification in HtmlFormRenderer.java at rev 1145293 when using a time-dropdown
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1148033 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:07:25 +00:00
Erwan de Ferrieres
82124fd25f
Changing the labels for entry date format in French
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1148023 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 19:50:54 +00:00
Jacques Le Roux
eec5799ce9
A patch from BJ Freeman "update tree widget xsd" https://issues.apache.org/jira/browse/OFBIZ-4329
...
The example were out of date and there are plenty of examples in code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1147410 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 11:54:58 +00:00
Hans Bakker
12b2e145c8
https://issues.apache.org/jira/browse/OFBIZ-4337 : HttpClient does not support UTF-8 Patch By Chatree with comments from Adrian and Scott
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1145854 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 04:10:25 +00:00
Erwan de Ferrieres
a5a3c1983f
Using the type time for a field, when input-method=time-dropdown doesn't remove the date fields. Now, only hours and minutes are visible.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1145293 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:58:26 +00:00
Jacques Le Roux
18434fafea
Better comment on the cluster properties usage
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144791 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 08:58:13 +00:00
Jacques Le Roux
79df4f2ecb
Typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144626 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 09:58:44 +00:00
Jacques Le Roux
11a8e5e54a
When it's INFO level I prefer to have names than Ids. And sorry but I don't see the point to show info like org.ofbiz.service.job.PersistedServiceJob@118dabe but I just removed this one in case it's useful to someone...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144625 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 09:57:51 +00:00
Jacques Le Roux
43aa95aaa3
Closes "SequenceUtil may generate duplicate IDs in Load Balancing mode" https://issues.apache.org/jira/browse/OFBIZ-2353
...
Pb: If OFBiz is deployed on 2 servers in Load Balancing Mode, SequenceUtil will generate duplicate IDs because synchronization is done at JVM level instead of doing it in DB.
The OFBIZ-2353 SELECT FOR UPDATE solution.patch provides a simple mean to quickly resolve this issue. I did not remove the bank loop (useless since there is a DB contention).
I created a cluster general property. But since, most of the time, when you use a cluster you use also a sole database with a delegator having distributed-cache-clear-enabled set to true, I retrieve this information to automatically use SELECT FOR UPDATE in this case
This has been tested on a cluster with JMeter. BTW I found that UserLoginHistory can throw errors because it does not use a SeqId in PK but only login+fromDate. I guess there are other cases like that but in reality it's unlikely that someone log on 2 diff machines with the same login at the same time (ms), just a JMeter side effect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 22:58:35 +00:00
Hans Bakker
59219ca106
correction on commit 1139866 which caused demo data also loaded when only ./ant run-install-seed was requested
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142967 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 10:21:57 +00:00
Hans Bakker
cb7b9a6471
currently it is pretty difficult to disable a userlogin by setting the deleted date to a date in the future and enable=N, further when disable a party tries to disable related userlogins but does not set that future date. This change will allow to nullify the deleted date so it is now clear the userlogin will never be enabled. The deleted date is still available in the last modified date.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142908 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 07:18:54 +00:00
Adrian Crum
850cec4603
Minor Ajax code improvement: The defaultViewSize widget.properties setting can be overridden in a screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142458 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 16:48:56 +00:00
Adrian Crum
1e7c1b5218
Minor Ajax code improvements:
...
1. LookupDecorator checks the value of the ajaxLookup parameter instead of checking if it exists.
2. The displayReturnField widget.properties setting can be overridden in a request.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142358 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 01:49:35 +00:00
Hans Bakker
1749a6989f
Add seo friendly url's for showing content. reorganize the same program snippets with seo friendly url for products. These content url's are demonstrated at the ecommerce frontend in the left bottom corner: Content Information
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141878 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:03:32 +00:00
Adam Heath
86d3573828
FEATURE: Load each configured catalina web context in parallel.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141318 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 23:10:01 +00:00
Adam Heath
baf66a724f
FEATURE: Parsing of secas.xml files are now done in parallel using the
...
global thread pool.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141317 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 23:09:56 +00:00
Adam Heath
835a9ae7c1
FEATURE: Parsing of eecas.xml files are now done in parallel, using the
...
global thread pool.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141316 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 23:09:50 +00:00
Adam Heath
35d2e86784
FEATURE: Parsing of service.xml files is now done in parallel, using the
...
global thread pool.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141315 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 23:09:45 +00:00
Adam Heath
7109b6c2f0
FEATURE: Do GenericHelper initialization in parallel.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141314 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 23:09:39 +00:00
Adam Heath
b98a7f111c
FEATURE: Add a global executor, to be used during config type parsing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141288 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:12:31 +00:00
Adam Heath
7c2a16d792
OPTIMIZE: Move the loading of the webapp components into the start()
...
lifecycle method, instead of init().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141287 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:12:26 +00:00
Adam Heath
af4b27e6bf
OPTIMIZE: Move all the StandardContext api calls to a separate method,
...
configureContext.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141286 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:12:20 +00:00
Adam Heath
933ca1332f
OPTIMIZE: Reorder createContext(), so that virtual host stuff happens
...
first, before the context is created/configured.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141285 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:12:15 +00:00
Adam Heath
aa692e34ef
OPTIMIZE: Rework part of createContext(), so that the host<->context
...
connection happens in one place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141284 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:12:08 +00:00
Adam Heath
bce471c3a1
FEATURE: Add some doFooTransaction variants, that allow for the
...
transaction timeout to be specified, and deprecate the old ones.
Additionally, the Callable now comes first, as that is groovy
compatible.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141283 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:12:02 +00:00
Adam Heath
4bfcf340d2
FEATURE: Reworked Callable helper methods to support wrapping/proxying, so
...
that calling code can pass the reconstructed objects directly to
Executor instances.
As a nice side effect, these classes show up in exceptions, so you can
know a bit more about the transaction nature of the call stack.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141282 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:54 +00:00
Adam Heath
27203418aa
OPTIMIZE: Don't do ecaCache merging in addEcaDefinitions, instead do it
...
once after everything it loaded.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141281 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:48 +00:00
Adam Heath
d5d86ead4d
OPTIMIZE: Don't do ecaCache merging in addEcaDefinitions, instead do it
...
once after everything it loaded.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141280 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:43 +00:00
Adam Heath
30569f1651
FEATURE: Expose several of the internal variables thru bean accessors.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141279 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:38 +00:00
Adam Heath
ee2f15f195
OPTIMIZE: Make these classes final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141278 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:32 +00:00
Adam Heath
8c90616645
OPTIMIZE: Move the group helper initialization code out of the loop and
...
into a separate method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141277 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:25 +00:00
Adam Heath
6676048162
WHITESPACE: Do a bunch of whitespace transformative operations.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141276 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:20 +00:00
Adam Heath
b0cfef6886
FIX: The generics markup of user and session identifiers was not
...
correct; someone didn't understand how generics work(if you are casting,
you are most likely doing something wrong; if you are storing Object,
you are most likely doing something wrong).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141275 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 22:11:11 +00:00