aboutsummaryrefslogtreecommitdiff
path: root/ext/js
Commit message (Collapse)AuthorAge
* 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
|
* Update the note context object generation process to ensure consistency (#1792)toasted-nutbread2021-07-03
|
* DisplayAnki (#1791)toasted-nutbread2021-07-03
| | | | | | | | | | | * Remove anki functionality from display * Rename function * Display API updates * Use DisplayAnki * TODO
* Remove uniqueness check for requirements (#1790)toasted-nutbread2021-07-03
|
* Refactor createNote (#1789)toasted-nutbread2021-07-03
| | | | | * Update createNote to return a wrapper object * Update how createNote creates errors
* Fix simple glossary HTML not being escaped (#1788)toasted-nutbread2021-07-03
|
* Anki support for structured-content (#1786)toasted-nutbread2021-07-02
| | | | | | | | | | | | | | | | | | | | | | | * Update how glossary text is formatted * Update structured content and image generation * Pass root data to _createStructuredContentGenerator * Implement media URLs * Update documentation * Update options util * Apply styles to content * Improve HTML normalization * Update DatabaseVM.fetch function * Update test * Update test data
* More CssStyleApplier updates (#1785)toasted-nutbread2021-07-02
| | | | | | | * Update eslint rules for css-style-applier.js * Don't use chrome.runtime.getURL * Update CSP to allow inline styles
* CssStyleApplier updates (#1784)toasted-nutbread2021-07-02
| | | | | | | * Remove debug log * Remove style attribute if empty * Remove data-* attributes
* Make Display.authenticateMessageData private (#1780)toasted-nutbread2021-06-29
|
* Update CSS rules for images (#1777)toasted-nutbread2021-06-28
|
* Fix incorrect aspect ratio of structured-content images (#1776)toasted-nutbread2021-06-28
|
* Add CssStyleApplier class (#1773)toasted-nutbread2021-06-27
|
* Template renderer init update (#1772)toasted-nutbread2021-06-27
| | | | | * Update TemplateRendererFrameApi to post a 'ready' message * Wait for 'ready' message rather than using 'load' event
* Update structured content CSS styles (#1770)toasted-nutbread2021-06-27
|
* Template patcher updates (#1766)toasted-nutbread2021-06-26
| | | | | * Don't append anything if the additions is empty * Simplify update list
* Template renderer internal data update (#1764)toasted-nutbread2021-06-26
| | | | | | | * Add cleanup callbacks * Move requirements * Add custom data
* Template rendering updates (#1762)toasted-nutbread2021-06-26
| | | | | * Remove unused function * Update template rendering return value
* Structured content generation updates (#1760)toasted-nutbread2021-06-26
| | | | | | | * Simplify _createElement, fix misuse of classList * Don't use templates to generate image content * Omit templates
* Fix missing error logging when logging debug info (#1758)toasted-nutbread2021-06-26
|
* Move structured-content generation code into a separate file (#1757)toasted-nutbread2021-06-26
|
* Improve what info is logged when debugging a definition (#1756)toasted-nutbread2021-06-26
|
* 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
|
* 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
|