Commit Graph

153 Commits (3c571770ed3ee26893453b93b702cda833d1a824)

Author SHA1 Message Date
Vincent 3c571770ed Useful comments 5 years ago
Ryan Tharp 2907f3d154 remove dead code 5 years ago
Ryan Tharp 0bbd265d52 log any sendMessage exceptions, other notes 5 years ago
Ryan Tharp 2be1a0850c remove 2nd param from Math.floor, refreshSendingSwarm fix refreshSwarmNodesForPubKey pubkey 5 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 5 years ago
Ryan Tharp 73b6401097 additional lint-full 5 years ago
Ryan Tharp 6c48ee7e6d lint 5 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 5 years ago
Ryan Tharp a2b1c2e8f6 lint 5 years ago
Ryan Tharp 4384229b4c log when _retrieveNextMessages's call to lokiRpc fails 5 years ago
Ryan Tharp 2a7ebe6696 don't say it's sent when it's not 5 years ago
Maxim Shishmarev 0221e7b8c0 fix linter warnings 5 years ago
Maxim Shishmarev a9e6d863c3 Disable long-polling 5 years ago
Ryan Tharp 8bf77ce44f collapse difficulty branching 5 years ago
Ryan Tharp 4bb2e83cb3 lint 5 years ago
Ryan Tharp 6bdc269081 include function name in log message 5 years ago
Ryan Tharp 455bfa4ab7 result guard, mark internal-only intended functions with _ prefix and simplify parameters, logging improvements 5 years ago
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
5 years ago
Ryan Tharp 4ba4b8bb54 improve logging, add one retry if not enough snodes in the swarm on long poll start 5 years ago
Ryan Tharp ede5258dd3 improve logging 5 years ago
Maxim Shishmarev 3f58dea035 Remove mixpanel 5 years ago
Maxim Shishmarev 02320334f0 Remove P2P 5 years ago
Ryan Tharp 3969817a0a lint
lint

lint
5 years ago
Maxim Shishmarev a195c98061 Add a feature flag for snode proxy 5 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 4e70b66131 Extract the async token grab from the server api constructor and put in the factory. Fix up the areas this affects 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 71fde0b9e6
Merge branch 'clearnet' into publicchat_signed 6 years ago
Ryan Tharp 51eaa90823 use window.mixpanel, remove eventEmitter 6 years ago
Ryan Tharp 68186afba2 lint and remove unneeded params 6 years ago
Ryan Tharp 88b44390bf Desktop Analytics 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
Maxim Shishmarev 5cf63af3a3 Enable quotes in public chats 6 years ago
Ryan Tharp dfd6039c83 use LokiPublicChannelAPI 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 4dd62a265c Allow receiving and sending messages before lokiP2PApi is defined. 6 years ago
Beaudan c9f433fbba Save message id when sending/receiving to/from public server and lint 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 014558d939 Squash and clean of old PRs, move towards sending cleartext again 6 years ago
Beaudan Campbell-Brown 73b417e605
Merge pull request #371 from BeaudanBrown/testnet
Separate testnet
6 years ago
Beaudan 492bb3723a Move pubkey truncation to loki_rpc and add window function 6 years ago
Beaudan Campbell-Brown 0e9372d3d5
Merge pull request #373 from msgmaxim/timestamp-error
Show correct error on incorrect timestamp
6 years ago
Beaudan 6140fef1f7 Fix some bugs 6 years ago
Maxim Shishmarev 09d279dd93 Show correct error on incorrect timestamp 6 years ago
Beaudan 43c2e9c953 Use different seed nodes for development vs production and strip 2 characters from pubkey on testnet 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 c53a35deeb Comment explaining stopPollingPromise 6 years ago