Commit Graph

2406 Commits

Author SHA1 Message Date
Caspian Zhao 55bb1229aa
Feat: Added hreflang link for better SEO. (#1167)
* Update Language type to Readonly

* Add withHrefLang utility function for generating hreflang metadata

* feat: Support for specified language through locale search parameter. (...?locale=zh)

* feat: Added hreflang link for better search engine optimization.
2023-12-20 15:43:36 +08:00
runjuu 6e327f04fd
chore: update `@crossbell/connect-kit` to `1.5.20` (#1166) 2023-12-20 15:27:11 +08:00
365cent 7e48f03917
fix: Icon caching issues, replace with alternative CDN domain (#1153) 2023-12-16 21:59:26 +08:00
Stephen Zhou 269c574220
fix: add eslint-plugin-tailwindcss and fix potential problems (#1155)
* fix: add eslint-plugin-tailwindcss and fix potential problems

* chore: update

* chore: update

* chore: update

* chore: update
2023-12-16 21:55:33 +08:00
Stephen Zhou b50ff968f0
refactor: replace @iconify/tailwind with @egoist/tailwindcss-icons (#1154) 2023-12-16 15:17:57 +08:00
DIYgod 9002dce682
fix: feed request 2023-12-15 20:16:33 +08:00
DIYgod cc340b952c
fix: skip assets for internationalization 2023-12-15 13:40:56 +08:00
DIYgod 17a98922ed
fix: page error when for url with a dot 2023-12-15 03:45:16 +08:00
DIYgod 9cfa24c167
fix: broken translations 2023-12-15 03:33:31 +08:00
Caspian Zhao 4cca85021f
fix: fixed the problem where the preview displayed incorrectly. (#1145) 2023-12-14 13:43:04 +08:00
Caspian Zhao 5f58939d88
feat: support to access the original content if not prefer the AI translation. (#1144) 2023-12-14 13:42:03 +08:00
Caspian Zhao 81caf99fb5
fix: Skip translation if the content is null. (#1136) 2023-12-14 03:49:36 +08:00
Caspian Zhao c1acd5b3f0
feat: Display the translation information. (#1137) 2023-12-14 03:49:07 +08:00
Stephen Zhou 8dadf9813d
fix: content in homepage scroll after postcard is open (#1132) 2023-12-13 03:12:41 +08:00
Stephen Zhou 3193c8d886
fix: combobox default value (#1128)
* fix: combobox default value

* chore: add optional chaining
2023-12-11 21:34:28 +08:00
MoLeft 3ffb19d0a0
fix: Taginput bug (#1125) 2023-12-09 14:58:07 +08:00
DIYgod 7cd58fcba5
Merge branch 'dev' 2023-12-07 08:13:05 +00:00
DIYgod 8098d79b51
fix: rewrite headers with intel 2023-12-07 08:06:02 +00:00
Caspian Zhao 979d31e1f5
Merge pull request #1114 from Crossbell-Box/dev
Release
2023-12-06 16:08:08 +00:00
Caspian Zhao 871a4f8a17
Merge pull request #1115 from Crossbell-Box/fix/ssr_trans
fix: solved the ssr issue.
2023-12-05 14:41:45 +00:00
Caspian 5a818dd2f7 fix: solved the ssr issue. 2023-12-05 14:36:21 +00:00
Caspian Zhao 12f4bd3350
Merge pull request #1113 from Crossbell-Box/fix/details_translate
fix: fixed translation issue on details page.
2023-12-05 13:20:29 +00:00
Caspian 0dc7ce2a03 fix: fixed translation issue on details page. 2023-12-05 13:19:37 +00:00
Caspian Zhao 8cd83b33ab
Merge pull request #1111 from Crossbell-Box/chore/rm_deps
chore: rm i18next-resources-to-backend.
2023-12-05 10:12:53 +00:00
Caspian 9a10336922 chore: rm i18next-resources-to-backend. 2023-12-05 10:00:34 +00:00
Caspian Zhao 4820e5a3dd
Merge pull request #1059 from Crossbell-Box/feat/add_image_dimension_field
feat: Add imagesDimensions field.
2023-12-05 09:57:08 +00:00
Caspian 8c2b11abe3 chore: update lockfile. 2023-12-05 09:52:03 +00:00
Caspian 25f1c6ea73 Merge branch 'dev' into feat/add_image_dimension_field 2023-12-05 09:51:36 +00:00
Caspian Zhao 83ea3740a6
Merge pull request #1060 from Crossbell-Box/feat/automatic_translate_content
feat: Support to translate posts content by ai.
2023-12-05 09:31:16 +00:00
Caspian 68c7138763 chore: resolved comments. 2023-12-04 17:50:17 +00:00
Caspian 086cf5536a chore: solved comments. 2023-12-04 17:36:03 +00:00
Caspian 55b758594a chore: rm exports in API route. 2023-12-03 13:38:44 +00:00
Caspian 21258cc56e Merge branch 'dev' into feat/automatic_translate_content 2023-12-01 17:56:44 +00:00
Caspian e7409a4e7a feat: Invoke translateNote via API. 2023-12-01 17:53:49 +00:00
Caspian f520e63b19 Merge branch 'dev' into feat/automatic_translate_content 2023-12-01 15:59:13 +00:00
Caspian dcb53e1dd7 Merge branch 'dev' into feat/add_image_dimension_field 2023-12-01 15:36:33 +00:00
Caspian 4d9a760cc4 feat: Invoke imageDimensions method via API. 2023-12-01 15:34:02 +00:00
Stephen Zhou bb98256042
feat: add github alerts support (#1095) 2023-12-01 21:31:08 +08:00
DIYgod 55db2992b7
feat: reverse twitter images metadata, close #1038 2023-11-28 21:58:31 +08:00
DIYgod 4ff18beb8e
chore: update dependencies 2023-11-28 01:37:25 +08:00
DIYgod 91aa185d1c
feat: use next-intl (#1026)
* feat: use next-intl

* feat: set next-intl localePrefix to never

* chore: add next-intl

* chore: fix lock file

* feat: use [locale]

* fix: the custom rewrite conflict with next-intl rewrite in middleware

* fix: getTranslations function name

* fix: remove comma in translation key

* fix: next-intl dev error

* feat: update tran text

* feat: transaction for about page

* feat: i18n for server components

* feat: i18n for client components

* feat: i18n for client components and provider

* feat: i18n for language switch

* feat: remove i18next

* feat: custom intl error, ignore MISSING_MESSAGE error

* feat: use useLocale

* fix: unstable_setRequestLocale for middleware error
2023-11-28 01:34:49 +08:00
incubator4 b311d6a975 feat(deploy/dev/svc.yaml): add ACL 2023-11-23 20:20:20 +08:00
incubator4 40f359d506 feat(deploy/dev/cm.yaml): add client ip 2023-11-23 20:18:47 +08:00
DIYgod 6a3fe74f8b
fix: filebase image optimization error 2023-11-23 20:13:49 +08:00
Caspian e7fa9c0781 Support to translate posts content by ai. 2023-11-22 23:59:21 +00:00
Caspian 3fc91b60b7 feat: Add imagesDimensions field. 2023-11-22 22:47:27 +00:00
dependabot[bot] 6166754636
chore(deps): bump langchain from 0.0.195 to 0.0.196 (#1057)
Bumps [langchain](https://github.com/langchain-ai/langchainjs) from 0.0.195 to 0.0.196.
- [Release notes](https://github.com/langchain-ai/langchainjs/releases)
- [Commits](https://github.com/langchain-ai/langchainjs/compare/0.0.195...0.0.196)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 11:54:44 +08:00
dependabot[bot] 02e03f361a
chore(deps-dev): bump @types/node from 20.9.3 to 20.9.4 (#1056)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.9.3 to 20.9.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 11:54:35 +08:00
dependabot[bot] 9198c4d1dc
chore(deps-dev): bump @types/sortablejs from 1.15.6 to 1.15.7 (#1055)
Bumps [@types/sortablejs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sortablejs) from 1.15.6 to 1.15.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sortablejs)

---
updated-dependencies:
- dependency-name: "@types/sortablejs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 11:54:27 +08:00
dependabot[bot] 8aee16daec
chore(deps): bump viem from 1.19.5 to 1.19.6 (#1054)
Bumps [viem](https://github.com/wagmi-dev/viem) from 1.19.5 to 1.19.6.
- [Release notes](https://github.com/wagmi-dev/viem/releases)
- [Commits](https://github.com/wagmi-dev/viem/compare/viem@1.19.5...viem@1.19.6)

---
updated-dependencies:
- dependency-name: viem
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 11:54:19 +08:00