summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAge
* Fix search input focus not working properly (#1752)toasted-nutbread2021-06-25
|
* Update dependencies (#1749)toasted-nutbread2021-06-24
| | | | | | | * Update dependencies * Remove unnecessary readonly attribute * Run npm audit fix
* Fix handling of document.body as <frameset> (#1748)toasted-nutbread2021-06-24
|
* Fix an incorrect return value of the EventDispatcher.off function (#1747)toasted-nutbread2021-06-24
|
* Structured content updates (#1733)toasted-nutbread2021-06-06
| | | | | | | | | | | | | | | | | | | | | * Add support for imageRendering * Make crisp-edges appearance on Firefox more similar to Chrome * Refactor * Add background option * Move data-image-rendering attribute * Restructure * Organize * Add support for appearance * Update test dictionary * Update tests
* Improve secondary definitions (#1731)toasted-nutbread2021-06-05
| | | | | * Improve secondary search definitions * Simplify
* Translator id updates (#1730)toasted-nutbread2021-06-05
| | | | | | | | | | | * Allow unsequenced definitions to be added to multiple groups * Update translator data to store multiple IDs * Update Anki note data * Update test data * Update docs
* Add support for definitionless main dictionary (#1729)toasted-nutbread2021-06-05
|
* Simplify createAudio function (#1728)toasted-nutbread2021-06-04
|
* Fix _getMatchURL missing search and not sanitizing wildcards (#1727)toasted-nutbread2021-06-03
|
* Update version21.5.31.0toasted-nutbread2021-05-31
|
* Revert "Auto update manifest version (#1724)"toasted-nutbread2021-05-31
| | | | This reverts commit e637408b4af41a5c2b74b160fb37438d4e56cccc.
* Auto update manifest version (#1724)toasted-nutbread2021-05-31
| | | | | * Update manifest to auto-fill the version based on most recent git tag * Install git in the CI pipeline
* Update schema descriptions to be less redundant (#1721)toasted-nutbread2021-05-30
|
* Primary audio fixes (#1719)toasted-nutbread2021-05-30
| | | | | | | | | * Fix case when subIndex is not assigned * Fix incorrect assignment of primary card audio * Improve opacity style * Improve styles for :focus-visible
* Improve multiple audio sources (#1718)toasted-nutbread2021-05-30
| | | | | | | | | | | | | * Add url/voice options to audio sources * Add help for TTS * Remove old settings * Update tests * Update use of audio source URL * Improve labels for sources with the same type
* Refactor display audio options (#1717)toasted-nutbread2021-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update how options are updated and stored in DisplayAudio * Add source list * Improve menus for custom json * Clear cache after options update * Move function * Update public API * Simplify playing audio from a specific source * Simplify audio list * Refactor audio source usage * Refactoring * Refactor argument names * Fix incorrect source usage * Remove unused * Remove return value * Simplify details * Simplify Anki card audio details * Update the data that is passed to AudioDownloader * Simplify schema handling * Remove unnecessary details
* Refactor AudioController (#1715)toasted-nutbread2021-05-27
| | | | | * Remove unused checks/code * Refactor audio controller into AudioController and AudioSourceEntry
* Fix set/deleteProperty not allowing array splicing (#1713)toasted-nutbread2021-05-26
| | | | | * Fix set/deleteProperty not allowing array splicing * Update tests
* Add some help popups for custom audio sources (#1712)toasted-nutbread2021-05-26
|
* Refactor json audio source (#1711)toasted-nutbread2021-05-26
| | | | | | | | | * Move sources to the end of audio options object * Add custom-json audio source type * Add support for downloading custom-json * Remove customSourceType
* Fix json schema array properties (#1709)toasted-nutbread2021-05-24
| | | | | * Fix proxy array properties being handled incorrectly * Add tests to check array properties
* Json schema ref support (#1708)toasted-nutbread2021-05-23
| | | | | * Add basic support for JSON schema $ref * Add tests
* Fix popup preview disappearing after changing a setting (#1707)toasted-nutbread2021-05-23
|
* Clean up settings v1 code from PopupPreviewController (#1706)toasted-nutbread2021-05-23
| | | | | * Clean up settings v1 code from PopupPreviewController * Remove unused global
* Fix incorrect selector causing invalid headword index to be used (#1705)toasted-nutbread2021-05-23
|
* Improve support for sandboxed iframes (#1704)toasted-nutbread2021-05-23
| | | | | | | * Add more tests * Improve handling of errors from setupFrame * Passively handle errors when contentDocument is null
* Rename internal JSON schema functions to match new return type (#1699)toasted-nutbread2021-05-22
|
* Json schema improvements (#1698)toasted-nutbread2021-05-22
| | | | | | | | | | | * Simplify schema multi-push/pop * Reverse order of schema path * Reverse order of value path * Simplify schema path structure * Rename for better clarity
* Json schema validation improvements (#1697)toasted-nutbread2021-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Create new JsonSchema class * Add proxy handler * Update tests * Update validation scripts * Update backend * Update audio downloader * Update options util * Update dictionary importer * Update json schema file reference * Remove old json-schema.js * Rename new json-schema.js * Update file names * Rename class
* Update schema tests (#1693)toasted-nutbread2021-05-22
| | | | | | | | | * Update helper functions * Rename file * Update deleteProperty * Add some basic proxy tests
* Structured content image size units (#1692)toasted-nutbread2021-05-20
| | | | | * Add support for sizeUnits on image content * Update test data
* Selection clear improvements (#1690)toasted-nutbread2021-05-19
| | | | | | | | | * Update selection clear process * Clean up old clearSelection API * Update clear order * Add clear event handling
* Add support for definitions with structured content (#1689)toasted-nutbread2021-05-19
| | | | | | | | | | | * Add structured content to schema * Add support for generating custom content * Update importer * Update test data * Add verticalAlign property
* Dictionary image display refactoring (#1687)toasted-nutbread2021-05-18
| | | | | | | | | | | | | | | * Generalize image definition generation * Enable optional aspect ratio * Move styles * Update styles * Add more options for collapsing images * Add image options for collapsing * Improve layout for images that are collapsed
* Expose search query to anki template renderer (#1686)toasted-nutbread2021-05-17
| | | | | | | | | | | * Expose query and fullQuery to Anki context * Add {search-query} marker * Update test data * Update tests * Wrap search query in multiLine
* Fix repeated dictionary image importing (#1685)toasted-nutbread2021-05-16
|
* Revert "Add support for custom text type generation (#1683)" (#1684)toasted-nutbread2021-05-16
| | | This reverts commit 39cabc4db61047923712edcca6bedfd001d5d151.
* Add support for custom text type generation (#1683)toasted-nutbread2021-05-16
|
* Sentence termination character mode (#1682)toasted-nutbread2021-05-16
| | | | | | | | | | | * Change enableTerminationCharacters to terminationCharacterMode * Update settings * Update sentence extraction * Update tests * Add tests
* Add support for generic && and || operations for settings transforms (#1681)toasted-nutbread2021-05-16
|
* Update the search button tooltip to describe Shift+click functionality (#1679)toasted-nutbread2021-05-15
|
* Popup action search (#1678)toasted-nutbread2021-05-15
| | | | | | | | | * Set up search page in the action popup * Fix a style causing incorrect overflow * Fix error when trying to take a screenshot * Fix popup size on Firefox
* Fix incorrect _updateClipboardMonitorEnabled invocation (#1677)toasted-nutbread2021-05-15
|
* Add SearchPersistentStateController (#1676)toasted-nutbread2021-05-15
|
* Improve source term exact match count (#1674)toasted-nutbread2021-05-14
| | | | | * Update sourceTermExactMatchCount to be based on headword count * Update tests
* Restore the Anki on macOS warning from the old settings page (#1673)toasted-nutbread2021-05-14
|
* Improve the behaviour of the "Move to..." action (#1667)toasted-nutbread2021-05-11
|
* Improve overflow wrap (#1663)toasted-nutbread2021-05-10
|
* Update welcome page settings to match the settings page (#1662)toasted-nutbread2021-05-10
|