Commit Graph
201 Commits
Author SHA1 Message Date
Lion ChenandStephen Zhou 02c59ca869 feat: add Cubox integration for saving entries (#3385)
* feat(integration): enhance Cubox integration with auto memo mode

- Add Cubox integration with API token support
- Add enableCuboxAutoMemo setting for auto memo mode
- Add i18n translations for Cubox settings
- Support saving selected text as memo when auto memo mode is enabled

* update icon

* update changelog

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-04-08 17:24:56 +08:00
Stephen Zhou 16be7cd868 feat(mobile): notification (#3424)
* init messaging

* use expo-notifications plugin

* unread badge

* background fetch

* update

* skip for no user

* cache messaging token

* navigate to entry

* get entry without prefetch

* update channel

* update channel for web and desktop

* remove useless dep

* check user in task

* messaging as hook

* fix condition

* rename
2025-04-08 10:45:11 +08:00
Innei 1e9d20ed47 feat(mobile): streamline settings management and sync functionality
- Updated general and UI settings to utilize shared default settings from the new shared package.
- Introduced a new sync queue for managing local and remote settings synchronization.
- Removed outdated settings interfaces that are now integrated into the shared package.
- Enhanced event handling for setting changes to improve responsiveness and data consistency.

Signed-off-by: Innei <tukon479@gmail.com>
2025-04-07 18:04:29 +08:00
Stephen Zhou ae7723ddd2 refactor: fix durationInSeconds type (#3399)
* chore: fix durationInSeconds type

* chore: type
2025-04-03 17:36:37 +08:00
Stephen Zhou d27e5aba03 fix(mobile): sort language keys 2025-04-02 10:24:34 +08:00
Stephen Zhou 9e4b7a50cf refactor(mobile): clearer language select 2025-04-02 10:14:37 +08:00
Stephen Zhou e2346688b3 chore: type check 2025-04-01 23:02:38 +08:00
DIYgod 2881d655ee feat: staging build (#3365)
* feat: move constants isElectronBuild

* feat: move constants isWebBuild

* feat: unified isDev

* feat: unified isProd

* chore: staging build

* update

* fix

* fix

* feat: staging icons

* fix
2025-03-30 22:13:11 +08:00
Stephen Zhou ea758ca2b2 feat: allow link to social provider with different email (#3355) 2025-03-30 04:52:34 +00:00
Stephen Zhou 0a1f9c4216 chore: update hono type 2025-03-30 12:02:10 +08:00
Stephen Zhou 90320f23b5 build: update better-auth (#3344) 2025-03-30 07:56:40 +08:00
Stephen Zhou abc35be47c feat: translate on server, global action setting (#3294)
* refactor: translate on server

* refactor: remove summary and translation action

* enable summary and translation from settings

* remove translate and summary from action

* follow setting

* ignore whitespace change

* correct content translation for social item

* update

* update

* fix content

* global setting for summary on mobile

* translation store

* show and cache translation

* update migrate sql

* token header for social sign in

* remove readabilityContent in web view

* ci debug

* check repository

* ci check condition

* fix readability

* show entry content translation

* update

* update

* translation for social item

* Revert "remove translate and summary from action"

This reverts commit c8a195a9b224b308cbcd86a6293ffae03e946a72.

* update text

* support global,once,action summary and translation

* fix condition

* refactor

* refactor: extract use entry translation hook

* update

* rename

* Revert "rename"

This reverts commit 672092f88c04670c7e1017aaf8b9caa6499f1877.

* update

* update

* fix

* translation header action

* unsave prompt

* chore: auto-fix linting and formatting issues

* connect and row

* prompt on mobile before leave

* update

* follow action setting

* hide button when follow action

* update changelog
2025-03-28 15:14:03 +08:00
DIYgod 962c31ffed feat(mobile): user agent 2025-03-27 17:40:24 +08:00
Stephen Zhou 5903d7c53b chore: fix type 2025-03-26 23:49:53 +08:00
Innei 217e1a8f2a feat(desktop): simplify settings via enhance settings toggle
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-26 23:20:53 +08:00
Innei 549d76285a refactor(tracker): add tracker package
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-25 21:17:12 +08:00
Stephen Zhou 8a5f92d0e7 refactor: translation language -> action language (#3154)
* refactor: action language -> action language

* type

* mobile

* type

* fix

* prefer local settings, drop backward compatibility

* update

* update

* update

* chore: auto-fix linting and formatting issues

* update

* update

* update

* follow ui

* update

* add description

* fix build

* update

* update

* update
2025-03-24 10:10:48 +08:00
DIYgod 2d6902c410 fix(ssr): env 2025-03-18 17:36:38 +08:00
dependabot[bot]andDIYgod 3909813cb7 build(deps): bump the minor group across 1 directory with 7 updates (#3114)
* build(deps): bump the minor group across 1 directory with 7 updates

Bumps the minor group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| @better-auth/expo | `1.1.18` | `1.2.4` |
| [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) | `1.1.18` | `1.2.4` |
| [@sentry/react](https://github.com/getsentry/sentry-javascript) | `9.1.0` | `9.5.0` |
| [@mozilla/readability](https://github.com/mozilla/readability) | `0.5.0` | `0.6.0` |
| [plain-shiki](https://github.com/KazariEX/plain-shiki) | `0.1.1` | `0.2.0` |
| [re-resizable](https://github.com/bokuweb/react-resizable-box) | `6.10.3` | `6.11.2` |
| [react-scan](https://github.com/aidenybai/react-scan) | `0.1.3` | `0.2.14` |



Updates `@better-auth/expo` from 1.1.18 to 1.2.4

Updates `better-auth` from 1.1.18 to 1.2.4
- [Release notes](https://github.com/better-auth/better-auth/releases)
- [Commits](https://github.com/better-auth/better-auth/commits/v1.2.4/packages/better-auth)

Updates `@sentry/react` from 9.1.0 to 9.5.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/9.1.0...9.5.0)

Updates `@mozilla/readability` from 0.5.0 to 0.6.0
- [Changelog](https://github.com/mozilla/readability/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mozilla/readability/compare/0.5.0...0.6.0)

Updates `plain-shiki` from 0.1.1 to 0.2.0
- [Release notes](https://github.com/KazariEX/plain-shiki/releases)
- [Changelog](https://github.com/KazariEX/plain-shiki/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KazariEX/plain-shiki/compare/v0.1.1...v0.2.0)

Updates `re-resizable` from 6.10.3 to 6.11.2
- [Release notes](https://github.com/bokuweb/react-resizable-box/releases)
- [Changelog](https://github.com/bokuweb/re-resizable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bokuweb/react-resizable-box/commits)

Updates `react-scan` from 0.1.3 to 0.2.14
- [Release notes](https://github.com/aidenybai/react-scan/releases)
- [Commits](https://github.com/aidenybai/react-scan/compare/v0.1.3...v0.2.14)

---
updated-dependencies:
- dependency-name: "@better-auth/expo"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: better-auth
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@sentry/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: "@mozilla/readability"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: plain-shiki
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: re-resizable
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: react-scan
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix

* fix

* fix

* fix

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: DIYgod <i@diygod.me>
2025-03-14 11:10:08 +08:00
DIYgod 087906aeb4 chore: update dependencies 2025-03-13 17:14:56 +08:00
DIYgod 2c0ae4dbf1 chore: recover .env.example 2025-03-10 18:40:04 +08:00
DIYgod 519b82c790 feat(mobile): use app check 2025-03-09 16:23:33 +08:00
DIYgod ddd3d39204 feat: add recaptcha to sign in and forget password 2025-03-07 21:29:08 +08:00
Stephen Zhou d585dd31b8 fix: app protocol in prod (#2992) 2025-03-07 08:14:31 +00:00
DIYgod 7cc7f54562 feat: reCaptcha verify for claiming 2025-03-06 19:30:26 +08:00
DIYgod c31787713a feat: add google recaptcha 2025-03-06 19:30:26 +08:00
Innei 5f1796d4a6 feat(mobile): add environment profile management
- Introduce `proxyEnv` to dynamically manage environment configurations
- Add `EnvProfileIndicator` to show current environment profile
- Create `useEnvProfile` and `setEnvProfile` for runtime env switching
- Update imports and references to use `proxyEnv` instead of static `env`

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-05 23:21:29 +08:00
DIYgod 7f7b7c55ab feat: init firebase 2025-03-05 21:02:57 +08:00
Innei d20a06dad3 refactor: extract all env from shared
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 19:20:21 +08:00
Innei d6795a0cab fix: import resolver for web
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:30:15 +08:00
DIYgod 8f422af1c1 feat: unifed image proxy and referer handler 2025-03-01 19:43:19 +08:00
DIYgod e4e70acef2 feat: add desktop specific resolver 2025-03-01 17:38:43 +08:00
DIYgod fd81327913 feat: unified env 2025-03-01 15:00:36 +08:00
DIYgod d9e15de48e feat: add mobile specific resolver functionality 2025-03-01 14:40:41 +08:00
DIYgod 861ae35819 fix: NavigationHeaderBackButton 2025-02-28 08:56:57 +08:00
DIYgod 0c761925b1 fix(mobile): list entries cache 2025-02-27 12:21:19 +08:00
DIYgod a1996c8963 feat: remove pictureViewFilterNoImage 2025-02-24 20:43:55 +08:00
DIYgod 6fe8dc910f fix: lists fetch 2025-02-24 11:52:30 +08:00
DIYgod 71bddca2e8 chore: disbale prettier objectWrap 2025-02-20 18:03:18 +08:00
Innei d87a92a095 feat: custom content font size and line height, resolves FOL-354
Signed-off-by: Innei <tukon479@gmail.com>
2025-02-11 23:09:57 +08:00
DIYgod d9bc62b44c feat: get full list feeds 2025-02-11 21:35:29 +08:00
DIYgod 756e76f167 feat: update githubusercontent webp url 2025-02-11 10:49:43 +08:00
Stephen Zhou 85b00f79db fix: pass callbackURL, close #2630 2025-01-22 10:54:53 +08:00
Stephen Zhou 2cd1b5daf9 chore: enable noUncheckedIndexedAccess, better type check (#2608) 2025-01-18 22:35:23 +08:00
DIYgod 8bbd8bf856 feat: add default value for VITE_WEB_URL and remove VITE_IMGPROXY_URL 2025-01-17 22:50:33 +08:00
Stephen Zhou 818b024bbc chore: update hono type 2025-01-17 21:19:16 +08:00
fb531b1c9d feat: 2fa (#2540)
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <i@innei.in>
2025-01-16 20:35:30 +08:00
DIYgod 3dbf7c7ffa fix: fast scroll mark read 2025-01-14 18:12:56 +08:00
Stephen Zhou 01011390a6 chore: update 2025-01-10 21:43:08 +08:00
Stephen Zhou 6746b54bda chore: skipValidation for vitest 2025-01-10 21:38:04 +08:00