Commit graph

2680 commits

Author SHA1 Message Date
Oliver Blanthorn
f755f1c568
Merge pull request #1478 from tridactyl/dependabot/npm_and_yarn/@types/node-11.13.4
Bump @types/node from 11.10.4 to 11.13.4
2019-04-17 13:54:39 +01:00
Oliver Blanthorn
e5cd23daf9
Merge pull request #1477 from tridactyl/dependabot/npm_and_yarn/webpack-4.30.0
Bump webpack from 4.29.6 to 4.30.0
2019-04-17 13:54:13 +01:00
Oliver Blanthorn
ac5f80376f
Merge pull request #1475 from tridactyl/dependabot/npm_and_yarn/ts-node-8.1.0
Bump ts-node from 8.0.2 to 8.1.0
2019-04-17 13:52:33 +01:00
dependabot[bot]
d9cf00fdc2
Bump @types/node from 11.10.4 to 11.13.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 11.10.4 to 11.13.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 12:43:04 +00:00
dependabot[bot]
e9a030b376
Bump ts-node from 8.0.2 to 8.1.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.0.2 to 8.1.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.0.2...v8.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 12:42:47 +00:00
Oliver Blanthorn
c54468b515
Merge pull request #1476 from tridactyl/dependabot/npm_and_yarn/typedoc-default-themes-74b17dd
Bump typedoc-default-themes from `a57a085` to `74b17dd`
2019-04-17 13:41:50 +01:00
dependabot[bot]
49ea77ceac
Bump webpack from 4.29.6 to 4.30.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.29.6 to 4.30.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.29.6...v4.30.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 12:41:25 +00:00
Oliver Blanthorn
2106232a3a
Merge pull request #1474 from tridactyl/dependabot/npm_and_yarn/marked-0.6.2
Bump marked from 0.6.1 to 0.6.2
2019-04-17 13:39:26 +01:00
Oliver Blanthorn
a275b233ff
Merge pull request #1473 from tridactyl/dependabot/npm_and_yarn/@types/jest-24.0.11
Bump @types/jest from 24.0.9 to 24.0.11
2019-04-17 13:39:11 +01:00
Oliver Blanthorn
1caa534e5c
Merge pull request #1472 from tridactyl/dependabot/npm_and_yarn/tslint-5.16.0
Bump tslint from 5.15.0 to 5.16.0
2019-04-17 13:38:58 +01:00
Oliver Blanthorn
8903fb68a4
Merge pull request #1471 from tridactyl/dependabot/npm_and_yarn/rss-parser-3.7.0
Bump rss-parser from 3.6.3 to 3.7.0
2019-04-17 13:38:47 +01:00
Oliver Blanthorn
14c51dfce3
Merge pull request #1470 from tridactyl/fix_sonarcloud_bugs
Fix errors found by sonarcloud
2019-04-17 13:37:34 +01:00
Oliver Blanthorn
a0ff313adb
Merge pull request #1469 from tridactyl/fix_lgtm_errors
Fix errors found by LGTM
2019-04-17 13:35:32 +01:00
Oliver Blanthorn
8e344b7c12
Merge pull request #953 from saulrh/autocontain-coexistence
Autocontain coexistence
2019-04-17 13:31:45 +01:00
Saul Reynolds-Haertle
09005940ef Make extension_info in background comply with no-unused-declarations 2019-04-17 00:29:46 -07:00
dependabot[bot]
ffc5ee3d97
Bump typedoc-default-themes from a57a085 to 74b17dd
Bumps [typedoc-default-themes](https://github.com/tridactyl/typedoc-default-themes) from `a57a085` to `74b17dd`.
- [Release notes](https://github.com/tridactyl/typedoc-default-themes/releases)
- [Commits](a57a085dec...74b17dddca)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 07:10:15 +00:00
Saul Reynolds-Haertle
627340c1cd Remove management permission and shortcut in extensioninfo
This should allow the new autocontainer-coexistence code to be
committed while remaining nonfunctional so I don't have to keep it
synced until we fix the functionality for asking for permissions.
2019-04-17 00:09:55 -07:00
dependabot[bot]
473b665f3a
Bump marked from 0.6.1 to 0.6.2
Bumps [marked](https://github.com/markedjs/marked) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.6.1...v0.6.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 07:09:11 +00:00
dependabot[bot]
a6ee19e479
Bump @types/jest from 24.0.9 to 24.0.11
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.9 to 24.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 07:08:29 +00:00
dependabot[bot]
13d9221403
Bump tslint from 5.15.0 to 5.16.0
Bumps [tslint](https://github.com/palantir/tslint) from 5.15.0 to 5.16.0.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palantir/tslint/compare/5.15.0...5.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 07:07:55 +00:00
dependabot[bot]
4af2897137
Bump rss-parser from 3.6.3 to 3.7.0
Bumps [rss-parser](https://github.com/bobby-brennan/rss-parser) from 3.6.3 to 3.7.0.
- [Release notes](https://github.com/bobby-brennan/rss-parser/releases)
- [Commits](https://github.com/bobby-brennan/rss-parser/compare/v3.6.3...v3.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-17 07:07:14 +00:00
Saul Reynolds-Haertle
b4c94c97a3 Fix lint errors in autocontain-coexistence code
Also uncomment the commented-out openerTabId. I can't figure out why
I'd removed it. >_>
2019-04-16 22:59:30 -07:00
Saul Reynolds-Haertle
9f875afd28 Add some more warnings to the autocontain command about redirects 2019-04-16 22:59:30 -07:00
Saul Reynolds-Haertle
fde403c3da Add warning when we fail to talk to MAC extension 2019-04-16 22:59:30 -07:00
Saul Reynolds-Haertle
b648539a89 Fix whitespace in manifest 2019-04-16 22:59:30 -07:00
Saul Reynolds-Haertle
bc482ec64d Add new check to autocontain code to suppress some double-opens 2019-04-16 22:59:30 -07:00
Saul Reynolds-Haertle
5c529e26a2 Add explanation for 'management' permission to amo.md 2019-04-16 22:59:30 -07:00
Saul Reynolds-Haertle
0582e4fb5e Augment typing in DefaultMap to admit use by autocontainer code 2019-04-16 22:59:30 -07:00
Saul Reynolds-Haertle
5c7ae5331f Teach tabopen to use autocontainer directives when -c is not set
Apparently I have to run the prettifier before I can touch this file?

This behavior is actually pretty simple: If -c isn't set, check to see
if there's an autocontainer directive that matches the url. If there
is a matching container, go ahead and use it.
2019-04-16 22:59:30 -07:00
Saul Reynolds-Haertle
6f726d7092 Teach autocontainers to coexist with other container-management exts
This has a few moving parts.

First, we need a bit of code for keeping track of what other
extensions are installed and enabled. This isn't completely trivial
because we need to listen for "on {en,dis}abled" and "on
{,un}installed" events. This requires a new permission, `management`,
which is _annoying_, but not having this permission would require
extension detection to be done using kludgy messaging hacks that would
be on the critical path for essentially every navigation operation.

Second, we need to write code to talk to the other addons and ask them
if they're handling things. Thankfully they do provide public APIs and
and we can use their sample code to do exactly what we need to do.

Third, it turns out some important chunks of the firefox webext API
aren't handled by the web-ext-browser ts declaration we're
using. They *are* handled by a PR on @types/firefox-webext-browser,
though, so we can copy and paste that to make TS happy.

Fourth, and finally, we need to add some code to the autocontainer
logic to use the compatibility code. This is pretty easy, but
autocontainer logic starts taking a noticeable amount of time becuase
of all the sequences awaits we're doing, so I also have to tweak
things to do all of the async stuff in parallel.
2019-04-16 22:59:30 -07:00
glacambre
74db069ef2
Fix errors found by sonarcloud
https://sonarcloud.io/dashboard?id=tridactyl
2019-04-17 07:49:41 +02:00
glacambre
51f88f51c9
Fix errors found by LGTM
https://lgtm.com/projects/g/tridactyl/tridactyl/overview/
2019-04-17 07:18:18 +02:00
Oliver Blanthorn
92fcb5d043
Merge pull request #1467 from tridactyl/dependabot/npm_and_yarn/jest-24.7.1
Bump jest from 24.1.0 to 24.7.1
2019-04-16 18:09:42 +01:00
dependabot[bot]
a5d802ed39
Bump jest from 24.1.0 to 24.7.1
Bumps [jest](https://github.com/facebook/jest) from 24.1.0 to 24.7.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.1.0...v24.7.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 16:42:34 +00:00
Oliver Blanthorn
7bb37e3fdc
Merge pull request #1465 from tridactyl/dependabot/npm_and_yarn/ts-jest-24.0.2
Bump ts-jest from 24.0.0 to 24.0.2
2019-04-16 17:40:29 +01:00
Oliver Blanthorn
e19e7091fd
Merge pull request #1462 from tridactyl/dependabot/npm_and_yarn/fuse.js-3.4.4
Bump fuse.js from 3.4.2 to 3.4.4
2019-04-16 17:40:02 +01:00
dependabot[bot]
5e5a296a2e
Bump ts-jest from 24.0.0 to 24.0.2
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 24.0.0 to 24.0.2.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v24.0.0...v24.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 15:01:32 +00:00
Oliver Blanthorn
926009dca3
Merge pull request #1466 from tridactyl/dependabot/npm_and_yarn/copy-webpack-plugin-5.0.2
Bump copy-webpack-plugin from 5.0.0 to 5.0.2
2019-04-16 16:00:58 +01:00
Oliver Blanthorn
a853e66c8c
Merge pull request #1460 from tridactyl/dependabot/npm_and_yarn/lodash-4.17.11
[Security] Bump lodash from 4.17.10 to 4.17.11
2019-04-16 15:58:00 +01:00
Oliver Blanthorn
abe57a013b
Merge pull request #1464 from tridactyl/dependabot/npm_and_yarn/prettier-1.17.0
Bump prettier from 1.16.4 to 1.17.0
2019-04-16 15:57:24 +01:00
Oliver Blanthorn
5765a30b9d
Merge pull request #1463 from tridactyl/dependabot/npm_and_yarn/webpack-cli-3.3.0
Bump webpack-cli from 3.2.3 to 3.3.0
2019-04-16 15:57:11 +01:00
dependabot[bot]
eac3e3801f
Bump fuse.js from 3.4.2 to 3.4.4
Bumps [fuse.js](https://github.com/krisk/Fuse) from 3.4.2 to 3.4.4.
- [Release notes](https://github.com/krisk/Fuse/releases)
- [Changelog](https://github.com/krisk/Fuse/blob/master/CHANGELOG.md)
- [Commits](https://github.com/krisk/Fuse/compare/v3.4.2...v3.4.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 14:54:19 +00:00
Oliver Blanthorn
0196f328e7
Merge pull request #1461 from tridactyl/dependabot/npm_and_yarn/tslint-5.15.0
Bump tslint from 5.14.0 to 5.15.0
2019-04-16 15:52:38 +01:00
dependabot[bot]
3cef264aec
Bump copy-webpack-plugin from 5.0.0 to 5.0.2
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.0...v5.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 14:52:10 +00:00
dependabot[bot]
0ee05af1b0
[Security] Bump lodash from 4.17.10 to 4.17.11
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.11. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Changelog](https://github.com/lodash/lodash/blob/master/CHANGELOG)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.11)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 14:51:55 +00:00
Oliver Blanthorn
06370da67a
Merge pull request #1459 from tridactyl/dependabot/npm_and_yarn/command-line-args-5.1.1
Bump command-line-args from 5.0.2 to 5.1.1
2019-04-16 15:49:58 +01:00
dependabot[bot]
fdc6b9c46f
Bump prettier from 1.16.4 to 1.17.0
Bumps [prettier](https://github.com/prettier/prettier) from 1.16.4 to 1.17.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.16.4...1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 14:47:21 +00:00
dependabot[bot]
a0dafa1a66
Bump webpack-cli from 3.2.3 to 3.3.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.2.3 to 3.3.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/V.3.2.3...v.3.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 14:46:42 +00:00
dependabot[bot]
7370efc664
Bump tslint from 5.14.0 to 5.15.0
Bumps [tslint](https://github.com/palantir/tslint) from 5.14.0 to 5.15.0.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palantir/tslint/compare/5.14.0...5.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 14:45:27 +00:00
dependabot[bot]
088a7e1781
Bump command-line-args from 5.0.2 to 5.1.1
Bumps [command-line-args](https://github.com/75lb/command-line-args) from 5.0.2 to 5.1.1.
- [Release notes](https://github.com/75lb/command-line-args/releases)
- [Commits](https://github.com/75lb/command-line-args/compare/v5.0.2...v5.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 14:44:51 +00:00