Commit Graph

335 Commits

Author SHA1 Message Date
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
Stephen Zhou fa3cce2fa9
build: update lint config (#3234)
* build: update lint config

* update

* update

* update
2025-03-22 12:35:53 +08:00
DIYgod f2e29252f2
feat: rename (#3181)
* feat: rename

* fix

* fix

* fix
2025-03-19 21:43:55 +08:00
DIYgod 2d6902c410
fix(ssr): env 2025-03-18 17:36:38 +08:00
Konv Suu bb51cc45e7
refactor: improve time formatting to support multiple formats (#3157) 2025-03-18 10:15:58 +08:00
Konv Suu 3c2586df51
fix: incorrect formatting of time duration (#3148)
* feat(desktop): add duration formatting for audio entries

* update

* update

* update

* update

* update

---------

Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2025-03-18 09:33:27 +08:00
dependabot[bot] 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
Stephen Zhou c4412c5e0a
build: revert unist-util-visit-parents update (#3106) 2025-03-13 13:51:58 +00:00
DIYgod d54535dc45
feat: remove @auth/core 2025-03-13 18:14:40 +08:00
dependabot[bot] 55c1def859
build(deps): bump unist-util-visit-parents from 5.1.3 to 6.0.1 (#3090)
Bumps [unist-util-visit-parents](https://github.com/syntax-tree/unist-util-visit-parents) from 5.1.3 to 6.0.1.
- [Release notes](https://github.com/syntax-tree/unist-util-visit-parents/releases)
- [Commits](https://github.com/syntax-tree/unist-util-visit-parents/compare/5.1.3...6.0.1)

---
updated-dependencies:
- dependency-name: unist-util-visit-parents
  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-03-13 17:46:30 +08:00
DIYgod 087906aeb4
chore: update dependencies 2025-03-13 17:14:56 +08:00
dependabot[bot] d73806ab13
build(deps): bump remark-directive from 3.0.1 to 4.0.0 (#3089)
Bumps [remark-directive](https://github.com/remarkjs/remark-directive) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/remarkjs/remark-directive/releases)
- [Commits](https://github.com/remarkjs/remark-directive/compare/3.0.1...4.0.0)

---
updated-dependencies:
- dependency-name: remark-directive
  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-03-13 16:27:37 +08:00
DIYgod ae458a018f
chore: update dependencies 2025-03-13 11:51:32 +08:00
dependabot[bot] 36fedc1ffb
build(deps): bump drizzle-orm from 0.39.3 to 0.40.0 (#3058)
Bumps [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) from 0.39.3 to 0.40.0.
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/compare/0.39.3...0.40.0)

---
updated-dependencies:
- dependency-name: drizzle-orm
  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-03-13 11:38:33 +08:00
DIYgod dbc47659b1
fix(mobile): images in video item 2025-03-11 17:58:07 +08:00
DIYgod 73fb08ed55
feat(mobile): avoid direct expo-image 2025-03-11 16:05:20 +08:00
Stephen Zhou dfc7cba17c
update 2025-03-11 11:32:29 +08:00
Stephen Zhou 6d09103245
fix 2025-03-11 11:27:37 +08:00
DIYgod 2c0ae4dbf1
chore: recover .env.example 2025-03-10 18:40:04 +08:00
Stephen Zhou b5272910e2
build: update lint (#3010)
* chore: update deps

* update patch

* disable @eslint-react/naming-convention/use-state

* fix: enable "TAILWIND_MODE"

* update
2025-03-09 21:53:10 +08:00
DIYgod 519b82c790
feat(mobile): use app check 2025-03-09 16:23:33 +08:00
DIYgod b04d5b0685
fix: request origin 2025-03-09 09:02:22 +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
Stephen Zhou 699b4d0ad8
feat(mobile): readability (#2978)
* feat(mobile): readability support

* update

* update

* silent lint

* chore: auto-fix linting and formatting issues

* update

* update

* manually trigger fetch
2025-03-06 15:50:45 +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 0be6255d0b
fix: types 2025-03-05 21:29:23 +08:00
Innei 6588b3e7f4
feat(mobile): add estimated duration display for entry items (#2956) 2025-03-05 21:10:39 +08:00
DIYgod 7f7b7c55ab
feat: init firebase 2025-03-05 21:02:57 +08:00
kovsu 3f1cfcc13a update 2025-03-05 00:01:17 +08:00
Innei 892f782169
feat: Add SVG and suspended user support, #2945
- Extend markdown parsing to support SVG elements and attributes

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 22:08:31 +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 8b07a9a573
chore: desktop dir (#2924)
* chore: desktop dir

* chore: desktop src and configs

* chore: auto-fix linting and formatting issues

* fix: path

* fix: path

* fix: path

* fix: path

* fix

* fix

* fix

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: DIYgod <8266075+DIYgod@users.noreply.github.com>
2025-03-02 17:19:22 +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
Whitewater 6cbdf4599c
feat(mobile): add context menu for video (#2876)
* chore: clean code

* feat(mobile): add star fn in the image context menu

* feat(mobile): add video context menu with star, open, copy, and share options

* feat(mobile): integrate video context menu and enhance media item rendering

* refactor: strict types

* chore: clean code

* fix: types
2025-02-25 13:27:04 +08:00
Stephen Zhou f324fc05dc
fix: update framer motion version (#2884) 2025-02-25 02:41:20 +00: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
Innei ba02009c9a
refactor(timeline): extract quick selector panel into separate component
- Created new QuickSelectorPanel component
- Moved panel rendering logic out of TimelineSelector
- Extracted triangle menu interaction logic into a separate hook
- Simplified TimelineSelector component structure
- Exported useTriangleMenu hook from hooks package

Signed-off-by: Innei <tukon479@gmail.com>
2025-02-20 23:31:34 +08:00
Stephen Zhou 8e2dfe99c8
feat(mobile): audio player (#2801) 2025-02-20 20:40:44 +08:00
Stephen Zhou bd476807e5
refactor(native): remove sn pro font (#2828) 2025-02-20 20:31:26 +08:00
DIYgod 71bddca2e8
chore: disbale prettier objectWrap 2025-02-20 18:03:18 +08:00