summaryrefslogtreecommitdiff
path: root/ext/bg/js/database.js
Commit message (Collapse)AuthorAge
* Update copyright year (#1194)toasted-nutbread2021-01-01
| | | | | * Update copyright year * Remove redundant Author info
* Rename GenericDatabase to Database (#634)toasted-nutbread2020-06-28
|
* Rename Database to DictionaryDatabase (#633)toasted-nutbread2020-06-28
|
* 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
* Update background global object usage (#556)toasted-nutbread2020-05-24
| | | | | | | * Omit global window object for scripts used on the background page * Validate document exists before using * Remove dom.js from background.html
* 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 API for getting media datatoasted-nutbread2020-04-18
|
* Add support for importing and storing media filestoasted-nutbread2020-04-18
|
* Remove unused globalstoasted-nutbread2020-04-10
|
* 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 :)
* Use logError instead of console.logtoasted-nutbread2020-04-05
|
* Move dictionary import functionality into a new classtoasted-nutbread2020-03-30
|
* Add isPreparedtoasted-nutbread2020-03-30
|
* Make dictionaryExists publictoasted-nutbread2020-03-30
|
* Update bulkAdd implementationtoasted-nutbread2020-03-30
|
* Update global declarationstoasted-nutbread2020-03-10
|
* Add no-shadowtoasted-nutbread2020-02-22
|
* Use Map for dictEnabledSettoasted-nutbread2020-02-22
|
* Use Settoasted-nutbread2020-02-22
|
* Make schema errors have more informationtoasted-nutbread2020-02-22
|
* Update validate function name in closetoasted-nutbread2020-02-22
|
* Validate data before importingtoasted-nutbread2020-02-22
|
* Remove old dictionary import functionstoasted-nutbread2020-02-22
|
* Create new dictionary import functiontoasted-nutbread2020-02-22
|
* Mark private functions in database.jstoasted-nutbread2020-02-22
|
* Close to prevent hangstoasted-nutbread2020-02-19
|
* Change no-undef from off to errortoasted-nutbread2020-02-11
|
* Fix findTermMetaBulk and findKanjiMetaBulk not returning expression/charactertoasted-nutbread2020-01-24
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Update how errors are reported when importing a dictionarytoasted-nutbread2019-12-08
|
* Show info about whether a dictionary supports wildcard searchestoasted-nutbread2019-12-07
|
* Make reverse reading/expressions optional during database importtoasted-nutbread2019-12-07
|
* Add support for prefix wildcardstoasted-nutbread2019-12-07
|
* Update arrow-parens to alwaystoasted-nutbread2019-11-26
|
* Replace hasOwnProperty with simplified hasOwn functiontoasted-nutbread2019-11-26
|
* Add support for wildcardstoasted-nutbread2019-11-10
|
* Fixes for Edgetoasted-nutbread2019-11-10
|
* Use native indexedDB pointertoasted-nutbread2019-11-10
|
* Use native IndexedDB to delete the databasetoasted-nutbread2019-11-10
|
* Use native IndexedDB to create database and object storestoasted-nutbread2019-11-10
|
* Use native IndexedDB for bulkAdd operationstoasted-nutbread2019-11-10
|
* Use native IndexedDB for database additionstoasted-nutbread2019-11-10
|
* Fixes for Edgetoasted-nutbread2019-11-09
|
* Remove unused functiontoasted-nutbread2019-11-07
|
* Add support for deleting individual dictionariestoasted-nutbread2019-11-07
|
* Add functions for getting dictionary informationtoasted-nutbread2019-11-07
|
* Use native IndexedDB APIs for findTagForTitletoasted-nutbread2019-10-19
|
* Move tagCache out of Database and into Translatortoasted-nutbread2019-10-19
|