aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/dictionaries.js
Commit message (Collapse)AuthorAge
* Settings controller file renaming (#794)toasted-nutbread2020-09-09
| | | | | | | * Rename SettingsBackup to BackupController * Rename files to more closely match classes * Improve organization of script imports
* Settings dictionary import refactor (#759)toasted-nutbread2020-09-04
| | | | | | | * Fix .purge not re-opening the database after deletion failure * Create DictionaryImportController * Remove backend dictionary import
* Fix incorrect field name (#665)toasted-nutbread2020-07-14
|
* Page exit prevention refactor (#637)toasted-nutbread2020-07-03
| | | | | | | * Add page exit prevention functionality to SettingsController * Update dictionary controller to use new page exit prevention system * Remove page-exit-prevention.js
* 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
* 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
* API refactor (#532)toasted-nutbread2020-05-24
| | | | | | | | | | | | | * 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
* Move util database modification functions (#499)toasted-nutbread2020-05-06
| | | | | | | | | | | | | | | | | | | * Update onProgress callback to handle multiple arguments * Add apiImportDictionaryArchive * Add apiDeleteDictionary * Make onProgress the last argument for consistency * Remove deprecated util functions * Fix issue with missing progress args * Remove function calls which modify the database from Translator * Update tests * Fix errors not being serialized correctly in _createActionListenerPort
* Error logging refactoring (#454)toasted-nutbread2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create new logging methods on yomichan object * Use new yomichan.logError instead of global logError * Remove old logError * Handle unhandledrejection events * Add addEventListener stub * Update log function * Update error conversion to support more types * Add log event * Add API log function * Log errors to the backend * Make error/warning logs update the badge * Clear log error indicator on extension button click * Log correct URL on the background page * Fix incorrect error conversion * Remove unhandledrejection handling Firefox doesn't support it properly. * Remove unused argument type from log function * Improve function name * Change console.warn to yomichan.logWarning * Move log forwarding initialization into main scripts
* Convert some util* functions into api* functionstoasted-nutbread2020-04-11
|
* Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
| | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* Merge pull request #434 from toasted-nutbread/error-fixestoasted-nutbread2020-04-07
|\ | | | | Error fixes
| * Use logError instead of console.logtoasted-nutbread2020-04-05
| |
| * Fix error reporting during dictionary importtoasted-nutbread2020-04-05
| |
* | Update settings page to display additional informationtoasted-nutbread2020-04-05
|/
* Update global declarationstoasted-nutbread2020-03-10
|
* Use functions directly rather than wrapping in () => {} when args are sametoasted-nutbread2020-02-26
|
* Use .bind instead of () => {}toasted-nutbread2020-02-26
|
* Add no-shadowtoasted-nutbread2020-02-22
|
* Use Maptoasted-nutbread2020-02-22
|
* Create EventListenerCollection classtoasted-nutbread2020-02-16
|
* Define more globalstoasted-nutbread2020-02-11
|
* Change no-undef from off to errortoasted-nutbread2020-02-11
|
* Update main dictionary value when changing modifying profiletoasted-nutbread2020-02-01
|
* Remove option for dictionaries that aren't installed after changing valuestoasted-nutbread2020-02-01
|
* Separate the functionality of updateMainDictionarySelecttoasted-nutbread2020-02-01
| | | | | One function now updates the options, and another handles updating the value. The options are no longer mutated due to updating this <select>'s available options.
* Remove argument from onDictionaryOptionsChangedtoasted-nutbread2020-02-01
|
* Use awaittoasted-nutbread2020-02-01
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Clear files after getting the valuetoasted-nutbread2019-12-15
|
* Add functions for modifying mutable optionstoasted-nutbread2019-12-13
|
* Remove getOptionsArraytoasted-nutbread2019-12-13
|
* Update how errors are reported when importing a dictionarytoasted-nutbread2019-12-08
|
* Show info about whether a dictionary supports wildcard searchestoasted-nutbread2019-12-07
|
* Make reverse reading/expressions optional during database importtoasted-nutbread2019-12-07
|
* Move settings scriptstoasted-nutbread2019-12-01