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
Jacques Le Roux
66b80767e4
A patch from Bruno Busco "WebSiteId parameter description" ( https://issues.apache.org/jira/browse/OFBIZ-2232 ) - OFBIZ-2232
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751216 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:59:46 +00:00
Bruno Busco
a36cb4dd3e
Changed WebSiteId parameter description to be more general
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Jacques Le Roux
b4d2ff078b
A patch from Stephen Rufle "WidgetWorker outputting empty image tags." ( https://issues.apache.org/jira/browse/OFBIZ-2230 ) - OFBIZ-2230
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751066 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 20:42:51 +00:00
Jacques Le Roux
f0b05c11a9
switch( => switch (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751007 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:56:24 +00:00
Jacques Le Roux
f796e230d2
catch( => catch(
...
}else => } else
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:55:43 +00:00
Jacques Le Roux
dfebb46e4b
}else{ => } else {
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751004 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:51:02 +00:00
Jacques Le Roux
ec8e04ad01
try{ => try {
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751002 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:49:18 +00:00
Jacques Le Roux
e91b1d80a2
Reverted ad David's demand but the unused update button in Product Suppliers form
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751001 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:43:18 +00:00
Jacques Le Roux
639a784790
while( => while (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:38:03 +00:00
Jacques Le Roux
fc6db9e886
if( => if (
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750997 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:36:09 +00:00
Jacques Le Roux
13a934f823
In spirit of Adam's r749341 and following http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#489
...
The idea is also that a lot of code is duplicated and then changed (copy/paste). Hence having a rightly formatted code help to keep it rightly formatted
1st (simple) step : ){ => ) { (I checked all occurrences but of course other pairs of eyeballs are welcome)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:31:13 +00:00
Jacques Le Roux
d5b5215604
A modified patch from Eric De Maulde "When a virtual product is modified, its variants aren't modified" ( https://issues.apache.org/jira/browse/OFBIZ-2228 ) - OFBIZ-2228
...
Also I removed an update link from Product suppliers lists (not fields were modifiable)
More formatting to come (but in all OFBiz, ie no only in ServiceVariantsEventHandler.java)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750878 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 12:41:38 +00:00
Hans Bakker
2e55dc96d5
move of the first portlet from myportal to the original party component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750805 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 08:17:34 +00:00
Jacques Le Roux
eff308b37a
A patch from Bruno Busco "Now the VisualTheme is changeable from the Webtools also." ( https://issues.apache.org/jira/browse/OFBIZ-2229 ) - OFBIZ-2229
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750799 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:53:21 +00:00
Jacques Le Roux
5d7d2f76ea
Typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750635 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:31:03 +00:00
Jacques Le Roux
0f121e0183
Add some informations for duplicated labels in Labels Manager
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750632 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:17:09 +00:00
David E. Jones
40fdb4076d
Fixed issue with serialization exceptions on shutdown and startup: the RequestHandler class no longer implements serializable, it was never serializable anyway because it has member fields of types ServletContext, ViewFactory, and EventFactory which are not serializable; I tried making those transient or removing them to load dynamically after a bunch of changes realized that it doesn't make sense to serialize this class anyway, it contains no useful data that a user would care about, and all of its information comes from configuration files that we would want to reload on a restart or in another system or whatever
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750572 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 20:09:53 +00:00
David E. Jones
38449e8d9b
Fixed issue (I think what Jacques was referring to) where makeMapSerializable was removing everything that wasn't a ServletContext because of bad logic; note that this causes the session attribute to not be seializable, resulting in shutdown and startup error messages, still working on that
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750560 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 19:33:46 +00:00