Commit Graph

238 Commits

Author SHA1 Message Date
Innei 268b182a39 fix(ci): try to fix ios simulator runtime
- Added a new step to check the CI environment, including user and Xcode path information.
- Implemented a robust Xcode setup process that accepts the license and sets the correct path using sudo if available.
- Introduced a method to start the Simulator Service with error handling for existing instances.
- Enhanced the iOS platform download process with checks for available SDKs and alternative download methods.
- Added a verification step to confirm successful setup and available SDKs.

This update aims to streamline the Xcode setup process in CI environments, ensuring a more reliable and informative workflow.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-26 22:28:04 +08:00
dependabot[bot] 3dcb07a6c7 chore(deps): bump actions/setup-java from 4 to 5 (#4365)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  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>
2025-08-25 17:14:36 +08:00
Innei 2dd9fbdf31 chore: download ios platform
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-21 21:17:36 +08:00
Innei 09356a8273 feat(ci): add Xcode setup step in iOS build workflow
- Introduced a new step to set up Xcode in the iOS build workflow, enhancing the build process for iOS applications.

This addition streamlines the CI process for iOS development.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-21 20:10:33 +08:00
Innei fb0e1cfb4e Merge pull request #4325 from RSSNext/sync/main-to-dev-20250811
Sync main branch to dev branch
2025-08-19 13:56:19 +08:00
dependabot[bot] 94e4962093 chore(deps): bump actions/checkout from 4 to 5 (#4333)
Bumps [actions/checkout](https://github.com/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
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-19 13:55:52 +08:00
Innei 707bbd7e50 Merge pull request #4311 from RSSNext/release/mobile/0.2.5
release(mobile): Release v0.2.5
2025-08-11 16:24:05 +08:00
Innei 1dceab3046 chore: update build and tag action
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-11 16:18:36 +08:00
Innei 9bb974b8fd feat(ai): support ai attachement (#4316)
* init

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): enhance file handling with category-based icon retrieval

- Introduced `getFileCategoryFromMimeType` function to categorize file types based on MIME type, improving the clarity of file handling in the AI chat interface.
- Updated `FileAttachmentBlock` and `AIChatContextBar` components to utilize the new categorization function for determining file icons, streamlining the code and enhancing maintainability.
- Removed redundant MIME type checks, simplifying the logic for icon assignment.

These changes improve the user experience by ensuring accurate file representation and reduce code complexity.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: preview image

* Update avatar upload to use followApi and bump deps

* feat: Refactor AI chat context blocks and file upload handling

- Introduced new components for rendering AI chat context blocks, including AIDataBlockItem and AIDataBlockPart.
- Enhanced file attachment handling by updating the structure of AIChatContextBlock to separate file attachments from other block types.
- Implemented a new file upload hook (useFileUpload) to manage file uploads with progress tracking and toast notifications.
- Added UploadProgress and CircularProgress components for visual feedback during file uploads.
- Improved file processing logic to simulate realistic upload progress and handle errors more effectively.
- Updated existing components to utilize the new block structure and file upload logic.
- Created utility functions for managing block styles, icons, and labels for better code organization.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: Enhance chat message rendering with Suspense and add ThinkingIndicator component

Signed-off-by: Innei <tukon479@gmail.com>

* fix: Remove error check for message metadata in AIChatMessage component

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-08 16:32:52 +08:00
dependabot[bot] 6a616f6595 chore(deps): bump signpath/github-action-submit-signing-request (#4313)
Bumps [signpath/github-action-submit-signing-request](https://github.com/signpath/github-action-submit-signing-request) from 1.2 to 1.3.
- [Commits](https://github.com/signpath/github-action-submit-signing-request/compare/v1.2...v1.3)

---
updated-dependencies:
- dependency-name: signpath/github-action-submit-signing-request
  dependency-version: '1.3'
  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>
2025-08-08 16:03:36 +08:00
Innei 71b5e6ef79 Merge pull request #4312 from RSSNext/sync/main-to-dev-20250807
Sync main branch to dev branch
2025-08-07 23:00:25 +08:00
Innei cb5a2cd114 feat(ai): support customize chat title 2025-08-07 20:57:12 +08:00
Innei a78fe3e633 chore: temporarily back to the original release logic
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-07 15:56:02 +08:00
Innei e8335a6f86 chore(xcode): update default Xcode version to 16.2.0 in setup action
- Changed the default Xcode version from 16.4 to 16.2.0 in the setup-xcode action configuration.

This update ensures compatibility with the specified version for builds.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-07 14:46:26 +08:00
dependabot[bot] 4f8ff18221 chore(deps): bump signpath/github-action-submit-signing-request (#4307)
Bumps [signpath/github-action-submit-signing-request](https://github.com/signpath/github-action-submit-signing-request) from 1.2 to 1.3.
- [Commits](https://github.com/signpath/github-action-submit-signing-request/compare/v1.2...v1.3)

---
updated-dependencies:
- dependency-name: signpath/github-action-submit-signing-request
  dependency-version: '1.3'
  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>
2025-08-06 14:57:58 +08:00
Innei 4205d49b08 fix: update tag filter to include mobile and desktop versions
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-04 17:52:20 +08:00
Innei d11bb5d993 fix(release-info): update regex patterns for version extraction
- Modified regex patterns in extract-release-info.mjs to be case-insensitive for desktop and mobile release tags, improving compatibility with various tag formats.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-30 01:38:44 +08:00
Innei d1e448d602 fix(electron): hotfix update logic
- Added ky as a dependency to handle HTTP requests for file downloads.
- Implemented downloadFileWithProgress function to provide progress updates during downloads.
- Updated hot-updater to utilize the new download function, enhancing user experience with download status logging.
- Cleaned up and refactored related code for better maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-30 01:36:23 +08:00
Innei 42d39fdd22 feat(release): enhance version tagging and release extraction
- Updated the version setup action to handle new tag formats for desktop and mobile releases.
- Introduced a new script to extract release information from commit messages, improving the tagging process.
- Modified workflows to create tags in the format of `desktop/v1.2.3` and `mobile/v1.2.3`.
- Enhanced the updater logic to accommodate the new tagging structure and ensure proper release handling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-29 19:04:09 +08:00
Innei da39e3ee45 fix(workflows): update macOS runner version from 16 to latest in CI configurations
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-26 12:58:22 +08:00
Innei 0e1bff4b58 chore: update Xcode version to 16.4 and adjust macOS runner labels in workflows
- Changed default Xcode version in setup action to 16.4.
- Updated macOS runner labels from 'macos-latest' and 'macos-15' to 'macos-16' in multiple workflows for consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 22:30:07 +08:00
Innei 6ff467e7eb chore: update workflow names with emojis for better visibility
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 18:15:43 +08:00
Innei 53ecaa736a ci: add Xcode setup step to iOS build workflows
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 18:06:01 +08:00
Innei 46cb564003 ci: unify Xcode setup action for iOS builds
Signed-off-by: Innei <tukon479@gmail.com>
2025-07-24 18:01:14 +08:00
DIYgod 943ef31085 feat(desktop): add custom AppX manifest generation for Microsoft Store
- Create AppX manifest generation script using template file
- Add support for multiple languages (EN, ZH-CN, ZH-TW, JA)
- Include protocol handlers for folo and follow schemes
- Add OPML file type association
- Update Electron Forge config to use custom manifest
- Add build:electron-forge:ms script for Microsoft Store builds
- Update GitHub Actions workflow to use custom build for store distribution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 12:13:59 +08:00
Innei 032d1f4d41 ci: update Claude workflow to enhance PR assistance functionality
- Renamed workflow from "Claude Code Review" to "Claude PR Assistant"
- Updated event triggers to include issue comments, pull request review comments, and issues
- Simplified job conditions for running the Claude action
- Changed step name to "Run Claude PR Action" and adjusted parameters for improved integration

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-15 16:45:26 +08:00
DIYgod 003ebde1c4 chore: clean up whitespace in GitHub workflow files 2025-07-14 16:49:59 +08:00
Innei 0edf07a59a chore: add Claude Code GitHub Workflow (#4154)
* Claude PR Assistant workflow

* Claude Code Review workflow
2025-07-13 13:28:31 +08:00
DIYgod 15f360aeee chore: build desktop env 2025-07-08 21:04:25 +08:00
DIYgod 57faa98427 chore: remove workflow auto-fix-lint-format-commit 2025-07-08 20:52:20 +08:00
Stephen Zhou 608e877890 Revert "fix: GitHub Actions Workflow Vulnerable to Code Injection Attacks (#4103)"
This reverts commit cc4cc2ec9f.
2025-07-08 18:58:29 +08:00
kira-offgrid cc4cc2ec9f fix: GitHub Actions Workflow Vulnerable to Code Injection Attacks (#4103) 2025-07-08 17:08:22 +08:00
DIYgod d14c8f5c51 feat: new domain folo.is 2025-07-03 13:13:42 +08:00
DIYgod 7b96167da3 chore: simplify description for Entry ID field in bug report template 2025-06-29 10:22:07 +08:00
DIYgod 0fd88d81c9 chore: remove placeholder from Entry ID field in bug report template 2025-06-29 10:20:36 +08:00
Innei 5ae6a22eb4 feat: add Entry ID input to bug report template
- Introduced a new input field for Entry ID in the bug report template to capture specific entry details related to issues.
- Updated the description to guide users on providing relevant information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-25 00:02:10 +08:00
DIYgod d74cea5b1f fix: lint 2025-06-23 18:05:24 +08:00
Stephen Zhou 65ebf9ef93 fix: sqlite wasm in electron production (#3920) 2025-06-13 22:12:07 +08:00
dependabot[bot] 24cf4cee9a chore(deps): bump stefanzweifel/git-auto-commit-action from 5 to 6 (#3901)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5 to 6.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: '6'
  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>
2025-06-12 21:24:43 +08:00
Whitewater 336021a94e chore: add Android build trigger and release draft creation (#3843)
* chore: add release draft creation and version setup for Android builds

* chore: add Android build trigger

* fix: update comments for clarity
2025-05-29 17:31:53 +08:00
Stephen Zhou 1bf983e7ce chore: remove useless override and patch (#3826) 2025-05-27 15:58:06 +08:00
Whitewater b8ff9e802b fix: escape quotes in build script (#3741)
* fix: escape quotes in build:packages script

* fix: update Windows prebuild command to use pnpm
2025-05-16 16:05:04 +08:00
Innei 8cbec1db7d fix(build): update Windows prebuild command to use npx
- Modified the Windows prebuild command in build-desktop.yml to use 'npx turbo run build' for improved execution.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-16 15:26:20 +08:00
Innei 9177e9dfc3 chore(build): update Windows prebuild command and include workflow file in path triggers
- Changed the prebuild command for Windows to use 'turbo run build' for better performance.
- Added the build-desktop.yml file to the list of paths that trigger the workflow.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-16 13:55:14 +08:00
Innei 7d2ba96886 feat(build): add prebuild step for Windows in desktop workflow
- Introduced a new step to prebuild packages specifically for Windows environments in the build-desktop.yml workflow.
- This enhancement ensures that Windows users have the necessary packages built before proceeding with the main build process.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-16 12:16:26 +08:00
Stephen Zhou f0f49bea8b ci: macos-15 and xcode 16.3 (#3680) 2025-05-08 09:16:20 +08:00
Innei efc2e9713b refactor: upgrade react 19 and react native 0.79 (#3661)
* update

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update Babel and Metro configurations

- Added `unstable_transformImportMeta` option to Babel preset for improved JSX handling.
- Disabled `unstable_enablePackageExports` in Metro configuration for better package resolution.

Signed-off-by: Innei <tukon479@gmail.com>

* chore: add react-native-ios-utilities patch and update dependencies

- Introduced a patch for `react-native-ios-utilities` to enhance functionality.
- Updated `expo`, `react-native`, and `react-native-reanimated` versions in the example app for improved compatibility.
- Added `react-native-ios-utilities` to the project dependencies in `package.json`.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* chore: auto-fix linting and formatting issues

* refactor: improve route parameter handling and entry fetching logic

- Updated `useRouteParams` to utilize `useReadonlyRoute` for better state management.
- Enhanced `useEntriesByView` to separate remote and local entry fetching, improving data handling and error management.
- Introduced debouncing for pagination in local entries and added toast notifications for error handling.
- Cleaned up entry ID retrieval to ensure uniqueness and prevent duplicates.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: simplify Masonry component return statement

- Updated the return statement in the Masonry component to use JSX syntax for better readability and consistency.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update import from RootPortalProvider to RootPortalContext

- Changed the import statement in Sheet.tsx to reflect the updated context provider name for better clarity and consistency in the codebase.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update ref types in component props

- Changed ref prop types from React.RefObject to React.Ref for better type compatibility across various components, enhancing overall code consistency and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add Xcode build server configuration and enhance desktop app routing

- Introduced a new configuration file for the Xcode build server to streamline iOS builds.
- Updated Vite configuration to include a new proxy route for sharing functionality.
- Added a new Jotai atom for managing preview state in the application.
- Removed deprecated error fallback component to clean up the codebase.
- Implemented a new render style hook for consistent styling across components.
- Enhanced entry column components with improved error handling and layout adjustments.
- Updated various components to utilize the new render style and improved accessibility.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* fix: ensure plugins array is initialized and update TypeScript configuration

- Initialized the plugins array in the mobile app configuration to prevent potential runtime errors.
- Updated TypeScript configuration to enhance module resolution and improve code organization with clearer path definitions.

Signed-off-by: Innei <tukon479@gmail.com>

* update lint

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update TypeScript types and improve component props

- Added `skipLibCheck` to TypeScript configuration for faster builds.
- Updated prop types in various components to allow for null values in refs, enhancing type safety.
- Refactored several components to ensure better type compatibility and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(mobile): improve layout handling in NavigationHeader component

- Added console logs for debugging right and left widths.
- Adjusted layout structure to ensure proper width handling for header elements.
- Updated loading indicator positioning and visibility logic.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(mobile): update Pager and QRCode components to use forwardRef

- Refactored Pager and QRCode components to directly export as functional components with forwardRef.
- Updated type definitions to improve ref handling and ensure better type safety.
- Simplified component structure for improved readability and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(ui): enhance FAB components with functional component structure and improved type definitions

- Converted FABBase and FABPortable to functional components using FC type for better type safety.
- Updated props to include optional ref handling, enhancing flexibility in usage.
- Simplified component structure for improved readability and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* chore(deps): update react-native-ios-utilities patch and refine TypeScript configuration

- Updated the patch for react-native-ios-utilities in pnpm-lock.yaml to reflect a new hash.
- Enhanced TypeScript configuration in tsconfig.json by adding exclusion for node_modules and formatting paths for better readability.
- Cleaned up the react-native-ios-utilities.patch by removing unused exports from the index file.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 16:30:30 +08:00
dependabot[bot] 59ec2443e9 chore(deps): bump signpath/github-action-submit-signing-request (#3626)
Bumps [signpath/github-action-submit-signing-request](https://github.com/signpath/github-action-submit-signing-request) from 1.1 to 1.2.
- [Commits](https://github.com/signpath/github-action-submit-signing-request/compare/v1.1...v1.2)

---
updated-dependencies:
- dependency-name: signpath/github-action-submit-signing-request
  dependency-version: '1.2'
  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>
2025-05-06 23:53:22 +08:00
Stephen Zhou 07b1dac2eb ci: update name 2025-04-23 10:44:10 +08:00
Stephen Zhou f8c6cb7ae7 ci: separate self-hosted runner job as pass array as input not work 2025-04-23 10:29:23 +08:00