summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Translator sorting updates (#1755)toasted-nutbread2021-06-26
| | | | | | | * Update when definition sorting takes place * Update test data * Change order of sorting
* Translator data format updates (#1754)toasted-nutbread2021-06-26
| | | | | | | | | | | | | | | * Add {dictionaryIndex, dictionaryPriority} to definitions * Add score to definitions * Add id to definition * Use definition id instead of ids array * Remove ids array * Update docs * Update test data
* Structured content updates (#1753)toasted-nutbread2021-06-25
| | | | | | | | | | | * Update schema * Update content generation * Update styles * Update test data * Update style names
* 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
|
* Update READMEAlex Yatskov2021-06-08
|
* Update browser bug list (#1734)toasted-nutbread2021-06-06
|
* 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
* Improve error message when running manifest commands (#1723)toasted-nutbread2021-05-31
|
* Update build script (#1722)toasted-nutbread2021-05-31
| | | | | | | | | | | | | | | | | | | | | | | * Add support for making non-buildable variants * Add support for running a command to assign a value * Update chrome-dev inheritance * Add base variant * Update manifest to auto-fill the version based on most recent git tag * Add support for changing the default manifest * Change the default manifest * Move some manifest utility functions into manifest-util.js * Move more manifest functionality into ManifestUtil * Revert "Update manifest to auto-fill the version based on most recent git tag" This reverts commit 2a66e40ff24f9dc545783503bcf3404f21148356.
* 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
* Update packages (#1714)toasted-nutbread2021-05-26
|
* 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
* Update document tests (#1703)toasted-nutbread2021-05-23
| | | | | * Update iframe content * Add srcdoc test
* 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
* Add timing information to schema-validate.js (#1696)toasted-nutbread2021-05-22
|
* Remove log, clone test value before use (#1695)toasted-nutbread2021-05-22
|
* Add timing information to dictionary-validate.js (#1694)toasted-nutbread2021-05-22
|
* 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
* Update browser bugs (#1691)toasted-nutbread2021-05-19
|
* 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
* Update test valid dictionaries (#1688)toasted-nutbread2021-05-18
| | | | | | | | | | | * Update test data for valid-dictionary1 * Use valid-dictionary1 instead of valid-dictionary2 * Update test data * Remove test of valid-dictionary2 * Remove valid-dictionary2 data
* 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