Commit Graph

171 Commits (f7581cf4ebee13edb51e6372e9903c5e8745d0e9)

Author SHA1 Message Date
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 3 years ago
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
3 years ago
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 3 years ago
Audric Ackermann 1e446b0a81
fix order for open groups message which are out of sync 4 years ago
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 4 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 4 years ago
Maxim Shishmarev 8f0d59f9b8 Fix not shuffling nodes requested for pubkey 4 years ago
Audric Ackermann f641b9436b
fix our handling of snode sending errors so we have a real error shown
when a message fails to send because of it.

Also, fix the retry logic on the corresponding message
4 years ago
Maxim Shishmarev d5a98b8b47 Remove swarm nodes from conversations 4 years ago
Maxim Shishmarev 514d60b1cf Clean up dead code 4 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 4 years ago
Mikunj 2f5fd5d835 Revert loki modules to commonjs export 4 years ago
Mikunj 1dad49057b Implement MessageSender 4 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 4 years ago
Maxim Shishmarev ec3c03dbd4 Address review comments 4 years ago
Maxim Shishmarev abde96bc1e Fix medium group updates 4 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 4 years ago
Maxim Shishmarev 8292775e96 Minor fix 4 years ago
Maxim Shishmarev debb922521 Medium groups with sender keys essentials 4 years ago
Ryan Tharp 2907f3d154 remove dead code 4 years ago
Ryan Tharp 0bbd265d52 log any sendMessage exceptions, other notes 4 years ago
Ryan Tharp 2be1a0850c remove 2nd param from Math.floor, refreshSendingSwarm fix refreshSwarmNodesForPubKey pubkey 4 years ago
Ryan Tharp 6dca83a972 return which snode was used to send/storage message, pass fetchHashes to getSwarmNodesForPubKey, indicate if we were requested to be stopped or not, log level adjustments 4 years ago
Ryan Tharp 73b6401097 additional lint-full 4 years ago
Ryan Tharp 6c48ee7e6d lint 4 years ago
Ryan Tharp 53a624ff1d loki_primitives refactor, pass swarmPool into _openRetrieveConnection, _openSendConnection now returns the snode it used, refreshSendingSwarm() now uses lokiSnodeAPI.refreshSwarmNodesForPubKey, bump MAX_ACCEPTABLE_FAILURES from 1 to 10 to make sure we retry 4 years ago
Ryan Tharp a2b1c2e8f6 lint 4 years ago
Ryan Tharp 4384229b4c log when _retrieveNextMessages's call to lokiRpc fails 4 years ago
Ryan Tharp 2a7ebe6696 don't say it's sent when it's not 4 years ago
Maxim Shishmarev 0221e7b8c0 fix linter warnings 4 years ago
Maxim Shishmarev a9e6d863c3 Disable long-polling 4 years ago
Ryan Tharp 8bf77ce44f collapse difficulty branching 4 years ago
Ryan Tharp 4bb2e83cb3 lint 4 years ago
Ryan Tharp 6bdc269081 include function name in log message 4 years ago
Ryan Tharp 455bfa4ab7 result guard, mark internal-only intended functions with _ prefix and simplify parameters, logging improvements 4 years ago
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
4 years ago
Ryan Tharp 4ba4b8bb54 improve logging, add one retry if not enough snodes in the swarm on long poll start 4 years ago
Ryan Tharp ede5258dd3 improve logging 4 years ago
Maxim Shishmarev 3f58dea035 Remove mixpanel 4 years ago
Maxim Shishmarev 02320334f0 Remove P2P 4 years ago
Ryan Tharp 3969817a0a lint
lint

lint
4 years ago
Maxim Shishmarev a195c98061 Add a feature flag for snode proxy 5 years ago
Beaudan Brown d97eced37b Merge branch 'clearnet' into multi-device 5 years ago
Beaudan Brown 638f1c0e6c Bringing together all the stuff for attachments and link previews 5 years ago
Beaudan Brown 4e70b66131 Extract the async token grab from the server api constructor and put in the factory. Fix up the areas this affects 5 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
  ...
5 years ago
Ryan Tharp 71fde0b9e6
Merge branch 'clearnet' into publicchat_signed 5 years ago
Ryan Tharp 51eaa90823 use window.mixpanel, remove eventEmitter 5 years ago
Ryan Tharp 68186afba2 lint and remove unneeded params 5 years ago
Ryan Tharp 88b44390bf Desktop Analytics 5 years ago