mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-10-25 01:37:34 +02:00
Updated Copyright claims
- updated reference dates; - removed reference to Community Edition; - normalized logging using Clipperz.log[Warn|Error|Debug]
This commit is contained in:
@@ -1,25 +1,23 @@
|
||||
/*
|
||||
|
||||
Copyright 2008-2011 Clipperz Srl
|
||||
Copyright 2008-2013 Clipperz Srl
|
||||
|
||||
This file is part of Clipperz Community Edition.
|
||||
Clipperz Community Edition is an online password manager.
|
||||
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 Community Edition 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 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 Community Edition 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.
|
||||
* 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 Community Edition. If not, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
License along with Clipperz. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
*/
|
||||
|
||||
@@ -329,7 +327,7 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.DirectLogin, Object, {
|
||||
|
||||
fixedConfiguration = Clipperz.Base.deepClone(aConfiguration);
|
||||
|
||||
//console.log("PROCESS CONFIGURATION", aConfiguration);
|
||||
//Clipperz.log("PROCESS CONFIGURATION", aConfiguration);
|
||||
switch (aConfiguration['bookmarkletVersion']) {
|
||||
case '0.1':
|
||||
fixedConfiguration['formData'] = this.fixFormDataFromBookmarkletVersion_0_1(aConfiguration['formData']);
|
||||
@@ -481,10 +479,9 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.DirectLogin, Object, {
|
||||
var bookmarkletConfiguration;
|
||||
|
||||
bookmarkletConfiguration = Clipperz.PM.DataModel.DirectLogin.checkBookmarkletConfiguration(aValue);
|
||||
//console.log("BOOKMARKLET CONFIGURATION", bookmarkletConfiguration);
|
||||
|
||||
return Clipperz.Async.callbacks("DirectLogin.setBookmarkletConfiguration", [
|
||||
MochiKit.Base.method(this, 'setValue', 'formData', bookmarkletConfiguration['form']),
|
||||
//function (aValue) { console.log("SET VALUE - formData", aValue); return aValue; },
|
||||
MochiKit.Base.method(this, 'setValue', 'bookmarkletVersion', bookmarkletConfiguration['version']),
|
||||
|
||||
MochiKit.Base.method(this, 'favicon'),
|
||||
@@ -536,10 +533,7 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.DirectLogin, Object, {
|
||||
|
||||
'updateInputsAfterChangingBookmarkletConfiguration': function () {
|
||||
return Clipperz.Async.callbacks("DirectLogin.updateInputsAfterChangingBookmarkletConfiguration", [
|
||||
// MochiKit.Base.method(this, 'getValue', ''),
|
||||
//function (aValue) { console.log("VALUE", aValue); return aValue },
|
||||
MochiKit.Base.method(this, 'getValue', 'formData'),
|
||||
//function (aValue) { console.log("FORM DATA", aValue); return aValue },
|
||||
MochiKit.Base.method(this, 'setInputWithFormDataConfiguration')
|
||||
], {trace:false});
|
||||
},
|
||||
@@ -550,7 +544,6 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.DirectLogin, Object, {
|
||||
return Clipperz.Async.callbacks("DirectLogin.inputValues", [
|
||||
MochiKit.Base.method(this, 'inputs'),
|
||||
MochiKit.Base.values,
|
||||
//function (aValue) { console.log("INPUTS", aValue); return aValue; },
|
||||
MochiKit.Base.partial(MochiKit.Base.map, MochiKit.Base.partial(MochiKit.Base.method(this, 'inputValue'))),
|
||||
Clipperz.Async.collectAll,
|
||||
Clipperz.Base.mergeItems
|
||||
@@ -674,19 +667,16 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.DirectLogin, Object, {
|
||||
|
||||
this._bindings[anInput.name()] = newBinding;
|
||||
}, this))
|
||||
//console.log("THIS._BINDINGS", this._bindings);
|
||||
|
||||
return newBindingValues;
|
||||
|
||||
/*
|
||||
this._bindings = {};
|
||||
//console.log("CONFIGURATION", aConfiguration);
|
||||
|
||||
if (someValues['currentValues'] != null) {
|
||||
if (someValues['currentValues']['bindingData'] != null) {
|
||||
var bindingKey;
|
||||
|
||||
//console.log("BINDING DATA", someValues['currentValues']['bindingData']);
|
||||
for (bindingKey in someValues['currentValues']['bindingData']) {
|
||||
var newBinding;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user