Commit Graph
31 Commits
Author SHA1 Message Date
Deepak Dixit 47d0d09ada Improved: Remove commented code elements from ofbiz-component.xsd file.
(OFBIZ-8340)

Thanks Pierre Smits for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1770483 13f79535-47bb-0310-9956-ffa450edef68
2016-11-19 11:28:05 +00:00
Jacques Le Roux 7316ee4818 A patch from Pierre Smits for "Remove limitation regarding menu-name in ofbiz-component.xsd" https://issues.apache.org/jira/browse/OFBIZ-6667
Currently the following is in the ofbiz-component.xsd:
        <xs:attribute name="menu-name" default="main">
            <xs:simpleType>
                <xs:restriction base="xs:token">
                    <xs:enumeration value="main"/>
                    <xs:enumeration value="secondary"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>

However, this is limiting the options that can be applied generates unnecessary errors when developers opt for another methodology.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739968 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 17:56:07 +00:00
Jacques Le Roux e4a0586ff2 Gets rid of the session-cookie-accepted feature - https://issues.apache.org/jira/browse/OFBIZ-6871
Since OFBIZ-6867 is now done, it will no longer be used OOTB and anyway should not be needed because we should preferably always use sessionIds in cookies and newer have sessionsIds in URLs.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728121 13f79535-47bb-0310-9956-ffa450edef68
2016-02-02 14:10:08 +00:00
Adrian Crum 79ecbea037 Bug fix: add missing attribute to ofbiz-properties.xsd.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1649668 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 21:39:46 +00:00
Adrian Crum 63462fa908 Added a new attribute to the ofbiz-component.xml <webapp> element - access-permission. It is used to specify an explicit permission to allow access to the web application, instead of the implied permissions specified in the base-permission attribute (which causes unpredictable behavior).
Also moved web application authorization code from the Flat Grey visual theme to LoginWorker.java. This change needs to be copied to other visual themes as well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1546891 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 04:19:48 +00:00
Jacopo Cappellato 3cad56e33b Moved Jetty component from framework to specialpurpose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465283 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 18:04:11 +00:00
Adrian Crum 85d2a421a0 Updated ofbiz-properties.xsd.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1372510 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 16:58:31 +00:00
Adrian Crum fe73aed662 Small cleanup in properties schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361922 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 07:16:35 +00:00
Jacopo Cappellato 42db3b8ca8 Removed "loader" element and all supporting code that I had recently introduced and that it is no more needed now that I have completed (in rev. 1360637) the support to set loader profiles in the startup properties.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360681 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 13:50:25 +00:00
Jacopo Cappellato 7b65f2dfbc Added ability to define "loaders" for loading selectively specific containers defined in components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355460 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 16:33:22 +00:00
Jacopo Cappellato 50c2e0e089 It is now possible for a component to define new "containers" that are loaded after the ones defined in base/conf/*-containers.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1354884 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 09:31:37 +00:00
Jacques Le Roux 2da70363b5 Revert all the changes related to CommonEmptyHeader, apart base-catalog.xml and labels in CommonUiLabels.xml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1339081 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 09:27:31 +00:00
Jacques Le Roux 1c972bf684 Fixes https://issues.apache.org/jira/browse/OFBIZ-4652 "The Label Manager is wrongly overriding CommonEmptyHeader"
* Adds a keepSpace boolean to UtilXml.writeXmlDocument(), this allows to use xsl:preserve-space into UtilXml.createOutputTransformer()
* Uses it into SaveLabelsToXmlFile.saveLabelsToXmlFile()
* Adds some French labels into CommonUiLabels.xml using Labels Manager to test the new functionality 
* Adds the xml:space attribute into the valueType complexType
* Adds the ofbiz-properties.xsd schema into the base-catalog.xml

I got an issue when 1st trying to commit: 
Commit failed (details follow):
While preparing
 'D:\workspace\ofbizClean\framework\common\config\CommonUiLabels.xml' for commit
Inconsistent line ending style

So I forced the EOLs to my locale platform value (Win XP)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338831 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 19:03:26 +00:00
Jacques Le Roux 7d943cb341 A patch from Anne Jessel "Support validation of resource xml files" https://issues.apache.org/jira/browse/OFBIZ-4723
The xsd for the resource xml files is invalid. In addition, the format of the value of the xml:lang attribute in resource xml files is invalid, according to the xml standard.

The attached patch:

    provides a valid xsd
    updates UtilProperties and the Label Manager to deal with the correct formatting of the xml:lang value, while still working with the old format, following Adrian Crum's recommendation on the mailing list
    includes simple unit tests for UtilProperties to ensure it does work with both formats
    changes the Label Manager to include a reference to the new xsd, and to use the correct format of the xml:lang value, when writing a resource xml file.

Some minor code cleanups to these files.

jleroux: the base test suite was successfully run locally once UtilIOTests have been commented out (still an issue with it on Windows)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1305004 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 11:07:57 +00:00
Jacques Le Roux 0c07b6df6f Revert r1304193 for now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304737 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 09:35:09 +00:00
Jacques Le Roux 1c5a0459c3 A patch from Anne Jessel "Support validation of resource xml files" https://issues.apache.org/jira/browse/OFBIZ-4723
The xsd for the resource xml files is invalid. In addition, the format of the value of the xml:lang attribute in resource xml files is invalid, according to the xml standard.

The attached patch:

    provides a valid xsd
    updates UtilProperties and the Label Manager to deal with the correct formatting of the xml:lang value, while still working with the old format, following Adrian Crum's recommendation on the mailing list
    includes simple unit tests for UtilProperties to ensure it does work with both formats
    changes the Label Manager to include a reference to the new xsd, and to use the correct format of the xml:lang value, when writing a resource xml file.

Some minor code cleanups to these files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1304193 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 05:47:10 +00:00
Jacques Le Roux 2b97e68c4f Put a doc about this unimplemented tag. A guy in the team thought it could rely on it for data loading order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1097382 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 09:40:43 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Jacques Le Roux 48fda8a035 A patch from Brett Palmer "Adding Tomcat Catalina configuration for "privileged" applications" (https://issues.apache.org/jira/browse/OFBIZ-2945) - OFBIZ-2945
Out of the box Tomcat allows you to configure "privileged" applications by specifying the context as follows.
<Context path="/manager" debug="0" privileged="true"
   docBase="/usr/local/kinetic/tomcat6/server/webapps/manager">
</Context>

Since OFBiz is an embedded version of Tomcat it does not currently include a similar configuration for privileged applications.

The Tomcat manager application is a "privileged" application that includes utilities for monitoring JMX resources such as thread counts, connections, and any other configured JMX parameter. We use JMX with Hyperic to monitor our OFBiz servers

BTW, I used almost the same for Lambda Probe (https://issues.apache.org/jira/browse/OFBIZ-1397)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816335 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:56:36 +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 10676abb06 A patch from Michael Brohl "Configure cookie use for a module through the ofbiz-component.xml" (https://issues.apache.org/jira/browse/OFBIZ-1831) - OFBIZ-1831
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 23:02:59 +00:00
Jacopo Cappellato 4e5d5791b3 New attributes for the webapp element in the ofbiz-component.xml files: description, menu-name and position.
menu-name is used to separate the menu items in different menus, the position element che be used to sort them (alphanumerically) in the group.
There are now two menu groups: "main", for the main applications, in the top bar, and "secondary" for applications (specialized or not still 'mature'), in the footer. 
Thanks to Bilgim Ibryam for the patch OFBIZ-1714, that I have committed with a few changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640307 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 04:07:34 +00:00
Adrian Crum b91ca87911 UtilProperties bug fix and enhancements.
This commit fixes the bug reported in https://issues.apache.org/jira/browse/OFBIZ-1488 and it includes a few of the improvements mentioned in https://issues.apache.org/jira/browse/OFBIZ-1485. This commit also lays the groundwork for improved properties file support in the future.

This commit contains a new xsd file - it needs to be included on the apache ofbiz website. XML properties files will generate console error messages until it is.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603024 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:04:01 +00:00
Jacques Le Roux ae76370a04 Replace all www.ofbiz.org by ofbiz.apache.org (mostly links to dtds). Note that there are 2 void links :
http://ofbiz.apache.org/service/
http://ofbiz.apache.org/cgi-bin/http_test.pl

Those links were useless before also

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586802 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 21:17:45 +00:00
Jacopo Cappellato 989624f0f5 Applied patch from Adrian Crum (OFBIZ-1349) to remove a redundant security check (recently added to the app bar) and documentation for the base-permissions attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585879 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 06:03:06 +00:00
Andrew Zeneski a8eec804d5 added missing keystore element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532068 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 20:14:14 +00:00
Andrew Zeneski 7cbcc85cbd refactored x509 implementations; now it will use the certificate to determine the userlogin; tomcat changed to ignore cert files (just pass through) so all checking can be handled by ofbiz; login worker updated to use new method of cert checking; added isser entity to configure what issuers are allowed to sign login certs (the certificate must also be included in a trust store) new component based trust/cert stores configured in ofbiz-component.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531272 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 20:56:58 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Hans Bakker e278aa30c2 license change inserted double first record <?xml: corrected
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422606 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 02:47:21 +00:00
Jacopo Cappellato 674ac0aaae Conversion from MIT to ASL2.0 for the files of the base component.
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422417 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 09:30:14 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00