Commit Graph
49 Commits
Author SHA1 Message Date
Jacques Le Roux 0dd553ec96 A modified patch from Harsha Chadhar for "New feature to reclaim a user account - Using Security Questions" https://issues.apache.org/jira/browse/OFBIZ-4983
jleroux: the issue description is quite lengthy so I will summarise it here, please refer to the Jira issue for details.
"When a customer creates an account on eCommerce site, s/he will also need to answer a security question. This security question then can be used by the user to reclaim her/his account in case s/he forgets her/his password. If the user correctly answers the required security question while reclaiming her/his account, her/his password will be sent through email notification. This part would work in the same way as the existing functionality of email password (forget password)."

The description was actually more ambitious (several questions, possibility for users to create own questions) but AFAIK these parts have not been implemented.

Apart updating the patch which did not merge, I got 2 majors issues (and few others I will not report here) I bypassed with workarounds.

Unlike Harsha, and as I reported earlier in the issue, I never got the username (userLoginId) back when using hidden parameters in the request body (not in requestParameters, ie UtilHttp.getParameterMap(request)), nor actually any parameters. This is maybe due to my OS (Windows7 was XP before) or my email client (Outlook Express then, now Thunderbird) or even my SMTP configuration (I used my ISP SMTP server) but most probably because I did it all on my sole machine (localhost). I tried to understand what was happening to request body parameters with http://www.telerik.com/fiddler, but finally gave up because it's even more complicated when https is in the picture. So I decided to rather use parameters in the URL (Query string). It's a bit less safe, though the password is OFBiz encrypted, and should be replaced. But it's safe enough because only the user should receive this message and even if the message is sniffed during its journey it should be hard to decrypt the password!

Harsha used the SecurityExtUiLabels.xml (created by ashish at r1618415) in securityext component but there is already a SecurityextUiLabels.xml in common component. Since I use Windows OFBiz was unable to retrieve the labels from SecurityExtUiLabels.xml since I guess it looked into a SecurityextUiLabels.xml. So I renamed a SecurityExtUiLabels.xml to EmailPassword.xml.










