aboutsummaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAge
* Fix incorrect handlebars execution context in helpers (#645)20.6.27.1toasted-nutbread2020-06-30
|
* Version 20.6.27.1Alex Yatskov2020-06-30
|
* Shorten description for testing versionAlex Yatskov2020-06-27
|
* Merge branch 'master' into testingAlex Yatskov2020-06-27
|\
| * Version 20.6.27.020.6.27.0Alex Yatskov2020-06-27
| |
| * Add lock icon (#628)toasted-nutbread2020-06-26
| |
| * Make PopupFactory.prepare non-async (#625)toasted-nutbread2020-06-25
| |
| * Shadow DOM container for popup iframes (#623)toasted-nutbread2020-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for injecting stylesheets into a custom parent node * Add api.getStylesheetContent * Add support for injecting a CSS file's content * Add usePopupShadowDom option * Use a per-parentNode cache * Add support for using a shadow DOM wrapper around popup iframes * Ignore the popup container instead of the frame
| * Remove window. from visualViewport, use local variable instead (#621)toasted-nutbread2020-06-22
| |
| * Secure popup frame url changes (#622)toasted-nutbread2020-06-22
| | | | | | | | | | | | | | * Throw error if options is not ready * Remove id * Change unsecurePopupFrameUrl to useSecurePopupFrameUrl
| * Frontend initialization refactor (#610)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create member functions for ignoreElements and ignorePoint * Create addFullscreenChangeEventListener utility * Move popup creation management into Frontend * Move getUrl implementation * Remove old setup * Remove try/catch block * Error wrap * Add prepare call to TextScanner * Update depth when popup changes * Refactor how Frontend gets PopupFactory and frameId * Update popup preview to work * Update popup preview frame to use the frontend's popup * Update how nested popups are set up * Error wrap * Update how popups are set up on the search page * Error wrap * Error unwrap * Add missing prepare * Remove use of frontendInitializationData * Catch and log errors
| * Generic database (#600)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update test * Rename db to _db * Create GenericDatabase class * Catch prepare error * Allow database to be purged even if it was not open * Remove unused functions * Change static functions to non-static * Delete and count using the media object store * Update tests
| * Use DOMTextScanner (#536)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use DOMTextScanner instead of TextSourceRange.seek* * Move getNodesInRange to dom.js * Move anyNodeMatchesSelector to dom.js * Remove unused functions * Update tests * Add layoutAwareScan option * Use layoutAwareScan for source and sentence scanning * Remove unused IGNORE_TEXT_PATTERN
| * Context popup update (#594)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | | | | * Add link to the help button * Update context.html to not use bootstrap Styles moved into a separate file Update icons * Update terminology to correspond to new icons
| * Optimize anki note field generation (#611)toasted-nutbread2020-06-21
| |
| * Add option to use the unsecure frame URL (#618)toasted-nutbread2020-06-21
| |
| * Safely handle volume values that are out of range (#617)toasted-nutbread2020-06-21
| |
| * Handle stack overflow caused by wanakana.toKana (#615)toasted-nutbread2020-06-21
| |
| * Template renderer class (#574)toasted-nutbread2020-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Convert handlebars.js to a class * Move/rename function * Update helper registration * Rename helper functions * Limit cache size * Make render() async * Rename and move
| * Ignore getZoom errors (#604)toasted-nutbread2020-06-14
| |
| * PopupProxy refactor (#609)toasted-nutbread2020-06-14
| | | | | | | | | | | | | | | | | | | | | | * Remove setDisabled member; replace with an event * Pass frameOffsetForwarder directly to PopupProxy * Replace .start with .prepare * Make onMessage private * Make message safer and handle unexpected inputs
| * Remove debug log (#603)toasted-nutbread2020-06-13
| |
| * Replace XMLHttpRequest (#562)toasted-nutbread2020-06-13
| | | | | | | | | | * Replace XMLHttpRequest with fetch * Implement fetch placeholder for tests
| * Update the badge icon if the backend experiences an error (#602)toasted-nutbread2020-06-13
| |
| * Detect language tags starting with "ja_" (#596)toasted-nutbread2020-06-13
| |
| * Handle cases where platform info is not available (#597)toasted-nutbread2020-06-10
| | | | | | | | | | * Handle cases where platform info is not available * Safely return the correct os property
| * Immediate backend event handlers (#555)toasted-nutbread2020-06-07
| | | | | | | | | | * Add function to await until prepare is completed * Create BackendEventHandler to synchronously set up event handling
| * Use cross frame API (#553)toasted-nutbread2020-06-07
| | | | | | | | | | | | | | | | | | * 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
| * fix css class name (#591)siikamiika2020-06-07
| | | | | | Broken in 90af55d4c84f545635f238178b30748a0e8093ee
| * scale background icon when page is zoomed (#592)siikamiika2020-06-07
| |
| * Limit action port message size (#587)toasted-nutbread2020-05-31
| | | | | | | | | | | | | | | | | | | | | | * 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 AudioController to not use mutable options references (#585)toasted-nutbread2020-05-30
| |
| * Generic settings controller merge (#584)toasted-nutbread2020-05-30
| | | | | | | | | | | | | | | | | | * Update how optionsContext is assigned to targets * Add getSettings and modifySettings * Merge DOMSettingsBinder into GenericSettingController * Remove old DOMSettingsBinder
| * Update how assignment of general.enableClipboardPopups works (#583)toasted-nutbread2020-05-30
| |
| * Backup update (#582)toasted-nutbread2020-05-30
| | | | | | | | | | | | | | | | | | * Add function to assign all settings * Update how settings backups are restored * Remove page reload * Update profile index after importing
| * Update AnkiController (#581)toasted-nutbread2020-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Update AnkiTemplatesController (#580)toasted-nutbread2020-05-30
| | | | | | | | | | | | | | * Use this._defaultFieldTemplates * Don't use mutable options * Remove some use of jQuery
| * Update GenericSettingController to use DOMSettingsBinder (#578)toasted-nutbread2020-05-30
| |
| * SettingsController API update (#579)toasted-nutbread2020-05-30
| | | | | | | | | | * Include optionsContext as part of optionsChanged event * Add get/modify functions
| * Organize settings/main.js (#577)toasted-nutbread2020-05-30
| |
| * Use SettingsController (#576)toasted-nutbread2020-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Fix frontend being null if messages are received early (#575)toasted-nutbread2020-05-30
| |
| * Generic settings controller + clipboard popups controller (#573)toasted-nutbread2020-05-29
| | | | | | | | | | * Create GenericSettingController * Create ClipboardPopupsController
| * Popup preview frame refactor (#572)toasted-nutbread2020-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 (#571)toasted-nutbread2020-05-29
| | | | | | | | | | * Convert popup-preview.js to a class * Don't invoke 'prepare'
| * Convert dictionaries.js and storage.js to classes (#570)toasted-nutbread2020-05-29
| | | | | | | | | | | | | | | | | | * Convert dictionaries.js to a class * Remove storage spinner * Convert storage.js to a class * Move dataset assignments into main.js
| * Audio controller (#569)toasted-nutbread2020-05-29
| | | | | | | | | | | | | | | | | | | | | | * Convert audio.js into a class * Move audio-ui.js classes into audio.js * Rename fields * Merge classes * Remove audio-ui.js
| * Anki settings controllers (#567)toasted-nutbread2020-05-29
| | | | | | | | | | * Convert anki-templates.js to a class * Convert anki.js to a class
| * Change profile.js into a class (#566)toasted-nutbread2020-05-29
| | | | | | | | | | | | | | * Update how settings profile is stored and accessed * Convert profiles.js into a class * Rename members of ProfileController
| * Create class to abstract access, mutation, and events for settings (#565)toasted-nutbread2020-05-29
| |