Commit graph

2603 commits

Author SHA1 Message Date
glacambre
ef03222ae1
Fix precommit hook
Two issues: we were iterating on the same argument and tslint doesn't
like .d.ts files.
2019-04-23 20:27:10 +02:00
Oliver Blanthorn
aa3129c132
Merge pull request #1493 from tridactyl/dependabot/npm_and_yarn/@types/node-11.13.7
Bump @types/node from 11.13.6 to 11.13.7
2019-04-23 09:02:58 +01:00
Oliver Blanthorn
5248d134fd
Merge pull request #1487 from saulrh/updatecheck-in-newtab
Updatecheck in newtab
2019-04-23 07:58:27 +01:00
dependabot[bot]
69d3321c3b
Bump @types/node from 11.13.6 to 11.13.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 11.13.6 to 11.13.7.
- [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-23 06:57:04 +00:00
Saul Reynolds-Haertle
25d64258e2 Move all of the update* configs to an update namespace
updatenag => update.nag, etc.
2019-04-22 22:03:17 -07:00
Saul Reynolds-Haertle
e131757fb3 Add updatecheck to the new-tab page
This should be more reliable than checking in the background.
2019-04-22 22:01:58 -07:00
Saul Reynolds-Haertle
ec48314d7c Refactor update-checking logic so we can check more frequently
We couldn't have just invoked "check for updates" on every single
operation because it would've gone out to the RSS every time. This
refactor permits it to cache a highest known version for a
configurable interval. It should be safe to invoke this new
update-checking logic as frequently as desired.
2019-04-22 22:01:58 -07:00
Oliver Blanthorn
e13330aa8a
Merge pull request #1489 from saulrh/excmds-in-content-redux
Excmds in content redux
2019-04-22 14:39:43 +01:00
Oliver Blanthorn
90a6c409fc
Merge pull request #1488 from tridactyl/remove_bgself
Remove BGSELF
2019-04-22 14:39:27 +01:00
Oliver Blanthorn
232866f242
Merge pull request #1491 from tridactyl/dependabot/npm_and_yarn/@types/node-11.13.6
Bump @types/node from 11.13.5 to 11.13.6
2019-04-22 14:35:28 +01:00
Oliver Blanthorn
3893385036
Merge pull request #1490 from tridactyl/dependabot/npm_and_yarn/webpack-cli-3.3.1
Bump webpack-cli from 3.3.0 to 3.3.1
2019-04-22 14:34:43 +01:00
dependabot[bot]
763f8f0a81
Bump @types/node from 11.13.5 to 11.13.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 11.13.5 to 11.13.6.
- [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-22 07:07:24 +00:00
dependabot[bot]
d3512b9191
Bump webpack-cli from 3.3.0 to 3.3.1
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.0 to 3.3.1.
- [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.3.0...v.3.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-22 07:06:38 +00:00
Saul Reynolds-Haertle
587b498684 Refine explanation of background vs content in docs for repeat 2019-04-21 11:16:13 -07:00
Saul Reynolds-Haertle
2e5fdfb63c Run excmds in content. 2019-04-21 02:42:59 -07:00
glacambre
973ec07f92
Remove BGSELF
BGSELF was a hack that I used when implementing ex commands for the
command line. It consisted of having .excmds_background.generated.ts
import itself as BGSELF in order to dynamically add commands to it. This
let us define excmds in other files while not changing anything in
parsers/exmode.ts.

This was awful so I decided to remove it. This required performing the
following changes:
- Moving text.* and ex.* command definitions to their own files where
  they have zero side effects. While this was easy for text commands, ex
  commands rely a lot on side effects. In order to work around this,
  lib/commandline_cmds exports a single function, getCommandlineFns(),
  which expects an object representing the commandline's state as
  parameter.
- In the background script, import our side effect free files and wrap
  them in proxys that will send "commandline_cmd" and "editorfn_content"
  messages to tabs when needed.
- In the content script, add a listener that will either execute an
  editor function or forward it to the command line when it receives an
  "editorfn_content" message.
- In the commandline script, add a listener that will execute exmode
  commands.
2019-04-21 10:33:05 +02:00
Oliver Blanthorn
9b02a1ac22
Merge pull request #1483 from tridactyl/improve_editor
Actually make tridactyl listen for `:editor` return code
2019-04-19 10:38:23 +01:00
glacambre
40a8713712
Actually make tridactyl listen for :editor return code
This piece of code was missing from 91dffe6. This actually closes #1455.
Note that you need your terminal emulator to forward the exit code of
your editor in order for this to work.
2019-04-19 06:54:02 +02:00
Oliver Blanthorn
5447f5ea23
Merge pull request #1480 from tridactyl/improve_editor
Improve editor
2019-04-18 12:32:14 +01:00
Oliver Blanthorn
5cf604876c
Merge pull request #1481 from tridactyl/dependabot/npm_and_yarn/@types/node-11.13.5
Bump @types/node from 11.13.4 to 11.13.5
2019-04-18 09:50:08 +01:00
dependabot[bot]
dff1b1879d
Bump @types/node from 11.13.4 to 11.13.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 11.13.4 to 11.13.5.
- [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-18 06:59:52 +00:00
glacambre
5f40217d06
Add line and column number to :editor
Closes https://github.com/tridactyl/tridactyl/issues/1448
2019-04-18 08:22:36 +02:00
glacambre
91dffe6be8
excmds.ts: Make editor() listen to exit code
Closes https://github.com/tridactyl/tridactyl/issues/1455
2019-04-18 07:01:02 +02:00
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