aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
|
* rename variables (#409)Cashew2023-12-20
| | | | | | | | | | | * rename variables * add comment to ambiguous variable * rename variables * add comments * rename functions
* JSON validation (#394)toasted-nutbread2023-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set up JSON testing * Add schema validation * Use parseJson * Finish types * Disambiguate ext/json-schema from node dependency with the same name * Add support for specifying the jsconfig file * Don't expose types * Update types * Use dictionary map type * Fix types * Fix AJV warnings * Move types * Move anb rename file * Move common mocks * Simplify types
* rename variables (#404)Cashew2023-12-20
|
* fix typo (#405)Cashew2023-12-20
|
* Fix some missing types (#403)toasted-nutbread2023-12-20
|
* Add Offscreen.prepare for constructor side effects (#402)toasted-nutbread2023-12-20
|
* Remove old Timer class (#401)toasted-nutbread2023-12-20
|
* Declare static fields using modern JavaScript syntax (#400)toasted-nutbread2023-12-20
|
* Fix case where element style is undefined (#399)toasted-nutbread2023-12-20
|
* HTML test updates (#398)toasted-nutbread2023-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename y-test to test-case * Rename y-description to test-description * Remove extension name * Update placeholder favicon * Refactor scripts * Make element types more consistent * More updates * Rename * Simplify file URLs * Rename file * Add descriptions * Rename * Rename * Rename
* Simplify message handlers (#396)toasted-nutbread2023-12-20
|
* fix wrong comment (#393)Cashew2023-12-19
|
* Rename ambiguously named variables (#392)Cashew2023-12-19
| | | | | | | * rename ambiguously named variables * fix typo, remove unnecessary comments * update variable names
* Template type improvements (#380)toasted-nutbread2023-12-19
| | | | | | | * Default templates to unknown * Default typescript templates to unknown * More template type updates
* Remove TemplateRendererProxy mock (#388)toasted-nutbread2023-12-19
|
* Make JSON.parse usage safer (#373)toasted-nutbread2023-12-19
| | | | | | | | | | | | | | | * Make JSON.parse usage safer * Fix any type * Add readResponseJson * Use readResponseJson * Additional updates * Rename files * Add types
* update JSDoc comments (#387)Cashew2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lesen-tan initial commit * update README.md * tidy up code * opt for Map<K, V> instead of Object * Document dev/* * add docs for deinflector.js * update deinflector example * Annotate * Revert "Merge branch 'development' of https://github.com/Scrub1492/lesen-tan into development" This reverts commit b92348f702bc031b36f24462adfa940d17f9ecdd, reversing changes made to 3255e6d963281af3533dcf1e893df39032d29fec. * Lint error fix * Lint error fix * update JSDoc comments --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Remove TranslatorVM (#389)toasted-nutbread2023-12-19
|
* change *file to *filePath in function parameters (#385)Cashew2023-12-19
| | | | | | | | | * change *file to *filePath * fix merge issues --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* IIFE updates (#384)toasted-nutbread2023-12-19
| | | | | | | * Remove most IIFEs * Move IIFEs into functions * Don't await background-main
* Remove dynamic-loader scripts, simplify script loading (#383)toasted-nutbread2023-12-19
|
* Refactor bulk delete function (#382)toasted-nutbread2023-12-19
|
* Fix welcome page not having certain elements (#379)toasted-nutbread2023-12-19
|
* Test fixtures (#371)toasted-nutbread2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Move and rename document-test.js file * Only load HTML file content once * Move testDoc construction * Add createTranslatorTest * Add utilities * Update translator tests * Rename * Refactor anki note builder tests * Refactor * Use internal expect * Updates * Remove actual results * Remove concurrent
* capture all terminators and quotes in the sentence (#360)Cashew2023-12-19
| | | | | | | | | | | | | * capture all terminators and quotes in the sentence * fix negative position, add documents and tests * fix comments giving wrong semantics * add test case coverage * remove cursor namespace for possible performance penalties * while loop optimization