Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Popup init update (#497) | toasted-nutbread | 2020-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 | ||
* | Style fixes (#494) | toasted-nutbread | 2020-05-02 |
| | | | | | | | * Place multi-line expression parentheses on the correct line * Add function-paren-newline eslint rule * Add some additional eslint rules | ||
* | Api invoke with progress (#483) | toasted-nutbread | 2020-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 | ||
* | Refactor frontend API classes (#482) | toasted-nutbread | 2020-05-02 |
| | | | | | | | | | | | | | * Mark functions as private * Remove constructor side effects * Use safer handler invocation * Mark functions as private * Mark fields as private * Update BackendApiForwarder public API | ||
* | Anki audio download (#477) | toasted-nutbread | 2020-05-02 |
| | | | | | | | * Update how audio is added to Anki cards * Upgrade Anki templates * Update comments | ||
* | Add duplicateScope: 'deck' option (#476) | toasted-nutbread | 2020-04-27 |
| | | | | | | | | | * Add duplicateScope: 'deck' option * Add option to control duplicate scope * Use duplicateScope for findNoteIds * Update location of quotes | ||
* | Error logging refactoring (#454) | toasted-nutbread | 2020-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-point | toasted-nutbread | 2020-04-23 |
|\ | | | | | Explicit entry points | ||
| * | Create background-main.js | toasted-nutbread | 2020-04-19 |
| | | |||
* | | fix custom anki templates | siikamiika | 2020-04-23 |
|/ | |||
* | Add API for getting media data | toasted-nutbread | 2020-04-18 |
| | |||
* | Fix _prepareError check | toasted-nutbread | 2020-04-18 |
| | |||
* | Remove unused global | toasted-nutbread | 2020-04-18 |
| | |||
* | Update style, use isObject | toasted-nutbread | 2020-04-18 |
| | |||
* | Show error status for prepare() errors | toasted-nutbread | 2020-04-18 |
| | |||
* | Add a delay before showing the loading state | toasted-nutbread | 2020-04-18 |
| | | | | Intended to prevent flickering when startup is quick | ||
* | Update when/how badge state is changed | toasted-nutbread | 2020-04-18 |
| | |||
* | Update isPrepared to be consistent with DisplaySearch's isPrepared | toasted-nutbread | 2020-04-18 |
| | |||
* | Disable cache on the backend and fix a bug with the cache key | toasted-nutbread | 2020-04-18 |
| | |||
* | Update the parameters passed to various audio-related functions | toasted-nutbread | 2020-04-18 |
| | |||
* | Merge pull request #453 from toasted-nutbread/reuse-anki-instance | toasted-nutbread | 2020-04-18 |
|\ | | | | | Reuse AnkiConnect instance | ||
| * | Remove unused global | toasted-nutbread | 2020-04-17 |
| | | |||
| * | Pass anki reference to AnkiNoteBuilder constructor | toasted-nutbread | 2020-04-12 |
| | | |||
| * | Use single instance of AnkiConnect | toasted-nutbread | 2020-04-12 |
| | | |||
* | | Merge pull request #447 from toasted-nutbread/util-conversions | toasted-nutbread | 2020-04-18 |
|\ \ | | | | | | | Util conversions | ||
| * | | Convert some util* functions into api* functions | toasted-nutbread | 2020-04-11 |
| |/ | |||
* | | Merge pull request #456 from siikamiika/parse-text-refactor | siikamiika | 2020-04-17 |
|\ \ | | | | | | | Parse text refactor | ||
| * | | simplify to enable constant usage | siikamiika | 2020-04-14 |
| | | | |||
| * | | prevent infinite loop if source length is 0 | siikamiika | 2020-04-14 |
| | | | |||
| * | | assume and propagate strings for text parsing | siikamiika | 2020-04-13 |
| | | | |||
| * | | move QueryParser.parseText to Backend | siikamiika | 2020-04-13 |
| |/ | |||
* | | Merge pull request #444 from toasted-nutbread/unused-globals | toasted-nutbread | 2020-04-13 |
|\ \ | |/ |/| | Check for unused globals as part of CI | ||
| * | Remove unused globals | toasted-nutbread | 2020-04-10 |
| | | |||
* | | Merge pull request #437 from toasted-nutbread/backend-api-handler-changes | toasted-nutbread | 2020-04-11 |
|\ \ | |/ |/| | Backend api handler changes | ||
| * | apiBroadcast => apiBroadcastTab | toasted-nutbread | 2020-04-10 |
| | | |||
| * | Fix yomichanCoreReady waiting for a response | toasted-nutbread | 2020-04-07 |
| | | |||
| * | Rename apiForward to apiBroadcast | toasted-nutbread | 2020-04-07 |
| | | |||
| * | Update forward to be synchronous and ignore the reply | toasted-nutbread | 2020-04-07 |
| | | |||
| * | Update some API handlers to be synchronous | toasted-nutbread | 2020-04-07 |
| | | |||
| * | Add support for API handlers to be optionally asynchronous | toasted-nutbread | 2020-04-07 |
| | | |||
* | | Update license author field to broader to explicitly reflect that | Alex Yatskov | 2020-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 constructor | toasted-nutbread | 2020-04-07 |
| | |||
* | Move media injection functions into AnkiNoteBuilder | toasted-nutbread | 2020-04-07 |
| | |||
* | Add custom context object for note creation | toasted-nutbread | 2020-04-06 |
| | |||
* | Rename context to details | toasted-nutbread | 2020-04-06 |
| | |||
* | Move dictionary import functionality into a new class | toasted-nutbread | 2020-03-30 |
| | |||
* | Add importDictionary function to Backend | toasted-nutbread | 2020-03-30 |
| | |||
* | Move database creation into Backend | toasted-nutbread | 2020-03-30 |
| | |||
* | Convert Japanese utilities to a module-like style | toasted-nutbread | 2020-03-15 |
| | |||
* | Update global declarations | toasted-nutbread | 2020-03-10 |
| |