Commit Graph

826 Commits (1a211e8df82f8edf4fd708f28d2b044d62639e22)

Author SHA1 Message Date
Beaudan db8f8ba36f Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds 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
Beaudan 6656a89092 Cleaned up a lot of the logs, stop them from printing more than once etc 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
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
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