summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Bump ossf/scorecard-action from 2.3.1 to 2.3.3 in the minor group (#1020)dependabot[bot]2024-06-01
| | | | | | | | | | | | | | | | | | | | Bumps the minor group with 1 update: [ossf/scorecard-action](https://github.com/ossf/scorecard-action). Updates `ossf/scorecard-action` from 2.3.1 to 2.3.3 - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/0864cf19026789058feabb7e87baa5f140aac736...dc50aa9510b46c811795eb24b2f1ba02a914e534) --- updated-dependencies: - dependency-name: ossf/scorecard-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 isTextLookupWorthy function for Chinese (#743)Cashew2024-05-31
| | | | | | | | | | | | | | * add is Chinese check move * fix lint * fix lint * fixes --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com> Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com>
* Allow trailing commas in ESLint (#1013)James Maa2024-05-31
| | | | | * Update comma-dangle rule * Fix dangling commas
* Remove Licenses (#1015)marv2024-05-31
|
* allow dictionary language to be Serbo-Croatian (#1009)StefanVukovic992024-05-30
|
* Disallow breaking on rb tags when layout aware scanning is enabled (#1006)Kuuuube2024-05-29
| | | | | * Disallow breaking on rb tags when layout aware scanning is enabled * Mark RB as enterable
* Add note about refreshing page in api invoke error (#1004)24.5.28.0Kuuuube2024-05-28
|
* Removed normalizeTermOrReading (#985)Matttttt2024-05-28
| | | | | | | | | | | | | | | * removed normalizeTermOrReading As it is not enabled, and enabling it would lead to unintended behavior for dictionaries, it makes sense to get rid of it. Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Re-added ternary operator Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* Fix clipboard monitor in popups (#1003)Kuuuube2024-05-28
| | | | | | | * Fix naming of _clipboardReaderLike * Allow clipboard monitors in popup searches * Only run _onClipboardTextChange if a search tab does not exist
* Mention Browser TTS Options in Docs (#998)marv2024-05-28
| | | | | * Shill edge * Rework TTS recommendation, wording
* Change mode to enum (#992)Brandon Rainey2024-05-28
| | | | | | | | | * converted mode to an enum * converted mode to an enum * created a Mode type in backend.d.ts, reverted enum in backend.js to use this type instead * removed old comment
* Clear mouse position on popup close (#997)Kuuuube2024-05-27
|
* Add and Reorganize Docs (#999)marv2024-05-27
| | | | | * Add and Reorganize Docs * Update dictionaries line
* remove extra word (#1001)StefanVukovic992024-05-27
| | | Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Basic Spanish Transforms (#908)James Maa2024-05-23
| | | | | | | | | | | * Spanish transforms * Add more spanish transforms * Address comments * Fix types * Undo prefix change
* Fix detection of modifiers on Firefox in textarea or input and modifiers ↵Kuuuube2024-05-23
| | | | | | | | | | | sent through virtual keycodes (#986) * Fix firefox modifiers in textarea and input * Fix modifiers sent through virtual keycodes * Styling fix * Fix wording in comment
* [ja] add preprocessor for width of alphabetic characters (#964)StefanVukovic992024-05-22
| | | | | | | | | | | | | | | | | | | | | | * add japanese text preprocessor for variants in width of alphabetic characters * try combining with numeric to improve performance * Update ext/js/language/ja/japanese.js Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * Update ext/js/language/ja/japanese.js Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * fix tests --------- Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
* improve preprocessing performance (#973)StefanVukovic992024-05-22
| | | | | | | | | | | * mvp * cleanup * cleanup types * descriptive variable * type
* Add check for counts and counts.termMeta (#984)Kuuuube2024-05-22
|
* Edited README (#978)Matttttt2024-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md sad day Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md moved cat to better spot Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * re-added things under helpful information Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * re-added migration guide to helpful links Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * fixed error * more emojis Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update README.md Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: James Maa <jmaa@berkeley.edu> Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> Co-authored-by: martholomew <martholomew@users.noreply.github.com> Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Co-authored-by: James Maa <jmaa@berkeley.edu>
* Rework dictionary import UX (#937)24.5.21.0Kuuuube2024-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to import from URL * Remove some debug code * Improve import ui * Add drag and drop option * Add basic-only setting css * Better sizing of import elements * Hide import from url if advanced is not enabled * Improve file drag and drop box look * Remove redundant css * Allow clicking on drag and drop box to open file picker * Allow drag and drop for folders * Prevent welcome page from breaking due to unnecessary imports * Note that the drop zone can be clicked on * Reject directories with item counts requiring more than 1000 processing steps (roughly 500 items) * Improve import modal styling * Fix typing * Add book icon to drag zone * Remove drag-over class on drop * Filter only for .zip files in drag and drop * Drop zone text rename Files to Dictionaries and add (.zip) * Clarify not using instanceof in ts-expect-error * Only show drag-over styling when file is zip or directory
* Update issue templates (#898)James Maa2024-05-21
|
* Fix HTML lang tags not matching the selected language (#979)Kuuuube2024-05-21
| | | | | | | | | | | | | * Cleanup and add language tag to renderResult * Add language switching support to anki card templates scanned text * Update search page search-textbox lang on language switch * Set queryparser lang * Allow updating language for display-generator * Only use kanji-stroke-orders font for japanese
* Move dictionary up and down buttons out of kebab menu (#971)Kuuuube2024-05-21
| | | | | | | | | | | * Add up and down buttons to dictionaries list * Fix text wrapping on firefox when viewport is smaller than dict modal * Cleanup * Remove up and down options from kebab menu * Hide priority under advanced
* Browser agnostic search page clipboard checking (#965)Kuuuube2024-05-21
|
* Remove No pitch accent data from pitch handlebars (#982)Kuuuube2024-05-21
| | | | | | | * Remove No pitch accent data from pitch handlebars * Update tests * Fix newline
* Allow ordering term dictionaries with the same priority using the ui order ↵Kuuuube2024-05-21
| | | | | | | | | | | | | | | | | | | (#981) * Remove score from dictionary sorting * Update tests * Allow score sorting after dict order * Update tests * Sort by score before index * Move headwordIndices and headwords below score * Update tests * Move definition count back under headwords
* Update anki settings on Configure Anki card format click (#972)Kuuuube2024-05-21
|
* add support for overwriting existing card (#859)StefanVukovic992024-05-21
| | | | | | | | | | | | | | | | | | | | | * frontend * wip * minimum viable * minor simplification * simplify gradients in duplicate svg * simplify add-duplicate svg * colors good * arrows shape * disable overwrite if no valid duplicate IDs * add warning
* Add Cantonese (#976)marv2024-05-21
| | | | | * Add Cantonese * Revert Mandarin Name Change
* Add onyomi-hiragana handlebars (#960)rhgg22024-05-21
| | | | | | | | | | | | | | | | | | | | | | * Add onyomi-hiragana handlebars * Add onyomi-hiragana handlebars * Add docs * Fix typo in documentation of kunyomi/onyomi handlebars * Update ext/data/templates/anki-field-templates-upgrade-v36.handlebars Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com> Signed-off-by: rhgg2 <richard.garner@mq.edu.au> * Update tests for onyomi-hiragana handlebars * Update tests for onyomi-hiragana handlebars * Fix typo in code --------- Signed-off-by: rhgg2 <richard.garner@mq.edu.au> Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Add up to date screenshots (#970)Kuuuube2024-05-20
| | | | | | | * Add new images * Crop out browser ui * Make anki deck and model name generic
* Add word wrap to #extension-info on mobile to prevent page horizontal ↵Kuuuube2024-05-18
| | | | elongation (#966)
* refactor svg code for icons (#962)StefanVukovic992024-05-18
| | | | | | | | | | | | | | | * step-1 * step-2 * add-term-kana * remove from add-term-kanji * duplicate kana * blue versions * filter ids
* Add Lao language (#963)Pathompong Kwangtong2024-05-18
| | | | | * Add Lao language * Remove last comma in lang-d.js and bring lo out of la nest at lang-des.s.ts
* Properly check if modifiers are present (#959)Kuuuube2024-05-17
|
* Disallow scanning while mouse is not moving if input, textarea, or editable ↵Kuuuube2024-05-17
| | | | | | | elements are active (#958) * Disallow scanning while mouse is not moving if input, textarea, or editable elements are active * Move to _inputtingText method
* add documentation for language features (#956)StefanVukovic992024-05-17
| | | | | | | | | | | | | | | | | | | | | * add documentation for language features * fix * fix 1 comment * fix more comments * expand deinflection section * align picture right * reword isTextLookupWorthy * more rewording * consistent lint style * prettier lint
* refactored onKeyDown to be easier to read, and added test (#943)Brandon Rainey2024-05-17
| | | | | | | | | | | * refactored onKeyDown to be easier to read, and added test to ensure preserved behavior * added new keypress events to test * refactored test to call method directly from SearchDisplayController, removed second test, removed old copyright * added test for invalid keys, split keyboard events into valid and invalid * added crtl + backspace as valid keypress, added 2 new invaid keypresses to test
* Fix -ge and add -garu transforms (#952)Lyroxide2024-05-16
| | | | | | | | | | | | | | | * add -rya -cha -n * add tests * fix typos * resolve merge conflicts * add tests * change to -ya with chaining * fix -ge and add -garu
* Allow setting optional permissions on welcome page (#942)Kuuuube2024-05-15
| | | | | | | * Differentiate between recommended and full permissions on welcome page * Allow setting optional permissions from welcome page * Fix early return causing firefox permission text to not update correctly
* add test case for search resolution "word" (#939)24.5.14.0StefanVukovic992024-05-14
| | | | | * fix search resolution infinite loop * add search resolution word test case
* Fix collection import error and progress display (#940)Kuuuube2024-05-14
|
* fix search resolution infinite loop (#938)StefanVukovic992024-05-14
|
* Make Scan selected text lazy and add Scan text at selection (#915)Kuuuube2024-05-14
| | | | | | | | | | | | | * Add Scan selected text lazy * Remove extra spaces * Improve naming * Use disallowExpandSelection instead of "lazy" * Use "keyword arguments" for _scanSelectedText * Revert Use "keyword arguments" for _scanSelectedText
* Update anki settings when Configure Anki card format button is clicked ↵Kuuuube2024-05-14
| | | | | | | instead of requiring page refresh (#934) * Update anki settings when Configure Anki card format is clicked instead of requiring page refresh * Select by data-modal-action instead of id
* Cache mousemove and hook keyboard to allow scanning at mouse position while ↵Kuuuube2024-05-14
| | | | mouse is no longer moving (#917)
* Details and Summary Tags CSS (Hopefully for the last time) (#929)Matttttt2024-05-14
| | | | | | | | | | | | | | | | | * Re-adding CSS for Left Margin on Details Tag Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Got rid of ruling line for Summary and Details Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Fix tests for Summary and Details tags Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* add korean (#787)StefanVukovic992024-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * prepare preprocessors * add postprocessors * add hangul functions (#13) * move hangul to lib, add test (#14) * add hangul functions * hangul lib * fix tests * test inputs * fix hangul disassemble, fix postprocessing * rename test * reset transformedText for multiple postprocessors * add credits * fix conflict --------- Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com> * Vetting done (#16) * add hangul functions * hangul lib * fix tests * test inputs * fix hangul disassemble, fix postprocessing * rename test * reset transformedText for multiple postprocessors * add credits * fix conflict * add transforms * move substring * textprocessing function * mostly fixed * delete comment * mostly fixed (cherry picked from commit 268c8968ec64bf9d1fbd7d448a96d590399265c4) * prepare preprocessors (cherry picked from commit d139258398de9285396db31c6d46795ee95eb01a) * (reset) remove textSourceMap * rawSource before textreplacements * update tests * fix transforms * fix transforms * 100% vetted * add link to dict --------- Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com> * update unit tests * update test --------- Co-authored-by: Lyroxide <33834537+Lyroxide@users.noreply.github.com>
* Allow keyboard shortcut hotkeys to be modifiers only (#916)Kuuuube2024-05-14
| | | | | * Allow hotkeys to be modifiers only * Include meta keycodes