Beaudan
c02d5d4053
Lint
6 years ago
Beaudan
709db4bf54
Make sendMessage take options, remove redundant retrieve function and get constant
6 years ago
Beaudan
b43978ece1
Initial refactoring of sendmessage
6 years ago
Beaudan Campbell-Brown
fbcd49ac5d
Merge pull request #270 from sachaaaaa/concurrent_polling
...
Refactor long polling for better concurrent requests
6 years ago
Mikunj
2c12c8a1d8
Convert profile field in data message to use LokiProfile instead of signal Contact.
6 years ago
sachaaaaa
5f77f751d9
Replace generator function and other various fixes
6 years ago
sachaaaaa
09a9cfbf37
Refactor long polling for better concurrent requests
6 years ago
Beaudan
91e218766c
Remove old log
6 years ago
Beaudan Campbell-Brown
e99cec9c09
Merge pull request #272 from Mikunj/signal-1.24
...
Signal 1.24
6 years ago
beaudan
145b9e0a37
Fix typo
6 years ago
beaudan
6f21e7244f
Print polling error
6 years ago
beaudan
54bd75e9a6
Wait for a longer time after failed poll and extend default timeout
6 years ago
Mikunj
8808100796
Merge signal-1.24.0
...
# Conflicts:
# .github/PULL_REQUEST_TEMPLATE.md
# background.html
# config/default.json
# config/production.json
# js/models/conversations.js
# js/models/messages.js
# js/views/conversation_view.js
# js/views/inbox_view.js
# js/views/settings_view.js
# main.js
# package.json
# test/index.html
# ts/components/conversation/ContactName.tsx
# yarn.lock
6 years ago
Mikunj
3a8111020e
Merge v1.23.0
...
# Conflicts:
# background.html
# package.json
# yarn.lock
6 years ago
Mikunj
12ce0140de
Left pane changes.
...
Merge commit 'b3ac1373fa64117fe2a9ccfddf3712f1826c06d9' into signal-1.23
# Conflicts:
# _locales/en/messages.json
# background.html
# js/background.js
# js/conversation_controller.js
# js/models/conversations.js
# js/models/messages.js
# js/views/conversation_list_item_view.js
# js/views/conversation_list_view.js
# js/views/conversation_search_view.js
# js/views/inbox_view.js
# libtextsecure/account_manager.js
# package.json
# stylesheets/_global.scss
# stylesheets/_index.scss
# stylesheets/_modules.scss
# test/_test.js
# test/index.html
# test/models/conversations_test.js
# test/views/conversation_search_view_test.js
# ts/components/ConversationListItem.tsx
# ts/components/MainHeader.tsx
# ts/components/conversation/ConversationHeader.tsx
# ts/components/conversation/ResetSessionNotification.tsx
6 years ago
Mikunj
48c4ed1a29
Partial Merge commit 'bf904ddd129ceba8fa363ccf6d10ecd256c65f63' into signal-1.23
...
# Conflicts:
# _locales/en/messages.json
# app/sql.js
# js/background.js
# js/conversation_controller.js
# js/models/conversations.js
# js/views/inbox_view.js
# main.js
6 years ago
Mikunj
57195017f9
Linting
6 years ago
Mikunj
e343a04eea
Merge commit '18b5b7c046436f2defab2e20407e22da180bf97b' into signal-1.22
...
# Conflicts:
# app/sql.js
# background.html
# config/default.json
# js/background.js
# js/models/conversations.js
# js/models/messages.js
# js/modules/data.js
# js/signal_protocol_store.js
# js/views/conversation_search_view.js
# libtextsecure/message_receiver.js
# libtextsecure/sendmessage.js
# main.js
# package.json
# preload.js
# test/index.html
# ts/components/Avatar.tsx
# ts/components/conversation/ConversationHeader.md
# ts/components/conversation/ConversationHeader.tsx
6 years ago
Beaudan
620380d2d9
Move filter messages to message api and some other cleaning
6 years ago
Beaudan
377e90bafe
Include long polling header for retrieve messages, extend retrieveMessages timeout to 40 seconds, reduce default tmeout to 5 seconds, remove dev/prod poll time difference
6 years ago
Beaudan
db8f8ba36f
Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds
6 years ago
Scott Nonnenberg
a450cdf528
Lint fixes for recent PRs
6 years ago
sachaaaaa
d99dc100a5
Fix arguments in MessageSenderWrapper ( #2671 )
6 years ago
Scott Nonnenberg
494806b314
libsignal-protocol: Be resilient to missing open session
6 years ago
Beaudan
fa7042c043
Added wrong swarm error which gets thrown if we receive a 421 error, update the swarm lists if we get one of those errors
6 years ago
Beaudan
b09f2970fc
Move NotFoundError to errors.js
6 years ago
Beaudan
531ee92dcb
Updated messenger to work with slightly different storage server API and changed swarm requests to go through storage server
6 years ago
Beaudan Campbell-Brown
338f4e3682
Merge pull request #255 from BeaudanBrown/better-logs
...
Improve sending/retrieving/swarm logs
6 years ago
Beaudan
e5449f56ee
Added success and failure callbacks when queueing envelope, now responding with 404 if we fail to decrypt a p2p message
6 years ago
Scott Nonnenberg
32fa5cccde
Send sync sent messages properly in 1-member group
6 years ago
Scott Nonnenberg
b83ae11cb3
Single member groups: Make all group-related sends a noop
6 years ago
Scott Nonnenberg
c76d537482
Note to Self: On just expire timer update, set TIMER_UPDATE flag
6 years ago
Beaudan
6656a89092
Cleaned up a lot of the logs, stop them from printing more than once etc
6 years ago
Scott Nonnenberg
b3ac1373fa
Move left pane entirely to React
6 years ago
Scott Nonnenberg
0b0dfbce9d
Don't return error for groups with no members but yourself
6 years ago
Scott Nonnenberg
e4f18f9daa
libsignal-protocol: Protect against null thrown Errors
6 years ago
Beaudan
5a23dbb687
Review comments and add local server listener before starting
6 years ago
Beaudan
8c20a31dd4
Review suggestions
6 years ago
Beaudan
eaea7d9b7d
Catch errors when starting local server and retry every 30 seconds
6 years ago
Mikunj
06be1da40d
Added p2p message styling
6 years ago
Beaudan
403df0806b
Update the production json to just use the defaults in preparation for having other people try the messenger. Also cleaned up a little log that was incorrect
6 years ago
Scott Nonnenberg
3fb6ab295f
Debug log optimizations and improvements
6 years ago
Scott Nonnenberg
77ae717b9b
Clean up shutdown handling - stop processing incoming messages
6 years ago
Scott Nonnenberg
af40ceda6c
Note to Self timer fixes for bugs reported by beta users
6 years ago
Scott Nonnenberg
7c4ba5446c
Throw error if incoming attachment has mismatched attachment size
6 years ago
Beaudan
dc67aaf9cc
Roll back change to ping more often again, ping our offline contacts every 2 mins to check if they have come back online
6 years ago
Beaudan
29bca71d5a
Try ping contacts that send us storage server messages in the last 2 mins
6 years ago
Beaudan
d6a210efaa
Reworked the update p2p details to be more robust and stopped some redundant pings from happening
6 years ago
Beaudan
b00a0cb699
Rename isOnline to isPing for clarity, and reduce the ttl for online broadcast messages to 1 min
6 years ago
Beaudan
2fd746821a
Added function for getting your loki IP and bind the local server
6 years ago
sachaaaaa
6febbf83da
reset line endings in libsignal-protocol
6 years ago
Scott Nonnenberg
2c3847affe
MessageReceiver: Don't wait for cache update to move forward
6 years ago
Scott Nonnenberg
291e8d80cb
Fix asm.js errors in emscripten-generated functions
6 years ago
Scott Nonnenberg
5b54c9554e
Remove groups table, conversation is single source of truth
6 years ago
Scott Nonnenberg
b69eea543c
MessageReceiver: Don't wait for app logic to start next decrypt
6 years ago
Scott Nonnenberg
041fe4be05
Remove JSON column and Backbone Model for unprocessed
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
021e807180
MessageReceiver: Log errors with proper message id
6 years ago
sachaaaaa
68fe552156
Merge commit '5c8558e293989094693f918a63b672301f1aeb55' into merge_1_21_1
...
* commit '5c8558e293989094693f918a63b672301f1aeb55':
v1.21.1
v1.21.1-beta.1
Fix: Navigation to message via quote click didn't always work
mainWindow.close - be ready for null mainWindow
Ensure that Curve.async points to worker after startWorker call
Protect against unhandled promises when calling checkForUpdates
Reenable send when link preview is missing an image
# Conflicts:
# package.json
6 years ago
sachaaaaa
1a810f4e4f
Merge pull request #186 from Mikunj/local-preview
...
Added local link previews
6 years ago
Scott Nonnenberg
2ce86af093
Ensure that Curve.async points to worker after startWorker call
6 years ago
sachaaaaa
fdc51e88dd
only verify the prekey id when there is no current session active
6 years ago
Mikunj
a1e4b740f2
Fixed up settings view.
...
Fix review issues.
6 years ago
sachaaaaa
2755ff06d8
remove messages from cache before throwing if the prekey id could not be verified
6 years ago
Mikunj
ae695fe32f
Remove sending attachments.
6 years ago
Scott Nonnenberg
b3eb0646c0
Reenable send when link preview is missing an image
6 years ago
sachaaaaa
7186f28019
Ensure a session is always initiated using the prekey assigned to the contact
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
Beaudan
0c104e5a53
Small fix for the disconnected banner coming up when it shouldn't, just default to thinking we are connected and mock the onEmpty event. Will only get set to not connected if requests fail
6 years ago
Beaudan
cd79d5aca5
Fixed and simplified some logic for the handling of loki address messages
6 years ago
Beaudan
b2e95932f1
Lint
6 years ago
Beaudan
fac8e72861
Added queue manager to properly fix the race condition bug and reset the changes I made in other commit
6 years ago
Beaudan
b2f456031f
Forgot to lint
6 years ago
Beaudan
cc3f98b20a
Move the incoming hash filtering logic into sql.js to prevent data races
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
Mikunj
efe95a70bc
Fix review issues.
6 years ago
Mikunj
3c07d99a89
Fix variable names.
...
Fix module export to be more consistent.
6 years ago
Beaudan
2bae6b5eed
Removed online broadcast message type, changed ttl logic a little, add p2p address and port to the window object when recieve message
6 years ago
Beaudan
07076c27ae
Moved friend status to window, added start of p2p api stuff
6 years ago
Beaudan
b417edfc9b
Added new protos for online broadcast messages, added db hits for getting friends, local server now instantiated on the window, now sending online broadcast messages when the local server starts
6 years ago
Mikunj Varsani
8b5106433f
Update libtextsecure/errors.js
...
Co-Authored-By: BeaudanBrown <beau@loki.network>
6 years ago
Beaudan
c83661ce3f
Added DNS resolution error for when lokinet isn't working, now keeping track of the nodes that have been queried and not trying them again
6 years ago
Beaudan
561d60cfd5
Sending messages now in a while loop like retrieving messages, added a failureCount and only delete node urls if they fail 3 times
6 years ago
Scott Nonnenberg
813924685e
Link Previews
6 years ago
Scott Nonnenberg
91ef39e482
Ensure that blocked messages are dropped even after sealed sender
6 years ago
Bradley Sinclair
f968a5db3d
Ensure encrypting device name does not die on empty device name ( #3066 )
...
Ran into this on the Contributors guidelines setting up the development env.
registerSingleDevice does not pass a deviceName, so it fail every time.
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
fe63a9af8c
always remove message from cache and return early when message.body is null
6 years ago
sachaaaaa
c853239a00
Merge pull request #152 from sachaaaaa/fix_friendrequest_notification_when_sessionreset
...
Suppress friend request notification for session reset
6 years ago
Mikunj Varsani
b226feaac7
Merge pull request #148 from Mikunj/signal-1.20
...
Signal 1.20
6 years ago
sachaaaaa
adfb4ab371
work with session reset
6 years ago
sachaaaaa
b080828065
Fix bug where a friend request notification is shown when a session reset is received
6 years ago
sachaaaaa
1238cbc4e6
Send profile along with friend request accept message
6 years ago
Mikunj
1a15ec9c15
Merge commit signal/master into signal-1.20
6 years ago
Mikunj
9b71e8119e
Added error catching.
6 years ago
Mikunj
f21d1f65e6
Let OS select random open port.
6 years ago
Mikunj
8c9b1a7a7a
Added loki server.
...
Added test.
6 years ago
Mikunj
e08a63d078
Merge development into lint
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
Mikunj
6bd2d3962e
Linted files
6 years ago
Scott Nonnenberg
aab2a57b48
Some style and interaction fine-tuning
6 years ago
Scott Nonnenberg
43e5d16020
Support for web socket communication with no signaling key
6 years ago
Scott Nonnenberg
00755072ee
Include caption, width and height for outgoing attachments
6 years ago
Mikunj
8f1650443f
Set custom TTL in outgoing message.
6 years ago
Mikunj
070d18b514
Updated function calls.
6 years ago
Scott Nonnenberg
985b1d6aa6
New staged attachments UI, multiple image attachments per message
6 years ago
Scott Nonnenberg
47f834cf5c
Encrypt device name on account create, on first launch if needed
6 years ago
Mikunj
a0b814bf7c
limit max message length to 2000 characters.
...
Set task time limit to 3 minutes.
6 years ago
Mikunj
6bcb259919
Added PoW error.
6 years ago
Mikunj
654b0dac84
Merge signal-master.
6 years ago
Beaudan
6113f13d3a
Rip the worker logic out of message_receiver and add the functionality for it to work with pow. Fix pow tests to work with those changes
6 years ago
Mikunj
0491ceacf1
Added seed dialog.
...
Fixed issue where incorrect language was used to generate seed.
6 years ago
Scott Nonnenberg
3851bf351f
Throttle typing events, fix profile logging, fix group typing
6 years ago
Beaudan
7782c58d14
Slight refactor of PoW file to make easier to test plus some tests for the PoW functionality
6 years ago
Beaudan
be878f00a4
Updated names of some test functions. Added yarn commands to view output of different tests. Added a test and updated existing test to use more efficient asserts
6 years ago
Beaudan
a676459229
Added test for returning the correct prekeybundle after creating a contact, updated the in memory store to reflect how sasha updated the actual store a while ago
6 years ago
Beaudan
c93aff7ebe
Setup grunt/yarn etc for loki tests plus wrote first 2 simple libloki-protocol tests
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
sachaaaaa
91f018da57
remove unused var
6 years ago
sachaaaaa
f2e1b9b8de
more missing awaits
6 years ago
sachaaaaa
933d7730db
Remove superfluous commented out line
6 years ago
sachaaaaa
7e612700f7
Handle session reset, Loki style
6 years ago
Mikunj
62c802445b
Allow generating mnemonic for different languages.
6 years ago
Mikunj
85298012e4
Added generation of seed in registration.
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
c10e81355d
Moved profile name saving to account manager.
6 years ago
Mikunj
06f79eb3fd
Allow user to set display name when registering.
6 years ago
Scott Nonnenberg
822ea9ae53
Improve sealed sender icon display logic
6 years ago
sachaaaaa
f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
...
Added profile sharing and setting nicknames.
6 years ago
Mikunj
f596c8125a
Only attach profile if name is set.
6 years ago
Scott Nonnenberg
313d08344a
Request configuration sync on startup of new version
6 years ago
Mikunj
18d638fdbf
Fix sending and receiving profile.
...
Don't delete profile after if we set the display name to empty.
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
14ee7fec65
Moved and nicknames into conversations.
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
Beaudan
7c92eeac30
Fixing cache clearing bug
6 years ago
Scott Nonnenberg
70eed938d9
Store arrayBuffers in database for remote identity keys
6 years ago
Scott Nonnenberg
79a861a870
Typing Indicators
6 years ago
Scott Nonnenberg
99252702e1
Support receiving multiple images in one messages
6 years ago
sachaaaaa
4309a10ebc
Merge pull request #60 from BeaudanBrown/develop-mode-settings
...
Removed some repetetive logs, developer mode settings
6 years ago
sachaaaaa
b03548637c
Fix getKeysForNumber when staleDevices is not empty
6 years ago
Beaudan
b515fc41e7
Removed some repetetive logs, made the polling time a variable and lower the polling time and PoW difficulty if we are in debug mode
6 years ago
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
6 years ago
sachaaaaa
7e783639fd
Fix inexistent enum value for Prekey Type
6 years ago
Mikunj
9fd822a7e3
Remove preKeys on friend request decline.
6 years ago
Mikunj
0dabce9e28
Remove preKeyBundle from message.
...
Always save preKeyBundles if we receive them.
Always override preKeys when saving.
6 years ago
Mikunj
149da3374a
Fix pkb not being saved on the first cipher message.
6 years ago
Mikunj
0404f42738
Merge commit 'dbdd52b4eb11ca71adcae547c931b5cfda1ada11' into fix/pkb-type
6 years ago
sachaaaaa
dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
...
Friend request fixes
6 years ago
Mikunj
05f8a1c43a
Handle pkb friend request accept.
6 years ago
Mikunj
4bb93e6e3c
rename sendEmptyMessageWithPreKeys to sendFriendRequestAccepted.
6 years ago
Mikunj
bd15f426f9
Attack a type to preKeyBundleMessage.
6 years ago
Mikunj
f29a515fdf
Fix up typos.
6 years ago
Mikunj
8a0b8e1f00
Store the state of the friend request inside the conversation.
6 years ago
Mikunj
484efd34a3
Added friend request message expiration.
6 years ago
Mikunj
db1145c0ce
Fix handling empty content.
6 years ago
sachaaaaa
ccb5ff79d4
Use correct log level in development mode and use log.debug() for some of the reoccurring logs
6 years ago
Mikunj
dba6a36e83
removed old unused code.
6 years ago
Mikunj
75219966a7
Fixed preKeyBundle decryption.
6 years ago
Mikunj
b21a7197f7
Fix preKeyBundle not sending.
6 years ago
Mikunj
110387508f
UI fixes.
6 years ago
Mikunj
4ebdfab633
Update handling of new message logic.
6 years ago
Mikunj
6c5c95d956
Added preKey decryption.
6 years ago
Mikunj
1264630649
Attach preKeyBundle outside of the message content.
6 years ago
Mikunj
cf3e9716ed
Update new conditions for friend accepted and key exchange complete in conversations model.
6 years ago
Beaudan
ff3cc7a315
Review changes
6 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
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
sachaaaaa
82a09d46d7
Merge pull request #42 from sachaaaaa/restore_padding
...
restore ciphertext padding
7 years ago
Mikunj
ece266fffd
Added showing pow icon.
7 years ago
sachaaaaa
847401e49a
restore ciphertext padding
7 years ago
sachaaaaa
9f101d9381
Merge pull request #40 from Mikunj/merge/signal
...
Merge Signal 1.18.0
7 years ago
Mikunj
745d0e82d4
Added unread count badge .
7 years ago
sachaaaaa
5a428af873
Restore incoming Signal decryption to fix 'Illegal wire type for field Message.Field .signalservice.Content.preKeyBundleMessage'
7 years ago
Mikunj
c0a21f60c0
Fix function issue.
7 years ago
sachaaaaa
4a31c1640f
Missing callback argument for recursive calls in http-resources
7 years ago
sachaaaaa
dc0a70b6d0
fix copy/pasta mistake
7 years ago
Mikunj
4d3fb17e61
Merge branch 'sig-development' into merge/signal
7 years ago
sachaaaaa
6c6b0a4b92
Merge pull request #37 from sachaaaaa/fix_network_status_warning
...
Make network status warning work with HTTP polling
7 years ago
sachaaaaa
5bcf63e592
Merge pull request #39 from BeaudanBrown/last-hash
...
Last hash
7 years ago
Beaudan
9731c9e086
Comment out some signal server based code causing errors. Return before trying to unpad message because they aren't being padded in the first place
7 years ago
Mikunj
245ae721c7
Fix checking for when a friend request was accepted.
7 years ago
Mikunj
3389b1d457
Fixed the way preKeyBundle is stored in message.
7 years ago
Mikunj
688f275262
pass in source, sourceDevice, timestamp and receivedAt when adding a friend request.
7 years ago
sachaaaaa
7e9016f510
Make network status warning work with HTTP polling
7 years ago
BeaudanBrown
bd0ce981dd
Merge pull request #34 from sachaaaaa/classify
...
ES2015 classes for LokiServer and FallBackSessionCipher
7 years ago
sachaaaaa
ad1cf94526
ES2015 classes for LokiServer and FallBackSessionCipher
7 years ago
Mikunj
f4b60c3ff6
Fix setting friend requests incorrectly.
7 years ago
Mikunj
6aab900da2
Handle friend request updated.
7 years ago
Mikunj
757216fe80
Fix text input disabling.
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
BeaudanBrown
9ceb3c8ac0
Merge branch 'development' into message-polling
7 years ago
Scott Nonnenberg
2822f4ce40
Ensure proper order of state changes during account create
7 years ago
Scott Nonnenberg
c5f9fae444
A few small bugfixes
7 years ago
Beaudan
c59b196487
Now reading messages and adding them to conversations. Some cleaning of unreachable code. Modified the message data to be encoded as base64 string before sending to server
...
Sending our public key in header of message
Now attaching our key to the source field when sending messages, allows messages to be decrypted with the fallback cypher
Now polling the server for messages every 5 seconds
Sending the source device with messages
Added mock respond function to request to leave it that same as the websocket stuff. RetrieveMessages now just returns the result
Polling now continues if the server responds with an error. Returning only the result from sendMessage and retrieveMessages
Revert commenting of unreachable code
Refactored http logic into own file
Revert a change to websocket-resources
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
c150cbe34f
Friend request message indicator.
7 years ago
Mikunj
b9e85bb141
Added handling of accept and decline events.
7 years ago
Mikunj
1bef7a0c98
Modified createAccount to only accept params needed for Loki Messenger.
...
Removed implementation of registerSecondDevice.
7 years ago
Mikunj
b63844af57
Fix registration.
7 years ago
Scott Nonnenberg
e828253ef0
Restor full function syntax to custom Mocha reporter
7 years ago
Scott Nonnenberg
dbf0be2db5
eslintify all test files
7 years ago
Scott Nonnenberg
2d48daa7b6
Refine Sealed Sender behaviors
7 years ago
Mikunj
2fabd93fd6
Fix message sending
7 years ago
Mikunj
77602e3dbb
Moved contactPreKey and contactSignedPreKey to sql.
7 years ago
Mikunj
f589fdac5c
Merge signal changes into branch.
7 years ago
Beaudan
1ccf3b6b95
Added function to loki_message_api to do a single request call to storage server. Currently just gets called once when the application starts
7 years ago
Scott Nonnenberg
e2e0e4c96b
Refine sealed sender logic
7 years ago
sachaaaaa
dda71cbea1
always lock editor after sending friend request. unlock if error.
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
sachaaaaa
7b1fbe362e
Allow choosing language for mnemonic seed
7 years ago
sachaaaaa
bbabeb34b8
Merge pull request #18 from sachaaaaa/mnemonic
...
Allow registering using a mnemonic word list
7 years ago
sachaaaaa
68c98e0f6f
Merge pull request #20 from sachaaaaa/friend_request_prompt
...
Friend request prompt
7 years ago
sachaaaaa
666cb1d3cb
replace double with triple equals
7 years ago
Scott Nonnenberg
a7d78c0e9b
Sealed Sender support
...
https://signal.org/blog/sealed-sender/
7 years ago
sachaaaaa
13858dfa66
yarn.lock and fix missing variable in transmission error handling
7 years ago
sachaaaaa
3481c0e58f
send back an empty message with prekeys upon accepting a friend request
7 years ago
sachaaaaa
e1ffe582c3
Prompt user when an incoming friend request is received
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
68e15d60b1
Convert privKey to ArrayBuffer before generating key pair
7 years ago
sachaaaaa
1ce29d77c3
Moved mnemonic to node side. Added sc_reduce32 (asm) to generate privkey. Moved mnemonic languages to separate files.
7 years ago
sachaaaaa
1cf8710127
Merge pull request #16 from sachaaaaa/friend_response
...
Handle prekeys in incoming friend request
7 years ago
sachaaaaa
a418a9d23b
allow registering using a mnemonic word list (seed used as privKey for now)
7 years ago
Beaudan
d9c89376cb
Added logic to pass tll into transmitMessage function, with default value of 24 hours.
...
TODO: ensure that the target calculation for the PoW is adjusting appropriately for the different ttl values.
7 years ago
Beaudan
9d8890594c
Removed unused retransmit function
7 years ago
sachaaaaa
fb020f88ea
call 'onFriendRequestSent' only after the message was successfully 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
sachaaaaa
93f1534512
Save prekeys upon reception of friend request. Add function to send an empty message as friend request acceptance
7 years ago
sachaaaaa
b9dbf11ebc
Fix various things from previous commits
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
886f47b8e7
Prekeys sending: first pass ( #12 )
...
* add 'recipient' attribute in prekey database to allow binding a prekey to a recipient pub key
* Attach a PreKeyBundleMessage to the ContentMessage in fallback encryption mode
* Skip generating 100 prekeys upon registration
* Store the signed key signature in database
7 years ago
Scott Nonnenberg
76e72f871a
Better handle large numbers of messages in cache on startup
7 years ago
sachaaaaa
0283c6428f
Ignore friend request messages that could not be decrypted
7 years ago
sachaaaaa
9677f8b648
Merge branch 'development' into send_as_bytes
7 years ago
sachaaaaa
be29ea725a
revert libsignal-protocol and convert binary-encoded string to Uint8Array later down the line
7 years ago
sachaaaaa
6fe70b9b85
Send outgoing messages as raw bytes (Uint8Array) and moved recipient & ttl to header
7 years ago