[pull] master from DIYgod:master#1460
Open
pull[bot] wants to merge 5058 commits intolinux-doc:masterfrom
Open
Conversation
7383600 to
98b7703
Compare
5fe242a to
74f56f7
Compare
4c64301 to
0ccfd86
Compare
a5cb096 to
3f12f92
Compare
…CGND+U1WFxFFhut45DsYg=
Bumps [nixpkgs](https://github.com/NixOS/nixpkgs) from `15f4ee4` to `549bd84`. - [Commits](NixOS/nixpkgs@15f4ee4...549bd84) --- updated-dependencies: - dependency-name: nixpkgs dependency-version: 549bd84d6279f9852cae6225e372cc67fb91a4c1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [http-cookie-agent](https://github.com/3846masa/http-cookie-agent) from 7.0.3 to 8.0.0. - [Release notes](https://github.com/3846masa/http-cookie-agent/releases) - [Changelog](https://github.com/3846masa/http-cookie-agent/blob/main/CHANGELOG.md) - [Commits](3846masa/http-cookie-agent@v7.0.3...v8.0.0) --- updated-dependencies: - dependency-name: http-cookie-agent dependency-version: 8.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump the cloudflare group with 2 updates Bumps the cloudflare group with 2 updates: [@cloudflare/workers-types](https://github.com/cloudflare/workerd) and [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler). Updates `@cloudflare/workers-types` from 4.20260505.1 to 4.20260506.1 - [Release notes](https://github.com/cloudflare/workerd/releases) - [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md) - [Commits](https://github.com/cloudflare/workerd/commits) Updates `wrangler` from 4.87.0 to 4.88.0 - [Release notes](https://github.com/cloudflare/workers-sdk/releases) - [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.88.0/packages/wrangler) --- updated-dependencies: - dependency-name: "@cloudflare/workers-types" dependency-version: 4.20260506.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: cloudflare - dependency-name: wrangler dependency-version: 4.88.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: cloudflare ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix CVE-2026-42338 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…20671) * fix(cache): call JSON.stringify when storing value in cache.tryGet The value is returned as-is, so we may assume that it's not JSON stringified inside `getValueFunc`. Otherwise, the caller already needs to distinguish between values that are either JSON parsed or not. * Revert "fix(routes/mastodon): don't refresh account ID cache (#20663)" This reverts commit c2cff41. * test: add test * test: lint
* feat(route/fjrb): add Fujian Daily route and namespace configuration * feat(route/fjrb): update route to support date parameter and improve error handling * fix(route/fjrb): standardize root URL constant usage * fix(route/fjrb): address review comments for Fujian Daily route * fix(route/fjrb): refactor media source retrieval to use getNodeSrc function * fix(route/fjrb): update Fujian Daily URL to use the second level domain * feat(route/fjdaily): add Fujian Daily route and namespace configuration * fix(route/fjdaily): add Fujian Daily route and namespace configuration
* feat(route): add 国际能源网 (in-en.com) news route Add RSS route for in-en.com (国际能源网), a major Chinese energy news portal. Supported channels via /in-en/news/:type: - solar — 光伏太阳能 - wind — 风电 - chuneng — 储能 - h2 — 氢能 - chd — 充换电 - newenergy — 新能源综合 - power — 电力 - huanbao — 环保 Features: fetches article list from each subdomain's news page, then retrieves full article body via detail page (cached). Handles Chinese relative timestamps (X分钟/小时/天前). * fix(in-en): add maintainer, fix timezone double-shift, translate comments to English * fix(in-en): correct news paths for h2/chd/huanbao, drop date-only pubDate override * fix(in-en): sort imports, fix numeric separators, add category field, use trueUA * fix(in-en): address review comments - Remove config.trueUA, use default UA - Remove custom parseRelTime, use parseDate directly - Fix title text extraction without cloning element - Remove unnecessary .first() on pubDate - Fix author: handle both em.ly and plain-text source via .prompt > span - Simplify category field (remove redundant length check) - Fix description selector: .article-body → #article - Fix detail author selector: .article-meta .source a → p.source a - Remove try-catch around detail fetch * fix(in-en): fix author including category text and handle relative pubDate formats * fix(in-en): use parseRelativeDate, simplify selectors, drop redundant fallbacks - Replace hand-rolled relative-date logic with parseRelativeDate (covers "刚刚 / N分钟前 / N小时前 / 今天 HH:MM / 昨天 HH:MM / YYYY-MM-DD"). Fixes Invalid Date on the first few entries and resolves the two oxlint findings (no-useless-undefined, numeric-separators-style). - Drop the `.first()` on `.listTxt .prompt i` — each `ul.infoList > li` carries exactly one `<i>` (date), confirmed against https://solar.in-en.com/news/. - Author selector: `.prompt > span:first-of-type`, then strip leading "来源:". Cheerio's `.text()` flattens `<em class="ly">…</em>` into the same string, so this matches both shapes shown on https://solar.in-en.com/news/ (plain text vs. wrapped in em.ly). - Category selector: `.prompt > span:not(:first-of-type) em a`, scoped to the second span so author text never leaks in. - Drop `|| undefined` on author and `?? ''` on description (redundant — DataItem already accepts undefined). - Add an HTML-shape comment pointing to the live sample URL so future reviewers can verify the layout assumptions. * fix(in-en): drop dead default + use new-media category - Hono treats `:type` as compulsory (path is `/news/:type`), so users without it never reach the handler — the `?? 'solar'` fallback was unreachable. Replace with a non-null assertion to keep the type narrow. - categories: 'traditional-media' → 'new-media' per review suggestion.
…21800) * Comment out media object in rss_item Comment out media object in rss_item construction * Disable voiceInfo handling in RSS item Comment out voiceInfo handling logic in RSS item creation. * Update description extraction to exclude report view * Refactor description logic in common.tsx Refactor description extraction to remove specific images and report view paragraphs. * Handle missing featured image in description logic * Improve description extraction in common.tsx Refactor description extraction logic to handle cases without a featured image more cleanly.
Bumps [hono](https://github.com/honojs/hono) from 4.12.17 to 4.12.18. - [Release notes](https://github.com/honojs/hono/releases) - [Commits](honojs/hono@v4.12.17...v4.12.18) --- updated-dependencies: - dependency-name: hono dependency-version: 4.12.18 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [re2js](https://github.com/le0pard/re2js) from 2.3.1 to 2.3.2. - [Release notes](https://github.com/le0pard/re2js/releases) - [Commits](le0pard/re2js@2.3.1...2.3.2) --- updated-dependencies: - dependency-name: re2js dependency-version: 2.3.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [got](https://github.com/sindresorhus/got) from 15.0.3 to 15.0.5. - [Release notes](https://github.com/sindresorhus/got/releases) - [Commits](sindresorhus/got@v15.0.3...v15.0.5) --- updated-dependencies: - dependency-name: got dependency-version: 15.0.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.3.4 to 11.3.5. - [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md) - [Commits](jprichardson/node-fs-extra@11.3.4...11.3.5) --- updated-dependencies: - dependency-name: fs-extra dependency-version: 11.3.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [devenv](https://github.com/cachix/devenv) from `a7ee656` to `a3ebee0`. - [Release notes](https://github.com/cachix/devenv/releases) - [Commits](cachix/devenv@a7ee656...a3ebee0) --- updated-dependencies: - dependency-name: devenv dependency-version: a3ebee0b80ce56ae4acba2c971c09ee6eca75338 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ztjVMSAxcOLbflrfZ0Zho=
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible) from 11.0.2 to 11.1.0. - [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases) - [Commits](animir/node-rate-limiter-flexible@v11.0.2...v11.1.0) --- updated-dependencies: - dependency-name: rate-limiter-flexible dependency-version: 11.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@honeybadger-io/js](https://github.com/honeybadger-io/honeybadger-js) from 6.12.3 to 6.14.0. - [Release notes](https://github.com/honeybadger-io/honeybadger-js/releases) - [Commits](https://github.com/honeybadger-io/honeybadger-js/compare/@honeybadger-io/js@6.12.3...@honeybadger-io/js@6.14.0) --- updated-dependencies: - dependency-name: "@honeybadger-io/js" dependency-version: 6.14.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…pdates (#21933) Bumps the opentelemetry group with 2 updates in the / directory: [@opentelemetry/exporter-prometheus](https://github.com/open-telemetry/opentelemetry-js) and [@opentelemetry/exporter-trace-otlp-http](https://github.com/open-telemetry/opentelemetry-js). Updates `@opentelemetry/exporter-prometheus` from 0.216.0 to 0.217.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-js@experimental/v0.216.0...experimental/v0.217.0) Updates `@opentelemetry/exporter-trace-otlp-http` from 0.216.0 to 0.217.0 - [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-js@experimental/v0.216.0...experimental/v0.217.0) --- updated-dependencies: - dependency-name: "@opentelemetry/exporter-prometheus" dependency-version: 0.217.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: opentelemetry - dependency-name: "@opentelemetry/exporter-trace-otlp-http" dependency-version: 0.217.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: opentelemetry ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…up (#21932) Bumps the cloudflare group with 1 update: [@cloudflare/workers-types](https://github.com/cloudflare/workerd). Updates `@cloudflare/workers-types` from 4.20260506.1 to 4.20260507.1 - [Release notes](https://github.com/cloudflare/workerd/releases) - [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md) - [Commits](https://github.com/cloudflare/workerd/commits) --- updated-dependencies: - dependency-name: "@cloudflare/workers-types" dependency-version: 4.20260507.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: cloudflare ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump lint-staged from 16.4.0 to 17.0.2 Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.4.0 to 17.0.2. - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v16.4.0...v17.0.2) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 17.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update Node.js version matrix for build job --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…21903) * feat(route): make GitHub pulls title and docs consistent with issues I'm not really a coder, but I use RSSHub to bridge GitHub updates into IRC for my community. I noticed that the `pulls.ts` route didn't show the "Open/Closed" state in the feed title like the `issues.ts` route does, which was making my users a bit confused! I tried my best to replicate the logic and metadata structure from `issues.ts` over to `pulls.ts`. Changes: - Updated the feed title to dynamically show the state (Open/Closed/All) and any labels. - Updated the parameter metadata so the documentation looks as clean and organized as the Issues page. I've tested this locally and it’s working perfectly for my IRC tracker. Hopefully, this helps keep things consistent across the GitHub routes! Closes #21902 * Fix title formatting in pull request response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )