summaryrefslogtreecommitdiff
path: root/frontend/gamma/js/Clipperz
authorGiulio Cesare Solaroli <giulio.cesare@clipperz.com>2013-08-30 15:56:53 (UTC)
committer Giulio Cesare Solaroli <giulio.cesare@clipperz.com>2013-08-30 21:23:42 (UTC)
commit20bea94ab6b91c85b171dcf86baba0a64169d508 (patch) (side-by-side diff)
tree6e38e91498dcdb861620eba1e237d1026fe79cc5 /frontend/gamma/js/Clipperz
parentbde3c7b98523112ade9c5bbf7390c4ecb494cd2e (diff)
downloadclipperz-20bea94ab6b91c85b171dcf86baba0a64169d508.zip
clipperz-20bea94ab6b91c85b171dcf86baba0a64169d508.tar.gz
clipperz-20bea94ab6b91c85b171dcf86baba0a64169d508.tar.bz2
First release of /delta version
Diffstat (limited to 'frontend/gamma/js/Clipperz') (more/less context) (ignore whitespace changes)
-rw-r--r--frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js2
-rw-r--r--frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js2
-rw-r--r--frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js b/frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js
index 85d55c0..72460ba 100644
--- a/frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js
+++ b/frontend/gamma/js/Clipperz/PM/Strings/Strings_en-US.js
@@ -1,349 +1,349 @@
/*
Copyright 2008-2013 Clipperz Srl
This file is part of Clipperz, the online password manager.
For further information about its features and functionalities please
refer to http://www.clipperz.com.
* Clipperz is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
* Clipperz is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public
License along with Clipperz. If not, see http://www.gnu.org/licenses/.
*/
//=============================================================================
//
// E N G L I S H A M E R I C A N ( en_US )
//
//=============================================================================
Clipperz.PM.Strings.Languages['en-us'] = {
/*
// Login page - description
'clipperzServiceDescription': "\
<!-- FIX CSS DONE --> \
<h2>Keep it to yourself!</h2>\
<ul>\
<li>\
<h3>Clipperz is:</h3>\
<ul>\
<li><p>a secure and simple password manager</p></li>\
<li><p>an effective single sign-on solution</p></li>\
<li><p>a digital vault for your personal data</p></li>\
</ul>\
</li>\
<li>\
<h3>With Clipperz you can:</h3>\
<ul>\
<li><p>store and manage your passwords and online credentials</p></li>\
<li><p>login to your web services without entering any username or password</p></li>\
<li><p>protect all your sensitive data: codes for burglar alarms, PINs, credit card numbers, …</p></li>\
<li><p>share secrets with family members and associates (coming soon)</p></li>\
</ul>\
</li>\
<li>\
<h3>Clipperz benefits:</h3>\
<ul>\
<li><p>free and completely anonymous</p></li>\
<li><p>access it any time from any computer</p></li>\
<li><p>no software to download and nothing to install</p></li>\
<li><p>avoid keeping secrets on your PC or on paper</p></li>\
</ul>\
</li>\
<li>\
<h3>Clipperz security:</h3>\
<ul>\
<li><p>your secrets are locally encrypted by your browser before being uploaded to Clipperz</p></li>\
<li><p>the encryption key is a passphrase known only to you</p></li>\
<li><p>Clipperz hosts your sensitive data in encrypted form and could never actually access the data in its plain form</p></li>\
<li><p>Clipperz is built upon standard encryption schemes, nothing fancies or homemade</p></li>\
<li><p>you can review the source code anytime you like, but you need to know nothing about cryptography to be an happy user!</p></li>\
</ul>\
</li>\
<li>\
<a href=\"http://www.clipperz.com\" target=\"_blank\">Learn more</a>\
</li>\
</ul>",
'loginFormTitle': "login with your Clipperz account",
'loginFormUsernameLabel': "username",
'loginFormPassphraseLabel': "passphrase",
'loginFormDontHaveAnAccountLabel': "don\'t have an account?",
'loginFormCreateOneLabel': "create one",
'loginFormForgotYourCredentialsLabel': "forgot your credentials?",
'loginFormAarghThatsBadLabel': "aargh! that\'s bad!",
'loginFormAfraidOfMaliciousScriptsLabel': "afraid of malicious scripts?",
'loginFormVerifyTheCodeLabel': "verify the code",
'loginFormButtonLabel': "Login",
'loginFormOneTimePasswordCheckboxLabel': "use a one-time passphrase",
'loginFormOneTimePasswordCheckboxDescription': "",
// Login page - language selection
'loginPanelSwithLanguageDescription': "<h5>Switch to your preferred language</h5>",
// Login page - browser compatibility
'browserCompatibilityDescription': "<p>Have a better and safer Clipperz experience with Firefox. However Clipperz works just fine also with Opera, Safari and MS Internet Explorer!</p>",
// Login with OTP - message panel
'OTPloginMessagePanelInitialTitle': "Logging in using a one-time passphrase",
'OTPloginMessagePanelInitialText': "Sending OTP credentials …",
'OTPloginMessagePanelLoadingTitle': "Logging in using a one-time passphrase",
'OTPloginMessagePanelLoadingText': "Fetching encrypted authentication data from the server …",
'OTPloginMessagePanelProcessingTitle': "Logging in using a one-time passphrase",
'OTPloginMessagePanelProcessingText': "Local decryption of authentication data",
// Regular login - message panel
'loginMessagePanelInitialTitle': "Logging in …",
'loginMessagePanelInitialText': "---",
'loginMessagePanelInitialButtonLabel': "Cancel",
'loginMessagePanelConnectedTitle': "Connected",
'loginMessagePanelConnectedText': "Done",
'loginMessagePanelFailureTitle': "Error",
'loginMessagePanelFailureText': "Login failed",
'loginMessagePanelFailureButtonLabel': "Close",
// Regular login - message panel - connection
'connectionLoginSendingCredentialsMessageTitle': "Verifying credentials",
'connectionLoginSendingCredentialsMessageText': "Sending credentials",
'connectionLoginCredentialsVerificationMessageTitle': "Verifying credentials",
'connectionLoginCredentialsVerificationMessageText': "Performing SRP authentication",
'connectionLoginDoneMessageTitle': "Verifying credentials",
'connectionLoginDoneMessageText': "Connected",
// Regular login - message panel - user
'userLoginPanelUpgradingUserCredentialsMessageTitle': "Verifying credentials",
'userLoginPanelUpgradingUserCredentialsMessageText': "Upgrading your credentials to a new authentication schema",
'userLoginPanelConnectedMessageTitle': "User authenticated",
'userLoginPanelConnectedMessageText': "Successfully logged in",
'userLoginPanelTryingAnOlderConnectionSchemaMessageTitle': "Verifying credentials",
'userLoginPanelTryingAnOlderConnectionSchemaMessageText': "Trying an older authentication schema",
'userLoginPanelLoadingUserDataMessageTitle': "User authenticated",
'userLoginPanelLoadingUserDataMessageText': "Downloading encrypted card headers from Clipperz",
'userLoginPanelDecryptingUserDataMessageTitle': "User authenticated",
'userLoginPanelDecryptingUserDataMessageText': "Local decryption of card headers",
'userLoginPanelDecryptingUserStatisticsMessageTitle': "User authenticated",
'userLoginPanelDecryptingUserStatisticsMessageText': "Local decryption of usage statistics",
// Registration page - splash alert
'splashAlertTitle': "Welcome to Clipperz!",
'splashAlertText': "\
<!-- FIX CSS DONE! --> \
<p>Some security advice</p>\
<ul>\
<li><p>Storing your data at Clipperz is as secure as the passphrase you choose to protect them. Nobody can access them unless they know your passphrase.</p></li>\
<li><p>If you are going to use Clipperz for safeguarding sensitive and critical information please make sure to use a strong passphrase. The longer the better!</p></li>\
<li><p>Clipperz will not be able to recover a lost passphrase!</p></li>\
</ul>\
<p>For any further information, please refer to <a href=\"http://www.clipperz.com\" target=\"_blank\">Clipperz</a> website.</p>",
'splashAlertCloseButtonLabel': "Ok",
// Registration page - form
'registrationFormTitle': "create your account",
'registrationFormUsernameLabel': "username",
'registrationFormPassphraseLabel': "passphrase",
'registrationFormRetypePassphraseLabel': "re-enter passphrase",
'registrationFormSafetyCheckLabel': "I understand that Clipperz will not be able to recover a lost passphrase.",
-'registrationFormTermsOfServiceCheckLabel': "I have read and agreed to the <a href='http://www.clipperz.com/terms_of_service' target='_blank'>Terms of Service</a>.",
+'registrationFormTermsOfServiceCheckLabel': "I have read and agreed to the <a href='https://www.clipperz.com/terms_service' target='_blank'>Terms of Service</a>.",
'registrationFormDoYouAlreadyHaveAnAccountLabel': "do you already have an account?",
'registrationFormSimplyLoginLabel': "simply login",
'registrationFormButtonLabel': "Register",
// Registration page - warning messages
'registrationFormWarningMessageNotMatchingPassphrases': "Your passphrases don't match, please re-type them.",
'registrationFormWarningMessageSafetyCheckNotSelected': "Please read and check all the boxes below.",
'registrationFormWarningMessageTermsOfServiceCheckNotSelected': "You need to agree to the Terms of Service.",
// Registration page - message panel
'registrationMessagePanelInitialTitle': "Creating account …",
'registrationMessagePanelInitialText': "---",
'registrationMessagePanelInitialButtonLabel': "Cancel",
'registrationMessagePanelRegistrationDoneTitle': "Registration",
'registrationMessagePanelRegistrationDoneText': "Done",
'registrationMessagePanelFailureTitle': "Registration failed",
'registrationMessagePanelFailureButtonLabel': "Close",
// Registration page - message panel - connection
'connectionRegistrationSendingRequestMessageText': "Verifying credentials",
'connectionRegistrationSendingCredentialsMessageText': "Sending credentials",
// Registration page - splash panel
'registrationSplashPanelTitle': "Security advice",
'registrationSplashPanelDescription': "<p>These are your Clipperz credentials, take good care of them. Clipperz will never display your username and passphrase a second time!</p>",
'registrationSplashPanelUsernameLabel': "username",
'registrationSplashPanelPassphraseLabel': "passphrase",
'registrationSplashPanelShowPassphraseButtonLabel': "show passphrase",
// Header links
'donateHeaderLinkLabel': "donate",
'creditsHeaderLinkLabel': "credits",
'feedbackHeaderLinkLabel': "feedback",
'helpHeaderLinkLabel': "help",
'forumHeaderLinkLabel': "forum",
// Menu labels
'recordMenuLabel': "cards",
'accountMenuLabel': "account",
'dataMenuLabel': "data",
'contactsMenuLabel': "contacts",
'toolsMenuLabel': "tools",
'logoutMenuLabel': "logout",
'lockMenuLabel': "lock",
// Lock dialog
'lockTitle': "The account is locked",
'lockDescription': "<p>To unlock your account, please enter your passphrase.</p>",
'unlockButtonLabel': "Unlock",
// Account panel - change passphrase
'changePasswordTabLabel': "Change your passphrase",
'changePasswordTabTitle': "Change your passphrase",
'changePasswordFormUsernameLabel': "username",
'changePasswordFormOldPassphraseLabel': "old passphrase",
'changePasswordFormNewPassphraseLabel': "new passphrase",
'changePasswordFormRetypePassphraseLabel': "re-enter new passphrase",
'changePasswordFormSafetyCheckboxLabel': "I understand that Clipperz will not be able to recover a lost passphrase.",
'changePasswordFormSubmitLabel': "Change passphrase",
// Account panel - change passphrase - warning messages
'changePasswordFormWrongUsernameWarning': "Wrong username",
'changePasswordFormWrongPassphraseWarning': "Wrong passphrase",
'changePasswordFormWrongRetypePassphraseWarning': "Your passphrases don't match, please re-type them.",
'changePasswordFormSafetyCheckWarning': "Please read and check the box below.",
// Account panel - change passphrase - progress dialog
'changePasswordFormProgressDialogTitle': "Changing user credentials",
'changePasswordFormProgressDialogEmptyText': "---",
'changePasswordFormProgressDialogConnectedMessageTitle': "Connected",
'changePasswordFormProgressDialogConnectedMessageText': "Done",
'changePasswordFormProgressDialogErrorMessageTitle': "Error",
'changePasswordFormProgressDialogErrorMessageText': "Credentials change failed!",
'changeCredentialsPanelEncryptingDataMessageTitle': "Changing your passphrase",
'changeCredentialsPanelEncryptingDataMessageText': "Local encryption of card headers",
'changeCredentialsPanelCreatingNewCredentialsMessageTitle': "Changing your passphrase",
'changeCredentialsPanelCreatingNewCredentialsMessageText': "Updating your credentials",
'changeCredentialsPanelSendingNewCredentialsToTheServerMessageTitle': "Changing your passphrase",
'changeCredentialsPanelSendingNewCredentialsToTheServerMessageText': "Uploading your encrypted credentials to Clipperz",
'changeCredentialsPanelDoneMessageTitle': "Changing your passphrase",
'changeCredentialsPanelDoneMessageText': "Done",
// Account panel - OTP
'manageOTPTabLabel': "Manage your one-time passphrases",
'manageOTPTabTitle': "Manage your one-time passphrases",
'manageOTPTabDescription': "\
<p>A one-time passphrase works like your regular passphrase, but can be used only once.</p>\
<p>If the same passphrase is used again at a later stage in a login attempt it will be rejected and the login process will fail.</p>\
<p>Immediately after a successful login, your one-time passphrase will be deleted preventing any fraudulent access.</p>\
<p>One-time passphrases are an excellent choice if one is concerned about keyloggers or spyware infections that may be collecting data from compromised machines.</p>\
<p><b>It's strongly advisable to use one-time passphrases when accessing Clipperz from public terminals, such as Internet cafes and libraries.</b></p>",
// Account panel - OTP - OTP table
'oneTimePasswordReadOnlyMessage': "\
<h6>Sorry!</h6>\
<p>You cannot manage your one-time passphrases when using the offline version of Clipperz.</p>",
'oneTimePasswordLoadingMessage': "\
<h6>Loading data</h6>\
<p>Please wait …</p>",
'oneTimePasswordNoPasswordAvailable': "\
<h6>No one-time passphrase available</h6>\
<p>Click the “New” button above to add one-time passphrases to your account.</p>",
'createNewOTPButtonLabel': "New",
'deleteOTPButtonLabel': "Delete",
'printOTPButtonLabel': "Print",
'disabledOneTimePassword_warning': "disabled",
'oneTimePasswordSelectionLink_selectLabel': "Select:",
'oneTimePasswordSelectionLink_all': "all",
'oneTimePasswordSelectionLink_none': "none",
'oneTimePasswordSelectionLink_used': "used",
'oneTimePasswordSelectionLink_unused': "unused",
//Account panel - OTP - saving new OTP dialog
'saveOTP_encryptUserDataTitle': "Saving one-time passphrase",
'saveOTP_encryptUserDataText': "Processing new OTP credentials …",
'saveOTP_encryptOTPDataTitle': "Saving one-time passphrase",
'saveOTP_encryptOTPDataText': "Local encryption of authentication data …",
'saveOTP_sendingDataTitle': "Saving one-time passphrase",
'saveOTP_sendingDataText': "Sending authentication data to the server …",
'saveOTP_updatingInterfaceTitle': "Saving one-time passphrase",
'saveOTP_updatingInterfaceText': "Updating interface",
// Account panel - preferences
'accountPreferencesLabel': "Preferences",
'accountPreferencesTabTitle': "Preferences",
'accountPreferencesLanguageTitle': "Language",
'accountPreferencesLanguageDescription': "<p>Choose your preferred language from the list below.</p>",
'showDonationReminderPanelTitle': "Donation reminders",
'showDonationReminderPanelDescription': "<p>Show donation reminders</p>",
'saveUserPreferencesFormSubmitLabel': "Save",
'cancelUserPreferencesFormSubmitLabel': "Cancel",
// Account panel - preferences - saving dialog
'accountPreferencesSavingPanelTitle_Step1': "Saving preferences",
'accountPreferencesSavingPanelText_Step1': "Local encryption of your preferences",
'accountPreferencesSavingPanelTitle_Step2': "Saving preferences",
'accountPreferencesSavingPanelText_Step2': "Sending encrypted preferences to Clipperz",
// Account panel - login history
'accountLoginHistoryLabel': "Login history",
'loginHistoryTabTitle': "Login history",
'loginHistoryReadOnlyMessage': "\
<h6>Sorry!</h6>\
<p>The login history is not available while using the offline version of Clipperz.</p>",
'loginHistoryLoadingMessage': "\
<h6>Loading data</h6>\
<p>Please wait …</p>",
'loginHistoryLoadedMessage': "\
<h6>Your latest 10 logins</h6>\
<p></p>",
'loginHistoryIPLabel': "IP",
'loginHistoryTimeLabel': "date",
'loginHistoryCurrentSessionText': "current session",
'loginHistoryReloadButtonLabel': "Reload login history",
// Account panel - delete account
'deleteAccountTabLabel': "Delete your account",
'deleteAccountTabTitle': "Delete your account",
'deleteAccountFormUsernameLabel': "username",
'deleteAccountFormPassphraseLabel': "passphrase",
'deleteAccountFormSafetyCheckboxLabel': "I understand that all my data will be deleted and that this action is irreversible.",
'deleteAccountFormSubmitLabel': "Delete my account",
//Account panel - delete account - warnings
'deleteAccountFormWrongUsernameWarning': "Wrong username",
'deleteAccountFormWrongPassphraseWarning': "Wrong passphrase",
'deleteAccountFormSafetyCheckWarning': "Please read and check the box below.",
//Account panel - delete account - confirmation
'accountPanelDeletingAccountPanelConfirmationTitle': "ATTENTION",
'accountPanelDeleteAccountPanelConfirmationText': "Are your sure you want to delete your account?",
'accountPanelDeleteAccountPanelConfirmButtonLabel': "Yes",
'accountPanelDeleteAccountPanelDenyButtonLabel': "No",
//Account panel - delete account - confirmation
diff --git a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js
index 06746d1..cd5faa6 100644
--- a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js
+++ b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/NewUserCreationComponent.js
@@ -1,350 +1,350 @@
/*
Copyright 2008-2013 Clipperz Srl
This file is part of Clipperz, the online password manager.
For further information about its features and functionalities please
refer to http://www.clipperz.com.
* Clipperz is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
* Clipperz is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public
License along with Clipperz. If not, see http://www.gnu.org/licenses/.
*/
Clipperz.Base.module('Clipperz.PM.UI.Web.Components');
Clipperz.PM.UI.Web.Components.NewUserCreationComponent = function(args) {
args = args || {};
Clipperz.PM.UI.Web.Components.NewUserCreationComponent.superclass.constructor.apply(this, arguments);
this._tabPanelController = null;
this._initiallySelectedTab = args.selected || 'CREDENTIALS';
this._tabPanelControllerConfiguration = {
'CREDENTIALS': {
tab: 'credentialsTab',
panel: 'credentialsTabpanel'
},
'CHECK_CREDENTIALS': {
tab: 'checkCredentialsTab',
panel: 'checkCredentialsTabpanel'
},
'TERMS_OF_SERVICE': {
tab: 'termsOfServiceTab',
panel: 'termsOfServiceTabpanel'
},
'CREATE_USER': {
tab: 'createUserTab',
panel: 'createUserTabpanel'
} //,
/*
'LOGIN': {
tab: 'loginTab',
panel: 'loginTabpanel'
}
*/
};
return this;
}
//=============================================================================
Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.NewUserCreationComponent, Clipperz.PM.UI.Common.Components.TabPanelComponent, {
//-------------------------------------------------------------------------
'toString': function () {
return "Clipperz.PM.UI.Web.Components.NewUserCreationComponent component";
},
//=========================================================================
'disableAllPanels': function () {
this.tabPanelController().selectTab(null);
},
//-------------------------------------------------------------------------
'enableCredentialsPanel': function () {
this.tabPanelController().selectTab('CREDENTIALS');
},
'enableCheckCredentialsPanel': function () {
this.tabPanelController().selectTab('CHECK_CREDENTIALS');
},
'enableTermsOfServicePanel': function () {
this.tabPanelController().selectTab('TERMS_OF_SERVICE');
},
'enableCreateUserPanel': function () {
this.tabPanelController().selectTab('CREATE_USER');
},
// 'enableLoginPanel': function () {
// this.tabPanelController().selectTab('LOGIN');
// },
//=========================================================================
'shouldShowElementWhileRendering': function() {
return false;
},
//=========================================================================
'tabPanelController': function () {
if (this._tabPanelController == null) {
this._tabPanelController = new Clipperz.PM.UI.Common.Controllers.TabPanelController({
component:this,
configuration:this._tabPanelControllerConfiguration
});
MochiKit.Signal.connect(this._tabPanelController, 'tabSelected', this, 'handleTabSelected')
}
return this._tabPanelController;
},
//-------------------------------------------------------------------------
'renderSelf': function() {
this.append(this.element(), {tag:'div', cls:'NewUserCreation mainDialog', id:this.getId('panel'), children: [
{tag:'form', id:this.getId('form'), cls:'newUserCreationForm', children:[
{tag:'div', cls:'header', children:[
{tag:'div', cls:'title', children:[
{tag:'h3', id:this.getId('title'), html:"Create new user"}
]}
]},
{tag:'div', id:this.getId('body'), cls:'body', children:[
{tag:'div', cls:'tabContainer', children:[
{tag:'ul', cls:'tabs', children:[
{tag:'li', id:this.getId('credentialsTab'), children:[{tag:'span', html:"credentials"}]},
{tag:'li', id:this.getId('checkCredentialsTab'), children:[{tag:'span', html:"credentials check"}]},
{tag:'li', id:this.getId('termsOfServiceTab'), children:[{tag:'span', html:"terms of service"}]},
{tag:'li', id:this.getId('createUserTab'), children:[{tag:'span', html:"create user"}]} //,
// {tag:'li', id:this.getId('loginTab'), children:[{tag:'span', html:"login"}]},
]},
{tag:'ul', cls:'tabPanels', children:[
{tag:'li', id:this.getId('credentialsTabpanel'), cls:'tabPanel credentials', children:[
{tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CREDENTIALS.description')}]},
{tag:'ul', cls:'credentials', children:[
{tag:'li', children:[{tag:'span', cls:'label', html:"username"}, {tag:'input', type:'text', id:this.getId('username')/*, value:'test'*/}]},
{tag:'li', children:[{tag:'span', cls:'label', html:"passphrase"}, {tag:'input', type:'password', id:this.getId('passphrase')/*, value:'test'*/}]}
]}
]},
{tag:'li', id:this.getId('checkCredentialsTabpanel'), cls:'tabPanel checkCredentials', children:[
{tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CHECK_CREDENTIALS.description')}]},
{tag:'ul', cls:'credentials', children:[
{tag:'li', children:[{tag:'span', cls:'label', html:"re-passphrase"}, {tag:'input', type:'password', id:this.getId('re-passphrase')/*, value:'test'*/}]}
]}
]},
{tag:'li', id:this.getId('termsOfServiceTabpanel'), cls:'tabPanel termsOfService', children:[
{tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.TERMS_OF_SERVICE.description')}]},
{tag:'ul', cls:'termsOfService', children:[
{tag:'li', children:[{tag:'input', type:'checkbox', id:this.getId('awareOfUnrecoverablePassphrase')/*, checked:true*/}, {tag:'label', cls:'label', 'for':this.getId('awareOfUnrecoverablePassphrase'), html:"I understand that Clipperz will not be able to recover a lost passphrase."}]},
- {tag:'li', children:[{tag:'input', type:'checkbox', id:this.getId('readTermsOfService')/*, checked:true*/}, {tag:'label', cls:'label', 'for':this.getId('readTermsOfService'), htmlString:"I have read and agreed to the <a href='http://www.clipperz.com/terms_of_service' target='_blank'>Terms of Service</a>."}]}
+ {tag:'li', children:[{tag:'input', type:'checkbox', id:this.getId('readTermsOfService')/*, checked:true*/}, {tag:'label', cls:'label', 'for':this.getId('readTermsOfService'), htmlString:"I have read and agreed to the <a href='https://www.clipperz.com/terms_service' target='_blank'>Terms of Service</a>."}]}
]}
]},
{tag:'li', id:this.getId('createUserTabpanel'), cls:'tabPanel createUser', children:[
{tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.CREATE_USER.description')}]},
{tag:'ul', cls:'createUserStates', children:[
{tag:'li', cls:'creating', id:this.getId('creatingRegistering'), children:[{tag:'span', html:"registering user"}]},
{tag:'li', cls:'done', id:this.getId('creatingDone'), children:[{tag:'span', html:"done"}]},
{tag:'li', cls:'fail', id:this.getId('creatingFailed'), children:[{tag:'span', html:"fail"}]}
]}
]} //,
// {tag:'li', id:this.getId('loginTabpanel'), cls:'tabPanel login', children:[
// {tag:'div', cls:'wizardStepDescription', children:[{tag:'span', html:Clipperz.PM.Strings.getValue('Wizards.NewUserWizard.LOGIN.description')}]},
// ]}
]}
]}
]},
{tag:'div', id:this.getId('footer'), cls:'footer', children:[
{tag:'div', cls:'buttonArea', children:[
// {tag:'div', cls:'cancel', id:this.getId('cancelButton'), html:"cancel"},
// {tag:'div', cls:'save disabled', id:this.getId('saveButton'), html:"save"}
]}
]}
]},
{tag:'div', cls:'clear'}
]});
this.tabPanelController().setup();
// MochiKit.Signal.connect(this.getId('panel'), 'onkeydown', this, 'handleKeyEvent');
MochiKit.Signal.connect(MochiKit.DOM.currentDocument().body, 'onkeydown', this, 'handleKeyEvent');
MochiKit.Signal.connect(this.getId('awareOfUnrecoverablePassphrase'), 'onchange', this, 'handleTermsOfServiceCheckboxChange');
MochiKit.Signal.connect(this.getId('readTermsOfService'), 'onchange', this, 'handleTermsOfServiceCheckboxChange');
},
//-------------------------------------------------------------------------
/*
'resetContent': function () {
this.getElement('username').value = '';
this.getElement('passphrase').value = '';
},
*/
//-------------------------------------------------------------------------
'displayElement': function() {
return this.getElement('panel');
},
//-------------------------------------------------------------------------
'handleTabSelected': function (aSelectedTab) {
/*
switch (aSelectedTab) {
case 'DETAILS':
break;
case 'DIRECT_LOGINS':
MochiKit.Style.hideElement(this.getElement('backToDirectLoginList'));
break;
case 'SHARING':
break;
}
*/
},
//=========================================================================
'username': function () {
return this.getElement('username').value;
},
'usernameElement': function () {
return this.getElement('username');
},
'passphrase': function () {
return this.getElement('passphrase').value;
},
'rePassphrase': function () {
return this.getElement('re-passphrase').value;
},
'awareOfUnrecoverablePassphrase': function () {
return this.getElement('awareOfUnrecoverablePassphrase').value;
},
'readTermsOfService': function () {
return this.getElement('readTermsOfService').value;
},
//=========================================================================
/*
'incrementUpdateFaviconCounter': function () {
this._updateFaviconCounter ++;
},
'decrementUpdateFaviconCounter': function () {
this._updateFaviconCounter --;
},
'updateFaviconCounter': function () {
return this._updateFaviconCounter;
},
*/
//-------------------------------------------------------------------------
/*
'updateFavicon': function () {
this.decrementUpdateFaviconCounter();
if (this.updateFaviconCounter() == 0) {
this.setFavicon(this.favicon());
}
},
*/
//=========================================================================
/*
'bindingComponents': function () {
return this._bindingComponents;
},
'clearAllBindingsComponents': function () {
MochiKit.Iter.forEach(this.bindingComponents(), MochiKit.Base.methodcaller('remove'));
this._bindingComponents = [];
this.getElement('bindings').innerHTML = '';
},
'addBindingComponent': function (aBindingComponent) {
this.bindingComponents().push(aBindingComponent);
aBindingComponent.renderInNode(this.append(this.getElement('bindings'), {tag:'div'}));
},
*/
//=========================================================================
/*
'formValueComponents': function () {
return this._formValueComponents;
},
'clearAllFormValueComponents': function () {
MochiKit.Iter.forEach(this.formValueComponents(), MochiKit.Base.methodcaller('remove'));
this._formValueComponents = [];
this.getElement('formValues').innerHTML = '';
},
'addFormValueComponent': function (aFormValueComponent) {
this.formValueComponents().push(aFormValueComponent);
aFormValueComponent.renderInNode(this.append(this.getElement('formValues'), {tag:'div'}));
},
*/
//=========================================================================
'changedValue': function (anEvent) {
MochiKit.Signal.signal(this, 'changedValue', anEvent);
this.incrementUpdateFaviconCounter();
MochiKit.Async.callLater(1, MochiKit.Base.method(this, 'updateFavicon'));
},
//-------------------------------------------------------------------------
'handleBackClick': function (anEvent) {
anEvent.preventDefault();
MochiKit.Signal.signal(this, 'back');
},
//=========================================================================
'bottomMargin': function () {
var result;
// TODO: WTF!!!
// result = MochiKit.Style.getElementPosition(this.element())['y'] +
// MochiKit.Style.getElementDimensions(this.element())['h'];
// result = MochiKit.Style.getElementPosition(this.getElement('footer'))['y'];
// result = 450;
result = Clipperz.PM.UI.Common.Components.BaseComponent.targetModalDimensionsAndPosition['position']['y'] +
Clipperz.PM.UI.Common.Components.BaseComponent.targetModalDimensionsAndPosition['dimensions']['h'] -
60;
return result;
},
//=========================================================================
'focusOnUsernameElement': function () {
MochiKit.Async.callLater(0.1, MochiKit.Base.method(this.getElement('username'), 'focus'));
},
'focusOnRePassphraseElement': function () {
this.getElement('re-passphrase').focus();
},
/*
diff --git a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
index df3ca0c..1f183dc 100644
--- a/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
+++ b/frontend/gamma/js/Clipperz/PM/UI/Web/Components/PageFooter.js
@@ -1,65 +1,65 @@
/*
Copyright 2008-2013 Clipperz Srl
This file is part of Clipperz, the online password manager.
For further information about its features and functionalities please
refer to http://www.clipperz.com.
* Clipperz is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
* Clipperz is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public
License along with Clipperz. If not, see http://www.gnu.org/licenses/.
*/
Clipperz.Base.module('Clipperz.PM.UI.Web.Components');
Clipperz.PM.UI.Web.Components.PageFooter = function(args) {
args = args || {};
Clipperz.PM.UI.Web.Components.PageFooter.superclass.constructor.apply(this, arguments);
return this;
}
//=============================================================================
Clipperz.Base.extend(Clipperz.PM.UI.Web.Components.PageFooter, Clipperz.PM.UI.Common.Components.BaseComponent, {
//-------------------------------------------------------------------------
'toString': function () {
return "Clipperz.PM.UI.Web.Components.PageFooter component";
},
//-------------------------------------------------------------------------
'renderSelf': function(/*aContainer, aPosition*/) {
this.append(this.element(), [
{tag:'div', cls:'footerWrapper', children:[
{tag:'div', cls:'footerContent', children:[
{tag:'canvas', id:this.getId('footerStarIcon'), cls:'footerStarIcon'},
{tag:'span', cls:'copyright', html:'Copyright &copy; 2009-2013 Clipperz Srl'},
- {tag:'a', href:'http://www.clipperz.com/terms_of_service', target:'_blank', html:'terms of service'},
+ {tag:'a', href:'https://www.clipperz.com/terms_service', target:'_blank', html:'terms of service'},
{tag:'a', href:'http://www.clipperz.com/privacy_policy', target:'_blank', html:'privacy policy'},
{tag:'div', cls:'applicationVersion', htmlString:'application version: <a href="https://github.com/clipperz/password-manager/tree/' + Clipperz_version + '" target="github">' + Clipperz_version + '</a>'}
]}
]}
]);
Clipperz.PM.UI.Canvas.star.normal(this.getElement('footerStarIcon'), "#7e7e7e");
},
//-------------------------------------------------------------------------
__syntaxFix__: "syntax fix"
});