aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Anki field templates suggestions (#1940)toasted-nutbread2021-09-08
| | | | | * Remove unused * Bold the suggested default field value
* Rename _onDocumentStart => _onApiDocumentStart for consistency (#1939)toasted-nutbread2021-09-08
|
* Update dictionary validation script (#1937)toasted-nutbread2021-09-08
|
* Dictionary import count details (#1935)toasted-nutbread2021-09-07
| | | | | | | | | | | * Store count information when importing a dictionary * Add importDate * Update property ordering * Update tests * Update importDate
* Anki template regex helper updates (#1934)toasted-nutbread2021-09-05
| | | | | * Update regexReplace and regexMatch to support content arguments * Update documentation
* Fix incorrect index being used for headword removal (#1933)toasted-nutbread2021-09-05
|
* Database readwrite transaction updates (#1932)toasted-nutbread2021-09-05
| | | | | | | | | * Add _readWriteTransaction helper * Improve deleteDictionary order * Make onProgress event optional * Simplify progress rate parameter
* Structured content data (#1930)toasted-nutbread2021-09-04
| | | | | | | | | | | * Add support for structured-content data attributes * Assign dataset properties * Don't remove data-sc attributes * Use helper functions * Update test data
* Fix repeated note IDs shown on the "View Note" button (#1927)toasted-nutbread2021-09-03
|
* 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
|
* Fix dictionary import total progress (#1921)toasted-nutbread2021-08-31
| | | | | * Fix incorrect total count for final step of dictionary import * Update tests to validate progress args
* Add support for structured content margins (#1920)toasted-nutbread2021-08-31
|
* Fix empty sentence on some search page URLs (#1919)toasted-nutbread2021-08-31
|
* Fix history replacement issue (#1917)toasted-nutbread2021-08-30
| | | | | * Remove unused "history" field of event details * Change setContent history parameter to historyMode
* Improve accessibility of links without href (#1915)toasted-nutbread2021-08-28
|
* Dictionary worker updates (#1914)toasted-nutbread2021-08-28
| | | | | | | * Add support for running getDictionaryCounts via DictionaryWorker * Run dictionary integrity checks on a separate thread * Remove api.getDictionaryCounts
* Dictionary database worker refactoring (#1913)toasted-nutbread2021-08-28
| | | | | | | | | | | | | * Rename DictionaryWorker => DictionaryWorkerHandler * Rename var * Rename file * Simplify * Rename DictionaryDatabaseModifier => DictionaryWorker * Rename dictionary-database-modifier.js => dictionary-worker.js
* Fix incorrect dictionary name ordering being used for counts (#1912)toasted-nutbread2021-08-28
|
* Fix incorrect katakana template docs (#1909)toasted-nutbread2021-08-25
|
* Hiragana & katakana helpers (#1908)toasted-nutbread2021-08-25
| | | | | | | * Add hiragana and katakana template helpers * Update documentation * Fix documentation
* Replace ... with … (#1902)toasted-nutbread2021-08-20
|
* Fix border radius on the outline-item style (#1901)toasted-nutbread2021-08-20
|
* Input styles updates (#1900)toasted-nutbread2021-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | * Rename class * Update styles * Use input-group class * Update styles * Update input line height * Update border styles * Update styles * Update line height * Update styles * Update line height * Update line height * Update outline item style
* Update browser bugs (#1899)toasted-nutbread2021-08-16
| | | | | * Strike chrome bug, since the issue was due to API misuse * Add info about content scripts not running on popup.open('', '...')
* Add connection icon (#1898)toasted-nutbread2021-08-15
|
* Update dictionary importer progress event for step 6 to occur slightly ↵toasted-nutbread2021-08-14
| | | | earlier (#1897)
* Threaded dictionary delete (#1895)toasted-nutbread2021-08-14
| | | | | | | | | * Generalize dictionary worker * Add deleteDictionary functionality * Update DictionaryController to use DictionaryDatabaseModifier * Fix incorrect result handling
* Dictionary worker refactor (#1894)toasted-nutbread2021-08-14
| | | | | | | | | | | | | | | | | | | * Rename dictionary worker files * Rename classes * Rename file * Rename class * Generalize the _invoke method * Rename 'import' to 'importDictionary' * Improve DictionaryImporterMediaLoader usage * Refactor message handler * Generalize onProgress event
* Database improvements to data persistency (#1893)toasted-nutbread2021-08-13
| | | | | | | | | | | | | * Fix function check * Rename arguments of getAll, getAllKeys, and their private functions * Simplify bulkAdd * Simplify delete * Simplify bulkDelete * Remove persistData
* Update CssStyleApplier.prepare to passively fail if it can't read the file ↵toasted-nutbread2021-08-11
| | | | (#1891)
* Update third-party libraries (#1886)toasted-nutbread2021-08-10
| | | | | | | * Update third-party libraries * Update README * Update legal.html
* Update development dependencies (#1885)toasted-nutbread2021-08-10
| | | | | * Update dependencies * Fix audit issues
* 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
|
* Update browser bugs with info about IndexedDB usage in a Worker (#1876)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
* Add accessibility icon (#1874)toasted-nutbread2021-08-07
|
* 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
* Update version21.7.31.0toasted-nutbread2021-07-31
|
* 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
* test-workers (#1863)toasted-nutbread2021-07-31
| | | | | | | | | | | * Add getImportedScripts utility function to test-sw.js * Move functionality to testServiceWorker * Rename file * Add loadEslint utility function * Add filterScriptPaths utility
* 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