aboutsummaryrefslogtreecommitdiff
path: root/dev
Commit message (Collapse)AuthorAge
* Update version22.2.2.0toasted-nutbread2022-02-02
|
* Update copyright date (#2062)toasted-nutbread2022-02-02
| | | | | | | * Update eslint settings * Update 2021 files * Update other files
* Add AccessibilityController class, which dynamically registers (#2024)toasted-nutbread2021-11-23
| | | and unregisters the google-docs.js content script
* Google Docs accessibility refactor (#2023)toasted-nutbread2021-11-23
| | | | | | | | | | | | | | | | | * Skip urlRegex if it's used as a filter * Add getRequiredContentScriptRegistrationPermissions function * Add a reentrant check to google-docs.js * Remove script node * Move forceGoogleDocsHtmlRendering check into google-docs.js * Replace document-start.js usage with google-docs.js * Remove documentStart handling * Add missing parameter descriptions
* ScriptManager updates (#2022)toasted-nutbread2021-11-23
| | | | | | | | | | | * Fix spacing * Add more parameters to injectStylesheet * Add more parameters to injectScript * Update ScriptManager to support content script registration * Add webNavigation as an optional permission
* Update version21.10.31.0toasted-nutbread2021-10-31
|
* Update version21.9.30.0toasted-nutbread2021-09-30
|
* Update document-start.js to only run for docs.google.com (#1964)toasted-nutbread2021-09-26
| | | | | * Update document-start.js to only run for docs.google.com * Update manifest
* Update dictionary validation script (#1937)toasted-nutbread2021-09-08
|
* Dictionary media import improvements (#1926)toasted-nutbread2021-09-03
| | | | | | | | | | | | | | | | | | | * Add base64ToArrayBuffer to StringUtil * Remove unnecessary media-util.js import * Run async requirements in serial rather than parallel * Update API.getMedia handler to convert ArrayBuffer content to base64 * Rename getImageResolution to getImageDetails * Change parameter order of getImageDetails * Pre-process and store media as an ArrayBuffer * Remove MediaUtil.createBlobFromBase64Content * Fix Anki media injection
* Update version21.8.31.0toasted-nutbread2021-08-31
|
* 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
* Update version21.7.31.0toasted-nutbread2021-07-31
|
* 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
* 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
* Anki template renderer abstraction (#1839)toasted-nutbread2021-07-18
| | | | | | | * Add AnkiTemplateRenderer abstraction * Move Anki-specific template functionality into AnkiTemplateRenderer * Add documentation comments
* CSS JSON styles generalization (#1838)toasted-nutbread2021-07-17
| | | | | | | * Rename files * Generalize custom CSS generation and testing * Add CSS JSON file for display pronunciation
* Sandbox script folders (#1837)toasted-nutbread2021-07-17
| | | | | | | | | * Move scripts * Update paths * Fix ordering * Simplify eslint rules
* Add generalized css-to-json-util dev module (#1836)toasted-nutbread2021-07-17
|
* 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
* 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
* Add a script to patch bugs in dependencies (#1783)toasted-nutbread2021-07-02
|
* Update version21.6.30.0toasted-nutbread2021-06-30
|
* Update dictionary image link color (#1778)toasted-nutbread2021-06-28
|
* 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
* Test updates (#1763)toasted-nutbread2021-06-26
| | | | | | | * Allow passing of globals to custom VMs * Add _serializeError * Expose document to VM
* Add support for definitionless main dictionary (#1729)toasted-nutbread2021-06-05
|
* 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.
* 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
|
* Add timing information to dictionary-validate.js (#1694)toasted-nutbread2021-05-22
|
* 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
* Update versionAlex Yatskov2021-05-08
|
* Update version21.4.30.0toasted-nutbread2021-04-30
|
* Update dictionary entry terminology (#1592)toasted-nutbread2021-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update terminology * Update terminology in display.js * Update terminology in display-audio.js * Update terminology in text-scanner.js * Update terminology in backend.js * Update terminology in mecab.js * Update terminology in audio-downloader.js * Update terminology in translator-vm.js * Update terminology in dictionary-data-util.js * Update terminology in dictionary-database.js * Update terminology in japanese-util.js * Change/upgrade {expression} to {term} * Update terminology in test-japanese.js * Update terminology in test-database.js * Update terminology in anki-templates-controller.js * Update terminology in anki-note-builder.js * Update terminology in backend.js * Update terminology in text-scanner.js * Update terminology in display.js * Update terminology in display.js
* Move test VM crypto definition (#1584)toasted-nutbread2021-04-02
|
* Update version21.3.31.0toasted-nutbread2021-04-01
|
* Refactor Translator and dictionary entry format (#1553)toasted-nutbread2021-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update test data * Move translator.js * Create new version of Translator * Update Backend * Update DictionaryDataUtil * Update DisplayGenerator * Create AnkiNoteDataCreator * Replace AnkiNoteData with AnkiNoteDataCreator * Update tests * Remove AnkiNoteData * Update test data * Remove translator-old.js * Add TypeScript interface definitions for the new translator data format
* TranslatorVM (#1548)toasted-nutbread2021-03-22
| | | | | * Add TranslatorVM * Update test-translator.js
* Fix dictionary image support (#1526)toasted-nutbread2021-03-14
| | | | | | | | | | | | | * Fix content security policy for images * Add createBlobFromBase64Content to MediaUtil * Update MediaLoader to use MediaUtil * Use blob URLs when importing dictionaries * Update VM's URL to support createObjectURL and revokeObjectURL * Fix test
* Update version21.2.28.0toasted-nutbread2021-02-28
|
* Test html script ordering (#1396)toasted-nutbread2021-02-14
| | | | | | | | | | | | | * Simplify getAllFiles * Add test to validate script order * Update script include order * Update content script order * Update sw.js and corresponding lint * Update manifest
* Update lint and tests (#1388)toasted-nutbread2021-02-14
| | | | | * Update paths to no longer use bg/, fg/, or mixed/ * Only allow modal-jquery.js to use jQuery
* Move bg/js (#1387)toasted-nutbread2021-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move bg/js/anki.js to js/comm/anki.js * Move bg/js/mecab.js to js/comm/mecab.js * Move bg/js/search-main.js to js/display/search-main.js * Move bg/js/template-patcher.js to js/templates/template-patcher.js * Move bg/js/template-renderer-frame-api.js to js/templates/template-renderer-frame-api.js * Move bg/js/template-renderer-frame-main.js to js/templates/template-renderer-frame-main.js * Move bg/js/template-renderer-proxy.js to js/templates/template-renderer-proxy.js * Move bg/js/template-renderer.js to js/templates/template-renderer.js * Move bg/js/media-utility.js to js/media/media-utility.js * Move bg/js/native-simple-dom-parser.js to js/dom/native-simple-dom-parser.js * Move bg/js/simple-dom-parser.js to js/dom/simple-dom-parser.js * Move bg/js/audio-downloader.js to js/media/audio-downloader.js * Move bg/js/deinflector.js to js/language/deinflector.js * Move bg/js/backend.js to js/background/backend.js * Move bg/js/translator.js to js/language/translator.js * Move bg/js/search-display-controller.js to js/display/search-display-controller.js * Move bg/js/request-builder.js to js/background/request-builder.js * Move bg/js/text-source-map.js to js/general/text-source-map.js * Move bg/js/clipboard-reader.js to js/comm/clipboard-reader.js * Move bg/js/clipboard-monitor.js to js/comm/clipboard-monitor.js * Move bg/js/query-parser.js to js/display/query-parser.js * Move bg/js/profile-conditions.js to js/background/profile-conditions.js * Move bg/js/dictionary-database.js to js/language/dictionary-database.js * Move bg/js/dictionary-importer.js to js/language/dictionary-importer.js * Move bg/js/anki-note-builder.js to js/data/anki-note-builder.js * Move bg/js/anki-note-data.js to js/data/anki-note-data.js * Move bg/js/database.js to js/data/database.js * Move bg/js/json-schema.js to js/data/json-schema.js * Move bg/js/options.js to js/data/options-util.js * Move bg/js/background-main.js to js/background/background-main.js * Move bg/js/permissions-util.js to js/data/permissions-util.js * Move bg/js/context-main.js to js/pages/action-popup-main.js * Move bg/js/generic-page-main.js to js/pages/generic-page-main.js * Move bg/js/info-main.js to js/pages/info-main.js * Move bg/js/permissions-main.js to js/pages/permissions-main.js * Move bg/js/welcome-main.js to js/pages/welcome-main.js