sachaaaaa
0122fb8603
handle SYNC messages
5 years ago
sachaaaaa
b0122b6ce6
Ensure the primary profile is used on secondary devices
5 years ago
sachaaaaa
7c52a1d038
encrypt and decrypt images before upload and after download
5 years ago
Maxim Shishmarev
81bfa90943
Prompting the user to reset session on invalid ciphertext
5 years ago
Maxim Shishmarev
2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
...
Public chat invitations
5 years ago
sachaaaaa
516b463d2e
Merge pull request #641 from sachaaaaa/pairing_revocation
...
Sending and handling of special UNPAIRING_REQUEST message
5 years ago
Maxim Shishmarev
8ea82b14e3
Add channel id field to invitations
5 years ago
Maxim Shishmarev
a5fce17d8c
public chat invitations
5 years ago
sachaaaaa
3d22abc9cf
Ensure message is not FR
5 years ago
sachaaaaa
e0dc04cba5
Merge pull request #639 from sachaaaaa/fix_prekey_id_not_found
...
Prevent prekeys to be deleted when re-sending pairing request
5 years ago
sachaaaaa
db0068b429
Sending and handling of special UNPAIRING_REQUEST message
5 years ago
sachaaaaa
3d7548729f
Prevent prekeys to be deleted when re-sending pairing request
5 years ago
Maxim Shishmarev
5a08ac9cc1
Use avatar specific endpoint
5 years ago
Maxim Shishmarev
4dd314c18f
Enable profile pictures
5 years ago
Beaudan Brown
56a1c31bf4
Ensure we can still send messages to ourselves (sync) and disable group chats
5 years ago
Beaudan Brown
685ada5cc5
Merge branch 'clearnet' into prep-merge
5 years ago
Beaudan Brown
030264c689
Fix misuse of getAllDevicePubKeysForPrimaryPubKey and rename some vars
5 years ago
Beaudan Brown
bce18b7ae6
Revert change so we are always friends with our secondary devices, check validSyncSender from primary pubkey rather than ourNumber
5 years ago
Beaudan Brown
74045d58d7
Use Int32 for the contact list buffer
5 years ago
Beaudan Campbell-Brown
6611a10855
Merge pull request #590 from BeaudanBrown/session-reset-on-fr
...
Session reset on fr
5 years ago
Beaudan Brown
1c022856b1
Address review
5 years ago
Beaudan Brown
370dee5abb
Ensure we have the correct apis and listeners during the pairing process. Catch upnp error. Remove redundant friend requests
6 years ago
Beaudan Brown
c31535edb4
Rename blockSync, only send contacts and profile if sending a GRANT request, do *not* always be friends with secondary devices because we still need to complete a friend request exchange
6 years ago
Beaudan Brown
332cd30052
Send contact sync message when becoming friends with contact and auto accept/send friend requests when receiving contact sync
6 years ago
Beaudan Campbell-Brown
e88aca57f2
Merge pull request #603 from sachaaaaa/Fix_secondary_nickname
...
[multi-device] Fix secondary nickname
6 years ago
Beaudan Campbell-Brown
0f74a002df
Merge pull request #601 from BeaudanBrown/sync-messages
...
[multi-device] Sync messages
6 years ago
Beaudan Brown
accd16cae1
Trigger friend request received update for the correct device conversation, throttle the sending of automated friend requests and don't send them to devices which sent *us* a friend request
6 years ago
Beaudan Brown
41fdcef695
Ensure that we can't miss the apisReady event and only listen for single emit
6 years ago
sachaaaaa
dc626ec4d0
use primary device pubkey when setting nickname
6 years ago
Beaudan Brown
7e275ac266
Don't sync secondary devices and make sure initAPIs has been called before sending friend requests to synced contacts
6 years ago
Beaudan Brown
f16b032056
Handle sync messages properly for some edge cases, ensure we always have a primaryDevicePubKey, send contact sync message
6 years ago
Beaudan Brown
722c10dd70
Verify that incoming sync messages are from one of our devices, don't send messages to ourselves
6 years ago
Beaudan Brown
4aaa9ba26d
Update sendSyncMessage to use primary pubkey and don't send to itsself, don't send typing messages for primary conversation (note to self)
6 years ago
Maxim Shishmarev
7c05939f55
Add group admins and the ability to remove members from private groups
6 years ago
Maxim Shishmarev
cf18572049
Adding new group members; establishing sessions between non-friends
6 years ago
Maxim Shishmarev
0d19b708f9
Creating private group chats between friends
6 years ago
Beaudan Brown
e9dc3b531e
Simplify auto accept check
6 years ago
Beaudan Campbell-Brown
8235662518
Merge pull request #589 from Mikunj/pairing-fix
...
Fix cross platform device linking
6 years ago
Beaudan Brown
8ccf62ed4e
Trigger endSession code if we receive a friend request from a friend
6 years ago
Mikunj
589b3f3233
Infer pairing message type from the content.
...
This should fix device pairing cross platform.
6 years ago
Beaudan Brown
72b60077c7
Give a simple error instead of logging a failed null check
6 years ago
Beaudan Brown
883feb668d
The rest of my multidevice work, send messages to all the correct devices and automatic friend request if not friends with a device
6 years ago
Beaudan Campbell-Brown
aa66b28ffe
Merge pull request #579 from BeaudanBrown/friends-with-any
...
Add isFriendsWithAnyDevice and use it in relevant places
6 years ago
Beaudan Brown
76b36845bb
Add isFriendsWithAnyDevice and use it in relevant places
6 years ago
Beaudan Brown
08ad913105
Add explicit isSecondary flag to conversation list items so they can remain hidden in the menu after they become friends etc
6 years ago
Beaudan Brown
d97eced37b
Merge branch 'clearnet' into multi-device
6 years ago
Beaudan Brown
638f1c0e6c
Bringing together all the stuff for attachments and link previews
6 years ago
Beaudan Brown
f0c198c7b7
Split uploadData to public and private
6 years ago
Beaudan Brown
a1921cfff3
Enable link previews to be sent as attachments, might need some more tweaking
6 years ago
Beaudan Brown
c7a91686a8
Update proto id and use the server id as the attachmentpointer id
6 years ago
Beaudan Brown
5710c1268c
Revert id field and add new url field to be compatible with mobile
6 years ago
Beaudan Brown
4e85435bf7
Update attachment pipeline to upload and download from loki fileserver
6 years ago
sachaaaaa
73d90a5277
Merge pull request #537 from sachaaaaa/secondary_device_minimum_receiver
...
[multi-device] Start all the receivers only after the secondary registration is fini…
6 years ago
sachaaaaa
c38e145be7
lint
6 years ago
sachaaaaa
f268fbb552
Merge pull request #534 from sachaaaaa/use_file_server_device_mapping
...
[multi-device] Use file server device mapping
6 years ago
sachaaaaa
cc04bee38a
Start all the receivers only after the secondary registration is finished
6 years ago
sachaaaaa
91a79ea57c
Fetch device mapping from server when after receiving friend request
6 years ago
sachaaaaa
a314721cce
Both devices to update their mapping after secondary registration
6 years ago
sachaaaaa
4929f8d8db
Move high-level authorisation from message_receivier to libloki.crypto
6 years ago
sachaaaaa
77bfee8892
No need to handle authorisations sent in friend requests
6 years ago
sachaaaaa
d5ddc1c536
No need to attach authorisation with every friend request
6 years ago
sachaaaaa
b63d8ec84f
Merge branch 'clearnet' into multi-device
...
* clearnet: (35 commits)
yarn lint
return early if signature is not a string
lint pass 2
lint pass 1
make sure versioning on write can't get out of sync
Update js/modules/loki_public_chat_api.js
Handle annotations omit correctly
fix typo CI found
refactor
pollOnceForMessages() move lastGot up, address Sacha's review
Update js/modules/loki_public_chat_api.js
address review
address reviews
Custom message rendering of mentions
fix method
separate out new/open, more lint/cleanup
separate out note to self
create window.mixpanel here
use window.mixpanel, remove eventEmitter
lint and remove unneeded params
...
6 years ago
Ryan Tharp
c921d3e3b3
allow mixpanel to be already set up elsewhere
6 years ago
Ryan Tharp
88b44390bf
Desktop Analytics
6 years ago
sachaaaaa
d3653e8665
lint after manual merge
6 years ago
sachaaaaa
0426d85e7a
Merge branch 'clearnet' into multi-device
...
* clearnet: (136 commits)
Fix more check on deletion.
Only shorten pubkeys if name is present
Shorten pubkeys in quotations too
better guard
pass serverId back to the server
Bump version.
Purge cache on failure.
Fix unnecessary link preview fetches.
Review changes. Increase mod time to 30 seconds.
Undo defaultPublicChatServer change,
Modified colour of dark mod badge
Linting.
Updated design
Show crown icon for moderators
Fix last hash all being NULL in database
Poll for moderators, store them on the conversation and use the list to determine our own mod status
Make sure we are always updating the last deleted id
Update ts/components/conversation/FriendRequest.md
Fix #355 Display timestamp for friend requests
Fix duplicate detection for sent messages in public chat
...
# Conflicts:
# app/sql.js
# js/background.js
# js/models/messages.js
# js/views/app_view.js
# libloki/crypto.js
# libtextsecure/message_receiver.js
6 years ago
sachaaaaa
d17f86679f
Merge pull request #495 from sachaaaaa/fix_unknown_signedkey
...
[multi-device] Ensure the latest contact signed prekey is used
6 years ago
sachaaaaa
712afef8e2
simplify
6 years ago
sachaaaaa
6de6b762e6
Ensure the latest contact signed prekey is used
6 years ago
sachaaaaa
cf0628a001
Secondary device to send friend request automatically to all sync contact received
6 years ago
sachaaaaa
b10835ffc7
Share contact upon authorising secondary device
6 years ago
Beaudan Brown
9beea2cbd3
Enforce curlies completely and lint with new settings
6 years ago
Beaudan Campbell-Brown
a6abcaf826
Merge pull request #453 from Mikunj/profile-simplification
...
Profile simplification
6 years ago
Beaudan Campbell-Brown
43bd167965
Merge pull request #463 from loki-project/public-chat
...
Public chat
6 years ago
Mikunj
831ae09576
Cherry pick "profile simplification" from Mik
6 years ago
sachaaaaa
1ea934d69c
Merge pull request #457 from sachaaaaa/share_profile_name
...
[multi-device] Share primary device profile name upon secondary registration
6 years ago
sachaaaaa
9f8ee875b7
address review
6 years ago
sachaaaaa
97970ff465
Share primary device profile name upon secondary registration
6 years ago
sachaaaaa
7b9e578d8a
lint
6 years ago
sachaaaaa
aa2438ad00
Shorter TTL for pairing requests
6 years ago
Mikunj
c4dd10a5cd
Simplified profile setting. Renamed functions to be less confusing. Removed storing profile in local storage.
6 years ago
Beaudan Brown
700ed5d2a8
Some refactoring from reviews, and include the token in the message pipeline instead of getting in message_api
6 years ago
Beaudan Brown
b5fd01a468
Add required metadata to sending pipeline and send to public channels
6 years ago
sachaaaaa
1d4c98adf0
Merge pull request #444 from sachaaaaa/logic_fixes
...
[multi-device] Fix bugs revealed during reviews
6 years ago
Beaudan Brown
eec4f22b50
Add crypto helpers and public error
6 years ago
sachaaaaa
bb0150624f
Address reviews
6 years ago
sachaaaaa
661b207245
Various fixes for bugs introduced during reviews
6 years ago
sachaaaaa
53b974d63f
Send messages to every devices linked to a primary device
6 years ago
sachaaaaa
5eab2098b6
Merge pull request #430 from sachaaaaa/handle_incoming_authorisation
...
[multi-device] Handle incoming pairing authorisation message
6 years ago
sachaaaaa
8ef54890b2
Update libtextsecure/message_receiver.js
...
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
6 years ago
sachaaaaa
c7dc79e7f9
Fix missing awaits!
6 years ago
sachaaaaa
6ab05e28df
Handle incoming pairing authorisation message
6 years ago
sachaaaaa
794e6416c8
Add requestPairing high-level function
6 years ago
Beaudan Brown
895cedc801
Lint
6 years ago
sachaaaaa
713e9a3acf
Fix pubkey validation
6 years ago
Beaudan Brown
3f4b94ba74
Transition to initialising rss feeds in schema update
6 years ago
Ryan Tharp
48f2637ff9
lint
6 years ago
Ryan Tharp
0a1655b03d
poll all feeds
6 years ago
Ryan Tharp
c57571fdfd
loki.network rss feed
6 years ago
sachaaaaa
edd800d382
Make linter happy
6 years ago
sachaaaaa
bf8bb23683
remove stale comment and simplify conversation creation
6 years ago
sachaaaaa
d208614909
Multi-device part 1: make primary account generate and send authorisation to secondary
6 years ago
Beaudan
f857744e88
Revert sending id
6 years ago
Beaudan
f718bf15d2
Prepare to delete message, send message id to server
6 years ago
Beaudan
21f0149e22
Send profile and update it
6 years ago
Beaudan
014558d939
Squash and clean of old PRs, move towards sending cleartext again
6 years ago
sachaaaaa
0e61ab8ccc
Better document magic numbers
6 years ago
sachaaaaa
16e51a2c7a
use variable for magic number
6 years ago
sachaaaaa
b15799e7cb
Generate 13 word seeds by default - still accept 25 word seeds.
6 years ago
Beaudan
7dd155eb16
Remove empty event trigger, doesn't seem to be required any more but could be wrong
6 years ago
Beaudan Campbell-Brown
b76f84acc5
Merge pull request #377 from msgmaxim/typing-indicators
...
Add a toggle option for typing indicators; use short ttl for them
6 years ago
Maxim Shishmarev
cdd374a4b2
Add a toggle option for typing indicators; use short ttl for them
6 years ago
Beaudan Campbell-Brown
0e9372d3d5
Merge pull request #373 from msgmaxim/timestamp-error
...
Show correct error on incorrect timestamp
6 years ago
Maxim Shishmarev
09d279dd93
Show correct error on incorrect timestamp
6 years ago
Beaudan
63396669bc
Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore
6 years ago
Beaudan Campbell-Brown
c1efa93137
Merge pull request #349 from BeaudanBrown/fix-disappearing
...
Fix disappearing messages and deleting contact
6 years ago
Beaudan
96aaa7851d
Send broadcast message instead of empty message to trigger things like session reset and disappearing messages. Also fix small bug where deleting a contact kept the (now removed) conversation open
6 years ago
Beaudan
6ef94fa43d
Start attempt at closing long polling connections when offline event is triggered
6 years ago
Beaudan
804fc076cc
Refresh swarm list 1 time for outgoing messages
6 years ago
Beaudan
df2c4af67c
Run lint and check for ip or address when removing unreachable nodes
6 years ago
sachaaaaa
beac7a02bb
send "unreachable" ping to allow half-p2p
6 years ago
sachaaaaa
c53633e367
Clearnet p2p with https (no verification yet)
6 years ago
Beaudan
d82b5e1998
Remove random snodes if they fail and then try again. Throw seed node error if getRandomSnodeAddress fails. Filter out 0.0.0.0 nodes.
6 years ago
Beaudan
e520bf109a
Persist PoW difficulty and update if get response from snodes
6 years ago
Beaudan Campbell-Brown
e9b1359bab
Merge pull request #295 from BeaudanBrown/refactor-sendmessage
...
Refactor sendmessage
6 years ago
Beaudan Campbell-Brown
fd6f6c6a8c
Merge pull request #290 from Mikunj/loki-profile
...
Convert profile field in DataMessage to use LokiProfile
6 years ago
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