Commit Graph

296 Commits

Author SHA1 Message Date
Fedor Indutny 0d19f9131b
Drop legacy feature flags 2022-02-04 13:33:09 -08:00
Fedor Indutny e37c6e68ec
Sort conversations by active_at 2022-02-04 11:01:09 -08:00
Fedor Indutny 891e72a260
Make sure isPinned is in sync with storage service 2022-02-02 17:21:02 -08:00
Fedor Indutny fdbb2bfb36
Normalize UUID in ConversationModel.initialize 2022-02-02 13:41:29 -08:00
Fedor Indutny 089116d069
Use identity key from storage service 2022-02-01 18:26:23 -08:00
Evan Hahn c5ad020de7
Fix "mark conversation read" optimization 2022-01-31 13:52:09 -08:00
Jim Gustafson ab9d33cf1a
Update to RingRTC v2.17.2 2022-01-28 13:55:36 -06:00
Fedor Indutny 53a27d022f
Create contacts during processing of group updates 2022-01-27 13:46:31 -08:00
Evan Hahn f9440bf594
Timeline date headers 2022-01-26 17:05:26 -06:00
Scott Nonnenberg 68a458ec4a
Honor preferContactAvatars field on AccountRecord 2022-01-25 09:44:45 -08:00
Fedor Indutny 8cd557ff91
Add extra logging for change phone number 2022-01-20 14:44:25 -08:00
Fedor Indutny 26421b8c18
Log conversation open time 2022-01-19 16:40:29 -08:00
Scott Nonnenberg f1586578ff
Properly handle groupIds in incoming block sync 2022-01-19 16:39:27 -08:00
Scott Nonnenberg 90356d4c0f
Move a number of sync messages to jobs for retry 2022-01-14 13:34:52 -08:00
Evan Hahn 393b740fe6
Fix crash when changing your username 2022-01-13 13:25:20 -08:00
Scott Nonnenberg 02a732c511
getProfiles: Fetch a maximum of three profiles at at a time 2022-01-11 11:40:20 -08:00
Scott Nonnenberg 7d397167cd
updateSharedGroups: Make one database query, check for membership, sort 2022-01-06 09:20:54 -06:00
Evan Hahn 2f90608e1b
Improve "send anyway" experience when starting app 2022-01-04 14:24:18 -08:00
Scott Nonnenberg 0163ef203b
loadAndScroll: Use one transaction to pull all data: old/new/metrics 2021-12-20 22:05:13 +01:00
Scott Nonnenberg 60a53656af
Optimize a few queries 2021-12-20 22:04:02 +01:00
Evan Hahn 770c80b9ee
Remove several @ts-ignores 2021-12-16 17:14:21 -08:00
Fedor Indutny 73c702515b
Remove unnecessary casts in conversations.ts 2021-12-13 12:23:52 -06:00
Scott Nonnenberg 34fd945f83
No Backbone in data layer; server/client interfaces are now similar 2021-12-10 16:51:54 -06:00
Scott Nonnenberg 161b0e5379
Refactor sender key sends to allow distribution lists 2021-12-09 18:15:59 -08:00
Scott Nonnenberg fdc9885baa
Migration and data access functions for stories 2021-12-08 20:52:46 +01:00
Evan Hahn f9e98836b0
Retry delivery and read receipts for up to 24 hours 2021-12-07 14:41:40 -08:00
Josh Perez cd91ed6f45
Do not allow attachments if there are link previews 2021-12-01 21:19:54 +01:00
Scott Nonnenberg 563f016245
When you send a message, scroll it into view 2021-11-30 12:25:24 +01:00
Fedor Indutny a52530262f
Revert "When you send a message, scroll it into view"
This reverts commit a3525c16ef.
2021-11-23 14:09:07 +01:00
Scott Nonnenberg a3525c16ef
When you send a message, scroll it into view 2021-11-19 09:19:55 -08:00
Fedor Indutny d5ae3c94dd
Don't add change number notifications to ourselves 2021-11-18 21:26:53 +01:00
Evan Hahn f4e336836f
Add user badges to typing bubbles, refactor typing logic 2021-11-15 21:01:58 +01:00
Evan Hahn ede34ecee3
Enable `noImplicitOverride` TypeScript compiler option 2021-11-12 15:44:20 -08:00
Scott Nonnenberg cbae7f8ee9
Search for username in compose mode 2021-11-11 17:17:29 -08:00
Evan Hahn 5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Fedor Indutny 6e394a84d6
Less strict uuid fetch in areWeAdmin 2021-11-09 15:48:27 -08:00
Evan Hahn d6ffb08a63
Disable `class-methods-use-this` lint rule 2021-11-04 16:04:51 -05:00
Evan Hahn f647c4e053
Display user badges 2021-11-02 16:01:13 -07:00
Fedor Indutny 663cd77eac
Use react-redux's batch instead of react's 2021-11-01 16:38:08 -07:00
Scott Nonnenberg 3190f95fac
Usernames: Create/update/delete in profile editor 2021-11-01 12:13:35 -07:00
Evan Hahn 8670a4d864
Retry outbound reactions for up to a day 2021-10-29 18:19:44 -05:00
Fedor Indutny 71ee0568c0
Changing storageID shouldn't cause rerender 2021-10-28 15:38:37 -07:00
Fedor Indutny 63fcdbe787
Use UUIDs in group database schema 2021-10-26 15:59:08 -07:00
Evan Hahn 74fde10ff5
Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
Josh Perez 2e438aa876
Conversation details screen for 1:1 chats 2021-10-20 16:46:41 -07:00
Scott Nonnenberg 43825d3f55
getIdenticon: Use `conversation.getTitle()` for contact name 2021-10-17 16:46:54 -05:00
Evan Hahn 21c00f51bd
Improve reaction types 2021-10-13 09:29:15 -07:00
Fedor Indutny a537204fc0
Remove ts/services/timers.ts 2021-10-06 14:59:34 -07:00
Scott Nonnenberg bd380086a4
Send related emoji along with Sticker, fix SendMessage types 2021-10-05 17:10:08 -05:00
Evan Hahn 3c91dce993
Don't show group call start notifications more than once 2021-10-05 16:11:40 -05:00
Fedor Indutny a2dff82de2
Coalesce typing indicators when blocked 2021-09-29 15:46:35 -07:00
Fedor Indutny 8d1ab9fd69
Consistent scheduling of sendToGroup 2021-09-27 11:29:06 -07:00
Fedor Indutny 4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Evan Hahn bf572cab9c
Properly initialize session reset send states 2021-09-23 13:21:35 -07:00
Evan Hahn d2ef82686d
Notification improvements 2021-09-23 13:16:09 -05:00
Fedor Indutny 024a3521e1
Fix quote content-type for GIFs 2021-09-22 13:15:48 -05:00
Fedor Indutny b9d6497cb1
Better types for WebAPI 2021-09-21 17:58:03 -07:00
Evan Hahn 4e43459d34
Improve types for `ConversationType`'s `lastMessage` 2021-09-20 14:20:53 -05:00
Scott Nonnenberg 250a89d953
Additional logging, new ability to force Conversation 'change' event 2021-09-20 11:51:30 -07:00
Josh Perez 65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny c7e7d55af4
UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00
Evan Hahn a85dd1be36
Retry outbound "normal" messages for up to a day 2021-08-31 13:58:39 -07:00
Scott Nonnenberg dcf29078f4
ConversationView: Improve types 2021-08-30 14:32:56 -07:00
Evan Hahn 6f242eca57
Handle signal.me links 2021-08-28 08:27:38 -05:00
Fedor Indutny 4c6c869c86
Drop extraneous db query 2021-08-26 09:17:57 -07:00
Fedor Indutny 9236f59524
Log additional latency information on sends 2021-08-26 08:36:08 -07:00
Evan Hahn f86f753df9
Add `durations` utility for computing durations 2021-08-26 09:10:58 -05:00
Josh Perez e76f603233
Moves identicon svg to TS 2021-08-24 17:17:51 -07:00
Josh Perez 347f542ac0
Derive default conversation color from storage 2021-08-24 17:15:12 -07:00
Josh Perez 8f4a2026e4
Adds additional logging to profile sharing enable/disable 2021-08-24 16:37:17 -07:00
Evan Hahn 52328c2634
Add type for ConversationModel#getGroupV1Info 2021-08-23 16:15:34 -07:00
Fedor Indutny fe040a2873
Rename ContactType to EmbeddedContactType 2021-08-19 20:56:39 -05:00
Josh Perez 91af0dad78
Faster preferences window 2021-08-18 13:08:14 -07:00
Fedor Indutny 962515031d
Reduce number of SQL queries during conversation update 2021-08-16 11:56:27 -05:00
Evan Hahn b0750e5f4e
Show "unplayed" dot on incoming audio messages 2021-08-12 13:15:55 -05:00
Scott Nonnenberg 35625f4200
Groups: Force a fetch right now if our update runs into a conflict 2021-08-06 14:25:15 -07:00
Scott Nonnenberg 5069f48cf0
Message Send Log: Increase retention length 2021-08-05 20:17:23 -04:00
Josh Perez 12d2b1bf7c
Avatar defaults and colors 2021-08-05 20:17:05 -04:00
Fedor Indutny a001882d58
Change Phone Number notifications 2021-08-05 16:34:49 -07:00
Evan Hahn 6b290a0f0c
@mentions notifications 2021-08-05 07:35:33 -05:00
Evan Hahn eccd682920
Remove unused ConversationModel#getName 2021-08-02 14:26:54 -07:00
Fedor Indutny 926283a114
Fix uncaught error in `markMessageRead` 2021-07-30 15:13:52 -07:00
Scott Nonnenberg 0ab09711a4
Track performance of message sends 2021-07-30 11:37:03 -07:00
Fedor Indutny 1c1d0e2da0
Move to websocket for requests to signal server 2021-07-28 14:37:09 -07:00
Scott Nonnenberg 67d13e9ba8
More logging in addDeliveryIssue, properly wait in getProfiles 2021-07-26 17:00:16 -07:00
Josh Perez d9e90e9ea8
Improvements to shared library components 2021-07-21 13:45:41 -07:00
Evan Hahn 2c59c71872
Show read/viewed even after read receipts disabled 2021-07-21 12:21:16 -07:00
Josh Perez bf6c0ce7c0
Place announcement-only groups behind feature flag 2021-07-20 15:51:38 -05:00
Josh Perez 56d5d283bd
Support for announcement-only groups 2021-07-20 13:18:35 -07:00
Fedor Indutny 31989a7706
Translate errors before rejecting in SendMessage 2021-07-19 18:10:09 -07:00
Evan Hahn c4a09b7507
Refactor outbound delivery state, take 2
This reverts commit ad217c808d.
2021-07-19 17:44:49 -05:00
Scott Nonnenberg 7761d83055
Update timers whenever we mark messages read 2021-07-19 13:45:18 -07:00
Josh Perez cd35a29638
Edit profile 2021-07-19 12:26:06 -07:00
Scott Nonnenberg a42c41ed01
Message Send Log to enable comprehensive resend 2021-07-15 16:48:09 -07:00
Fedor Indutny ad217c808d
Revert "Refactor outbound delivery state"
This reverts commit 9c48a95eb5.
2021-07-12 16:51:45 -07:00
Evan Hahn 9c48a95eb5
Refactor outbound delivery state 2021-07-09 16:38:51 -05:00
Fedor Indutny ddbbe3a6b1
More protobufjs migration 2021-07-09 12:36:10 -07:00
Scott Nonnenberg b50bf58418
Clear profile avatar when we discover that it has been removed 2021-07-02 13:16:23 -07:00
Fedor Indutny 299fe2af36
More protobufjs use 2021-07-02 14:21:24 -05:00
Scott Nonnenberg 615ae1ccf7
Refactor SendMessage.ts to named parameters 2021-07-02 13:34:17 -05:00