summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add Deinflector.rulesMatch helper function (#530)toasted-nutbread2024-01-20
|
* Update copyright year (#524)toasted-nutbread2024-01-20
| | | | | | | | | | | | | * Update copyright year * Update lib files * Rebase updates * Update dates * Update years to range * Update permitted pattern
* Fix AnkiTemplateRenderer again (#535)toasted-nutbread2024-01-20
| | | | | * Fix args issues in regex functions * Add tests
* Fix popup theme selector on Welcome page not changing theme (#518) (#532)Nih0nium2024-01-20
| | | Co-authored-by: Nih0nium <Nih0nium@gmail.com>
* fix readme (#521)Cashew2024-01-20
|
* Dictionary deinflections (#503)StefanVukovic992024-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * fix v3 * wip * fix tests * fix maxitems * hide deinflection definitions * fix anki template * undo unnecessary change * delete console.log * refactor * add set false to handlebars * lint * fix tests * fix comments * fix * use Map in areArraysEqualIgnoreOrder * move inflection source icons to css * lint * improve naming * fix tests * add test * typescript * use for of * wip * comments * anki template upgrade * update descriptions
* Add toError utility function (#523)toasted-nutbread2024-01-15
| | | | | * Add asError utility function * Rename to toError
* Allow `text-shadow` style in dictionary structured content (#527)Stephen Kraus2024-01-15
| | | Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* more test updates (#510)24.01.14.0Cashew2024-01-14
| | | | | | | | | * test updates * remove duplicate * fix indentation * fix
* Reworked README & supplimenting docs (#512)Pierce James Morris2024-01-14
| | | | | | | | | | | | | * initial revision of updated README * fix broken links in doc files * descriptive links, typos, anki emphasis * add missing punctuation * add new lines and capitalise letters * move contributing section up
* add option to disable part of speech rule check (#438)StefanVukovic992024-01-13
| | | | | | | | | | | | | | | | | | | | | | | * pos filter wip * add part of speech filter option * add part of speech filter option * remove from deinflector * update test * remove return * tie to dictionary * duplicate to welcome page * delete unused html * fix ts * typo
* Fix dictionary move to index (#514)Jake2024-01-13
| | | | | * Fix dictionary move to index * Use number isnan
* type updates (#500)Cashew2024-01-13
| | | | | | | | | * type updates * remove comments * fix comment * remove types
* Test updates (#501)Cashew2024-01-06
| | | | | | | * update tests * japanese-util updates * update json-schema tests
* Bump github/codeql-action from 2 to 3 (#498)dependabot[bot]2024-01-01
| | | | | | | | | | | | | | | Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump dawidd6/action-download-artifact from 2.28.0 to 3.0.0 (#497)dependabot[bot]2024-01-01
| | | | | | | | | | | | | | | Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.28.0 to 3.0.0. - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/268677152d06ba59fcec7a7f0b5d961b6ccd7e1e...e7466d1a7587ed14867642c2ca74b5bcc1e19a2d) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump actions/upload-artifact from 3 to 4 (#496)dependabot[bot]2024-01-01
| | | | | | | | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump eslint-plugin-jsdoc from 46.9.0 to 47.0.1 (#495)dependabot[bot]2024-01-01
| | | | | | | | | | | | | | | | Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 46.9.0 to 47.0.1. - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v46.9.0...v47.0.1) --- 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump the minor group with 12 updates (#494)dependabot[bot]2024-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the minor group with 12 updates: | Package | From | To | | --- | --- | --- | | [@stylistic/eslint-plugin-ts](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin-ts) | `1.5.0` | `1.5.1` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.10.4` | `20.10.6` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `6.13.2` | `6.16.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `6.13.2` | `6.16.0` | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `1.1.0` | `1.1.1` | | [esbuild](https://github.com/evanw/esbuild) | `0.19.9` | `0.19.11` | | [eslint](https://github.com/eslint/eslint) | `8.55.0` | `8.56.0` | | [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) | `2.10.0` | `2.11.2` | | [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) | `5.0.1` | `5.0.2` | | [html-validate](https://gitlab.com/html-validate/html-validate) | `8.7.4` | `8.8.0` | | [stylelint](https://github.com/stylelint/stylelint) | `16.0.2` | `16.1.0` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `1.1.0` | `1.1.1` | Updates `@stylistic/eslint-plugin-ts` from 1.5.0 to 1.5.1 - [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases) - [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v1.5.1/packages/eslint-plugin-ts) Updates `@types/node` from 20.10.4 to 20.10.6 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 6.13.2 to 6.16.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.16.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 6.13.2 to 6.16.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.16.0/packages/parser) Updates `@vitest/coverage-v8` from 1.1.0 to 1.1.1 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.1.1/packages/coverage-v8) Updates `esbuild` from 0.19.9 to 0.19.11 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.19.9...v0.19.11) Updates `eslint` from 8.55.0 to 8.56.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0) Updates `eslint-plugin-jsonc` from 2.10.0 to 2.11.2 - [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md) - [Commits](https://github.com/ota-meshi/eslint-plugin-jsonc/compare/v2.10.0...v2.11.2) Updates `fake-indexeddb` from 5.0.1 to 5.0.2 - [Release notes](https://github.com/dumbmatter/fakeIndexedDB/releases) - [Changelog](https://github.com/dumbmatter/fakeIndexedDB/blob/master/CHANGELOG.md) - [Commits](https://github.com/dumbmatter/fakeIndexedDB/compare/v5.0.1...v5.0.2) Updates `html-validate` from 8.7.4 to 8.8.0 - [Release notes](https://gitlab.com/html-validate/html-validate/tags) - [Commits](https://gitlab.com/html-validate/html-validate/compare/v8.7.4...v8.8.0) Updates `stylelint` from 16.0.2 to 16.1.0 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/16.0.2...16.1.0) Updates `vitest` from 1.1.0 to 1.1.1 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v1.1.1/packages/vitest) --- updated-dependencies: - dependency-name: "@stylistic/eslint-plugin-ts" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: "@vitest/coverage-v8" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: esbuild dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: eslint-plugin-jsonc dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: fake-indexeddb dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: html-validate dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: vitest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* document-util to use JSON attribute instead of multiple data-* attributes (#492)Cashew2024-01-01
| | | | | | | | | | | | | | | * data-* to json * update tests * fix tests * fix tests * test fixes * fix types * fix types
* Cross frame API safety (#491)toasted-nutbread2023-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Require error type * Add TODOs * Fix init * Updates * More type safety * Fix incorrect API map * Update type safety * Updates * Add API * Update types * Update types * Updates * Remove unused * Restore types * Update frame ancestry handler * Simplify names * Fix * Remove old message handlers
* fix document-util tests (#490)Cashew2023-12-29
| | | | | * fix document-util tests * fix unintentional line deletion
* Fix workflow to use new build syntax (#488)23.12.29.0Darius Jahandarie2023-12-29
| | | | | * Fix workflow to use new camel case build syntax * Try again
* Add eslint rule no-restricted-syntax (#486)toasted-nutbread2023-12-29
|
* remove redundancy in cache-map (#485)Cashew2023-12-29
| | | | | * remove redundancy * fix lint
* Update vitest (#484)toasted-nutbread2023-12-29
| | | | | * Update vitest dependencies * Fix issues
* enum update (#482)Cashew2023-12-29
| | | | | | | * enum update * fix indentation * fix indentation
* Display API safety (#479)toasted-nutbread2023-12-29
| | | | | | | | | | | | | | | | | | | | | * Remove unused * Add TODOs * Rename * Initial setup * More updates * Simplify naming * Set up window API * Remove type * Move type * Update type
* Options util updates (#475)toasted-nutbread2023-12-29
| | | | | | | | | * Simplify async handling * Update comments * Add description * Update update 22
* Fix google docs (#473)toasted-nutbread2023-12-29
| | | | | | | | | | | * Add support for content script execution world * Update manifest version to support world parameter in Chromium browsers * Update google docs injection * Reuse code for registration * Add info
* Comment updates (#481)Cashew2023-12-29
| | | | | * comment updates * comment updates
* Add explicit passive option to touchstart event (#480)toasted-nutbread2023-12-29
|
* remove getArgs in favor of node:util.parseArgs (#476)Cashew2023-12-29
| | | | | | | * remove getArgs * kebab-case to camelCase * update app/deployment
* Event dispatcher refactor (#463)toasted-nutbread2023-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor EventDispatcher template type * Update core types * Update log * Update clipboard monitor * Update application events * Update popup events * Update text scanner * Update cross frame API * Update display events * Type updates * Update display history * Update query parser * Update search persistent state controller * Update panel element * Update popup menu * Update audio system * Update hotkey handler * Update settings controller * Update audio controller * Update types * Update types * Update types * Add event handler types * Update type * Fix issues * Remove error suppression * Fix typo
* Database test updates (#461)toasted-nutbread2023-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | * Initial changes * Move test * Disable async * Add createCustomDataTest * Move test case data to JSON file * Update tests * Cleanup * Simplify * Add dedicated test for database clearing * Remove previous clear testing * Remove unused test function * Update values
* Simplify dom text scanner (#453)toasted-nutbread2023-12-29
| | | | | * Remove "enum" from name, update comment * Simplify
* search resolution option (#436)StefanVukovic992023-12-29
| | | | | | | | | | | | | | | * add search resolution setting * move finding next substring to method * use regex literal * fix comments * fix comments * add options update function * update test
* Remove unnecessary array (#464)toasted-nutbread2023-12-28
|
* API type safety updates (#457)toasted-nutbread2023-12-28
| | | | | | | | | | | | | | | | | | | | | | | * Update message handlers in SearchDisplayController * Update types * Updates * Updates * Simplify * Updates * Updates * Rename * Improve types * Improve types * Resolve TODOs
* add phonetic transcriptions term meta type (#434)StefanVukovic992023-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move dictionary files to dictionary folder * wip * move dictionary files to dictionary folder * add ipa term meta * wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fix comments * fix comments * update test data * fix gitignore * engines * add tests * update database test * fix test
* Remove IIFEs (#452)Cashew2023-12-27
| | | | | | | | | | | * remove IIFEs * Move IIFE into function * revert google-docs.js to IIFE * add entry point jsdoc * revert content-script-wrapper
* Script manager cleanup (#456)toasted-nutbread2023-12-27
| | | | | | | | | | | | | | | | | | | * Remove unused functions * Remove fallback code * Simplify injectStylesheet * Simplify unregisterContentScript * Merge functions * Simplify registration details * Simplify injectScript * Remove class wrapper * Remove unused injectScript
* switch updates (#459)Cashew2023-12-27
| | | | | | | | | * switch updates * revert to if-else * revert to if-else * remove empty default
* API map updates (#458)toasted-nutbread2023-12-27
| | | | | | | | | * Rename * Fix incorrect union types * Update type names * Fix types
* Google docs fixes (#455)toasted-nutbread2023-12-27
| | | | | * Simplify GoogleDocsUtil deferred import * Remove loadExtensionScripts
* add maxEOF to prevent multiple end of file lines (#454)Cashew2023-12-27
|
* Add support for more HTML attributes and style declarations in structured ↵Stephen Kraus2023-12-27
| | | | | | | | | | | | | | | content (#450) * Add support for more HTMl attributes and style declarations * Update test term to use new `margin` property * Allow string values for 'padding' and 'margin' properties * Remove newly added default 'unset' values from term bank schema --------- Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Style updates (#447)Cashew2023-12-25
| | | | | | | | | | | | | * style updates * style updates * style updates * revert changes to dev/lib/handlebars * revert changes to dev/lib/handlebars * revert changes to dev/lib/handlebars
* remove unnecessary jsdom test (#448)Cashew2023-12-25
|
* Narrow down enum types (#431)Cashew2023-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * narrow down enum types * add enum types * change from default to case * add enum types * remove comments * remove comments * fix * Move getErrorLevelValue to Logger * Add enum type for LogErrorLevelValue * add eslint switch-exhaustiveness-check rule * Revert "add eslint switch-exhaustiveness-check" This reverts commit 49f9caabf0af900bc5ba2b80f5baff72c27e02cd. * move from labelled loop to helper functions * move helper functions downward