aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/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
* Update Popup and DisplayFloat optionsContext from Frontend (#464)siikamiika2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | * set optionsContext from Frontend * update Popup+Display options on Frontend change * remove popup setOptions * only update DisplayFloat options from Frontend * fix optionsContext usage * fix preview frame arguments * keep Frontend URL up to date * cache url * fix preview frame * trigger modifyingProfileChange in correct places * remove async from function not using await * refactor optionsContext in Frontend
* Merge pull request #463 from toasted-nutbread/explicit-entry-pointtoasted-nutbread2020-04-23
|\ | | | | Explicit entry points
| * Use IIFE for entry pointstoasted-nutbread2020-04-22
| |
| * Create popup-preview-frame-main.jstoasted-nutbread2020-04-19
| |
| * Rename search-frontend.js to search-main.jstoasted-nutbread2020-04-19
| | | | | | | | Also move DisplaySearch creation into the main() function.
| * Rename context.js to context-main.jstoasted-nutbread2020-04-19
| |
| * Create background-main.jstoasted-nutbread2020-04-19
| |
| * Change frontend-initialize.js to content-script-main.jstoasted-nutbread2020-04-19
| |
* | fix custom anki templatessiikamiika2020-04-23
| |
* | Use wanakana object directlytoasted-nutbread2020-04-20
|/
* Add documentationtoasted-nutbread2020-04-19
|
* Rename loadImage to loadImageBase64 for claritytoasted-nutbread2020-04-19
|
* Make getFileNameExtension properly handle directory separatorstoasted-nutbread2020-04-19
|
* Use 'content' instead of 'source' to contain media file datatoasted-nutbread2020-04-19
|
* Add API for getting media datatoasted-nutbread2020-04-18
|
* Add support for importing and storing media filestoasted-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
|
* Remove unused globaltoasted-nutbread2020-04-18
|
* Disable cache on the backend and fix a bug with the cache keytoasted-nutbread2020-04-18
|
* Remove de/structuring from public APItoasted-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
| |
| * Use isObjecttoasted-nutbread2020-04-17
| |
| * Pass anki reference to AnkiNoteBuilder constructortoasted-nutbread2020-04-12
| |
| * Rename _ankiInvoke to _invoke to remove redundancytoasted-nutbread2020-04-12
| |
| * Throw errors in returned by invocationtoasted-nutbread2020-04-12
| |
| * Remove AnkiNull and redundant commenttoasted-nutbread2020-04-12
| |
| * Use single instance of AnkiConnecttoasted-nutbread2020-04-12
| |
| * Add enabled checkstoasted-nutbread2020-04-12
| |
| * Mark internals as privatetoasted-nutbread2020-04-12
| |
* | Merge pull request #450 from toasted-nutbread/frequency-readingstoasted-nutbread2020-04-18
|\ \ | | | | | | Add support for filtering frequency metadata based on readings
| * | Add support for filtering frequency metadata based on readingstoasted-nutbread2020-04-11
| | |
* | | Merge pull request #447 from toasted-nutbread/util-conversionstoasted-nutbread2020-04-18
|\ \ \ | | | | | | | | Util conversions
| * | | Move and rename utilStringHashCodetoasted-nutbread2020-04-11
| | | | | | | | | | | | | | | | options.js is the only place it's used.
| * | | 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
| | | |
| * | | break after switch defaultsiikamiika2020-04-14
| | | |
| * | | remove "fragment" from jp.convertReading variablessiikamiika2020-04-13
| | | |
| * | | assume and propagate strings for text parsingsiikamiika2020-04-13
| | | |
| * | | force empty mecab output properties to stringssiikamiika2020-04-13
| | | |