Browse Source

Rebranding: Initial work on renaming to nuTensor

xofe-minor-fixes-3
Ian Parker 4 years ago
parent
commit
b2f09f89b5
  1. 3
      CONTRIBUTING.md
  2. 2
      assets/assets.json
  3. 22
      doc/README.md
  4. 8
      platform/chromium/manifest.json
  5. 4
      platform/chromium/vapi.js
  6. 8
      platform/firefox/manifest.json
  7. 12
      src/about.html
  8. 2
      src/background.html
  9. 2
      src/hosts-files.html
  10. 4
      src/popup.html
  11. 2
      src/settings.html

3
CONTRIBUTING.md

@ -1,5 +1,4 @@
### Submitting issues ### Submitting issues
Submit on <https://github.com/uBlockOrigin/uMatrix-issues/issues>.
Submit on <https://github.com/geekprojects/nuTensor/issues>.
Issue tracker here is read-only for non-[prior contributors](https://github.com/gorhill/uMatrix/graphs/contributors).

2
assets/assets.json

@ -3,7 +3,7 @@
"content": "internal", "content": "internal",
"updateAfter": 13, "updateAfter": 13,
"contentURL": [ "contentURL": [
"https://raw.githubusercontent.com/gorhill/uMatrix/master/assets/assets.json",
"https://raw.githubusercontent.com/geekprojects/nuTensor/master/assets/assets.json",
"assets/assets.json" "assets/assets.json"
] ]
}, },

22
doc/README.md

