[PR #306] [MERGED] refactor: 拆分图床配置,可配置独立的 Github 图床 #719

Closed
opened 2026-03-02 03:41:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/306
Author: @codexu
Created: 6/25/2025
Status: Merged
Merged: 6/25/2025
Merged by: @codexu

Base: devHead: image-hosting


📝 Commits (3)

  • b1bade3 refactor: 增加图床配置,Github 图床配置移至图床配置
  • 02ac2e0 feat: Github 图床可配置独立的 token
  • 347eec1 feat: 上传图片使用独立 Github 图床

📊 Changes

27 files changed (+611 additions, -272 deletions)

View changed files

📝 messages/en.json (+7 -1)
📝 messages/ja.json (+8 -2)
📝 messages/zh.json (+9 -3)
📝 src/app/core/article/md-editor.tsx (+3 -21)
📝 src/app/core/image/folder-card.tsx (+1 -1)
📝 src/app/core/image/image-card.tsx (+1 -1)
📝 src/app/core/image/image-header.tsx (+1 -1)
📝 src/app/core/image/page.tsx (+1 -1)
📝 src/app/core/layout.tsx (+3 -0)
📝 src/app/core/record/mark/control-image.tsx (+8 -20)
📝 src/app/core/setting/backupSync/page.tsx (+1 -1)
📝 src/app/core/setting/config.tsx (+5 -1)
src/app/core/setting/imageHosting/github.tsx (+177 -0)
src/app/core/setting/imageHosting/page.tsx (+29 -0)
📝 src/app/core/setting/sync/gitee-sync.tsx (+29 -28)
📝 src/app/core/setting/sync/github-sync.tsx (+29 -90)
📝 src/app/core/setting/sync/page.tsx (+15 -6)
📝 src/app/mobile/layout.tsx (+3 -0)
📝 src/components/app-status.tsx (+2 -24)
📝 src/lib/github.ts (+3 -10)

...and 7 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/codexu/note-gen/pull/306 **Author:** [@codexu](https://github.com/codexu) **Created:** 6/25/2025 **Status:** ✅ Merged **Merged:** 6/25/2025 **Merged by:** [@codexu](https://github.com/codexu) **Base:** `dev` ← **Head:** `image-hosting` --- ### 📝 Commits (3) - [`b1bade3`](https://github.com/codexu/note-gen/commit/b1bade3e9ee81e8f9b6c8e1856ffba41517777a8) refactor: 增加图床配置,Github 图床配置移至图床配置 - [`02ac2e0`](https://github.com/codexu/note-gen/commit/02ac2e0f6426ba767518d7f931be5d56e908251b) feat: Github 图床可配置独立的 token - [`347eec1`](https://github.com/codexu/note-gen/commit/347eec112c36f267402310dc30dec332c5062b38) feat: 上传图片使用独立 Github 图床 ### 📊 Changes **27 files changed** (+611 additions, -272 deletions) <details> <summary>View changed files</summary> 📝 `messages/en.json` (+7 -1) 📝 `messages/ja.json` (+8 -2) 📝 `messages/zh.json` (+9 -3) 📝 `src/app/core/article/md-editor.tsx` (+3 -21) 📝 `src/app/core/image/folder-card.tsx` (+1 -1) 📝 `src/app/core/image/image-card.tsx` (+1 -1) 📝 `src/app/core/image/image-header.tsx` (+1 -1) 📝 `src/app/core/image/page.tsx` (+1 -1) 📝 `src/app/core/layout.tsx` (+3 -0) 📝 `src/app/core/record/mark/control-image.tsx` (+8 -20) 📝 `src/app/core/setting/backupSync/page.tsx` (+1 -1) 📝 `src/app/core/setting/config.tsx` (+5 -1) ➕ `src/app/core/setting/imageHosting/github.tsx` (+177 -0) ➕ `src/app/core/setting/imageHosting/page.tsx` (+29 -0) 📝 `src/app/core/setting/sync/gitee-sync.tsx` (+29 -28) 📝 `src/app/core/setting/sync/github-sync.tsx` (+29 -90) 📝 `src/app/core/setting/sync/page.tsx` (+15 -6) 📝 `src/app/mobile/layout.tsx` (+3 -0) 📝 `src/components/app-status.tsx` (+2 -24) 📝 `src/lib/github.ts` (+3 -10) _...and 7 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#719
No description provided.