| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* Add function to await until prepare is completed
* Create BackendEventHandler to synchronously set up event handling
|
|
|
|
|
|
|
|
|
| |
* Use new CrossFrameAPI for popup proxy communication
* Remove use of old cross-frame communication classes
* Remove use of old cross-frame communication files
* Make the crossFrame object a member of the api object
|
|
|
| |
Broken in 90af55d4c84f545635f238178b30748a0e8093ee
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Add onDisconnect handler
* Update how error is posted
* Update action ports to send long messages in fragments
* Remove ack timer
* Move message destructuring into try block
|
| |
|
|
|
|
|
|
|
|
|
| |
* Update how optionsContext is assigned to targets
* Add getSettings and modifySettings
* Merge DOMSettingsBinder into GenericSettingController
* Remove old DOMSettingsBinder
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add function to assign all settings
* Update how settings backups are restored
* Remove page reload
* Update profile index after importing
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update how fields are populated
* Update how fields are modified after a model change
* Update how _onFieldsChanged assigns fields
* Update how spinner is hidden
* Remove jQuery usage
* Use non-jQuery events
|
|
|
|
|
|
|
| |
* Use this._defaultFieldTemplates
* Don't use mutable options
* Remove some use of jQuery
|
| |
|
|
|
|
|
| |
* Include optionsContext as part of optionsChanged event
* Add get/modify functions
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use settingsController internally in settings/main.js
* Replace modifyingProfileChange with SettingsController.optionsContextChanged
* Update ClipboardPopupsController to use SettingsController
* Store reference to checkbox
* Use this._settingsController for everything
* Change where current profile is initially assigned from
* Remove some unnecessary async calls
* Move setup calls
* Update AnkiTemplatesController to use SettingsController
* Cache default field templates
* Update AnkiController to use SettingsController
* Update AudioController to use SettingsController
* Update SettingsBackup to use SettingsController
* Update DictionaryController to use SettingsController
* Update GenericSettingController to use SettingsController
* Update ProfileController to use SettingsController
* Remove unused
* Remove unused
* Replace some uses of api.options* functions
* Fix missing awaits
* Fix invalid function
|
| |
|
|
|
|
|
| |
* Create GenericSettingController
* Create ClipboardPopupsController
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use private variables
* Use private methods
* Update overrides
* Make prepare called in the entry point function
* Change format of handlers
* Change where _apiOptionsGetOld is assigned
* Rename class
|
|
|
|
|
| |
* Convert popup-preview.js to a class
* Don't invoke 'prepare'
|
|
|
|
|
|
|
|
|
| |
* Convert dictionaries.js to a class
* Remove storage spinner
* Convert storage.js to a class
* Move dataset assignments into main.js
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert audio.js into a class
* Move audio-ui.js classes into audio.js
* Rename fields
* Merge classes
* Remove audio-ui.js
|
|
|
|
|
| |
* Convert anki-templates.js to a class
* Convert anki.js to a class
|
|
|
|
|
|
|
| |
* Update how settings profile is stored and accessed
* Convert profiles.js into a class
* Rename members of ProfileController
|
| |
|
|
|
|
|
| |
* Fix incorrect updateValue function
* Add source
|
| |
|
|
|
|
|
|
|
| |
* Omit global window object for scripts used on the background page
* Validate document exists before using
* Remove dom.js from background.html
|
|
|
|
|
| |
* Add createPopupFactory
* Ensure only a single PopupFactory is generated
|
|
|
|
|
| |
* Update backup.js to be a class
* Move utilReadFileArrayBuffer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix _modifySetting being async
* Return values for modifySettings's set and splice actions
* Add apiGetSettings
* Create a class which can accumulate tasks to run in bulk
* Create a class which binds input elements to customizable sources
* Create class which binds input elements to settings
* Add support for value transforms
* Remove redundant ObjectPropertyAccessor.getPathArray
* Fix not using correct types for input.min/max/step
* Fix wrong condition
* Use api object
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove debug info
* Trigger onOptionsUpdated instead of formWrite when profile changes
* Update how Anki field changes are observed
* Update how general.enableClipboardPopups setting is changed
* Change where ankiTemplatesUpdateValue occurs
* Change where onDictionaryOptionsChanged occurs
* Remove unused global declarations
* Remove stray data attribute
|
|
|
|
|
| |
* Add icons
* Update icons
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove newlines for term-definition-item-template
* Update how action button icons are styled
* Fix spacing
* Group text colors together
* Correct image styles
* Fix missing </span>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert api.js into a class instance
* Use new api.* functions
* Fix missing binds
* Group functions with progress callbacks together
* Change style
* Fix API override not working
|
| |
|
|
|
|
|
|
|
| |
* Set up new cross-frame port connector
* Create classes for cross-frame API invocation with replies
* Remove event listeners on disconnect
|
|
|
|
|
| |
* Add support for additional types of event listeners
* Fixes
|
| |
|
|
|
|
|
|
|
| |
* fix tag templates for merge and group modes
* update version upgrade
* adjust upgrade replacement order
|
|
|
|
|
|
|
|
|
| |
* Remove unnecessary load of /fg/css/client.css
* Replace dynamicLoader.loadStyles with dynamicLoader.loadStyle
* Replace Popup._injectStylesheet with dynamicLoader.loadStyle
* Remove unused global
|
| |
|
|
|
|
| |
attribute (#529)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update formatting
* Merge default tag color with category-less tags
* Use CSS variables for colors
* Add dark theme colors
* Move color variables into display.css
* Remove old stylesheets
* Update headings
* Bump minimum Firefox version to support CSS var()
* Revert popular kanji text color
|
|
|
|
|
|
|
|
|
| |
* Update TextSourceElement API to have parity with TextSourceRange
* Make fields private
* Update equality check
* Fix "this.element" being used instead of just "element"
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use direct message handler functions
* Remove unused targetPopupId
* Make target a member of FrontendApiSender
* Rename frameId to parentFrameId for clarity
* Remove _parentFrameId
* Rename _parentId to _parentPopupId for clarity
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* wip
* add environment class
* use Environment class
* use Environment for scanning modifier options
* remove Environment in favor of API
* await promise
* use modifier symbols on macOS
* fix key separator issues
* if else to switch
* simplify variable names
|