aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Cross frame API safety (#491)toasted-nutbread2023-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix document-util tests (#490)Cashew2023-12-29
| | | | | * fix document-util tests * fix unintentional line deletion
* Fix workflow to use new build syntax (#488)23.12.29.0Darius Jahandarie2023-12-29
| | | | | * Fix workflow to use new camel case build syntax * Try again
* Add eslint rule no-restricted-syntax (#486)toasted-nutbread2023-12-29
|
* remove redundancy in cache-map (#485)Cashew2023-12-29
| | | | | * remove redundancy * fix lint
* Update vitest (#484)toasted-nutbread2023-12-29
| | | | | * Update vitest dependencies * Fix issues
* enum update (#482)Cashew2023-12-29
| | | | | | | * enum update * fix indentation * fix indentation
* Display API safety (#479)toasted-nutbread2023-12-29
| | | | | | | | | | | | | | | | | | | | | * Remove unused * Add TODOs * Rename * Initial setup * More updates * Simplify naming * Set up window API * Remove type * Move type * Update type
* Options util updates (#475)toasted-nutbread2023-12-29
| | | | | | | | | * Simplify async handling * Update comments * Add description * Update update 22
* Fix google docs (#473)toasted-nutbread2023-12-29
| | | | | | | | | | | * Add support for content script execution world * Update manifest version to support world parameter in Chromium browsers * Update google docs injection * Reuse code for registration * Add info
* Comment updates (#481)Cashew2023-12-29
| | | | | * comment updates * comment updates
* Add explicit passive option to touchstart event (#480)toasted-nutbread2023-12-29
|
* remove getArgs in favor of node:util.parseArgs (#476)Cashew2023-12-29
| | | | | | | * remove getArgs * kebab-case to camelCase * update app/deployment
* Event dispatcher refactor (#463)toasted-nutbread2023-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Database test updates (#461)toasted-nutbread2023-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | * Initial changes * Move test * Disable async * Add createCustomDataTest * Move test case data to JSON file * Update tests * Cleanup * Simplify * Add dedicated test for database clearing * Remove previous clear testing * Remove unused test function * Update values
* Simplify dom text scanner (#453)toasted-nutbread2023-12-29
| | | | | * Remove "enum" from name, update comment * Simplify
* search resolution option (#436)StefanVukovic992023-12-29
| | | | | | | | | | | | | | | * add search resolution setting * move finding next substring to method * use regex literal * fix comments * fix comments * add options update function * update test
* Remove unnecessary array (#464)toasted-nutbread2023-12-28
|
* API type safety updates (#457)toasted-nutbread2023-12-28
| | | | | | | | | | | | | | | | | | | | | | | * Update message handlers in SearchDisplayController * Update types * Updates * Updates * Simplify * Updates * Updates * Rename * Improve types * Improve types * Resolve TODOs
* add phonetic transcriptions term meta type (#434)StefanVukovic992023-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move dictionary files to dictionary folder * wip * move dictionary files to dictionary folder * add ipa term meta * wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fix comments * fix comments * update test data * fix gitignore * engines * add tests * update database test * fix test
* Remove IIFEs (#452)Cashew2023-12-27
| | | | | | | | | | | * remove IIFEs * Move IIFE into function * revert google-docs.js to IIFE * add entry point jsdoc * revert content-script-wrapper
* Script manager cleanup (#456)toasted-nutbread2023-12-27
| | | | | | | | | | | | | | | | | | | * Remove unused functions * Remove fallback code * Simplify injectStylesheet * Simplify unregisterContentScript * Merge functions * Simplify registration details * Simplify injectScript * Remove class wrapper * Remove unused injectScript
* switch updates (#459)Cashew2023-12-27
| | | | | | | | | * switch updates * revert to if-else * revert to if-else * remove empty default
* API map updates (#458)toasted-nutbread2023-12-27
| | | | | | | | | * Rename * Fix incorrect union types * Update type names * Fix types
* Google docs fixes (#455)toasted-nutbread2023-12-27
| | | | | * Simplify GoogleDocsUtil deferred import * Remove loadExtensionScripts
* add maxEOF to prevent multiple end of file lines (#454)Cashew2023-12-27
|
* Add support for more HTML attributes and style declarations in structured ↵Stephen Kraus2023-12-27
| | | | | | | | | | | | | | | content (#450) * Add support for more HTMl attributes and style declarations * Update test term to use new `margin` property * Allow string values for 'padding' and 'margin' properties * Remove newly added default 'unset' values from term bank schema --------- Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Style updates (#447)Cashew2023-12-25
| | | | | | | | | | | | | * style updates * style updates * style updates * revert changes to dev/lib/handlebars * revert changes to dev/lib/handlebars * revert changes to dev/lib/handlebars
* remove unnecessary jsdom test (#448)Cashew2023-12-25
|
* Narrow down enum types (#431)Cashew2023-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 engines to package.json (#442)toasted-nutbread2023-12-25
| | | | | | | * Add engines to package.json * Fix spacing * Replace node version file
* Update stylelint (#444)toasted-nutbread2023-12-25
|
* Remove obsolete @types/handlebars dependency (#443)toasted-nutbread2023-12-25
|
* Whitespace rules (#441)toasted-nutbread2023-12-25
| | | | | * Update whitespace rules * Typescript rules
* Template helper function improvements (#439)toasted-nutbread2023-12-25
| | | | | * Flag fn and inverse as optional * Properly handle different modalities of helper functions
* move dictionary files to dictionary folder (#429)StefanVukovic992023-12-23
|
* Remove unnecessary eslint global declarations (#430)toasted-nutbread2023-12-23
|
* Type safety for TemplateRendererProxy (#428)toasted-nutbread2023-12-23
| | | | | * Type safety for TemplateRendererProxy * Simplify
* Update offscreen to use invokeApiMapHandler (#427)toasted-nutbread2023-12-23
| | | | | * Update offscreen to use invokeApiMapHandler * Simplify init
* API type safety (#425)toasted-nutbread2023-12-23
| | | | | | | | | * Improve API type safety * Update init * Update type names * Simplify init
* Add a Recommended Permissions FAQ section in README (#420)Cashew2023-12-23
| | | | | | | * update permissions in FAQ * format using Markdown All in One * fixes
* Add support for alt attribute on structured content images (#359)Stephen Kraus2023-12-23
| | | | | | | | | | | * Add support for alt attribute on structured content images * Add new `alt` property for structured content images * Update test script with new media file count --------- Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Add 出来る/できる as inflections of する (#419)Cashew2023-12-22
| | | | | | | | | | | * Deinflect できる to する * Unit test できる→する deinflection * Deinflect 出来る to する --------- Co-authored-by: Tom Dong <tomtung@users.noreply.github.com>
* API map updates (#418)toasted-nutbread2023-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify some types * Organize * Add additional types for explicit sync and async handlers * Rename ApiItem to ApiDescriptor * Simplify template names * Remove lax types * Document * Add support for extra params * Update APIs * Make handler explicitly async * Add comments * Add more types * Description fixes, add ApiParam * Type updates * Add invokeApiMapHandler * Fixes
* fix add profile conditions (#416)Cashew2023-12-22
| | | | | | | * fix add profile conditions * remove legacy code, re-add safe query selector * remove unnecessary typecast
* Dictionary data tests + write mode (#415)toasted-nutbread2023-12-22
| | | | | | | | | | | | | | | | | | | | | * Rename test * Refactor * Create new dictionary-data.test.js * Move utility functions * Remove old tests * Slight refactor * Add command to rebuild test data * Clarify name * Don't expect in write mode * Ignore config file
* API maps (#413)toasted-nutbread2023-12-21
| | | | | | | | | | | | | | | | | | | * Add API map type descriptions * Remove unused ApiMapInitLax * Add createApiMap function * Add extendApiMap * Support promises * Update Offscreen to use API map * Add ApiNames<> template * Add getApiMapHandler * Use getApiMapHandler in offscreen
* Minor optimizations for dictionary import (#412)Cashew2023-12-21
| | | | | | | * minor dictionary import optimizations * fix comment * use regex for matching
* Enable no-new eslint rule (#411)toasted-nutbread2023-12-21
|
* Remove _invokeWithProgress (#397)toasted-nutbread2023-12-21
|