toasted-nutbread
69e8addb47
Mecab refactor ( #1357 )
...
* 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
2021-02-08 17:53:12 -05:00
toasted-nutbread
7b28c2c532
Auto-fill Anki card fields when possible ( #1355 )
2021-02-08 17:53:07 -05:00
toasted-nutbread
bb8a521dff
Remove unused api functions ( #1354 )
...
* Remove screenshotGet
* Remove downloadDefinitionAudio
* Remove clipboardGetImage
2021-02-08 17:53:02 -05:00
toasted-nutbread
73e91b3b62
Refactor FrameOffsetForwarder ( #1353 )
...
* Add getChildFrameElement to FrameAncestryHandler
* Add isRootFrame
* Initialize _frameOffset to [0, 0]
* Update FrameOffsetForwarder implementation
* Update documentation
2021-02-08 17:52:56 -05:00
toasted-nutbread
3e5b30ff76
Fix overflow scrollbar appearing sometimes ( #1350 )
2021-02-08 17:52:51 -05:00
toasted-nutbread
4b6703114c
Improve dictionaries not enabled badges ( #1349 )
...
* Improve badges on the settings page
* Add badges on the context page
2021-02-08 17:52:46 -05:00
toasted-nutbread
849e4fabe1
Native messaging optional permission ( #1348 )
...
* 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
2021-02-08 17:52:41 -05:00
toasted-nutbread
008809e0e7
Enforce language ( #1344 )
...
* Assign text content and a language
* Remove _appendMultilineText
* Assign lang for createTextNode content
* Add language attributes to HTML pages
2021-02-08 17:52:35 -05:00
toasted-nutbread
c6315cdb8c
え deinflection ( #1343 )
...
* Add -e deinflections
* Add tests
* Add more rules for double え
2021-02-08 17:52:30 -05:00
toasted-nutbread
ace6e92d55
Update chrome://extensions/shortcuts URLs to be clickable ( #1342 )
2021-02-08 17:52:25 -05:00
toasted-nutbread
8f97ca0aac
Permissions toggle controller ( #1347 )
...
* Move file, rename class
* Expose required permissions in an attribute
* Update selector
* Update attribute
* Fix global declaration order
2021-02-04 22:17:42 -05:00
toasted-nutbread
47f16862d0
Fix incorrect clipboard setting target ( #1346 )
2021-02-04 21:12:32 -05:00
toasted-nutbread
6218b0d8f7
Fix the settings page trying to create a popup window ( #1341 )
2021-01-31 16:18:17 -05:00
toasted-nutbread
08a87bd007
Settings permissions info display ( #1338 )
...
* 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
2021-01-31 11:55:11 -05:00
toasted-nutbread
9e83faa02c
Html lint ( #1336 )
...
* 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
2021-01-30 20:44:54 -05:00
toasted-nutbread
60c38ab83c
Modal refactor ( #1335 )
...
* Rename modal-container to modal
* Update how modal IDs are handled
* Fix invalid modal check
* Update modal IDs
2021-01-30 19:47:16 -05:00
toasted-nutbread
828c4b11c1
Permissions requesting fixes ( #1334 )
...
* Fix permissions requests not occurring during user interaction
* Update toggle after changing permissions
* Update functions
* Update clipboard requests
2021-01-30 15:05:08 -05:00
toasted-nutbread
a802666d8d
Update error handling for navigator.clipboard ( #1333 )
2021-01-30 15:03:19 -05:00
toasted-nutbread
7177694419
Fix the alt key opening the menu in KBM input fields on Firefox ( #1332 )
2021-01-30 14:15:27 -05:00
toasted-nutbread
0ba1427775
Fix null not being handled properly in _findTab result ( #1331 )
2021-01-30 14:06:43 -05:00
toasted-nutbread
d0b8b605db
Add note errors ( #1329 )
...
* 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
2021-01-30 12:33:29 -05:00
toasted-nutbread
af6e9a8153
Fix CSP error when reading images from the clipboard using the paste command ( #1328 )
2021-01-30 11:15:11 -05:00
toasted-nutbread
04cf4ec8d5
Settings and welcome page improvements ( #1326 )
...
* 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
2021-01-29 19:10:57 -05:00
toasted-nutbread
c7c5bab1a9
Fix incorrect function ( #1325 )
2021-01-28 21:38:13 -05:00
toasted-nutbread
a81787c55b
Remove the dictionary tag from the definitionTags ( #1324 )
...
* Remove dictionary tag from term definitionTags and kanji tags
* Update test data
* Update templates
* Update tests
* Update information
2021-01-28 21:33:30 -05:00
toasted-nutbread
e610a62ceb
Refactor anki field templates ( #1323 )
...
* Update glossary and glossary-single
* Define patch
* Create TemplatePatcher
* Add test
2021-01-28 21:17:10 -05:00
toasted-nutbread
ed0c0c20c0
Native keyboard shortcuts settings ( #1322 )
...
* Fix style issue
* Add ExtensionKeyboardShortcutController
* Move descriptions
* Add separator line
2021-01-27 19:34:14 -05:00
toasted-nutbread
97bb05147e
Don't trigger a change event for the initial content of the clipboard ( #1321 )
2021-01-26 20:12:04 -05:00
toasted-nutbread
77b7bdb4ce
Update translation options to be advanced only ( #1320 )
2021-01-26 20:00:34 -05:00
toasted-nutbread
898498c8a3
Clipboard settings organization ( #1319 )
...
* Create clipboard icon
* Move clipboard options
* Update clipboard options
* Update labels
* Add info
* Update all clipboard settings to request permissions
2021-01-26 19:58:58 -05:00
toasted-nutbread
8d292363d4
Update clipboard options organization ( #1318 )
...
* 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
2021-01-26 18:30:01 -05:00
toasted-nutbread
d11cd7b28f
Fix missing options for _onDisplayOptionsUpdated invocation ( #1317 )
2021-01-26 18:24:56 -05:00
toasted-nutbread
43c9a5eb6a
Fix search box resizing ( #1316 )
...
* Don't resize the search box unless it's necessary
* Allow search box to shrink under certain circumstances
2021-01-25 22:19:44 -05:00
toasted-nutbread
34fed22ccb
Fix clipboard monitor not persisting ( #1315 )
...
* Add optionsUpdated event to Display
* Update this._clipboardMonitorEnabled
* Update settings to ensure no unexpected behaviour
2021-01-25 22:18:31 -05:00
toasted-nutbread
981f73b562
Clipboard lookup skip option ( #1314 )
...
* Add autoSearchClipboardContent option
* Hide header if there is any search text
* Add setting for autoSearchClipboardContent
* Add support for autoSearchClipboardContent
2021-01-25 22:05:06 -05:00
toasted-nutbread
ea1d40f94b
Defer load of iframe on the settings page ( #1313 )
2021-01-25 19:21:02 -05:00
toasted-nutbread
5232b945a7
Update Basic Usage section of the readme ( #1307 )
...
* Update the Basic Usage section of the readme
* Update wording on welcome page to match readme
2021-01-24 22:33:59 -05:00
toasted-nutbread
bab6c6fba9
Update badges ( #1309 )
...
* 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
2021-01-24 22:32:29 -05:00
toasted-nutbread
7b41f3b7b2
Replace "Disabled" with "None", for better terminology consistency ( #1304 )
2021-01-23 22:51:15 -05:00
toasted-nutbread
ebfef0c748
Multiple custom audio sources ( #1303 )
...
* 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
2021-01-23 22:46:00 -05:00
toasted-nutbread
ef577b8875
Audio button menu ( #1302 )
...
* Fix popup menus not stoping events
* Ensure non-stale use of buttons
* Enable popup menus on the popup/search pages
* Add audio menu
2021-01-23 21:13:01 -05:00
toasted-nutbread
9fbdb9757b
Update popup menu structure ( #1301 )
...
* Wrap menu items in popup-menu-body
* Use bodyNode instead of node
* Update selector
* Update _setPosition to not use items
2021-01-23 21:07:45 -05:00
toasted-nutbread
643afcddd2
Update text-color-light definitions to be more consistent ( #1299 )
2021-01-23 16:24:05 -05:00
toasted-nutbread
8a6ecc7297
Remove unused settings2 CSS ( #1298 )
2021-01-23 16:07:50 -05:00
toasted-nutbread
349d9a3611
Update display audio cache ( #1292 )
...
* 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
2021-01-23 00:31:23 -05:00
toasted-nutbread
7fbfef513d
Display audio update ( #1291 )
...
* Move createExpressionAudio to DisplayAudio
* Move createAudioFromInfo to DisplayAudio
* Update TextToSpeechAudio
2021-01-22 22:10:27 -05:00
toasted-nutbread
a51a591c40
Update audio validity checks to be based on the source ( #1290 )
2021-01-22 21:09:43 -05:00
toasted-nutbread
55df9dc7cd
Fix numpad enter functioning differently than enter on the search page ( #1289 )
2021-01-22 20:46:48 -05:00
toasted-nutbread
cf57c4e38d
Simplify CacheMap ( #1287 )
...
* Simplify CacheMap, removing support for array path keys
* Update keys
* Update JsonSchemaValidator
* Update AudioSystem
2021-01-21 22:49:54 -05:00
toasted-nutbread
0bc5a4a971
Update data-menu-position to be space separated instead of comma separated ( #1286 )
2021-01-21 19:57:43 -05:00