Commit graph

6459 commits

Author SHA1 Message Date
Oliver Blanthorn
27de1f5f7a
Merge pull request #4206 from tridactyl/dependabot/npm_and_yarn/esbuild-0.14.38
Bump esbuild from 0.14.25 to 0.14.38
2022-04-25 11:13:50 +02:00
dependabot[bot]
70b4d063a1
Bump esbuild from 0.14.25 to 0.14.38
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.25 to 0.14.38.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.25...v0.14.38)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 22:02:56 +00:00
dependabot[bot]
9efb8b5cb9
Bump eslint-plugin-jsdoc from 37.9.6 to 39.2.7
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 37.9.6 to 39.2.7.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v37.9.6...v39.2.7)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 22:07:54 +00:00
dependabot[bot]
a145567191
Bump @typescript-eslint/eslint-plugin-tslint from 5.13.0 to 5.20.0
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.13.0 to 5.20.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin-tslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.20.0/packages/eslint-plugin-tslint)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin-tslint"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 22:07:15 +00:00
Robin Ekman
782b93db5f add array slicing to searchurls
see #4193
2022-04-12 18:54:24 +02:00
dependabot[bot]
90a7032816
Bump marked from 4.0.12 to 4.0.14
Bumps [marked](https://github.com/markedjs/marked) from 4.0.12 to 4.0.14.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.12...v4.0.14)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 22:04:41 +00:00
dependabot[bot]
080a98948b
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-10 13:27:47 +00:00
gholk
9ce96267e2 Fix bookmarklet eval string escape
In javascript double quote string,
both `"` and `\` should be escaped.
2022-04-10 20:17:03 +08:00
gholk
9cc069f372 Fix #4158: bookmarklet execution bug
In original implementation, a script tag will leave in html,
and the bookmarklet in URL Encoding will not work.
Moreover, if bookmarklet return a string after evaluation,
the string should replace current page's html content.

One can execute bookmarklet by assign it to `window.location.href`,
but it does not work in add-on's context,
so I assign it with `window.eval()`.
2022-04-10 20:03:06 +08:00
dependabot[bot]
69b626803e
Bump moment from 2.27.0 to 2.29.2
Bumps [moment](https://github.com/moment/moment) from 2.27.0 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.27.0...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 01:54:44 +00:00
Oliver Blanthorn
a0bdc2debc
Merge pull request #4169 from tridactyl/tabsort_mru_ordering
Fix #4168: make current tab appear at bottom
2022-04-04 19:29:29 +01:00
Oliver Blanthorn
2f19842820
Fix #4168: make current tab appear at bottom 2022-04-04 18:21:29 +02:00
Oliver Blanthorn
56d4427418
Expose sendNativeMsg for advanced users 2022-04-01 22:28:09 +02:00
dependabot[bot]
353dffbd3a
Bump web-ext from 6.7.0 to 6.8.0
Bumps [web-ext](https://github.com/mozilla/web-ext) from 6.7.0 to 6.8.0.
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](https://github.com/mozilla/web-ext/compare/6.7.0...6.8.0)

---
updated-dependencies:
- dependency-name: web-ext
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 22:03:21 +00:00
Oliver Blanthorn
e95b5222c9
Fix drawingstop alias bug 2022-03-25 15:25:26 +01:00
Oliver Blanthorn
21b7546baf
release 1.22.1 2022-03-23 15:52:04 +01:00
Oliver Blanthorn
82d0e2239b
Update changelog for 1.22.1 2022-03-23 15:51:42 +01:00
Oliver Blanthorn
e7c61df1e5
Merge pull request #4148 from tridactyl/cmcaine-patch-1
Fix header line-height on new tab page
2022-03-18 08:32:10 +00:00
Colin Caine
05e8163a8a
Fix header line-height on new tab page 2022-03-17 16:51:43 +00:00
Oliver Blanthorn
60dd533993
Merge pull request #4133 from tridactyl/dependabot/npm_and_yarn/esbuild-0.14.25
Bump esbuild from 0.14.23 to 0.14.25
2022-03-11 10:15:21 +00:00
dependabot[bot]
bfc120f164
Bump esbuild from 0.14.23 to 0.14.25
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.23 to 0.14.25.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.23...v0.14.25)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-04 22:04:13 +00:00
Oliver Blanthorn
ee24c8c807
Bikeshed with prettier 2022-03-03 12:26:53 +01:00
Oliver Blanthorn
5feae9489a
Minor changes for eslint 2022-03-03 12:26:34 +01:00
dependabot[bot]
e5fd9c931b
Bump eslint-plugin-sonarjs from 0.7.0 to 0.12.0
Bumps [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs) from 0.7.0 to 0.12.0.
- [Release notes](https://github.com/SonarSource/eslint-plugin-sonarjs/releases)
- [Commits](https://github.com/SonarSource/eslint-plugin-sonarjs/commits/0.12.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-sonarjs
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 10:42:29 +00:00
Oliver Blanthorn
224f45a3f2
Merge pull request #4130 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-jsdoc-37.9.6
Bump eslint-plugin-jsdoc from 37.9.5 to 37.9.6
2022-03-03 10:40:39 +00:00
Oliver Blanthorn
ca6c6f2561
Merge pull request #4131 from tridactyl/dependabot/npm_and_yarn/eslint-config-prettier-8.5.0
Bump eslint-config-prettier from 8.4.0 to 8.5.0
2022-03-03 10:40:06 +00:00
dependabot[bot]
73c7ef87ba
Bump eslint-config-prettier from 8.4.0 to 8.5.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.4.0...v8.5.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 22:02:34 +00:00
dependabot[bot]
c7e66a63fa
Bump eslint-plugin-jsdoc from 37.9.5 to 37.9.6
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 37.9.5 to 37.9.6.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v37.9.5...v37.9.6)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 22:02:25 +00:00
Oliver Blanthorn
b5d96ad299
Merge pull request #4128 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-jsdoc-37.9.5
Bump eslint-plugin-jsdoc from 37.9.4 to 37.9.5
2022-03-02 08:40:53 +00:00
Oliver Blanthorn
c218d67d5d
Merge pull request #4129 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-5.13.0
Bump @typescript-eslint/eslint-plugin-tslint from 5.12.1 to 5.13.0
2022-03-02 08:40:13 +00:00
Icelk
0179fbc445
Fix #453: hide mode indicator on printed pages 2022-03-01 15:17:21 +01:00
dependabot[bot]
8ba1cd00de
Bump @typescript-eslint/eslint-plugin-tslint from 5.12.1 to 5.13.0
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.12.1 to 5.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin-tslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.13.0/packages/eslint-plugin-tslint)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin-tslint"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 22:12:46 +00:00
dependabot[bot]
cb64f66844
Bump eslint-plugin-jsdoc from 37.9.4 to 37.9.5
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 37.9.4 to 37.9.5.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v37.9.4...v37.9.5)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 22:09:34 +00:00
Oliver Blanthorn
091ce96fc1
Merge pull request #4127 from davidscotson/changelog_bg
fix #4005 newtab changelog background color tweak
2022-02-27 22:24:03 +00:00
David Scotson
710d566285 fix #4005 newtab changelog background color tweak 2022-02-27 20:20:51 +00:00
Babil G. Sarwar
24b684330d
Add illegal character sanitisation in filename
Firefox's download API [0] currently does not support invalid characters
in the "saveAs" value, and the following error is thrown if download
filename contains illegal character(s). The issue has been reported to
the Firefox team, and currently it is in "WONTFIX" status [1].

  "filename must not contain illegal characters"

The issue prevents Tridactyl from downloading files from URLs with
certain "illegal" characters, e.g. ":" (colon), that are valid for URLs,
but are rejected in the filenames by the underlying OS's file system.

The default behaviour for operating systems like Mac is to replace the
invalid character(s) with "space" when saving the file to the disk.

The patches here implement basic filename sanitisation support by
introducing the following three configuration parameters in config.ts:

  - illegalfilenamechars
  - illegalwindowsfilenames
  - illegalfilenamereplacement

Essentially, if the "illegalfilenamechars" are found in the downloaded
filename, these characters are replaced by the
"illegalfilenamereplacement" value. The same logic is applied to each of
the comma-separated "illegalwindowsfilenames" values; if any of these
names matches the "saveAs" file-name, the file-name is suffixed with the
"illegalfilenamereplacement" value.

[0] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/downloads/download
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1390473
2022-02-27 15:38:28 +11:00
Oliver Blanthorn
b292731ab7
Merge pull request #4115 from davidscotson/auto_dark_new_tab
Fix tridactyl#2510 use auto instead of default.css for content pages
2022-02-25 11:41:52 +00:00
Oliver Blanthorn
b82b29cd43
Merge pull request #4119 from tridactyl/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-tslint-5.12.1
Bump @typescript-eslint/eslint-plugin-tslint from 5.8.1 to 5.12.1
2022-02-25 11:32:28 +00:00
Oliver Blanthorn
adb15eeb70
Merge pull request #4125 from tridactyl/dependabot/npm_and_yarn/command-line-args-5.2.1
Bump command-line-args from 5.2.0 to 5.2.1
2022-02-25 11:32:15 +00:00
Oliver Blanthorn
f54a6aa391
Merge pull request #4124 from hpfr/fix_hn_toggler
Fix comment toggler for Hacker News
2022-02-25 11:32:03 +00:00
dependabot[bot]
6d4c610606
Bump command-line-args from 5.2.0 to 5.2.1
Bumps [command-line-args](https://github.com/75lb/command-line-args) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/75lb/command-line-args/releases)
- [Commits](https://github.com/75lb/command-line-args/compare/v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: command-line-args
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 22:03:42 +00:00
Liam Hupfer
5d56819c7a Fix comment toggler for Hacker News
Hacker News added a "clicky" class to the toggle buttons, so the
selector needs wildcard matching.
2022-02-24 14:54:18 -06:00
dependabot[bot]
75a62f847c
Bump @typescript-eslint/eslint-plugin-tslint from 5.8.1 to 5.12.1
Bumps [@typescript-eslint/eslint-plugin-tslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin-tslint) from 5.8.1 to 5.12.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin-tslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.12.1/packages/eslint-plugin-tslint)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin-tslint"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:49:38 +00:00
Oliver Blanthorn
69a9bd16db
Merge pull request #4121 from tridactyl/dependabot/npm_and_yarn/types/jest-27.4.1
Bump @types/jest from 27.4.0 to 27.4.1
2022-02-24 17:55:07 +00:00
Oliver Blanthorn
2bc8d21bfa
Merge pull request #4111 from tridactyl/dependabot/npm_and_yarn/eslint-plugin-jsdoc-37.9.4
Bump eslint-plugin-jsdoc from 37.5.0 to 37.9.4
2022-02-24 17:54:55 +00:00
Oliver Blanthorn
fada6934de
Merge pull request #4122 from tridactyl/dependabot/npm_and_yarn/types/selenium-webdriver-4.0.18
Bump @types/selenium-webdriver from 4.0.16 to 4.0.18
2022-02-24 17:54:46 +00:00
Oliver Blanthorn
16c23f789e
Merge pull request #4120 from tridactyl/dependabot/npm_and_yarn/eslint-config-prettier-8.4.0
Bump eslint-config-prettier from 8.3.0 to 8.4.0
2022-02-24 17:54:30 +00:00
dependabot[bot]
9bda8e0828
Bump @types/jest from 27.4.0 to 27.4.1
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.4.0 to 27.4.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 14:34:21 +00:00
dependabot[bot]
d77a9405ba
Bump eslint-plugin-jsdoc from 37.5.0 to 37.9.4
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 37.5.0 to 37.9.4.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v37.5.0...v37.9.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 14:33:20 +00:00
dependabot[bot]
08af2a935a
Bump @types/selenium-webdriver from 4.0.16 to 4.0.18
Bumps [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver) from 4.0.16 to 4.0.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/selenium-webdriver)

---
updated-dependencies:
- dependency-name: "@types/selenium-webdriver"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 14:32:52 +00:00