| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* Update comma-dangle rule
* Fix dangling commas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add option to import from URL
* Remove some debug code
* Improve import ui
* Add drag and drop option
* Add basic-only setting css
* Better sizing of import elements
* Hide import from url if advanced is not enabled
* Improve file drag and drop box look
* Remove redundant css
* Allow clicking on drag and drop box to open file picker
* Allow drag and drop for folders
* Prevent welcome page from breaking due to unnecessary imports
* Note that the drop zone can be clicked on
* Reject directories with item counts requiring more than 1000 processing steps (roughly 500 items)
* Improve import modal styling
* Fix typing
* Add book icon to drag zone
* Remove drag-over class on drop
* Filter only for .zip files in drag and drop
* Drop zone text rename Files to Dictionaries and add (.zip)
* Clarify not using instanceof in ts-expect-error
* Only show drag-over styling when file is zip or directory
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enable @typescript-eslint/no-unsafe-assignment
* Updates
* Add missing import
* Updates
* Fix types?
* Fix tests
* Address comments
* Move TextProcessorVariant to types
* Update types/ext/translation-internal.d.ts
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Signed-off-by: James Maa <jmaa@berkeley.edu>
---------
Signed-off-by: James Maa <jmaa@berkeley.edu>
Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com>
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't export Logger
* Rename logger.js to log.js
* Move helper function
* Update extension name configuration
* Simplify docs
* Move issue URL to a field
* Simplify context
* Remove optional params that are never used
* Configure backend
* Update eslint
* Simplify
* Rename function
* Simplify _api reference
* Simplify docs
* Remove unused log levels (except 'log')
* Add log function
* Rename for more clear intent
* Use log.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Install unicorn
* Add rules
* Fix issues
* Install sonarjs
* Set up rules
* Fix issues
* Install eslint-plugin-import and fix import extensions
* Simplify permitted error names
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename Yomitan class to Application, change initialization style
* Rename file
* Update init
* Update config
* Remove dead code
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update copyright year
* Update lib files
* Rebase updates
* Update dates
* Update years to range
* Update permitted pattern
|
|
|
|
|
| |
* Add asError utility function
* Rename to toError
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor EventDispatcher template type
* Update core types
* Update log
* Update clipboard monitor
* Update application events
* Update popup events
* Update text scanner
* Update cross frame API
* Update display events
* Type updates
* Update display history
* Update query parser
* Update search persistent state controller
* Update panel element
* Update popup menu
* Update audio system
* Update hotkey handler
* Update settings controller
* Update audio controller
* Update types
* Update types
* Update types
* Add event handler types
* Update type
* Fix issues
* Remove error suppression
* Fix typo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* narrow down enum types
* add enum types
* change from default to case
* add enum types
* remove comments
* remove comments
* fix
* Move getErrorLevelValue to Logger
* Add enum type for LogErrorLevelValue
* add eslint switch-exhaustiveness-check rule
* Revert "add eslint switch-exhaustiveness-check"
This reverts commit 49f9caabf0af900bc5ba2b80f5baff72c27e02cd.
* move from labelled loop to helper functions
* move helper functions downward
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add querySelectorNotNull helper function
* Use querySelectorNotNull
* Updates
* Update settings
* Remove unused
* Update
* Update function calls
* More updates
* Update types
* Remove obsolete code
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- Use ES modules
- Remove vendored libs and build them from npm using esbuild
- Switch from JSZip to zip.js
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Update eslint settings
* Update 2021 files
* Update other files
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename DictionaryWorker => DictionaryWorkerHandler
* Rename var
* Rename file
* Simplify
* Rename DictionaryDatabaseModifier => DictionaryWorker
* Rename dictionary-database-modifier.js => dictionary-worker.js
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename dictionary worker files
* Rename classes
* Rename file
* Rename class
* Generalize the _invoke method
* Rename 'import' to 'importDictionary'
* Improve DictionaryImporterMediaLoader usage
* Refactor message handler
* Generalize onProgress event
|
|
|
|
|
|
|
| |
* Update loop vars
* Update loop
* Improve progress reporting during the import process
|
|
|
|
|
|
|
|
|
| |
* Remove map of schemas
* Don't reuse dictionary importer instances
* Refactor
* Update how progress callback is used
|
|
|
|
|
|
|
| |
* Create new classes for importing dictionaries from a separate thread
* Use threaded importer
* Update worker tests
|
|
|
|
|
|
|
|
|
| |
* Rename param for consistency
* Move media loading functionality into DictionaryImporterMediaLoader
* Create test class for media loading
* Remove unnecessary Blob/Image/URL functionality
|
|
|
|
|
|
|
| |
* Optimize dictionary data parsing during import
* Use ArrayBuffer instead of string
* Add missing function for testing
|
| |
|
|
|
|
|
|
|
| |
* Update dictionary settings structure to use an array instead of an object
* Update ensureDictionarySettings implementation
* Remove some usage of ObjectPropertyAccessor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add double-down-chevron.svg
* Add options
* Update dictionary importers
* Update settings
* Add support for collapsible definitions
* Improve case when there is a very small amount of overflow
* Fix incorrect enabled state of newly imported dictionaries
|
|
|
|
|
|
|
|
|
| |
* Add PersistentStorageController
* Update DictionaryController
* Update DictionaryImportController
* Update when storage stats are updated
|
|
* Move js/settings to js/pages/settings
* Fix script ordering
|