David E. Jones
09825430f1
Added new allow-html tag on the attribute, auto-attribute, and override elements; has 3 options: none, safe, and any; the comments in the XSD file describe what each of these do; the important thing to know is that none is the default meaning no html is allowed; if html is needed use safe and look at the antisamy-esapi.xml file to see policy details; in extreme trust cases use any where any html is allowed; note that many services need updating which should allow at least safe html, and it may take some time to discover all of those and get them handled; please send in issues and requests for service attributes that should allow safe html
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742352 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 09:34:34 +00:00
David E. Jones
ebd5c3e78f
Implemented StringModel extension and BeansWrapper extension to load it in order to encode strings for HTML use; this is only done throught the HtmlWidget class that is part of the screen widget, so won't interfere with other FTL uses; note that there is other experimental code in here for wrapping the GenericValue object for html encoding, but that option wasn't very complete so went this way instead; this option behaves better and is more transparent than that escape x as x?html option for FTL files; there are also a few cleanups of typos and things in here; note that this means we have a different Configuration object and so a different template cache, and so we have different cache settings and such; after applying this I found a few places that encoded things they shouldn't but for the most part it is pretty good; will be committing some changes in applications in a bit to resolve a couple of these issues in ecommerce; all should watch out for funny things showing up as HTML text instead of being interpreted by the browser as HTML, meaning it was encoded; in extreme cases just comment out lines 71-73 of HtmlWidget.java to turn off this encoding
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742013 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 07:40:40 +00:00
David E. Jones
8cee12a983
Added license header for ASL and note about BSD
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741755 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 22:04:40 +00:00
David E. Jones
49db5c858f
Added basic ESAPI.properties file for the owasp esapi library, based on default with the ones I don't think we'll use commented out
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741743 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 21:38:26 +00:00
Jacques Le Roux
572b7683e0
All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
David E. Jones
40981c7f0c
Added new themes directory with Bruno's bluelight theme as a first one to OOTB; this directory is like hot-deploy in that all components dropped in will be loaded, and ONLY themes should go in this directory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736892 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 02:28:49 +00:00
Jacques Le Roux
5a6d7dc969
These blocks should not have been indented
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729471 13f79535-47bb-0310-9956-ffa450edef68
2008-12-26 09:32:07 +00:00
Jacques Le Roux
3ab1cc9086
This change should not have slipped in
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729394 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 06:09:46 +00:00
Hans Bakker
a2d58dc0ca
set port values back to original default
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729391 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 03:33:55 +00:00
David E. Jones
c5c395277f
I don't know why these were changed, probably mistakenly included in a commit, so changing back to more normal defaults
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729337 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 17:32:18 +00:00
Jacques Le Roux
7613c522d0
Added a comment found in https://sourceforge.net/forum/message.php?msg_id=5879468
...
Gmail would needs IMAPs for inbounds mails to work (SSL)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729284 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 09:27:05 +00:00
Jacques Le Roux
a0b8e736d3
French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728778 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 21:15:15 +00:00
Jacques Le Roux
d5f99b443a
A modified patch from Erik Wegner "Patch for all language files (*Labels.xml) to correct language order, find duplicates or invalid entries" ( https://issues.apache.org/jira/browse/OFBIZ-2073 ) - OFBIZ-2073
...
I removed some hunks, see https://issues.apache.org/jira/browse/OFBIZ-2073?focusedCommentId=12656651#action_12656651
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726808 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 21:28:06 +00:00
Jacopo Cappellato
62a546391b
small misc cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@726147 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 23:31:30 +00:00
Adrian Crum
a6f7092892
Converted ${env...} expression syntax to ${sys:getProperty(String)}. The old syntax still works.
...
I didn't like how an expression starting with "env." was treated differently, especially since it wasn't documented anywhere.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@724851 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 19:46:44 +00:00
Jacques Le Roux
2af8a8c28d
Minerva commented out for convenience. As Oxygen reported an error, I looked for an XSD but found none.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@719719 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 21:27:01 +00:00
Scott Gray
82e9c5243f
Fix for problem that the new cross domain session cookie valve was having with localhost domains.
...
Thanks to Mridul Pathak for the patch and Andrew Zeneski for his advice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@703784 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 10:56:41 +00:00
Scott Gray
3245bb2bff
disabling the session valve for now, for some reason the browser stops storing the session cookie when domian=.localhost
...
Thanks to Jacques for the report
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701686 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 18:56:17 +00:00
Scott Gray
1a24259b66
OFBIZ-1980: CrossSubdomainSessionValve for Tomcat, allows a session cookie to be shared across multiple subdomains.
...
Thanks to Mridul Pathak for the patch, Pranay Pandey and Chirag Manocha for testing and Andrew Zeneski for guidance and review.
Note: I made one small change, switched from logInfo to logVerbose to reduce the amount of noise created in the logs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701564 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 23:08:36 +00:00
Andrew Zeneski
f42108441d
added option to disable log4j conifguration
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689210 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:36:42 +00:00
Jacques Le Roux
89cbe8b368
A patch from Markus Studer ""german translations for framework - base, minilang, service, webapp" ( https://issues.apache.org/jira/browse/OFBIZ-1878 ) - OFBIZ-1878
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676947 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 16:02:31 +00:00
Jacques Le Roux
4f4b4e5e43
Revert previous change done unintentionnaly while testing Subclipse 1.4 new interface (so far I preferred the old one...)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676279 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 08:45:11 +00:00
Jacques Le Roux
80c57126a0
New French labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676274 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 08:21:54 +00:00
Jacopo Cappellato
68653b2507
Upgrade to Jetty container version 6.1.11
...
Based on the work and patch by Joe Eckard: OFBIZ-1791
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673425 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 15:48:33 +00:00
Jacopo Cappellato
cfd0f1c0c8
Upgrade to Tomcat 6
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659490 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 10:26:46 +00:00
David E. Jones
20b7c98bb0
Added note about service def cache clearing, which works if done manually but not doing automatically because it results in reloading all service defs which is slow and causes BIG log messages
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657700 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 00:20:25 +00:00
David E. Jones
d60415c2cb
Added groovy support, implemented by Joe Eckard in jira #OFBIZ-1779; includes an example EditProductFeatures.groovy file showing somatures.groovy file showing some nice groovy syntax features, especially for Maps and Lists, though it isn't on by default yet in this commit, ie bsh still used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657645 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 21:57:07 +00:00
Hans Bakker
1ac8c10955
converted several framework language labels files to the xml format and added the Thai language
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630117 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 08:39:43 +00:00
Hans Bakker
f7ed512429
it seems that de port definition of the beanshell container is moved to the ofbiz-containers.xml file however not deleted from the rmi-containers.xml file, deleted with this revision to remove confusion
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616193 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 07:46:04 +00:00
Jacques Le Roux
bc356caaa6
From a slightly modified Chris Lombardi's patch "XUI update to x3.2rc2b" (see comments in https://issues.apache.org/jira/browse/OFBIZ-1580 ) - OFBIZ-1580
...
I will remove the old XUI jar later
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@615262 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 16:45:21 +00:00
David E. Jones
f96673b421
Based on new comments in an old issue (OFBIZ-1116) setting this to false and commenting about want; I meant to do this a few months agoout want; I meant to do this a few months ago but obviously never got around to it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@605129 13f79535-47bb-0310-9956-ffa450edef68
2007-12-18 08:17:36 +00:00
Adrian Crum
2562f6a713
Created a fop log4j logger because the root logger setting of "all" was bogging down fop rendering.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603107 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 00:57:15 +00:00
Jacques Le Roux
7c8310a68a
A slightly modified patch from Adrian Crum "Enable HTML whitespace removal through debug.properties element" ( https://issues.apache.org/jira/browse/OFBIZ-1420 ) - OFBIZ-1420
...
I finally uncommented the line widget.verbose=true in widget.properties and put an help in http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-Widgetssetting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598362 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 17:58:54 +00:00
Jacques Le Roux
0dbf1e9425
A patch from Paulo Cristo "ramework/base and framework/common translation to portuguese" ( https://issues.apache.org/jira/browse/OFBIZ-1390 ) - OFBIZ-1390
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596576 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 08:54:29 +00:00
Jacques Le Roux
b6b7c017c8
A patch from Adrian Crum "Screen widget show where code came from in html" ( https://issues.apache.org/jira/browse/OFBIZ-1318 ) - OFBIZ-1318
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594042 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 08:06:40 +00:00
Andrew Zeneski
69b57d8123
reverted last change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590266 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:51:27 +00:00
Andrew Zeneski
fef329eeaf
added code to display inventory across all facilities as well as the inventory associated with just the facility from the store
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590265 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 18:47:51 +00:00
Adam Heath
1051352f0f
Make all paths in these files relative; they no longer include
...
${ofbiz.home}. Closes:
https://issues.apache.org/jira/browse/OFBIZ-1290 .
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585525 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 14:45:26 +00:00
David E. Jones
1329c4be9c
Chagned default maxFileSize; with the sizes of our log messages we need more for the detail in many situations; thinking also it might be nice to have this save multiple files and then link to the lot or something
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562990 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:53:52 +00:00
Jacques Le Roux
174bcd8621
A patch from Shi Yusen "zh properties in progress" ( https://issues.apache.org/jira/browse/OFBIZ-617 )
...
The framework part was still waiting to be commited
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556459 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 21:40:04 +00:00
David E. Jones
0faaad7157
Updated the SSL certificate file and made it a signed one using a testing signing authority done with openssl, and the files for it are in a new cert directory so others can look at it or use it to sign other test certs, or pass the cert to other servers to add to their trusted lists
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554183 13f79535-47bb-0310-9956-ffa450edef68
2007-07-07 12:10:44 +00:00
Andrew Zeneski
134213198a
tomcat now starts with test containers for HTTP requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@547522 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 04:32:20 +00:00
Jacques Le Roux
ddf6027bda
Some french labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545715 13f79535-47bb-0310-9956-ffa450edef68
2007-06-09 09:00:03 +00:00
Jacopo Cappellato
44f5f4d1dd
Russian labels from Oleg Andreyev OFBIZ-1037
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545455 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:23:18 +00:00
Andrew Zeneski
880973970b
updated log4j configuration; disabled socket output by default (example still there); turned off blocking when the async buffer is full
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541008 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 18:19:42 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Hans Bakker
4475daa2e7
sorry, comitted the wrong version, changes in rev 537329 reverted
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537330 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 03:59:35 +00:00
Hans Bakker
690dcd3ecc
run only update balances if party found in partyAcctgPreference
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537329 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 03:49:45 +00:00
Andrew Zeneski
2dac5ba175
added new notify level to log4j - calls directly into the SMTPAppender to notify (email) specific log messages; use Debug.logNotify() to call into this; only use this for very NEED TO KNOW problems
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537276 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 20:05:04 +00:00
David E. Jones
855b5162d4
Small change for default settings so that AJP has 200 threads and HTTP/HTTPS if used will have 100 each; these are of course just defaults and are meant to go with other defaults in the system and are generally changed in production
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536646 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 20:07:54 +00:00