Repo metadata and code to match dataleak -> jestr rename

This commit is contained in:
Fredrik Wollsén 2018-10-23 09:17:17 +02:00
Родитель 45edb67dbb
Коммит ff83e7d1c1
7 изменённых файлов: 13 добавлений и 13 удалений

Просмотреть файл

@ -1,4 +1,4 @@
# Dataleak Pioneer Shield Study
# JESTr Pioneer Shield Study
[![CircleCI badge](https://img.shields.io/circleci/project/github/motin/jestr-pioneer-shield-study/master.svg?label=CircleCI)](https://circleci.com/gh/motin/jestr-pioneer-shield-study/)
[![Coverage Status](https://coveralls.io/repos/github/motin/jestr-pioneer-shield-study/badge.svg)](https://coveralls.io/github/motin/jestr-pioneer-shield-study)

Просмотреть файл

@ -1,6 +1,6 @@
import idb from "idb";
const dbName = "dataleakPioneerShieldStudy";
const dbName = "jestrPioneerShieldStudy";
let db;
@ -10,7 +10,7 @@ export async function initDb() {
upgradeDB.createObjectStore("studyLog", {
autoIncrement: true,
});
upgradeDB.createObjectStore("dataLeaks", {
upgradeDB.createObjectStore("navigations", {
autoIncrement: true,
});
});
@ -37,8 +37,8 @@ export async function dumpDbContents() {
const studyLogDbContents = await getAllData("studyLog");
console.log("studyLogDbContents", studyLogDbContents);
const dataLeaksDbContents = await getAllData("dataLeaks");
console.log("dataLeaksDbContents", dataLeaksDbContents);
const navigationsDbContents = await getAllData("navigations");
console.log("navigationsDbContents", navigationsDbContents);
console.log("=========================");
console.log("Dumping Database Contents - Done");

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "jestr-pioneer-shield-study",
"description": "Data Leak Pioneer Shield Study",
"description": "JESTr Pioneer Shield Study",
"version": "0.3.0",
"author": "Fredrik Wollsén <fwollsen@mozilla.org>",
"bugs": {

Просмотреть файл

@ -1,15 +1,15 @@
{
"extensionName": {
"message": "Data Leak Pioneer Shield Study",
"message": "JESTr Pioneer Shield Study",
"description": "Name of the extension"
},
"extensionDescription": {
"message": "Data Leak Pioneer Shield Study",
"message": "JESTr Pioneer Shield Study",
"description": "Description of the extension."
},
"buttonTitle": {
"message":
"Data Leak Pioneer Shield Study Debug (Click and check Browser Console)",
"JESTr Pioneer Shield Study Debug (Click and check Browser Console)",
"description":
"Description shown on the toolbar when hovered. DO NOT localise 'Mozilla'."
}

Просмотреть файл

@ -15,7 +15,7 @@ function handleHidden() {
Create a panel, and add listeners for panel show/hide events.
*/
browser.devtools.panels
.create("Dataleaks", "/icons/star.png", "/devtools/panel/panel.html")
.create("JESTr Debug", "/icons/star.png", "/devtools/panel/panel.html")
.then(newPanel => {
newPanel.onShown.addListener(handleShown);
newPanel.onHidden.addListener(handleHidden);

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "Data Leak Pioneer Shield Study",
"name": "JESTr Pioneer Shield Study",
"description": "__MSG_extensionDescription__",
"version": "0.2.0",
"version": "0.3.0",
"manifest_version": 2,
"applications": {
"gecko": {

Просмотреть файл

@ -54,7 +54,7 @@ describe("ui button (browserAction)", function() {
const text = await button.getAttribute("tooltiptext");
return assert.equal(
text,
"Data Leak Pioneer Shield Study Debug (Click and check Browser Console)",
"JESTr Pioneer Shield Study Debug (Click and check Browser Console)",
);
});
*/