summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Prevent updating dict entry details for anki when anki is disabled (#909)Kuuuube2024-05-11
| | | | | | | * Prevent updating dict entry details for anki when anki is disabled * Move check to _updateDictionaryEntryDetails * Fix if
* add a few deinflections for Latin (#901)StefanVukovic992024-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * abstract deinflections * undo redundant changes * remove cast * switch to js * MultiLanguageTransformer * comments * comments * fix test * suffixInflection * fix bench * substring instead of replace * without heuristic * suffixMap * add other language deinflections * wip * catch cycles * fix tests * uninflect to deinflect * use less regex * start * organize language transform test by language * simpler folders * wip * wip * delete german test * cleanup
* Remove playwright's success PR comments (#906)Daniel Scherf2024-05-10
| | | Signed-off-by: Daniel Scherf <35780068+dlsf@users.noreply.github.com>
* Change Details and Summary Tags CSS (#894)Matttttt2024-05-09
| | | | | | | | | | | | | * Change summary CSS Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update structured-content-overrides.css Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* Update eslint unsafe rule (#887)James Maa2024-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable @typescript-eslint/no-unsafe-assignment * Updates * Add missing import * Updates * Fix types? * Fix tests * Address comments * Move TextProcessorVariant to types * Update types/ext/translation-internal.d.ts Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com> Signed-off-by: James Maa <jmaa@berkeley.edu> --------- Signed-off-by: James Maa <jmaa@berkeley.edu> Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com> Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Bump softprops/action-gh-release from 1 to 2 (#799)dependabot[bot]2024-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump softprops/action-gh-release from 1 to 2 Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/de2c0eb89ae2a093876385947365aca7b0e5f844...9d7c94cfd0a1f3ed45544c887983e9fa900f0564) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update create-prerelease-on-tag.yml Signed-off-by: James Maa <jmaa@berkeley.edu> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: James Maa <jmaa@berkeley.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: James Maa <jmaa@berkeley.edu>
* add source and target language dictionary metadata (#891)StefanVukovic992024-05-09
| | | | | | | * add source and target language dictionary metadata * validate iso * add description and grc
* Fix action-popup toggle being elongated on desktop (#890)Kuuuube2024-05-07
|
* Fix mobile action-popup (#886)Kuuuube2024-05-07
| | | | | | | | | * Fix mobile action popup * Fix toggle-handle * Prevent action-popup looking wacky if it somehow gets rendered as a popup (desktop) instead of a full page (mobile) * Replace chevron icons with action specific icons
* Fix Term display style and Reading mode css conflict (#885)Kuuuube2024-05-06
|
* add single dictionary handlebars (#814)24.5.5.0StefanVukovic992024-05-05
| | | | | | | | | | | | | | | | | * add single dictionary handlebars * fix dicts with kanji in title * sort * rename to single-glossary-XYZ * add brief and no dict variants * add docs, only terms no kanji * allow testing single dict handlebars * remove empty comment
* Fix definition.cloze and text-based getMedia in handlebars being escaped (#857)Kuuuube2024-05-04
| | | | | | | | | * Fix definition.cloze in handlebars not being unescaped * Fix {clipboard-text} * Fix {selection-text} * Update update note
* Bump the minor group with 3 updates (#874)dependabot[bot]2024-05-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the minor group with 3 updates: [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action), [robinraju/release-downloader](https://github.com/robinraju/release-downloader) and [cardinalby/google-api-fetch-token-action](https://github.com/cardinalby/google-api-fetch-token-action). Updates `lycheeverse/lychee-action` from 1.9.3 to 1.10.0 - [Release notes](https://github.com/lycheeverse/lychee-action/releases) - [Commits](https://github.com/lycheeverse/lychee-action/compare/c053181aa0c3d17606addfe97a9075a32723548a...2b973e86fc7b1f6b36a93795fe2c9c6ae1118621) Updates `robinraju/release-downloader` from 1.9 to 1.10 - [Release notes](https://github.com/robinraju/release-downloader/releases) - [Commits](https://github.com/robinraju/release-downloader/compare/368754b9c6f47c345fcfbf42bcb577c2f0f5f395...c39a3b234af58f0cf85888573d361fb6fa281534) Updates `cardinalby/google-api-fetch-token-action` from 1.0.3 to 1.0.4 - [Release notes](https://github.com/cardinalby/google-api-fetch-token-action/releases) - [Commits](https://github.com/cardinalby/google-api-fetch-token-action/compare/24c99245e2a2494cc4c4b1037203d319a184b15b...f455422472a558d48d939e77a65cdcec38e707b5) --- updated-dependencies: - dependency-name: lycheeverse/lychee-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: robinraju/release-downloader dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: cardinalby/google-api-fetch-token-action dependency-type: direct:production 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>
* add some Japanese transforms (#833)Lyroxide2024-05-04
| | | | | | | | | | | | | * add -rya -cha -n * add tests * fix typos * resolve merge conflicts * add tests * change to -ya with chaining
* Add operation docs (#865)James Maa2024-04-29
| | | | | * Add operation docs * Add warning
* add finnish language option (#867)StefanVukovic992024-04-29
|
* Add blue variants of the add duplicate buttons (#860)24.4.28.0Kuuuube2024-04-26
|
* fix profile select on search page not updating (#858)StefanVukovic992024-04-25
|
* Add option to disable furigana and reading in Term display style (#862)Kuuuube2024-04-25
| | | | | * Add option to disable furigana and reading in `Term display style` * Also hide search reading
* add profile switching keyboard shortcuts (#832)StefanVukovic992024-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add profile switching * add duplicate behavior dropdown (#853) * duplicate behavior dropdown * allow duplicate for existing users * Update docs/anki-integration.md Co-authored-by: James Maa <jmaa@berkeley.edu> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * Update docs/anki-integration.md Co-authored-by: James Maa <jmaa@berkeley.edu> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * Update docs/anki-integration.md Co-authored-by: James Maa <jmaa@berkeley.edu> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * remove suggestion comment --------- Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> Co-authored-by: James Maa <jmaa@berkeley.edu> --------- Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> Co-authored-by: James Maa <jmaa@berkeley.edu>
* add duplicate behavior dropdown (#853)StefanVukovic992024-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | * duplicate behavior dropdown * allow duplicate for existing users * Update docs/anki-integration.md Co-authored-by: James Maa <jmaa@berkeley.edu> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * Update docs/anki-integration.md Co-authored-by: James Maa <jmaa@berkeley.edu> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * Update docs/anki-integration.md Co-authored-by: James Maa <jmaa@berkeley.edu> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * remove suggestion comment --------- Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> Co-authored-by: James Maa <jmaa@berkeley.edu>
* Added Details and Summary tags to Structured Content (#842)Matttttt2024-04-22
| | | | | | | | | * add details and summary tags * fixed css test --------- Co-authored-by: martholomew <martholomew@users.noreply.github.com>
* move Albanian grammar comments to test (#852)StefanVukovic992024-04-22
| | | | | * move albanian grammar comments to test * redundant line
* rework text processors (#793)24.4.21.0StefanVukovic992024-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | * rework text processors * rename text-preprocessors file * Fix search header left margins on small screens (#839) * Refocuses search input on backspace (#840) Fixes #775. Note that this behavior gets overridden if backspace is set as a shortcut action. * Change hotkey triggering condition to account for IME usage (#837) _isKeyCharacterInput only worked when not using an IME, as inside of an IME when a keydown event is fired, the key is reported as "Process", which does not have a key.length equal to 1. This resulted in hotkeys being triggered while typing, which this commit fixes. --------- Co-authored-by: James Maa <jmaa@berkeley.edu> Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Co-authored-by: Andrew Thomas Sartor <andrew@sartor.net>
* Bump webext-buildtools-firefox-sign-xpi-action to 1.0.8 (#850)Kuuuube2024-04-21
|
* Revert cardinalby/webext-buildtools-firefox-sign-xpi-action (#849)24.4.20.1James Maa2024-04-20
| | | Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
* start using german deinflections (#848)24.4.20.0StefanVukovic992024-04-20
| | | | | * use german transforms * fix test
* Prevent logging error when anki is disconnected (#843)StefanVukovic992024-04-20
| | | | | * log only on errors that aren't disconnected anki * move back
* Change hotkey triggering condition to account for IME usage (#837)Andrew Thomas Sartor2024-04-19
| | | | | | _isKeyCharacterInput only worked when not using an IME, as inside of an IME when a keydown event is fired, the key is reported as "Process", which does not have a key.length equal to 1. This resulted in hotkeys being triggered while typing, which this commit fixes.
* Refocuses search input on backspace (#840)Andrew Thomas Sartor2024-04-19
| | | | Fixes #775. Note that this behavior gets overridden if backspace is set as a shortcut action.
* Fix search header left margins on small screens (#839)Kuuuube2024-04-19
|
* abstract deinflection tests (#784)StefanVukovic992024-04-18
| | | | | | | * abstract deinflection tests * add a couple of phrasal verb tests * fix past simple phrasal verb deinflection
* Bump the minor group with 6 updates (#798)dependabot[bot]2024-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the minor group with 6 updates: | Package | From | To | | --- | --- | --- | | [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) | `3.1.2` | `3.1.4` | | [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) | `1.9.0` | `1.10.0` | | [awalsh128/cache-apt-pkgs-action](https://github.com/awalsh128/cache-apt-pkgs-action) | `1.4.1` | `1.4.2` | | [cardinalby/js-eval-action](https://github.com/cardinalby/js-eval-action) | `1.0.7` | `1.0.9` | | [cardinalby/webext-buildtools-firefox-sign-xpi-action](https://github.com/cardinalby/webext-buildtools-firefox-sign-xpi-action) | `1.0.6` | `1.0.7` | | [cardinalby/webext-buildtools-firefox-addons-action](https://github.com/cardinalby/webext-buildtools-firefox-addons-action) | `1.0.9` | `1.0.10` | Updates `dawidd6/action-download-artifact` from 3.1.2 to 3.1.4 - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/71072fbb1229e1317f1a8de6b04206afb461bd67...09f2f74827fd3a8607589e5ad7f9398816f540fe) Updates `slsa-framework/slsa-github-generator` from 1.9.0 to 1.10.0 - [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases) - [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md) - [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.9.0...v1.10.0) Updates `awalsh128/cache-apt-pkgs-action` from 1.4.1 to 1.4.2 - [Release notes](https://github.com/awalsh128/cache-apt-pkgs-action/releases) - [Commits](https://github.com/awalsh128/cache-apt-pkgs-action/compare/2555a377dfb0ca4763693499998da808e8d5afa0...a6c3917cc929dd0345bfb2d3feaf9101823370ad) Updates `cardinalby/js-eval-action` from 1.0.7 to 1.0.9 - [Release notes](https://github.com/cardinalby/js-eval-action/releases) - [Commits](https://github.com/cardinalby/js-eval-action/compare/b34865f1d9cfdf35356013627474857cfe0d5091...e905fd3681d757e992c976f61c2784dcb4060e13) Updates `cardinalby/webext-buildtools-firefox-sign-xpi-action` from 1.0.6 to 1.0.7 - [Release notes](https://github.com/cardinalby/webext-buildtools-firefox-sign-xpi-action/releases) - [Commits](https://github.com/cardinalby/webext-buildtools-firefox-sign-xpi-action/compare/94a2e58141e33c4306a72a93f191e8540189df92...ed44ff06ca9eae47ac45dd34b12833379b683c78) Updates `cardinalby/webext-buildtools-firefox-addons-action` from 1.0.9 to 1.0.10 - [Release notes](https://github.com/cardinalby/webext-buildtools-firefox-addons-action/releases) - [Commits](https://github.com/cardinalby/webext-buildtools-firefox-addons-action/compare/924ad87df7e4af50a654c164ad9e498dce260ffa...987e338100095280ec8daf942e5640aeb55d3647) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: slsa-framework/slsa-github-generator dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: awalsh128/cache-apt-pkgs-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: cardinalby/js-eval-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: cardinalby/webext-buildtools-firefox-sign-xpi-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: cardinalby/webext-buildtools-firefox-addons-action dependency-type: direct:production 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> Co-authored-by: James Maa <jmaa@berkeley.edu>
* cache clipboard image to prevent duplicating in anki media (#776)StefanVukovic992024-04-18
| | | | | * cache clipboard image to prevent duplicating in anki media * change filename format for all media
* Update CONTRIBUTING.md (#829)24.4.18.0James Maa2024-04-16
| | | | | | | | | | | | | * Update CONTRIBUTING.md Signed-off-by: James Maa <jmaa@berkeley.edu> * Update CONTRIBUTING.md Signed-off-by: James Maa <jmaa@berkeley.edu> --------- Signed-off-by: James Maa <jmaa@berkeley.edu>
* Added Old Irish (#831)Matttttt2024-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added Old Irish (SGA) * Merge Yomitan Updates (#1) * fix (#811) * Add scanOnTouchTap and improve touch scanning defaults (#791) * Add scanOnTouchTap * Update version to 30 * Cleanup if statement * log anki error when hiding button (#821) * Fix noteInfos not getting assigned (#819) * improve term sorting (#806) * improve term sorting * edge case * fix: add missing handlebar entry (#823) * fix: add missing handlebar entry * fix: add new handlebar to tests * Revert to using canAddNotes (#827) Fix #818 * Remove unused canAdd (#824) Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local> * Fix duplicate check not working across note types (#830) * Fix duplicate check not working across note types * Add invalidNoteId --------- Co-authored-by: James Maa <jmaa@berkeley.edu> --------- Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com> Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Co-authored-by: m-edlund <me@fwegmann.com> Co-authored-by: Eloy Robillard <eloy.robillard@gmail.com> Co-authored-by: James Maa <jmaa@berkeley.edu> Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local> * Revert "Merge Yomitan Updates (#1)" This reverts commit 748dc2202b3ea9e0a028ebae5ecf51208b422c2b. * Fix Static Analysis Error * Fix eslint erro --------- Co-authored-by: martholomew <martholomew@users.noreply.github.com> Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com> Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Co-authored-by: m-edlund <me@fwegmann.com> Co-authored-by: Eloy Robillard <eloy.robillard@gmail.com> Co-authored-by: James Maa <jmaa@berkeley.edu> Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
* Fix duplicate check not working across note types (#830)24.4.16.0Kuuuube2024-04-16
| | | | | | | | | * Fix duplicate check not working across note types * Add invalidNoteId --------- Co-authored-by: James Maa <jmaa@berkeley.edu>
* Remove unused canAdd (#824)James Maa2024-04-16
| | | Co-authored-by: James Maa <jamesmaa@Jamess-MacBook-Pro.local>
* Revert to using canAddNotes (#827)Eloy Robillard2024-04-16
| | | Fix #818
* fix: add missing handlebar entry (#823)m-edlund2024-04-15
| | | | | * fix: add missing handlebar entry * fix: add new handlebar to tests
* improve term sorting (#806)24.4.15.0StefanVukovic992024-04-15
| | | | | * improve term sorting * edge case
* Fix noteInfos not getting assigned (#819)Kuuuube2024-04-15
|
* log anki error when hiding button (#821)StefanVukovic992024-04-15
|
* Add scanOnTouchTap and improve touch scanning defaults (#791)24.4.14.0Kuuuube2024-04-14
| | | | | | | * Add scanOnTouchTap * Update version to 30 * Cleanup if statement
* fix (#811)StefanVukovic992024-04-14
|
* fix deinflection on past simple of english phrasal verbs (#808)StefanVukovic992024-04-09
|
* english grammar: adverb form of some adjectives (#803)StefanVukovic992024-04-09
|
* rename language options (#794)Cashew2024-04-09
| | | Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Update docs for new add duplicate buttons (#785)Eloy Robillard2024-04-09
| | | Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* feature: add handlebar for jidoujisho pitch graph (#773)m-edlund2024-04-09
| | | | | | | | | * feat: add handlebar for jidoujisho pitch graph * fix: update handlebar upgrade test --------- Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>