git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716915 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 20:37:15 +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
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 f98fb17f6b Russian translations for SecurityUiLabels.xml and SecurityextUiLabels.xml.
https://issues.apache.org/jira/browse/OFBIZ-5226


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493327 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 08:14:07 +00:00
Jacques Le Roux 44b77bdd07 A patch from Leon for "Some enhancement to password change." https://issues.apache.org/jira/browse/OFBIZ-5176
1. Make "password must be different from last passwords" function work. (--// FIXME: switching to salt-based hashing breaks this history lookup below)
2. When there's error occurs, return "requirePasswordChange" instead of "error". Then, "password change" form will not be redirected to "login" form if there's any kind of "error".
3. Fix one "deprecated" findByAnd call.
4. Return the "error" message instead of "event" message when password expires.
5. Chinese translation for "password expiration alert" and "password expired" message.

jleroux: I only reviewed (no tests) but seems good to me


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1470127 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 09:00:44 +00:00
Jacques Le Roux 54ece545d9 I missed to commit security.properties with r1465185. Thanks to Leon for warning
+ French labels


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465347 13f79535-47bb-0310-9956-ffa450edef68
2013-04-07 09:08:21 +00:00
Jacques Le Roux 524aee52f9 A slightly modified patch from Sumit Pandit for "Enforce user to reset his password in a pre-defined regular interval of time." https://issues.apache.org/jira/browse/OFBIZ-5009
Reference requirement for the feature: http://markmail.org/message/sihxekwk6655t5gh#query:+page:1+mid:bcw2vva2hjxhsodq+state:results

For a user account in system, we can set password age for an additional security.
Proposed system will start suggesting to user to reset his password few days before password expiration. Then Once password expired, system will enforce him to reset his password before processing further.
Following will be control points and would be part of system configuration- 
* *Control Points -*
** Admin can enable/disable the reset password functionality.
*** -It will control by a flag in propriety file where admin can enable/disable it by setting true/false.
** Number of days in which password will expired.
*** - It will defined in propriety file so that admin can control it.
** Number of days before when password expiration alert display at user's screen.
*** - It will defined in propriety file so that admin can control it.

* *How should it processed -*
** After user logged-in, display password expiration notification message to user if his password will expire in comming days.
** After user logged-in, display change password screen, when password is expired. i.e. The difference in days since last time password updated is exceed to number of days specified in system policies. Enforce user to reset his password.

* *What will be the out-put -*
** Password is about to expire : : alert message after login.
** Password is expired : Password-Expired-Alert : alert message with reset password screen.

Following is implementation plan -

    security.properties : Provide configuration for following control points :
        Enabling / Disabling of the functionality.
        Maximum number of days within user has to change the password.
        Number of days back to password expire date, when user start getting password expiration alerts.

    Data model
        Entity name : UserLoginPasswordHistory : Existing entity.

    Business logic
        Create UserLoginPasswordHistory record when a new user is created (if configured).
        Expire and then Create UserLoginPasswordHistory record when user update existing password.
        Everytime, when user login check for password expiration. If password expired then display change password screen to user. And if password not yet expired but it is close to expire display alert message to user about its expiration.

jleroux: I just changed 
from 
if (reqToChangePwdInDays != 0) {
tp
if (reqToChangePwdInDays > 0) {

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1465185 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 04:54:14 +00:00
Jacques Le Roux e18c34f93d A patch from Shi Jinghai for "Chinese localizations (zh) for trunk" https://issues.apache.org/jira/browse/OFBIZ-5134
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446482 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 09:11:54 +00:00
Jacques Le Roux 03a62ac947 A slightly modified patch from Sumit Pandit for "Additional Validation for Password : Make password pattern driven" https://issues.apache.org/jira/browse/OFBIZ-4958
Provides an additional validation for password  with following capability to the system:

Admin can enable/disable pattern based password capability of system. Configuration will reside in security.property file.
 To enable : security.login.password.pattern.enable=true
 To disable: security.login.password.pattern.enable=false

Admin is flexible to provide his pattern string by making pattern more/less restrictive as per system requirement. Configuration will reside in security.property file.
 Example: security.login.password.pattern=^.*(?=. {5,})(?=.[a-zA-Z])(?=.[!@#$%^&*]).*$

Admin can provide custom error message string which will display to end user if wrong password is entered. Configuration will reside in security.properity file.

jleroux: I quickly handled the error message localisation for the OOTB case. It's more complicated when the pattern gets complex...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1418996 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 14:59:52 +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
Erwan de Ferrieres 901c176aa2 A patch from Nicolas Malin - OBFIZ-5032 - Complete French traduction for common component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1383340 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 10:35:57 +00:00
Jacques Le Roux 5709385ad6 Followed Scott"s suggestion and added a generic EMAIL_PASSWORD EmailTemplateSetting (used to send a new password at user request)
I finally kept also the previous way because it allow an easier 18n of at the email subject.

Still the same concern: OOTB, if the user has not set a SMPT server in general.properties for the defaultFromEmailAddress the message "A new password has been created and sent to you. Please check your Email." when actually nothing happens. But that's anyway user's responsibility

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310716 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 09:17:41 +00:00
Jacques Le Roux 2ab258f919 A patch from BREMA Dev Team "email password broken" https://issues.apache.org/jira/browse/OFBIZ-3790
There is no productStoreId in the session for an user of a backend application, and ProductStoreEmailSetting is not available. This is the reason.
However we can use default template and default sender's address from general.properties in this case.
Also removes some dead code.

jleroux: this uses  "general.properties", "defaultFromEmailAddress". So to work correctly it still needs "defaultFromEmailAddress" (default =ofbiztest@example.com), "mail.smtp.relay.host" (default =localhost) and such to be set correctly... In other words the message "A new password has been created and sent to you. Please check your Email." could even more misleading if people are not aware about setting SMTP


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1307895 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 20:35:42 +00:00
Adrian Crum b6413f40a9 Spanish translations provided by Jose F. Fernandez:
https://issues.apache.org/jira/browse/OFBIZ-4524
https://issues.apache.org/jira/browse/OFBIZ-4529
https://issues.apache.org/jira/browse/OFBIZ-4530


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1190092 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 23:37:34 +00:00
Christian Geisert e9f7f30441 Improvement of german Labels
See OFBIZ-4195
Submitted by Konstantin N.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092353 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:49:13 +00:00
Bruno Busco 1636b18950 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090829 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 16:56:47 +00:00
Bruno Busco 55bdc0c53b Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090777 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 11:20:37 +00:00
Bruno Busco e5e4b73a82 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090757 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:08:08 +00:00
Adrian Crum d8166de0da Brazilian Portuguese translation for framework/common. Patch provided by Luis Alfredo Harriss Maranesi - https://issues.apache.org/jira/browse/OFBIZ-4077.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054881 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 03:18:12 +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 d555ce6c36 Fix duplicates in labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039858 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 09:56:44 +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
Hans Bakker 158fd4aec9 Update dutch translation, a contribution by Willem Janssen: OFBIZ-3652
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931430 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 04:27:42 +00:00
David E. Jones 8e3edae07f Merged multitenant20100310 branch into the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927271 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 04:42:26 +00:00
Christian Geisert 544118daa4 German label translation
Submitted by Mirko Vogelsmeier
See OFBIZ-3518


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917550 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 14:38:13 +00:00
Erwan de Ferrieres 24a4a3a21a German translation for property loginmapprocs.password_not_equal_verfiy_password in SecurityextUiLabels was wrong - OFBIZ-3462
(https://issues.apache.org/jira/browse/OFBIZ-3462)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908907 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 10:04:42 +00:00
Erwan de Ferrieres 7fcf3165ff German uiLabels modifications from Dimitri Unruh OFBIZ-3459 (https://issues.apache.org/jira/browse/OFBIZ-3459)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908499 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 13:44:30 +00:00
Jacques Le Roux 945a99d01d Better English, thanks to Scott in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810872 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 10:30:49 +00:00
Jacques Le Roux 912fb00085 A patch from Erwan de FERRIERES "display a message when the password is changed with success" (https://issues.apache.org/jira/browse/OFBIZ-2845) - OFBIZ-2845
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@810864 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 10:18:12 +00:00
Adrian Crum c13c47f919 Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2767.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798941 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 15:14:01 +00:00
Adam Heath 28b7598273 Fix english translation(?) of login error message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789415 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 19:33:17 +00:00
Jacques Le Roux 159ca9659a A patch from Guo Weizhan "Update the Chinese password incorrect tip from "密码不争取" to "密码不正确" https://issues.apache.org/jira/browse/OFBIZ-2258
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759166 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 14:56:52 +00:00
Jacques Le Roux 5c95acc38d Thanks to Labels Manager the French translation is now complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740338 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 16:24:30 +00:00
Jacques Le Roux 7a259f221f Fixes done automatically by the Label Manager. I changed the wrong ones by hand, see https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737585 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 21:41:15 +00:00
Jacques Le Roux 5c9b8dadea Some French labels fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735042 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 16:13:46 +00:00
Jacques Le Roux 233b969df0 cleanup_labels29.patch from Marco Risaliti 'Clean up labels" (https://issues.apache.org/jira/browse/OFBIZ-1780) - OFBIZ-1780
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731602 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 15:41:39 +00:00
Jacques Le Roux 92f69abcff From a Marco Risaliti's patch "Duplicated labels on framework components" (https://issues.apache.org/jira/browse/OFBIZ-2076) - OFBIZ-2076
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728408 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 09:23:25 +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
Jacques Le Roux 1842a5e863 More consistent French translation for User Login and misc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@705926 13f79535-47bb-0310-9956-ffa450edef68
2008-10-18 21:29:17 +00:00
Adrian Crum d1e654cc5c Italian translations provided by Bruno Busco and Marco Risaliti - https://issues.apache.org/jira/browse/OFBIZ-1985.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701679 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 17:34:35 +00:00
Jacques Le Roux 838012b290 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@700907 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 20:39:39 +00:00
Christian Geisert 744f4eb1ca German translations for the framework/common
Submitted by Markus Studer
See OFBIZ-1883 (https://issues.apache.org/jira/browse/OFBIZ-1883)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678376 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 09:39:12 +00:00
Jacques Le Roux 9f5f3c9fe7 A French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670006 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 17:45:42 +00:00
Adrian Crum b06a17e6fd Added LDAP user authentication, based on work contributed by Mohamed Amine Azzi and Torsten Schlabach - https://issues.apache.org/jira/browse/OFBIZ-811.
Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669994 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 17:09:19 +00:00
Jacques Le Roux 64aae96be1 Some French labels fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662287 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 21:04:21 +00:00
Jacques Le Roux 4e079d3d6e A slihtly amended patch from Bruno Busco "Clear CommonUiLabels redundant redefinition" (https://issues.apache.org/jira/browse/OFBIZ-1691) - OFBIZ-1691
I kept the pt_PT labels when they were different from pt (not sure why : Brazilian origin for pt ?)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634210 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 10:28:35 +00:00
Hans Bakker 25a610da13 securityExt labels converted to xml and the thailanguage added
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630125 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 09:23:26 +00:00