| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* --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
|
|
|
|
|
|
|
|
|
| |
* fix
* resolve conflict
---------
Signed-off-by: Lyroxide <33834537+Lyroxide@users.noreply.github.com>
|
|
|
|
|
| |
* escape apostrophe in dict name for dynamic handlebars
* try handling backslashes
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* Update comma-dangle rule
* Fix dangling commas
|
|
|
|
|
| |
* Disallow breaking on rb tags when layout aware scanning is enabled
* Mark RB as enterable
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 naming of _clipboardReaderLike
* Allow clipboard monitors in popup searches
* Only run _onClipboardTextChange if a search tab does not exist
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
sent through virtual keycodes (#986)
* Fix firefox modifiers in textarea and input
* Fix modifiers sent through virtual keycodes
* Styling fix
* Fix wording in comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* Remove No pitch accent data from pitch handlebars
* Update tests
* Fix newline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 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 Lao language
* Remove last comma in lang-d.js and bring lo out of la nest at lang-des.s.ts
|
| |
|
|
|
|
|
|
|
| |
elements are active (#958)
* Disallow scanning while mouse is not moving if input, textarea, or editable elements are active
* Move to _inputtingText method
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add -rya -cha -n
* add tests
* fix typos
* resolve merge conflicts
* add tests
* change to -ya with chaining
* fix -ge and add -garu
|
|
|
|
|
|
|
| |
* 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 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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
mouse is no longer moving (#917)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 hotkeys to be modifiers only
* Include meta keycodes
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add glossary-first handlebars
* Add docs
* Fix missing /if
* Write handlebars test data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add and remove settings from advanced
* Add warning to Text scan length
* Move Frequency sorting dictionary under Dictionaries, remove it from advanced, add child element Frequency sorting mode to advanced
* Move Result grouping mode to Appearance
* Move General above Dictionaries
* Rename Popup Appearance to Appearance
* Move Reading mode from Text Parsing to Appearance
* Make Text scan length warning less scary
* Move anki dupe settings back to advanced
* Remove scan delay setting from welcome page
* Move Recommended Permissions to top of welcome page, add bold, and add warning text
* Improve wording of recommended permissions warning
* Rename Enable content scanning to Enable Yomitan
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
* Remove Auto-hide search popup option from welcome page
* Fix appearance href and id
* Add Result Display category
* Add success text css
* Split off quick start guide from welcome page
* Add language selector on welcome page
* Add success or danger text if recommended permissions are on or off
* Remove unused placeholders in backup category
* Rename Popup to Popup Behavior
* Move Auto-hide search popup and Hide popup on cursor exit to Popup Behavior
* Move Term display style, Reading mode, and Frequency display style to advanced
* Move custom css to advanced
* Remove unused setting
* Add back setting with note and hidden
* Remove Auto-hide search popup
* Restore Auto-hide search popup
* Fix Auto-hide search popup description
---------
Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
|
| |
|
|
|
|
| |
instead of only dictionaries with frequency data (#924)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add option to bulk generate anki cards
* Fix tab replacement
* Set deckname and modelname in note builder
* Add addNotes to ankiconnect api implementation
* Add option to send word list to anki directly
* Add support for audio and media toggle
* Add support for dictionary media
* Remove unnecessary assignment
* Remove unused css
* Remove redundant html
* Start of progress bar implementation
* Remove redundant type annotation
* Remove unused import
* Rename words to terms
* Print progress to console
* Add confirmation to Export to file
* Improve progress logs
* Add unresponsive and console note
* Add progress bars
* Make cancel button actually cancel operation
* Remove unresponsive warnings
* Disable send and export buttons after they are clicked
* Remove unneeded Yomichan mention
* Mark as experimental
* Clarify description
* Add documentation on Anki Deck Generation
* Add experimental note in docs
* Add warning text to settings page
* Switch example text based on language
* Remove silly cancel function and bind directly
* Rename to model
* Add link to docs
* Make test text less confusing
* Rename deck to notes
* Clarify what is being sent to anki
* Fix incorrect modal header text
* Clarify wording
* Fix ankiconnect addNotes return types
* Add error handling to send to anki
* Fix wording and naming in docs
* Add option to prevent sending duplicates to anki
* Update anki deck and model without a page refresh
* Cleanup internal html naming
* Cleanup type definition styling
* Update example text without a page refresh
* Prevent closing the send/export confirm modal from messing up the ui and not allowing the user to see the current progress
* Fix cancel getting stuck on true
* Consolidate state changes
* Support idle download timeout
* Capitalize Failed to add cards error
* Add separate variable for idleTimeout calculation
* Remove redundant _cachedDictionaryEntryValue variable
* Use tags option to populate tags
* Include deck and tags when exporting to file
* Use date down to seconds and zero pad
* Remove unnecessary ternary
* Limit 'path' finding function to only being able to search for 'path'
* Rename _findPathsByKey to _findAllPaths
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Write transforms tests for English
Wrote transforms tests for English to cover all implemented transforms and fixed code that was failing the tests.
* Fix linter errors
|