| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add option to bulk generate anki cards
* Fix tab replacement
* Set deckname and modelname in note builder
* Add addNotes to ankiconnect api implementation
* Add option to send word list to anki directly
* Add support for audio and media toggle
* Add support for dictionary media
* Remove unnecessary assignment
* Remove unused css
* Remove redundant html
* Start of progress bar implementation
* Remove redundant type annotation
* Remove unused import
* Rename words to terms
* Print progress to console
* Add confirmation to Export to file
* Improve progress logs
* Add unresponsive and console note
* Add progress bars
* Make cancel button actually cancel operation
* Remove unresponsive warnings
* Disable send and export buttons after they are clicked
* Remove unneeded Yomichan mention
* Mark as experimental
* Clarify description
* Add documentation on Anki Deck Generation
* Add experimental note in docs
* Add warning text to settings page
* Switch example text based on language
* Remove silly cancel function and bind directly
* Rename to model
* Add link to docs
* Make test text less confusing
* Rename deck to notes
* Clarify what is being sent to anki
* Fix incorrect modal header text
* Clarify wording
* Fix ankiconnect addNotes return types
* Add error handling to send to anki
* Fix wording and naming in docs
* Add option to prevent sending duplicates to anki
* Update anki deck and model without a page refresh
* Cleanup internal html naming
* Cleanup type definition styling
* Update example text without a page refresh
* Prevent closing the send/export confirm modal from messing up the ui and not allowing the user to see the current progress
* Fix cancel getting stuck on true
* Consolidate state changes
* Support idle download timeout
* Capitalize Failed to add cards error
* Add separate variable for idleTimeout calculation
* Remove redundant _cachedDictionaryEntryValue variable
* Use tags option to populate tags
* Include deck and tags when exporting to file
* Use date down to seconds and zero pad
* Remove unnecessary ternary
* Limit 'path' finding function to only being able to search for 'path'
* Rename _findPathsByKey to _findAllPaths
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
| |
Fix #818
|
| |
|
|
|
|
|
| |
* Detect duplicates when checking if can add note
* Display the stacked add buttons
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create utilities
* Rename old isObject
* Use new isObject
* Remove old function
* Add additional function
* Simplify for now
* Rename function for clarity
* Rename function
* Expand type
* Update eslint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move isStringPartiallyJapanese out of ClipboardMonitor
* Create isStringPartiallyJapanese function
* Add textMayBeTranslatable
* Rename API function
* Rename internal function
* Add helper
* Update translatable check
* Pass language to TextScanner
* Pass language explicitly
* Use textMayBeTranslatable
* No redundant translatable check
* Update eslint
* Remove double newline
* Collapse
* Rename
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update AudioDownloader
* Update Translator
* Update ClipboardMonitor
* Update ClipboardReader
* Update PanelElement
* Update QueryParser
* Update DisplayGenerator
* Update DisplayHistory
* Update DOMDataBinder
* Remove unnecessary cast
* Update Popup types
* One declaration per line
* Remove optionals from Frontend constructor
* Fix Translator constructor
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify display template loading
* Add helper
* Rename file
* Rename for simplicity
* Create templates file
* Load
* Remove templates
* Move permissions templates
* Remove "templates" from comments
* Fix prepare
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass tabId and frameId to Application
* Remove casts
* Remove redundant frameInformationGet calls
* Expose tabId and frameId
* Remove unsed
* Simplify
* Update FrameAncestryHandler to not need a direct frameId
* Remove frameId from FrameOffsetForwarder
* Remove frameId from PopupFactory
* Remove frameId from Frontend
* Remove frameId from PopupPreviewFrame
* Fix PopupFactory and Frontend constructor
* Remove frameId from Display
* Remove frameId from SearchDisplayController
* Restore if check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* part1
* frotend done?
* fix tests
* offscreen and type complications
* add tests
* start fixing tests
* keep fixing tests
* fix tests
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
* delete pt
* renames
* add tests
* kebab-case filenames
* lint
* minor fixes
* merge
* fixes
* fix part of comments
* fix more comments
* delete unused types
* comment
* comment
* do backend
* other files
* move fetch utils to own file
* remove extra line
* add extra line
* remove unnecessary export
* simplify folder structure
* remove redundant async
* fix param type in api
* fix language index
* undo changes to cssStyleApplier
* undo changes to utilities.js
* undo changes to utilities.js
* simplify language util
* lint
* undo phantom changes to anki integration
* require textTransformations options
* explicit locale in localeCompare
* punctuate notes
* prefer early exit
* rename LanguageOptionsObjectMap
* rename to textPreprocessor
* tuple with names instead of boolean array
* safe data setting
* optional chaining
* simplify LanguageOptions
* encapsulate languages
* delete language util
* nullable language in text preprocessors controller
* rename transform to process
* remove settings
* make translation advanced again
* remove unused getTextTransformations api call
* comments
* change language types
* RIP flags
* comments
* fix tests
* lint
* Text preprocessor type changes (#10)
* Add types
* Update types
* Simplify type check
* Refactor typing and structuring of language definitions
* lint
* update translator benchmark
* undo markdown changes
* undo markdown changes
* undo markdown changes
* more merge
* simplify language controller
---------
Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com>
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Show all duplicate notes on click
* Change 'notesView' to 'viewNotes'
* Replace api.noteView with api.viewNotes
* Update "viewNote" action to "viewNotes" in options util
* Update options-util test with "viewNotes" action
* Replace uses of "viewNote" with "viewNotes"
* Replace _viewNote with _viewNotes
* Rename /*ViewNote*/ methods to /*ViewNotes*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Padding newline rules
* Update rules
* Update rules
* Update rules
* Updates
* Update object quotes
* Merge similar ts and js rules
* Change export spacing rules
* Move typescript-eslint rules
* Spacing
* Actually save and commit changes
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename Yomitan class to Application, change initialization style
* Rename file
* Update init
* Update config
* Remove dead code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert PronunciationGenerator into static functions
* Convert DictionaryDataUtil into static functions
* Convert AnkiNoteDataCreator into static functions
* Convert MediaUtil into static functions
* Convert RegexUtil into static functions
* Convert StringUtil into static functions
* Convert ArrayBufferUtil into static functions
* Convert AnkiUtil into static functions
* Convert PermissionsUtil into static functions
* Convert ProfileConditionsUtil into static functions
|
|
|
|
|
|
|
| |
* Copy functions from JapaneseUtil
* Remove JapaneseUtil
* Update usages of JapaneseUtil functions
|
|
|
|
|
|
|
|
|
|
|
| |
* Add WebExtension class
* Use WebExtension class
* Use WebExtension instance for all runtime message sending
* Use getUrl
* Add a sendMessage variant which ignores the response and error
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update copyright year
* Update lib files
* Rebase updates
* Update dates
* Update years to range
* Update permitted pattern
|
|
|
|
|
| |
* Add asError utility function
* Rename to toError
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Require error type
* Add TODOs
* Fix init
* Updates
* More type safety
* Fix incorrect API map
* Update type safety
* Updates
* Add API
* Update types
* Update types
* Updates
* Remove unused
* Restore types
* Update frame ancestry handler
* Simplify names
* Fix
* Remove old message handlers
|
|
|
|
|
| |
* comment updates
* comment updates
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update message handlers in SearchDisplayController
* Update types
* Updates
* Updates
* Simplify
* Updates
* Updates
* Rename
* Improve types
* Improve types
* Resolve TODOs
|
|
|
|
|
|
|
|
|
| |
* Rename
* Fix incorrect union types
* Update type names
* Fix types
|
|
|
|
|
| |
* Simplify GoogleDocsUtil deferred import
* Remove loadExtensionScripts
|
|
|
|
|
|
|
|
|
| |
* Improve API type safety
* Update init
* Update type names
* Simplify init
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* rename variables
* add comment to ambiguous variable
* rename variables
* add comments
* rename functions
|
| |
|
|
|
|
|
|
|
| |
* Default templates to unknown
* Default typescript templates to unknown
* More template type updates
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make JSON.parse usage safer
* Fix any type
* Add readResponseJson
* Use readResponseJson
* Additional updates
* Rename files
* Add types
|
|
|
|
|
|
|
|
|
| |
* Add space-infix-ops rule
* Add no-multi-spaces
---------
Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- Use ES modules
- Remove vendored libs and build them from npm using esbuild
- Switch from JSZip to zip.js
|
|
|
|
|
|
|
|
|
|
| |
on Chrome (currently 117), the port created in the content script with
runtime.connect does not properly receive an onDisconnect event when
the service worker sleeps. the port created in the background with
tabs.connect does receive the event, so create both ports with
tabs.connect.
fixes #241.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Document Backend
* Document RequestBuilder
* Document some of AnkiConnect
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename
* Rename vars
* Refactor paste target
* Prevent most CSS url() properties from loading
* Add helper function to clear rich function
* Add useRichText argument
* Update condition for using readText
* Fix indent
* Update CSS
|