Commit Graph

33 Commits (8d7c903def289992ae8cd1daac411a66309f6842)

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
crazywoola eb8584613b
fix: Account.query => db.session.query(Account) (#17667) 10 months ago
Jasonfish fd443941a2
feat(improve-api-endpoints): Added Datasets and Annotation APIs (#12237) 10 months ago
Jyong 9b2a9260ef
Feat/new saas billing (#14996) 11 months ago
Yeuoly 9a417bfc5e
fix: update database query and model definitions (#14415) 11 months ago
EricPan 05a0faff6a
fix: app token's last_used_at can't be updated when last_used_at is null (#12770) 1 year ago
Jyong 9a6b1dc3a1
Revert "Feat/new saas billing" (#12673) 1 year ago
yihong 4e101604c3
fix: ruff check for True if ... else (#12576)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Jyong d8f57bf899
Feat/new saas billing (#12591) 1 year ago
-LAN- 0eeacdc80c
refactor: enhance API token validation with session locking and last used timestamp update (#12426)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
yihong 56e15d09a9
feat: mypy for all type check (#10921) 1 year ago
Bowen Liang 6c8e208ef3
chore: bump minimum supported Python version to 3.11 (#10386) 1 year ago
Garfield Dai 54b693d5b1
feat: update saas billing hint. (#7760) 1 year ago
-LAN- 13be84e4d4
chore(api/controllers): Apply Ruff Formatter. (#7645) 1 year ago
非法操作 e121788ff5
chore: make the error msg more clear when validate app token (#4919)
Co-authored-by: Jyong <76649700+johnjyong@users.noreply.github.com>
2 years ago
Garfield Dai 4481906be2
Feat/enterprise sso (#3602) 2 years ago
LIU HONGWEI c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling (#3408) (#3416) 2 years ago
Jyong e12a0c154c
add segment function billing check for SAAS env (#3082)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
Garfield Dai 8e66b96221
Feat: Add documents limitation (#2662) 2 years ago
takatost 90bdc85f8c
fix: AppParameterApi.get() got an unexpected keyword argument 'end_user' (#2607) 2 years ago
takatost 0828873b52
fix: missing default user for APP service api (#2606) 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
crazywoola 828822243a
fix: multiple rows were found correctly (#2219) 2 years ago
IAMZn d60f1a5601
fix:determine multiple result exceptions caused by admin (#2211)
Co-authored-by: chenxin <chenxin@limayao.com>
2 years ago
Bowen Liang e2c89a9487
fix: bypass admin users to use dataset api with API key (#2072) 2 years ago
Bowen Liang cc9e74123c
improve: introduce isort for linting Python imports (#1983) 2 years ago
Garfield Dai 7b37e05dec
feat: add billing switch. (#1789)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2 years ago
Garfield Dai 7b8a10f3ea
feat: billing enhancement 20231204 (#1691)
Co-authored-by: jyong <jyong@dify.ai>
2 years ago
takatost 024250803a
feat: move login_required wrapper outside (#1281) 2 years ago
Jyong 46154c6705
Feat/dataset service api (#1245)
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2 years ago
takatost 09ea27f1ee
feat: optimize service api authorization header invalid error (#910) 3 years ago
John Wang db896255d6 Initial commit 3 years ago