-
Notifications
You must be signed in to change notification settings - Fork 10
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
History keeping for drop messages #10
Comments
I already implement this for saving the chat messages for every user. Maybe we find some ideas there. But I do not believe that to save it on the server is a good idea because ... I think a local history shall be the better solution. |
Ich würde vorschlagen, Messages clientseitig á la Mail-Inbox zu behalten und diese im Bedarfsfall im Namen des Servers an andere Clients/"Peers" zu schicken. |
Why not just provide the functionality in the drop message module to create a module specific history and to save messages there, locally? Thus there will only be messages stored which are determined to be stored. The synchronization with other devices could be done via the Qabel Storage or by sending drop messages to his own identity/contact and the drop module puts them to history. @k-c13: @aBothe: |
+1 for providing history via drop and storage functionality. I'm unsure however if this should be a new "history module" or if it should be part of the core. |
Oh and BTW, I'm OK with keeping things locally as much as possible - at least for the BETA. |
I think that the history shall be a part of every module and shall save locally. The drop messages are on the drop server and so the history of every module can do from that message. And every module have to decide which drop messages are so important that it have to save to the own module history. An example is the chat module. BTW: I will add the last update item to the local setting to know when the last messages readed from the drop servers. |
What do you mean with "the history shall be a part of every module"? "The drop messages are on the drop server and so the history of every module can do from that message"? |
And I would call the "last_update" item something like "last_drop_update". It could be possible that there will be more last update timestamps in the settings. |
@f-porter: |
We have to write that the core will handle this (in the drop message documentation). This is needed for @malte-z. |
@Qabel/internal-write-access: I added some infos for the drop history https://github.com/Qabel/intern-doc/wiki/Qabel-Client-Drop |
I agree |
OK. |
@Qabel/internal-write-access we need input on this. |
Or we decide this is post BETA. |
Maybe a modified concept of a collapse key might work for us. Like: http://developer.android.com/google/gcm/adv.html |
@Gottox you self-assigned this one. If you still have an idea or something to contribute just tell us. You can formulate this "something" later. I just wondered about the assignee. |
See https://github.com/Qabel/qabel-sync-module/wiki/Components-Sync |
This is POST BETA now. |
Not only is this vulnerable to a replay attack but also it would help modules if the core would handle not to handle already handled drop messages. @L-Henke you did a work around for that in the android branch. Let us talk about this. |
We have to define a way to keep history for drop messages. This is module dependent but we should help modules with this.
This is an issue because we will not use FFsync anymore and hence do not have a sync protocol yet.
Idea: Use Qabel storage to hold a history file for specific modules and provide functionality to ease the history keeping process for module implementations.
The text was updated successfully, but these errors were encountered: