summaryrefslogtreecommitdiff
path: root/dev
Commit message (Collapse)AuthorAge
* Modernize codebaseDarius Jahandarie2023-11-04
| | | | | | - Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js
* Replace JsonSchema with ajv for dictionary validationDarius Jahandarie2023-11-03
|
* 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
* fix: typoCashew2023-10-08
|
* 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
|
* Ajv error fix (#2258)toasted-nutbread2022-10-16
| | | | | * Fix ajv validation errors * Update error format
* 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
|
* ESlint JSdoc (#2148)toasted-nutbread2022-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Install eslint-plugin-jsdoc * Initial rules setup * Update lists * Use @returns rather than @return * Remove error throwing code which is never executed * Fix issues relating to @throws * General error fixes * Update Display type documentation * Various doc fixes * Fix invalid tuple syntax * Doc updates * Remove unused * Doc updates * Enable jsdoc/require-returns * Update rules * Update remaining rules
* Parse5 update (#2140)toasted-nutbread2022-05-16
| | | | | | | | | | | | | * Update build-libs.js * Add a test for build-libs.js * Update parse5 * Rebuild parse5 * Update build-libs.js to generate consistent path names * Rebuild
* Dictionary validate updates (#2137)toasted-nutbread2022-05-16
| | | | | | | | | * Reuse JsomSchema instance * Install ajv * Add support for using ajv as a JSON schema validator * Update usage
* 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
|
* Update copyright date (#2062)toasted-nutbread2022-02-02
| | | | | | | * Update eslint settings * Update 2021 files * Update other files
* Add AccessibilityController class, which dynamically registers (#2024)toasted-nutbread2021-11-23
| | | and unregisters the google-docs.js content script
* Google Docs accessibility refactor (#2023)toasted-nutbread2021-11-23
| | | | | | | | | | | | | | | | | * Skip urlRegex if it's used as a filter * Add getRequiredContentScriptRegistrationPermissions function * Add a reentrant check to google-docs.js * Remove script node * Move forceGoogleDocsHtmlRendering check into google-docs.js * Replace document-start.js usage with google-docs.js * Remove documentStart handling * Add missing parameter descriptions
* ScriptManager updates (#2022)toasted-nutbread2021-11-23
| | | | | | | | | | | * Fix spacing * Add more parameters to injectStylesheet * Add more parameters to injectScript * Update ScriptManager to support content script registration * Add webNavigation as an optional permission
* Update version21.10.31.0toasted-nutbread2021-10-31
|