Commit dd4cfb5
chore: merge trunk (#421)
* feat: Add adjacent feeds feature (Closes #202) (#293)
* style: Add placeholder div
style: Fixed FeedCard width
fix: Can't delete cache
chore: Adding clear adjacent feed cache
refactor: Adjacent feeds API
feat: Adding some cache function
style: Change flex direction on mobile screens
feat: Adding adjacent feeds to the frontend
feat: Adding adjacent feeds API to the backend
* style: 调整上一篇/下一篇样式
Signed-off-by: Xeu <thankrain@qq.com>
---------
Signed-off-by: Xeu <thankrain@qq.com>
Co-authored-by: Sittymin <mail@sittymin.top>
* fix: change adjacent sort strategy by created time
Signed-off-by: Xeu <thankrain@qq.com>
* style: adjust margin
Signed-off-by: Xeu <thankrain@qq.com>
* feat: Add additional translations and improve favicon update logic (#308)
* fix: move getEnv into function for proper initialization (#309)
* chore(deps-dev): bump vitest from 1.3.0 to 1.6.1 (#310)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.3.0 to 1.6.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.6.1/packages/vitest)
---
updated-dependencies:
- dependency-name: vitest
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: locked version
* feat: Add sorting for friend list (#341)
* feat: add Moments feature (#356)
* fix(footer): update copyright year to be dynamic
* feat(editor): add reusable markdown editor component
* feat(db): add moments table and relations
* feat(moments): add moments service with CRUD operations
* feat(moments): add moments feature frontend
* chore: remove unused import
* fix: writing page layout
* style(moments): adjust moments style & remove font cdn
* feat: add error page and router permission handling (#358)
* feat: Implement automatic UI scaling for high-DPI displays (#370)
On high-resolution monitors (e.g., QHD, 4K), the UI elements and fonts appear too small, requiring users to manually zoom the browser for comfortable viewing.
This commit introduces an automatic scaling mechanism to improve readability and user experience on these large displays.
* docs: update documentation url
* docs: update documentation url
* Add cursor pointer to Table of Contents links (#385)
* Add cursor pointer to Table of Contents links
* Set cursor pointer opacity to 50
* fix Bun version (#389)
* fix: 浏览器 无法显示 时间轴的问题 (#391)
* Update DEPLOY.md (#408)
* fix monaco editor IME problem (#407)
* feat: implement AI summary feature with extensive model support (#411)
This commit adds comprehensive AI summary functionality for articles with support for multiple AI providers and models.
**Frontend:**
- Add AI configuration UI in settings with manual save button
- AI enable/disable toggle auto-saves immediately
- Change provider/model inputs from text to select dropdowns for better UX
- Provider/model selection dynamically updates available options
- Add storage event listener to sync AI enabled state across pages
- Add disabled prop support to Button component
**Backend:**
- Add AI configuration table (ai_config) with provider, model, API key, and URL
- Add /ai-config API endpoint for CRUD operations
- Integrate AI summary generation in feed service
- Include AI enabled status in client config response
**AI Providers Supported (5 providers, 70+ models):**
- OpenAI: GPT-5/4/3.5 series (22 models)
- Claude: 4.5/3 series (10 models)
- Gemini: 3/2.5/2.0/1.5 series (14 models)
- DeepSeek: chat/reasoner (2 models)
- Zhipu: GLM-4 series (20 models)
**Performance:**
- Optimize config loading by including AI status in client config
- Reduce API requests per page load from 2 to 1
**i18n:**
- Add translations for AI configuration UI (zh-CN, en, ja, zh-TW)
**Database:**
- Migration 0005.sql adds ai_config table
Co-authored-by: Claude <noreply@anthropic.com>
* feat: support custom models
* fix: custom apiUrl does not work
* refactor: Simplifies the configuration of the local development environment (#417)
* chore: update bun.lockb
* chore: bump bun to 1.3.6
* ci: add pr check workflow
* feat(release): implement automated release workflow with commit-based changelog generation (#418)
Add automated release notes generation from conventional commits
Create commit message convention documentation
Enhance release script to auto-generate CHANGELOG templates
Update release workflow to categorize commits (features, fixes, etc.)
Improve CHANGELOG.md structure with detailed migration guides
Update RELEASE.md documentation with new workflow
The release process now:
Extracts and categorizes commits by type (feat, fix, perf, etc.)
Generates GitHub Release notes automatically
Maintains detailed CHANGELOG.md for migration guides
Enforces conventional commit format through documentation
Refs: improved release mechanism design
* docs: migrate documentation from standalone repo to main repository (#419)
Move all docs from https://github.com/openRin/docs to docs/ directory
Set up Rspress documentation site with bilingual support (zh/en)
Include deploy guides, SEO/RSS configuration, changelog, and contribution guidelines
Update README files to reference the new docs location
Ensure code and documentation are now in sync within the same repository
* docs: migrate remaining documentation to Rspress documentation site (#420)
* docs: migrate remaining docs to documentation site
- Move DEVELOPMENT.md to docs/docs/zh/guide/development.md
- Move COMMIT_CONVENTION.md to docs/docs/zh/guide/commit-convention.md (translated to Chinese)
- Move RELEASE.md to docs/docs/zh/guide/release.md (translated to Chinese)
- Update _meta.json and _nav.json to include new pages
- Remove legacy markdown files from docs/ root
* docs: add English documentation for development, commit convention and release
- Add docs/docs/en/guide/development.md (local development guide)
- Add docs/docs/en/guide/commit-convention.md (commit message convention)
- Add docs/docs/en/guide/release.md (release process)
- Update en/_meta.json and en/_nav.json to include new pages
This completes the bilingual documentation migration for all guide pages.
* docs: update logo for docs & readme
---------
Signed-off-by: Xeu <thankrain@qq.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Sittymin <mail@sittymin.top>
Co-authored-by: Sittymin <45896075+Sittymin@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: nekomoyi <funny_mo_yi@foxmail.com>
Co-authored-by: Antigone Semiotics Club <115871032+AntigoneSemioticsClub@users.noreply.github.com>
Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
Co-authored-by: Zhipeng Luo <2830942138@qq.com>
Co-authored-by: Mao Chenyu <chenyumao815@outlook.com>
Co-authored-by: nicad <36125594+PBnicad@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 37205bc commit dd4cfb5
98 files changed
Lines changed: 6881 additions & 452 deletions
File tree
- .github/workflows
- client
- public/locales
- en
- ja
- zh-CN
- zh-TW
- src
- components
- hooks
- page
- state
- docs
- docs
- en
- guide
- public
- zh
- guide
- theme
- scripts
- server
- sql
- src
- db
- services
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
9 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
28 | 64 | | |
29 | 65 | | |
30 | | - | |
| 66 | + | |
31 | 67 | | |
32 | 68 | | |
33 | 69 | | |
| |||
52 | 88 | | |
53 | 89 | | |
54 | 90 | | |
55 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
0 commit comments