3 Commits
v1.2 ... v1.3

Author SHA1 Message Date
5784e61e40 Update ChangeLog 2024-04-28 10:03:20 +02:00
63f88a2076 Minor fixes 2024-04-28 10:03:20 +02:00
Gregory Soutade
b8223a87ad Server: Improve URL match 2023-12-03 10:11:07 +01:00
10 changed files with 31 additions and 21 deletions

View File

@@ -1,3 +1,13 @@
**v1.3 :**
Server
* Improve filter URL match
Addon
* Minor bug fixes
CLI
**v1.2 :**
Server

View File

@@ -376,9 +376,9 @@ function createMenus(browser)
/* Not supported by Chrome */
if (browser.menus.onShown)
title = 'Disable gPass for this website';
title = 'Disable form\'s hook for this website';
else
title = 'Disable or enable gPass for this website';
title = 'Disable or enable form\'s hook for this website';
/* Enable/disable */
browser.menus.create({
@@ -389,9 +389,9 @@ function createMenus(browser)
/* Not supported by Chrome */
if (browser.menus.onShown)
title = 'Disable gPass for ALL websites';
title = 'Disable form\'s hook for ALL websites';
else
title = 'Disable or enable gPass for ALL websites';
title = 'Disable or enable form\'s hook for ALL websites';
/* Always enable/disable */
browser.menus.create({

View File

@@ -219,6 +219,7 @@ function on_sumbit(e)
if (!password_computed)
{
debug("No password computed");
if (form.submit)
form.submit();
}
@@ -242,6 +243,7 @@ function set_password(form, field, password, do_submit)
evt.which = 13;
field.dispatchEvent(evt);
// Submit form
if (form.submit)
form.submit();
}
}

View File

@@ -3,11 +3,11 @@
"name": "gPass",
"short_name": "gPass",
"version": "1.2",
"version": "1.3",
"description": "gPass : global password manager",
"icons" : {"16":"icons/gpass_icon_16.png", "32":"icons/gpass_icon_32.png", "64":"icons/gpass_icon_64.png", "128":"icons/gpass_icon_128.png"},
"author" : "Grégory Soutadé",
"homepage_url" : "http://indefero.soutade.fr/p/gpass",
"homepage_url" : "https://forge.soutade.fr/soutade/gPass",
"content_scripts": [
{

View File

@@ -180,7 +180,6 @@ function _query_tabs_init(tabs)
url += '&user=' + document.getElementById("gPassUsername").value;
var link = document.getElementById("serverLink");
link.href = url;
return true;
});

View File

@@ -30,7 +30,7 @@ function _notification(message, data)
type: "basic",
title : "gPass",
message : message,
iconUrl:browser.extension.getURL("icons/gpass_icon_64.png")
iconUrl: browser.runtime.getURL("icons/gpass_icon_64.png")
};
browser.notifications.create("gPass", options, function(){});

View File

@@ -28,7 +28,7 @@ function _notification(message, data)
type: "basic",
title : "gPass",
message : message,
iconUrl:browser.extension.getURL("icons/gpass_icon_64.png")
iconUrl: browser.runtime.getURL("icons/gpass_icon_64.png")
};
browser.notifications.create(options).then(

View File

@@ -3,11 +3,11 @@
"name": "gPass",
"short_name": "gPass",
"version": "1.1",
"version": "1.3",
"description": "gPass : global password manager",
"icons" : {"16":"icons/gpass_icon_16.png", "32":"icons/gpass_icon_32.png", "64":"icons/gpass_icon_64.png", "128":"icons/gpass_icon_128.png"},
"author" : "Grégory Soutadé",
"homepage_url" : "http://indefero.soutade.fr/p/gpass",
"homepage_url" : "https://forge.soutade.fr/soutade/gPass",
"content_scripts": [
{

View File

@@ -73,8 +73,8 @@ else
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<link rel="icon" type="image/png" href="resources/favicon.png" />
<link rel="stylesheet" type="text/css" href="resources/gpass.css" />
<link rel="icon" type="image/png" href="/resources/favicon.png" />
<link rel="stylesheet" type="text/css" href="/resources/gpass.css" />
<script language="javascript">
<?php
echo "pbkdf2_level=$PBKDF2_LEVEL; use_shadow_logins=$USE_SHADOW_LOGINS;\n";

View File

@@ -121,7 +121,6 @@ function clear_form()
inputs[i].type == "password")
inputs[i].value = "";
}
chkPass("");
}
function url_domain(data) {
@@ -458,7 +457,7 @@ function password_filter_changed()
target_url = elem.value.replace('*', '') ;
try {
if (target_url.match(filter))
if (target_url.match(filter) || filter.match(target_url))
password_div.appendChild(div);
}
/* Forgive re errors */