Mikunj
fb8b0e1d40
Auto accept friend request if we have both incoming and outgoing friend requests.
7 years ago
Mikunj
8a0b8e1f00
Store the state of the friend request inside the conversation.
7 years ago
Mikunj
484efd34a3
Added friend request message expiration.
7 years ago
Mikunj
bd103e2ad2
Minor fixes.
7 years ago
Mikunj
7d8719f250
Fix incoming friend request messages being deleted.
...
Set pending outgoing friend requests to declined if we receive an incoming friend request.
Fix text input not blocking.
7 years ago
Mikunj
dba6a36e83
removed old unused code.
7 years ago
Mikunj
110387508f
UI fixes.
7 years ago
Mikunj
4ebdfab633
Update handling of new message logic.
7 years ago
Mikunj
cf3e9716ed
Update new conditions for friend accepted and key exchange complete in conversations model.
7 years ago
Mikunj
a3a7f4a621
Merge commit 'ef44a123ed4ada70489d78fde16a86c60ced34a8' into feature/blocking
7 years ago
Beaudan
ff3cc7a315
Review changes
7 years ago
Beaudan
489ec8fc65
Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way
...
Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after
Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error
create unique index for contact prekeys (to allow using REPLACE)
Fixed lint stuff that merge brought back
7 years ago
Mikunj
ba390e354b
Added unblocking.
...
Added styling.
Trigger changes on both conversation and messages when we block/unblock.
7 years ago
Mikunj
ae2e2fa2ae
Updated UI in conversation to support user blocking behaviour.
7 years ago
sachaaaaa
78d39ac177
Merge pull request #41 from Mikunj/fix/friend-notification
...
Friend Notifications
7 years ago
Mikunj
17e5c861a1
Fixed review issues.
...
Fixed lint error.
7 years ago
Mikunj
c77f996709
Forgot a ;
7 years ago
Mikunj
3943cbbc6e
Fix linting error.
7 years ago
Mikunj
4f4ebf3ddd
Added an info log on graceful conversation fallback,
7 years ago
Mikunj
ece266fffd
Added showing pow icon.
7 years ago
Mikunj
676fe8b5c5
Fixed new messages not showing when another message in the conversation is calculating its PoW
7 years ago
Mikunj
745d0e82d4
Added unread count badge .
7 years ago
Mikunj
061b8ab2cb
Added function to help friend request notifications
7 years ago
Mikunj
dfae580ffa
Added notification when receiving a friend request and when a friend request was accepted.
7 years ago
Mikunj
688f275262
pass in source, sourceDevice, timestamp and receivedAt when adding a friend request.
7 years ago
Mikunj
f2dbdff548
code cleanup.
7 years ago
Mikunj
1150f0f915
Allow fetching conversation messages by a specific type.
7 years ago
Mikunj
f4b60c3ff6
Fix setting friend requests incorrectly.
7 years ago
Mikunj
6aab900da2
Handle friend request updated.
7 years ago
Mikunj
7530836110
Send message status in friend request props.
7 years ago
Mikunj
757216fe80
Fix text input disabling.
7 years ago
Mikunj
2a83c8710c
Fix up sending friend requests.
7 years ago
Mikunj
fc3cb9c46d
Replace old pending messages with new one when adding a new incoming friend request.
...
More refactoring.
7 years ago
Mikunj
d5fafd4d78
refactor friend request message props
7 years ago
Mikunj
a80d6bb868
Merged branch correctly.
7 years ago
Mikunj
fca5a74da3
Fixed review issues.
7 years ago
Mikunj
0cf616328e
Fixed saving prekey bundle once friend request is accepted.
...
Added option to delete conversation after it is declined.
7 years ago
Mikunj
0a88f337d5
Merge branch 'sig-development' into merge/signal
7 years ago
Mikunj
be1a69c200
Fix up saving friendRequestStatus
7 years ago
Mikunj
c150cbe34f
Friend request message indicator.
7 years ago
Mikunj
08ca779fe1
Fixed up friend request message display
7 years ago
Mikunj
5626cfe47d
Added FriendRequest message
7 years ago
Scott Nonnenberg
2d48daa7b6
Refine Sealed Sender behaviors
7 years ago
Mikunj
2fabd93fd6
Fix message sending
7 years ago
Mikunj
1a4adf2281
Merge branch 'development' into merge/signal
7 years ago
Mikunj
f589fdac5c
Merge signal changes into branch.
7 years ago
Mikunj
9ea44a5cd2
fix incorrect error return.
7 years ago
Mikunj
4e6df71999
Fix up tests.
7 years ago
Mikunj
9d342e8951
Show a message if user types in an invalid public key in search.
7 years ago
Scott Nonnenberg
486932048c
Add logging to help in debugging sealedSender state
7 years ago
Scott Nonnenberg
0297279084
Eliminate some conversation fields which are no longer used
7 years ago
Scott Nonnenberg
e2e0e4c96b
Refine sealed sender logic
7 years ago
Scott Nonnenberg
1755e0adfd
Move all remaining stores to SQLCipher
7 years ago
sachaaaaa
4b9fcb98d4
Linting and other housekeeping stuff
7 years ago
Scott Nonnenberg
a7d78c0e9b
Sealed Sender support
...
https://signal.org/blog/sealed-sender/
7 years ago
sachaaaaa
143b1e883d
Merge pull request #17 from sachaaaaa/lock_input_friend_request
...
Lock input after friend request is sent
7 years ago
sachaaaaa
9370e2b74a
Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
...
* 'master' of https://github.com/signalapp/Signal-Desktop : (38 commits)
v1.17.0
v1.17.0-beta.4
Ensure that blue group avatars are preserved in dark theme
Android theme: Incoming quotes take color from containing message
Conversations have blue avatar backgrounds if no image provided
Fix lint errors
Add ca language
inboxView: Ensure Conversation exists for our own number
Ensure that file is not attached if we've filtered it
v1.17.0-beta.3
Localization updates
v1.16.3
Lint fixes
Lint fixes
Better handle large numbers of messages in cache on startup
Keep object stores after conversations migrate to SQLCipher
Longer timeout for orphaned file cleanup
Tests and increase consistency for isFileDangerous calls
Longer timeout for orphaned file cleanup
v1.17.0-beta.2
...
# Conflicts:
# background.html
# package.json
7 years ago
Scott Nonnenberg
f21f83a163
Conversations have blue avatar backgrounds if no image provided
7 years ago
sachaaaaa
5602f4bfff
Change placeholder in discussion
7 years ago
sachaaaaa
d4d0d05adf
Lock text input while waiting for friend request reply
7 years ago
sachaaaaa
d5ef0cfb03
Revert changes and rename keysPending to keyExchangeCompleted
7 years ago
sachaaaaa
ecd300d68d
Change keysPending flag to keyExchangeStatus in conversation model
7 years ago
Scott Nonnenberg
7d9711ba65
Restore iOS-specific theme; colors on left in android theme
7 years ago
Scott Nonnenberg
f38410976d
Delete conversation external files on deletion
7 years ago
Scott Nonnenberg
8f3e3b7aaf
Update to new design for avatars: individual/group icons/colors
...
And two initials.
7 years ago
Scott Nonnenberg
10c53bddb0
Move to new colors, switch incoming/outgoing colors
7 years ago
Scott Nonnenberg
cd60bdd08a
Move conversations to SQLCipher
7 years ago
sachaaaaa
d521795cf8
add helper to set the keysPending flag for a discussion
7 years ago
sachaaaaa
22a86b5351
store key bundle status in conversation model
7 years ago
sachaaaaa
33ad509fbf
Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
...
# Conflicts:
# _locales/ar/messages.json
# _locales/es_419/messages.json
# _locales/he/messages.json
# _locales/hi/messages.json
# _locales/hr/messages.json
# _locales/kn/messages.json
# _locales/ko/messages.json
# _locales/mk/messages.json
# _locales/sr/messages.json
# _locales/uk/messages.json
# _locales/vi/messages.json
# package.json
7 years ago
Scott Nonnenberg
3464eb65b8
Keep conversation.lastMessage in memory
7 years ago
sachaaaaa
8f33419b52
Change pubkey representation to hex instead of base64
7 years ago
sachaaaaa
c1d6e6113f
ValidateNumber now accepts pubkeys instead of phone numbers. This allows starting a conversation with a pubkey.
7 years ago
Scott Nonnenberg
37f3054976
Both UI timer and database timer will remove expired message
7 years ago
Scott Nonnenberg
fedfbed304
Copy quoted message contents into quote on receipt
...
Also:
- visually distinguish any reference we couldn't verify on receipt
- show toast on quote click if we can't scroll to message
- toast visuals redesigned to match rest of app
7 years ago
Scott Nonnenberg
727925a266
Clean up old messages, better handle errors from sending
7 years ago
Scott Nonnenberg
9ed1ee90f8
Move expiring message time earlier if read sync has earlier time
7 years ago
Scott Nonnenberg
8180417611
Update conversation first on timer change to eliminate flicker
7 years ago
Scott Nonnenberg
1d7987108b
Show and log progress during the SQLCipher migration
7 years ago
Scott Nonnenberg
3105b77475
Migrate to SQLCipher for messages/cache
...
Quite a few other fixes, including:
- Sending to contact with no avatar yet (not synced from mobile)
- Left pane doesn't update quickly or at all on new message
- Left pane doesn't show sent or error status
Also:
- Contributing.md: Ensure set of linux dev dependencies is complete
7 years ago
Scott Nonnenberg
8860e4c7fb
Update delivered/read message if already in collection
7 years ago
Scott Nonnenberg
61f7b8360b
Conversation: store lastMessage/lastMessageStatus in memory only
7 years ago
Scott Nonnenberg
f39a96bc76
Move to centralized message/cache data layer
...
Also, ensure that conversation.messageCollection has nothing in it
unless it has an associated ConversationView.
7 years ago
Scott Nonnenberg
34231168a7
On message delete, ensure that all external files are deleted
7 years ago
Scott Nonnenberg
b7d5013558
Add verified notification and sync the verified status as well
7 years ago
Scott Nonnenberg
5933a34a18
Use window.log in browser context, turn on console eslint rule
7 years ago
Scott Nonnenberg
643739f65d
Responding to feedback on the updated visuals ( #2549 )
...
* Conversation List Item: timestamp bold only when convo has unread
* Preserve the positioning of overlays on re-entry into convo
* ConversationListItem: Handle missing and broken thumbnails
* Shorten timestamp in left pane for better Android consistency
* Update convo last updated if last was expire timer change
But not if it was from a sync instead of from you or from a contact.
* Make links in quotes the same color as the text
* MediaGridItem: Update placeholder icon colors for dark theme
* Ensure turning off timer shows 'Timer set to off' in left pane
* ConversationListItem: Show unread count in blue circle
* Add one pixel margin to blue indicator for text alignment
* Ensure replies to voice message can bet sent successfully
7 years ago
Scott Nonnenberg
d5d6cdb250
Automatically clean up old debug info, remove unneeded field
7 years ago
Scott Nonnenberg
c2c8dc5090
Make quote props consistent, white circle dark theme play overlay
...
Prevents errors in the logs about attempting to load images from their
relative patn instead of the absolute path. No effect on the user.
7 years ago
Scott Nonnenberg
5e64e4ef40
Remove verbose updateLastMessage logging, fix MediaGallery save
7 years ago
Scott Nonnenberg
fdc7c85876
A couple small fixes: quotes, ConversationListItem, MessageDetail
...
- Load quoted message even with local thumbnail
- A bit more space for message in ConversationListItem
- Make the message detail screen scrollable
7 years ago
Scott Nonnenberg
db91560990
Fixes for quotes/schema upgrade, optimize media gallery load
...
Also: Fix for contact detail page; didn't show back button
7 years ago
Scott Nonnenberg
675e34fc8d
New React component: ConversationListItem, installed in left pane
...
When collecting a conversation's last message, we grab that message's
status as well (if outgoing) and show it.
7 years ago
Scott Nonnenberg
3c69886320
Finish new Message component, integrate into application
...
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
7 years ago
Scott Nonnenberg
e30b34f424
Add 'newmessage' event handler to Conversation for reliablity
7 years ago
Scott Nonnenberg
9d9a797bda
Handle timer updates along with group updates
7 years ago
Scott Nonnenberg
12b5547e72
Update contents of conversation even when view not hydrated
...
Also ensure that we update the last message in a conversation after
expire, after the mesage is really deleted from the database.
7 years ago
Scott Nonnenberg
0abdd5ead1
Add missing await for thumbnail creation in makeQuote()
7 years ago
Scott Nonnenberg
b113cd0ad2
Expire timer updates: don't send if updated via remote message ( #2473 )
...
A recent change removed the type property to make markRead() behave
properly, but that broke our check 'should we send an update?' logic. So
instead of using `isIncoming()` we now use the thing we previously used
to determine whether a message was incoming: `receivedAt`.
7 years ago
Scott Nonnenberg
a4603807e1
Send/reply: Be resilient to errors making attachment thumbnail ( #2468 )
...
* Show generic file icon if we fail to make attachment thumbnail
* Be resilient to thumbnail creation errors when creating quote
7 years ago