David E. Jones
8c423bc529
Moved EntityDiagramGroupData.xml from entityext to commonext to resolve framework dependency; a few other little cleanups as well
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757639 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 02:53:31 +00:00
Hans Bakker
874ffe7c49
better error messages in request handler instead of null pointer exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757334 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 07:32:21 +00:00
David E. Jones
efcadbe25f
Small change so that if a service attribute has allow-html=any then don't canonicalize the input, ie get it straight from the request; this fixes Jira #OFBIZ-2231 and should fix other related issues, and should not open any security holes (except from trusted users, as long as services are setup correctly)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757318 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 04:50:57 +00:00
David E. Jones
2241c75865
Changed back to throw an exception when a non-body parameter is passed to a secure request that calls a service as an event; now that we have the Form Widget and form defs fixed up to handle these better it should be fine for most things, but chances are there are some links in FTL files that will still be broken and will need to be manually fixed; with this we can look forward to more issues and questions/comments on the mailing list, but this also makes it a lot more secure and pretty difficult to spoof one of these requests (will have to hack HTTPS and encrypt the body to do so)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757316 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 04:40:23 +00:00
David E. Jones
61e3ed5007
Small formatting cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757315 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 04:37:15 +00:00
David E. Jones
3c6eb0b5d3
Remove log message I left in there by accidento
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757313 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 03:51:28 +00:00
Jacques Le Roux
be11b911cb
Better French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757274 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:16:48 +00:00
Jacques Le Roux
92e3dcfdb5
Some French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757271 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 22:44:52 +00:00
Jacques Le Roux
cb9d5cb891
Some French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757169 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 11:01:48 +00:00
Adam Heath
76f0dbd7b6
Don't use ArrayUtil for helper(equals/hashCode).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757113 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 00:41:16 +00:00
Adam Heath
882cec2f3d
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757082 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:28 +00:00
Adam Heath
b8c6f6efad
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757081 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:25 +00:00
Adam Heath
19a57dfd3d
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757080 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:18 +00:00
Adam Heath
fcaca96e34
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757079 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:15 +00:00
Adam Heath
f08c8a99e0
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757078 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:08 +00:00
Adam Heath
4161d4e2bf
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757077 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:24:58 +00:00
Adam Heath
3cd2ee4be6
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757076 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:24:43 +00:00
Adam Heath
6954dfa49f
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757075 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:24:37 +00:00
Adam Heath
f8f895bc32
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757074 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:24:13 +00:00
Adam Heath
856ab123a8
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757073 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:23:48 +00:00
Adam Heath
f1edea445c
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757072 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:23:43 +00:00
Adam Heath
50e4e82157
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757071 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:23:40 +00:00
Adam Heath
c43fd04b17
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757070 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:23:34 +00:00
Adam Heath
a941692516
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757069 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:23:25 +00:00
Adam Heath
2548e40d11
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757068 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:23:02 +00:00
Adam Heath
1d0b236799
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757067 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:22:57 +00:00
Adam Heath
cc09b38956
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757066 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:22:53 +00:00
Adam Heath
99cc621f3b
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757065 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:22:45 +00:00
Adam Heath
819ddfc4b1
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757046 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 22:46:22 +00:00
Adam Heath
9069eca9d7
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757045 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 22:45:20 +00:00
Adam Heath
64b951e776
Remove entitygroup.xml, no longer needed.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757016 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 21:00:46 +00:00
Adam Heath
162bfc9a01
Re-enable webslinger after fixing it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757014 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 20:54:19 +00:00
Adam Heath
4a2e685627
This got missed when I reworked the code separation upstream. Mea
...
culpa :(
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757011 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 20:51:23 +00:00
David E. Jones
3fa7eb414d
A few minimal changes to disable webslinger build and container load so that we can build and run and everything other than webslinger will work; once Adam has identified the problem and can get it fixed this change should be reverted so that it is again building and loading by default
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756990 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 19:09:08 +00:00
Adam Heath
4435ffde64
Upgrade to newer version. Works on java 1.5 now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756754 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 20:50:19 +00:00
Jacopo Cappellato
ceb610498a
This is a work in progress for a refactoring of the various screen and form widget renderers; the new renderer will create output by calling Fremarker macros defined in external (configurable) files; the work is still not complete, and for this reason it is not enabled yet. Part of task OFBIZ-1235
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756369 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 08:21:11 +00:00
Jacques Le Roux
d2c70f7435
A patch from Vikas Mayur "New labels introduced in common component, part of OFBIZ-2224" https://issues.apache.org/jira/browse/OFBIZ-2245
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756365 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 07:58:57 +00:00
Hans Bakker
03e3014267
remove reference to non existing file
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@756339 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 06:27:01 +00:00
Jacques Le Roux
29315e3798
all components
...
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
using <service name=(.*)engine="simple"(.*)location="org/ofbiz => <service name=$1engine="simple"$2location="component://{componentName}/script/org/ofbiz
with {componentName} done by hand
Also for bsh and groovy (services_test in copmmon). There is no longer any location="org/ofbiz in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755977 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 12:50:51 +00:00
Jacques Le Roux
274ee4287e
entityext component
...
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755947 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:54:08 +00:00
Jacques Le Roux
4f2463ec57
bi and common components
...
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755943 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:50:32 +00:00
Jacques Le Roux
0e0519e802
All tabs to 4 spaces in *.groovy, *.java, *.xml
...
Done with Eclipse S/R "\t"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755696 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:43:49 +00:00
David E. Jones
c55d1d2fc2
Changed to support loading with component://, based on patch from Ashish in OFBIZ-2244
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755618 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 15:36:54 +00:00
Jacques Le Roux
a94026b21b
Some French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755504 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 08:27:39 +00:00
Jacques Le Roux
3dd56b670a
Marco's LabelsReferences8.patch : "New tool to get labels information." ( https://issues.apache.org/jira/browse/OFBIZ-2070 ) - OFBIZ-2070
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755394 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:01:43 +00:00
David E. Jones
d1d6b46ab8
Added auto option for link-type that will figure out if a hidden-form is needed or not; the hidden-form option will only work for intra-app links that refer to a request that calls an event; changed the ProductForms hyperlink defs to not specify a link-type any more and just use the auto; note that for targets with parameters inline in the URL and not in the parameter sub-element the parameters will still be in the form action and not in hidden fields, so those need to be changed for this to be effective
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755377 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 20:05:34 +00:00
Si Chen
b63fc30e8c
OFBIZ-1266 patch from Jeremy Wickersheimer to fix issue with IN FALSE on some queries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755320 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 17:00:38 +00:00
David E. Jones
34f9e0a0f6
Added link-type=hidden-form attribute and parameter sub-element to the menu and screen widget link elements; some refactoring and cleanup to avoid too much code redundancy in this (though there is certainly still quite a bit here); changes the MyPortalMenus.xml#CommSubTabBar to use this since it is an example reported by Bilgin; WARNING: I don't have a good test case for this so testing from Bilgin or I guess Hans would be very appreciated
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755022 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 22:12:30 +00:00
David E. Jones
2fb6b549cc
Fixed JSON event handling as described in the ml by Bilgin
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754908 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 14:48:16 +00:00
Hans Bakker
749e9412b2
small improvement on prevous captcha commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754845 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 08:46:33 +00:00