Commit Graph
2896 Commits
Author SHA1 Message Date
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
Jacques Le Roux 3cc6ac6f63 Some missing French translations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751443 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 15:13:15 +00:00
Jacques Le Roux df82381e83 get rid of deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751416 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 13:21:00 +00:00
Jacques Le Roux c3318ad613 CommonEmptyHeader is empty by definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751414 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 13:14:59 +00:00
Hans Bakker 883ff808a1 and a comment from adrian and adam
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751348 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 01:44:24 +00:00
Hans Bakker 3279dfa17a remove spaces around the '=' sign in the html src statement...pointed to by Jacques...(no problem if you correct it :-) )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751346 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 01:18:38 +00:00
Bruno Busco 859b9f2f14 Completed the WebToolsMessageXX and WebToolsNoteXX labels update to OFBiz naming standard pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751340 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 23:59:21 +00:00
Bruno Busco bbdb83947c Applyed the standard naming pattern to a first set of WebToolsMessageXX labels.
All strings that are splitted into multiple labels but always rendered concatenated have been replaced with a single label.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751308 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 19:22:00 +00:00
Jacques Le Roux bc2e47e5ca Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751257 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 12:51:29 +00:00
Jacques Le Roux fe92b4d177 a "if(" has slipped in r751066
Please take care of 
http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#682 
http://java.sun.com/docs/codeconv/html/CodeConventions.doc9.html#331
http://java.sun.com/docs/codeconv/html/CodeConventions.doc6.html#430
(actually of all these conventions)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751220 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 08:12:32 +00:00