summaryrefslogtreecommitdiff
path: root/ext/bg
Commit message (Collapse)AuthorAge
* Move search mode (#1381)toasted-nutbread2021-02-13
| | | | | * Move mode handling to SearchDisplayController * Remove mode state info and handlers from Display
* Fix cross frame communication not exposing sourceTabId properly (#1379)toasted-nutbread2021-02-13
|
* Improve search page popup detection (#1378)toasted-nutbread2021-02-13
| | | | | | | | | | | | | | | * Add _getAllTabs function * Add _findTabs * Use _findTabs instead of _findTab * Remove _findTab * Refactor tab check * Add ability to search for a popup native window * Fix dangling comma
* Fix old settings page not being used properly (#1376)toasted-nutbread2021-02-12
|
* Move html files (#1375)toasted-nutbread2021-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move background.html to / * Move context.html to / * Move info.html to / * Move legal.html to / * Move permissions.html to / * Move pitch-accents-preview.html to / * Move popup-preview.html to / * Move search.html to / * Move settings.html to / * Move settings2.html to / * Move template-renderer.html to / * Move welcome.html to / * Move float.html to / * Move display-templates.html to /
* Move css files (#1374)toasted-nutbread2021-02-12
| | | | | * Move bg/css/ to css/ * Move mixed/css/ to css/
* Move more data files (#1373)toasted-nutbread2021-02-12
| | | | | | | * Move deinflect.json * Move button.mp3 * Move fonts
* Add additional vz deinflection rule (#1367)toasted-nutbread2021-02-12
|
* Move images (#1372)toasted-nutbread2021-02-12
| | | | | * Move mixed/img/ to images/ * Move bg/img/ to images/
* Move data folder (#1371)toasted-nutbread2021-02-12
| | | | | * Move handlebars template files * Move schema files
* Update the warning on the old settings page (#1370)toasted-nutbread2021-02-12
|
* Search decouple (#1369)toasted-nutbread2021-02-11
| | | | | | | | | | | | | | | | | | | * Update how query post-processing is implemented * Update DisplaySearch to not subclass Display * Update display construction * Make display initialization consistent * Remove unused * Fix wanakana binding * Use own frame/tab ID * DisplaySearch => SearchDisplayController * Fix globals
* Permissions button in browser action popup (#1368)toasted-nutbread2021-02-11
| | | | | | | | | | | | | | | | | | | | | * Add key icon * Update context icon styles * Add permissions links * Show warning badge if permissions are insufficient for certain settings * Create PermissionsUtil * Use PermissionsUtil in Backend * Update SettingsController to use PermissionsUtil * Update AnkiController to use getRequiredPermissionsForAnkiFieldValue * Show the permissions buttons/links on the context page when necessary * Update MV3 compatibility
* Add support for multiple types of audio (#1366)toasted-nutbread2021-02-10
|
* Fix window popup screenshot (#1365)toasted-nutbread2021-02-09
| | | | | | | | | | | * Pass tabId to the screenshot functionality * Make setVisibleOverride async * Fix argument order * Fix incorrect windowId * Remove unused argument
* Improve popup window ownership (#1364)toasted-nutbread2021-02-09
| | | | | | | | | | | | | | | | | * Update frameInformationGet to also return the tab ID * Add tabId to Frontend * Pass tabId/frameId to Display * Pass ownership information using setContent * Remove ownerFrameId for Popup classes * Use frameId instead of ownerFrameId for screenshotting * Use contentOrigin instead of owner * Update _invokeContentOrigin implementation
* Mecab test (#1361)toasted-nutbread2021-02-08
| | | | | | | * Update Mecab API * Add testMecab API function * Add a test button for the Mecab component
* 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