Commit Graph

384 Commits

Author SHA1 Message Date
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
RockYang
61c6a6e7f3 feat: add copy code btn in chat page, fixed bug for code wrap in model of ChatGLM and XunFei 2023-11-22 17:00:43 +08:00
RockYang
af41350eb9 fix: fixed bug for enable user vip in admin console not work 2023-11-22 11:30:58 +08:00
RockYang
8f63e348b3 option: replace leveldb with redis in storing message code 2023-11-22 10:57:24 +08:00
tongkunming
e11736e1d2 fix: remove dead code 2023-11-21 22:18:53 +08:00
RockYang
c062fba69c chore: remove dead code 2023-11-21 19:04:53 +08:00
RockYang
daaff8974e docs: update readme and config sample files 2023-11-16 17:20:38 +08:00
RockYang
4fcbd511c0 fix: fix bug with missing chat context 2023-11-15 18:20:34 +08:00
RockYang
998f67ac5d fix: deducating the user's img call quota after stable diffusion callback 2023-11-14 08:59:39 +08:00
RockYang
712a6b6c39 chore: change xxl-job name 2023-11-12 15:39:12 +08:00
RockYang
2525a22d78 fix: fix bug for issue 49, stable diffusion service not decrease img_calls 2023-11-11 11:00:26 +08:00
RockYang
05f501af52 Merge branch 'alipay' 2023-11-10 16:51:00 +08:00
RockYang
e94fa4844f docs: export database, update readme doc, remove useless configs for alipay 2023-11-10 16:49:07 +08:00
RockYang
e0965aae5e feat: add switch to disable xxl-job service, update readme 2023-11-10 15:22:35 +08:00
RockYang
414c1de963 feat: 增加订单倒计时组件,自动清理过期未支付订单 2023-11-10 14:39:27 +08:00
RockYang
b589102be8 feat: add system configration switch option for order pay service, support sandbox env for alipay 2023-11-09 18:28:56 +08:00
RockYang
df367e0d47 feat: check if the user's chat quota is gt than current chat model required before starting a conversation 2023-11-09 16:56:44 +08:00
RockYang
ef87487f60 fix: fix bug for token expired with QiNiu oss upload file 2023-11-08 21:14:09 +08:00
RockYang
8bafe72434 feat: adjust layout for user profile page 2023-11-08 18:33:26 +08:00
RockYang
76dcc69e44 feat: order payment function is ready 2023-11-08 17:48:07 +08:00
tongkunming
682ef22194 fix: 添加messages为空校验 2023-11-08 16:51:36 +08:00
RockYang
ee8dd41605 feat: update stable diffusion api version 2023-11-08 14:54:10 +08:00
RockYang
d0b8d666e4 feat: finish payment page layout 2023-11-07 18:10:28 +08:00
RockYang
848a10c3a8 feat: integrated Alipay payment module 2023-11-06 17:55:46 +08:00
RockYang
a9b5280691 opt:update mj api version, wrapper chat api error message as a constant 2023-11-06 15:03:56 +08:00
RockYang
7677ae254f feat: different AI model consuming different amounts of use_calls 2023-10-26 14:38:06 +08:00
RockYang
01205af018 feat: 支持文心4.0模型,不同的用户可以订阅不同的AI模型 2023-10-26 13:41:49 +08:00
RockYang
5b5150e6d4 feat: add system configration item to close rewarding function 2023-10-19 11:19:29 +08:00
RockYang
a80d01209c opt: adjust styles for ItemList component, cut string for chat role's hello message 2023-10-16 10:46:10 +08:00
RockYang
d2a8d655c8 feat: finish adding chat role to user function 2023-10-16 06:56:42 +08:00
RockYang
80e2b34abc opt: adjust ItemList component styles 2023-10-15 15:47:42 +08:00
RockYang
ebdec4fa44 feat: create chat app list page, build the layout of page 2023-10-13 18:05:40 +08:00
RockYang
ead8dbbaa5 feat: auto login when register successfully 2023-10-13 16:27:40 +08:00
RockYang
c7daaa00cd feat: image wall stable diffusion image list component is ready 2023-10-13 15:16:40 +08:00
RockYang
9fcd686fda feat: image wall page is ready 2023-10-12 18:09:50 +08:00
RockYang
1759fd4cf9 opt: close websocket connection when finish a chat call for XunFei API 2023-10-12 10:02:12 +08:00
RockYang
12e7837602 feat: XunFei ai mode api implements is ready 2023-10-11 18:17:03 +08:00
RockYang
ff349f2edf feat: adjust package struct, put chat code the seperate 'chatimpl' package, fix bug: baidu api chat context number must be even number 2023-10-11 15:46:40 +08:00
RockYang
088d8ca207 feat: add system configration for enable/disable funciton in chat session 2023-10-11 14:35:47 +08:00
RockYang
c37902d3a4 finish baidu ai model api implementation 2023-10-11 14:21:16 +08:00
RockYang
da38684cdd add baidu ai model api configrations 2023-10-10 18:19:56 +08:00
RockYang
d53c8f9830 docs: add 3.1.4 release version change logs 2023-10-09 12:05:51 +08:00
RockYang
c8136d4231 doc: update database sql file 2023-10-08 20:44:55 +08:00
RockYang
e4b8380530 docs: udpate readme and config.toml template 2023-10-08 18:09:46 +08:00
RockYang
fbd599194c feat: add system config item for reward image, add app config item to use custom text2img param json file 2023-10-08 17:48:50 +08:00
RockYang
0270ec26fb feat: add configuration handler for AliYun SMS signature and template ID 2023-10-08 12:01:09 +08:00