Commit Graph
50 Commits
Author SHA1 Message Date
Jacques Le Roux 3b118d4842 An excerpt of a patch from Nick Ho for "Add/Revise Traditional Chinese (zh-TW) translations" https://issues.apache.org/jira/browse/OFBIZ-5764
added/revised zh-TW translations in the framework, applications and specialpurpose folders to have consistent, commonly-used meaningful terms in Traditional Chinese.

jleroux: from Nick Ho's patch I have extracted only the Chinese changes, w/o the proposed  dash to underscore changes
This contains notably this 14 "zh" (not "sh-TW") changes:
<value xml:lang="zh">人将由电子邮件接受一个临时密码。</value><!-- was 客户将通过电子邮件收到一个临时密码。 -->
<value xml:lang="zh">合计属于公司: </value>
<value xml:lang="zh"> 完整文本:${fullText}</value>
<value xml:lang="zh">供货商佣金百分比</value>
<value xml:lang="zh">文本大小</value>
<value xml:lang="zh">值</value>
<value xml:lang="zh">算子</value>
<value xml:lang="zh">不能转移已序列化的库存。</value>
<value xml:lang="zh">货运收据</value>
<value xml:lang="zh">获取标识为 ${productStoreShipMethId} 的产品店铺送货方法(ProductStoreShipmentMeth)时出错:${errorString}</value>
<value xml:lang="zh">中国人民币元</value>
<value xml:lang="zh">如果选择"specify other",下拉框旁边会出现文本框。参考form的drop-down元素的other-field-size属性说明</value>
<value xml:lang="zh">文本消息</value>
<value xml:lang="zh">能够收到和解析XML消息,但是BSR->NOUN(买卖关系->名词) ${bsrNoun} 和/或 BSR->VERB(买卖关系->动词) ${bsrVerb} 是空的</value>
I have no competency to judge these changes, but from previous Shi Jinghai's feedback I believe there are OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625816 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 20:44:07 +00:00
Jacques Le Roux 425ce1c003 A patch from Nick Ho for "Add/Revise Traditional Chinese (zh-TW) translations in framework" https://issues.apache.org/jira/browse/OFBIZ-5737
more added/updated translations patch files for zh-TW locale

jleroux: 
I added the label
<value xml:lang="zh_TW">服務執行程式拋出一個異常</value>
by hand
Only 1 label was not added:
<value xml:lang="zh_TW">代號</value>
Because of the fuzziness and presence of several possibilities


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621688 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 06:51:33 +00:00
Adrian Crum e41bb48e71 Added XML schema location to UI label file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1530825 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 22:59:17 +00:00
Jacques Le Roux 438fb59265 Puts a better comment in templates/web.xml
Remove useless and confusing websiteId in web.xml files

I did not remove some others, but I believe they don't make sense as they are.
Take for instance those data
<WebSite webSiteId="EBAY_STORE1" siteName="eBay Store1" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90101"/>
<WebSite webSiteId="EBAY_STORE2" siteName="eBay Store2" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90102"/>
<WebSite webSiteId="GOOGLEBASE" standardContentPrefix="http://demo.ofbiz.org" productStoreId="9000" />

Sorry but http://demo.ofbiz.org/ leads nowhere!

And do we need to keep those referring to productStoreId="9000" in web.xml files? They have not their own webapps
<WebSite webSiteId="CmsSite" siteName="CMS Web Site"/>
<WebSite webSiteId="OfbizSite" siteName="OFBiz Web Site"/>
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />

I think we should keep in web.xml files, only ecommerce/clone and webPos (uses POS store)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526686 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 21:07:10 +00:00
Hans Bakker 655c38dd6e adapt ant create component target for new security organization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374160 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 06:45:07 +00:00
Hans Bakker bd16dfb598 split up securitypermissions as seed data and securitygroups as demo data with a single exception: the creation of a super security group which has general access to the system and which is used with the 'ant create-admin-user-login' command.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Hans Bakker 14f4e5a292 reverted recent security file changes revisions: 1350847,1350843,1350840,1348534,1347908,1347213,1346264, need more investigation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Hans Bakker fff7f99081 introduced a new data-reader : 'security'
Security is now by default not loaded because not part of seed anymore this will make all component hidden and not accessible .
It is still loaded as part of the reader 'demo'

to load the security files:
./ant load-readers -Ddata-readers=security

Now it is possible to load only a selection of the security files in your hot-deploy component as follows:

<entity-resource type=data reader-name=seed loader=main location=../../framework/security/data/SecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../framework/webtools/data/WebtoolsSecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../applications/party/data/PartySecurityData.xml/>

This will enable only standard groups, the party and the webtools application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1346255 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 06:37:06 +00:00
Adrian Crum 996c27fe19 Added missing <xml> element to Tests.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1294497 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 07:19:35 +00:00
Adrian Crum eaee24fd1f Added missing DOCTYPE declarations in some web.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243422 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 07:08:03 +00:00
Hans Bakker 8e40b2e30d missing quote
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222587 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 07:03:08 +00:00
Hans Bakker 00c84e8470 new ant allows failonerror parameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222573 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 05:41:00 +00:00
Adrian Crum 4b7cd7434a Changed the screen widget boundary comment behavior per a discussion on the dev mailing list. Setting the widget.properties file widget.verbose property to false now acts like a "master switch" to turn off all widget boundary comments - it ignores all other settings. If the property is set to true, then the setting can be overridden in web.xml or in the screen context.
This commit also removes the demonstration widgetVerbose setting in the Example component's web.xml file - which caused some confusion, and it comments out the setting in the web.xml file that is used for creating new components.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172954 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 02:55:44 +00:00
Hans Bakker 1ce4f86892 change the component template to use the application decorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163944 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 08:45:39 +00:00
Jacques Le Roux 1d99d76019 Dummy service to prevent empty files and syntax error - To be removes when the 1st real service will be added there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159080 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:25:35 +00:00
Hans Bakker 0a59303a34 remove the rest of the website definitions from seed data, the ones that are left are in the demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Jacques Le Roux fc5a14414d Accurate comments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087877 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 20:07:44 +00:00
Jacques Le Roux 1c3fa1b852 Deletes all useless *.rej files generated by apply patches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087057 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:42:00 +00:00
Jacques Le Roux cb9ffa3654 Add a root.patch and allow to work correctly on Windows machines where patch.exe does not handle mixed EOLs (contrary to patch on Linux). This is due to SVN mixing EOLs when creating patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084215 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 15:24:59 +00:00
Jacques Le Roux fffeffac59 * Remove "ofbiz-" from the component name, not really used anyway
* Allow to apply/reapply patches even when there are more than 3 patches in patches directory (it can be the case when you have other patches than those created with create-ofbiz-patches)

Note: the ant patch task will not work on Windows (diff in svn put Unix EOL into patch files), because there are no way to use the --binary parameter. So to have patches working in Windows you need to change their EOL to CR+LF (Eclipse, Notepad++ or Scite can do the trick)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083087 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 21:57:27 +00:00
Jacques Le Roux be618c46fc * Fixes some issues related to anchors syntax in some docbook help files
* Adds TheMarketingApplication anchor for https://cwiki.apache.org/confluence/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073502 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 21:06:54 +00:00
Jacques Le Roux c2ea70f355 A slightly modified patch from Pierre Smits "Enhancement to create new tenants easier" (https://issues.apache.org/jira/browse/OFBIZ-3971) - OFBIZ-3971
This patch enables users to create new tenants via the ANT process.
Users can enter:
    * Tenant ID
    * Tenant Name
    * Data to load on creation of the tenant db (e.g.seed, seed-ext, demo)
    * Database Platform (Derby, MySQL, Oracle, PostgreSQL) remark: You can NOT mix platforms)
    * IP address of the database (you can add a port if needed)
    * User-ID for the database
    * Password for the database

Based on the data provided the process will:
    * Create a new row in the Tenant table
    * Create a new row in the TenantDataSource table
    * Create new tables in the new tenant database and fill with initial data (seed, seed-ext, demo)
    * Create a new admin id for the tenant (based on Tenant ID followed by '-admin')
    * Set the initial password for the tenant admin id (initial 'ofbiz', must be changed on first login)

This patch has been tested against: Derby, MySQL, PostgreSQL. This has not been tested against other db platforms.

