Commit graph

414 commits

Author SHA1 Message Date
Josh Perez
198d6f7e26
Make composer duck aware of the conversation it is in 2023-01-04 16:22:36 -08:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Fedor Indutny
41d144bc98
Use @indutny/sneequals for memoization 2022-12-23 12:25:15 -08:00
Fedor Indutny
55a1c5f6c5
Use proxy-compare for message bubbles 2022-12-22 16:32:03 -08:00
Fedor Indutny
f92f81dfd6
Cache some volatile conversation properties 2022-12-22 16:13:23 -08:00
Fedor Indutny
dec23725e5
Use ReadonlyArrays in conversation model and redux 2022-12-21 16:07:02 -08:00
Josh Perez
a80c6d89a8
Moves message details into React pane land 2022-12-21 15:44:23 -05:00
Scott Nonnenberg
1a68c3db62
conversation_view: Move the last of the small functions to redux 2022-12-20 22:25:10 -05:00
Josh Perez
d8ea9856ec
Moves show all media to react pane 2022-12-20 09:50:23 -08:00
Josh Perez
ebeb6a7a6d
A hybrid panel system for React & Backbone 2022-12-14 10:41:04 -08:00
Josh Perez
35323db519
Fixes lightbox selectedIndex 2022-12-12 18:03:16 -05:00
Josh Perez
635a59a473
Moves showLightbox to redux 2022-12-09 21:02:22 -05:00
Josh Perez
7ea38bb1a9
Moves startGV2Migration to redux 2022-12-08 01:41:37 -05:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Jamie Kyle
6198b02640
Init payments message types 2022-11-30 13:47:54 -08:00
Fedor Indutny
1bff385805
Add more debug tools for stories 2022-11-22 15:33:15 -07:00
Josh Perez
1b16743917
Onboarding story improvements 2022-11-17 10:35:27 -07:00
Evan Hahn
a88243f26d
Better handle group call ring race conditions 2022-11-16 18:52:04 -08:00
Josh Perez
220963c789
Sending/Failed state for stories 2022-11-16 14:10:11 -08:00
Fedor Indutny
6be69a7ba8
Use DurationInSeconds for expireTimer 2022-11-16 13:18:02 -07:00
Scott Nonnenberg
5100d17ed2
SafetyNumberChangeDialog: Introduce awareness of stories 2022-11-10 23:10:30 -05:00
Alvaro
45069673ce
Fixed all connections count and renamed MY_STORIES_ID and EditMyStoriesPrivacyModal 2022-11-10 08:51:39 -07:00
Fedor Indutny
be6e988a95
Hydrate body ranges for story replies 2022-11-09 20:59:36 -08:00
Jamie Kyle
9f85db3fd8
stories: muted by default, muted on app blur 2022-11-09 23:24:42 -05:00
Josh Perez
4a5da95c1d
Fixes storybook 2022-11-09 13:11:45 -08:00
Josh Perez
19a42ed719
Onboarding story 2022-11-08 21:38:19 -05:00
Josh Perez
9229fca569
Rev stories feature flag 2022-11-08 12:55:51 -08:00
Alvaro
d0fb25f758
Show and sort active groups when sending a story 2022-11-08 13:01:59 -07:00
Alvaro
4445ef80eb
Implement group story reply deletion 2022-11-04 07:22:07 -06:00
Fedor Indutny
54aa0d39b9
Store all story reactions as messages 2022-11-02 16:48:38 -07:00
Scott Nonnenberg
9fba33943a
Keep story creator around until we've verified contacts and queued job 2022-11-01 17:36:16 -07:00
Fedor Indutny
8f62442822
Allow link-only stories, download previews 2022-10-31 14:28:28 -07:00
Josh Perez
db557104a6
Use group name for hidden stories 2022-10-26 15:34:57 -07:00
Fedor Indutny
3702a67975
Story view receipts setting 2022-10-25 15:18:42 -07:00
Josh Perez
471a9e2e98
Show group replies icon for stories with replies 2022-10-22 02:26:16 -04:00
Scott Nonnenberg
1c89168301
Phased rollout by country code; starting w/ desktop.stories remote flag 2022-10-20 14:02:22 -07:00
Josh Perez
85f706d48f
Render @mentions for group story replies 2022-10-19 10:36:54 -07:00
Fedor Indutny
00f82a6d39
Discriminator in username 2022-10-18 10:12:02 -07:00
Scott Nonnenberg
0e49f7906d
Story send: Send sync message even in partial failure 2022-10-14 18:22:04 -06:00
Alvaro
449a9a701a
Drop expired stories from selector 2022-10-14 14:47:14 -07:00
Alvaro
7483fe9f82
Disabled story replies when no longer a member of the group 2022-10-14 08:03:37 -06:00
Scott Nonnenberg
c08608e5d0
Expand beta check for stories availability 2022-10-12 10:39:05 -07:00
Alvaro
958f13b9f2
Fixed bug that was causing story playback to not play all unread 2022-10-07 22:02:46 -04:00
Fedor Indutny
95bee1c881
Sync group stories through storage service 2022-10-07 17:19:02 -07:00
Fedor Indutny
8b705d3b55
Sync storiesDisabled flag on AccountRecord 2022-10-04 10:53:36 -07:00
Alvaro
44db76531e
markStoryRead: More logging in unusual cases 2022-10-03 16:10:20 -07:00
Scott Nonnenberg
5ed5483dd7
Eliminate unknown groups and contacts from search results 2022-09-26 13:18:11 -07:00
Alvaro
22bf3ebcc0
Implemented ability to quickly add a user to a group 2022-09-26 09:24:52 -07:00
Josh Perez
d911439f0f
Include distribution list name on sent stories 2022-09-22 14:56:49 -04:00
Josh Perez
94ef800e33
Autoplay the hidden stories section 2022-09-22 14:56:39 -04:00
Josh Perez
0be580e8e5
Fixes story play order 2022-09-21 20:55:23 -04:00
Josh Perez
af5a496994
Sort stories when they were read at 2022-09-21 17:54:48 -06:00
Josh Perez
b04fbb6d8d
Do not allow replies to self story 2022-09-21 12:19:16 -07:00
Alvaro
6cfe2a09df
Consecutive playback and per-conversation playback rate 2022-09-15 14:10:46 -06:00
Jamie Kyle
eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Alvaro
383a0fd17f
Added the time remaining for disappearing messages and stories 2022-09-09 11:35:00 -07:00
Josh Perez
39143015c5
UI for when read receipts are turned off 2022-08-31 09:11:14 -07:00
Josh Perez
eadef45290
Fix story group replies rendering 2022-08-25 12:10:56 -04:00
Josh Perez
981bbf1a3f
Change the MyStories sort order 2022-08-24 14:39:10 -07:00
Josh Perez
fef9e5b58e
@mention support for story replies 2022-08-23 11:02:51 -07:00
Josh Perez
22b05b6d11
Clear stories notification after visiting stories view 2022-08-23 13:37:48 -04:00
Josh Perez
f611256afc
First time My Stories post experience 2022-08-23 10:24:55 -07:00
Josh Perez
6f7094bc19
Allow paging through My Stories 2022-08-22 13:44:23 -04:00
Josh Perez
0fb45f045d
Handle Safety Number changes while sending a story 2022-08-19 14:05:31 -04:00
Josh Perez
936ce91b2e
Move getUntrustedContacts out of conversation_view 2022-08-16 16:59:11 -07:00
Josh Perez
f7b2627991
Fixes isHidden prop from not being present in StoryView 2022-08-11 12:38:24 -07:00
Josh Perez
ccc89545c5
Lets users send stories to groups 2022-08-10 14:37:19 -04:00
Josh Perez
71382b8f65
Do not count DOE stories in the unread count 2022-08-05 13:17:14 -04:00
Josh Perez
5dc42122a8
Use <Message /> for group story replies 2022-08-04 21:29:44 -04:00
Josh Perez
dca848389c
Sync stories sent to a group 2022-08-04 21:13:26 -04:00
Josh Perez
726e67ce95
Place calls on top of story viewer, pause stories while in call 2022-08-04 21:07:46 -04:00
Josh Perez
9eff67446f
Send text attachment stories 2022-08-02 15:31:55 -04:00
Josh Perez
c3bb3b152e
Update selectedStoryData whenever its story changes 2022-07-29 13:22:55 -07:00
Josh Perez
7d2b91368d
Normalize the distribution list and UUIDs iOS sends us 2022-07-29 13:16:36 -04:00
Josh Perez
06476de6c9
Adds debugging information to stories 2022-07-25 11:55:44 -07:00
Josh Perez
badf9d7dda
Stories improvements 2022-07-21 18:38:27 -07:00
Josh Perez
5dfe30d235
Add story entry points around the app 2022-07-21 17:44:35 -07:00
Scott Nonnenberg
026f574fdb
Replace mentions with text when forwarding 2022-07-21 09:26:11 -07:00
Josh Perez
e321e1fea8
Edit distribution lists via story settings menu 2022-07-20 20:07:09 -04:00
Josh Perez
581b841098
Add unread count to the stories badge 2022-07-20 19:06:15 -04:00
Josh Perez
0d2e6493f5
Add a stories toggle to Preferences 2022-07-19 20:47:05 -04:00
Scott Nonnenberg
2f252b8e26
Repair broken attachments with non-array 'data' fields 2022-07-18 13:01:43 -07:00
Scott Nonnenberg
50222558bf
Remove emoji, mentions and links when calculating text direction 2022-07-11 16:34:55 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Josh Perez
664181cf9c
Fixes getStoryView selector 2022-07-07 14:59:08 -07:00
Josh Perez
3e644f45cf
Fixes story viewing behavior 2022-07-06 15:06:20 -04:00
Josh Perez
9155784d56
Sync my stories with primary device 2022-06-30 20:52:03 -04:00
Fedor Indutny
9407654262
Counteract zoom-level changes in custom titlebar 2022-06-20 11:26:31 -07:00
Josh Perez
d970d427f8
Create text stories 2022-06-16 17:48:57 -07:00
Scott Nonnenberg
924c271b13
Convert js/modules/types/message to Typescript 2022-06-09 18:10:20 -07:00
Fedor Indutny
5634601554
Use patched frameless-titlebar on Windows 2022-06-08 15:00:32 -07:00
Evan Hahn
f50a6abe36
Remove unused eslint-disables 2022-06-03 14:07:51 -07:00
Scott Nonnenberg
0ff2272d13
getMessagePropStatus: Move back to isOutgoing for in/out check 2022-06-01 11:40:36 -07:00
Scott Nonnenberg
d446aa9e6b
Move to uuids for untrusted conversations needing verification 2022-05-31 12:46:56 -07:00
Scott Nonnenberg
49bb1321e3
Sort groups you've left to the bottom of search 2022-05-31 09:28:31 -07:00
Scott Nonnenberg
6f2b01d98b
Restore useful bubble for incoming messages with errors 2022-05-31 09:26:07 -07:00
Fedor Indutny
80c90540f6
Restore call view mode after presentation end 2022-05-25 11:03:27 -07:00
Fedor Indutny
dfc310805a
Allow manually retrying attachment downloads 2022-05-23 16:07:41 -07:00
Scott Nonnenberg
af2c884c9f
Timeline: Use messageChangeCounter to mark messages read less often 2022-05-11 15:41:45 -07:00
Scott Nonnenberg
0ba6a0926e
Support for incoming gift badges 2022-05-11 13:59:58 -07:00
Josh Perez
0ca66d6e95
Adjust story replies for direct conversations 2022-05-10 15:02:21 -04:00
Josh Perez
85c8ff76dc
Adds playback bar to story viewer 2022-05-06 12:02:44 -07:00
Josh Perez
6d576ed901
Allow multiple reactions to stories 2022-04-28 18:06:28 -04:00
Josh Perez
2f44e33c9c
Move link notification to the conversation hero 2022-04-25 14:03:24 -07:00
Scott Nonnenberg
3a1df01c9e
New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
Josh Perez
e3d537cbd3
Render group stories 2022-04-14 20:08:46 -04:00
Scott Nonnenberg
302604f67e
Restore ability to message someone from embedded contact 2022-04-11 17:26:09 -07:00
Josh Perez
0a0fabd2ca
Changes story sort order 2022-04-08 11:40:15 -04:00
Fedor Indutny
e1e1cfb892
Use fuse.js for regular contact search 2022-04-07 11:47:12 -07:00
Fedor Indutny
9568d5792e
Allow adding to a group by phone number 2022-04-04 17:38:22 -07:00
Scott Nonnenberg
42bd8cb4ce
getUntrustedConversations: Ensure we return conversationIds 2022-03-29 17:14:01 -07:00
Josh Perez
3b5cc26fec
Adds logic around downloading stories 2022-03-28 18:10:08 -07:00
Fedor Indutny
2602db97f0
Allow composing to contacts from groups 2022-03-28 14:13:24 -07:00
Scott Nonnenberg
bb066d4a84
Reintroduce inline metadata with full RTL support 2022-03-23 13:23:28 -07:00
Fedor Indutny
e08d9baaba
Remove createNonBreakingLastSeparator 2022-03-21 14:46:20 -07:00
Josh Perez
3620309f22
Show story replies in the timeline 2022-03-16 10:30:14 -07:00
Scott Nonnenberg
703bb8a3a3
Introduce new 'Block request' button in timeline 2022-03-15 17:11:28 -07:00
Evan Hahn
72c6c57186
If not enough messages are loaded (on tall screens), fix jankiness 2022-03-11 14:31:21 -08:00
Josh Perez
eb91eb6fec
Process incoming story messages 2022-03-04 13:14:52 -08:00
Evan Hahn
effe5aae6f
Assume everyone is GV2-capable 2022-03-04 13:48:44 -06:00
Scott Nonnenberg
0a52318be6
Delete for everyone: Track sends and show failure states 2022-03-04 11:22:31 -08:00
Evan Hahn
0c31ad25ef
Remove React Virtualized from <Timeline> 2022-03-03 14:23:10 -06:00
Scott Nonnenberg
4763831d3e
background.ts: Introduce types for redux initialState 2022-02-23 12:48:40 -06:00
Scott Nonnenberg
30783c887c
Introduce new conversationJobQueue 2022-02-16 10:36:21 -08:00
Fedor Indutny
1b352531ca
Our conversation doesn't require profile sharing 2022-02-11 17:04:07 -08:00
Evan Hahn
eed3e8e316
Disable "Call Again" if already on a call 2022-02-11 12:21:45 -06:00
Evan Hahn
f5a4cd9ce8
Peek group calls when opening conversations and leaving calls 2022-02-08 13:18:51 -06:00
Josh Perez
909453b20b
Allow reactions in announcement only groups 2022-02-02 15:01:22 -05:00
Josh Perez
bf45182a39
New left pane search design 2022-01-27 16:12:26 -06:00
Evan Hahn
babd61377b
Remove floating date header remote config flags 2022-01-27 13:50:01 -08:00
Evan Hahn
f9440bf594
Timeline date headers 2022-01-26 17:05:26 -06:00
Scott Nonnenberg
34fd945f83
No Backbone in data layer; server/client interfaces are now similar 2021-12-10 16:51:54 -06:00
Josh Perez
2136c5311b
Fix default conversation color overrides 2021-12-03 18:10:03 -08:00
Evan Hahn
c88cb62464
Hide "delete for everyone" button for pending messages 2021-12-02 13:28:19 -08:00
Fedor Indutny
518ebc315e
Ensure that message heights are always recomputed 2021-11-30 20:34:56 +01:00
Evan Hahn
67b17ec317
Hide "become a sustainer" button if you're already a sustainer 2021-11-30 17:29:57 +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
Evan Hahn
c63bf11a8f
Show badges in reaction viewer 2021-11-17 22:11:46 +01:00
Evan Hahn
7d17158add
Show badges on message avatars where applicable 2021-11-15 16:53:42 -06:00
Evan Hahn
4490d9f2d0
Upgrade Reselect to 4.1.2
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2021-11-12 16:37:44 -06:00
Scott Nonnenberg
cbae7f8ee9
Search for username in compose mode 2021-11-11 17:17:29 -08:00
Scott Nonnenberg
edab7c7d83
Remember message Read More state when scrolling in virtualized container 2021-11-11 15:45:47 -08:00
Evan Hahn
5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Scott Nonnenberg
5bd7eda124
Scroll to bottom of conversation on message send 2021-11-02 19:00:54 -07:00
Evan Hahn
f647c4e053
Display user badges 2021-11-02 16:01:13 -07:00
Scott Nonnenberg
3190f95fac
Usernames: Create/update/delete in profile editor 2021-11-01 12:13:35 -07:00
Evan Hahn
a9cb621eb6
Various search UI improvements 2021-11-01 11:43:02 -07:00
Evan Hahn
8670a4d864
Retry outbound reactions for up to a day 2021-10-29 18:19:44 -05:00
Fedor Indutny
9458b399d8
Speed up getAuthor for message 2021-10-28 15:39:16 -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
Evan Hahn
35a54cdc02
Introduce a new design for the left pane 2021-10-12 16:59:08 -07:00
Evan Hahn
9aa0de5b6c
When a group call starts, show an OS notification 2021-09-24 09:01:01 -05:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Evan Hahn
20be8a11fe
Read and write preferred reactions to storage 2021-09-15 11:59:51 -07:00
Fedor Indutny
5a57e2b704
Fix action propagation to timeline items 2021-09-12 19:36:41 -07:00
Evan Hahn
e2392433e0
Preferred reactions: store raw emoji, gate on feature flag 2021-09-09 16:47:30 -07:00
Evan Hahn
f28456c160
Let users customize the preferred reaction palette 2021-09-09 09:29:01 -07:00
Scott Nonnenberg
1dda705c52
Mandatory profile sharing: Don't disable react/reply in GroupV2 groups 2021-09-02 16:29:46 -07:00
Evan Hahn
a85dd1be36
Retry outbound "normal" messages for up to a day 2021-08-31 13:58:39 -07:00
Josh Perez
347f542ac0
Derive default conversation color from storage 2021-08-24 17:15:12 -07:00
Evan Hahn
79c976668b
Receive rings for group calls 2021-08-20 09:06:15 -07:00
Fedor Indutny
fe040a2873
Rename ContactType to EmbeddedContactType 2021-08-19 20:56:39 -05:00
Fedor Indutny
80c1ad6ee3
Don't mutate state in TimelineItem 2021-08-19 13:14:41 -07:00
Josh Perez
91af0dad78
Faster preferences window 2021-08-18 13:08:14 -07:00
Evan Hahn
b0750e5f4e
Show "unplayed" dot on incoming audio messages 2021-08-12 13:15:55 -05:00
Fedor Indutny
d41e61a96b
Optimize render part 2 2021-08-11 16:06:20 -07:00
Fedor Indutny
12c78c742f
Optimize rendering 2021-08-11 09:23:21 -07:00
Fedor Indutny
c0ab1dff11
Change conversation color assert to warning 2021-08-06 12:36:54 -07: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
Scott Nonnenberg
bcb9d2d2f3
Modernize DeliveryIssueDialog, fix outline clipping in Modal 2021-08-02 14:19:18 -07:00
Evan Hahn
1891375c6c
Remove "delete for everyone" option from failed messages 2021-08-02 12:26:48 -07:00
Scott Nonnenberg
114a9b6969
Delivery Issues: Show simpler message when displayed in a group 2021-07-27 13:30:41 -07:00
Evan Hahn
14929fb408
Show "unplayed" dot on outgoing audio messages 2021-07-27 10:42:25 -05:00
Evan Hahn
2c59c71872
Show read/viewed even after read receipts disabled 2021-07-21 12:21:16 -07:00
Josh Perez
56d5d283bd
Support for announcement-only groups 2021-07-20 13:18:35 -07:00
Evan Hahn
c4a09b7507
Refactor outbound delivery state, take 2
This reverts commit ad217c808d.
2021-07-19 17:44:49 -05:00
Fedor Indutny
8951665554
Clean up conversations with UUID as E164 2021-07-13 17:46:02 -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
Evan Hahn
56933192ba
Clean up "can reply" logic, add tests 2021-07-01 16:57:10 -07:00
Evan Hahn
7dac480df5
Don't expire incoming expiration timer updates 2021-07-01 16:48:40 -07:00
Fedor Indutny
773aa9af19
Better emoji support in linkify/previews 2021-06-30 10:00:02 -07:00
Evan Hahn
65ad608aa7
Move message selector tests to the right place 2021-06-29 17:51:57 -07:00
Fedor Indutny
2cd4160422
Unify audio playback under App component 2021-06-29 12:58:29 -07:00
Fedor Indutny
cd28e71bc6
Default disappearing message timeout fixes 2021-06-25 16:52:56 -07:00
Fedor Indutny
a7799a74c1
Fix rendering of GIFs 2021-06-24 12:05:27 -07:00
Evan Hahn
b990204bce
Clean up MessageModel group_update 2021-06-23 09:14:11 -07:00
Evan Hahn
6b2dfeb9f5
Use POJO instead of MessageModel in ConversationView quote logic 2021-06-22 16:16:50 -07:00
Scott Nonnenberg
68f1023946
Move message.getPropsForBubble and friends to selectors 2021-06-17 10:15:10 -07:00
Fedor Indutny
17e6ec468e
Faster WebSocket reconnects 2021-06-09 15:28:54 -07:00
Scott Nonnenberg
f226822dff
Conversation: Prevent getProps errors on initial link
Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2021-06-08 16:31:35 -05:00
Josh Perez
bd46e3afd6
Fixes global chat color setting 2021-06-02 14:05:09 -07:00
Evan Hahn
6c6eed0b1e
Don't show name collisions for system contacts 2021-06-02 10:24:22 -07:00
Fedor Indutny
19f8042cd3
Universal Disappearing Messages 2021-06-01 13:45:43 -07:00