Comments (20)
This is planned. In fact, we already have an option for it (currently hidden at "System->Delta Chat App-info / Memory / Manage memory")
from deltachat-android.
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.
from deltachat-android.
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 ;-)
from deltachat-android.
well, the ui has changed the last months :)
from deltachat-android.
My proposal for a handy function:
- 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? - introduce an option to set max number of messages in a chat's setting (and show somewhere current number of messages in a chat).
- 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 ;-)
from deltachat-android.
Maybe this issue is better moved to the core?
from deltachat-android.
yes, however, issues cannot be moved on github. so, i prefer most times to leave things unsorted over having fragmentation :)
from deltachat-android.
EDIT proposal for a handy function:
- 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! - Introduce an option to set max number of messages in a chat's setting (and show somewhere current number of messages in a chat).
- 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)
- Add a compression function (vacuum) for internal data base
from deltachat-android.
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?)
from deltachat-android.
In my last post 1. has been updated in wording
from deltachat-android.
Updated my last bigger comment (list item 4)
from deltachat-android.
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.
from deltachat-android.
- it should be possible to define the external SD storage card for attachments.
from deltachat-android.
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?
from deltachat-android.
ok, added 5. to deltachat/deltachat-core#120
from deltachat-android.
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 ;-)
from deltachat-android.
As I saw @r10s wants to keep this issue open to handle all this stuff. And therefore I included all ideas to that here ;-)
from deltachat-android.
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.
from deltachat-android.
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.
from deltachat-android.
as this affects desktop as well as android, i've moved this to the core, see deltachat/deltachat-core#244
from deltachat-android.
Related Issues (20)
- not possible to share media from one chat to another
- app crashes in "create new contact" screen on android 4 HOT 4
- Allow to share contacts as vCards
- trying to start on android4 crashes immediately HOT 10
- adapt build files so that it skips FCM for unsupported flows or add a runtime check HOT 3
- quote reply goes to wrong chat HOT 1
- Location streaming not working HOT 1
- Markdown links not being parsed by chat screen HOT 1
- don't auto import .vcf file attachments when pressing HOT 6
- Support directly "sharing" a log to some chat HOT 2
- "three dots" in reaction selector might wrap in small screens HOT 2
- Invalid resource ID 0x00000000 HOT 2
- name/avatar settings do not survive leaving/re-entering InstantOnboardingActivity HOT 2
- too many menu options in group's invite code
- scanning QR code from new "New Contact" is not working HOT 1
- use set name+avatar also when go for "Classic E-Mail Login" HOT 1
- Switch to `dc_msg_save_file()` for exporting attachments
- Dont alter names of attached pictures! HOT 1
- Crash when you activate "Share location with all group members" HOT 3
- Strange behavior when pasting text onto emoji HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deltachat-android.