Commit Graph
105 Commits
Author SHA1 Message Date
xixu-me 70fa0cb9c1 Update README with group invitation message
Added a welcome message for the Xget open source and AI group.
2026-04-07 23:42:30 +08:00
xixu-me f80543fbb6 Merge pull request #27 from xixu-me/dependabot/github_actions/github-actions-20a84abab2
actions(deps): bump mnao305/chrome-extension-upload from 5.0.0 to 6.0.0 in the github-actions group
2026-04-06 17:45:37 +08:00
dependabot[bot] 3345c943b3 actions(deps): bump mnao305/chrome-extension-upload
Bumps the github-actions group with 1 update: [mnao305/chrome-extension-upload](https://github.com/mnao305/chrome-extension-upload).


Updates `mnao305/chrome-extension-upload` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/mnao305/chrome-extension-upload/releases)
- [Commits](https://github.com/mnao305/chrome-extension-upload/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: mnao305/chrome-extension-upload
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-06 09:12:24 +00:00
xixu-me 065cb2b396 ci: add dependabot auto-merge workflow 2026-03-11 13:36:47 +08:00
xixu-me 1335fb736e Merge pull request #25 from xixu-me/dependabot/github_actions/github-actions-674967a53d
actions(deps): bump actions/upload-artifact from 6 to 7 in the github-actions group
2026-03-06 14:13:36 +08:00
dependabot[bot] 545452be40 actions(deps): bump actions/upload-artifact in the github-actions group
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 09:21:40 +00:00
xixu-me 2a6d5271c4 Merge pull request #22 from xixu-me/dependabot/github_actions/github-actions-88dfb18256
actions(deps): bump actions/upload-artifact from 5 to 6 in the github-actions group
2025-12-15 17:46:53 +08:00
dependabot[bot] d1013cfc42 actions(deps): bump actions/upload-artifact in the github-actions group
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 09:25:28 +00:00
xixu-me a377e1db27 Merge pull request #19 from xixu-me/dependabot/github_actions/github-actions-76468cb07f
actions(deps): bump actions/checkout from 5 to 6 in the github-actions group
2025-11-24 21:23:14 +08:00
dependabot[bot] 0140103194 actions(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 10:19:03 +00:00
xixu-me 7850cbf790 Add English README and update main README with link
Introduced README.en.md providing comprehensive English documentation for the Xget Now extension. Updated the main README.md to include a prominent link to the English version.
2025-11-14 17:43:51 +08:00
xixu-me 94636cae36 Ignore non-code files in CI workflow triggers
Updated the GitHub Actions workflow to ignore changes to documentation, images, and other non-code files when triggering on push and pull_request events. This reduces unnecessary CI runs for changes that do not affect the codebase.
2025-11-14 16:40:57 +08:00
xixu-me 8b2402b14e Revise and simplify README instructions and features
Updated the README to clarify extension usage, simplify installation steps, and condense performance and service requirement sections. Removed redundant details about Xget's internal mechanisms and focused on essential deployment and usage information for end users.
2025-11-14 16:13:35 +08:00
xixu-me e389d9fc56 Update file paths for source structure refactor
Refactor all references to JavaScript, HTML, and compatibility files to use the new 'src/' directory structure in dev.py and the GitHub Actions workflow. This ensures consistency and correctness after reorganizing source files, and updates file existence checks, file watching, and linting logic accordingly.
2025-11-09 18:47:18 +08:00
xixu-me 36ef3969cf Remove required files check from CI workflow
The step that checked for the existence of required files in the test-build GitHub Actions workflow has been removed. This simplifies the workflow and may indicate that the check is no longer necessary or is handled elsewhere.
2025-11-09 18:34:42 +08:00
xixu-me 7dee5da5ed Refactor source structure and update build process
Moved source files into a structured src/ directory for better organization. Updated build.py to copy and flatten files from src/ during the build process for Chrome and Firefox, introducing a new flatten_for_browser function. Improved .gitignore to exclude additional build artifacts. Also reformatted and improved error handling in webext-compat.js.
2025-11-09 18:30:25 +08:00
GitHub Action 00ee7e6592 chore: 更新版本到 2.0.5 [skip ci] v2.0.5 2025-11-09 07:57:51 +00:00
xixu-me 1fb387a32d Add Firefox compatibility layer and improve API detection
Introduces firefox-compat.js to handle Firefox-specific messaging and storage, and updates background.js and popup.js to robustly detect and use the appropriate extension APIs for both Chrome and Firefox environments. Manifest and popup files are updated to load the new compatibility script, ensuring reliable settings management and messaging across browsers.
2025-11-09 15:56:34 +08:00
xixu-me 38e8d54129 Merge pull request #18 from xixu-me/dependabot/github_actions/github-actions-dc500464ed
actions(deps): bump actions/upload-artifact from 4 to 5 in the github-actions group
2025-10-27 21:00:51 +08:00
dependabot[bot] 4f6eff4173 actions(deps): bump actions/upload-artifact in the github-actions group
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 09:58:46 +00:00
xixu-me bec2770f2e Merge pull request #16 from xixu-me/dependabot/github_actions/github-actions-5e51f74d5c
actions(deps): bump actions/setup-node from 5 to 6 in the github-actions group
2025-10-21 20:01:43 +08:00
dependabot[bot] ca45a98bab actions(deps): bump actions/setup-node in the github-actions group
Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 5 to 6
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 10:25:31 +00:00
xixu-me bf3ef0427c Rename 'Microsoft Edge' to 'Edge' in docs and workflows
Updated all references from 'Microsoft Edge' to 'Edge' across issue templates, pull request templates, workflow files, privacy policy, and README for consistency and brevity.
2025-10-01 16:07:19 +08:00
xixu-me c68c2e0efa Merge pull request #14 from xixu-me/dependabot/github_actions/github-actions-9c09232849
actions(deps): bump the github-actions group with 2 updates
2025-09-08 19:06:16 +08:00
dependabot[bot] bdd7327292 actions(deps): bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python) and [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

Updates `actions/setup-node` from 4 to 5
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 10:07:20 +00:00
xixu-me 1682b76967 Update funding configuration in FUNDING.yml
Added custom sponsorship URL and Buy Me a Coffee username.
2025-08-24 17:42:10 +08:00
GitHub Action b2a96c9027 chore: 更新版本到 2.0.4 [skip ci] v2.0.4 2025-08-24 09:17:33 +00:00
xixu-me a6d62103c1 Move and restyle 'URL 转换器' link in header
The 'URL 转换器' link was moved from the bottom of the popup to the header section and given new styles for improved visibility and consistency with other header elements.
2025-08-24 17:16:36 +08:00
xixu-me 440b27b1b7 Add Chrome Web Store mirror link to README
A mirror link for the Chrome Web Store has been added to the 商店可用性 section to provide an alternative download source.
2025-08-19 19:19:18 +08:00
GitHub Action c0feccdd2b chore: 更新版本到 2.0.3 [skip ci] v2.0.3 2025-08-19 10:57:32 +00:00
xixu-me 1f74a391b7 Add URL converter link to popup menu
A new link to the URL converter (https://xuc.xi-xu.me/) has been added to the popup menu for easier access.
2025-08-19 18:56:54 +08:00
xixu-me a57fddb857 Merge pull request #10 from xixu-me/dependabot/github_actions/github-actions-a331d3ec2d
actions(deps): bump actions/checkout from 4 to 5 in the github-actions group
2025-08-18 21:53:50 +08:00
dependabot[bot] f9abababdb actions(deps): bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 13:53:05 +00:00
GitHub Action 92f9326bb9 chore: 更新版本到 2.0.2 [skip ci] v2.0.2 2025-08-13 12:34:22 +00:00
xixu-me e80768c70a Merge pull request #7 from xixu-me/dependabot/github_actions/github-actions-cd7291ea65
actions(deps): bump actions/setup-python from 4 to 5 in the github-actions group
2025-08-11 23:24:08 +08:00
dependabot[bot] be6539c2c2 actions(deps): bump actions/setup-python in the github-actions group
Bumps the github-actions group with 1 update: [actions/setup-python](https://github.com/actions/setup-python).


Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 15:23:22 +00:00
GitHub Action 011d269446 chore: 更新版本到 2.0.1 [skip ci] 2025-08-11 05:16:14 +00:00
xixu-me 06a503eab0 Improve WebExtension API compatibility and error handling
Adds robust error handling for missing or inaccessible WebExtension APIs, including safe fallbacks for runtime, tabs, and downloads. Enhances sendMessage wrappers for both runtime and tabs to handle various argument patterns and errors gracefully. Exports the compatibility layer in more environments (window, self, global) and logs the environment where it is loaded. This improves reliability in diverse extension contexts and non-browser environments.
2025-08-10 20:18:56 +08:00
xixu-me 77e525b64e Add Edge extension link to README
Included a link to the Microsoft Edge add-on for Xget in the list of places to leave a review.
2025-08-10 19:19:09 +08:00
xixu-me 77198bcb62 Remove benchmark section from README
The benchmark table and related notes have been removed from the documentation, possibly to avoid outdated or location-dependent performance claims.
2025-08-10 19:14:42 +08:00
xixu-me 796d50182e Add Firefox support and update cross-browser documentation
Expanded extension support to include Firefox alongside Chromium browsers. Updated README with detailed installation, build, and troubleshooting instructions for both Chromium and Firefox, clarified browser compatibility, and improved cross-browser guidance throughout code comments and documentation. Minor terminology changes were made in scripts and workflow files to consistently refer to 'Chromium' instead of 'Chrome/Chromium'.
2025-08-10 19:12:03 +08:00
xixu-me 95bb7d56f9 Refactor and document build, dev, and extension scripts
Added detailed docstrings and comments to Python build and dev scripts, improving maintainability and clarity. Enhanced JavaScript files (background.js, content.js, popup.js, platform-detector.js, webext-compat.js) with module-level and function-level documentation. Standardized package naming in build.py and updated the GitHub Actions workflow for simplified, platform-agnostic publishing, removing platform selection input and automating release steps for Chrome, Edge, and Firefox. Improved code quality checks and test coverage in dev.py.
2025-08-10 18:43:32 +08:00
xixu-me 3019487608 Simplify release workflow and remove Firefox notes
Removed detailed Firefox-specific release notes and manual Firefox publishing reminders from the GitHub Actions workflow. The release step now relies on auto-generated release notes, streamlining the publishing process for multi-browser support.
2025-08-10 14:09:03 +08:00
xixu-me 74759cae4f Update Firefox extension ID in manifest
Changed the gecko extension ID from 'xget-now@xixu.me' to 'i@xi-xu.me' and removed the deprecated 'applications' field. This aligns the manifest with current Firefox extension manifest standards.
2025-08-10 14:06:04 +08:00
GitHub Action d56ff757ea chore: 更新版本到 2.0.0 [skip ci] 2025-08-10 05:52:24 +00:00
xixu-me 8babb688a6 Merge pull request #6 from xixu-me/alert-autofix-4
Potential fix for code scanning alert no. 4: Workflow does not contain permissions
2025-08-10 13:50:24 +08:00
xixu-meandCopilot Autofix powered by AI 4e8f821de4 Potential fix for code scanning alert no. 4: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-08-10 13:48:05 +08:00
xixu-me 130eec751f Add Firefox support and cross-browser compatibility layer
This update introduces full Firefox support using a new manifest-firefox.json (Manifest V2), adds a webext-compat.js compatibility layer for unified API usage, and refactors all extension scripts (background.js, content.js, popup.js) to use the new webext API. The build and development process is automated with new Python scripts (build.py, dev.py), and GitHub Actions workflows are updated to support multi-platform build, test, and release. Platform detection and capability abstraction are added, and all relevant files and manifests are updated for cross-browser compatibility.
2025-08-10 13:44:08 +08:00
xixu-me ad5b3cae72 Refactor download event handling and redirection logic
Prevents multiple registrations of the download listener and refactors the download handling logic to immediately call suggest, then process redirection asynchronously. Improves error handling and notification logic for redirected downloads.
2025-08-10 12:24:44 +08:00
xixu-me ed3a4c0ee3 Prevent multiple suggest calls in handleDownload
Introduces a guard to ensure the suggest callback is only called once in handleDownload, avoiding potential issues from multiple invocations in error or early return scenarios.
2025-08-10 12:12:23 +08:00