Compare commits
5 Commits
dd95d5a0ac
...
812a1b6110
Author | SHA1 | Date |
---|---|---|
Thomas Rupprecht | 812a1b6110 | |
Thomas Rupprecht | 8410af011b | |
Thomas Rupprecht | ae56bdf5bc | |
Thomas Rupprecht | 91e6bd10b6 | |
Thomas Rupprecht | d97dc9da87 |
37
CHANGELOG.md
37
CHANGELOG.md
|
@ -7,10 +7,13 @@ All notable changes to this project will be documented in this file.
|
|||
### ⛰️ Features
|
||||
|
||||
- Add `eslint` with `unicorn`, `jsdoc`, `no-unsanitized` plugins
|
||||
- Import `extension.css` as layer via css
|
||||
- Update git url from `gitea.usrspace.at` to `git.usrspace.at`
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- Update web-ext to support newer browser APIs and remove `addon-linter` override
|
||||
- Fix background script init
|
||||
|
||||
### 🚜 Refactor
|
||||
|
||||
|
@ -20,8 +23,10 @@ All notable changes to this project will be documented in this file.
|
|||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- Make `Calendar` types readonly
|
||||
- Update `package-lock.json`
|
||||
- Update `eslint`, `eslint-plugin-jsdoc`
|
||||
|
||||
## \[[0.9.3](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.3)] - 2023-09-06
|
||||
## \[[0.9.3](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.3)] - 2023-09-06
|
||||
|
||||
### ⛰️ Features
|
||||
|
||||
|
@ -58,7 +63,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Update @commitlint/{cli,config-conventional,cz-commitlint}
|
||||
- Update @commitlint/{cli,config-conventional,cz-commitlint}, git-cliff
|
||||
|
||||
## \[[0.9.2](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.2)] - 2023-05-24
|
||||
## \[[0.9.2](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.2)] - 2023-05-24
|
||||
|
||||
### ⛰️ Features
|
||||
|
||||
|
@ -95,7 +100,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Add pre-commit hook with husky
|
||||
- Improve git-cliff config
|
||||
|
||||
## \[[0.9.1](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.1)] - 2023-01-22
|
||||
## \[[0.9.1](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.1)] - 2023-01-22
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
|
@ -105,7 +110,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Await init
|
||||
- Add link to Pad
|
||||
|
||||
## \[[0.9.0](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.0)] - 2023-01-20
|
||||
## \[[0.9.0](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.0)] - 2023-01-20
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
|
@ -113,7 +118,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Update to manifest_version v3
|
||||
- Make code compatible with manifest_version v3
|
||||
|
||||
## \[[0.8.7](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.7)] - 2023-01-20
|
||||
## \[[0.8.7](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.7)] - 2023-01-20
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
|
@ -126,13 +131,13 @@ All notable changes to this project will be documented in this file.
|
|||
- Remove persistent flag in manifest config
|
||||
- Open usrspace.at homepage on install
|
||||
|
||||
## \[[0.8.6](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.6)] - 2023-01-05
|
||||
## \[[0.8.6](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.6)] - 2023-01-05
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
- Change addon id to currently used one
|
||||
|
||||
## \[[0.8.5](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.5)] - 2023-01-05
|
||||
## \[[0.8.5](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.5)] - 2023-01-05
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
|
@ -142,7 +147,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Inject browser-polyfill only in chromium builds
|
||||
- Add addon id
|
||||
|
||||
## \[[0.8.4](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.4)] - 2023-01-05
|
||||
## \[[0.8.4](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.4)] - 2023-01-05
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
|
@ -151,13 +156,13 @@ All notable changes to this project will be documented in this file.
|
|||
- Simplify updateSpaceApiJson
|
||||
- Add lint script
|
||||
|
||||
## \[[0.8.3](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.3)] - 2023-01-04
|
||||
## \[[0.8.3](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.3)] - 2023-01-04
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
- Update strict_min_version to 57.0
|
||||
|
||||
## \[[0.8.2](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.2)] - 2023-01-04
|
||||
## \[[0.8.2](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.2)] - 2023-01-04
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
|
@ -165,7 +170,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Set html lang by browser language
|
||||
- Improve popup styling
|
||||
|
||||
## \[[0.8.1](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.1)] - 2022-12-25
|
||||
## \[[0.8.1](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.1)] - 2022-12-25
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
|
@ -184,7 +189,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Unfiy codestyle
|
||||
- Cleanup data on startup
|
||||
|
||||
## \[[0.8.0](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.0)] - 2022-12-24
|
||||
## \[[0.8.0](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.0)] - 2022-12-24
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
|
@ -202,7 +207,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Increase svg size
|
||||
- Set build filename
|
||||
|
||||
## \[[0.7](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.7)] - 2021-11-06
|
||||
## \[[0.7](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.7)] - 2021-11-06
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
|
@ -227,19 +232,19 @@ All notable changes to this project will be documented in this file.
|
|||
- Change icon
|
||||
- Remove old html code and load right svg
|
||||
|
||||
## \[[0.4](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.4)] - 2019-10-04
|
||||
## \[[0.4](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.4)] - 2019-10-04
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- Fix wrong icon
|
||||
|
||||
## \[[0.3](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.3)] - 2019-10-04
|
||||
## \[[0.3](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.3)] - 2019-10-04
|
||||
|
||||
### ✳️ Other
|
||||
|
||||
- Improve popup content
|
||||
|
||||
## \[[0.2](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.2)] - 2019-08-28
|
||||
## \[[0.2](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.2)] - 2019-08-28
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
## Install
|
||||
|
||||
```ssh
|
||||
$ git clone https://gitea.usrspace.at/XimeX/usrspace-browser-addon.git
|
||||
$ git clone https://git.usrspace.at/XimeX/usrspace-browser-addon.git
|
||||
# optional
|
||||
$ npm i -g web-ext
|
||||
$ npm i
|
||||
|
|
|
@ -15,7 +15,7 @@ All notable changes to this project will be documented in this file.\n
|
|||
# https://tera.netlify.app/docs/
|
||||
body = """
|
||||
{% if version %}\
|
||||
## \\[[{{ version | trim_start_matches(pat="v") }}](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/{{ version }})] - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
## \\[[{{ version | trim_start_matches(pat="v") }}](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/{{ version }})] - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
{% else %}\
|
||||
## \\[unreleased]
|
||||
{% endif %}\
|
||||
|
@ -42,7 +42,7 @@ filter_unconventional = false
|
|||
split_commits = false
|
||||
# regex for preprocessing the commit messages
|
||||
commit_preprocessors = [
|
||||
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/issues/${2}))" },
|
||||
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://git.usrspace.at/XimeX/usrspace-browser-addon/issues/${2}))" },
|
||||
]
|
||||
# regex for parsing and grouping commits
|
||||
commit_parsers = [
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "usrspace-browser-addon",
|
||||
"version": "0.9.3",
|
||||
"version": "0.9.4",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "usrspace-browser-addon",
|
||||
"version": "0.9.3",
|
||||
"version": "0.9.4",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
@ -18,8 +18,8 @@
|
|||
"@commitlint/cz-commitlint": "^17.7.1",
|
||||
"@types/firefox-webext-browser": "^111.0.1",
|
||||
"commitizen": "^4.3.0",
|
||||
"eslint": "^8.48.0",
|
||||
"eslint-plugin-jsdoc": "^46.5.1",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-plugin-jsdoc": "^46.6.0",
|
||||
"eslint-plugin-no-unsanitized": "^4.0.2",
|
||||
"eslint-plugin-unicorn": "^48.0.1",
|
||||
"git-cliff": "^1.3.0",
|
||||
|
@ -664,9 +664,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@eslint-community/regexpp": {
|
||||
"version": "4.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.0.tgz",
|
||||
"integrity": "sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg==",
|
||||
"version": "4.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.1.tgz",
|
||||
"integrity": "sha512-PWiOzLIUAjN/w5K17PoF4n6sKBw0gqLHPhywmYHP4t1VFQQVYeb1yWsJwnMVEMl3tUHME7X/SJPZLmtG7XBDxQ==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
|
||||
|
@ -718,9 +718,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/@eslint/js": {
|
||||
"version": "8.48.0",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz",
|
||||
"integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==",
|
||||
"version": "8.49.0",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.49.0.tgz",
|
||||
"integrity": "sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||
|
@ -1163,6 +1163,15 @@
|
|||
"node": ">=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/addons-linter/node_modules/@eslint/js": {
|
||||
"version": "8.48.0",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz",
|
||||
"integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/addons-linter/node_modules/addons-scanner-utils": {
|
||||
"version": "9.3.0",
|
||||
"resolved": "https://registry.npmjs.org/addons-scanner-utils/-/addons-scanner-utils-9.3.0.tgz",
|
||||
|
@ -1206,6 +1215,76 @@
|
|||
"balanced-match": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/addons-linter/node_modules/eslint": {
|
||||
"version": "8.48.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz",
|
||||
"integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@eslint-community/eslint-utils": "^4.2.0",
|
||||
"@eslint-community/regexpp": "^4.6.1",
|
||||
"@eslint/eslintrc": "^2.1.2",
|
||||
"@eslint/js": "8.48.0",
|
||||
"@humanwhocodes/config-array": "^0.11.10",
|
||||
"@humanwhocodes/module-importer": "^1.0.1",
|
||||
"@nodelib/fs.walk": "^1.2.8",
|
||||
"ajv": "^6.12.4",
|
||||
"chalk": "^4.0.0",
|
||||
"cross-spawn": "^7.0.2",
|
||||
"debug": "^4.3.2",
|
||||
"doctrine": "^3.0.0",
|
||||
"escape-string-regexp": "^4.0.0",
|
||||
"eslint-scope": "^7.2.2",
|
||||
"eslint-visitor-keys": "^3.4.3",
|
||||
"espree": "^9.6.1",
|
||||
"esquery": "^1.4.2",
|
||||
"esutils": "^2.0.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"file-entry-cache": "^6.0.1",
|
||||
"find-up": "^5.0.0",
|
||||
"glob-parent": "^6.0.2",
|
||||
"globals": "^13.19.0",
|
||||
"graphemer": "^1.4.0",
|
||||
"ignore": "^5.2.0",
|
||||
"imurmurhash": "^0.1.4",
|
||||
"is-glob": "^4.0.0",
|
||||
"is-path-inside": "^3.0.3",
|
||||
"js-yaml": "^4.1.0",
|
||||
"json-stable-stringify-without-jsonify": "^1.0.1",
|
||||
"levn": "^0.4.1",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"minimatch": "^3.1.2",
|
||||
"natural-compare": "^1.4.0",
|
||||
"optionator": "^0.9.3",
|
||||
"strip-ansi": "^6.0.1",
|
||||
"text-table": "^0.2.0"
|
||||
},
|
||||
"bin": {
|
||||
"eslint": "bin/eslint.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://opencollective.com/eslint"
|
||||
}
|
||||
},
|
||||
"node_modules/addons-linter/node_modules/eslint/node_modules/ajv": {
|
||||
"version": "6.12.6",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
|
||||
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"fast-deep-equal": "^3.1.1",
|
||||
"fast-json-stable-stringify": "^2.0.0",
|
||||
"json-schema-traverse": "^0.4.1",
|
||||
"uri-js": "^4.2.2"
|
||||
},
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/epoberezkin"
|
||||
}
|
||||
},
|
||||
"node_modules/addons-linter/node_modules/glob": {
|
||||
"version": "10.3.4",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-10.3.4.tgz",
|
||||
|
@ -1228,7 +1307,7 @@
|
|||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/addons-linter/node_modules/minimatch": {
|
||||
"node_modules/addons-linter/node_modules/glob/node_modules/minimatch": {
|
||||
"version": "9.0.3",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
|
||||
"integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
|
||||
|
@ -1243,6 +1322,12 @@
|
|||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/addons-linter/node_modules/json-schema-traverse": {
|
||||
"version": "0.4.1",
|
||||
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
||||
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/addons-linter/node_modules/node-fetch": {
|
||||
"version": "2.6.11",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz",
|
||||
|
@ -1999,9 +2084,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/cli-spinners": {
|
||||
"version": "2.9.0",
|
||||
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.0.tgz",
|
||||
"integrity": "sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==",
|
||||
"version": "2.9.1",
|
||||
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.1.tgz",
|
||||
"integrity": "sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ==",
|
||||
"dev": true,
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
|
@ -2415,9 +2500,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/cosmiconfig": {
|
||||
"version": "8.3.4",
|
||||
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.4.tgz",
|
||||
"integrity": "sha512-SF+2P8+o/PTV05rgsAjDzL4OFdVXAulSfC/L19VaeVT7+tpOOSscCt2QLxDZ+CLxF2WOiq6y1K5asvs8qUJT/Q==",
|
||||
"version": "8.3.6",
|
||||
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz",
|
||||
"integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"import-fresh": "^3.3.0",
|
||||
|
@ -3089,16 +3174,16 @@
|
|||
}
|
||||
},
|
||||
"node_modules/eslint": {
|
||||
"version": "8.48.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz",
|
||||
"integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==",
|
||||
"version": "8.49.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.49.0.tgz",
|
||||
"integrity": "sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@eslint-community/eslint-utils": "^4.2.0",
|
||||
"@eslint-community/regexpp": "^4.6.1",
|
||||
"@eslint/eslintrc": "^2.1.2",
|
||||
"@eslint/js": "8.48.0",
|
||||
"@humanwhocodes/config-array": "^0.11.10",
|
||||
"@eslint/js": "8.49.0",
|
||||
"@humanwhocodes/config-array": "^0.11.11",
|
||||
"@humanwhocodes/module-importer": "^1.0.1",
|
||||
"@nodelib/fs.walk": "^1.2.8",
|
||||
"ajv": "^6.12.4",
|
||||
|
@ -3143,9 +3228,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-jsdoc": {
|
||||
"version": "46.5.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.5.1.tgz",
|
||||
"integrity": "sha512-CPbvKprmEuJYoxMj5g8gXfPqUGgcqMM6jpH06Kp4pn5Uy5MrPkFKzoD7UFp2E4RBzfXbJz1+TeuEivwFVMkXBg==",
|
||||
"version": "46.6.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-46.6.0.tgz",
|
||||
"integrity": "sha512-T/1gzsvnX45qABzyPEonEhFDttkTn7Igm/X89TXIkTLBOsNl2GYtyBqQPZGXZZ8J5VBzEhiCMvI2P2kXX4dnFw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@es-joy/jsdoccomment": "~0.40.1",
|
||||
|
@ -5738,9 +5823,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/nan": {
|
||||
"version": "2.17.0",
|
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz",
|
||||
"integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==",
|
||||
"version": "2.18.0",
|
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz",
|
||||
"integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "usrspace-browser-addon",
|
||||
"description": "WebExtension for the Hacker-/Maker-Space /usr/space",
|
||||
"version": "0.9.3",
|
||||
"version": "0.9.4",
|
||||
"dependencies": {
|
||||
"webextension-polyfill": "^0.10.0"
|
||||
},
|
||||
|
@ -11,8 +11,8 @@
|
|||
"@commitlint/cz-commitlint": "^17.7.1",
|
||||
"@types/firefox-webext-browser": "^111.0.1",
|
||||
"commitizen": "^4.3.0",
|
||||
"eslint": "^8.48.0",
|
||||
"eslint-plugin-jsdoc": "^46.5.1",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-plugin-jsdoc": "^46.6.0",
|
||||
"eslint-plugin-no-unsanitized": "^4.0.2",
|
||||
"eslint-plugin-unicorn": "^48.0.1",
|
||||
"git-cliff": "^1.3.0",
|
||||
|
@ -59,7 +59,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.usrspace.at/XimeX/usrspace-browser-addon"
|
||||
"url": "https://git.usrspace.at/XimeX/usrspace-browser-addon"
|
||||
},
|
||||
"keywords": [
|
||||
"/usr/space"
|
||||
|
|
|
@ -2,6 +2,8 @@ import { REFRESH_TIMEOUT, HOMEPAGE, API_URLS, BADGE_COLORS } from './config.js';
|
|||
// [INJECT-BROWSER-POLYFILL]
|
||||
|
||||
browser.runtime.onInstalled.addListener(async (details) => {
|
||||
init();
|
||||
|
||||
if (details.reason === 'install') {
|
||||
await browser.tabs.create({
|
||||
url: HOMEPAGE,
|
||||
|
@ -9,6 +11,10 @@ browser.runtime.onInstalled.addListener(async (details) => {
|
|||
}
|
||||
});
|
||||
|
||||
browser.runtime.onStartup.addListener(async () => {
|
||||
init();
|
||||
});
|
||||
|
||||
browser.alarms.onAlarm.addListener((alarm) => {
|
||||
if (alarm.name === 'fetchData') {
|
||||
fetchNewData();
|
||||
|
@ -107,5 +113,3 @@ function init() {
|
|||
periodInMinutes: REFRESH_TIMEOUT,
|
||||
});
|
||||
}
|
||||
|
||||
init();
|
||||
|
|
|
@ -26,7 +26,7 @@ export const QUICK_LINKS = [
|
|||
},
|
||||
{
|
||||
iconTemplateId: 'template-icon-git',
|
||||
url: 'https://gitea.usrspace.at/',
|
||||
url: 'https://git.usrspace.at/',
|
||||
text: 'Git',
|
||||
},
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"manifest_version": 3,
|
||||
"name": "__MSG_extensionName__",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"version": "0.9.3",
|
||||
"version": "0.9.4",
|
||||
"icons": {
|
||||
"48": "icons/favicon.svg",
|
||||
"96": "icons/favicon.svg"
|
||||
|
@ -20,7 +20,7 @@
|
|||
"default_locale": "de",
|
||||
"permissions": ["alarms", "notifications", "storage"],
|
||||
"author": "Thomas Rupprecht",
|
||||
"homepage_url": "https://gitea.usrspace.at/XimeX/usrspace-browser-addon",
|
||||
"homepage_url": "https://git.usrspace.at/XimeX/usrspace-browser-addon",
|
||||
"developer": {
|
||||
"name": "Thomas Rupprecht",
|
||||
"url": "https://blog.ximex.at/"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import url('extension.css') layer(extension);
|
||||
|
||||
@font-face {
|
||||
font-family: 'Nunito Sans';
|
||||
font-style: normal;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>/usr/space</title>
|
||||
<link rel="stylesheet" href="extension.css" />
|
||||
<link rel="stylesheet" href="popup.css" />
|
||||
|
||||
<template id="template-icon-closed">
|
||||
|
|
Loading…
Reference in New Issue