yyh
871ec3b0ca
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/controllers/console/app/app.py
# web/eslint-suppressions.json
# web/eslint.config.mjs
2026-02-06 14:40:44 +08:00
yyh
e2913d9ee1
Revert "refactor!: replace Zustand global store with TanStack Query for systemFeatures"
...
This reverts commit 806ece9a67 .
2026-02-01 19:06:45 +08:00
yyh
806ece9a67
refactor!: replace Zustand global store with TanStack Query for systemFeatures
...
Follow-up to SSR prefetch migration (2833965 ). Eliminates the Zustand
middleman that was syncing TanStack Query data into a separate store.
- Remove useGlobalPublicStore Zustand store entirely
- Create hooks/use-global-public.ts with useSystemFeatures,
useSystemFeaturesQuery, useIsSystemFeaturesPending, useSetupStatusQuery
- Migrate all 93 consumers to import from @/hooks/use-global-public
- Simplify global-public-context.tsx to a thin provider component
- Update 18 test files to mock the new hook interface
- Fix SetupStatusResponse.setup_at type from Date to string (JSON)
- Fix setup-status.spec.ts mock target to match consoleClient
BREAKING CHANGE: useGlobalPublicStore is removed. Use useSystemFeatures()
from @/hooks/use-global-public instead.
2026-02-01 19:06:08 +08:00
Stephen Zhou
3de33f7a4e
fix: check and update doc links ( #30849 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com >
2026-01-22 16:13:09 +08:00
Stephen Zhou
061feebd87
fix: check and update doc links ( #30849 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com >
2026-01-21 16:31:48 +08:00
Stephen Zhou
91da784f84
refactor: init orpc contract ( #30885 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2026-01-13 23:38:28 +09:00
yyh
1fbdf6b465
refactor(web): setup status caching ( #30798 )
2026-01-13 16:59:49 +08:00
yyh
7beed12eab
refactor(web): migrate legacy forms to TanStack Form ( #30631 )
2026-01-06 20:18:27 +08:00
sszaodian
2b838077e0
fix: when first setup after auto login error ( #30523 )
...
Co-authored-by: maxin <maxin7@xiaomi.com >
Co-authored-by: 非法操作 <hjlarry@163.com >
2026-01-04 20:24:49 +08:00
Stephen Zhou
6d0e36479b
refactor(i18n): use JSON with flattened key and namespace ( #30114 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-29 14:52:32 +08:00
Stephen Zhou
1e3823e605
chore: fix type check for i18n ( #30058 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-24 16:31:16 +08:00
Stephen Zhou
403adefc07
chore: lint require and how to import react ( #30041 )
2025-12-23 18:02:10 +08:00
Stephen Zhou
f2842da397
chore(web): new lint setup ( #30020 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2025-12-23 16:58:55 +08:00
Stephen Zhou
a26881cb24
refactor: unified cn utils ( #29916 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2025-12-19 12:08:34 +08:00
feelshana
2bcf96565a
Feature:during account initialization, set the interface language to be consistent with the display language( #27029 ) ( #27042 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-21 15:53:12 +08:00
-LAN-
9a5f214623
refactor: replace localStorage with HTTP-only cookies for auth tokens ( #24365 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com >
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <wylswz@163.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: GareArc <chen4851@purdue.edu >
Co-authored-by: NFish <douxc512@gmail.com >
Co-authored-by: Davide Delbianco <davide.delbianco@outlook.com >
Co-authored-by: minglu7 <1347866672@qq.com >
Co-authored-by: Ponder <ruan.lj@foxmail.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: heyszt <270985384@qq.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Guangdong Liu <liugddx@gmail.com >
Co-authored-by: Eric Guo <eric.guocz@gmail.com >
Co-authored-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
Co-authored-by: XlKsyt <caixuesen@outlook.com >
Co-authored-by: Dhruv Gorasiya <80987415+DhruvGorasiya@users.noreply.github.com >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: hj24 <mambahj24@gmail.com >
Co-authored-by: GuanMu <ballmanjq@gmail.com >
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Tonlo <123lzs123@gmail.com >
Co-authored-by: Yusuke Yamada <yamachu.dev@gmail.com >
Co-authored-by: Novice <novice12185727@gmail.com >
Co-authored-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: Ademílson Tonato <ademilsonft@outlook.com >
Co-authored-by: znn <jubinkumarsoni@gmail.com >
Co-authored-by: yangzheli <43645580+yangzheli@users.noreply.github.com >
2025-10-19 21:29:04 +08:00
-LAN-
30e5c197cb
fix: standardize text color in install form to text-secondary ( #25272 )
2025-09-06 16:05:01 +08:00
Yongtao Huang
208ce4e774
CI: add TS indentation check via esLint ( #24810 )
2025-09-01 15:31:59 +08:00
-LAN-
f7416eb810
feat: auto-login after admin account setup ( #24395 )
2025-08-25 09:29:22 +08:00
Rhon Joe
7f5087c6db
reject whitespace characters in password regexp ( #22232 )
2025-07-11 19:18:18 +08:00
Bowen Liang
f4df759ba6
refactor: generalize method for getting doc link respecting locale and fix error link paths ( #20801 )
2025-06-13 10:58:43 +02:00
NFish
d186daa131
E-300 ( #19726 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Hash Brown <hi@xzd.me >
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: GareArc <chen4851@purdue.edu >
Co-authored-by: Byron.wang <byron@dify.ai >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
Co-authored-by: KVOJJJin <jzongcode@gmail.com >
Co-authored-by: Alexi.F <654973939@qq.com >
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com >
Co-authored-by: kautsar_masuara <61046989+izon-masuara@users.noreply.github.com >
Co-authored-by: achmad-kautsar <achmad.kautsar@insignia.co.id >
Co-authored-by: Xin Zhang <sjhpzx@gmail.com >
Co-authored-by: kelvintsim <83445753+kelvintsim@users.noreply.github.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Zixuan Cheng <61724187+Theysua@users.noreply.github.com >
2025-05-20 12:07:50 +08:00
johnny0120
49af07f444
fix: use NextJS basePath and WEB_PREFIX to support custom prefix ( #19497 )
...
Co-authored-by: johnny0120 <15564476+johnny0120@users.noreply.github.com >
2025-05-12 13:44:41 +08:00
GQ1994
9982445dad
Added the missing path of the webpath prefix and the prefix basepath + of static resources to remove the bug of adding more basepath. ( #18658 )
...
Co-authored-by: qingguo <qingguo@lexin.com >
2025-04-24 17:14:26 +08:00
diuwu
7161d7ad96
feat: add base path to resources ( #17655 )
...
Co-authored-by: fhliu4 <fhliu4@iflytek.com >
2025-04-15 17:05:50 +08:00
KVOJJJin
c66fda7c71
chore: independent page style update ( #17176 )
2025-03-31 15:44:04 +08:00
KVOJJJin
e008faf729
Feat: dark mode for independent pages ( #17045 )
2025-03-31 10:28:19 +08:00
Joel
7709d9df20
Chore: frontend infrastructure upgrade ( #16420 )
...
Co-authored-by: NFish <douxc512@gmail.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: jZonG <jzongcode@gmail.com >
2025-03-21 17:41:03 +08:00
Lam
0bc4da38fc
feat: add debounced enter key submission to install form ( #15445 ) ( #15542 )
2025-03-12 11:25:54 +08:00
NFish
3898fe3311
New Auth Methods ( #8119 )
2024-10-21 09:23:20 +08:00
Joel
3d2cb25a67
fix: change wrong company name ( #8801 )
2024-09-26 17:53:11 +08:00
Joel
eff280f3e7
feat: tailwind related improvement ( #6085 )
2024-07-09 15:05:40 +08:00
zxhlyh
5d4d65a85b
fix: button ( #5470 )
2024-06-21 14:17:45 +08:00
TinsFox
a3bd5eba02
refactor: refactor the button component using forwardRef ( #4379 )
...
Co-authored-by: KVOJJJin <jzongcode@gmail.com >
2024-06-19 14:13:16 +08:00
TinsFox
cc835d523c
refactor: install form ( #4154 )
2024-05-09 15:38:09 +08:00
KVOJJJin
2fd702a319
Fix: password check in page of install ( #3978 )
2024-04-29 15:27:45 +08:00
crazywoola
9574730050
Feat/i18n restructure ( #2529 )
2024-02-23 14:31:06 +08:00
Joel
5a004ae429
fix: unsafe external link ( #2356 )
2024-02-02 15:42:42 +08:00
Chenhe Gu
09acf215f0
add option to prompt for a validation password when initializing admin user ( #2302 )
2024-02-01 15:03:56 +08:00
crazywoola
e58c3ac374
Fix/language support ( #2154 )
2024-01-24 11:08:11 +08:00
Matri
6242e91a6b
Fix: Install page redirects to signin if Dify finished setup. ( #762 )
2023-08-07 13:19:47 +08:00
Matri
f914eb95eb
fix: doc links ( #763 )
2023-08-07 10:50:45 +08:00
Selenium39
dd1172b57e
Perf: Support for password display and hiding ( #636 )
...
Co-authored-by: Selenium39 <selenium39@qq.com >
2023-07-24 14:48:00 +08:00
KVOJJJin
cd51d3323b
feat: member invitation and activation ( #535 )
...
Co-authored-by: John Wang <takatost@gmail.com >
2023-07-14 11:19:26 +08:00
Joel
17a8118154
fix: email reg ( #135 )
2023-05-22 10:39:51 +08:00
Yuanyuan Zhang
d8425f3f4c
Fix the email validation problem for a.b@c.club. ( #94 )
...
Co-authored-by: yyzhang <yuanyuan.zhang@haochezhu.club >
2023-05-22 10:08:26 +08:00
John Wang
db896255d6
Initial commit
2023-05-15 08:51:32 +08:00