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
Hans Bakker
32450a3936
captcha not always visible...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754827 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 07:02:47 +00:00
David E. Jones
1a908b3421
Added support for the parameter sub-element and the link-type attribute to the sub-hyperlink element, though all of them seem to go to links and not to requests that call services so this isn't needed as far as I can tell so far
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754811 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 03:53:52 +00:00
Bilgin Ismet Ibryam
c3f28c69da
Moved repeating method from EventHandlers to UtilHttp class
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754795 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 23:55:19 +00:00
Jacques Le Roux
53205d825c
I forgot to check svn properties, updated
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754756 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 21:21:23 +00:00
Jacques Le Roux
24c74d318e
I forgot to check svn properties, updated
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754754 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 21:18:57 +00:00
Jacques Le Roux
292c8ff669
Better French translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754662 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 13:21:49 +00:00
Jacques Le Roux
cb89b01690
LabelsReferences6.patch from Marco : "New tool to get labels information." ( https://issues.apache.org/jira/browse/OFBIZ-2070 ) - OFBIZ-2070
...
+ 2 French translations (test), the Labels Manager is now really cool to use, thanks Marco!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754649 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 10:36:41 +00:00
Bilgin Ismet Ibryam
d5c8d3da4f
Trivial fix, reported by Bruno
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754644 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 10:15:20 +00:00
David E. Jones
205c28a30f
Finished link-type=hidden-form support for type=multi forms, using the EditFeatureGroupAppls page/form as a test case, with improvements now in place there
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754637 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 09:15:30 +00:00
David E. Jones
deb37314b9
Enhanced Form Widget hyperlink type field to support a link-type of hidden-form and to be able to put parameters in a sub-element with name/value (or from-field) pairs; used the EditProductPrices page in the catalog manager as a test case, especially for the Delete ProductPrice links; also improved the URLs there with request-redirect; this is part of the effort to make things generally more secure as parameters are passed in the body and under https will be encrypted; note that this doesn't support multi type forms yet
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754626 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 07:41:31 +00:00
Hans Bakker
7f895f07a3
move communications for a specific party back to the party component. Make use of the portlet attributes to use both for userlogin and company comms
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754604 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 02:56:28 +00:00
Adam Heath
456003d059
Fix webslinger running against java 1.5.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753474 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 23:25:08 +00:00
Adam Heath
231f647742
Typo in javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753371 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 20:01:44 +00:00
Adam Heath
1115c4f400
Fix generics warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753334 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 18:03:33 +00:00
Adam Heath
dbedb15ef2
Remove the need to have the singleton <screen> tag.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753280 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 14:17:49 +00:00
Adam Heath
4a69ab1e71
I got ahead of myself; there were more cases of broken english in
...
error messages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753241 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 13:32:59 +00:00
Adam Heath
5d5814cbf7
Make some error messages better english, and improve what they say.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753240 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 13:29:39 +00:00
Adam Heath
1f2d9f0630
Remove debug print.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753129 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 05:47:51 +00:00
Adam Heath
bacca49e49
Major new feature, showing advanced webslinger integration. Files
...
with an '.ofbiz-screen' extension can now contain a screen definition
snippet. This is a one-way integration; the screen widget can't
call back into webslinger controlled space(yet).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753127 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 05:41:16 +00:00
Adam Heath
2e4dc28293
Upgrade webslinger(servlet spec 2.5).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753126 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 05:37:48 +00:00
Adam Heath
071cf7067b
Don't print stuff to the console, it slows the page down too much.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753093 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 02:41:21 +00:00
Adam Heath
19c6b3f358
Demoing some parts of how webslinger functions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753091 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 02:29:38 +00:00
Adam Heath
9057861730
Add the appropriate configuration to allow webslinger to work at
...
runtime.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753084 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 01:18:54 +00:00
Adam Heath
b7b12f086e
Add the webslinger component to the build script and startup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753083 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 01:17:29 +00:00
Adam Heath
b844d6a60e
New webslinger component. This is being added to framework, based
...
on the desire to make use of it in a support role.
It is *not* enabled yet, not part of the build, nor used at runtime
by the server. That will come shortly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753081 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 01:12:11 +00:00
Adam Heath
c32dd093b8
Add janino, but nothing uses it yet.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753078 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 01:05:54 +00:00
Adam Heath
f8b6cee335
Upgrade to a newer commons-vfs(a snapshot, unfortunately).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753077 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 01:02:45 +00:00
Adam Heath
ab71160347
Upgrade to latest velocity release.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753064 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 23:49:00 +00:00
David E. Jones
419bd1e381
Changed tree widget code to use plain space instead of nbsp in order to work better with the encoding, and not actually show the ampersand and semicolon; thanks to Marco for pointing this out
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752806 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 08:20:54 +00:00
Hans Bakker
8cf87156b5
some improvement on the change default organization partyId
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752760 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 03:32:06 +00:00
Adrian Crum
a2b63ecabb
Fixed Webtools decorator screen problem reported by Joe Eckard - https://issues.apache.org/jira/browse/OFBIZ-2237 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752566 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 18:45:20 +00:00
Hans Bakker
bb2a666832
if there are more than one default party organization to select from, present a drop down in the header so it can easily be changed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752416 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 10:17:26 +00:00
Hans Bakker
1e1ed8fba9
move all examples from the common to the example component, edit parameters of portlet in the general managePortalPage screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752401 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 08:05:34 +00:00
David E. Jones
a4037109a8
Changed insecure parameter passing response to log warning and not throw an exception for now; it breaks too many things and we should fix those before we make this a strict policy
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752399 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 07:40:46 +00:00
David E. Jones
73813a2201
Changed validation code for when allow-html=none, which is the default, to soften up on % and & since those are caught in the canonicalize process, so now only restricting greater-than and less-than characters, which should make HTML injection impossible when combined with the canonicalization that has strict double encode checking and such on
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752397 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 07:20:48 +00:00
David E. Jones
a521969954
Changed the HTML checking to only check and never change values; if they come from a webapp they will already be canonicalized, and for services calling other services and such we don't want to do canonicalization or the like
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751990 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 06:14:15 +00:00
Jacques Le Roux
a0170de61f
I got caught by an svn ignore on this file while committing geolocation changes. Hence it was only working on my local dev instance
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751824 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 20:28:42 +00:00
David E. Jones
28e53b885c
Changed the LRUMap inside CacheLineTable to be synchronized using Collections.synchronizedMap, should resolve issues reported in Jira #OFBIZ-2186
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751619 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 08:30:14 +00:00
Jacques Le Roux
dcf4045d4f
Easier to read
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751550 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 23:24:33 +00:00
David E. Jones
fc20ee8bd7
Added comment about GET vs POST in this case; all requests that have events that call services should use POST with body parameters
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751510 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 19:48:00 +00:00
David E. Jones
6ebdc25981
Changed EventHandler interface so that the run method takes the new Event and RequestMap objects so it knows more about them; the service event handler and the service multi event handler now look at the request-map to see if the security -> https attribute is true and if it is then it will only allow encrypted body parameters to be passed to the service, or in other words it won't allow URL parameters that are not encrypted to be passed in; also changed the RequestHandler so that it will not accept http POST requests to request-map with security -> https=true; both of these changes better protect service calls from a webapp and protect better against XSRF and similar attacks since spoofing https is more difficult
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751501 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 19:14:14 +00:00