aboutsummaryrefslogtreecommitdiff
path: root/ext/js
Commit message (Collapse)AuthorAge
* Fix auto-play not working on the search page (#1882)toasted-nutbread2021-08-10
|
* Add support for manifest V3 script injection (#1878)toasted-nutbread2021-08-07
|
* Fix data not being persisted after terminating Worker thread (#1877)toasted-nutbread2021-08-07
|
* Google Docs accessibility (#1875)toasted-nutbread2021-08-07
| | | | | | | | | | | | | * Add accessibility option for forcing Google Docs HTML-based rendering * Update settings * Send a documentStart message at document start * Add accessibility script for Google Docs * Set up accessibility * Update tests
* Improve audio auto play cancellation (#1873)toasted-nutbread2021-08-02
| | | | | * Cancel automatic audio playback when hiding the popup * Don't play audio if the popup is hidden
* Dictionary import progress improvements (#1868)toasted-nutbread2021-07-31
| | | | | | | * Update loop vars * Update loop * Improve progress reporting during the import process
* Dictionary importer refactoring (#1867)toasted-nutbread2021-07-31
| | | | | | | | | * Remove map of schemas * Don't reuse dictionary importer instances * Refactor * Update how progress callback is used
* Dictionary importer refactor (#1866)toasted-nutbread2021-07-31
| | | | | | | | | | | | | * Move function implementations * Use file() instead of files[] * Move functionality into local functions * Simplify * Pass dictionary title to conversion functions * Update how legacy tags are added
* DictionaryImporterThreaded (#1865)toasted-nutbread2021-07-31
| | | | | | | * Create new classes for importing dictionaries from a separate thread * Use threaded importer * Update worker tests
* DictionaryImporter improvements (#1862)toasted-nutbread2021-07-31
| | | | | * Improve error message * Simplify URL for JSON fetching
* StringUtil (#1861)toasted-nutbread2021-07-31
| | | | | * Add StringUtil class * Use StringUtil
* DictionaryImporterMediaLoader (#1860)toasted-nutbread2021-07-31
| | | | | | | | | * Rename param for consistency * Move media loading functionality into DictionaryImporterMediaLoader * Create test class for media loading * Remove unnecessary Blob/Image/URL functionality
* Improve dictionary importer (#1859)toasted-nutbread2021-07-31
| | | | | | | * Optimize dictionary data parsing during import * Use ArrayBuffer instead of string * Add missing function for testing
* Call URL.revokeObjectURL for created URLs (#1858)toasted-nutbread2021-07-29
| | | | | * Call URL.revokeObjectURL for created URLs * Refactor image usage
* Update JsonSchema (#1856)toasted-nutbread2021-07-28
| | | | | | | | | | | * Fix issues with validating properties * Simplify multiple destructuring * Add an optiona progress callback * Add functions * Add more functions
* Rename pitchAccent in source code (#1852)toasted-nutbread2021-07-26
| | | | | | | | | | | * Rename pitchAccentPosition to pitchAccentDownstepPosition * Rename function * Rename * Rename * pitches => pronunciations
* Rename CSS class names "pitch-accent" to "pronunciation" (#1850)toasted-nutbread2021-07-25
| | | | | | | | | | | | | * pitch-accents => pronunciations * Update dataset property names * pitch-accent-dictionary => pronunciation-dictionary * Update styles * Update template name * Update attributes
* Update de/serializeError functions to only serialize data if present (#1849)toasted-nutbread2021-07-25
|
* Fix definition image aspect ratio issue (#1847)toasted-nutbread2021-07-22
| | | | | * Fix incorrect aspect ratio * Update test data
* Update pronunciation anki templates (#1842)toasted-nutbread2021-07-18
| | | | | | | | | * Update anki pronunciation templates * Expose nasalPositions/devoicePositions * Update templates to support nasal/devoice positions * Update test data
* Pronunciation template helper (#1840)toasted-nutbread2021-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename field * Set up pronunication components * Fix documentation * Rename function * Update test dependencies * Fix constructor * Log errors * Add pronunciation helper * Add styleApplier argument to _getHtml/_normalizeHtml * Use getAttribute for 'class' to support namespaced elements (e.g. svg) * Update format name * Add optional tag * Update docs
* Anki template renderer abstraction (#1839)toasted-nutbread2021-07-18
| | | | | | | * Add AnkiTemplateRenderer abstraction * Move Anki-specific template functionality into AnkiTemplateRenderer * Add documentation comments
* Sandbox script folders (#1837)toasted-nutbread2021-07-17
| | | | | | | | | * Move scripts * Update paths * Fix ordering * Simplify eslint rules
* Display pronunciation refactor (#1835)toasted-nutbread2021-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify svg and container styles * Rename pitch-accent-details to pitch-accent-graph-container * Rename pitch-accent-graph* to pronunciation-graph* * Remove unused template * Omit quotes * Rename pitch-accent-character to pronunciation-mora * Simplify names * Replace pronunciation-mora-inner with pronunciation-character * Improve grouping of nasal characters * Simplify character replacement * Replace pseudo-elements with real elements * Use an element rather than a fragment * Rename functions * Add wrapper * Rename pitch-accent-characters to pronunciation-text-container * Update test data * Update downstep notation generation * Rename pitch-accent-position to pronunciation-downstep-notation-container * Space * Wrap pronunciations in a container node * Update preview * Embed pitch accent styles directly
* Pronunciation nasal improvement (#1834)toasted-nutbread2021-07-17
| | | | | | | | | * Organize * Add utility to get diacritic information about a character * Show mora without diacritic * Add a hidden handakuten for copy-paste purposes
* Display pronunciation separation (#1833)toasted-nutbread2021-07-17
| | | | | | | | | | | * Create PronunciationGenerator * Update DisplayGenerator * Update templates * Move pronunciation styles to a separate file * Simplify pitch-accents-preview.html
* Devoice and nasal pronunciation info (#1832)toasted-nutbread2021-07-15
| | | | | | | | | | | | | * Update schema to support information about nasal and devoiced mora * Expose nasalPositions and devoicePositions in dictionary entry data * Expose nasalPositions, devoicePositions in grouped pitch info * Update display generator * Update test dictionary data * Update test data
* Multi view note (#1829)toasted-nutbread2021-07-14
| | | | | | | * Add support for a menu to view multiple note IDs * Show a + badge when there are multiple notes available * Organize
* Duplicate scope check all models (#1810)toasted-nutbread2021-07-13
| | | | | | | * Add duplicateScopeCheckAllModels option to createNote * Add duplicateScopeCheckAllModels option * Add setting
* Throw an error when _getProfile doesn't have a matching profile (#1826)toasted-nutbread2021-07-13
|
* Fix case where "ready" message is received before frame "load" event (#1822)toasted-nutbread2021-07-10
|
* Improve error when card has missing content (#1818)toasted-nutbread2021-07-09
|
* Simplify get media structure (#1817)toasted-nutbread2021-07-09
| | | | | * Remove format argument of getMedia * Implement escaping
* Update Anki field marker menu (#1816)toasted-nutbread2021-07-09
| | | | | * Update anki field marker menu to have less vertical padding * Update positioning of field marker menu
* Remove old settings main.js (#1815)toasted-nutbread2021-07-09
|
* Anki text furigana parsing and {sentence-furigana} marker (#1814)toasted-nutbread2021-07-09
| | | | | | | | | | | | | * Add support for textFurigana media * Add readingMode parameter * Implement readingMode * Add {sentence-furigana} marker * Fallback to sentence if furigana isn't available * Update test data
* JapaneseUtil updates (#1813)toasted-nutbread2021-07-09
| | | | | | | | | * Rename test file * Use shorthand * Add support checking functions * Remove convertReading from JapaneseUtil
* Fix an issue with reordering dictionary settings (#1812)toasted-nutbread2021-07-09
|
* Text parse updates (#1811)toasted-nutbread2021-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Expose more settings to QueryParser * Rename textParse to parseText * Refactor * Convert reading inside QueryParser rather than Backend * Remove use of readingMode from backend * Rename * Update parseText args * Simplify * Update results * Move use of optionsContext * Run mecab and internal parser in parallel * Added "dictionary-reading" reading mode * Update romaji conversion case
* Anki card selected text (#1809)toasted-nutbread2021-07-07
| | | | | | | | | | | * Add support for injecting the text selection into Anki cards * Add selection-text * Upgrade to add {selection-text} * Update descriptions * Update test data
* Update options-util tests and comment (#1806)toasted-nutbread2021-07-06
|
* Add support for injecting dictionary media into Anki cards (#1805)toasted-nutbread2021-07-06
|
* Fix incorrect resultOutputMode (#1804)toasted-nutbread2021-07-06
|
* Fix function names (#1803)toasted-nutbread2021-07-06
|
* Template renderer media updates (#1802)toasted-nutbread2021-07-06
| | | | | | | | | | | | | | | | | * Add TemplateRendererMediaProvider to abstract media-related functionality * Update representation of injected media * Update templates * Update upgrade file * Update tests * Update test data * Force media to be an object * Update test data
* OptionsUtil and tests updates (#1801)toasted-nutbread2021-07-05
| | | | | * Update OptionsUtil.update to support an optional targetVersion param * Update Anki template updates to have an explicit target version
* Pass requirements to note generation (#1800)toasted-nutbread2021-07-05
| | | | | | | * Update structure * Pass requirements to _createNote * Show an error for requirements that weren't fulfilled
* DisplayAnki note requirements (#1799)toasted-nutbread2021-07-05
| | | | | * Update how errors are collected from _formatField * Expose requirements
* Store anki note details (#1798)toasted-nutbread2021-07-05
| | | | | | | | | | | | | | | * Update error handling of _areDictionaryEntriesAddable * Store note details * Remove promise after use * Rename function * Clear stored details * Rename function * Rename function
* Refactor DisplayAnki.setupEntriesComplete params and implementation (#1794)toasted-nutbread2021-07-04
|