aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
Commit message (Collapse)AuthorAge
* 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
* Merge pull request #463 from toasted-nutbread/explicit-entry-pointtoasted-nutbread2020-04-23
|\ | | | | Explicit entry points
| * Create background-main.jstoasted-nutbread2020-04-19
| |
* | fix custom anki templatessiikamiika2020-04-23
|/
* Add API for getting media datatoasted-nutbread2020-04-18
|
* Fix _prepareError checktoasted-nutbread2020-04-18
|
* Remove unused globaltoasted-nutbread2020-04-18
|
* Update style, use isObjecttoasted-nutbread2020-04-18
|
* Show error status for prepare() errorstoasted-nutbread2020-04-18
|
* Add a delay before showing the loading statetoasted-nutbread2020-04-18
| | | | Intended to prevent flickering when startup is quick
* Update when/how badge state is changedtoasted-nutbread2020-04-18
|
* Update isPrepared to be consistent with DisplaySearch's isPreparedtoasted-nutbread2020-04-18
|
* Disable cache on the backend and fix a bug with the cache keytoasted-nutbread2020-04-18
|
* Update the parameters passed to various audio-related functionstoasted-nutbread2020-04-18
|
* Merge pull request #453 from toasted-nutbread/reuse-anki-instancetoasted-nutbread2020-04-18
|\ | | | | Reuse AnkiConnect instance
| * Remove unused globaltoasted-nutbread2020-04-17
| |
| * Pass anki reference to AnkiNoteBuilder constructortoasted-nutbread2020-04-12
| |
| * Use single instance of AnkiConnecttoasted-nutbread2020-04-12
| |
* | Merge pull request #447 from toasted-nutbread/util-conversionstoasted-nutbread2020-04-18
|\ \ | | | | | | Util conversions
| * | Convert some util* functions into api* functionstoasted-nutbread2020-04-11
| |/
* | Merge pull request #456 from siikamiika/parse-text-refactorsiikamiika2020-04-17
|\ \ | | | | | | Parse text refactor
| * | simplify to enable constant usagesiikamiika2020-04-14
| | |
| * | prevent infinite loop if source length is 0siikamiika2020-04-14
| | |
| * | assume and propagate strings for text parsingsiikamiika2020-04-13
| | |
| * | move QueryParser.parseText to Backendsiikamiika2020-04-13
| |/
* | Merge pull request #444 from toasted-nutbread/unused-globalstoasted-nutbread2020-04-13
|\ \ | |/ |/| Check for unused globals as part of CI
| * Remove unused globalstoasted-nutbread2020-04-10
| |
* | Merge pull request #437 from toasted-nutbread/backend-api-handler-changestoasted-nutbread2020-04-11
|\ \ | |/ |/| Backend api handler changes
| * apiBroadcast => apiBroadcastTabtoasted-nutbread2020-04-10
| |
| * Fix yomichanCoreReady waiting for a responsetoasted-nutbread2020-04-07
| |
| * Rename apiForward to apiBroadcasttoasted-nutbread2020-04-07
| |
| * Update forward to be synchronous and ignore the replytoasted-nutbread2020-04-07
| |
| * Update some API handlers to be synchronoustoasted-nutbread2020-04-07
| |
| * Add support for API handlers to be optionally asynchronoustoasted-nutbread2020-04-07
| |
* | 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 :)
* Pass AudioSystem instance to AnkiNoteBuilder constructortoasted-nutbread2020-04-07
|
* Move media injection functions into AnkiNoteBuildertoasted-nutbread2020-04-07
|
* Add custom context object for note creationtoasted-nutbread2020-04-06
|
* Rename context to detailstoasted-nutbread2020-04-06
|
* Move dictionary import functionality into a new classtoasted-nutbread2020-03-30
|
* Add importDictionary function to Backendtoasted-nutbread2020-03-30
|
* Move database creation into Backendtoasted-nutbread2020-03-30
|
* Convert Japanese utilities to a module-like styletoasted-nutbread2020-03-15
|
* Update global declarationstoasted-nutbread2020-03-10
|
* Merge pull request #401 from toasted-nutbread/audio-refactortoasted-nutbread2020-03-10
|\ | | | | Audio refactor
| * Update argument ordertoasted-nutbread2020-03-09
| |
| * Rename audio functions using "url" to use "uri"toasted-nutbread2020-03-07
| |
| * Update how audio URIs are builttoasted-nutbread2020-03-07
| |
| * Make _audioInject internal to Backendtoasted-nutbread2020-03-07
| |
* | fix searchQueryUpdatesiikamiika2020-03-09
|/