ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
74.96k stars 58.98k forks source link

[Bug] Deleted conversations were restored after WebDAV sync / WebDAV 同步后,之前删除的聊天被还原 #2837

Open 2-3-5-7 opened 1 year ago

2-3-5-7 commented 1 year ago

环境: 部署到 vercel,用自己的域名 webdav 是 koofr.net 挂载了 Google Drive 问题: 点同步时,数据都保存了(看 console 没看到报错什么的,也没出现 https://github.com/Yidadaa/ChatGPT-Next-Web/issues/2820 的问题,用另一个浏览器测试也能正常恢复数据)。 但是当我删除了一个聊天 (conversation) 后,再次同步,删除的聊天被还原了。

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


environment: Deploy to vercel, use your own domain name webdav is koofr.net mounted Google Drive question: When you click sync, the data is saved. Then I deleted a chat (conversation) and synchronized it again, and the deleted chat was restored.

Yidadaa commented 1 year ago

目前的同步并没有考虑消息删除的情况。

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


The current synchronization does not take into account message deletion.

H0llyW00dzZ commented 1 year ago

I've been implement this include my favorite sync service using github gist

https://github.com/Yidadaa/ChatGPT-Next-Web/assets/17626300/5936debd-82bd-4ed5-9768-665dba1f82e1

Masque423 commented 11 months ago

希望被删除的聊天,同步之后云中的记录也会被删除

Issues-translate-bot commented 11 months ago

Bot detected the issue body's language is not English, translate it automatically.


For chats that you wish to delete, the records in the cloud will also be deleted after synchronization.

chen-xin-94 commented 10 months ago

希望被删除的聊天,同步之后云中的记录也会被删除

+1

Issues-translate-bot commented 10 months ago

Bot detected the issue body's language is not English, translate it automatically.


For chats that you want to delete, the records in the cloud will also be deleted after synchronization.

+1

Hoshino-Yumetsuki commented 8 months ago

希望被删除的聊天,同步之后云中的记录也会被删除

+1

Issues-translate-bot commented 8 months ago

Bot detected the issue body's language is not English, translate it automatically.


For chats that you want to delete, the records in the cloud will also be deleted after synchronization.

+1

Hoshino-Yumetsuki commented 8 months ago

并且还有一种情况,就是删除面具时被删除的面具也不会同步

Issues-translate-bot commented 8 months ago

Bot detected the issue body's language is not English, translate it automatically.


And there is another situation where the deleted mask will not be synchronized when you delete the mask.

ahzmr commented 1 month ago

我实现了这个功能,现在还在自测,我自己用一切正常。你们可以试试:https://github.com/ahzmr/ChatGPT-Next-Web/tree/v2.14.0.1

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


I implemented this function and am still testing it myself. Everything works fine when I use it myself. You can try: https://github.com/ahzmr/ChatGPT-Next-Web.git