summaryrefslogtreecommitdiff
path: root/ext/bg/js/database.js
Commit message (Collapse)AuthorAge
* 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
* 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
|