Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit retained history #22

Closed
ghost opened this issue Feb 3, 2017 · 20 comments
Closed

Limit retained history #22

ghost opened this issue Feb 3, 2017 · 20 comments
Labels
duplicate feature proposal feature proposals go to https://support.delta.chat

Comments

@ghost
Copy link

ghost commented Feb 3, 2017

Similar to #21. I would like to have an option to limit the amount of history kept in the app as I'm using the app. For example, I could limit the amount of history by number of message (like 200) or length of time (like 90 days).

I would not expect this limit to cause messages to be deleted from the server.

@r10s
Copy link
Member

r10s commented Feb 7, 2017

This is planned. In fact, we already have an option for it (currently hidden at "System->Delta Chat App-info / Memory / Manage memory")

@r10s r10s added the feature proposal feature proposals go to https://support.delta.chat label Sep 25, 2017
@r10s
Copy link
Member

r10s commented Mar 10, 2018

if we implement this feature, we should have different timeouts until messages from the "Contact requests" and messages from other chats are deleted (deleted from the device, not from the server), this would target #132 then.

This was referenced Mar 10, 2018
@csb0730
Copy link

csb0730 commented Mar 11, 2018

In fact, we already have an option for it (currently hidden at "System->Delta Chat App-info / Memory / Manage memory")

At my device I see here only "System->Delta Chat / App-info / Memory / Delete memory" ??
No possibility to manage something.

Waiting urgently for an automatic feature ;-)

@r10s
Copy link
Member

r10s commented Mar 11, 2018

well, the ui has changed the last months :)

@csb0730
Copy link

csb0730 commented Apr 23, 2018

My proposal for a handy function:

  1. IMPORTANT: make messages stickable or pinable first (I don't know the best wording ;-) ).
    That means that a message can be marked manually and then it is not touched by an automatic garbage collection. This enables the user to keep important messages!
    I think for that function database has to be extended?
  2. introduce an option to set max number of messages in a chat's setting (and show somewhere current number of messages in a chat).
  3. trigger the garbage collection whether manually or automatic
    (with new message in a chat or once per day or even with a button?)

Comments welcome ;-)

@csb0730
Copy link

csb0730 commented Apr 23, 2018

Maybe this issue is better moved to the core?

@r10s
Copy link
Member

r10s commented Apr 23, 2018

yes, however, issues cannot be moved on github. so, i prefer most times to leave things unsorted over having fragmentation :)

@csb0730
Copy link

csb0730 commented Jun 30, 2018

EDIT proposal for a handy function:

  1. IMPORTANT: use starring of messages as it is foreseen yet.
    That means that a message which is starred is not touched by an automatic garbage collection. This enables the user to keep important messages!
  2. Introduce an option to set max number of messages in a chat's setting (and show somewhere current number of messages in a chat).
  3. Trigger the garbage collection whether manually or automatic.
    (with new message arriving in chat or per interval or even with a button to do manually?)

EDIT (07/24/2018)

  1. Add a compression function (vacuum) for internal data base

@testbird
Copy link

testbird commented Jul 1, 2018

The last comment looks identical to what you wrote three messages ago, and what you posted at deltachat/deltachat-core#120 [consolidated] (auto-)archive / delete (support continuous daily usage)

And one UI point in deltachat/deltachat-core#120 is:

  • UI feature to auto-archive older messages from chats (default those exceeding a 100 messages count?)

@csb0730
Copy link

csb0730 commented Jul 13, 2018

In my last post 1. has been updated in wording

@r10s r10s mentioned this issue Jul 18, 2018
@csb0730
Copy link

csb0730 commented Jul 24, 2018

Updated my last bigger comment (list item 4)

@csb0730
Copy link

csb0730 commented Aug 16, 2018

With my own experience now while updating DC and the need of using the backup function for that, I've been running nearly into a memory constraint and reimporting data has been at high risk not to finalize any more.
I'm using DC for a year now and database grows and grows. 1GB (database file only) is reached meanwhile.
With this comment I want to remind that this issue here is important because there is no possiblity to shrink the database file by deleting messages. Especially standard users have no chance to do anything except new installation of DC with an empty new database!

The database compression (Point 4. / vacuum function) should be attacked as soon as possible!

And finally as a 5th point I want to propose an archive funktion to a(some) second database file(s) which could be opened from DC to look for older archieved messages and/or copied from the device to another storage location.

@csb0730
Copy link

csb0730 commented Aug 16, 2018

  1. it should be possible to define the external SD storage card for attachments.

@testbird
Copy link

Maybe open different issues for 4. and 6.?

The other points are part of deltachat/deltachat-core#120
Should I also add 5. there, so all (auto) archiving and deleting stuff is kept together, and this issue can be closed?

@testbird
Copy link

ok, added 5. to deltachat/deltachat-core#120

@csb0730
Copy link

csb0730 commented Aug 18, 2018

Point 4/5/6 are the technical functions which complete point 1-3 (user functions). Only with 4-6 the other functions really fulfills their intention to release and free space (!)

And yes, maybe it is worth to move them to a separate issue. Will do that later ;-)

@csb0730
Copy link

csb0730 commented Aug 18, 2018

As I saw @r10s wants to keep this issue open to handle all this stuff. And therefore I included all ideas to that here ;-)

@testbird
Copy link

testbird commented Aug 18, 2018

I don't know, the issues are clearly unsorted and fragmented, and thus there is no clear path, and streamlined progress on the issues is much harder (with limited on/off time constrains). Quickly solvable topics could be lined up better, when things are sorted out.

@r10s
Copy link
Member

r10s commented Aug 18, 2018

yes, please leave this issue open.
btw. i think many issues are fine, i use the title and the first text for orientation when coming back to an issue.
eg. this issue is very fine: it has a clear title and handles only one aspect.

@r10s r10s added the duplicate label Aug 20, 2018
@r10s
Copy link
Member

r10s commented Aug 20, 2018

as this affects desktop as well as android, i've moved this to the core, see deltachat/deltachat-core#244

@r10s r10s closed this as completed Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate feature proposal feature proposals go to https://support.delta.chat
Projects
None yet
Development

No branches or pull requests

3 participants