<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Add history log when removing user data</title> 
  <pubDate>Fri, 10 Apr 2026 15:00:31 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8755</link> 
  <atom:link rel="self" type="application/rss+xml" title="Add history log when removing user data" href="https://bugs.horde.org/ticket/8755/rss" /> 
  <description>Add history log when removing user data</description> 
 
   
   
  <item> 
   <title>Calling turba.removeUserData API function removes the contac</title> 
   <description>Calling turba.removeUserData API function removes the contacts from the turba database but horde_histories table still contains info for these contacts. Attached patch deletes the remaining history data.</description> 
   <pubDate>Mon, 07 Dec 2009 16:01:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t57031</link> 
  </item> 
   
  <item> 
   <title>That is because it is a history of what has happened. Removi</title> 
   <description>That is because it is a history of what has happened. Removing the contact data removes that history.</description> 
   <pubDate>Mon, 07 Dec 2009 18:33:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t57038</link> 
  </item> 
   
  <item> 
   <title>Well, that is what other applications (nag, mnemo, kronolith</title> 
   <description>Well, that is what other applications (nag, mnemo, kronolith) are doing. They remove history entries for deleted items. Turba was neither deleting history entries nor changing their state to &#039;deleted&#039; so I copied and adapted this code from nag. In case history data should not be deleted than all applications should get fixed to mark history entries as &#039;deleted&#039;. Although I think removeUserData functions should really remove all user data, for example when deleting the user from the system.</description> 
   <pubDate>Tue, 08 Dec 2009 08:53:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t57051</link> 
  </item> 
   
  <item> 
   <title>The analysis was correct, but the solution isn&#039;t. When calli</title> 
   <description>The analysis was correct, but the solution isn&#039;t. When calling _deleteAll() (no matter if through removeUserData or not), we don&#039;t log a delete action for the deleted contacts in the history. This should be fixed.</description> 
   <pubDate>Tue, 08 Dec 2009 10:50:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t57054</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Log deletion</title> 
   <description>Changes have been made in CVS for this ticket:

Log deletion of each object removed in _deleteAll in Horde_History.
Bug: 8755
http://cvs.horde.org/diff.php/turba/lib/Driver/sql.php?rt=horde&amp;r1=1.59.10.32&amp;r2=1.59.10.33&amp;ty=u</description> 
   <pubDate>Sat, 13 Feb 2010 19:21:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t57981</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Log deletion</title> 
   <description>Changes have been made in Git for this ticket:

Log deletion of objects from _deleteAll() in Horde_History Bug: 8755

http://git.horde.org/diff.php/turba/lib/Driver/Sql.php?rt=horde-git&amp;r1=82bb2e1d13c4b192fa4d6156e0aa1ac5597190fa&amp;r2=87e61b393a4faa218aaa4745bbc934d75db67152</description> 
   <pubDate>Sat, 13 Feb 2010 19:27:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t57982</link> 
  </item> 
   
  <item> 
   <title>Entries are made for the deletion event. 

The behavior be</title> 
   <description>Entries are made for the deletion event. 

The behavior between the apps is still inconsistent though.  As the OP pointed out, the other groupware apps delete all the history for each deleted resource. In fact, in Kronolith, a history item is logged for the deletion, and then the entire history is removed.

My feeling is history should NOT be removed unless explicitly desired by the admin. Thoughts?</description> 
   <pubDate>Sat, 13 Feb 2010 19:29:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t57983</link> 
  </item> 
   
  <item> 
   <title>In general the reason for logging deletion in history is for</title> 
   <description>In general the reason for logging deletion in history is for syncing - you have to know its gone. When deleting user data that would be true for shared items, but not for items owned by the user themself. I agree we should make it consistent, though.</description> 
   <pubDate>Tue, 16 Feb 2010 04:39:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t57993</link> 
  </item> 
   
  <item> 
   <title>&gt; In general the reason for logging deletion in history is f</title> 
   <description>&gt; In general the reason for logging deletion in history is for syncing 
&gt; - you have to know its gone. When deleting user data that would be 
&gt; true for shared items, but not for items owned by the user themself. 

My issue is that the user may have items he owns that has been shared with others. A group calendar, a group address book etc... if we flat-out delete everything in history, then people that have devices synced to those events/contacts would never see the deletion... For something as destructive as deleting all history entries, I feel it should be an explicitly triggered action.
</description> 
   <pubDate>Tue, 16 Feb 2010 14:37:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t58000</link> 
  </item> 
   
  <item> 
   <title>Yes, I agree. It should be easy enough to create a garbage c</title> 
   <description>Yes, I agree. It should be easy enough to create a garbage collection script that searches for all UIDs in the history that have been deleted a certain time ago and remove all entries for those.</description> 
   <pubDate>Tue, 16 Feb 2010 15:08:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t58001</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Be consisten</title> 
   <description>Changes have been made in CVS for this ticket:

Be consistent in not removing history entries when removing all user data.
Still need a utility script to delete history entries over a certain age, but this
commit closes Bug: 8755
http://cvs.horde.org/diff.php/kronolith/lib/api.php?rt=horde&amp;r1=1.126.2.66&amp;r2=1.126.2.67&amp;ty=u
http://cvs.horde.org/diff.php/mnemo/lib/api.php?rt=horde&amp;r1=1.53.2.35&amp;r2=1.53.2.36&amp;ty=u
http://cvs.horde.org/diff.php/nag/lib/api.php?rt=horde&amp;r1=1.100.10.46&amp;r2=1.100.10.47&amp;ty=u</description> 
   <pubDate>Sun, 09 May 2010 19:00:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t58746</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

merge from c</title> 
   <description>Changes have been made in Git for this ticket:

merge from cvs:
[mjr] Do not remove history entries when removing user data (Bug: 8755).

http://git.horde.org/diff.php/kronolith/docs/CHANGES?rt=horde-git&amp;r1=ecad5df422e803d1b11b19f7c02ef933d70d40a9&amp;r2=d653cbb76fcb36a689b2df0659349894cb3b9f4d
http://git.horde.org/diff.php/kronolith/lib/Application.php?rt=horde-git&amp;r1=a861b23f6c641b45228b9a8a2a8cf90e5013be5e&amp;r2=d653cbb76fcb36a689b2df0659349894cb3b9f4d
http://git.horde.org/diff.php/mnemo/docs/CHANGES?rt=horde-git&amp;r1=e3584d4c26d4ef312304e28bd26e038dbe6d50eb&amp;r2=d653cbb76fcb36a689b2df0659349894cb3b9f4d
http://git.horde.org/diff.php/mnemo/lib/Api.php?rt=horde-git&amp;r1=bb701dabc2661d2481fe50ad9f0955f1e736b82d&amp;r2=d653cbb76fcb36a689b2df0659349894cb3b9f4d
http://git.horde.org/diff.php/nag/docs/CHANGES?rt=horde-git&amp;r1=d4491e6b4e0f9ddfd81193f5bed0d914b41a994b&amp;r2=d653cbb76fcb36a689b2df0659349894cb3b9f4d
http://git.horde.org/diff.php/nag/lib/Application.php?rt=horde-git&amp;r1=a861b23f6c641b45228b9a8a2a8cf90e5013be5e&amp;r2=d653cbb76fcb36a689b2df0659349894cb3b9f4d</description> 
   <pubDate>Sun, 09 May 2010 19:34:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8755#t58747</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
