aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Anki media injection move (#793)toasted-nutbread2020-09-09
| | | | | | | | | | | | | | | * Update AnkiNoteBuilder to not store a reference to an AniConnect instance * Use more consistent details format * Organize options assignment * Move media injection * Inject images before injecting audio * Make functions private * Make static functions private
* Use common function for data URL mediatype/data extraction (#792)toasted-nutbread2020-09-09
|
* Anki screenshot refactor (#791)toasted-nutbread2020-09-09
| | | | | | | * Use more consistent style for injectScreenshot * Move screenshot generation into AnkiNoteBuilder/Backend * Get optionsContext before await
* Anki API refactor (#790)toasted-nutbread2020-09-09
| | | | | | | | | | | | | | | * Add function guiBrowseNote * Assign default server as null * Use get/set properties for server/enabled * Refactor option values * Refactor createNote/Data functions to not use options format directly * Use createNote for testing * Add errors
* Delay hide option (#774)toasted-nutbread2020-09-08
| | | | | | | | | | | * Add hideDelay option * Add _clearSelection * Use hideDelay * Prevent repeated delayed selection clears * Fix popup hide timer being cleared when the cursor is moved into the frame
* Move assignment of the operating system property (#786)toasted-nutbread2020-09-08
|
* Text scanner fixes and refactoring (#788)toasted-nutbread2020-09-08
| | | | | | | * Fix incorrect argument being passed * Clear causeCurrent * Change cause string to a more general input object
* Refactor how TextScanner's public search() function is used (#787)toasted-nutbread2020-09-08
|
* Fix modifier keys not being spread (#785)toasted-nutbread2020-09-08
|
* Anki note clipboard marker (#780)toasted-nutbread2020-09-08
| | | | | | | | | | | * Update fields reference * Add support for adding clipboard images to anki notes * Add handlebars templates * Add markers * Add markers to readme
* Modifier key refactor (#784)toasted-nutbread2020-09-08
| | | | | | | * Add functions for getting keyboard key information * Use os + DocumentUtil to get modifier key names * Remove keyboard modifier info from environment info
* Mouse inputs (#783)toasted-nutbread2020-09-07
| | | | | | | | | | | | | | | * Add mouse icon * Add _updateModifiers * Add support for mouse button modifiers * Improve names of mouse inputs * Improve mouse input sorting * Rename getModifierKeyStrings to getModifierInputStrings * Refactor keyboard/mouse inputs into KeyboardMouseInputField
* Profile conditions fixes and improvements (#782)toasted-nutbread2020-09-07
| | | | | | | | | * Fix operator changes * Fix default value not changing during type change * Fix incorrect display value being assigned * Refactor _updateValueInput
* Update the functions for upgrading anki templates to be more reusable (#779)toasted-nutbread2020-09-06
|
* Add api.clipboardGetImage (#778)toasted-nutbread2020-09-06
| | | | | | | | | | | * Rename clipboardPasteTarget to just target * Remove else block * Add helper functions * Defer assignment of clipboard paste target * Add api.clipboardGetImage
* Fix error handling for screenshot captures (#777)toasted-nutbread2020-09-06
|
* Popup window (#773)toasted-nutbread2020-09-05
| | | | | | | * Add option usePopupWindow * Add PopupWindow class * Add support for creating PopupWindow
* Fix touch input always being disabled (#772)toasted-nutbread2020-09-05
|
* Text scanner refactor (#771)toasted-nutbread2020-09-05
| | | | | | | | | | | | | | | | | * Create searchAt wrappers * Add optional support for searching on the click event * Update QueryParser to use TextScanner's searchOnClick functionality * Move/rename searchAt * Move pendingLookup checks * Add 'searched' event to TextScanner * Use common searched event for Frontend and QueryParser * Move functions, make private
* Fix template renderer sandbox compatibility (#770)toasted-nutbread2020-09-04
| | | | | * Use Object.prototype.hasOwnProperty.call instead of hasOwn * Disable WebExtension and core.js APIs for template-renderer.js
* Remove old conditions.js references (#769)toasted-nutbread2020-09-04
|
* Make fetchModifyHeaders private (#767)toasted-nutbread2020-09-04
|
* Fix cross frame comm issues (#765)toasted-nutbread2020-09-04
| | | | | | | * Send ack before sending error response * Fix error response not being JSON'ified * Use _sendResult
* Popup proxy improvements (#764)toasted-nutbread2020-09-04
| | | | | | | | | * Fix incorrect function invocations * Ignore setVisibleOverride when it returns null * Omit redundant async * Change default return value
* Add api.isTabSearchPopup (#763)toasted-nutbread2020-09-04
| | | | | * Add api.isTabSearchPopup * Fix missing asyncs
* Defer assignment of marker (#762)toasted-nutbread2020-09-04
|
* Fix log context not being in the correct format (#761)toasted-nutbread2020-09-04
|
* Handle error if _waitForFrontendReady fails when creating a popup proxy (#760)toasted-nutbread2020-09-04
|
* Settings dictionary import refactor (#759)toasted-nutbread2020-09-04
| | | | | | | * Fix .purge not re-opening the database after deletion failure * Create DictionaryImportController * Remove backend dictionary import
* Profile conditions cleanup (#768)toasted-nutbread2020-09-04
| | | | | * Remove conditions.js * Rename profile-conditions2.js to profile-conditions.js
* Fix versiontoasted-nutbread2020-09-04
|
* Json schema profile conditions (#758)toasted-nutbread2020-09-04
| | | | | | | | | | | | | | | * Add clearCache function * Add upgrade * Use schema-based profile condition validation * Update profile conditions settings controller * Remove unnecessary async * Remove old * Remove unused templates
* Version to 20.8.24.020.8.24.0Alex Yatskov2020-08-24
|
* Add tests for data: and blob: iframe URLs (#757)toasted-nutbread2020-08-24
|
* Fix sessionStorage not being supported when cookies are disabled (#756)toasted-nutbread2020-08-24
| | | | | * Fix sessionStorage not being supported when cookies are disabled * Update comment
* Update manifest-variants with new version number :)20.8.23.0Alex Yatskov2020-08-23
|
* Verison bump to 20.8.23.0Alex Yatskov2020-08-23
|
* Change build script permissions to 0755Alex Yatskov2020-08-23
|
* Fix screenshot popup hide (#753)toasted-nutbread2020-08-23
| | | | | | | | | | | | | * Refactor Popup.setVisibleOverride * Use event to observe visibility changes * Add setAllVisibleOverride/clearAllVisibleOverride * Add setAllVisibleOverride/clearAllVisibleOverride cross frame handlers * Update how visibility is changed * Wait for next frame to ensure visibility has been updated
* Add promiseAnimationFrame function (#752)toasted-nutbread2020-08-23
|
* Display owner frame (#751)toasted-nutbread2020-08-23
| | | | | * Move ownerFrameId definition to Display * Rename _invoke to _invokeOwner
* Dynamic property (#749)toasted-nutbread2020-08-22
| | | | | * Add DynamicProperty class * Add tests for DynamicProperty
* Move generateId to core.js (#748)toasted-nutbread2020-08-22
|
* Move findTerms and findKanji functions into TextScanner (#747)toasted-nutbread2020-08-22
|
* Make Popup extend EventDispatcher for parity with PopupProxy (#746)toasted-nutbread2020-08-22
|
* Popup factory proxy creation (#745)toasted-nutbread2020-08-22
| | | | | | | * Change getOrCreatePopup to async * Rename parentFrameId to frameId, expose frameId property * Update how proxy popups are created
* Fix error during pitch accent info generation for kanji data (#744)toasted-nutbread2020-08-22
|
* Revert "Add PopupVoid (#734)" (#739)toasted-nutbread2020-08-22
| | | This reverts commit 90d694429029d804740d2af384ad903be48b040e.
* XMLDocument handling (#738)toasted-nutbread2020-08-22
| | | | | | | * Add tests for SVGs * Add more null checks for Frontend._popup * Use null popup when on an XMLDocument
* Frontend initialization refactor (#737)toasted-nutbread2020-08-16
| | | | | | | | | | | | | * Fix incorrect popup depth reassignment * Rename variable * Rename property * Use explicit parameter values * Refactor setupNestedPopups * Refactor frontend initialization