Commit Graph
129 Commits
Author SHA1 Message Date
Bruno Busco 5d5e489598 A patch from Blas Rodriguez Somoza
OFBIZ-3637 - XHTML validation errors (framework excluding widget) round 2
https://issues.apache.org/jira/browse/OFBIZ-3637

XHTML validation errors

    * Unclosed tags INPUT, IMG, BR...
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * required attributes not included (alt in img, type in style, type in script etc)
    * Uppercase tags or attributes.
    * Unencoded entities (ampersands).

Other changes:

selectall.js
line 333. ajaxAutoCompleter must work with unenconded or encoded ampersands.

EntityRefMain.ftl
line 176. <div> must be </div>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932733 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:35:07 +00:00
Adam Heath 778e079437 Remove default values from cache.properties. Since the default setting
in the file was to set soft reference to false, if some code explicitly
called create, requesting soft reference, it would be overridden by the
setting in the file.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929806 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 04:24:28 +00:00
Adam Heath 88849d4ed9 Turn off heavy axis debug logging.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929385 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 05:53:49 +00:00
Adam Heath d06217cffb Fix very slow startup times, by turning off excessive debugging. This
gave a 40% speedup in startup time on a production server.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926874 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 00:08:40 +00:00
Adam Heath 84e8e45b16 Turn off verbosity of Converters, and no longer explicitly call
Debug.verboseOn; it's not a fast path that needs to have it protected,
as this code is only called once at startup.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923101 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 07:26:10 +00:00
Hans Bakker f9e1b11bde Merge birt branch 831204:886087 and 831209:885099. A contribution by Antwebsystems employee Chattree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890175 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 04:41:28 +00:00
Adam Heath 7286ff8d28 Instrumentation with cobertura. It won't actually do anything, tho,
until cobertura-1.9.3.jar is placed into framework/base/lib.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889839 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:27:18 +00:00
Scott Gray f4c8abb56c Reverted changes to the trunk from r833294 that appear to have been intended for the birt branch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833303 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 05:22:58 +00:00
Hans Bakker 99f2b600db 1. fix framework for using jsp tag in freemarker.
2. change order building birt component to after common component in framework/build.xml file
3. specific birt container before beanshell container in framework/base/config/ofbiz-containers.xml file
4. specific loading birt component after bi component in framework/component-load.xml
5. list all birt's jar files that have Eclipse Public License - v 1.0 in LICENSE file
6. change example report's path in mail form's tooltip.
7. delete four duplicated jar files.
  - framework/birt/lib/axis.jar
  - framework/birt/lib/commons-discovery-0.2.jar
  - framework/birt/lib/axis-ant.jar
  - framework/birt/lib/commons-cli-1.0.jar

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833294 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 03:55:56 +00:00
Jacques Le Roux 21488d7924 We don't need Telnet for the POS alone
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830490 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 10:25:56 +00:00
Jacopo Cappellato 1755bb5560 Added demo truststore file to be used by client applications invoking services using the RemoteDispatcher (see for example the ExampleRemoteClient class).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829476 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 01:00:28 +00:00
Jacques Le Roux 1f46c6f5cc Now that it works OK, cleans things a bit about -pos and -both
Needs OFBiz to be build before it works (classloader)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828795 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:45:22 +00:00
Jacques Le Roux 1f9804b03b This slipped in with r825046. Thanks to Erwan who noticed it in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825057 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 08:38:35 +00:00
Jacques Le Roux 8bfd6d2c75 A patch from Erwan de FERRIERES "Translation of the OFBiz help system in French" (https://issues.apache.org/jira/browse/OFBIZ-3036) - OFBIZ-3036
Here is the beginning of the translation for the OFBiz help system in French. This is only the root page.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825046 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 07:36:33 +00:00
Jacques Le Roux 5dbe1fe524 I put a modified file in, this fix it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824967 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 22:58:19 +00:00
Jacques Le Roux a6fefdbeab When working with the POS I often need to use it in conjunction with back-end and sometimes even eCommerce.
This Windows batch file and container configurations just allow that. 
    startofbizBoth.bat loads the POS+EPR+eCommerce
    startofbizPos.bat loads only the POS
I did not care to write scripts for Linux yet because I do not have any needs.
I will certainly later if nobody has done it before...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824935 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 21:30:00 +00:00
Jacques Le Roux 73c3ef546d Anymore BSH scripts but Groovy (while struggling with something that seems related to cache in POS, still investigating, really weird...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822532 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 23:10:12 +00:00
Jacques Le Roux 1817d35d28 A patch from Deyan Tsvetanov "NamingServiceContainer binds to all network interfaces." (https://issues.apache.org/jira/browse/OFBIZ-2559) - OFBIZ-2559
org.ofbiz.base.container.NamingServiceContainer by default binds a server socket to all available network interfaces. Configuration of this container is done in
framework/base/config/ofbiz-containers.xml

<!-- load the naming (JNDI) server -->
<container name="naming-container" class="org.ofbiz.base.container.NamingServiceContainer">
<property name="port" value="1099"/>
</container>

Only the port can be configured.
Additional configuration property needs to be implemented:

<property name="host" value="0.0.0.0"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814390 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 21:49:21 +00:00
Scott Gray 25e7c97f50 Turn off the cross subdomain session valve by default, it creates too many unnecessary sessions and causes issues for other subdomain use cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803531 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:25:41 +00:00
David E. Jones a1b519b5fa Small change to allow the span tag in safe html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789233 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 06:49:44 +00:00
Jacques Le Roux 34cfcf2d60 Everybody agreed that it's simpler to use false than to explain ftrue...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783905 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 21:08:16 +00:00
Adam Heath 783130b58d Add ability for simple methods to be wrapped with a custom compiled
class.  The resource location from where the simple method was read
is encoded as the classname of the proxy.  This makes debugging
simpler to do.  This feature is turned off by default.

The wrapping code has support for setting the line number, to include
in stack traces.  However, DOM-based xml parsing doesn't record line
numbers, so it's not possible to encode that into the wrapped proxy
class.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783060 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 16:19:50 +00:00
Jacopo Cappellato 452fbe184f Misc fixes and enhancements to the Catalina cluster support.
Patch from Scott Gray and me, based and bug reports and tests from Sam Hamilton and Nico Toerl.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778560 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 05:10:57 +00:00
Scott Gray b715eb2070 Doubled the size of the log4j event buffer since I regularly suffer from discarded messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772502 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 04:54:49 +00:00
Jacques Le Roux 46038493c4 Revert r766443 commited by accident
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766446 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 11:06:54 +00:00
Jacques Le Roux 59dcd48d1b This was a commit error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766443 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 10:27:47 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
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
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
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 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 867799286a Container that prints out the test cases that are available.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750089 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 18:02:07 +00:00
Adam Heath b25c52b9b4 Should be the last of the executable removes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749178 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:18:30 +00:00
Adam Heath ec2441c8dc Remove executability from these files, that make no sense.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749176 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 04:06:50 +00:00
Jacques Le Roux c1edcce00f betterSolution.patch from Bruno Busco "Theme component should be loaded after applications component" (https://issues.apache.org/jira/browse/OFBIZ-2201) - OFBIZ-2201
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748332 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 22:15:57 +00:00
David E. Jones 6d5ced8365 Changed maxInputSize based on feedback from Al Byers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@747234 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 00:29:57 +00:00
Jacques Le Roux ded4edd6a0 A patch from Bruno Busco "Theme component should be loaded after applications component" (https://issues.apache.org/jira/browse/OFBIZ-2201) - OFBIZ-2201
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746905 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 07:27:50 +00:00
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