Merge branch 'master' into patch-scss-import
This commit is contained in:
commit
8328b75118
@ -28,7 +28,7 @@ As an example, the current PHP backend lacks several critical capabilities such
|
|||||||
Please note: the actual Clipperz service use a far more robust backend, but the communication protocol between backend and frontend is of course identical.
|
Please note: the actual Clipperz service use a far more robust backend, but the communication protocol between backend and frontend is of course identical.
|
||||||
|
|
||||||
[app]: https://clipperz.is/app/
|
[app]: https://clipperz.is/app/
|
||||||
[CA]: https://clipperz.is/contributor_agreement/
|
[CA]: https://clipperz.is/open_source/contributor_agreement/
|
||||||
[contact]: https://clipperz.is/about/contacts/
|
[contact]: https://clipperz.is/about/contacts/
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2008-2015 Clipperz Srl
|
# Copyright 2008-2018 Clipperz Srl
|
||||||
#
|
#
|
||||||
# This file is part of Clipperz, the online password manager.
|
# This file is part of Clipperz, the online password manager.
|
||||||
# For further information about its features and functionalities please
|
# For further information about its features and functionalities please
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
@ -1241,7 +1241,7 @@ Clipperz.log("Warning: Record.fieldWithLabel('" + aLabel + "') is returning more
|
|||||||
Clipperz.Async.collectAll,
|
Clipperz.Async.collectAll,
|
||||||
Clipperz.Async.or
|
Clipperz.Async.or
|
||||||
]
|
]
|
||||||
}, {trace:true});
|
}, {trace:false});
|
||||||
deferredResult.addCallback(MochiKit.Base.values);
|
deferredResult.addCallback(MochiKit.Base.values);
|
||||||
deferredResult.addCallback(MochiKit.Base.bind(function(someValues) {
|
deferredResult.addCallback(MochiKit.Base.bind(function(someValues) {
|
||||||
return MochiKit.Iter.some(someValues, MochiKit.Base.operator.identity);
|
return MochiKit.Iter.some(someValues, MochiKit.Base.operator.identity);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
@ -107,20 +107,26 @@ Clipperz.PM.Toll.prototype = MochiKit.Base.update(null, {
|
|||||||
var deferredResult;
|
var deferredResult;
|
||||||
var result;
|
var result;
|
||||||
var payment;
|
var payment;
|
||||||
var i;
|
var startTime;
|
||||||
|
var currentTime;
|
||||||
|
var elapsedTime;
|
||||||
|
|
||||||
|
currentTime = (new Date()).getMilliseconds();
|
||||||
|
startTime = currentTime;
|
||||||
|
|
||||||
result = null;
|
result = null;
|
||||||
payment = aPayment;
|
payment = aPayment;
|
||||||
i = 0;
|
elapsedTime = currentTime - startTime;
|
||||||
|
|
||||||
while ((result == null) && (i < Clipperz.PM.Toll.numberOfCloseLoopIterations)) {
|
while ((result == null) && (elapsedTime < Clipperz.PM.Toll.maxTimeForCloseLoopIterations)) {
|
||||||
if (Clipperz.ByteArray.prefixMatchingBits(aTargetValue, Clipperz.Crypto.SHA.sha256(payment)) > aCost) {
|
if (Clipperz.ByteArray.prefixMatchingBits(aTargetValue, Clipperz.Crypto.SHA.sha256(payment)) > aCost) {
|
||||||
result = payment;
|
result = payment;
|
||||||
} else {
|
} else {
|
||||||
payment.increment();
|
payment.increment();
|
||||||
}
|
}
|
||||||
|
|
||||||
i ++;
|
currentTime = (new Date()).getMilliseconds();
|
||||||
|
elapsedTime = currentTime - startTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
@ -137,8 +143,7 @@ Clipperz.PM.Toll.prototype = MochiKit.Base.update(null, {
|
|||||||
var toll;
|
var toll;
|
||||||
|
|
||||||
toll = this;
|
toll = this;
|
||||||
deferredResult = new Clipperz.Async.Deferred("Toll.deferredPay");
|
deferredResult = new Clipperz.Async.Deferred("Toll.deferredPay", {trace:false});
|
||||||
//deferredResult.addLog("--->>> deferredPay - " + this.cost());
|
|
||||||
deferredResult.addMethod(Clipperz.Crypto.PRNG.defaultRandomGenerator(), 'getRandomBytes', 32);
|
deferredResult.addMethod(Clipperz.Crypto.PRNG.defaultRandomGenerator(), 'getRandomBytes', 32);
|
||||||
deferredResult.addMethod(toll, 'innerDeferredPay', new Clipperz.ByteArray("0x" + this.targetValue()), this.cost());
|
deferredResult.addMethod(toll, 'innerDeferredPay', new Clipperz.ByteArray("0x" + this.targetValue()), this.cost());
|
||||||
deferredResult.addCallback(MochiKit.Base.bind(function(aPayment) {
|
deferredResult.addCallback(MochiKit.Base.bind(function(aPayment) {
|
||||||
@ -151,7 +156,6 @@ Clipperz.PM.Toll.prototype = MochiKit.Base.update(null, {
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}, this));
|
}, this));
|
||||||
//deferredResult.addLog("<<<--- deferredPay - " + this.cost());
|
|
||||||
deferredResult.callback();
|
deferredResult.callback();
|
||||||
|
|
||||||
return deferredResult;
|
return deferredResult;
|
||||||
@ -185,5 +189,5 @@ Clipperz.PM.Toll.validate = function(aTargetValue, aToll, aCost) {
|
|||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
|
|
||||||
Clipperz.PM.Toll.numberOfCloseLoopIterations = 50;
|
Clipperz.PM.Toll.maxTimeForCloseLoopIterations = 500; // milliseconds
|
||||||
Clipperz.PM.Toll.pauseBetweenEachCloseLoop = 0.5;
|
Clipperz.PM.Toll.pauseBetweenEachCloseLoop = 0.1; // seconds
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright 2008-2015 Clipperz Srl
|
Copyright 2008-2018 Clipperz Srl
|
||||||
|
|
||||||
This file is part of Clipperz, the online password manager.
|
This file is part of Clipperz, the online password manager.
|
||||||
For further information about its features and functionalities please
|
For further information about its features and functionalities please
|
||||||
@ -36,8 +36,8 @@ Clipperz.PM.UI.Components.ExtraFeatures.OTPClass = React.createClass({
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
propTypes: {
|
// propTypes: {
|
||||||
},
|
// },
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
||||||
@ -190,19 +190,29 @@ Clipperz.PM.UI.Components.ExtraFeatures.OTPClass = React.createClass({
|
|||||||
};
|
};
|
||||||
otpClasses[otpDetailInfo['status']] = true;
|
otpClasses[otpDetailInfo['status']] = true;
|
||||||
|
|
||||||
if (otpDetailInfo['status'] != 'ACTIVE') {
|
if (otpDetailInfo['status'] === 'USED') {
|
||||||
otpStatusInfo = React.DOM.div({'className':'otpStatusInfo'}, [
|
otpStatusInfo = React.DOM.div({'key':'otpStatusInfo', 'className':'otpStatusInfo'}, [
|
||||||
React.DOM.span({'className':'otpStatus'}, otpDetailInfo['status']),
|
React.DOM.span({'key':'otpStatus', 'className':'otpStatus'}, otpDetailInfo['status']),
|
||||||
React.DOM.span({'className':'requestDate'}, otpDetailInfo['usageDate']),
|
React.DOM.span({'key':'requestDate', 'className':'requestDate'}, otpDetailInfo['usageDate']),
|
||||||
React.DOM.span({'className':'connectionIp'}, otpDetailInfo['connection']['ip']),
|
React.DOM.span({'key':'connectionIp', 'className':'connectionIp'}, otpDetailInfo['connection']['ip']),
|
||||||
React.DOM.span({'className':'connectionBrowser'}, otpDetailInfo['connection']['browser']),
|
React.DOM.span({'key':'connectionBrowser', 'className':'connectionBrowser'}, otpDetailInfo['connection']['browser']),
|
||||||
])
|
])
|
||||||
} else {
|
} else if (otpDetailInfo['status'] === 'DISABLED') {
|
||||||
|
otpStatusInfo = React.DOM.div({'key':'otpStatusInfo', 'className':'otpStatusInfo'}, [
|
||||||
|
React.DOM.span({'key':'otpStatus', 'className':'otpStatus'}, otpDetailInfo['status']),
|
||||||
|
React.DOM.span({'key':'requestDate', 'className':'requestDate'}, otpDetailInfo['usageDate']),
|
||||||
|
// React.DOM.span({'className':'connectionIp'}, otpDetailInfo['connection']['ip']),
|
||||||
|
// React.DOM.span({'className':'connectionBrowser'}, otpDetailInfo['connection']['browser']),
|
||||||
|
])
|
||||||
|
} else if (otpDetailInfo['status'] === 'ACTIVE') {
|
||||||
otpStatusInfo = null;
|
otpStatusInfo = null;
|
||||||
|
} else {
|
||||||
|
throw "Clipperz.PM.UI.Components.ExtraFeatures.OTP.renderOtpRows: unrecognized OTP status: " + otpDetailInfo['status'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reference == this.state.labelBeingEdited) {
|
if (reference == this.state.labelBeingEdited) {
|
||||||
labelComponent = React.DOM.input({
|
labelComponent = React.DOM.input({
|
||||||
|
'key': 'input',
|
||||||
'autoFocus':true,
|
'autoFocus':true,
|
||||||
'value':this.state.otpLabel,
|
'value':this.state.otpLabel,
|
||||||
'placeholder': "custom label",
|
'placeholder': "custom label",
|
||||||
@ -211,6 +221,7 @@ Clipperz.PM.UI.Components.ExtraFeatures.OTPClass = React.createClass({
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
labelComponent = React.DOM.span({
|
labelComponent = React.DOM.span({
|
||||||
|
'key': 'span',
|
||||||
'onClick':MochiKit.Base.partial(this.enableOtpLabelEditing, anOTP),
|
'onClick':MochiKit.Base.partial(this.enableOtpLabelEditing, anOTP),
|
||||||
'className': Clipperz.PM.UI.Components.classNames({'customLabel':anOTP.label()})
|
'className': Clipperz.PM.UI.Components.classNames({'customLabel':anOTP.label()})
|
||||||
}, (anOTP.label()) ? anOTP.label() : defaultOtpLabel)
|
}, (anOTP.label()) ? anOTP.label() : defaultOtpLabel)
|
||||||
@ -220,12 +231,12 @@ Clipperz.PM.UI.Components.ExtraFeatures.OTPClass = React.createClass({
|
|||||||
'key':'otp-' + reference,
|
'key':'otp-' + reference,
|
||||||
'className':Clipperz.PM.UI.Components.classNames(otpClasses)
|
'className':Clipperz.PM.UI.Components.classNames(otpClasses)
|
||||||
}, [
|
}, [
|
||||||
React.DOM.div({'className':'otpAction'}, [
|
React.DOM.div({'key':'otpAction', 'className':'otpAction'}, [
|
||||||
React.DOM.a({'onClick':MochiKit.Base.partial(this.handleDelete, reference)}, 'remove OTP'),
|
React.DOM.a({'key':'a', 'onClick':MochiKit.Base.partial(this.handleDelete, reference)}, 'remove OTP'),
|
||||||
]),
|
]),
|
||||||
React.DOM.div({'className':'otpInfo'}, [
|
React.DOM.div({'key':'otpInfo', 'className':'otpInfo'}, [
|
||||||
React.DOM.div({'className':'otpPassword'}, anOTP.password()),
|
React.DOM.div({'key':'otpPassword', 'className':'otpPassword'}, anOTP.password()),
|
||||||
React.DOM.div({'className':'otpLabel'}, labelComponent),
|
React.DOM.div({'key':'otpLabel', 'className':'otpLabel'}, labelComponent),
|
||||||
otpStatusInfo,
|
otpStatusInfo,
|
||||||
]),
|
]),
|
||||||
]);
|
]);
|
||||||
@ -238,20 +249,20 @@ Clipperz.PM.UI.Components.ExtraFeatures.OTPClass = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
render: function () {
|
render: function () {
|
||||||
return React.DOM.div({'className':'extraFeature OTP'}, [
|
return React.DOM.div({'key':'extraFeatureOTP', 'className':'extraFeature OTP'}, [
|
||||||
React.DOM.div({'className':'header'}, [
|
React.DOM.div({'key':'header', 'className':'header'}, [
|
||||||
React.DOM.h1({}, "One-Time Passwords"),
|
React.DOM.h1({'key':'h1'}, "One-Time Passwords"),
|
||||||
]),
|
]),
|
||||||
React.DOM.div({'className':'content'}, [
|
React.DOM.div({'key':'content', 'className':'content'}, [
|
||||||
React.DOM.div({},[
|
React.DOM.div({'key': 'div'},[
|
||||||
React.DOM.div({'className':'description'}, [
|
React.DOM.div({'key':'description', 'className':'description'}, [
|
||||||
React.DOM.p({}, "A one-time password works like your regular passphrase, but it can be used only once. Strongly recommended when accessing your Clipperz account from unsecure devices where keyloggers may be installed."),
|
React.DOM.p({'key': 'p'}, "A one-time password works like your regular passphrase, but it can be used only once. Strongly recommended when accessing your Clipperz account from unsecure devices where keyloggers may be installed."),
|
||||||
]),
|
]),
|
||||||
React.DOM.a({'className':'button', 'onClick':this.handlePrint}, "Print"),
|
React.DOM.a({'key':'button', 'className':'button', 'onClick':this.handlePrint}, "Print"),
|
||||||
|
|
||||||
React.DOM.ul({'className':'otpList'}, this.renderOtpRows()),
|
React.DOM.ul({'key':'otpList', 'className':'otpList'}, this.renderOtpRows()),
|
||||||
React.DOM.div({'className':'actions'}, [
|
React.DOM.div({'key':'actions', 'className':'actions'}, [
|
||||||
React.DOM.a({'onClick': this.handleNew}, "create new OTP"),
|
React.DOM.a({'key':'newButton', 'onClick': this.handleNew}, "create new OTP"),
|
||||||
]),
|
]),
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user