status-go/protocol/communities
Pascal Precht f5dfa58602 refactor(communities): better archive download handling
This commit makes a few changes to the community history archive
download routine to make it more robust:

1. Prior to this commit, even when there were no archives to be
   downloaded, we were still trying to extract messages from archive
   data.
2. Logs have been improved as they were sometimes showing confusing
   information
3. We now handle interruption of ongoing download + data import much
   better in case of multiple magnetlinks being processed in roughly the
   same time.
4. We now keep track of which archive has been successfully imported
   into the database. Without this, Status would consider any downloaded
   archives as "done" even though they haven't actually been imported
   into the database yet. This way Status should be able to pick up its
   work were it left of the last time, in case a user closes the app, or
   another magnetlink interrupts the ongoing process.
2022-12-13 16:13:15 +01:00
..
migrations
adaptors.go feat: sync `CommunitySettings` across paired devices 2022-06-16 12:45:05 +02:00
community.go fix(ImportCommunity): Setting admin roles during import community. 2022-12-06 10:25:21 +01:00
community_categories.go feat: Add mute category methods (#2736) 2022-07-06 19:16:19 +03:00
community_categories_test.go Validate no duplicated community chat names 2021-06-03 13:27:49 +02:00
community_test.go fix: remove ourselves from members when leaving community 2022-09-21 08:35:52 +02:00
errors.go Allow owner/admin to delete messages of a community (#2958) 2022-12-02 19:34:02 +08:00
manager.go refactor(communities): better archive download handling 2022-12-13 16:13:15 +01:00
manager_test.go feat(CommunitiesManager): introduce `CreateHistoryArchiveTorrentFromMessages` API 2022-10-24 13:28:55 +02:00
persistence.go refactor(communities): better archive download handling 2022-12-13 16:13:15 +01:00
persistence_test.go feat: add `SpectateCommunity` api 2022-10-06 21:21:37 +02:00
persistence_test_helpers.go feat: add `SpectateCommunity` api 2022-10-06 21:21:37 +02:00
request_to_join.go feat(communities): Cancel request to join community (#2915) 2022-10-28 11:41:20 +03:00
request_to_join_test.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
request_to_leave.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
utils.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
validator.go feat: community tags (#2708) 2022-06-24 09:40:12 -04:00