summaryrefslogtreecommitdiff
path: root/ext/mixed/js/api.js
Commit message (Collapse)AuthorAge
* 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
* Popup init update (#497)toasted-nutbread2020-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add API function to send a message to a specific frameId in a tab * Update _windowMessageHandlers to support additional info per handler * Remove message token * Add new authorization check * Set up new initialization handler * Update initialization * Remove message token * Replace 'prepare' with 'configure' * Create new prepare function * Change configure guard * Log errors in onMessage * Improve popup initialize function * Clear secret/token in _resetFrame * Remove backend message token * Clear src and srcdoc attributes before loading * Don't treat about:blank unloads as load events
* Api invoke with progress (#483)toasted-nutbread2020-05-02
| | | | | | | * Create an internal API function to open a port * Create system for running actions over a special port * Don't assign in expression
* 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
|
* Update the parameters passed to various audio-related functionstoasted-nutbread2020-04-18
|
* Merge pull request #447 from toasted-nutbread/util-conversionstoasted-nutbread2020-04-18
|\ | | | | Util conversions
| * Convert some util* functions into api* functionstoasted-nutbread2020-04-11
| |
* | move QueryParser.parseText to Backendsiikamiika2020-04-13
|/
* Merge pull request #437 from toasted-nutbread/backend-api-handler-changestoasted-nutbread2020-04-11
|\ | | | | Backend api handler changes
| * apiBroadcast => apiBroadcastTabtoasted-nutbread2020-04-10
| |
| * Rename apiForward to apiBroadcasttoasted-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 :)
* Add custom context object for note creationtoasted-nutbread2020-04-06
|
* Rename context to detailstoasted-nutbread2020-04-06
|
* Rename audio functions using "url" to use "uri"toasted-nutbread2020-03-07
|
* Load default Anki field templates from a filetoasted-nutbread2020-02-27
|
* Use a token to ensure that messages are coming from Yomichantoasted-nutbread2020-02-17
|
* Allow apiInjectStylesheet to inject a URLtoasted-nutbread2020-02-16
|
* Move error handling for apiDefinitionsAddabletoasted-nutbread2020-02-15
|
* Add apiTemplateRender back to mixed api.jstoasted-nutbread2020-02-14
|
* Remove unused handlebarsRenderStatictoasted-nutbread2020-02-13
|
* query parser html templatessiikamiika2020-02-10
|
* Add functionality for getting and observing zoom factortoasted-nutbread2020-01-22
|
* Move display templates into a single filetoasted-nutbread2020-01-16
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Add apiOptionsSchemaGettoasted-nutbread2019-12-29
|
* Update how orphan state is observedtoasted-nutbread2019-12-20
|
* Use a single api.jstoasted-nutbread2019-12-13