Commit Graph

906 Commits

Author SHA1 Message Date
Hk-Gosuto 06a8a10e54 Merge remote-tracking branch 'upstream/main' 2023-09-11 12:05:49 +08:00
B0zal 605dd72354
[+] CodeQL Report Fix log injection vulnerability in useSyncStore
Severity : High
Sanitize the 'res' object before logging it in the 'check' method of useSyncStore to prevent log injection attacks.
The 'res' object is now sanitized by extracting only the necessary properties ('status', 'statusText', and 'headers') and logging the sanitized object instead.
This ensures that only safe and expected data is logged, mitigating the risk of log injection vulnerabilities.
2023-09-11 08:49:08 +07:00
Yifei Zhang 9770b65146
Merge pull request #2798 from Yidadaa/backup 2023-09-11 00:41:25 +08:00
Yidadaa 57158890c3 fixup 2023-09-11 00:39:56 +08:00
Yifei Zhang 6f8f490fdd
Merge pull request #2797 from Yidadaa/backup 2023-09-11 00:36:24 +08:00
Yidadaa 415e9dc913 fixup: minor sync fixup 2023-09-11 00:34:51 +08:00
Yifei Zhang 1487762925
Merge pull request #2796 from Yidadaa/backup 2023-09-11 00:27:51 +08:00
Yidadaa c73a91a0f5 fixup: fix type errors 2023-09-11 00:24:05 +08:00
Yidadaa 5dced28088 fixup: add en locales 2023-09-11 00:22:14 +08:00
Yidadaa 38f6956e71 feat: close #2754 add import/export to file 2023-09-11 00:20:23 +08:00
shoito 505c8cde81
improve japanese translations 2023-09-09 16:10:24 +09:00
Hk-Gosuto 67696fa046 feat: 添加维基百科插件 2023-09-09 13:13:26 +08:00
Hk-Gosuto 7c8872beb9 fix(12): 修复问题 2023-09-05 19:08:29 +08:00
Hk-Gosuto e1fc468c4a
Merge branch 'Yidadaa:main' into main 2023-09-05 09:33:28 +08:00
Yidadaa 885f2a3226 feat: close #2752 auto re-fill unfinished input 2023-09-05 01:54:28 +08:00
Hk-Gosuto c9c5ab2a9b feat: 支持开关指定内置插件 2023-09-04 21:59:42 +08:00
Hk-Gosuto c5cc16ca09 Merge remote-tracking branch 'upstream/main' 2023-08-28 19:53:05 +08:00
Yifei Zhang 107b584085
Merge pull request #2705 from kfear1337/language 2023-08-28 01:02:23 +08:00
Yifei Zhang 6d8416f838
Merge pull request #2713 from kfear1337/CodeQL-Report 2023-08-28 00:54:58 +08:00
Yifei Zhang 876a0cb6f7
Merge pull request #2717 from Yidadaa/bugfix-0827 2023-08-28 00:51:54 +08:00
Yidadaa 3bd76b9156 feat: close #2580 only use 3.5 to summarize when not using custom models 2023-08-28 00:02:52 +08:00
B0zal 22a6819f7b
Security Update
[+] Protect Prototype
2023-08-26 22:16:29 +07:00
B0zal 5e23ad2db1
Security Update
Potentially unsafe external link
2023-08-26 22:16:29 +07:00
B0zal 63c93a42b5
[+] Fixed language missing for finetuned 2023-08-25 18:15:50 +07:00
B0zal e6cc1625b5
[+] FineTuned Sysmessage Depends for local language
this for JSON Exporter
2023-08-25 17:48:25 +07:00
B0zal f65b0128e7
Issue #2702 should be fixed now kiw kiw
where the ChatGPTicon.src
glitches and breaks when exporting the image for the second time without refreshing the page.
2023-08-25 17:46:19 +07:00
B0zal 507b7fee56
[+] Language indonesia (my country) 2023-08-25 17:42:02 +07:00
Yifei Zhang b3fd56c2c1
Merge pull request #2685 from reece00/456 2023-08-24 11:12:47 +08:00
B0zal 0113d4499b
[Feature] Better JSON Exporter #2692
[+] A view looks better
[+] auto minify json when click a copy in markdown and download