@ -2,16 +2,16 @@
#### Chromium #### Chromium
- Download and unzip `uMatrix.chromium.zip` ([latest release desirable](https://github.com/gorhill/uMatrix/releases)).
- Rename the unzipped directory to `umatrix`
- When you later update manually, replace the **content** of the `umatrix` folder with the **content** of the latest zipped version.
- Download and unzip `nuTensor.chromium.zip` ([latest release desirable](https://github.com/geekprojects/nuTensor/releases)).
- Rename the unzipped directory to `nuTensor`
- When you later update manually, replace the **content** of the `nuTensor` folder with the **content** of the latest zipped version.
- This will ensure that all the extension settings will be preserved - This will ensure that all the extension settings will be preserved
- As long as the extension loads **from same folder path from which it was originally installed**, all your settings will be preserved. - As long as the extension loads **from same folder path from which it was originally installed**, all your settings will be preserved.
- Go to chromium/chrome *Extensions*. - Go to chromium/chrome *Extensions*.
- Click to check *Developer mode*. - Click to check *Developer mode*.
- Click *Load unpacked extension...*. - Click *Load unpacked extension...*.
- In the file selector dialog: - In the file selector dialog:
- Select the directory `umatrix` which was created above.
- Select the directory `nuTensor` which was created above.
- Click *Open*. - Click *Open*.
The extension will now be available in your chromium/chromium-based browser. The extension will now be available in your chromium/chromium-based browser.
@ -22,16 +22,16 @@ Remember that you have to update manually also. For some users, updating manuall
#### Firefox #### Firefox
Although uMatrix is a restartless addon, I found that **installing** a newer version over an older one often will glitch the installation. These steps always worked fine:
Although nuTensor is a restartless addon, I found that **installing** a newer version over an older one often will glitch the installation. These steps always worked fine:
- Download `uMatrix.firefox.xpi` ([latest release desirable](https://github.com/gorhill/uMatrix/releases)).
- Uninstall current uMatrix if already installed
- Download `nuTensor.firefox.xpi` ([latest release desirable](https://github.com/geekprojects/nuTensor/releases)).
- Uninstall current nuTensor if already installed
- Quit Firefox completely - Quit Firefox completely
- Launch Firefox - Launch Firefox
- Drag and drop the previously downloaded `uMatrix.firefox.xpi` into Firefox
- Drag and drop the previously downloaded `nuTensor.firefox.xpi` into Firefox
uMatrix settings are kept intact even after you uninstall the addon.
nuTensor settings are kept intact even after you uninstall the addon.
On Linux, the settings are saved in a SQlite file located at `~/.mozilla/firefox/[profile name]/extension-data/umatrix.sqlite`.
On Linux, the settings are saved in a SQlite file located at `~/.mozilla/firefox/[profile name]/extension-data/nuTensor.sqlite`.
On Windows, the settings are saved in a SQlite file located at `%APPDATA%\Mozilla\Firefox\Profiles\[profile name]\extension-data\umatrix.sqlite`.
On Windows, the settings are saved in a SQlite file located at `%APPDATA%\Mozilla\Firefox\Profiles\[profile name]\extension-data\nuTensor.sqlite`.

8
platform/chromium/manifest.json

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "uMatrix",
"short_name": "uMatrix",
"name": "nuTensor",
"short_name": "nuTensor",
"version": "1.3.3.8", "version": "1.3.3.8",
"description": "__MSG_extShortDesc__", "description": "__MSG_extShortDesc__",
"icons": { "icons": {
@ -12,7 +12,7 @@
"default_icon": { "default_icon": {
"19": "img/browsericons/icon19-19.png" "19": "img/browsericons/icon19-19.png"
}, },
"default_title": "uMatrix",
"default_title": "nuTensor",
"default_popup": "popup.html" "default_popup": "popup.html"
}, },
"author": "Raymond Hill", "author": "Raymond Hill",
@ -34,7 +34,7 @@
} }
], ],
"default_locale": "en", "default_locale": "en",
"homepage_url": "https://github.com/gorhill/uMatrix/wiki",
"homepage_url": "https://github.com/geekprojects/nuTensor",
"minimum_chrome_version": "45.0", "minimum_chrome_version": "45.0",
"options_ui": { "options_ui": {
"page": "dashboard.html", "page": "dashboard.html",

4
platform/chromium/vapi.js

@ -59,10 +59,10 @@ if (
/^image\/|^text\/plain/.test(document.contentType || '') === false /^image\/|^text\/plain/.test(document.contentType || '') === false
) && ) &&
( (
self.vAPI instanceof Object === false || vAPI.uMatrix !== true
self.vAPI instanceof Object === false || vAPI.nuTensor !== true
) )
) { ) {
vAPI = self.vAPI = { uMatrix: true };
vAPI = self.vAPI = { nuTensor: true };
} }

8
platform/firefox/manifest.json

@ -1,7 +1,7 @@
{ {
"browser_specific_settings": { "browser_specific_settings": {
"gecko": { "gecko": {
"id": "uMatrix@raymondhill.net",
"id": "nuTensor@geekprojects.com",
"strict_min_version": "56.0a1" "strict_min_version": "56.0a1"
} }
}, },
@ -14,7 +14,7 @@
"default_icon": { "default_icon": {
"19": "img/browsericons/icon19-off.png" "19": "img/browsericons/icon19-off.png"
}, },
"default_title": "uMatrix",
"default_title": "nuTensor",
"default_popup": "popup.html" "default_popup": "popup.html"
}, },
"content_scripts": [ "content_scripts": [
@ -38,7 +38,7 @@
"128": "img/icon_128.png" "128": "img/icon_128.png"
}, },
"manifest_version": 2, "manifest_version": 2,
"name": "uMatrix",
"name": "nuTensor",
"options_ui": { "options_ui": {
"page":"dashboard.html", "page":"dashboard.html",
"open_in_tab": true "open_in_tab": true
@ -55,7 +55,7 @@
"webRequestBlocking", "webRequestBlocking",
"<all_urls>" "<all_urls>"
], ],
"short_name": "uMatrix",
"short_name": "nuTensor",
"sidebar_action": { "sidebar_action": {
"default_title": "__MSG_loggerPageName__", "default_title": "__MSG_loggerPageName__",
"default_panel": "logger-ui.html", "default_panel": "logger-ui.html",

12
src/about.html

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>uMatrix — About</title>
<title>nuTensor — About</title>
<link rel="stylesheet" type="text/css" href="css/common.css"> <link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/dashboard-common.css"> <link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
<style> <style>
@ -19,17 +19,17 @@ ul {
<body> <body>
<div class="body"> <div class="body">
<h3>uMatrix <span id="aboutVersion"></span></h3>
<h3>nuTensor <span id="aboutVersion"></span></h3>
<ul> <ul>
<li>Copyright (c) Raymond Hill 2013-present<br>
<li>Copyright (c) Raymond Hill 2013-2020<br>
<li>&nbsp; <li>&nbsp;
<li><span id="aboutStorageUsed"></span><br> <li><span id="aboutStorageUsed"></span><br>
<li>&nbsp; <li>&nbsp;
<li><span data-i18n="aboutChangelog"></span><br> <li><span data-i18n="aboutChangelog"></span><br>
<li><a href="https://github.com/gorhill/uMatrix/wiki"><span data-i18n="aboutDoc"></span></a><br>
<li><a href="https://github.com/geekprojects/nuTensor/wiki"><span data-i18n="aboutDoc"></span></a><br>
<li><span data-i18n="aboutPermissions"></span><br> <li><span data-i18n="aboutPermissions"></span><br>
<li><a href="https://github.com/gorhill/uMatrix" data-i18n="aboutCode"></a><br>
<li><a href="https://github.com/uBlockOrigin/uMatrix-issues/issues" data-i18n="aboutIssues"></a><br>
<li><a href="https://github.com/geekprojects/nuTensor" data-i18n="aboutCode"></a><br>
<li><a href="https://github.com/geekprojects/nuTensor/issues" data-i18n="aboutIssues"></a><br>
<li><span data-i18n="aboutContributors"></span> <li><span data-i18n="aboutContributors"></span>
<ul> <ul>
<li><span data-i18n="aboutCodeContributors"></span> <a href="https://github.com/gorhill/uMatrix/graphs/contributors">uMatrix, <a href="https://github.com/gorhill/httpswitchboard/graphs/contributors">HTTP Switchboard</a> <li><span data-i18n="aboutCodeContributors"></span> <a href="https://github.com/gorhill/uMatrix/graphs/contributors">uMatrix, <a href="https://github.com/gorhill/httpswitchboard/graphs/contributors">HTTP Switchboard</a>

2
src/background.html

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>uMatrix</title>
<title>nuTensor</title>
</head> </head>
<body> <body>
<script src="js/console.js"></script> <script src="js/console.js"></script>

2
src/hosts-files.html

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>uMatrix — Hosts files</title>
<title>nuTensor — Hosts files</title>
<link rel="stylesheet" href="css/fa-icons.css"> <link rel="stylesheet" href="css/fa-icons.css">
<link rel="stylesheet" href="css/common.css"> <link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/dashboard-common.css"> <link rel="stylesheet" href="css/dashboard-common.css">

4
src/popup.html

@ -8,13 +8,13 @@
<link rel="stylesheet" href="css/common.css"> <link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/scope-selector.css"> <link rel="stylesheet" href="css/scope-selector.css">
<link rel="stylesheet" href="css/popup.css"> <link rel="stylesheet" href="css/popup.css">
<title>uMatrix panel</title>
<title>nuTensor panel</title>
</head> </head>
<body> <body>
<div class="paneHead"> <div class="paneHead">
<div id="gotoDashboard" data-extension-url="dashboard.html" data-i18n-tip="matrixDashboardMenuEntry">uMatrix <span id="version"> </span></div>
<div id="gotoDashboard" data-extension-url="dashboard.html" data-i18n-tip="matrixDashboardMenuEntry">nuTensor <span id="version"> </span></div>
<div id="toolbarContainer"> <div id="toolbarContainer">
<div class="toolbar"> <div class="toolbar">
<span class="scope" id="specificScope"><span>&nbsp;</span></span><!-- <span class="scope" id="specificScope"><span>&nbsp;</span></span><!--

2
src/settings.html

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>uMatrix — Settings</title>
<title>nuTensor — Settings</title>
<link rel="stylesheet" href="css/fa-icons.css"> <link rel="stylesheet" href="css/fa-icons.css">
<link rel="stylesheet" href="css/common.css"> <link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/dashboard-common.css"> <link rel="stylesheet" href="css/dashboard-common.css">

Loading…
Cancel
Save