summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Profile controller refactor (#825)toasted-nutbread2020-09-13
| | | | | * Add refresh function * Create new ProfileController class
* Mouse button modifier update (#824)toasted-nutbread2020-09-13
| | | | | * Ensure buttons is positive before adding to set * Break early when there are no flags remaining
* Add scan dictionary type filters (#822)toasted-nutbread2020-09-13
| | | | | | | | | | | | | | | * Add options for searchTerms and searchKanji * Add settings HTML * Add options to TextScanner * Update _search/_findDefinitions to include searchTerms/searchKanji args * Update _searchAtFromMouseMove args * Change argument structure for _searchAt * Use scanning options for searchTerms and searchKanji
* Settings upgrade and schema fixes (#823)toasted-nutbread2020-09-13
| | | | | * Add missing defaults * Always include touch input during upgrade
* Add workaround for Firefox bug not detecting pen input type correctly (#821)toasted-nutbread2020-09-13
|
* Pointer events support (#819)toasted-nutbread2020-09-13
| | | | | | | | | | | | | * Add option pointerEventsEnabled * Add _pointerEventsEnabled option to TextScanner * Add additional options * Mouse pointer events * Touch pointer events * Pen pointer events
* Add workaround for Firefox bug not detecting pen input type correctly (#820)toasted-nutbread2020-09-13
|
* Fix location of _enabled assignment (#818)toasted-nutbread2020-09-12
|
* Update TextScanner.setEnabled to not reset state if unnecessary (#817)toasted-nutbread2020-09-12
|
* More scanning options (#815)toasted-nutbread2020-09-12
| | | | | | | | | * Reorganize options * Add advanced options * Add a setting transform 'setRelativeAttribute' * Add advanced options to HTML/CSS
* Use a grid layout for scanning inputs (#814)toasted-nutbread2020-09-12
|
* Text scanner cause update (#813)toasted-nutbread2020-09-11
| | | | | * Rename _searchAtFromMouse to _searchAtFromMouseMove * Rename cause 'mouse' to 'mouseMove' for clarity
* Text scanner refactoring (#812)toasted-nutbread2020-09-11
| | | | | * Add functions _onPrimaryTouchStart and _onPrimaryTouchEnd * Add "type" to input details
* Clear state when refreshing enabled state (#811)toasted-nutbread2020-09-11
|
* Add support for pointer event input detection (#810)toasted-nutbread2020-09-11
|
* Settings scanning refactor (#809)toasted-nutbread2020-09-11
| | | | | * Move option for scanning.touchInputEnabled, make advanced * Rename
* Fix adding new scanning inputs not working (#808)toasted-nutbread2020-09-11
|
* OptionsUtil refactor / options default values (#807)toasted-nutbread2020-09-11
| | | | | | | | | | | | | | | | | | | | | | | * Replace _readFile with _fetchAsset for consistency with Backend * Fix error messages * Make OptionsUtil non-static * Update how default options are assigned * Add createValidatingProxy * Add validate, update _onApiSetAllSettings * Remove unused api.optionsSchemaGet * Remove Backend._optionsSchema * Update OptionsUtil to create its own JsonSchemaValidator * Rename Backend._optionsSchemaValidator * Make getDefault non-async
* Input type filters (#806)toasted-nutbread2020-09-11
| | | | | | | | | | | | | * Add options for scanning input types * Move buttons in layout, refactor CSS * Add options for input types * Use input type filters * Add _getMatchingInputGroupFromEvent * Use input filters for touch events
* Fix scanning inputs upgrade using the wrong format (#805)toasted-nutbread2020-09-11
|
* Use Anki classes directly in Display (#804)toasted-nutbread2020-09-10
| | | | | | | | | | | * Add _getTemplates function * Add template renderer to display pages * Add AnkiNoteBuilder to Display * Update AnkiTemplatesController to directly use TemplateRenderer * Remove old APIs
* Add api.injectAnkiNoteMedia (#803)toasted-nutbread2020-09-10
|
* Anki note api functions (#802)toasted-nutbread2020-09-10
| | | | | | | * Assign duplicateScope to a variable * Add api.addAnkiNote * Add api.getAnkiNoteInfo, update returned data format
* Anki note media injection move (#801)toasted-nutbread2020-09-10
| | | | | | | * Move anki note media injection functionality into Backend * Add marker/mode checks * Remove media injection from AnkiNoteBuilder
* Move TextToSpeechAudio to a separate file (#800)toasted-nutbread2020-09-10
|
* AudioUriBuilder simplification (#799)toasted-nutbread2020-09-10
| | | | | | | | | | | | | * Rename variables to disambiguate * Update handler argument convention * Update getUri argument convention * Change _getAudioUri argument convention * Change getDefinitionAudio argument convention * Add api.getDefinitionAudio definition
* Create abstraction class for parsing DOM (#798)toasted-nutbread2020-09-10
|
* Generalize AnkiNoteBuilder to not use audioSystem directly (#796)toasted-nutbread2020-09-09
|
* Update the AnkiController class to use an instance of AnkiConnect directly ↵toasted-nutbread2020-09-09
| | | | | | | (#795) * Update AnkiController to use AnkiConnect instance directly * Remove unused
* Settings controller file renaming (#794)toasted-nutbread2020-09-09
| | | | | | | * Rename SettingsBackup to BackupController * Rename files to more closely match classes * Improve organization of script imports
* Scanning input generalization (#789)toasted-nutbread2020-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | * Add inputs to options.scanning * Update CSS for mouse buttons * Update list counters * Set up HTML/CSS * Add input controller * Use new inputs * Include mouse buttons * Update how button inputs are detected * Add index/empty fields to the input details object * Update none check for scanning modifier * Remove old settings * Remove unused global
* 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