Merge branch 'master' of github.com:clipperz/password-manager

Conflicts:
	frontend/beta/css/yui-extensions/basic-dialog.css
This commit is contained in:
Clipperz 2013-01-09 12:24:13 +01:00
commit 6cfcbb8dee
4 changed files with 25 additions and 4 deletions

View File

@ -24,7 +24,10 @@ refer to http://www.clipperz.com.
*/ */
.ydlg-proxy { .ydlg-proxy {
<<<<<<< HEAD
background-image: url(./images/default/gradient-bg.gif); background-image: url(./images/default/gradient-bg.gif);
=======
>>>>>>> 0db1d5c8b18eadc4bd9cfc6603e86227fa94b5a9
background-color:#c3daf9; background-color:#c3daf9;
border:1px solid #6593cf; border:1px solid #6593cf;
z-index:10001; z-index:10001;
@ -93,7 +96,10 @@ body.masked .ydlg select {
padding-right:3px; padding-right:3px;
} }
.ydlg .ydlg-dlg-body{ .ydlg .ydlg-dlg-body{
<<<<<<< HEAD
background:url(./images/default/layout/gradient-bg.gif); background:url(./images/default/layout/gradient-bg.gif);
=======
>>>>>>> 0db1d5c8b18eadc4bd9cfc6603e86227fa94b5a9
border:1px solid #6593cf; border:1px solid #6593cf;
border-top:0 none; border-top:0 none;
padding:10px; padding:10px;

View File

@ -292,8 +292,14 @@ console.log("Record.processData", someValues);
this.setCurrentVersionKey(this.key()); this.setCurrentVersionKey(this.key());
} }
// currentVersionParameters = someValues['currentVersion']; // community edition doesn't currently pass version
currentVersionParameters = someValues['versions'][someValues['currentVersion']]; // information
if (someValues['versions'] == null) {
currentVersionParameters = someValues['currentVersion'];
} else {
currentVersionParameters = someValues['versions'][someValues['currentVersion']];
}
console.log("Record.processData - this.currentVersionKey()", this.currentVersionKey()); console.log("Record.processData - this.currentVersionKey()", this.currentVersionKey());
console.log("Record.processData - currentVersionParameters", currentVersionParameters); console.log("Record.processData - currentVersionParameters", currentVersionParameters);
currentVersionParameters['key'] = this.currentVersionKey(); currentVersionParameters['key'] = this.currentVersionKey();

View File

@ -508,7 +508,7 @@ Clipperz.PM.Strings.Languages['en-us'] = {
<li><p>Get Firefox! Sidebars are only available in Firefox and you need to switch to Firefox in order to enjoy the convenience of Clipperz Compact.</p></li>\ <li><p>Get Firefox! Sidebars are only available in Firefox and you need to switch to Firefox in order to enjoy the convenience of Clipperz Compact.</p></li>\
<li>\ <li>\
<p>Add the following URL to Firefox bookmarks, or even better, drag it to the bookmark bar.</p>\ <p>Add the following URL to Firefox bookmarks, or even better, drag it to the bookmark bar.</p>\
<div id=\"compactLinkBox\"><a href=\"https://www.clipperz.com/beta/index.html?compact\" target=\"_search\">Clipperz Compact</a></div>\ <div id=\"compactLinkBox\"><a href=\"index.html?compact\" target=\"_search\">Clipperz Compact</a></div>\
</li>\ </li>\
<li><p>Change the properties of the bookmark so that load this bookmark in the sidebar is checked.</p></li>\ <li><p>Change the properties of the bookmark so that load this bookmark in the sidebar is checked.</p></li>\
</ol>\ </ol>\

View File

@ -11,12 +11,14 @@ def repositoryWithPath (path):
except: except:
try: try:
from git import Repo from git import Repo
repo = Repo(path) repo = Repo(path)
result = GitRepository(repo, path) result = GitRepository(repo, path)
except ImportError, exception: except ImportError, exception:
print "Failed to import git, please install http://gitorious.org/git-python" print "Failed to import git, please install http://gitorious.org/git-python"
raise exception raise exception
except:
result = SnapshotRepository('', path)
return result return result
@ -86,3 +88,10 @@ class HgRepository(Repository):
#=================================================================== #===================================================================
class SnapshotRepository(Repository):
def revision (self):
return 'SNAPSHOT'
def areTherePendingChanges (self):
return False