summaryrefslogtreecommitdiff
path: root/ext/bg
Commit message (Collapse)AuthorAge
* 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
|
* Fix numpad enter functioning differently than enter on the search page (#1289)toasted-nutbread2021-01-22
|
* Simplify CacheMap (#1287)toasted-nutbread2021-01-21
| | | | | | | | | * Simplify CacheMap, removing support for array path keys * Update keys * Update JsonSchemaValidator * Update AudioSystem
* Update data-menu-position to be space separated instead of comma separated ↵toasted-nutbread2021-01-21
| | | | (#1286)
* Move menu styles into material.css (#1283)toasted-nutbread2021-01-20
|
* Fix search page type (#1282)toasted-nutbread2021-01-20
|
* Fix missing script on the old setting page (#1281)toasted-nutbread2021-01-20
|
* Move popup-menu.js (#1280)toasted-nutbread2021-01-20
|
* Fix missing include on the welcome page (#1279)toasted-nutbread2021-01-19
|
* Update descriptions for configuring browser keyboard shortcuts (#1278)toasted-nutbread2021-01-19
|
* Menu refactor (#1277)toasted-nutbread2021-01-19
| | | | | | | | | | | | | | | | | | | | | * Rename menuOpened event to menuOpen * Rename menuClosed event to menuClose * Rename close event * Assign _isClosed * Reuse event detail * Expose PopupMenu.openMenus * Rename and expose properties * Add cancelable argument to close * Update menuOpen detail * Update menuClose detail
* Audio system refactoring (#1275)toasted-nutbread2021-01-18
| | | | | | | | | | | | | | | * Simplify details * Simplify audio creation * Return an array of sources instead of a single item * Use sourceIndex instead of index * Rename APIs * Return more info about the source * Return source instead of sourceIndex
* Backend options update (#1274)toasted-nutbread2021-01-18
| | | | | | | * Update how _onCommandToggleTextScanning changes settings * Make getFullOptions/getOptions private * Remove unused isPrepared
* Hotkey help controller (#1272)toasted-nutbread2021-01-18
| | | | | | | | | | | * Create HotkeyHelpController * Expose getAllTemplates * Update hotkeys on the context page * Update hotkeys on the display pages * Fix display issue where a hotkey used to be defined but no longer is
* Command refactor (#1271)toasted-nutbread2021-01-18
| | | | | * Change selectors * Change openHelpPage to openInfoPage
* Hotkey util (#1270)toasted-nutbread2021-01-18
| | | | | | | | | * Create HotkeyUtil * Create tests * Use HotkeyUtil * Fix issues
* Display audio (#1269)toasted-nutbread2021-01-18
| | | | | * Update display definition/definition node handling * Separate display audio controls into a separate class
* Audio system improvements (#1268)toasted-nutbread2021-01-17
| | | | | * Simplify API * Move fallback audio