Co-Authored-By: wangwentong-lunaon <39506652+wangwentong-lunaon@users.noreply.github.com>
Co-Authored-By: Yifei Zhang <yidadaa@qq.com>
Co-Authored-By: B0zal <48602426+kfear1337@users.noreply.github.com>
2023-08-23 21:14:43 +07:00
Hk-Gosuto 4db91346fd feat: 修改默认迭代次数 2023-08-23 16:28:42 +08:00
reece00 4d3fdbdd80
The mobile terminal ishitbottom does not perform -10 2023-08-22 12:35:51 +08:00
Hk-Gosuto 987ddf5f0f feat: 修改插件模型版本限制 2023-08-21 23:55:08 +08:00
Hk-Gosuto 609155b318
Merge branch 'Yidadaa:main' into main 2023-08-21 20:18:29 +08:00
Yifei Zhang e1142216ec
fix: #2672 should use correct resend index 2023-08-21 18:33:45 +08:00
Hk-Gosuto 00479d5b32 feat: 网络访问更换为WebBrowser插件 2023-08-21 12:51:18 +08:00
Hk-Gosuto fdc43976ee
Merge branch 'Yidadaa:main' into main 2023-08-20 23:11:08 +08:00
GH Action - Upstream Sync 3aeb2c1230 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-08-19 01:06:19 +00:00
Yifei Zhang 484d1e7396
Merge pull request #2649 from pichuang/zh-tw 2023-08-18 18:40:30 +08:00
Clarence Dan aa3f96f89c
Update globals.scss 2023-08-18 18:18:16 +08:00
Clarence Dan 16685ddb6c Update chat.module.scss 2023-08-18 17:21:58 +08:00
Clarence Dan e78b15b9f0 Update chat.module.scss
Specify styles for iOS devices.
2023-08-18 17:12:02 +08:00
Hk-Gosuto 9a8b3f06cd feat: agent支持自定义openaikey 2023-08-18 13:40:04 +08:00
Algorithm5838 35b0bd76f8
Update markdown.tsx 2023-08-18 08:12:27 +03:00
Hk-Gosuto 20366fee35 feat: agent支持baseUrl配置 2023-08-18 12:01:28 +08:00
Phil Huang 1d7286c161
Improve the text in tw.ts
Adoption of text that is more closely aligned with the usage of zh-tw
2023-08-17 23:50:38 +08:00
Hk-Gosuto bfc3e90580 Merge remote-tracking branch 'upstream/main' 2023-08-17 12:53:15 +08:00
Hk-Gosuto 75b344d868 chore: 符号错误修复 2023-08-17 12:51:01 +08:00
Hk-Gosuto 76eb2afd06 feat: 支持全局配置插件 2023-08-16 13:39:00 +08:00
Hk-Gosuto dd0b451a7c
Merge branch 'Yidadaa:main' into main 2023-08-15 22:58:11 +08:00
Yidadaa ed62c87156 feat: close #2638 hide auth page and use better unauth tips 2023-08-15 22:50:42 +08:00
Yidadaa 840277f584 fix: #2566 click avatar to edit context messages 2023-08-15 22:42:55 +08:00
wangwentong b380421fd5 support json export 2023-08-15 13:32:34 +08:00
Hk-Gosuto d85c18b3e1
Merge branch 'Yidadaa:main' into main 2023-08-14 23:20:31 +08:00
Yifei Zhang 20882a7598
Merge pull request #2629 from Yidadaa/bugfix-0814 2023-08-14 22:13:56 +08:00
Yifei Zhang 9d3dff47d2
Merge pull request #2627 from imldy/dev_title-generation-checkbox 2023-08-14 22:12:26 +08:00
Yidadaa db5c7aba78 fix: #2615 scrollbar jitter under certain message counts 2023-08-14 22:11:38 +08:00
Yidadaa e8e01aa60d feat: close #2618 use correct html lang attr 2023-08-14 21:55:18 +08:00
Yidadaa ae8226907f feat: close #2621 use better default api url 2023-08-14 21:36:29 +08:00
imldy 803b66ae9d chore: Concise description 2023-08-14 20:47:02 +08:00
imldy 20a508e2d6 feat: add autoGenerateTitle option
(cherry picked from commit 656ab94a9c4edfee820616b8cfc39f5ee9952a3a)
2023-08-14 20:42:09 +08:00
Hk-Gosuto 53998a9394 Merge remote-tracking branch 'upstream/main' 2023-08-14 18:57:15 +08:00
Yifei Zhang 808e4b38a3
fixup 2023-08-14 11:10:02 +08:00
Yifei Zhang a496bc5a63
fix: #2614 better rtl detecting algo 2023-08-14 10:57:24 +08:00
Yifei Zhang c94713475f
Update globals.scss 2023-08-13 02:47:07 +08:00
Hk-Gosuto 6f38ee9a88
Merge pull request #8 from Hk-Gosuto/dev
支持 ChatSession 级别插件功能开关
2023-08-12 00:56:18 +08:00
Hk-Gosuto fb1b92e9cc feat: 支持 ChatSession 级别插件功能开关 2023-08-12 00:53:15 +08:00
Hk-Gosuto 6b28bcd9b5 feat: 支持session级别插件开关 2023-08-11 17:55:50 +08:00
Hk-Gosuto 1147d63e8e
Merge branch 'Yidadaa:main' into main 2023-08-10 11:48:57 +08:00
Yifei Zhang 0b7de6f7b2
fix: #2594 trim the / 2023-08-10 10:47:06 +08:00
Yifei Zhang 67c8ec6d7e
chore: change ACCESS_CODE_PREFIX to nk- 2023-08-09 15:27:08 +08:00
Hk-Gosuto 987598f30d Merge remote-tracking branch 'upstream/main' 2023-08-09 12:27:52 +08:00
Hk-Gosuto b15e0b7c6d feat: 支持插件异常反馈 2023-08-09 12:14:56 +08:00
Yifei Zhang 9420fd4946
Merge pull request #2585 from Yidadaa/bugfix-0808 2023-08-08 21:38:42 +08:00
Yidadaa b14c5cd89c fix: #2485 one-time-use body 2023-08-08 21:36:37 +08:00
Yidadaa 4ab9141429 fix: #2564 should not clear message when error 2023-08-08 21:24:45 +08:00
Yidadaa 769c2f9f49 feat: close #2583 do not summarize with gpt-4 2023-08-08 21:22:41 +08:00
Hk-Gosuto a7c4b1d6b2
Merge branch 'Yidadaa:main' into main 2023-08-08 18:55:57 +08:00
7lsu d1096582a5 font family display enhance 2023-08-07 17:44:32 +08:00
Hk-Gosuto d693d51201 feat: 增加bing搜索插件支持 2023-08-07 12:31:03 +08:00
Hk-Gosuto f7bba11890
Merge branch 'Yidadaa:main' into main 2023-08-07 12:23:24 +08:00
Yifei Zhang 543989151f
Update constant.ts 2023-08-04 19:24:10 +08:00
Yifei Zhang 7da83987e4
chore: use bigger page size and render msg count 2023-08-04 15:45:16 +08:00
Hk-Gosuto 38b327f659
Merge branch 'Yidadaa:main' into main 2023-08-04 09:36:52 +08:00
Yidadaa 523d553dac fix: clear btn should display in correct place 2023-08-04 02:58:02 +08:00
Yidadaa 3e63f6ba34 feat: disable auto focus on mobile screen 2023-08-04 02:43:55 +08:00
Yidadaa bc5ddc4541 fixup: improve auto scroll algo 2023-08-04 02:39:32 +08:00
Yidadaa 203067c936 feat: close #2545 improve lazy load message list 2023-08-04 02:16:44 +08:00
Hk-Gosuto 581ea756f8
Merge branch 'Yidadaa:main' into main 2023-08-03 11:58:18 +08:00
Yidadaa 75d4eca722 chore: smaller auto scroll interval 2023-08-02 23:51:01 +08:00
Yidadaa b5ef552c25 feat: improve auto scroll ux and edit model title 2023-08-02 23:35:51 +08:00
Hk-Gosuto 305e9b6c7d
Merge branch 'Yidadaa:main' into main 2023-08-02 23:05:18 +08:00
Yidadaa cbabb9392c feat: improve ChatAction ux 2023-08-02 22:53:36 +08:00
Hk-Gosuto 6271491399 fix: 修复 vercel 部署接口超时的问题 2023-08-02 12:59:21 +08:00
Levi Borodenko d975daf3f0
locale: add link to authentication page in i18n 2023-08-01 16:17:26 +02:00
Hk-Gosuto db4b808257
Merge branch 'Yidadaa:main' into main 2023-08-01 15:56:35 +08:00
7lsu cf625e3542
typo fix 2023-08-01 10:16:36 +08:00
Hk-Gosuto d654f02f18
Merge branch 'Yidadaa:main' into main 2023-08-01 09:42:34 +08:00
Yidadaa 129e7afc16 fix: #2514 should not clear the message after editing message 2023-07-31 22:20:39 +08:00
Hk-Gosuto a5bc735548 fix: 修复问题 2023-07-31 18:40:46 +08:00
Hk-Gosuto 39ee7591a5 chore: 更新引用 2023-07-29 19:09:28 +08:00