summaryrefslogtreecommitdiff
path: root/ext/bg
Commit message (Collapse)AuthorAge
* Fix settings permissions issues (#1360)toasted-nutbread2021-02-08
| | | | | * Add missing warning indicator for the MeCab option * Fix error handling of permissions requests
* Improve context page display on mobile (#1359)toasted-nutbread2021-02-08
|
* Fix changing the parser not immediately updating (#1358)toasted-nutbread2021-02-08
|
* Mecab refactor (#1357)toasted-nutbread2021-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use private variables * Use local variables * Remove onError * Use private functions * Move results parsing * Set up disconnect observation * Add _clearPort * Update API * Rename * Fix iterator * Update parseText invocation * Update parseText format * Reorganize * Update implementation and docs * Fix some port setup issues
* Auto-fill Anki card fields when possible (#1355)toasted-nutbread2021-02-08
|
* Remove unused api functions (#1354)toasted-nutbread2021-02-08
| | | | | | | * Remove screenshotGet * Remove downloadDefinitionAudio * Remove clipboardGetImage
* Refactor FrameOffsetForwarder (#1353)toasted-nutbread2021-02-08
| | | | | | | | | | | * Add getChildFrameElement to FrameAncestryHandler * Add isRootFrame * Initialize _frameOffset to [0, 0] * Update FrameOffsetForwarder implementation * Update documentation
* Fix overflow scrollbar appearing sometimes (#1350)toasted-nutbread2021-02-08
|
* Improve dictionaries not enabled badges (#1349)toasted-nutbread2021-02-08
| | | | | * Improve badges on the settings page * Add badges on the context page
* Native messaging optional permission (#1348)toasted-nutbread2021-02-08
| | | | | | | | | | | | | * Refactor PermissionsToggleController to not require a setting * Update nativeMessaging to be optional on Chrome * Update parsing.enableMecabParser setting to request permissions * Update permissions page to use PermissionsToggleController * Update permissions documentation * Disable toggle for permissions which are not optional
* Enforce language (#1344)toasted-nutbread2021-02-08
| | | | | | | | | * Assign text content and a language * Remove _appendMultilineText * Assign lang for createTextNode content * Add language attributes to HTML pages
* え deinflection (#1343)toasted-nutbread2021-02-08
| | | | | | | * Add -e deinflections * Add tests * Add more rules for double え
* Update chrome://extensions/shortcuts URLs to be clickable (#1342)toasted-nutbread2021-02-08
|
* Permissions toggle controller (#1347)toasted-nutbread2021-02-04
| | | | | | | | | | | * Move file, rename class * Expose required permissions in an attribute * Update selector * Update attribute * Fix global declaration order
* Fix incorrect clipboard setting target (#1346)toasted-nutbread2021-02-04
|
* Fix the settings page trying to create a popup window (#1341)toasted-nutbread2021-01-31
|
* Settings permissions info display (#1338)toasted-nutbread2021-01-31
| | | | | | | | | | | | | * Add getAllPermissions function * Add permissionsChanged event * Update ClipboardPopupsController to show permissions validation info * Add invalid indicator * Display invalid indicator when permissions are not valid * Fix border color transition not being necessary on input-suffix-button
* Html lint (#1336)toasted-nutbread2021-01-30
| | | | | | | | | | | | | | | | | | | | | | | * Move style rules * Fix non-unique IDs * Remove erroneous ids * Add title * Fix invalid closing tag * Install html-validate * Add .htmlvalidate.json * Update HTML and styles * Add test-lint-html * Update test files * Update test-lint-html/css commands to have more explicit targets
* Modal refactor (#1335)toasted-nutbread2021-01-30
| | | | | | | | | * Rename modal-container to modal * Update how modal IDs are handled * Fix invalid modal check * Update modal IDs
* Permissions requesting fixes (#1334)toasted-nutbread2021-01-30
| | | | | | | | | * Fix permissions requests not occurring during user interaction * Update toggle after changing permissions * Update functions * Update clipboard requests
* Update error handling for navigator.clipboard (#1333)toasted-nutbread2021-01-30
|
* Fix the alt key opening the menu in KBM input fields on Firefox (#1332)toasted-nutbread2021-01-30
|
* Fix null not being handled properly in _findTab result (#1331)toasted-nutbread2021-01-30
|
* Add note errors (#1329)toasted-nutbread2021-01-30
| | | | | | | | | | | | | | | | | | | * Update _addAnkiNote to track errors * Change comparison * Update anki note adding to show errors * Fix template * Show errors when Anki card creation behaves unexpectedly * Update some errors related to anki media injection * Update addAnkiNote error handling * Improve Anki errors * Simplify error messages related to template rendering
* Fix CSP error when reading images from the clipboard using the paste command ↵toasted-nutbread2021-01-30
| | | | (#1328)
* Settings and welcome page improvements (#1326)toasted-nutbread2021-01-29
| | | | | | | | | | | | | | | * Update wording to be less repetitive * Remove the shadow theme option from the welcome page, to avoid confusion * Update input sizes * Update select text to not clip the triangle icon * Update wording * Update descriptions * Remove "popup" to not exclude the search page
* Fix incorrect function (#1325)toasted-nutbread2021-01-28
|
* Remove the dictionary tag from the definitionTags (#1324)toasted-nutbread2021-01-28
| | | | | | | | | | | * Remove dictionary tag from term definitionTags and kanji tags * Update test data * Update templates * Update tests * Update information
* Refactor anki field templates (#1323)toasted-nutbread2021-01-28
| | | | | | | | | * Update glossary and glossary-single * Define patch * Create TemplatePatcher * Add test
* Native keyboard shortcuts settings (#1322)toasted-nutbread2021-01-27
| | | | | | | | | * Fix style issue * Add ExtensionKeyboardShortcutController * Move descriptions * Add separator line
* Don't trigger a change event for the initial content of the clipboard (#1321)toasted-nutbread2021-01-26
|
* Update translation options to be advanced only (#1320)toasted-nutbread2021-01-26
|
* Clipboard settings organization (#1319)toasted-nutbread2021-01-26
| | | | | | | | | | | | | * Create clipboard icon * Move clipboard options * Update clipboard options * Update labels * Add info * Update all clipboard settings to request permissions
* Update clipboard options organization (#1318)toasted-nutbread2021-01-26
| | | | | | | | | | | * Update options organization * Update general.enableClipboardPopups to clipboard.enableBackgroundMonitor * Update general.enableClipboardMonitor to clipboard.enableSearchPageMonitor * Update general.maximumClipboardSearchLength to clipboard.maximumSearchLength * Update general.autoSearchClipboardContent to clipboard.autoSearchContent
* Fix missing options for _onDisplayOptionsUpdated invocation (#1317)toasted-nutbread2021-01-26
|
* Fix search box resizing (#1316)toasted-nutbread2021-01-25
| | | | | * Don't resize the search box unless it's necessary * Allow search box to shrink under certain circumstances
* Fix clipboard monitor not persisting (#1315)toasted-nutbread2021-01-25
| | | | | | | * Add optionsUpdated event to Display * Update this._clipboardMonitorEnabled * Update settings to ensure no unexpected behaviour
* Clipboard lookup skip option (#1314)toasted-nutbread2021-01-25
| | | | | | | | | * Add autoSearchClipboardContent option * Hide header if there is any search text * Add setting for autoSearchClipboardContent * Add support for autoSearchClipboardContent
* Defer load of iframe on the settings page (#1313)toasted-nutbread2021-01-25
|
* Update Basic Usage section of the readme (#1307)toasted-nutbread2021-01-24
| | | | | * Update the Basic Usage section of the readme * Update wording on welcome page to match readme
* Update badges (#1309)toasted-nutbread2021-01-24
| | | | | | | * Update badge indications to be based off current profile * Update warning badge to display when no dictionaries are enabled * Show how many dictionaries are enabled
* Replace "Disabled" with "None", for better terminology consistency (#1304)toasted-nutbread2021-01-23
|
* Multiple custom audio sources (#1303)toasted-nutbread2021-01-23
| | | | | | | | | | | | | | | * Fix label * Fix icon size being flexible * Add schema * Add customSourceType option * Update settings * Pass customSourceType to the audio downloader * Implement custom audio JSON mode
* Audio button menu (#1302)toasted-nutbread2021-01-23
| | | | | | | | | * Fix popup menus not stoping events * Ensure non-stale use of buttons * Enable popup menus on the popup/search pages * Add audio menu
* Update popup menu structure (#1301)toasted-nutbread2021-01-23
| | | | | | | | | * Wrap menu items in popup-menu-body * Use bodyNode instead of node * Update selector * Update _setPosition to not use items
* Update text-color-light definitions to be more consistent (#1299)toasted-nutbread2021-01-23
|
* Remove unused settings2 CSS (#1298)toasted-nutbread2021-01-23
|
* Update display audio cache (#1292)toasted-nutbread2021-01-23
| | | | | | | | | | | | | * Use a standard map * Wrap function * Improve cache to support multiple different source arrays For the same reading/expression * Rename variable * Use null instead of an error
* Display audio update (#1291)toasted-nutbread2021-01-22
| | | | | | | * Move createExpressionAudio to DisplayAudio * Move createAudioFromInfo to DisplayAudio * Update TextToSpeechAudio
* Update audio validity checks to be based on the source (#1290)toasted-nutbread2021-01-22
|