Ryan Tharp
c57571fdfd
loki.network rss feed
2019-08-23 11:11:23 +10:00
sachaaaaa
edd800d382
Make linter happy
2019-08-12 15:07:17 +10:00
sachaaaaa
bf8bb23683
remove stale comment and simplify conversation creation
2019-08-12 15:07:17 +10:00
sachaaaaa
d208614909
Multi-device part 1: make primary account generate and send authorisation to secondary
2019-08-12 15:07:17 +10:00
Beaudan
f857744e88
Revert sending id
2019-08-09 13:33:48 +10:00
Beaudan
f718bf15d2
Prepare to delete message, send message id to server
2019-08-08 14:56:52 +10:00
Beaudan
21f0149e22
Send profile and update it
2019-08-08 14:56:52 +10:00
Beaudan
014558d939
Squash and clean of old PRs, move towards sending cleartext again
2019-08-08 14:56:52 +10:00
sachaaaaa
0e61ab8ccc
Better document magic numbers
2019-08-08 13:44:46 +10:00
sachaaaaa
16e51a2c7a
use variable for magic number
2019-08-08 10:20:17 +10:00
sachaaaaa
b15799e7cb
Generate 13 word seeds by default - still accept 25 word seeds.
2019-08-07 16:40:26 +10:00
Beaudan
7dd155eb16
Remove empty event trigger, doesn't seem to be required any more but could be wrong
2019-08-07 14:56:14 +10:00
Beaudan Campbell-Brown
b76f84acc5
Merge pull request #377 from msgmaxim/typing-indicators
...
Add a toggle option for typing indicators; use short ttl for them
2019-08-06 12:47:45 +10:00
Maxim Shishmarev
cdd374a4b2
Add a toggle option for typing indicators; use short ttl for them
2019-08-06 11:57:45 +10:00
Beaudan Campbell-Brown
0e9372d3d5
Merge pull request #373 from msgmaxim/timestamp-error
...
Show correct error on incorrect timestamp
2019-08-05 17:33:08 +10:00
Maxim Shishmarev
09d279dd93
Show correct error on incorrect timestamp
2019-08-05 11:14:22 +10:00
Beaudan
63396669bc
Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore
2019-08-01 12:54:48 +10:00
Beaudan Campbell-Brown
c1efa93137
Merge pull request #349 from BeaudanBrown/fix-disappearing
...
Fix disappearing messages and deleting contact
2019-07-22 14:38:58 +10:00
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
2019-07-18 13:28:36 +10:00
Beaudan
6ef94fa43d
Start attempt at closing long polling connections when offline event is triggered
2019-07-15 12:33:19 +10:00
Beaudan
804fc076cc
Refresh swarm list 1 time for outgoing messages
2019-07-04 12:19:07 +10:00
Beaudan
df2c4af67c
Run lint and check for ip or address when removing unreachable nodes
2019-07-04 10:20:16 +10:00
sachaaaaa
beac7a02bb
send "unreachable" ping to allow half-p2p
2019-06-28 12:09:46 +10:00
sachaaaaa
c53633e367
Clearnet p2p with https (no verification yet)
2019-06-28 12:09:46 +10:00
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.
2019-06-18 17:31:49 +10:00
Beaudan
e520bf109a
Persist PoW difficulty and update if get response from snodes
2019-06-03 13:37:34 +10:00
Beaudan Campbell-Brown
e9b1359bab
Merge pull request #295 from BeaudanBrown/refactor-sendmessage
...
Refactor sendmessage
2019-06-03 13:37:00 +10:00
Beaudan Campbell-Brown
fd6f6c6a8c
Merge pull request #290 from Mikunj/loki-profile
...
Convert profile field in DataMessage to use LokiProfile
2019-06-03 13:09:33 +10:00
Beaudan
c02d5d4053
Lint
2019-06-03 10:42:18 +10:00
Beaudan
709db4bf54
Make sendMessage take options, remove redundant retrieve function and get constant
2019-06-03 10:26:42 +10:00
Beaudan
b43978ece1
Initial refactoring of sendmessage
2019-05-31 13:58:01 +10:00
Beaudan Campbell-Brown
fbcd49ac5d
Merge pull request #270 from sachaaaaa/concurrent_polling
...
Refactor long polling for better concurrent requests
2019-05-31 11:06:24 +10:00
Mikunj
2c12c8a1d8
Convert profile field in data message to use LokiProfile instead of signal Contact.
2019-05-29 09:26:16 +10:00
sachaaaaa
5f77f751d9
Replace generator function and other various fixes
2019-05-22 15:14:58 +10:00
sachaaaaa
09a9cfbf37
Refactor long polling for better concurrent requests
2019-05-22 15:14:58 +10:00
Beaudan
91e218766c
Remove old log
2019-05-22 15:06:17 +10:00
Beaudan Campbell-Brown
e99cec9c09
Merge pull request #272 from Mikunj/signal-1.24
...
Signal 1.24
2019-05-22 14:56:37 +10:00
beaudan
145b9e0a37
Fix typo
2019-05-13 10:25:33 +10:00
beaudan
6f21e7244f
Print polling error
2019-05-13 06:49:41 +10:00
beaudan
54bd75e9a6
Wait for a longer time after failed poll and extend default timeout
2019-05-13 06:17:13 +10:00
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
2019-04-18 12:45:19 +10:00
Mikunj
3a8111020e
Merge v1.23.0
...
# Conflicts:
# background.html
# package.json
# yarn.lock
2019-04-18 11:12:02 +10:00
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
2019-04-17 16:42:09 +10:00
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
2019-04-17 13:47:17 +10:00
Mikunj
57195017f9
Linting
2019-04-17 12:05:30 +10:00
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
2019-04-17 11:59:54 +10:00
Beaudan
620380d2d9
Move filter messages to message api and some other cleaning
2019-04-15 15:27:14 +10:00
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
2019-04-11 15:31:00 +10:00
Beaudan
db8f8ba36f
Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds
2019-04-11 10:56:17 +10:00
Scott Nonnenberg
a450cdf528
Lint fixes for recent PRs
2019-04-08 11:30:19 -07:00
sachaaaaa
d99dc100a5
Fix arguments in MessageSenderWrapper ( #2671 )
2019-04-08 10:22:06 -07:00
Scott Nonnenberg
494806b314
libsignal-protocol: Be resilient to missing open session
2019-04-08 09:44:08 -07:00
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
2019-04-08 13:37:20 +10:00
Beaudan
b09f2970fc
Move NotFoundError to errors.js
2019-04-08 13:37:20 +10:00
Beaudan
531ee92dcb
Updated messenger to work with slightly different storage server API and changed swarm requests to go through storage server
2019-04-08 13:37:20 +10:00
Beaudan Campbell-Brown
338f4e3682
Merge pull request #255 from BeaudanBrown/better-logs
...
Improve sending/retrieving/swarm logs
2019-03-25 17:30:41 +11:00
Beaudan
e5449f56ee
Added success and failure callbacks when queueing envelope, now responding with 404 if we fail to decrypt a p2p message
2019-03-14 10:02:38 +11:00
Scott Nonnenberg
32fa5cccde
Send sync sent messages properly in 1-member group
2019-03-13 10:46:00 -07:00
Scott Nonnenberg
b83ae11cb3
Single member groups: Make all group-related sends a noop
2019-03-13 09:19:37 -07:00
Scott Nonnenberg
c76d537482
Note to Self: On just expire timer update, set TIMER_UPDATE flag
2019-03-13 09:11:39 -07:00
Beaudan
6656a89092
Cleaned up a lot of the logs, stop them from printing more than once etc
2019-03-13 12:05:47 +11:00
Scott Nonnenberg
b3ac1373fa
Move left pane entirely to React
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
0b0dfbce9d
Don't return error for groups with no members but yourself
2019-03-12 17:44:14 -07:00
Scott Nonnenberg
e4f18f9daa
libsignal-protocol: Protect against null thrown Errors
2019-03-12 17:44:14 -07:00
Beaudan
5a23dbb687
Review comments and add local server listener before starting
2019-03-01 13:49:59 +11:00
Beaudan
8c20a31dd4
Review suggestions
2019-03-01 12:50:45 +11:00
Beaudan
eaea7d9b7d
Catch errors when starting local server and retry every 30 seconds
2019-03-01 12:45:31 +11:00
Mikunj
06be1da40d
Added p2p message styling
2019-02-22 10:22:03 +11:00
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
2019-02-21 14:33:03 +11:00
Scott Nonnenberg
3fb6ab295f
Debug log optimizations and improvements
2019-02-20 16:51:30 -08:00
Scott Nonnenberg
77ae717b9b
Clean up shutdown handling - stop processing incoming messages
2019-02-20 16:51:30 -08:00
Scott Nonnenberg
af40ceda6c
Note to Self timer fixes for bugs reported by beta users
2019-02-20 16:40:35 -08:00
Scott Nonnenberg
7c4ba5446c
Throw error if incoming attachment has mismatched attachment size
2019-02-20 16:40:35 -08:00
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
2019-02-20 16:08:41 +11:00
Beaudan
29bca71d5a
Try ping contacts that send us storage server messages in the last 2 mins
2019-02-20 16:08:41 +11:00
Beaudan
d6a210efaa
Reworked the update p2p details to be more robust and stopped some redundant pings from happening
2019-02-20 16:08:41 +11:00
Beaudan
b00a0cb699
Rename isOnline to isPing for clarity, and reduce the ttl for online broadcast messages to 1 min
2019-02-20 16:08:41 +11:00
Beaudan
2fd746821a
Added function for getting your loki IP and bind the local server
2019-02-14 13:09:04 +11:00
sachaaaaa
6febbf83da
reset line endings in libsignal-protocol
2019-02-14 11:07:37 +11:00
Scott Nonnenberg
2c3847affe
MessageReceiver: Don't wait for cache update to move forward
2019-02-13 16:04:58 -08:00
Scott Nonnenberg
291e8d80cb
Fix asm.js errors in emscripten-generated functions
2019-02-13 16:04:58 -08:00
Scott Nonnenberg
5b54c9554e
Remove groups table, conversation is single source of truth
2019-02-13 16:04:58 -08:00
Scott Nonnenberg
b69eea543c
MessageReceiver: Don't wait for app logic to start next decrypt
2019-02-13 16:04:58 -08:00
Scott Nonnenberg
041fe4be05
Remove JSON column and Backbone Model for unprocessed
2019-02-13 16:04:58 -08:00
Scott Nonnenberg
1d2c3ae23c
Download attachments in separate queue from message processing
2019-02-12 16:34:21 -08:00
Scott Nonnenberg
a43a78731a
Note to Self
2019-02-12 16:08:51 -08:00
Scott Nonnenberg
021e807180
MessageReceiver: Log errors with proper message id
2019-02-11 18:32:05 -08:00
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
2019-02-12 13:17:35 +11:00
sachaaaaa
1a810f4e4f
Merge pull request #186 from Mikunj/local-preview
...
Added local link previews
2019-02-11 16:21:41 +11:00
Scott Nonnenberg
2ce86af093
Ensure that Curve.async points to worker after startWorker call
2019-02-08 11:54:22 -08:00
sachaaaaa
fdc51e88dd
only verify the prekey id when there is no current session active
2019-02-08 16:36:33 +11:00
Mikunj
a1e4b740f2
Fixed up settings view.
...
Fix review issues.
2019-02-08 16:03:15 +11:00
sachaaaaa
2755ff06d8
remove messages from cache before throwing if the prekey id could not be verified
2019-02-08 14:21:44 +11:00
Mikunj
ae695fe32f
Remove sending attachments.
2019-02-08 13:36:22 +11:00
Scott Nonnenberg
b3eb0646c0
Reenable send when link preview is missing an image
2019-02-07 10:21:43 -08:00
sachaaaaa
7186f28019
Ensure a session is always initiated using the prekey assigned to the contact
2019-02-07 17:58:24 +11:00
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
2019-02-06 13:53:20 +11:00
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
2019-02-05 10:48:51 +11:00
Beaudan
cd79d5aca5
Fixed and simplified some logic for the handling of loki address messages
2019-02-04 15:37:55 +11:00
Beaudan
b2e95932f1
Lint
2019-02-04 11:18:59 +11:00
Beaudan
fac8e72861
Added queue manager to properly fix the race condition bug and reset the changes I made in other commit
2019-02-04 11:14:31 +11:00
Beaudan
b2f456031f
Forgot to lint
2019-02-01 15:01:11 +11:00
Beaudan
cc3f98b20a
Move the incoming hash filtering logic into sql.js to prevent data races
2019-02-01 15:01:11 +11:00
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
2019-01-31 16:10:57 +11:00
Mikunj
efe95a70bc
Fix review issues.
2019-01-31 11:58:43 +11:00
Mikunj
3c07d99a89
Fix variable names.
...
Fix module export to be more consistent.
2019-01-31 11:30:26 +11:00
Beaudan
2bae6b5eed
Removed online broadcast message type, changed ttl logic a little, add p2p address and port to the window object when recieve message
2019-01-31 10:24:34 +11:00
Beaudan
07076c27ae
Moved friend status to window, added start of p2p api stuff
2019-01-31 10:24:34 +11:00
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
2019-01-31 10:24:34 +11:00
Mikunj Varsani
8b5106433f
Update libtextsecure/errors.js
...
Co-Authored-By: BeaudanBrown <beau@loki.network>
2019-01-30 10:59:22 +11:00
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
2019-01-30 10:59:22 +11:00
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
2019-01-30 10:59:22 +11:00
Scott Nonnenberg
813924685e
Link Previews
2019-01-29 13:53:14 -08:00
Scott Nonnenberg
91ef39e482
Ensure that blocked messages are dropped even after sealed sender
2019-01-29 13:53:14 -08:00
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.
2019-01-29 09:39:55 -08:00
Beaudan Campbell-Brown
dcfc97713b
Merge pull request #150 from sachaaaaa/display_nickname_on_friend_accept
...
Send profile along with friend request accept message
2019-01-25 16:03:04 +11:00
sachaaaaa
fe63a9af8c
always remove message from cache and return early when message.body is null
2019-01-25 11:17:24 +11:00
sachaaaaa
c853239a00
Merge pull request #152 from sachaaaaa/fix_friendrequest_notification_when_sessionreset
...
Suppress friend request notification for session reset
2019-01-25 10:25:10 +11:00
Mikunj Varsani
b226feaac7
Merge pull request #148 from Mikunj/signal-1.20
...
Signal 1.20
2019-01-25 10:13:08 +11:00
sachaaaaa
adfb4ab371
work with session reset
2019-01-23 17:39:49 +11:00
sachaaaaa
b080828065
Fix bug where a friend request notification is shown when a session reset is received
2019-01-23 17:04:50 +11:00
sachaaaaa
1238cbc4e6
Send profile along with friend request accept message
2019-01-23 14:58:28 +11:00
Mikunj
1a15ec9c15
Merge commit signal/master into signal-1.20
2019-01-22 13:54:03 +11:00
Mikunj
9b71e8119e
Added error catching.
2019-01-22 10:40:07 +11:00
Mikunj
f21d1f65e6
Let OS select random open port.
2019-01-21 15:44:37 +11:00
Mikunj
8c9b1a7a7a
Added loki server.
...
Added test.
2019-01-21 15:23:20 +11:00
Mikunj
e08a63d078
Merge development into lint
2019-01-17 12:58:33 +11:00
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
2019-01-16 17:08:46 +11:00
Mikunj
6bd2d3962e
Linted files
2019-01-16 16:18:08 +11:00
Scott Nonnenberg
aab2a57b48
Some style and interaction fine-tuning
2019-01-14 17:40:31 -08:00
Scott Nonnenberg
43e5d16020
Support for web socket communication with no signaling key
2019-01-14 10:32:12 -08:00
Scott Nonnenberg
00755072ee
Include caption, width and height for outgoing attachments
2019-01-14 10:32:12 -08:00
Mikunj
8f1650443f
Set custom TTL in outgoing message.
2019-01-14 09:56:16 +11:00
Mikunj
070d18b514
Updated function calls.
2019-01-10 10:26:25 +11:00
Scott Nonnenberg
985b1d6aa6
New staged attachments UI, multiple image attachments per message
2019-01-04 12:21:26 -08:00
Scott Nonnenberg
47f834cf5c
Encrypt device name on account create, on first launch if needed
2019-01-04 12:21:26 -08:00
Mikunj
a0b814bf7c
limit max message length to 2000 characters.
...
Set task time limit to 3 minutes.
2018-12-19 14:05:57 +11:00
Mikunj
6bcb259919
Added PoW error.
2018-12-19 14:05:57 +11:00
Mikunj
654b0dac84
Merge signal-master.
2018-12-17 12:56:04 +11:00
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
2018-12-13 17:13:52 +11:00
Mikunj
0491ceacf1
Added seed dialog.
...
Fixed issue where incorrect language was used to generate seed.
2018-12-12 11:27:41 +11:00
Scott Nonnenberg
3851bf351f
Throttle typing events, fix profile logging, fix group typing
2018-12-10 14:06:43 -08:00
Beaudan
7782c58d14
Slight refactor of PoW file to make easier to test plus some tests for the PoW functionality
2018-12-10 14:13:54 +11:00
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
2018-12-10 14:13:54 +11:00
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
2018-12-10 14:13:54 +11:00
Beaudan
c93aff7ebe
Setup grunt/yarn etc for loki tests plus wrote first 2 simple libloki-protocol tests
2018-12-10 14:13:54 +11:00
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.
2018-12-10 13:23:50 +11:00
sachaaaaa
05c18d42db
Merge pull request #66 from sachaaaaa/session_reset
...
Handle session reset, Loki style
2018-12-06 15:24:52 +11:00
Beaudan
1e3886cca8
More consistent naming of key storage functions, moved some loki messenger only functions into new file
2018-12-06 12:28:00 +11:00
sachaaaaa
91f018da57
remove unused var
2018-12-06 12:19:36 +11:00
sachaaaaa
f2e1b9b8de
more missing awaits
2018-12-06 12:10:24 +11:00
sachaaaaa
933d7730db
Remove superfluous commented out line
2018-12-06 12:10:24 +11:00
sachaaaaa
7e612700f7
Handle session reset, Loki style
2018-12-06 12:10:24 +11:00
Mikunj
62c802445b
Allow generating mnemonic for different languages.
2018-12-05 12:03:40 +11:00
Mikunj
85298012e4
Added generation of seed in registration.
2018-12-04 15:31:59 +11:00
Beaudan
28fc5793a7
More explicit function names, shifted friend request sent logic to more sensible place
2018-12-03 16:45:51 +11:00
Beaudan
91a8a82e39
More PR suggestions, now recover from early exit before friend request is sent
2018-12-03 16:45:03 +11:00
Beaudan
2de01d0343
Back to multiple pending states, fix some notification bugs and friend requests should now work for all cases besides message sending interruption
2018-12-03 16:44:10 +11:00
Beaudan
051e4dd22c
XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable
2018-12-03 16:44:10 +11:00
Mikunj
c10e81355d
Moved profile name saving to account manager.
2018-12-03 12:54:19 +11:00
Mikunj
06f79eb3fd
Allow user to set display name when registering.
2018-12-03 08:55:43 +11:00
Scott Nonnenberg
822ea9ae53
Improve sealed sender icon display logic
2018-11-29 15:41:26 -08:00
sachaaaaa
f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
...
Added profile sharing and setting nicknames.
2018-11-29 15:59:53 +11:00
Mikunj
f596c8125a
Only attach profile if name is set.
2018-11-29 15:49:35 +11:00
Scott Nonnenberg
313d08344a
Request configuration sync on startup of new version
2018-11-28 12:35:26 -08:00
Mikunj
18d638fdbf
Fix sending and receiving profile.
...
Don't delete profile after if we set the display name to empty.
2018-11-28 14:08:25 +11:00
Beaudan
fa63ce5ade
Review changes
2018-11-28 13:16:50 +11:00
Beaudan
35c89ea4d9
Big refactor, prekeybundle moved back to a content message
2018-11-28 12:10:44 +11:00
Mikunj
14ee7fec65
Moved and nicknames into conversations.
2018-11-28 10:31:11 +11:00
Mikunj
aa57693fce
Update profile if we get it through a message.
2018-11-28 10:31:11 +11:00
Mikunj
774c52a407
Added dynamic profile fetching in conversation.
...
Added setting profile when sending DataMessage.
2018-11-28 10:31:11 +11:00
Beaudan
7c92eeac30
Fixing cache clearing bug
2018-11-27 16:29:45 +11:00
Scott Nonnenberg
70eed938d9
Store arrayBuffers in database for remote identity keys
2018-11-26 16:22:49 -08:00
Scott Nonnenberg
79a861a870
Typing Indicators
2018-11-26 15:26:04 -08:00
Scott Nonnenberg
99252702e1
Support receiving multiple images in one messages
2018-11-26 15:26:04 -08:00
sachaaaaa
4309a10ebc
Merge pull request #60 from BeaudanBrown/develop-mode-settings
...
Removed some repetetive logs, developer mode settings
2018-11-26 16:51:23 +11:00
sachaaaaa
b03548637c
Fix getKeysForNumber when staleDevices is not empty
2018-11-26 16:18:24 +11:00
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
2018-11-26 16:01:13 +11:00
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
2018-11-26 11:28:43 +11:00
sachaaaaa
7e783639fd
Fix inexistent enum value for Prekey Type
2018-11-23 17:46:26 +11:00
Mikunj
9fd822a7e3
Remove preKeys on friend request decline.
2018-11-23 12:25:44 +11:00
Mikunj
0dabce9e28
Remove preKeyBundle from message.
...
Always save preKeyBundles if we receive them.
Always override preKeys when saving.
2018-11-23 11:09:47 +11:00
Mikunj
149da3374a
Fix pkb not being saved on the first cipher message.
2018-11-23 10:59:10 +11:00
Mikunj
0404f42738
Merge commit 'dbdd52b4eb11ca71adcae547c931b5cfda1ada11' into fix/pkb-type
2018-11-22 16:10:51 +11:00
sachaaaaa
dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
...
Friend request fixes
2018-11-22 16:06:41 +11:00
Mikunj
05f8a1c43a
Handle pkb friend request accept.
2018-11-22 15:39:49 +11:00
Mikunj
4bb93e6e3c
rename sendEmptyMessageWithPreKeys to sendFriendRequestAccepted.
2018-11-22 15:18:10 +11:00
Mikunj
bd15f426f9
Attack a type to preKeyBundleMessage.
2018-11-22 15:15:28 +11:00
Mikunj
f29a515fdf
Fix up typos.
2018-11-22 14:52:32 +11:00
Mikunj
8a0b8e1f00
Store the state of the friend request inside the conversation.
2018-11-22 13:59:03 +11:00
Mikunj
484efd34a3
Added friend request message expiration.
2018-11-22 13:37:22 +11:00
Mikunj
db1145c0ce
Fix handling empty content.
2018-11-21 15:37:19 +11:00
sachaaaaa
ccb5ff79d4
Use correct log level in development mode and use log.debug() for some of the reoccurring logs
2018-11-21 15:06:22 +11:00
Mikunj
dba6a36e83
removed old unused code.
2018-11-21 12:38:01 +11:00
Mikunj
75219966a7
Fixed preKeyBundle decryption.
2018-11-21 11:29:48 +11:00
Mikunj
b21a7197f7
Fix preKeyBundle not sending.
2018-11-20 16:20:57 +11:00
Mikunj
110387508f
UI fixes.
2018-11-20 16:01:37 +11:00
Mikunj
4ebdfab633
Update handling of new message logic.
2018-11-20 15:08:29 +11:00
Mikunj
6c5c95d956
Added preKey decryption.
2018-11-20 14:44:48 +11:00
Mikunj
1264630649
Attach preKeyBundle outside of the message content.
2018-11-20 14:23:06 +11:00