summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/anki-templates.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
* Anki API refactor (#790)toasted-nutbread2020-09-09
| | | | | | | | | | | | | | | * Add function guiBrowseNote * Assign default server as null * Use get/set properties for server/enabled * Refactor option values * Refactor createNote/Data functions to not use options format directly * Use createNote for testing * Add errors
* Anki note clipboard marker (#780)toasted-nutbread2020-09-08
| | | | | | | | | | | * Update fields reference * Add support for adding clipboard images to anki notes * Add handlebars templates * Add markers * Add markers to readme
* Pitch accent Anki field templates (#701)toasted-nutbread2020-08-01
| | | | | | | | | | | | | | | | | | | * Template helper updates * Add pitch data to exported field formatting data * Reuse note data * Add no-op * Set up pitch accent templates * Refactor version update functions * Implement upgrade process for new Anki templates * Consistency * Update README and anki.js to have matching markers
* Update AnkiTemplatesController (#580)toasted-nutbread2020-05-30
| | | | | | | * Use this._defaultFieldTemplates * Don't use mutable options * Remove some use of jQuery
* 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
* Anki settings controllers (#567)toasted-nutbread2020-05-29
| | | | | * Convert anki-templates.js to a class * Convert anki.js to a class
* 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
* 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 :)
* Add support for {document-title}toasted-nutbread2020-04-06
|
* Add custom context object for note creationtoasted-nutbread2020-04-06
|
* Update global declarationstoasted-nutbread2020-03-10
|
* Use dependency injection for apiTemplateRendertoasted-nutbread2020-03-07
|
* Move Anki note generation functionality into a new classtoasted-nutbread2020-03-07
|
* Load default Anki field templates from a filetoasted-nutbread2020-02-27
|
* Use functions directly rather than wrapping in () => {} when args are sametoasted-nutbread2020-02-26
|
* Change no-undef from off to errortoasted-nutbread2020-02-11
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Update anki-templates.js to control the value of fieldTemplatestoasted-nutbread2019-12-29
| | | | Also assigns a value of null when using the default value
* Treat null templates as the default valuetoasted-nutbread2019-12-29
|
* Simplify how anki templates are resettoasted-nutbread2019-12-01
|
* Move anki template settings into new scripttoasted-nutbread2019-12-01