Commit Graph

83 Commits

Author SHA1 Message Date
Josh Perez 5e2d48cc2f
Do not populate left pane on initial link 2021-04-20 19:16:49 -04:00
Evan Hahn ea6562b7ac Merge branch 'hiqua-no_lower_limit_query' into next-beta 2021-04-14 14:14:57 -07:00
Josh Perez a2a361f0bf
Extra validations for storage service 2021-04-09 16:12:05 -04:00
Josh Perez 6c0acd09df
Sync mute state 2021-04-09 11:19:38 -05:00
Josh Perez 9438b7b3fe
Fixes pinned conversations sync 2021-04-08 15:27:20 -04:00
Josh Perez e4db9358cf
Storage service logging same 2021-04-06 15:54:47 -07:00
Evan Hahn a7c78b3b23 Storage service: save new AccountRecord fields to disk 2021-04-05 18:08:50 -04:00
Josh Perez 1264e6da2b Retain protections on gv1 records that match gv2 ids 2021-03-30 20:40:48 -04:00
Evan Hahn b725ed2ffb Refresh profiles on app start (at most every 12 hours) 2021-03-19 16:57:36 -04:00
Fedor Indutny 11bcbded64 Storage Service fixes to prevent crashes on Android
* Merge report v1 group settings into local v2 group

The invariants of Storage Service mandate that the remote data always
takes precendence over the local data. We have to updated
blocked/whitelisted/... of the v2 group even if the record is for the v2
group. After doing such update - sync the manifest back to the Storage
Service with correct v2 record for the group.

* Repair errored records before uploading manifest

Fetch and re-attempt to merge errored records before uploading the
manifest. This is useful in the cases where we were not aware of the V1
group when the remote manifest was fetched, and became aware of it
before the new manifest is generated. In such scenario, we should fetch
the records for things we have failed on last time and attempt to merge
them with our data. If they are merged - we should not let their
storageIDs hang in the new manifest, which would cause group duplicates
and crashes on other clients.

* Create v1 group for storage service record

If we receive storage service record with v1 group that we didn't sync
yet (or just don't have for any other reason) - create it instead of
pushing it to `storage-service-error-records`.
2021-03-19 16:57:36 -04:00
Josh Perez 230604b451 Fix for storage service profileSharing setting 2021-03-19 16:57:35 -04:00
Scott Nonnenberg 2c69f2c367 Support for GV1 -> GV2 migration 2020-11-23 14:48:12 -05:00
Sidney Keese 4d95f83007
Clean up transitional pinned chats 2020-11-09 12:30:05 -06:00
Sidney Keese bba9df3149
Ensure incoming pinned conversations are not archived
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-11-09 09:32:59 -06:00
Evan Hahn 8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Chris Svenningsen c408072576 Mark conversation as unread
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-11-04 13:03:10 -06:00
Scott Nonnenberg cd9aee84f5
Always share profile on send; no profile sharing UI if no messages 2020-10-28 17:40:50 -07:00
Chris Svenningsen fdc3476106 Fix a few pinned chat sync issues 2020-10-15 18:59:45 -04:00
Josh Perez fac1f26ad2 Better logging for pin/unpin 2020-10-15 14:35:57 -04:00
Josh Perez c7308b485b Tidy up the storage service logs 2020-10-12 18:10:08 -04:00
Scott Nonnenberg 9002b21a6b Minimize downstream effects of storage sync 2020-10-12 18:10:08 -04:00
Josh Perez b879c73b86 Storage service write improvements 2020-10-12 18:10:08 -04:00
Scott Nonnenberg d51a0b5ece GroupsV2: Better group invite behavior 2020-10-12 18:10:08 -04:00
Chris Svenningsen cf9764c85a Consolidate checks for v2 Groups 2020-10-12 18:10:08 -04:00
Chris Svenningsen 6a7d45b6fc Pinned Chats 2020-10-12 18:10:08 -04:00
Josh Perez 27759233e4 Storage Service Write: Improved conflict handling 2020-10-12 18:10:08 -04:00
Chris Svenningsen 63b2644cb4 Read Pinned Chats
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-10-12 18:10:08 -04:00
Sidney Keese dabab60f56 Remove TSLint
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-10-12 18:10:07 -04:00
Chris Svenningsen b5df9b4067 Migrate messages, conversations, conversation_view, background to TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-10-12 18:10:07 -04:00
Scott Nonnenberg 9f73b40d7a
MessageReceiver: Use UUID if we have it 2020-09-25 09:20:36 -05:00
Josh Perez 0fe7e30398 Storage Service: More logging 2020-09-21 15:42:51 -04:00
Scott Nonnenberg 7a02cc815d Support for new GroupV2 groups 2020-09-09 17:34:57 -07:00
Josh Perez 1ce0959fa1 Storage Service: Write 2020-09-09 17:34:57 -07:00