sachaaaaa
e953ae7be2
use correct function respondToAllFriendRequests
6 years ago
sachaaaaa
62889bbdd4
Add requestExpired state to Friend Request state machine
6 years ago
sachaaaaa
926c9ce3ca
Fix multiple friend request timers instantiated
6 years ago
Mikunj
06be1da40d
Added p2p message styling
6 years ago
Scott Nonnenberg
41ea9ee15b
Ensure that we show error'd recipients in message details screen
6 years ago
Scott Nonnenberg
ad53423e0a
Queue quote reference handling per convo in handleDataMessage
6 years ago
Scott Nonnenberg
af40ceda6c
Note to Self timer fixes for bugs reported by beta users
6 years ago
Beaudan
4bb10044ea
Clear timers after friend request complete and don't do timer related things if we are already friends
6 years ago
Scott Nonnenberg
5b54c9554e
Remove groups table, conversation is single source of truth
6 years ago
Scott Nonnenberg
1d2c3ae23c
Download attachments in separate queue from message processing
6 years ago
Scott Nonnenberg
a43a78731a
Note to Self
6 years ago
Scott Nonnenberg
462fa712bc
Show members: Pull conversation from group table
6 years ago
Scott Nonnenberg
12739ac82d
Ensure we don't add empty attachments to quote
6 years ago
Beaudan
5d823de6f9
Renamed lokiSnodeAPI to start with lower case for consistency, refactor snode API to use conversation controller
6 years ago
Mikunj
d30e950bf9
Changed hashing algorithm.
6 years ago
Mikunj
a989a1a818
Save previews locally.
6 years ago
Mikunj
7564e270f8
Lint and code cleanup
6 years ago
Mikunj
27c6062351
Fix incoming messages not showing previews.
...
Linting.
6 years ago
Mikunj
ae695fe32f
Remove sending attachments.
6 years ago
Mikunj
8f8e25bb3e
Added local link preview
6 years ago
sachaaaaa
a0f67c22da
Merge branch 'textsecure/master' into merge_1_21_0
...
* textsecure/master: (26 commits)
v1.21.0
v1.21.0-beta.4
Dark Theme: Preserve blue background on app loading screen
Localization updates
Fix width of audio player when window is very narrow
A number of small fixes for Link Previews
Get rid of the white flash when the app starts up (#3083 )
v1.21.0-beta.3
Lint fixes
Introduce new language: NB
Fail over to all numbers in retry if errors don't have numbers
Use the proper method for pulling attachments off disk for retry
Fix rendering bug with verified state in updateVerified()
Update electron-builder and electron-updater
Ensure that dialog pops up when permissions denied for voice note
Lint fixes
Large update to localization strings
Link Previews
Ensure that blocked messages are dropped even after sealed sender
Don't linkify quoted message contents
...
# Conflicts:
# .github/PULL_REQUEST_TEMPLATE.md
# _locales/cs/messages.json
# background.html
# config/default.json
# index.html
# js/models/conversations.js
# js/modules/web_api.js
# js/settings_start.js
# js/views/conversation_view.js
# js/views/settings_view.js
# package.json
# protos/SignalService.proto
# stylesheets/_index.scss
# stylesheets/_settings.scss
6 years ago
Scott Nonnenberg
0d7480bd92
A number of small fixes for Link Previews
6 years ago
sachaaaaa
432c336048
Merge pull request #171 from Mikunj/online-indicator-fix
...
Added online indicator to conversation header.
6 years ago
Mikunj
ddfc99a461
Added online indicator to conversation header.
6 years ago
Mikunj
e3c0f2147a
Fixed variable name.
6 years ago
Mikunj
1d40bc3af9
Changed queueMessageSend to use JobQueue.
6 years ago
Mikunj
4518e95619
Linting
6 years ago
Mikunj
f4e9bc655a
Hooked up LokiP2pAPI with online stuff.
6 years ago
Mikunj
9b382de6da
Added online indicator.
...
Disable selection in contacts.
6 years ago
Beaudan
a40a3d164f
Lots of logic for establishing a p2p connection, managing when the other user is online vs offline etc. Will always try to use P2P messaging when it can and fall back to storage server otherwise
6 years ago
Beaudan
9ff96a0250
Fixed tests and moved friend request status enum to new friends file
6 years ago
Beaudan
07076c27ae
Moved friend status to window, added start of p2p api stuff
6 years ago
Scott Nonnenberg
1533fcc807
Fail over to all numbers in retry if errors don't have numbers
6 years ago
Scott Nonnenberg
c936859d09
Fix rendering bug with verified state in updateVerified()
6 years ago
Beaudan
dde63a552f
Fix bug with replayable errors, fix bug with set representation of swarmNodes not being handled properly
6 years ago
Scott Nonnenberg
813924685e
Link Previews
6 years ago
Beaudan Campbell-Brown
dcfc97713b
Merge pull request #150 from sachaaaaa/display_nickname_on_friend_accept
...
Send profile along with friend request accept message
6 years ago
sachaaaaa
adfb4ab371
work with session reset
6 years ago
Mikunj
1a15ec9c15
Merge commit signal/master into signal-1.20
6 years ago
Mikunj
e08a63d078
Merge development into lint
6 years ago
Mikunj
f92e8485f8
Merge development into lint
...
Added gitattributes
6 years ago
Beaudan
bdbdf15469
Added timeouts for requests so they don't for ages. Changed swarmNodes to be a set to work property with merge, now removing contact swarmNodes if they timeout
6 years ago
Beaudan
7b1799c418
Big ol' hunk o' chunk. Now using random.snode to populate swarm lists, now making multiple requests from said lists and they are processed as they complete rather than waiting for all to resolve
6 years ago
Beaudan
f09f0f5721
Moved replenishSwarm into libloki-protocol and attached to the window
6 years ago
Beaudan
37ba762312
First stuff for contacting specific nodes for each contact. Hard coded to hit the same bootstrap node for now plus doesn't handle unreachable nodes/errors well yet
6 years ago
Beaudan Campbell-Brown
ea1d007b4f
Merge pull request #136 from Mikunj/tests
...
Tests
6 years ago
Mikunj
6bd2d3962e
Linted files
6 years ago
Mikunj
feb8af476a
Refactored BlockedNumberController.
6 years ago
Mikunj
7341471ce7
Fix up notification.
6 years ago
Mikunj
faeb319c58
Added profile model test.
6 years ago
sachaaaaa
61c4447ab0
Merge pull request #126 from Mikunj/friend-request-notification
...
Fix notification display after friend request is accepted.
6 years ago
Mikunj
a12ed61cc1
Fix notification display after friend request is accepted.
6 years ago
Mikunj
070d18b514
Updated function calls.
6 years ago
Scott Nonnenberg
c0be4718fc
Update delivered_to for outgoing with earlier delivery receipts
6 years ago
Herohtar
a21d63e450
Make notification initials consistent with everything else ( #3006 )
...
Make notification initials consistent with Avatar component
6 years ago
Mikunj
6bcb259919
Added PoW error.
6 years ago
Mikunj
654b0dac84
Merge signal-master.
6 years ago
Mikunj
f98fe910d5
Fix friend request retry not working.
6 years ago
Scott Nonnenberg
3851bf351f
Throttle typing events, fix profile logging, fix group typing
6 years ago
Mikunj
2715e79268
Fix conversation status not being reset upon conversation messages deletion.
...
Fix incoming friend request not replacing old friend requests.
Fixed incorrect function name.
6 years ago
sachaaaaa
05c18d42db
Merge pull request #66 from sachaaaaa/session_reset
...
Handle session reset, Loki style
6 years ago
Beaudan
1e3886cca8
More consistent naming of key storage functions, moved some loki messenger only functions into new file
6 years ago
Beaudan Campbell-Brown
86e04b89e2
Update js/models/conversations.js
...
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
sachaaaaa
e62c661ed9
Treat session reset success messages as incoming, handle failure differently
6 years ago
sachaaaaa
962c947605
Prevent "secure session reset succeeded" message from being cleaned up at startup
6 years ago
sachaaaaa
f2e1b9b8de
more missing awaits
6 years ago
sachaaaaa
df80249cba
fix missing awaits
6 years ago
sachaaaaa
4cc614269e
add setter for session reset state
6 years ago
Beaudan Campbell-Brown
1dc621a917
Fix using FriendStatusEnum for session reset
...
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
sachaaaaa
7e612700f7
Handle session reset, Loki style
6 years ago
Beaudan
13db2d666f
Fixed test again after rebase, reworked some logic in the conversation validateNumber function to correctly reflect what libsignal thinks is valid
6 years ago
sachaaaaa
4be6af569a
Merge pull request #69 from Mikunj/ui/header
...
Updated current profile display in UI
6 years ago
sachaaaaa
06ece60da8
Fix glitch in last message shown in conversation list
6 years ago
Mikunj
570a7f5bf8
Fix header not updating when editing nickname.
6 years ago
Mikunj
c6d1c8303e
Added a validation to check if a pubkey is prefixed by 05.
6 years ago
Beaudan
28fc5793a7
More explicit function names, shifted friend request sent logic to more sensible place
6 years ago
Beaudan
91a8a82e39
More PR suggestions, now recover from early exit before friend request is sent
6 years ago
Beaudan
2de01d0343
Back to multiple pending states, fix some notification bugs and friend requests should now work for all cases besides message sending interruption
6 years ago
Beaudan
051e4dd22c
XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable
6 years ago
Mikunj
c8db0e200d
Fixed incorrect await.
6 years ago
Mikunj
d60f147659
replaced jdenticon with identicon.js.
...
Cleanup any unused images.
6 years ago
Mikunj
06f79eb3fd
Allow user to set display name when registering.
6 years ago
Mikunj
961eb53915
Auto-generate profile images on conversations.
6 years ago
sachaaaaa
f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
...
Added profile sharing and setting nicknames.
6 years ago
Beaudan
fa63ce5ade
Review changes
6 years ago
Beaudan
35c89ea4d9
Big refactor, prekeybundle moved back to a content message
6 years ago
Mikunj
b929b11f07
Override unused signal code.
...
minor fix.
6 years ago
Mikunj
14ee7fec65
Moved and nicknames into conversations.
6 years ago
Mikunj
98c4b5d77b
Added editing own nickname.
...
Fix dark theme support.
Fix notification titles.
6 years ago
Mikunj
cf24e42a0e
Added storing nicknames.
6 years ago
Mikunj
aa57693fce
Update profile if we get it through a message.
6 years ago
Mikunj
774c52a407
Added dynamic profile fetching in conversation.
...
Added setting profile when sending DataMessage.
6 years ago
Mikunj
0e6c14eb5c
Added profile model.
6 years ago
Scott Nonnenberg
a291834301
Dismiss typing indicator when ConversationView is not loaded
6 years ago
Scott Nonnenberg
79a861a870
Typing Indicators
6 years ago
Scott Nonnenberg
99252702e1
Support receiving multiple images in one messages
6 years ago
Scott Nonnenberg
447a217397
Bulletproof getNumberInfo against missing ourNumber
6 years ago
sachaaaaa
5c128e9d91
remove `isFriend` from conversation default
7 years ago
Beaudan
f67c71bda1
Fixed comment typo
7 years ago
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
7 years ago
sachaaaaa
dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
...
Friend request fixes
7 years ago
Mikunj
f29a515fdf
Fix up typos.
7 years ago
Mikunj
4fd709be35
Removed unused state.
7 years ago
Mikunj
50e8f65a7e
updated doc.
7 years ago
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
a9c1f628a4
Switched to using html select.
7 years ago
Mikunj
a3a7f4a621
Merge commit 'ef44a123ed4ada70489d78fde16a86c60ced34a8' into feature/blocking
7 years ago
Beaudan
ff3cc7a315
Review changes
7 years ago
Mikunj
1bb608b55a
Fixed minor issues.
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
a82999818a
Added blocking/unblocking from friend request.
...
Fixed incoming messages being deleted.
7 years ago
Mikunj
ae2e2fa2ae
Updated UI in conversation to support user blocking behaviour.
7 years ago
Mikunj
8cc9b7b54b
Added blocked number model and collection.
...
Added blocked number controller.
Hooked up BlockedNumberController loading.
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
a9e3a64888
removed unused default param.
7 years ago
Mikunj
3943cbbc6e
Fix linting error.
7 years ago
Mikunj
4148628e70
Remove any unsent messages when app is started.
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
4d3fb17e61
Merge branch 'sig-development' into merge/signal
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
dc1e42a2e4
Removed unneeded comment :)
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
4d08a74d53
Updated FriendRequest to be more consistent with the other typescript components.
7 years ago
Mikunj
f45e0030c4
Added status display and retry send to friend request.
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
Scott Nonnenberg
6300256a3e
Gracefully shut down database operations before app exit
7 years ago
Mikunj
fca5a74da3
Fixed review issues.
7 years ago
Mikunj
0cecbe147c
Removed todo
7 years ago
Mikunj
c583819ccf
Fixed view layouts after deleting a conversation.
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
b9e85bb141
Added handling of accept and decline events.
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
68e3cade17
Don't display 'read' icon if read-recipts-setting is disabled
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
Scott Nonnenberg
1e562c8293
Properly handle avatar changes in group update messages
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
ca61c9cb85
Warnings for dangerous files
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
Scott Nonnenberg
9c399624cc
Support for blocking groups on mobile, via group/blocked syncs
7 years ago
Scott Nonnenberg
8584a79352
Don't treat sends to a group with unregistered users as an error
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
ae6876a153
Ensure that error in handleDataMessage is treated as error
7 years ago
Scott Nonnenberg
727925a266
Clean up old messages, better handle errors from sending
7 years ago