aboutsummaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAge
* Switch to vitest for ESM support; other fixesDarius Jahandarie2023-11-08
|
* nativeMessaging can always be optionalpraschke2023-10-29
| | | | this is the only blocker to Firefox for Android.
* remove webRequest and webRequestBlockingpraschke2023-10-29
| | | | | | | | | | | | | | | | firefox was previously unable to use declarativeNetRequest, as some browser state (ExtensionDNRStore) wasn't correctly initialized wrt yomitan's use of the DNR API. this bug manifested as an unexpected error on calls to updateDynamicRules(), specifically after the browser has been restarted. switching to the use of session rules instead of dynamic rules fixes this bug. i have tested audio info requests (custom JSON, JPod Alternate, Jisho) that exhibited the bug after browser restart on version 115 and 118, and the audio plays instead of the request failing. webRequest can now be entirely removed.
* remove webRequest from chrome for realpraschke2023-10-29
|
* fix: reinstate webRequest and correct the permissions docspraschke2023-10-25
| | | | | | | `webRequest` is used on Chrome/MV3 to surface error information from failed requests. it was added back to the declarative path by toasted-nutbread in FooSoft/yomichan#2161, but the permissions documentation did not reflect `webRequests` continued necessity.
* Merge pull request #276 from praschke/block-helper-rewriteDarius Jahandarie2023-10-22
|\ | | | | | | Block helper rewrite
| * docs: note changes to custom templates in the readmepraschke2023-10-22
| |
| * docs: hiragana and katakanapraschke2023-10-17
| |
| * docs: pitchCategoriespraschke2023-10-17
| |
| * docs: join and concatpraschke2023-10-17
| |
| * docs: typeofpraschke2023-10-17
| | | | | | | | this shouldn't be used as a block helper, the result may be non-portable
| * docs: isMoraPitchHigh and getKanaMoraepraschke2023-10-17
| |
| * docs: propertypraschke2023-10-17
| |
| * docs: oppraschke2023-10-17
| |
| * docs: spreadpraschke2023-10-17
| |
| * docs: multiLinepraschke2023-10-17
| |
| * docs: mergeTagspraschke2023-10-17
| |
| * remove kanjiLinks and sanitizeCssClasspraschke2023-10-17
| |
| * update: pronunciationpraschke2023-10-17
| |
| * update: hasMedia and getMediapraschke2023-10-17
| |
| * update: set and getpraschke2023-10-17
| |
| * fix: regexReplace and regexMatchpraschke2023-10-17
| | | | | | | | | | joining the args together without cutting out the options arg can add an '[object Object]' into the result.
| * fix: formatGlossarypraschke2023-10-17
| |
| * fix: furigana and furiganaPlainpraschke2023-10-17
| |
| * fix: dumpObjectpraschke2023-10-17
| |
* | restore webRequestBlocking on Firefoxpraschke2023-10-22
| |
* | fix: clipboard getImage, review commentsjbukl2023-10-21
|/ | | | | | | implement getImage for offscreen requests move offscreen files, offscreen prep is done in sw prep update permissions document for offscreen rearrange permissions
* undo EOF newline removal in docs/interfaces*.ts, because they originally had ↵Austin Siew2023-03-23
| | | | newlines at the end by default
* fixed missing headers in docs/interfaces/*.tsAustin Siew2023-03-23
|
* Update browser bugs (#2189)toasted-nutbread2022-08-20
|
* Add mode documentation about the types used by Translator (#2147)toasted-nutbread2022-05-19
|
* Update browser bugs (#2107)toasted-nutbread2022-04-03
|
* Update copyright date (#2062)toasted-nutbread2022-02-02
| | | | | | | * Update eslint settings * Update 2021 files * Update other files
* Add info about touch events not working properly for certain webpages (#2060)toasted-nutbread2022-02-02
|
* TS docs updates (#2041)toasted-nutbread2021-12-17
| | | | | | | * Fix placeholder descriptions * Use an enum * Add enums
* Dictionary database term source info (#2039)toasted-nutbread2021-12-17
| | | | | | | | | | | | | | | | | | | * Update DictionaryDatabase._findMultiBulk's createResult callback signature * Simplify _splitField use * Update sequence * Expose new fields 'matchType' and 'matchSource' as part of term data * Expose matchType and matchSource as part of TermSource * Update sourceTermExactMatchCount calculation * Update test data * Expose matchType and matchSource info in HTML attributes * Add primaryMatchTypes attribute
* String frequency support (#1989)toasted-nutbread2021-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | * Restore support for string frequency values * Add support for {value, displayValue} frequencies * Update test data * Improve number parsing of string frequencies * Improve reading detection * Expose a displayValue property for frequency information * Update docs * Expose displayValue to Anki note data * Fix translator * Update display generation * Update test data * Update counts
* Katakana to hiragana conversion options (#1965)toasted-nutbread2021-09-27
| | | | | | | | | | | | | * Refactor convertKatakanaToHiragana * Add keepProlongedSoundMarks option * Test keepProlongedSoundMarks option * Refactor * Add keepProlongedSoundMarks option to hiragana handlebars helper * Update documentation
* Anki template regex helper updates (#1934)toasted-nutbread2021-09-05
| | | | | * Update regexReplace and regexMatch to support content arguments * Update documentation
* Fix incorrect katakana template docs (#1909)toasted-nutbread2021-08-25
|
* Hiragana & katakana helpers (#1908)toasted-nutbread2021-08-25
| | | | | | | * Add hiragana and katakana template helpers * Update documentation * Fix documentation
* Update browser bugs (#1899)toasted-nutbread2021-08-16
| | | | | * Strike chrome bug, since the issue was due to API misuse * Add info about content scripts not running on popup.open('', '...')
* Update browser bugs with info about IndexedDB usage in a Worker (#1876)toasted-nutbread2021-08-07
|
* Pronunciation template helper (#1840)toasted-nutbread2021-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename field * Set up pronunication components * Fix documentation * Rename function * Update test dependencies * Fix constructor * Log errors * Add pronunciation helper * Add styleApplier argument to _getHtml/_normalizeHtml * Use getAttribute for 'class' to support namespaced elements (e.g. svg) * Update format name * Add optional tag * Update docs
* Sandbox script folders (#1837)toasted-nutbread2021-07-17
| | | | | | | | | * Move scripts * Update paths * Fix ordering * Simplify eslint rules
* Devoice and nasal pronunciation info (#1832)toasted-nutbread2021-07-15
| | | | | | | | | | | | | * Update schema to support information about nasal and devoiced mora * Expose nasalPositions and devoicePositions in dictionary entry data * Expose nasalPositions, devoicePositions in grouped pitch info * Update display generator * Update test dictionary data * Update test data
* Template documentation update (#1819)toasted-nutbread2021-07-10
| | | | | * Fix names * Document hasMedia and getMedia
* Anki support for structured-content (#1786)toasted-nutbread2021-07-02
| | | | | | | | | | | | | | | | | | | | | | | * Update how glossary text is formatted * Update structured content and image generation * Pass root data to _createStructuredContentGenerator * Implement media URLs * Update documentation * Update options util * Apply styles to content * Improve HTML normalization * Update DatabaseVM.fetch function * Update test * Update test data
* Update template documentation (#1765)toasted-nutbread2021-06-26
|
* Translator data format updates (#1754)toasted-nutbread2021-06-26
| | | | | | | | | | | | | | | * Add {dictionaryIndex, dictionaryPriority} to definitions * Add score to definitions * Add id to definition * Use definition id instead of ids array * Remove ids array * Update docs * Update test data