summaryrefslogtreecommitdiff
path: root/test/test-database.js
Commit message (Collapse)AuthorAge
* Yomichan object separation (#627)toasted-nutbread2020-06-28
| | | | | | | | | | | | | * Move "yomichan" object setup to a separate file * Update script imports * Align message handlers * Rename Yomichan.prepare to Yomichan.ready * Add new prepare function * Improve isExtensionUrl
* Generic database (#600)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | | | * Update test * Rename db to _db * Create GenericDatabase class * Catch prepare error * Allow database to be purged even if it was not open * Remove unused functions * Change static functions to non-static * Delete and count using the media object store * Update tests
* Replace XMLHttpRequest (#562)toasted-nutbread2020-06-13
| | | | | * Replace XMLHttpRequest with fetch * Implement fetch placeholder for tests
* Move util database modification functions (#499)toasted-nutbread2020-05-06
| | | | | | | | | | | | | | | | | | | * Update onProgress callback to handle multiple arguments * Add apiImportDictionaryArchive * Add apiDeleteDictionary * Make onProgress the last argument for consistency * Remove deprecated util functions * Fix issue with missing progress args * Remove function calls which modify the database from Translator * Update tests * Fix errors not being serialized correctly in _createActionListenerPort
* Error logging refactoring (#454)toasted-nutbread2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create new logging methods on yomichan object * Use new yomichan.logError instead of global logError * Remove old logError * Handle unhandledrejection events * Add addEventListener stub * Update log function * Update error conversion to support more types * Add log event * Add API log function * Log errors to the backend * Make error/warning logs update the badge * Clear log error indicator on extension button click * Log correct URL on the background page * Fix incorrect error conversion * Remove unhandledrejection handling Firefox doesn't support it properly. * Remove unused argument type from log function * Improve function name * Change console.warn to yomichan.logWarning * Move log forwarding initialization into main scripts
* Add teststoasted-nutbread2020-04-18
|
* Add support for filtering frequency metadata based on readingstoasted-nutbread2020-04-11
|
* Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
| | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* add fake chrome.runtime.onMessage.removeListenersiikamiika2020-04-05
|
* Merge pull request #424 from toasted-nutbread/dictionary-importertoasted-nutbread2020-04-05
|\ | | | | Dictionary importer
| * Move dictionary import functionality into a new classtoasted-nutbread2020-03-30
| |
* | Update dictionary schema to support pitch accent datatoasted-nutbread2020-03-28
|/
* Merge pull request #387 from toasted-nutbread/yomichan-vmtoasted-nutbread2020-03-04
|\ | | | | Abstract Yomichan extension script execution
| * Abstract Yomichan extension script executiontoasted-nutbread2020-03-02
| |
* | fix Yomichan core message issuessiikamiika2020-03-02
|/
* Remove hasOwn which is no longer necessarytoasted-nutbread2020-02-25
|
* Add missing copyright headerstoasted-nutbread2020-02-23
|
* Clear timer variabletoasted-nutbread2020-02-23
|
* Fix shadowingtoasted-nutbread2020-02-22
|
* Update titles typetoasted-nutbread2020-02-22
|
* Add some basic invalid dictionaries to testtoasted-nutbread2020-02-22
|
* Add a timeout to clearDatabasetoasted-nutbread2020-02-22
| | | | This will trigger in case something goes wrong and a database isn't closed.
* Update location of test dictionary datatoasted-nutbread2020-02-22
|
* Update database testtoasted-nutbread2020-02-22
|
* Test some errorstoasted-nutbread2020-02-19
|
* Close to prevent hangstoasted-nutbread2020-02-19
|
* Validate results of importDictionarytoasted-nutbread2020-02-19
|
* Add script to test database.jstoasted-nutbread2020-02-18