summaryrefslogtreecommitdiff
path: root/dev/data
Commit message (Collapse)AuthorAge
* Add context menu interface for Yomitan (#1028)James Maa2024-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | * --wip-- [skip ci] * Draft * Remove weird code * Use existing API instead of dulpicating * Small improvements * remove console.log * remove console.log * Add setting for contextMenu * Fix test * Address comments * Add option-util upgrade * fix option-utils
* Details and Summary Tags CSS (Hopefully for the last time) (#929)Matttttt2024-05-14
| | | | | | | | | | | | | | | | | * Re-adding CSS for Left Margin on Details Tag Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Got rid of ruling line for Summary and Details Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Fix tests for Summary and Details tags Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* Change Details and Summary Tags CSS (#894)Matttttt2024-05-09
| | | | | | | | | | | | | * Change summary CSS Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Update structured-content-overrides.css Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* Added Details and Summary tags to Structured Content (#842)Matttttt2024-04-22
| | | | | | | | | * add details and summary tags * fixed css test --------- Co-authored-by: martholomew <martholomew@users.noreply.github.com>
* Chrome types update (#614)toasted-nutbread2024-02-03
| | | | | | | * Update chrome types * Fix issues * Update manifest author
* Update copyright year (#524)toasted-nutbread2024-01-20
| | | | | | | | | | | | | * Update copyright year * Update lib files * Rebase updates * Update dates * Update years to range * Update permitted pattern
* 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
* 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
* Update stable CI/CD workflow and stable extension ID in preperation for releaseDarius Jahandarie2023-12-08
|
* Automate generation of legal information for dependenciesDarius Jahandarie2023-11-23
|
* Switch to vitest for ESM support; other fixesDarius Jahandarie2023-11-08
|
* Modernize codebaseDarius Jahandarie2023-11-04
| | | | | | - Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js
* Merge pull request #299 from jbukl/pw-search-ankiDarius Jahandarie2023-11-02
|\ | | | | | | search.html clipboard monitor, Anki add note Playwright tests
| * search, anki playwright testsjbukl2023-11-01
| | | | | | | | | | | | prep tests for cicd reorganize exports in playwright utils
* | 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
|/
* exclude offscreen document files from firefoxpraschke2023-10-25
|
* 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.
* restore webRequestBlocking on Firefoxpraschke2023-10-22
|
* Bump minimum Firefox version to 115 for session.storage supportDarius Jahandarie2023-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
* fix: chromium clipboard accessjbukl2023-10-20
| | | | on chromium, backend calls to clipboardGet are forwarded to an offscreen script
* Remove hardcoded version from manifestDarius Jahandarie2023-09-23
| | | | | | * Dynamically set version as argument to build script * Set version using tag ref_name in CI * [Cleanup] gitignore ext/manifest.json as it's dynamically generated
* fix #173praschke2023-08-17
| | | | | | | | `declarativeNetRequest.updateDynamicRules()` returns with an unexpected error in Firefox, but only after the browser has been restarted. On a fresh install of Yomitan it works, causing bug flakiness. `declarativeNetRequest` can be disabled in the manifest as a workaround.
* fix script and style injection in Firefoxpraschke2023-08-17
| | | | | | | | | | | | Firefox added the scripting API in 102. This should fix the majority of warnings listed in #96: - insertCSS - executeScript - getRegisteredContentScripts - contentScripts.register - registerContentScripts - unregisterContentScripts
* fix libraries in README and Firefox CSPpraschke2023-08-17
|
* 23.4.7.023.4.7.0Darius Jahandarie2023-04-07
|
* Merge remote-tracking branch 'yomitan/master' into rename_licenseAustin Siew2023-03-23
|\
| * fix: properly removed service worker and re-added background.html to firefoxAustin Siew2023-03-22
| |
* | fixed eslint, changed header to only use 2 spaces, added missing headers to testAustin Siew2023-03-22
| |
* | Updated LICENSE to full license, added Yomitan 2023 to all license headersAustin Siew2023-03-21
|/
* 23.3.18.0Darius Jahandarie2023-03-18
|
* Fix Firefox manifestsDarius Jahandarie2023-03-18
|
* Update manifest scripts to only support v3, and yomichan->yomitanDarius Jahandarie2023-03-11
|
* Change URL Firefox testing builds use to locate updates.jsonAlex Yatskov2022-10-30
|
* Update version22.10.23.0toasted-nutbread2022-10-23
|
* Update version22.9.9.2toasted-nutbread2022-09-25
|
* Version update22.9.9.1toasted-nutbread2022-09-20
|
* Version update22.9.9.0toasted-nutbread2022-09-09
|
* New StringUtil (#2216)toasted-nutbread2022-08-20
| | | | | | | * Create new StringUtil * Use StringUtil in DOMTextScanner * Fix order
* Update version22.6.6.0toasted-nutbread2022-06-06
|
* More Safari support (#2171)toasted-nutbread2022-06-01
| | | | | | | * Add support for not building a zip * Update gitignore * Add safari variant
* Audio request errors (#2161)toasted-nutbread2022-05-28
| | | | | | | | | | | | | | | | | | | | | * Generalize _onBeforeSendHeadersAddListener * Simplify filter assignment * Use requestId rather than done * Properly support Firefox addListener without arguments * Add details to fetchAnonymous errors * Refactor * Enable support for no header modifications * Update MV3 support for error details * Expose errors in downloadTermAudio * Throw an error if audio download fails due to potential permissions reasons
* Add firefox-mv3 build target (#2155)toasted-nutbread2022-05-22
|
* Add new structured content features: lists and the HTML `lang` attribute (#2129)Stephen Kraus2022-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for structured content lists and `list-style-type` style A full list of supported style types is documented here: https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type There's nothing in this code preventing a term bank from assigning, for example, a `list-style-type` style to a `div` element, but it doesn't seem like browsers will complain about things like that. * Add support for `lang` attribute in structured content Support added for the following node types: "ruby", "rt", "rp", "table", "thead", "tbody", "tfoot", "tr", "td", "th", "span", "div", "ol", "ul", "li", "a" I couldn't get it to work for the alt-hover text on "img" tags. Tests are included in the file "test/data/dictionaries/valid-dictionary/term_bank_1.json" * Add styles for structured content lists * Add override rules for new structured-content list styles see: https://github.com/FooSoft/yomichan/pull/2129 Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Update version22.4.4.0toasted-nutbread2022-04-04
|
* Theme updates (#2105)toasted-nutbread2022-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change siteColor to siteTheme * Fix potential null exception * Simplify * Update display theme assignment * Add a data-browser-theme attribute * Add "browser" option for theme * Create ThemeController * Add theme-controller.js to relevant pages * Use ThemeController * Simplify * Fix 'light' being used instead of 'default' * Update the settings values to more accurately reflect their usage * Change default site theme in display.js * Remove async * Restore async for consistency
* Structured content links (#2089)toasted-nutbread2022-03-17
| | | | | | | | | | | | | | | | | * Update CSS to JSON converter to generalize the remove-property comment * Fix navigation not being updated when _clearContent is run * Add structured content schema for link tags * Add test links * Add external-link icon * Pass Display instance to DisplayContentManager * Update structured content generation * Update link styles
* Update version22.2.2.0toasted-nutbread2022-02-02
|