jami-daemon issueshttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues2021-08-09T14:35:49Zhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/600TrustRequest: add signal for conversationRequest removed, and ensure it's cor...2021-08-09T14:35:49ZSébastien BlinTrustRequest: add signal for conversationRequest removed, and ensure it's correctly syncedRelated to https://git.jami.net/savoirfairelinux/ring-project/-/issues/1282Related to https://git.jami.net/savoirfairelinux/ring-project/-/issues/1282Swarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/596Swarm: removeContact should remove syncing conversations2021-07-28T21:14:57ZSébastien BlinSwarm: removeContact should remove syncing conversations+ Fix bug
+ Add test+ Fix bug
+ Add testSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/595Swarm 1:1 detect contact left2021-07-28T16:05:38ZSébastien BlinSwarm 1:1 detect contact left+ Change repo to include /invited
+ "Contact left" should be visible in getConversationMembers()
+ Add test
+ DO client changes+ Change repo to include /invited
+ "Contact left" should be visible in getConversationMembers()
+ Add test
+ DO client changesSwarm-chatSébastien BlinAndreas TraczykSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/592Swarm: move last read per participant daemon' side2021-07-28T17:15:46ZSébastien BlinSwarm: move last read per participant daemon' side+ getMembers() should return last read
+ react to messageDisplayed/setMessageDisplayed
+ Add test
+ Add method to compute how many messages between two interactions
+ Update LRC
+ Update doc+ getMembers() should return last read
+ react to messageDisplayed/setMessageDisplayed
+ Add test
+ Add method to compute how many messages between two interactions
+ Update LRC
+ Update docSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/591Swarm: Add syncing conversations2021-07-28T17:15:46ZSébastien BlinSwarm: Add syncing conversations+ convInfos_ works? => Test case replace convInfos_
+ Add to convInfo when accepting, not when cloned
+ getConversations() must return syncing conversations
+ conversationInfos() must return syncing:true
+ add tests
+ update doc
+ Add p...+ convInfos_ works? => Test case replace convInfos_
+ Add to convInfo when accepting, not when cloned
+ getConversations() must return syncing conversations
+ conversationInfos() must return syncing:true
+ add tests
+ update doc
+ Add patch for LRCSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/524Swarm: redo file transfer logic [Wait for android implem]2022-11-18T20:22:36ZSébastien BlinSwarm: redo file transfer logic [Wait for android implem]+ sendFile() only adds a message to the conversation, but don't send any request
+ other peers download files or not
+ logic is the same as askForTransfer
+ URI should supports parameters like from/to to download a block
+ If a socket ...+ sendFile() only adds a message to the conversation, but don't send any request
+ other peers download files or not
+ logic is the same as askForTransfer
+ URI should supports parameters like from/to to download a block
+ If a socket is cut, it should retry to download
+ Add ratio infos (peers transfer in progress)
# TODO
~~+ rebase unit tests~~
~~+ Download file return TID file~~
~~+ relink cancelTransfer~~
~~+ shutdown channel avoid write both sides.~~
~~+ start offset support~~
~~+ remove istringstream~~
~~+ cache waiting transfers~~
~~+ add re-ask mechanism~~
~~+ Prepare patch to delete all deprecated code~~
~~+ Relink infos()~~
~~+ Check that all test builds~~
~~+ Move transferManager in conversation and logic from jamiaccount~~
~~+ rebase re-ask~~
~~+ sendProfile()~~
~~+ patch to remove all old logic~~
~~+ fileInfo (conv, interactionId, info)~~
~~+ cleanup code~~
~~+ add tests (info out/in ; retry ; info ; bytesProgress)~~
~~+ Update API~~Swarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/480Validate Beta Swarm windows2021-07-16T18:09:48ZSébastien BlinValidate Beta Swarm windowsSwarm-chatGuillaume HellerGuillaume Hellerhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/452Swarm check cancelFile compat + generator (same id?)2021-06-12T11:39:06ZSébastien BlinSwarm check cancelFile compat + generator (same id?)Swarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/448[To test]Swarm: weird clone failure on sync2021-03-02T15:48:36ZSébastien Blin[To test]Swarm: weird clone failure on sync```
gheller@pc-gheller:~/.local/share/jami/457c1d61f7710c64/conversations/7ac13b2d77f9ed337618db340a9d1cb0f9f2a2cd$ git log
commit 401c9afc98aa2d4deebe6b989749169c96c6e0e1 (HEAD -> main, origin/main, origin/HEAD)
Author: 698fe6e10ae1f472...```
gheller@pc-gheller:~/.local/share/jami/457c1d61f7710c64/conversations/7ac13b2d77f9ed337618db340a9d1cb0f9f2a2cd$ git log
commit 401c9afc98aa2d4deebe6b989749169c96c6e0e1 (HEAD -> main, origin/main, origin/HEAD)
Author: 698fe6e10ae1f4722dabe32ad5e885a464085db5 <698fe6e10ae1f4722dabe32ad5e885a464085db5>
Date: Thu Feb 18 21:12:42 2021 +0000
{"body":"\u2728","type":"text/plain"}
commit 92092c07f827171c289e60a44e9bf7e7c93242b9
Author: 7c38177a10d618bc30f93f0284d82d6ef246c459 <7c38177a10d618bc30f93f0284d82d6ef246c459>
Date: Thu Feb 18 21:11:59 2021 +0000
{"displayName":"img_20210218_161153_411016185718028660.jpg","sha3sum":"b7d5c6e752a4b29537dae244f429f38446ab4f2d34b09ed477a9428dcad9e8bf4decc5213d409d0b140d95d5a58517b718f56c6ed0691cdcc4e32b01b18f5d8a","tid":"8783314023060598","totalSize":"5024115","type":"application/data-transfer+json"}
commit 9687b46bee5159e19690ea7b7db07533fc5a9c57
Author: 7c38177a10d618bc30f93f0284d82d6ef246c459 <7c38177a10d618bc30f93f0284d82d6ef246c459>
Date: Thu Feb 18 21:11:42 2021 +0000
{"body":"Non je re\u00e7ois que sur Android","type":"text/plain"}
error: Could not read 095ced7a8debd31058c1dc68099809b64a9fb5bf
fatal: Failed to traverse parents of commit b6f09dc7e13f3c791b7e226890717100af38a282
```Swarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/437[To test]Swarm: Still some "could not fetch commit..."2021-03-02T15:48:33ZSébastien Blin[To test]Swarm: Still some "could not fetch commit..."Sometimes, when android sends a message, the message is not received by the other peer, with "could not fetch commit..". This needs some investigation. all messages should pass directlySometimes, when android sends a message, the message is not received by the other peer, with "could not fetch commit..". This needs some investigation. all messages should pass directlySwarm-chatSébastien BlinSébastien Blin2021-03-03https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/391Replay Conversation: fix block when destroying + fetch while join2021-02-26T16:37:52ZSébastien BlinReplay Conversation: fix block when destroying + fetch while joinSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/387Swarm: prune branch after fetch & validation2021-02-26T16:37:27ZSébastien BlinSwarm: prune branch after fetch & validationSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/381Swarm: add getConversationsInfo() with title + avatar + mode2021-04-21T19:13:20ZSébastien BlinSwarm: add getConversationsInfo() with title + avatar + mode# Done
+ Store title/subtitle/avatar into /profile.vcf
+ add commit type application/profile-update
+ Merge conflicts solver. Force merge profile with higher commit
+ add getConversationsInfos/setconversationInfos
+ Add details in conve...# Done
+ Store title/subtitle/avatar into /profile.vcf
+ add commit type application/profile-update
+ Merge conflicts solver. Force merge profile with higher commit
+ add getConversationsInfos/setconversationInfos
+ Add details in conversationsRequests()
+ Commit verification, verify that only profile.vcf is modified
+ Tests: check add profile, merge with conflicts, , check request in addContact & addConversationMember, only admin can update, no bad file, validateAdminUpdates
+ Check that only admin updates
+ Add docs
+ Clean TODOsSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/377Swarm: POC - detected problems2021-01-04T18:39:27ZSébastien BlinSwarm: POC - detected problems+ Fast messaging: multiple channels got the same name. For example:
```
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1...+ Fast messaging: multiple channels got the same name. For example:
```
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name file://10367978848762943917
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828339.889|33053|multiplexed_socket.cpp:551 ] - Channel with name git://83b8efe4723f10680305db94bcb541fadebd5240/30fc5d556dd299d2cdc16fa7d621925a30ffa809
```
Should be unique, there is no reason to get so much time the same channel
+ Sometimes pull seems blocked, to investigate
+ Fast messaging: some clone failures:
```
[1608828673.275|33053|connectionmanager.cpp:387 ] Peer already connected. Add a new channel
[1608828673.392|41548|jamiaccount.cpp :2466 ] [Account 681cc7e42523b44d] New channel asked from 48c2bec426adc0a604f771df7ba324a7730facf3 with name git://48c2bec426adc0a604f771df7ba324a7730facf3/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828673.392|39557|jamiaccount.cpp :2466 ] [Account 681cc7e42523b44d] New channel asked from 48c2bec426adc0a604f771df7ba324a7730facf3 with name git://48c2bec426adc0a604f771df7ba324a7730facf3/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828673.393|38932|jamiaccount.cpp :2466 ] [Account 681cc7e42523b44d] New channel asked from 48c2bec426adc0a604f771df7ba324a7730facf3 with name git://48c2bec426adc0a604f771df7ba324a7730facf3/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828673.393|37630|jamiaccount.cpp :2466 ] [Account 681cc7e42523b44d] New channel asked from 48c2bec426adc0a604f771df7ba324a7730facf3 with name git://48c2bec426adc0a604f771df7ba324a7730facf3/30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828675.393|41548|conversationrepository.cpp:2041 ] Could not fetch remote repository for conversation 30fc5d556dd299d2cdc16fa7d621925a30ffa809: early EOF
[1608828675.393|41548|jamiaccount.cpp :4393 ] [Account 681cc7e42523b44d] Could not fetch new commit from 48c2bec426adc0a604f771df7ba324a7730facf3 for 30fc5d556dd299d2cdc16fa7d621925a30ffa809
[1608828676.393|38939|conversationrepository.cpp:2041 ] Could not fetch remote repository for conversation 30fc5d556dd299d2cdc16fa7d621925a30ffa809: invalid response
[1608828676.393|38939|jamiaccount.cpp :4393 ] [Account 681cc7e42523b44d] Could not fetch new commit from 48c2bec426adc0a604f771df7ba324a7730facf3 for 30fc5d556dd299d2cdc16fa7d621925a30ffa809
```
This early EOF should not be there. To investigateSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/375Swarm: add conversation removed signal2021-04-19T14:20:34ZSébastien BlinSwarm: add conversation removed signalSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/374swarm: call messages generated twice2020-12-22T20:01:21ZKateryna Kostiukswarm: call messages generated twiceSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/373Swarm: add API to get conversationLastError()2021-04-21T19:13:20ZSébastien BlinSwarm: add API to get conversationLastError()Swarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/367Add call + file transfer messages2021-04-19T13:30:50ZSébastien BlinAdd call + file transfer messages+ Accept commits similar to plain/text but different mimetype
+ Add messages "application/call-history+json" and add the message when stopping the call (duration/to)
+ Support "application/data-transfer+json" and add to the history when ...+ Accept commits similar to plain/text but different mimetype
+ Add messages "application/call-history+json" and add the message when stopping the call (duration/to)
+ Support "application/data-transfer+json" and add to the history when sending a fileSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/362Swarm: add signal for member events (add/join/leave)2021-04-19T13:30:25ZSébastien BlinSwarm: add signal for member events (add/join/leave)All is in the titleAll is in the titleSwarm-chatSébastien BlinSébastien Blinhttps://git.jami.net/savoirfairelinux/jami-daemon/-/issues/360Swarm: Add forced 1:1 mode2021-04-19T13:29:46ZSébastien BlinSwarm: Add forced 1:1 mode# Done
+ Modify initial commits and store mode into
+ Modify addContact to send a conversationId into the request, addConversationMember doesn't add any conv request
+ Modify acceptContactRequest
+ Conversation addConversationMember() ...# Done
+ Modify initial commits and store mode into
+ Modify addContact to send a conversationId into the request, addConversationMember doesn't add any conv request
+ Modify acceptContactRequest
+ Conversation addConversationMember() refuse if already 1 member
+ Checks if one to one, only one member can be added
+ removeContact => remove linked conversation
+ Check mode when validating commits
+ Add docs for wanted swarm modes
+ Test 1:1 mode via addContact
+ Test getMode
+ Test addConversationMember doesn't work after first member
+ Test removeContact()
+ test banContact()
+ Test initial commit without mode
+ Test merge refused if more than one member in 1:1
+ merge intial commit and invite (and simplify getMembers for one one & fetch simplify validation)
+ docs conversationRequest (id, from, received)
+ Retry on TrustRequests
+ Add test addOfflineOneOne
+ Docs for one to one, add contact and the tricky scenario (A adds B, removes B, re-add B)Swarm-chatSébastien BlinSébastien Blin