Commit Graph
26 Commits
Author SHA1 Message Date
Suraj Khurana c4c6fd5712 Improved: Arranged content UI labels in alphabetic order.
(OFBIZ-7211)
Thanks Shivangi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1840633 13f79535-47bb-0310-9956-ffa450edef68
2018-09-12 08:24:47 +00:00
Gil Portenseigne 9fbb3765e4 Implemented : File transfer management with communicationEvent and new contactMech FTP_ADDRESS
(OFBIZ-10245)

This commit introduce a new way to manage file transfer in OFBiz.
Inspired by mailing communication event management, a new communicationEventTypeId is created ('FILE_TRANSFER_COMM').

Such commEvent with classics : partyIdFrom/partyIdTo/contactMechIdTo/entryDate etc. are analysed by a job (like sendEmailDated), to send associated contents to a configured FTP/SFTP/FTPS server. If failure happens, it is catched and stored in communicationEvent, waiting for a new try.

For this purpose :

A new contactMechTypeId is introduced (FtpAddress), with its corresponding table. This contactMech store needed information for basic user/password authentication (server url and protocol, port, username, password, etc.)
A new service sendFileTransferDated that will look for pending file transfer and call following service.
A new service sendCommEventAsFtp that take a selected commEvent, check its structure and manage its status after trying the associated content file transfers.
A new service sendContentToFtp, that take a content and transfer it to a given FtpAddress.
A seca createCommEventFromFtpTransfer on sendContentToFtp to manage plural content file transfer, creating children communicationEvent to follow each content transfer separately (only for several content transfers).
A new Interface FtpClientInterface, with the 3 implementations of FTP, FTPS (To Implement), SFTP clients to manage Ftp connection and transfer.
A new property file to enable and manage redirection for testing purpose.

With this implementation, creating a communicationEvent, with a FtpAddress contactMechIdTo, and sendFileTransferDated job planned, the file is transfered to the ftp : communication event status set to COM_COMPLETE, if error occured the communication event status is set to COM_BOUNCED with error message on communicationEvent note.

Thanks Rishi for your feedbacks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831867 13f79535-47bb-0310-9956-ffa450edef68
2018-05-18 15:53:35 +00:00
Ashish Vijaywargiya 1ce72c550d Improved: OFBIZ-7471: Improve all the service level error messages for missing required field for content component.(OFBIZ-8713)
Thanks Jagpreet and Shikha for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1802667 13f79535-47bb-0310-9956-ffa450edef68
2017-07-22 09:59:31 +00:00
Deepak Dixit 333d8e65ce Fixed: Set required parameter as option false at service definition level.
(OFBIZ-8358)
Thanks Avnindra Sharma and Pawan Verma for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768256 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 17:33:42 +00:00
Deepak Dixit a6d940fa4d (OFBIZ-7987) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in content component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759077 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 11:09:48 +00:00
Jacques Le Roux 3680565ec0 A patch from Nameet Jain for "CMS throws error on clicking Find button" https://issues.apache.org/jira/browse/OFBIZ-7104
Steps to regenerate
1. Open the content app
2.  Click the CMS menu or use the link 
       https://localhost:8443/content/control/CMSContentFind
3. Click on Find submenu or use link
      https://localhost:8443/content/control/AdminSearch

The error is due to missing content index. We can improve the error message to guide user to index the content first. ContentErrorUiLabels.xml

jleroux: I just moved the label to be sorted right and added a French one

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747349 13f79535-47bb-0310-9956-ffa450edef68
2016-06-08 05:10:30 +00:00
Shi Jinghai 85bed69778 Refs #6518.
Translated new labels in trunk version into zh locale (Simplified Chinese).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 07:10:41 +00:00
Jacques Le Roux b8ca5543c9 Changes in all labels files: <value xml:lang="(.*)_(.*)"> to <value xml:lang="$1-$2">
Changes also listLocales.ftl to show dashes rather than underscores

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650880 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 09:59:32 +00:00
Adrian Crum 91feff5f51 Updated the UI label files so they reference a schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1649666 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 21:24:18 +00:00
Ashish Vijaywargiya ed26dd4dc4 Applied patch from jira issue OFBIZ-4946 - Getting error when uploading a file after creating a data resource.
Thanks Ashish Ambulkar for creating the issue. Thanks Arun, Jacques for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646984 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:22:50 +00:00
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 b46c7a2c06 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Got an issue merging GeoData_JP.xml with Subclipse, using Toirtoise solved it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00
Jacques Le Roux 4f9f568dc5 A patch from Shi Jingha https://issues.apache.org/jira/browse/OFBIZ-4352
Chinese localizations (zh) for trunk (and 11.04). There are about 2700 labels translated.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1203362 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 20:54:54 +00:00
Erwan de Ferrieres 62c76c8942 A patch from Luís Alfredo Harriss Maranesi - OFBIZ-4537 - Portuguese translation for Content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1195860 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 07:50:51 +00:00
Hans Bakker 37fac38c97 add a button to content to (re) generate the keywords for all content. The whole keyword implementation was done by Antwebsystems employee Tom
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1130890 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 03:05:23 +00:00
Jacques Le Roux 66c5dd10a0 A patch from Dukian "Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup" (https://issues.apache.org/jira/browse/OFBIZ-4031) - OFBIZ-4031
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039574 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 21:56:14 +00:00
Jacques Le Roux 17fc22e958 A patch from André Herbst "Danish translations for ContentErrorUiLabels" (https://issues.apache.org/jira/browse/OFBIZ-3185) - OFBIZ-3185
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835105 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 22:28:42 +00:00
Jacques Le Roux 06d24f1277 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829605 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 15:25:24 +00:00
Jacques Le Roux 0a801cce2b Better French translation (we learn everyday)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768519 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 12:12:09 +00:00
Marco Risaliti fafc5b2c2c Some more cleaning on labels before using the new Label Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736818 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 22:01:58 +00:00
Jacques Le Roux 83b8887f28 French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728736 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 18:11:51 +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
Marco Risaliti ba06466bd0 Some wrong locales or duplicated locales while testing the new Label Manager.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@725466 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 22:18:58 +00:00
Jacques Le Roux 4f7da0afee A patch from Markus Studer "German translations for content module" (https://issues.apache.org/jira/browse/OFBIZ-2016) - OFBIZ-2016
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@707306 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 08:19:06 +00:00
Jacques Le Roux 42fb803a5f Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701496 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 19:18:03 +00:00
Hans Bakker 9042a72786 converted the Content Error labels and added the Thai language
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@627973 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 08:33:41 +00:00