Prior to running the ANT task the user
    * has to modify 'general.properties' in framework/common/config to reflect multi tenancy (multitenant=Y)
    * has to have appropriate db driver(s) in place
    * has to create the databases first in function of the entityengine.xml datasource-names (not for Derby, applicable for MySQL and PostgreSQL.)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065144 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 23:35:01 +00:00
Bruno Busco 29f5073de7 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052890 13f79535-47bb-0310-9956-ffa450edef68
2010-12-26 14:28:16 +00:00
Jacques Le Roux 5df7d81104 A patch from BJ Freeman "Add help document (docbook) support to the create-component ant target" (https://issues.apache.org/jira/browse/OFBIZ-4070) - OFBIZ-4070
Creates the data/helpdata and document directories. Copy templates for each folder.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1051477 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 12:49:41 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux 47b0020afe A patch from Ankit Jain, removes useless redundant <request-map uri="authview">, it's now in the common controller(https://issues.apache.org/jira/browse/OFBIZ-3469) - OFBIZ-3469
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949142 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:30:46 +00:00
Jacques Le Roux 6193dd4e53 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux eccde35aa0 Do we really need to have an <owner> element there? At least OOTB it's always empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949100 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:38:25 +00:00
Vikas Mayur 2d9fd7e6fb Removed unwanted newlines from the templates files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937961 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 08:22:57 +00:00
Scott Gray af7ea98d9c Removed a few extra spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929281 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:59:21 +00:00
Jacopo Cappellato 1a3a99c892 Improved template code for menu setup; thanks to Chris Snow for the patch (OFBIZ-3539)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@919425 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 14:09:40 +00:00
Ashish Vijaywargiya 5cbccfe029 Applied patch from jira issue OFBIZ-3509 - create-component ant task creates web.xml with hardcoded values of "example" for webSiteId and localDispatcherName.
Thanks Chris for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916243 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 10:55:02 +00:00
Adam Heath 18d0ceeaf9 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 56dac0bf9e Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath 47b0a876ed Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Jacques Le Roux 7befd1d25e no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Scott Gray 14baa87a47 Applied patch from Ashish Vijaywargiya, fixes a couple build issues with components created using ant create-component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804070 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 02:54:30 +00:00
Adrian Crum 84cfaf081b More Chinese translations, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2767.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799372 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 17:13:11 +00:00
Scott Gray e683a64fc5 Fix suite-name as reported by Vikas on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772498 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 04:37:31 +00:00
Scott Gray 94618cdef3 Add a template for test definitions to the create-component ant target
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772481 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:54:43 +00:00
Scott Gray 93ed76bce9 Restored the forms template to its previous state and added a readme file describing the purpose of the templates directory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772468 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 23:58:35 +00:00
Hans Bakker 52d2a69415 empty template file put back, and added message and header, thanks Vikas for reporting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771252 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 09:16:38 +00:00
Hans Bakker 71c58d0756 portal page generated menu changed other menus when cache was enabled, tabs for spaces and deleted empty forms file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771035 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 07:38:25 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +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
Jacopo Cappellato 35fd6a6814 ant targets to create/apply/revert patches for the framework, applications and specialpurpose: they are available in the ant script for auto generated hot-deploy components.
OFBIZ-2271
Thanks to Seema Tiwari & Ritika Somani for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762757 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 13:03:22 +00:00
Bilgin Ismet Ibryam 7e7c1f375a Added an optional "name" attribute to event element in controller.xml This attribute is used only (also required) in events inside
firstvisit, after-login, before-logout, preprocessor and postprocessor elements. Events with same name will be overridden and only the last one will be executed. Overriding works also in cases when a controller.xml includes other controller files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761220 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:47:48 +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
Jacopo Cappellato 6f152e26ef Improved create-admin-user-login target.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741855 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 08:43:39 +00:00
Jacopo Cappellato 83ad2d2294 Ant target for the automatic creation of an ofbiz component in the hot-deploy folder.
ant create-component

You will be prompted for:
1) component name (e.g. "test")
2) component resource name (e.g. "Test")
3) webapp name (e.g. "testapp")
4) base permission (e.g. "TEST")

and the target will create the component in the hot-deploy folder.
Restart ofbiz and the new application will be up and running.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741605 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 16:04:05 +00:00