Commit graph

574 commits

Author SHA1 Message Date
Josh Perez
fd6834588c
Link preview UI improvements 2023-02-03 14:21:07 -08:00
Fedor Indutny
63d6b14516
Split ACI contact when it is unregistered 2023-02-01 13:32:46 -08:00
Alvaro
42b4406ad5
Formatting voice recorder error 2023-01-27 09:51:53 -08:00
Josh Perez
6a80b4b837
Close story viewer when DOE a story 2023-01-27 10:35:58 -07:00
Josh Perez
28a295d4e1
Fixes audio recording 2023-01-26 09:57:39 -07:00
Josh Perez
b5947e0ef1
Fixes storybook for AudioCapture 2023-01-20 17:31:30 -07:00
Fedor Indutny
ef13eb06fc
Confine message selector cache to component 2023-01-19 11:56:02 -08:00
Fedor Indutny
ac50af52d2
Unsupported OS Dialog 2023-01-18 15:31:10 -08:00
Jamie Kyle
c58a723f45
Add type-alias-readonlydeep rule and make ducks mostly immutable 2023-01-13 12:07:26 -08:00
Scott Nonnenberg
cd6e4bbe28
Set draftChanged=true when changing draftAttachments, better logging 2023-01-12 17:25:59 -08:00
Josh Perez
9374832ea4
Enables ContextIsolation 2023-01-12 16:24:59 -08:00
Josh Perez
a1a2c68137
Scroll to message if clicking on opened conversation 2023-01-12 11:51:03 -07:00
Jamie Kyle
81fc9ff94d
Add more logs for call disposition 2023-01-11 12:04:03 -08:00
Jamie Kyle
e5638c0b20
Call Disposition 2023-01-09 16:52:01 -08:00
Jim Gustafson
01eb3b73b4
Update to RingRTC v2.23.0 2023-01-09 10:38:57 -08:00
Scott Nonnenberg
aa1f96cb6a
ducks/composer: Properly compare attachment size against limit 2023-01-06 10:31:45 -08:00
Josh Perez
74abe0c1ef
Do not fire SELECTED_CONVERSATION_CHANGED more than once 2023-01-05 15:34:47 -08:00
Josh Perez
6dd32456c6
Remove a message from lightbox if its been DOE 2023-01-05 15:16:56 -07:00
Scott Nonnenberg
b8234765bf
Update Backbone types: attributes is T - and fix failing type checks 2023-01-05 13:58:13 -08:00
Josh Perez
c65a7d0a14
Fix error where removePreview is called without a conversationId 2023-01-05 16:55:33 -05:00
Fedor Indutny
487bb58880
Fix units of maximum attachment size 2023-01-05 13:47:11 -08:00
Josh Perez
198d6f7e26
Make composer duck aware of the conversation it is in 2023-01-04 16:22:36 -08:00
Jamie Kyle
7a076be0e7
Don't allow link preview and draft attachment at the same time 2023-01-04 15:00:38 -08:00
Josh Perez
476006af96
Clears @mentions when clearing draft 2023-01-03 14:35:59 -08:00
Josh Perez
add184d0da
Guard against composer setting quote while conversation switched 2023-01-03 14:32:40 -08:00
Dimitris Apostolou
3c80272673 Fix typos 2023-01-03 13:02:01 -08:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Josh Perez
5e6eeecede
Removes Backbone.View and jQuery 2023-01-02 13:34:41 -08:00
Fedor Indutny
f92f81dfd6
Cache some volatile conversation properties 2022-12-22 16:13:23 -08:00
Josh Perez
0b83ab497d
Removes ReactWrapperView 2022-12-21 22:07:45 -05: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
Fedor Indutny
ed271d92ea
Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08: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
Scott Nonnenberg
1e282ee5d0
ConversationView: Pull various functions out of getMessageActions 2022-12-19 17:04:47 -08:00
Fedor Indutny
5a98fc2f4c
Optimize Message rendering 2022-12-19 15:33:55 -07:00
Josh Perez
d4124abb01
Moves ConversationDetails to react panels 2022-12-15 22:12:05 -05:00
Josh Perez
e142cb47f5
Moves various panels out to ConversationView react 2022-12-14 17:10:09 -08:00
Jamie Kyle
15efbde23d
Move ToastType to its own file to avoid importing electron in storybooks 2022-12-14 16:48:36 -08:00
Scott Nonnenberg
7c86f02c7e
ConversationView: Move deleteMessage to redux 2022-12-14 14:45:39 -08:00
Scott Nonnenberg
f2f1c3c021
Standardize on showConversation function, delete unused functions 2022-12-14 11:05:32 -08:00
Josh Perez
ebeb6a7a6d
A hybrid panel system for React & Backbone 2022-12-14 10:41:04 -08:00
Josh Perez
b138774454
Moves saveAttachment to a redux action 2022-12-14 10:12:04 -08:00
Fedor Indutny
490a565b95
Unsnooze updates when clicked 2022-12-13 14:55:52 -08:00
Josh Perez
635a59a473
Moves showLightbox to redux 2022-12-09 21:02:22 -05:00
Scott Nonnenberg
07f7fa93d6
ConversationView: Move setQuotedMessage/scrollToMessage to redux 2022-12-09 11:11:14 -08:00
Josh Perez
7c68f9ef1a
Moves showStickerPackPreview to globalModals 2022-12-09 11:01:46 -08:00
Scott Nonnenberg
c0ebafe2bc
Search Box: Handle focus properly 2022-12-09 10:03:32 -08:00
Alvaro
2db14e8d6f
Auto-select a newly created distribution list or group when sending story 2022-12-09 09:35:34 -08:00
Scott Nonnenberg
5c059c54d5
Eliminate resetEmojiResults, move onEditorStateChanged to redux 2022-12-08 15:56:17 -08:00
Josh Perez
2378776e1b
Moves sendMessage and friends to redux 2022-12-08 02:43:48 -05:00
Josh Perez
7ea38bb1a9
Moves startGV2Migration to redux 2022-12-08 01:41:37 -05:00
Scott Nonnenberg
452e0b7b31
ConversationView: Move attachments processing into redux 2022-12-07 20:26:59 -05:00
Scott Nonnenberg
ff6750e4fd
ConversationView: Move setPin to redux 2022-12-06 17:00:02 -08:00
Josh Perez
105162dc66
Moves blockAndReportSpam to redux 2022-12-06 11:03:09 -08:00
Scott Nonnenberg
92a512a16d
ConversationView: Move call/mute functions into redux 2022-12-06 09:31:44 -08:00
Josh Perez
9348940ecf
Moves parts of conversation view into redux 2022-12-05 14:56:23 -08:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Josh Perez
1109415dc1
Add global setting for sent media quality 2022-12-02 18:54:37 -05:00
Jamie Kyle
6198b02640
Init payments message types 2022-11-30 13:47:54 -08:00
Alvaro
b246b3d8af
Filtered stories to self to fix StoryViewer progress lines 2022-11-29 14:19:50 -08:00
Fedor Indutny
37d383f344
Improve story DOE flow 2022-11-28 18:07:26 -08:00
Alvaro
4294429bc2
Made StoryDataType sourceDevice required 2022-11-23 12:52:36 -08:00
Alvaro
896b36c301
Story replies indicator 2022-11-22 20:05:33 -08:00
Fedor Indutny
991580a1ed
Improve error handling during group sends 2022-11-22 10:43:43 -08:00
Fedor Indutny
a2f1b469ea
Make sure that storySendMode is in group types 2022-11-19 00:31:18 -08:00
Fedor Indutny
98ef4c627a
Update eslint to 8.27.0 2022-11-17 16:45:19 -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
Scott Nonnenberg
4fa614e1d6
Save source of selectedMessage changes to prevent unnecessary scrolls 2022-11-09 12:18:03 -08:00
Josh Perez
19a42ed719
Onboarding story 2022-11-08 21:38:19 -05: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
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
42362a2772
Close viewer after viewing a single story 2022-10-26 18:03:43 -07:00
Jamie Kyle
5ccfabeb0c
Story settings modal copy and design changes 2022-10-26 16:17:39 -07:00
Josh Perez
169d89aa0b
Fixes double redux data loading for story replies 2022-10-25 17:23:59 -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
Fedor Indutny
e14c3241c5
Refresh stories in redux when data changes 2022-10-20 12:16:37 -07:00
Josh Perez
5f3c9a653d
Fix for number of bars for group stories sent 2022-10-19 17:34:53 -07:00
Fedor Indutny
00f82a6d39
Discriminator in username 2022-10-18 10:12:02 -07:00
Scott Nonnenberg
58f0012f14
Stories: Start expiration on receipt 2022-10-17 16:30:03 -07:00
Josh Perez
4882248041
Story viewer navigation improvements 2022-10-17 12:33:07 -04:00
Josh Perez
b2792639aa
DOE stories when they are part of deleted lists 2022-10-13 10:14:50 -06:00
Jamie Kyle
25bc16300c
Notify story creator for replies 2022-10-11 10:59:02 -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
b950480d36
Support url-only link previews in stories 2022-10-06 13:22:59 -07:00
Alvaro
458eb2ea81
Voice-note animation fixes 2022-10-03 17:43:44 -06:00
Alvaro
44db76531e
markStoryRead: More logging in unusual cases 2022-10-03 16:10:20 -07:00
Jamie Kyle
6d56f8b8aa
support icu messageformat for translations 2022-10-03 14:19:54 -07:00
Josh Perez
67c706a7ef
Ensure deleting conversation deletes story replies 2022-09-29 17:57:11 -07:00
Fedor Indutny
ffac571dd8
systemGivenName/systemFamilyName in ContactPill 2022-09-27 17:07:00 -06:00
Fedor Indutny
0ab85a6094
Fix UI in PendingInvites 2022-09-27 13:31:55 -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
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
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
Fedor Indutny
55a5c51236 Provide speakerHeight to ringrtc 2022-09-07 14:17:08 -07:00
Josh Perez
9d7eaa003f
Remove group from story feature 2022-08-30 12:13:32 -07:00
Alvaro
299044f89f
Fixed joining ongoing video call by a non-admin on an announcement-only group 2022-08-26 09:02:47 -06:00
Alvaro
ca6300a86a
Added last-message's author to group conversation list in left pane 2022-08-25 09:16:37 -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
e9f4e28b3d
Properly mark story messages as read locally 2022-08-22 15:13:30 -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
Fedor Indutny
757af2cbbe
Include ACI+Access Keys pairs with CDSI requests 2022-08-18 13:44:53 -07:00
Josh Perez
936ce91b2e
Move getUntrustedContacts out of conversation_view 2022-08-16 16:59:11 -07:00
Fedor Indutny
5a3c04d630
Additional logging for calling service 2022-08-16 16:52:09 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Josh Perez
1d0b1d806a
Only accept video/mp4 for story uploads 2022-08-12 16:44:10 -07:00
Josh Perez
584b39baa8
Avoid race conditions when queueing a story for download 2022-08-11 15:26:26 -07:00
Josh Perez
ccc89545c5
Lets users send stories to groups 2022-08-10 14:37:19 -04:00
Josh Perez
35f682f4dc
Pass deletedAtTimestamp into dlist db call 2022-08-10 12:31:15 -04:00
Josh Perez
2f5dd73e58
Send stories to groups capability 2022-08-08 23:26:21 -04:00
Josh Perez
7bc6bbc668
Send story images/video 2022-08-04 12:23:24 -07:00
Josh Perez
fcf7406dd4
Adds error states to story images 2022-08-03 20:38:41 -04:00
Fedor Indutny
b47a906211
Stickers in storage service 2022-08-03 10:10:49 -07: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
58aaf1d0e7
Improvements to sound on/off in story viewer 2022-07-29 15:27:02 -04:00
Josh Perez
76cff75730
Ensure we never fetch a deleted story 2022-07-29 11:12:47 -07:00
Josh Perez
473d57fb74
Delete a distribution lists members when list is deleted 2022-07-28 17:13:22 -07:00
Josh Perez
d7ec2e9d82
Adds ErrorBoundary around stories 2022-07-28 17:10:07 -07: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
e321e1fea8
Edit distribution lists via story settings menu 2022-07-20 20:07:09 -04:00
Scott Nonnenberg
bfc56dd175
Introduce new Profile Fetch service, with centralized queueing 2022-07-13 17:46:46 -07:00
Josh Perez
5639c1adea
DOE for stories 2022-07-13 16:09:18 -07:00
Josh Perez
9ce4b8977d
Show toast when reacting/replying to a Story 2022-07-12 09:41:41 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -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
e0f479ca81
Fix sending to embedded contact 2022-06-27 17:37:05 -07:00
Fedor Indutny
6b231346d9
Fix management of selectedMessage in redux 2022-06-23 09:12:17 -07:00
Josh Perez
d970d427f8
Create text stories 2022-06-16 17:48:57 -07:00
Josh Perez
aa23c2def2
Removes Inbox Backbone view 2022-06-16 15:12:50 -04:00
Josh Perez
410bc52fd0
Moves group link management actions to redux 2022-06-13 14:42:19 -04:00
Fedor Indutny
5634601554
Use patched frameless-titlebar on Windows 2022-06-08 15:00:32 -07:00
Vladislav Gorenkin
01efed8ec3 Open first search candidate on pressing "enter" key 2022-06-06 22:05:38 -04:00
Scott Nonnenberg
d446aa9e6b
Move to uuids for untrusted conversations needing verification 2022-05-31 12:46:56 -07:00
Fedor Indutny
80c90540f6
Restore call view mode after presentation end 2022-05-25 11:03:27 -07:00
Fedor Indutny
e6223b6a11
Dynamic audio level indicator 2022-05-18 23:28:51 -04:00
Scott Nonnenberg
af2c884c9f
Timeline: Use messageChangeCounter to mark messages read less often 2022-05-11 15:41:45 -07:00
Scott Nonnenberg
69d0ed3309
Always provide isGroup/storyId to message-fetching functions 2022-05-11 15:20:47 -07:00
Scott Nonnenberg
6b4bea6330
Timeline: When scrolling far into history, discard newest messages 2022-05-10 13:19:58 -07: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
d8708e4e73
Ensure that we resolve attachments before displaying them 2022-04-25 10:25:50 -07:00
Scott Nonnenberg
3a1df01c9e
New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
Josh Perez
4896ce32c3
Sync story read status from primary 2022-04-20 17:29:37 -07:00
Josh Perez
774246b6e2
Drop story replies from group timeline 2022-04-20 16:33:38 -07:00
Josh Perez
e3d537cbd3
Render group stories 2022-04-14 20:08:46 -04:00
Scott Nonnenberg
14ab7b9e0d
Fetch profiles for conversations needing verification, more logging too 2022-04-14 15:27:16 -07:00
Scott Nonnenberg
302604f67e
Restore ability to message someone from embedded contact 2022-04-11 17:26:09 -07:00
Scott Nonnenberg
7f89f6162f
Disable forward for messages with embedded contact 2022-04-11 13:57:44 -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
85989fda3c
More peeking of group calls to prevent out-of-date member info 2022-03-31 18:06:56 -07:00
Scott Nonnenberg
bb250d4fb5
startCall: wait for startOutgoingDirectCall before updating lobby 2022-03-31 18:06:35 -07:00
Josh Perez
3b5cc26fec
Adds logic around downloading stories 2022-03-28 18:10:08 -07:00
Scott Nonnenberg
6a671e73f9
Suppress sticker pack installation errors on startup re-download 2022-03-23 14:33:48 -07:00
Fedor Indutny
36ce4f27a2
Optimize profile avatar uploads and sync urls 2022-03-15 17:14:20 -07:00
Scott Nonnenberg
703bb8a3a3
Introduce new 'Block request' button in timeline 2022-03-15 17:11:28 -07:00
Josh Perez
2114c851c7
Include authorUuid when sending replies 2022-03-11 15:14:32 -08:00
Evan Hahn
72c6c57186
If not enough messages are loaded (on tall screens), fix jankiness 2022-03-11 14:31:21 -08:00
Scott Nonnenberg
114316745d
Don't increment totalUnread count for sends or database loads 2022-03-04 20:39:40 -08:00
Josh Perez
eb91eb6fec
Process incoming story messages 2022-03-04 13:14:52 -08:00
Fedor Indutny
df7cdfacc7
Don't mkdir restore dir in updater 2022-03-04 11:59:47 -08:00
Evan Hahn
effe5aae6f
Assume everyone is GV2-capable 2022-03-04 13:48:44 -06:00
Evan Hahn
0c31ad25ef
Remove React Virtualized from <Timeline> 2022-03-03 14:23:10 -06:00
Evan Hahn
cfa0711909
Put "is speaking?" threshold in remote config; lower default 2022-03-01 17:39:09 -06:00
Evan Hahn
41b4cce6ec
Show local speaking indicator for group calls 2022-02-25 09:24:05 -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
Evan Hahn
fd81d38931
Call details screen disable call buttons if call is active 2022-02-16 10:33:52 -08:00
Fedor Indutny
0174687542
Use esbuild 2022-02-11 13:38:52 -08:00
Evan Hahn
f5a4cd9ce8
Peek group calls when opening conversations and leaving calls 2022-02-08 13:18:51 -06:00
Evan Hahn
5ce26eb91a
Speaking indicator for group calls
Co-authored-by: Peter Thatcher <peter@signal.org>
Co-authored-by: Jim Gustafson <jim@signal.org>
Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2022-02-08 12:30:33 -06:00
Evan Hahn
f9440bf594
Timeline date headers 2022-01-26 17:05:26 -06:00
Evan Hahn
f5eb17e0d1
Fix stuck safety number modal overlay 2022-01-24 17:39:18 -08:00
Josh Perez
44bfb77635
Hang up call when screen is locked 2022-01-24 12:32:09 -08:00
Fedor Indutny
26421b8c18
Log conversation open time 2022-01-19 16:40:29 -08:00
Fedor Indutny
91f1b62bc7
Detect startup after recent crashes 2022-01-11 12:02:46 -08:00
Evan Hahn
f8bbf5c998
Group calls: mute in the lobby if joining a large call 2022-01-07 12:01:23 -06: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