Commit Graph

529 Commits

Author SHA1 Message Date
RockYang
a9adc0c1a2 feat: stable diffusion image drawing on mobile is ready 2024-04-03 18:13:48 +08:00
RockYang
9cc2ea412b feat: image preview for stable-diffusion task is ready 2024-04-02 17:24:38 +08:00
RockYang
3f1ad4b7dc feat: support midjourney --cref and --sref for role consistency 2024-04-02 14:59:53 +08:00
RockYang
56c225bf20 feat: update menu icons, add version in site titles 2024-04-01 18:20:00 +08:00
RockYang
a5299b52d4 opt: change the relative path with absolute path for midjourney image uploading 2024-03-31 17:45:22 +08:00
RockYang
eefcabcff3 update databases 2024-03-29 17:43:38 +08:00
RockYang
63e4669e3f feat: support custom menu 2024-03-29 15:41:58 +08:00
RockYang
13f89bf335 fix: fix overflow hidden for mobile page 2024-03-28 18:13:33 +08:00
RockYang
e6a18445c3 fix: use slide captcha for iphone 2024-03-28 15:00:53 +08:00
RockYang
c8ab209426 feat: add mj_action_power system config item 2024-03-28 09:53:41 +08:00
RockYang
360fea4085 feat: change midjourney origin implements, replace midjourney bot with midjourney-proxy 2024-03-27 18:57:15 +08:00
RockYang
9794d67eaa feat: auto translate and rewrite prompt for midjourney and stable-diffusion 2024-03-27 13:45:52 +08:00
RockYang
b60a639312 feat: stable-diffusion refactored, replace websocket api with sdapi 2024-03-26 18:23:08 +08:00
RockYang
870706c4ff fix: can not change user's power in admin console 2024-03-25 11:40:03 +08:00
RockYang
491471fa10 fix: fix bug for update user's power in admin page did not work 2024-03-23 16:21:37 +08:00
RockYang
6dbf61d4e4 No need to login with Stable-Diffusion page and Invite page 2024-03-23 15:45:37 +08:00
RockYang
37cdc26160 chore: correct prompt messages 2024-03-22 18:27:57 +08:00
RockYang
fb6a35ebe4 feat: add chart for admin dashbord 2024-03-22 16:57:30 +08:00
RockYang
f7a565bb80 feat: integrate xxl-job-admin to implements automatic task scheduling 2024-03-22 13:47:16 +08:00
RockYang
bf5e72b7e0 feat: save prompt in power log for dalle-3 2024-03-21 15:55:39 +08:00
RockYang
ec6186596d feat: add manager list page in console page 2024-03-21 15:24:28 +08:00
RockYang
dece19cec6 feat: add powerlog page for admin console 2024-03-21 13:46:39 +08:00
RockYang
6aa1d27711 opt: optimize the formula show styles 2024-03-21 11:04:12 +08:00
RockYang
264e77f383 always parse authorization token for all request 2024-03-20 21:11:52 +08:00
RockYang
0cbc284e42 fixed conflicts 2024-03-20 20:40:22 +08:00
RockYang
49438d2ee1 feat: Async loading midjourney job for mobile MidJourney page 2024-03-20 18:39:14 +08:00
RockYang
735aa24020 feat: h5 payment for payjs is ready 2024-03-20 17:46:39 +08:00
RockYang
14f63a203d feat: payment for mobile pages is ready 2024-03-20 16:14:02 +08:00
RockYang
e11c0a3633 feat: the power log page is ready 2024-03-20 14:14:30 +08:00
RockYang
ca83f139f7 feat: no need login refactor with member and chatApps page 2024-03-19 18:59:02 +08:00
RockYang
58e44b7d12 feat: load preview page do not require user to login 2024-03-19 18:25:01 +08:00
RockYang
8f47474edd feat: optimize login dialog 2024-03-19 10:47:13 +08:00
RockYang
c5200aada8 feat: refactoring adjustments for reward page is ready 2024-03-18 18:28:34 +08:00
RockYang
4e39b93673 feat: refactoring adjustments for member pages 2024-03-18 16:59:07 +08:00
RockYang
f215643f2e feat: The 'chat_models' field of user table, holds the model IDS in place of the model values 2024-03-18 15:37:46 +08:00
RockYang
aa72be6ff3 remove new-ui files 2024-03-18 12:01:34 +08:00
RockYang
b567e56b60 chore: adjust page styles 2024-03-18 06:46:08 +08:00
RockYang
17431c1707 重构主体工作完成 2024-03-15 18:35:10 +08:00
RockYang
7c9ebef5e9 restore new ui files 2024-03-15 11:13:02 +08:00
RockYang
9e2af9dbca feat: refactor user list page for new UI 2024-03-15 09:29:19 +08:00
吴汉强
c712b95e0d feat(ui): 后台首页去掉权限判断 2024-03-14 17:24:40 +08:00
吴汉强
143d2b44d0 feat(ui): 403,没权限 2024-03-14 16:41:38 +08:00
吴汉强
ef130fe377 feat(ui): 网站配置需授权,去掉 2024-03-14 16:28:49 +08:00
吴汉强
af5afd7700 feat(ui): 后端加权限验证 2024-03-14 15:39:12 +08:00
吴汉强
6d5579a8d6 feat(ui): 登录接口返回权限 2024-03-14 10:28:32 +08:00
吴汉强
aa58ba392e Merge remote-tracking branch 'origin/ui' into ui 2024-03-13 17:24:38 +08:00
吴汉强
0485610818 feat(ui): 增加角色管理,管理员方法新增角色关联 2024-03-13 17:24:30 +08:00
chenzifan
7cb8becc09 Merge remote-tracking branch 'origin/ui' into ui 2024-03-13 14:40:45 +08:00
chenzifan
8fa535a01b refactor: remove api change to post request 2024-03-13 14:40:38 +08:00
吴汉强
5f202e03a2 Merge remote-tracking branch 'origin/ui' into ui 2024-03-13 11:41:07 +08:00
吴汉强
ef2dfe330b feat(ui): 增加系统权限管理 2024-03-13 11:41:01 +08:00
RockYang
27f8e63f3d Merge branch 'ui' of 172.28.1.6:yangjian/chatgpt-plus into ui 2024-03-13 08:48:10 +08:00
chenzifan
e8d7ad58be fix: 删除系统管理员失效的问题 2024-03-13 08:47:17 +08:00
chenzifan
f4d537e0f5 Merge remote-tracking branch 'origin/ui' into ui
# Conflicts:
#	api/handler/admin/admin_user_handler.go
2024-03-13 08:46:16 +08:00
chenzifan
d6c93dd537 fix: 删除系统管理员失效的问题 2024-03-13 08:45:09 +08:00
chenzf@pvc123.com
b8fcfe2e7c feat: 超级管理员不支持修改和删除 2024-03-12 21:16:05 +08:00
RockYang
072c96e1ec Merge branch 'ui' of 172.28.1.6:yangjian/chatgpt-plus into ui 2024-03-12 18:07:24 +08:00
chenzifan
9bf1576fb4 feat: 增加系统管理员 2024-03-12 18:06:49 +08:00
RockYang
d648e177c4 fix conflicts 2024-03-12 18:03:24 +08:00
RockYang
e8f62af7f6 refactor: use power replace calls for front pages 2024-03-12 17:47:06 +08:00
RockYang
e746aafa2f refactor: 重构项目,为所有的 AI 工具都引入算力,采用算力统一结算各个工具的调用次数和权限 2024-03-12 15:40:44 +08:00
RockYang
316636f83c feat: replace Tools param with Function param for OpenAI chat API 2024-03-11 14:09:19 +08:00
chenzifan
26dc479596 feat: 优化后台UI 2024-03-11 13:51:26 +08:00
chenzifan
7327b90255 Merge branch 'main' of 172.28.1.6:yangjian/chatgpt-plus into ui 2024-03-07 08:37:54 +08:00
chenzifan
6ce7a9c16f feat: 增加系统用户管理 2024-03-07 08:37:48 +08:00
RockYang
5f36f1af11 add prompt translating function for mobile midjourney page 2024-03-06 16:22:03 +08:00
RockYang
a6f05a5874 Merge branch 'dev' of gitee.com:blackfox/chatgpt-plus-pro into dev 2024-03-04 08:34:12 +08:00
RockYang
3fb74a1598 feat: add removing order button in admin order list page 2024-03-03 19:27:22 +08:00
RockYang
2ac44cdeb6 fix: fix major bugs for unauthorized access to data 2024-03-03 10:40:32 +08:00
RockYang
3264fda06e fix: fixed bug image preview im mobile chat session page 2024-02-29 15:41:45 +08:00
RockYang
8182e6797f opt: add logs for mj-plus api error 2024-02-28 15:50:42 +08:00
RockYang
99cb48ce88 opt: replace proxy url for discord image url 2024-02-27 17:45:57 +08:00
RockYang
e391bfca80 feat: add change password in with mobile page 2024-02-27 15:36:20 +08:00
RockYang
0181ad3715 feat: add image preview for mobile chat page 2024-02-26 18:11:37 +08:00
RockYang
b95dff0751 feat: replace http polling with webscoket notify in sd image page 2024-02-26 15:45:54 +08:00
RockYang
668d4c9c64 chore: replace 'token' with power 2024-02-23 18:11:57 +08:00
RockYang
66c0d1b2f7 docs: update mj-plus api domain 2024-02-23 15:41:02 +08:00
RockYang
bef0996375 opt: remove global keyup event bind 2024-02-23 11:43:27 +08:00
RockYang
391a1e4cf0 docs: update config.toml 2024-02-22 17:53:39 +08:00
RockYang
5c9b1e8764 feat: allow to view chat message in manager console 2024-02-22 17:16:44 +08:00
RockYang
dbcf14b566 feat: download image which ai generated in dialog and replace the image url 2024-02-20 18:38:03 +08:00
RockYang
f263fc067a feat: allow user config third-party platform openai and mj api key 2024-02-20 11:23:55 +08:00
RockYang
6635b88baa feat: added delete file function 2024-02-19 16:43:03 +08:00
RockYang
76d86395ef fix: Upscale and Variation task overrite each other 2024-02-16 18:08:29 +08:00
RockYang
e268870636 feat: midjourney mobile page all function is ready 2024-02-16 15:55:04 +08:00
RockYang
49e9f41ef2 feat: mobile mj list page is ready 2024-02-15 18:11:22 +08:00
RockYang
68cda968a1 feat: add mj image list component for mobile page. fixed bug for html tag escape 2024-02-15 11:39:04 +08:00
RockYang
56a91db7e7 opt: add default extension for mj image 2024-01-30 21:46:17 +08:00
RockYang
9446bf5f98 add docs and github link 2024-01-30 16:18:27 +08:00
RockYang
23e353b18b opt: enable use cdn url for mj-plus 2024-01-28 21:56:25 +08:00
RockYang
f66d59531d feat: add model field for chat_item and and chat_history data table 2024-01-26 16:54:00 +08:00
RockYang
b76cd1d5ae feat: add err_msg field for mj and sd jobs 2024-01-26 14:50:36 +08:00
RockYang
55ba0d08a5 feat: blend and swap face function for midjourney-plus is ready 2024-01-26 11:57:08 +08:00
RockYang
cc78780a8e feat: add blend and swapface task implements for midjourney 2024-01-25 18:50:24 +08:00
RockYang
8dd6bf8933 feat: add websocket heartbeat message for mj page 2024-01-24 09:33:04 +08:00
RockYang
20da6a1c20 doc: update config sample file 2024-01-23 17:56:22 +08:00
RockYang
667fc79a6f feat: merge sms branch,add DuanXinBao sms service implemetation 2024-01-23 16:16:47 +08:00
RockYang
ac7430dded opt: add heartbeat message for websocket connects 2024-01-22 18:42:51 +08:00
whale_fall
9c73e16560 feat: 添加支持多个短信服务商支持 添加短信宝服务商支持,同时添加配置示例 2024-01-22 16:38:44 +08:00
RockYang
c605e222a7 fix: fix bug for wechat transfer message parse failed 2024-01-22 16:10:08 +08:00
RockYang
578f26a738 feat: HuPiPay order check function is ready 2024-01-22 15:17:26 +08:00
RockYang
24218e7570 opt: verify the order in notify callback 2024-01-22 13:58:25 +08:00
RockYang
16f946550e chore: print error detail when call http api failed with mj 2024-01-21 22:30:24 +08:00
RockYang
437632f859 fixed conflicts 2024-01-19 18:21:49 +08:00
RockYang
98f0f442eb feat: system notice function is ready 2024-01-19 18:19:51 +08:00
RockYang
3b999dc5e2 feat: system notice function is ready 2024-01-19 18:18:10 +08:00
RockYang
20943ad3d3 fix: fixed bug for img_call increased when upscale task run failed 2024-01-19 17:10:52 +08:00
RockYang
3b1544b5e4 feat: add system config item for wechat qrcode 2024-01-19 16:58:13 +08:00
RockYang
b317d597ac chore: optimize variable name 2024-01-19 11:26:22 +08:00
RockYang
3bb19811e7 Merge branch 'main' into dev 2024-01-19 10:09:18 +08:00
RockYang
065a01de48 Merge branch 'main' of gitee.com:blackfox/chatgpt-plus 2024-01-19 10:09:01 +08:00
whale_fall
9ca97bf4bc feat: 添加支持阿里的通义千问对话 2024-01-19 09:52:16 +08:00
RockYang
0c59503edb feat: add image publish function, ONLY published image show in image wall page 2024-01-19 06:52:23 +08:00
RockYang
72b95151a1 feat: add system config disable user registeration 2024-01-18 17:24:02 +08:00
RockYang
378e6ec9af opt: compatible wechat old message format for parsing wechat transfer message 2024-01-18 16:58:20 +08:00
RockYang
39fdfae541 feat: attachments manage function is ready 2024-01-15 18:48:01 +08:00
RockYang
9f57fb1421 feat: gpt-4-gizmo-g-* model is supported 2024-01-15 15:03:05 +08:00
RockYang
059f57db2d feat: gpt-4-all model is ready 2024-01-15 14:07:24 +08:00
RockYang
13c8be8d06 opt: optimize vip recharge logic 2024-01-15 11:01:57 +08:00
RockYang
722ed128a1 opt: optimize vip recharge logic 2024-01-15 10:28:46 +08:00
RockYang
cc628821e6 feat: add asynchronously pull midjourney task progress in case the synchronization callback is fails 2024-01-12 18:24:28 +08:00
RockYang
857af61af1 feat: midjourney plus service is ready 2024-01-11 18:16:48 +08:00
RockYang
8a8990b12b fix: fixed bug for gorm insert record failed and Error is not nil 2024-01-08 18:10:32 +08:00
RockYang
fe85c1bbb9 feat: change mobile field to username 2024-01-08 17:34:09 +08:00
RockYang
d981bc8fd0 fix: function call 兼容中转 API 2024-01-07 22:32:59 +08:00
RockYang
ff22480d89 opt: add support to disable code verify 2024-01-07 17:31:26 +08:00
RockYang
8ec85e2829 feat: payjs payment channel is ready 2024-01-07 14:36:02 +08:00
RockYang
706aacd8e6 fix: add user failed in admin user list page 2024-01-07 10:49:36 +08:00
RockYang
803bc2d9fc release v3.2.4 2024-01-06 21:09:19 +08:00
RockYang
7cc67cf8f0 chore: remove useless system config items 2024-01-06 17:38:55 +08:00
RockYang
9909c3a0ed chore: error recover is enable ONLY in debug mode 2024-01-06 17:16:02 +08:00
RockYang
60a3751839 feat: payjs service is ready 2024-01-06 15:53:30 +08:00
RockYang
ce87e0c40b chore: rename bind username api 2024-01-05 18:21:47 +08:00
RockYang
71cd548c00 feat: email registration function is ready 2024-01-05 18:17:11 +08:00
RockYang
1ddd05302b feat: update api key last_use_time after dalle3 call 2024-01-04 18:15:00 +08:00
RockYang
ea3301c75c feat: support dall-e3 api mirrors, add name field for ApiKey 2024-01-04 16:29:57 +08:00
RockYang
4b1c4f7ccc feat: refactor LLM api request code, get API URL from ApiKey object 2024-01-04 14:51:33 +08:00
RockYang
21f2622a4b feat: api key manage page funciton is ready 2024-01-04 10:48:04 +08:00
RockYang
79f6a43019 fix: fixed bug for concurrency risk for getting token for chat histroy with issue #92 2024-01-04 09:03:19 +08:00
RockYang
3d75093b2c fix: add unique key for MidJourney task_id 2024-01-03 18:06:10 +08:00
RockYang
023dc89c3e feat: show notice in chat page 2024-01-03 15:19:24 +08:00
RockYang
b5641be30d feat: fixed bug for wechat bot to parse transactions. enable user to exchange reward with img_calls 2024-01-03 11:15:54 +08:00
RockYang
ff4515bbf1 fix: fixed chat export page styles 2024-01-02 11:32:36 +08:00
RockYang
5dc0fe05af fix: fixed for img_call repeated reductions 2024-01-01 18:54:48 +08:00
RockYang
25bba912f6 feat: add switch for enable|disable chat role 2023-12-29 17:51:56 +08:00
RockYang
cb6e323596 feat: add nickname field for user 2023-12-29 17:39:37 +08:00
RockYang
cf4b04e047 feat: add authorization for local function call 2023-12-29 17:21:29 +08:00
RockYang
243b5be31c update changelog 2023-12-29 11:53:37 +08:00
RockYang
70c46d098b fix: restore user img_calls quota when image task run failed 2023-12-29 10:41:29 +08:00
RockYang
f6bb9b582a merge pull request #71 2023-12-29 09:31:25 +08:00
RockYang
38a49a7f37 chore: remove dead code 2023-12-29 09:02:55 +08:00
RockYang
f603bf6be7 feat: function manager refactor is ready 2023-12-28 18:14:38 +08:00
JingHong
6cc05e9e27 Merge branch 'yangjian102621:main' into main 2023-12-27 23:33:46 +08:00
RockYang
b1ab9975b7 fix: fixed bug #70, XunFei 1.5 url version map error 2023-12-25 08:54:17 +08:00
RockYang
7ca89d8b54 feat: function CRUD operation is ready 2023-12-24 22:12:12 +08:00
jinghong0202
998b07ab8c fix: Azure Api 更换api-version参数后请求失败的问题 2023-12-24 08:36:34 +01:00
RockYang
4936896ff7 feat: function add for admin page is ready 2023-12-23 22:30:27 +08:00
RockYang
18b7484c5b feat: support CDN reverse proxy for MidJourney and OpenAI API 2023-12-22 17:25:31 +08:00
RockYang
6754c8e85e feat: add function list page in admin console 2023-12-21 18:06:09 +08:00
RockYang
57243ff010 opt: optimize image compress alg, add cache control for image 2023-12-21 15:00:46 +08:00
RockYang
7c4dfe96ee feat: add funcitons manger page 2023-12-21 08:58:24 +08:00
RockYang
bf19120c27 feat: auto translate image creating prompt 2023-12-19 18:54:19 +08:00
RockYang
3d37087916 fix: fixed bug for HuPiPay qrcode generation. set field 'openid' of result struct to Any data type 2023-12-19 11:31:57 +08:00
RockYang
b63090c20f feat: add remove action to remove task and images for MJ and SD task list page 2023-12-18 17:44:52 +08:00
RockYang
b15ebda948 opt: merge RAG branch 2023-12-18 16:41:40 +08:00
RockYang
252eef2e5e opt: make sure the Upscale and Variation task is assign to the same mj service with Image task 2023-12-18 16:34:33 +08:00
RockYang
3bea8f9706 fix: fixed bug for mj service pool config pointer 2023-12-15 22:52:57 +08:00
RockYang
dfe808bee7 feat: add img_calls field for recharge products 2023-12-15 16:56:56 +08:00
RockYang
58f3dd5336 chore: update default config.toml 2023-12-15 11:23:13 +08:00
RockYang
b00f16648f opt: limit the image display size in reply component 2023-12-15 10:48:13 +08:00
RockYang
a26c849532 docs: add sql file 2023-12-14 17:05:51 +08:00
RockYang
d2991e60b6 refactor: refactor stable diffusion service, add service pool support 2023-12-14 16:48:54 +08:00
RockYang
10ba1430f9 chore: add sub dir support for OSS 2023-12-13 17:02:49 +08:00
RockYang
6d71f24f75 refactor: add midjourney pool implementation, add translate prompt for mj drawing 2023-12-13 16:38:27 +08:00
RockYang
8f4d20e411 fix: fixed bug for aliyun OSS img url 2023-12-13 09:49:55 +08:00
RockYang
cf758d773e refactor mj service, add mj service pool support 2023-12-12 18:33:24 +08:00
RockYang
1067fa015e add translate api for midjourney 2023-12-11 17:01:02 +08:00
RockYang
411335ebcb feat: add prompt translate handler 2023-12-11 06:56:00 +08:00
RockYang
f19c15491e feat: add system config item for dall e3 generate image num 2023-12-10 17:13:25 +08:00
RockYang
0da81a4d10 chore: change default params for stable diffusion 2023-12-10 14:45:22 +08:00
RockYang
049839a5c7 feat: add HuPiPay payment support 2023-12-08 19:43:13 +08:00
RockYang
a901927844 feat: add image generation API URL in chat configurations 2023-12-07 16:31:32 +08:00
RockYang
07ab0bc5a1 docs: add arm64 build script 2023-12-07 15:44:20 +08:00
RockYang
a6025e6fab fix: fixed bug for prompt code format, prevent xss attacks 2023-12-07 14:02:13 +08:00
RockYang
8e573eea4c Merge branch 'pr_3' into dev 2023-12-06 18:54:45 +08:00
RockYang
149765764e feat: refactor midjourney image creating page 2023-12-06 18:54:30 +08:00
RockYang
1bda41ff67 docs: update comments 2023-11-30 17:35:56 +08:00
RockYang
5a799139cd fix: fixed bug for upload image failed 2023-11-29 17:46:46 +08:00
RockYang
7a2ffdf39c opt: 缩略图生成算法 2023-11-28 14:50:19 +08:00
RockYang
ce8fa79206 feat: 为大图片生成缩略图,加快前端图片加载速度 2023-11-28 12:04:02 +08:00
RockYang
b05c63549d fix: fix bug for oss image domain 2023-11-28 07:27:18 +08:00
RockYang
9f98660423 docs: update build script 2023-11-27 18:24:52 +08:00
RockYang
f4fbe67db9 feat: implements image function replace Mj with DALL-E-3 2023-11-26 20:37:48 +08:00
RockYang
599ce0eade feat: add type field for api key 2023-11-24 18:05:59 +08:00
RockYang
11f3ab8dc7 feat: add support for registing use force use invite code 2023-11-24 12:02:28 +08:00
RockYang
86bbea337d opt: 增加中间件自动对HTTP请求的参数去掉首尾空格 2023-11-23 17:50:55 +08:00
RockYang
e63a30064b opt: optimize styles for invitation page 2023-11-23 17:40:15 +08:00
RockYang
222b1ddbd9 feat: add invitation and promotion functions 2023-11-23 16:30:15 +08:00
RockYang
191e3b7d2c feat: 支持讯飞大模型 v3.0 2023-11-23 07:11:13 +08:00
RockYang
13fbbc190a feat: reset password function is ready 2023-11-22 18:00:45 +08:00