| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Option for Scanning Alt Text
* Don't scan alt text if option disabled
* Add scanAltText to Options Schema
* Add `scanning.scanAltText` Update Function
* Bump Options Test Version
* Remove Param Annotation
|
|
|
|
|
|
|
| |
* add audio source for wiktionary format filenames on commons
* allow region codes
* fix files being saved in anki as mp3
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add lingua libre audio source
* mvp
* run file requests in parallel
* remove redundant language var
* redundant api function
---------
Co-authored-by: Cashew <52880648+cashewnuttynuts@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#1136)
* Add normalization of combining dakuten and handakuten to ja preprocessors
* Fix typo
* Remove redundant variable assignment
* Fix first character processed incorrectly when it is a character that gets combined
* Add test for combining dakuten and handakuten
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add cn reading processors
* remove meow
* fix lint
* add cn reading processors
* remove meow
* fix lint
* wip
* update names
* update test
* remove vestigial code
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add viet diacritics normalization
* move regexp construction outside of function
* fix eslint
* add 'off' option
* fix lint
* fix type
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* get styles in db
* get styles in settings
* use styles
* fix test
* scope
* fix comma separated
* escape dict name in css selector
* g regex
* get styles in anki
* fix tests
* more specificity
* whitespace
* test importing
* test handlebars
* add styles to glossary-first
|
|
|
|
|
| |
* Add auto option to body theme
* Fix firefox bug where themes do not set correctly in settings due to getOptions failing
|
|
|
|
|
|
|
| |
* remove romanian diacritics
* linting fix
* fixed redundancy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* --wip-- [skip ci]
* Draft
* Remove weird code
* Use existing API instead of dulpicating
* Small improvements
* remove console.log
* remove console.log
* Add setting for contextMenu
* Fix test
* Address comments
* Add option-util upgrade
* fix option-utils
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* load descriptions in deinflector
* description functions in deinflectors
* show descriptions in title
* use toaster
* use names without internal
* css lint
* reformat transform descriptors
* fix merge errors
* done?
* rename method
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* Spanish transforms
* Add more spanish transforms
* Address comments
* Fix types
* Undo prefix change
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
| |
* mvp
* cleanup
* cleanup types
* descriptive variable
* type
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* Revert Mandarin Name Change
|
|
|
|
|
| |
* Add Lao language
* Remove last comma in lang-d.js and bring lo out of la nest at lang-des.s.ts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* add source and target language dictionary metadata
* validate iso
* add description and grc
|
| |
|
|
|
|
|
| |
* Add option to disable furigana and reading in `Term display style`
* Also hide search reading
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
| |
* add details and summary tags
* fixed css test
---------
Co-authored-by: martholomew <martholomew@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
* abstract deinflection tests
* add a couple of phrasal verb tests
* fix past simple phrasal verb deinflection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* improve term sorting
* edge case
|
|
|
|
|
|
|
| |
* Add scanOnTouchTap
* Update version to 30
* Cleanup if statement
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplified diacratic removal and added preprocessors to LA and GRC
* linted
* Clarified the name of removeAlphabeticDiacritics
* Add comment to removeAlphabeticDiacritics
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
* Change to NFD
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* Remove trailing spaces in comment
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
* Remove latin preprocessors .eslintrc.json
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* fix tests
---------
Signed-off-by: Darius Jahandarie <djahandarie@gmail.com>
Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
Co-authored-by: martholomew <martholomew@users.noreply.github.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* add suru masu stem deinflection
|
| |
|
|
|
|
|
| |
* Detect duplicates when checking if can add note
* Display the stacked add buttons
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* abstract deinflections
* undo redundant changes
* remove cast
* MultiLanguageTransformer
* comments
* comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move isStringPartiallyJapanese out of ClipboardMonitor
* Create isStringPartiallyJapanese function
* Add textMayBeTranslatable
* Rename API function
* Rename internal function
* Add helper
* Update translatable check
* Pass language to TextScanner
* Pass language explicitly
* Use textMayBeTranslatable
* No redundant translatable check
* Update eslint
* Remove double newline
* Collapse
* Rename
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* simplify transformer
* use isPartOfSpeech
* simplify
* rename to isDictionaryForm
* NOP
---------
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* part1
* frotend done?
* fix tests
* offscreen and type complications
* add tests
* start fixing tests
* keep fixing tests
* fix tests
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* delete pt
* renames
* add tests
* kebab-case filenames
* lint
* minor fixes
* merge
* fixes
* fix part of comments
* fix more comments
* delete unused types
* comment
* comment
* do backend
* other files
* move fetch utils to own file
* remove extra line
* add extra line
* remove unnecessary export
* simplify folder structure
* remove redundant async
* fix param type in api
* fix language index
* undo changes to cssStyleApplier
* undo changes to utilities.js
* undo changes to utilities.js
* simplify language util
* lint
* undo phantom changes to anki integration
* require textTransformations options
* explicit locale in localeCompare
* punctuate notes
* prefer early exit
* rename LanguageOptionsObjectMap
* rename to textPreprocessor
* tuple with names instead of boolean array
* safe data setting
* optional chaining
* simplify LanguageOptions
* encapsulate languages
* delete language util
* nullable language in text preprocessors controller
* rename transform to process
* remove settings
* make translation advanced again
* remove unused getTextTransformations api call
* comments
* change language types
* RIP flags
* comments
* fix tests
* lint
* Text preprocessor type changes (#10)
* Add types
* Update types
* Simplify type check
* Refactor typing and structuring of language definitions
* lint
* update translator benchmark
* undo markdown changes
* undo markdown changes
* undo markdown changes
* more merge
* add more languages
* wip
* refactoring
* fixes
* add comment, delete settings text
* remove language from jsconfig
---------
Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update AudioDownloader
* Update Translator
* Update ClipboardMonitor
* Update ClipboardReader
* Update PanelElement
* Update QueryParser
* Update DisplayGenerator
* Update DisplayHistory
* Update DOMDataBinder
* Remove unnecessary cast
* Update Popup types
* One declaration per line
* Remove optionals from Frontend constructor
* Fix Translator constructor
|
|
|
|
|
|
|
|
|
| |
* Add API map type safety
* Add API map types
* Simplify names
* Remove unused type
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify display template loading
* Add helper
* Rename file
* Rename for simplicity
* Create templates file
* Load
* Remove templates
* Move permissions templates
* Remove "templates" from comments
* Fix prepare
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move languageDescriptorMap
* Move text preprocessors
* Merge into language-descriptors.js
* Merge typescript
* Initialize inline
* Move types
* Update types
* Update eslint
* Update jsconfig reference
* Rename
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't export Logger
* Rename logger.js to log.js
* Move helper function
* Update extension name configuration
* Simplify docs
* Move issue URL to a field
* Simplify context
* Remove optional params that are never used
* Configure backend
* Update eslint
* Simplify
* Rename function
* Simplify _api reference
* Simplify docs
* Remove unused log levels (except 'log')
* Add log function
* Rename for more clear intent
* Use log.log
|