summaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
Commit message (Collapse)AuthorAge
* Change popupCurrentIndicatorMode default to triangle (#1161)toasted-nutbread2020-12-22
|
* Update the popup preview to always be visible on the settings v2 page (#1151)toasted-nutbread2020-12-20
|
* Popup action bar options (#1140)toasted-nutbread2020-12-19
| | | | | | | | | | | | | * Add options for action bar visibility and location * Add settings * Update styles * Expose properties * Update styles * Update tests
* Entry indicator update (#1134)toasted-nutbread2020-12-19
| | | | | | | | | | | | | | | | | | | | | | | * Move entry current indicator rules * Simplify rules * Add popupCurrentIndicatorMode option * Add option to settings page * Expose popupCurrentIndicatorMode * Restore asterisk current indicator * Implement dot * Update action button vars * Fix tests * Add none option * Add triangle option
* Maximum clipboard search length (#1118)toasted-nutbread2020-12-18
| | | | | | | | | * Add maximumClipboardSearchLength an option * Add setting * Add limits * Update tests
* Settings v2 testing setup (#1084)toasted-nutbread2020-12-06
| | | | | | | | | * Add option for using settings v2 * Add options/info about settings v2 * Use settings v2 URL when applicable * Update tests
* Popup style updates (#1066)toasted-nutbread2020-11-25
| | | | | | | | | | | * Replace compactGlossaries option with new glossaryLayoutMode option * Update attributes * Update attributes * Update color definitions * Fix default theme scrollbar
* Compact tags refactor (#1021)toasted-nutbread2020-11-12
| | | | | | | | | | | | | * Update translator to flag redundant tags instead of remove * Update how compact tags are shown in the popup * Pass compactTags option to note builder * Update options templates * Add options upgrade * Add options upgrade test
* Add duplicate check option (#1012)toasted-nutbread2020-11-08
| | | | | | | * Add anki.checkForDuplicates option * Use checkForDuplicates for button display * Add property to card creation
* Popup preview update (#994)toasted-nutbread2020-11-06
| | | | | | | | | * Add options.global.showPopupPreview option * Add preview visibility control using a checkbox * Add attribute on page load * Disable animation until page is loaded
* Conjugation marker (#988)toasted-nutbread2020-11-04
| | | | | | | | | * Add {conjugation} marker * Add info * Add upgrade * Update test
* Options fixes (#962)toasted-nutbread2020-10-27
| | | | | | | | | | | * Fix default options not having the correct versions * Move schema validation * Remove legacy version number * Add tests for OptionsUtil.getDefault() * Remove unused getValidValueOrDefault
* Backup controller refactor (#946)toasted-nutbread2020-10-19
| | | | | | | | | * Update IDs * Change how default fieldTemplates is assigned * Ensure no missing fields * Fix error display during import
* Fix template updates for multiple declarations (#918)toasted-nutbread2020-10-14
| | | | | * Update pattern to be multi-match * Remove unnecessary async
* Move searchTerms/searchKanji to front of object definitions (#873)toasted-nutbread2020-09-27
|
* Add scan on touch move and prevent touch scroll options (#871)toasted-nutbread2020-09-27
| | | | | | | | | * Add scanOnTouchMove/preventTouchScrolling scanning input options * Add settings controls * Support scanOnTouchMove in TextScanner * Support preventTouchScrolling in TextScanner
* Add middle mouse prevention option (#868)toasted-nutbread2020-09-26
| | | | | | | | | * Add preventMiddleMouse option to TextScanner * Add preventMiddleMouse options * Add options * Apply preventMiddleMouse options
* Scanning mouse button fixes (#866)toasted-nutbread2020-09-26
| | | | | * Move mouse0 blocking during mousemove into options * Update primary button detection
* Add clipboard-text Anki field (#863)toasted-nutbread2020-09-26
| | | | | | | * Add clipboard-text anki field * Add markers * Update clipboard injection
* Delete old scanning options during update (#851)toasted-nutbread2020-09-20
|
* Fix _addFieldTemplatesBeforeEnd not being await'd (#850)toasted-nutbread2020-09-20
|
* 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
* 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
* More scanning options (#815)toasted-nutbread2020-09-12
| | | | | | | | | * Reorganize options * Add advanced options * Add a setting transform 'setRelativeAttribute' * Add advanced options to HTML/CSS
* 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
|
* 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
* 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
* 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
* Update the functions for upgrading anki templates to be more reusable (#779)toasted-nutbread2020-09-06
|
* Popup window (#773)toasted-nutbread2020-09-05
| | | | | | | * Add option usePopupWindow * Add PopupWindow class * Add support for creating PopupWindow
* 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
* Pitch accent Anki field templates (#701)toasted-nutbread2020-08-01
| | | | | | | | | | | | | | | | | | | * Template helper updates * Add pitch data to exported field formatting data * Reuse note data * Add no-op * Set up pitch accent templates * Refactor version update functions * Implement upgrade process for new Anki templates * Consistency * Update README and anki.js to have matching markers
* Options util (#700)toasted-nutbread2020-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Move options functions into a class * Rename and privatize * Organize by public/private * Refactor to use async function * Simplify update function signature * Add comment for update * Rename * Copy _applyUpdates into _legacyProfileUpdateUpdateVersion * Organize * Move profile options updates * Refactor update details * Add async support * Formatting
* Shadow DOM container for popup iframes (#623)toasted-nutbread2020-06-24
| | | | | | | | | | | | | | | * Add support for injecting stylesheets into a custom parent node * Add api.getStylesheetContent * Add support for injecting a CSS file's content * Add usePopupShadowDom option * Use a per-parentNode cache * Add support for using a shadow DOM wrapper around popup iframes * Ignore the popup container instead of the frame
* Secure popup frame url changes (#622)toasted-nutbread2020-06-22
| | | | | | | * Throw error if options is not ready * Remove id * Change unsecurePopupFrameUrl to useSecurePopupFrameUrl
* Use DOMTextScanner (#536)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | * Use DOMTextScanner instead of TextSourceRange.seek* * Move getNodesInRange to dom.js * Move anyNodeMatchesSelector to dom.js * Remove unused functions * Update tests * Add layoutAwareScan option * Use layoutAwareScan for source and sentence scanning * Remove unused IGNORE_TEXT_PATTERN
* Add option to use the unsecure frame URL (#618)toasted-nutbread2020-06-21
|
* Fix "tags" template (#539)siikamiika2020-05-22
| | | | | | | * fix tag templates for merge and group modes * update version upgrade * adjust upgrade replacement order
* Omit the sound tag if it's empty (#525)toasted-nutbread2020-05-09
|
* Anki audio download (#477)toasted-nutbread2020-05-02
| | | | | | | * Update how audio is added to Anki cards * Upgrade Anki templates * Update comments
* Add duplicateScope: 'deck' option (#476)toasted-nutbread2020-04-27
| | | | | | | | | * Add duplicateScope: 'deck' option * Add option to control duplicate scope * Use duplicateScope for findNoteIds * Update location of quotes
* 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.
* | Merge pull request #440 from toasted-nutbread/collapse-emphatic-sequencestoasted-nutbread2020-04-12
|\ \ | |/ |/| Add support for collapsing emphatic character sequences
| * Add support for collapsing emphatic character sequencestoasted-nutbread2020-04-10
| |
* | 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 support for {document-title}toasted-nutbread2020-04-06
|