| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
* Remove screenshotGet
* Remove downloadDefinitionAudio
* Remove clipboardGetImage
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Update how _onCommandToggleTextScanning changes settings
* Make getFullOptions/getOptions private
* Remove unused isPrepared
|
|
|
|
|
| |
* Change selectors
* Change openHelpPage to openInfoPage
|
|
|
|
|
| |
* Update commands
* Add command to open the popup window
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add popupWindow options
* Add toBoolean converter
* Add settings
* Use new options
* Add test link
* Fix window state not working
* Make the window section advanced only
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new option: anki.suspendNewCards
* Update Anki APIs
* Suspend card based on options
* Add setting
* Disable wrap for toggle property
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor note adding/viewing functions
* Move _addDefinition
* Update where anki field templates are assigned
* Update _createNote to not include options/templates arguments
* Simplify getAnkiNoteInfo to not require duplicateScope
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Copy set intersection functions
* Remove unused functions
* Simplify url check
* Remove parseUrl
* Simplify stringReverse
* Remove hasOwn due to infrequent use
* Rename errorToJson/jsonToError to de/serializeError
For clarity on intended use.
* Fix time argument on timeout
* Add missing return value
* Throw an error for unexpected argument values
* Add documentation comments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for regex replacements during the translation process
* Allow assignment of textReplacements
* Rename
* Set up test data
* Write expected data
* Set up options
* Prevent infinite loop if regex matches empty string
* Implement setting controller
* Add support for testing pattern replacements
|
|
|
|
|
| |
* Update copyright year
* Remove redundant Author info
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add maximumClipboardSearchLength an option
* Add setting
* Add limits
* Update tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make storage controller optional
* Make more elements optional
* Update styles
* Create new welcome page
* Update URL for welcome guide
* Remove old guide
* Fix unused global
|
|
|
|
|
|
|
|
|
|
|
| |
* Add api.getAnkiConnectVersion
* Enable basic functionality when certain features/elements aren't present
* Add info page
* Update information links
* Update info link on the settings v2 page
|
|
|
|
|
|
|
|
|
| |
* Add option for using settings v2
* Add options/info about settings v2
* Use settings v2 URL when applicable
* Update tests
|
|
|
|
|
| |
* Use JapaneseUtil as a class which is manually instantiated
* Use alias function for toKana
|
|
|
|
|
|
|
| |
* Fix kanji note creation
* Move try/catch for consistency
* Move audio normalization
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify select generation
* Refactor text generation
* Change optional argument
* Remove query-parser-templates.html
* Simplify prepare
* Simplify preview
|
| |
|
|
|
|
|
| |
* Move deinflection reasons setup to backend
* Remove async
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor internal options for findTerms to not use the settings object
* Move findTerms/findKanji options creation
* Deconstruct used options values to variables before any await calls
* Rename findTermsOptions to just options
* Add documentation comments
* Add type information about definitions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use _sendMessageTab
* Move _sendMessageAllTabs next to _sendMessageTab
* Rename function
* Add and use _sendMessageTabIgnoreResponse
* Add and use _sendMessageIgnoreResponse
* Always include params
* Update function consistency
|
|
|
|
|
|
|
| |
* Add clipboard-text anki field
* Add markers
* Update clipboard injection
|
|
|
|
|
|
|
|
|
|
|
| |
* Move loadImageBase64 into DictionaryImporter
* Convert mediaUtility to a class
* Add getFileExtensionFromImageMediaType to MediaUtility
* Use MediaUtility instead of _getImageExtensionFromMediaType
* Use MediaUtility in ClipboardReader to validate images before reading
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor AudioUriBuilder
* Add downloadAudio function
* Refactor AudioSystem
* Update API usage
* Rename file
* Update scripts
* Add prepare calls
|
|
|
|
|
|
|
|
|
|
|
| |
* Create ClipboardReader class
* Use ClipboardReader in Backend
* Update ClipboardMonitor to use ClipboardReader
* Replace _onApiClipboardImageGet call
* Assign clipboard reader browser
|
|
|
|
|
|
|
| |
* Change where clearDatabaseCaches occurs
* Move dictionary deletion into the settings page
* Remove api.deleteDictionary
|
|
|
|
|
|
|
|
|
| |
* Remove api.optionsSave
* Remove getOptionsMutable and getOptionsFullMutable
* Remove util.js
* Remove yomichanBackend
|
|
|
|
|
| |
* Add api.triggerDatabaseUpdated and yomichan.on('databaseUpdated')
* Update databaseUpdated event usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* Add _getTemplates function
* Add template renderer to display pages
* Add AnkiNoteBuilder to Display
* Update AnkiTemplatesController to directly use TemplateRenderer
* Remove old APIs
|
| |
|
|
|
|
|
|
|
| |
* Assign duplicateScope to a variable
* Add api.addAnkiNote
* Add api.getAnkiNoteInfo, update returned data format
|
|
|
|
|
|
|
| |
* Move anki note media injection functionality into Backend
* Add marker/mode checks
* Remove media injection from AnkiNoteBuilder
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename variables to disambiguate
* Update handler argument convention
* Update getUri argument convention
* Change _getAudioUri argument convention
* Change getDefinitionAudio argument convention
* Add api.getDefinitionAudio definition
|
| |
|
|
|
|
|
|
|
| |
(#795)
* Update AnkiController to use AnkiConnect instance directly
* Remove unused
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update AnkiNoteBuilder to not store a reference to an AniConnect instance
* Use more consistent details format
* Organize options assignment
* Move media injection
* Inject images before injecting audio
* Make functions private
* Make static functions private
|
|
|
|
|
|
|
| |
* Use more consistent style for injectScreenshot
* Move screenshot generation into AnkiNoteBuilder/Backend
* Get optionsContext before await
|