Commit Graph

69 Commits (1.4.2)

Author SHA1 Message Date
Bowen Liang 8537abfff8
chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224) 9 months ago
-LAN- 52b2559a14
fix(app.py): if condition (#12314)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 3c45bdf18a
fix: disable gevent in debug mode for better compatibility with JetBrains Python debugger (#12299)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 63a0b8ba79
feat: integrate psycogreen for gevent compatibility in PostgreSQL (#12253)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- d4b848272e
fix: apply gevent threading patch early and ensure unique workflow node execution IDs (#12196)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- e86756cb39
feat(app_factory): speed up api startup (#11762)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Bowen Liang 9b46b02717
refactor: assembling the app features in modular way (#9129)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
Bowen Liang 6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386) 1 year ago
-LAN- 3e04c92ff9
chore(api): remove setting of expired remember_token cookie in after_request (#10582) 1 year ago
-LAN- 9550b884f7
chore: update version to 0.11.1 across all configurations and Docker images (#10539) 1 year ago
Bowen Liang 0e8ab0588f
fix: (#10437 followup) fix conditions with DEBUG config (#10438) 1 year ago
Bowen Liang 0ebe198ff1
chore: use DEBUG in dify_config instead of parsing raw system environment variable in place (#10437) 1 year ago
Bowen Liang 4d9160ca9f
refactor: use dify_config to replace legacy usage of flask app's config (#9089) 1 year ago
zhuhao b9bf60ea23
fix: resolve the error with the db-pool-stat endpoint (#9478) 1 year ago
Sergio Sacristán 28de676956
controller test (#9469) 1 year ago
-LAN- f73751843f
Feat/implement-refresh-tokens (#9233) 1 year ago
kurokobo c0b71f8286
feat: respect x-* headers for redirections (#9054) 1 year ago
Bowen Liang 7c0b159a81
chore: removing unused imports in tests (#9049) 1 year ago
非法操作 9ca2e2c968
chore: remove windows platform timezone set (#8712) 1 year ago
Bowen Liang a1104ab97e
chore: refurish python code by applying Pylint linter rules (#8322) 1 year ago
-LAN- 3571292fbf
chore(api): Introduce Ruff Formatter. (#7291) 1 year ago
Ever 545d3c5a93
chore: Add processId field for metrics of threads/db-pool-stat/health (#6797)
Co-authored-by: 老潮 <zhangyongsheng@3vjia.com>
Co-authored-by: takatost <takatost@users.noreply.github.com>
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
-LAN- 5e6fc58db3
Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
-LAN- d7f75d17cc
Chore/remove-unused-code (#5917) 2 years ago
-LAN- cb8feb732f
refactor: Create a `dify_config` with Pydantic. (#5938) 2 years ago
takatost 017d2c804b
fix: do not remove (#5706) 2 years ago
Joe dd5f3873da
feat: change TRACE_QUEUE_MANAGER_INTERVAL default value (#5698)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
luckylhb90 d37ee498cd
fix: do not remove (#5682)
Co-authored-by: hobo.l <hobo.l@binance.com>
2 years ago
Joe e8b8f6c6dd
Feat/fix ops trace (#5672)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Bowen Liang d0fe56a98e
fix: populate app configs to system environment variables (#5590) 2 years ago
Bowen Liang 2a0f03a511
refactor: extract cors configs into dify config and cleanup the config class (#5507)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Bowen Liang 8890978ad3
chore: use singular style in config class name (#5489) 2 years ago
-LAN- 1336b844fd
feat(api/auth): switch-to-stateful-authentication (#5438) 2 years ago
liuzhenghua 9d5a89eab6
feat: add log date timezone (#4623)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Bowen Liang 3cc6093e4b
feat: introduce pydantic-settings for config definition and validation (#5202)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
takatost 8bca908f15
refactor: config file (#3852) 2 years ago
liuzhenghua 73e9f35ab1
feat: add file log (#3612)
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
2 years ago
Bowen Liang d9b821cecc
chore: apply ruff rules on tests and app.py (#3605) 2 years ago
Garfield Dai 4481906be2
Feat/enterprise sso (#3602) 2 years ago
takatost 5b447d61a6
feat: refactor tongyi models (#3496) 2 years ago
chenxu9741 ad65c891e7
add xls file suport (#3321) 2 years ago
Bowen Liang 552f319b9d
feat: support HTTP response compression in api server (#2680) 2 years ago
takatost 1bd1cd6938
fix: event handlers not registered globally (#2479) 2 years ago
Bowen Liang 063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419) 2 years ago
Bowen Liang 843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check (#2366) 2 years ago
takatost 9f637ead38
bump version to 0.5.3 (#2306) 2 years ago
Charlie.Wei 6355e61eb8
tts models support (#2033)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2 years ago
Yeuoly 86286e1ac8
Feat/assistant app (#2086)
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
2 years ago
Bowen Liang cc9e74123c
improve: introduce isort for linting Python imports (#1983) 2 years ago
takatost d069c668f8
Model Runtime (#1858)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2 years ago