aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
|
* Add a missing "of" (#1793)r00ster2021-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
* Add a script to patch bugs in dependencies (#1783)toasted-nutbread2021-07-02
|
* Update version21.6.30.0toasted-nutbread2021-06-30
|
* Merge the Sentence Parsing section into the Text Parsing section (#1781)toasted-nutbread2021-06-29
|
* Make Display.authenticateMessageData private (#1780)toasted-nutbread2021-06-29
|
* Update dictionary image link color (#1778)toasted-nutbread2021-06-28
|
* Update CSS rules for images (#1777)toasted-nutbread2021-06-28
|
* Fix incorrect aspect ratio of structured-content images (#1776)toasted-nutbread2021-06-28
|
* Add prepare functionality to the TemplateRendererProxy shim (#1775)toasted-nutbread2021-06-27
|
* Add separation before template-renderer-frame-main.js (#1774)toasted-nutbread2021-06-27
|
* 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
* Structured content style json (#1771)toasted-nutbread2021-06-27
| | | | | | | | | | | | | * Install css * Remove unnecessary rule * Create CSS overrides file * Create script to generate CSS JSON file * Generate JSON * Add test
* Update structured content CSS styles (#1770)toasted-nutbread2021-06-27
|
* Move structured content CSS into a separate file (#1769)toasted-nutbread2021-06-27
|
* Template patcher updates (#1766)toasted-nutbread2021-06-26
| | | | | * Don't append anything if the additions is empty * Simplify update list
* Update template documentation (#1765)toasted-nutbread2021-06-26
|
* Template renderer internal data update (#1764)toasted-nutbread2021-06-26
| | | | | | | * Add cleanup callbacks * Move requirements * Add custom data
* Test updates (#1763)toasted-nutbread2021-06-26
| | | | | | | * Allow passing of globals to custom VMs * Add _serializeError * Expose document to VM
* Template rendering updates (#1762)toasted-nutbread2021-06-26
| | | | | * Remove unused function * Update template rendering return value
* Remove unused template (#1761)toasted-nutbread2021-06-26
|
* 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
* Update eslint rules for structured-content-generator.js (#1759)toasted-nutbread2021-06-26
|
* 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
|
* 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
|