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
Beaudan
6ef94fa43d
Start attempt at closing long polling connections when offline event is triggered
6 years ago
Beaudan
1c9fe5b9f5
Make sure we are purging nodes from retrieve swarm list, and also filter 0.0.0.0 ips when getting snodes from wrong swarm error
6 years ago
Beaudan
9910ef0c13
Rename bool
6 years ago
Beaudan
b49be51f36
Don't return early if recalculating PoW
6 years ago
Beaudan
804fc076cc
Refresh swarm list 1 time for outgoing messages
6 years ago
Beaudan Campbell-Brown
5aedd618c0
Merge pull request #324 from BeaudanBrown/improve-http-error
...
Also put the body in httperror
6 years ago
Beaudan
f02e885662
Print body of http error as well
6 years ago
Beaudan
10e61c37da
Retry initialiseRandomPool some times if request fails, fix uncaught promise in sendMessage
6 years ago
Beaudan Campbell-Brown
fee25036be
Merge pull request #321 from BeaudanBrown/faster-fail
...
Remove nodes after 1 failure and only wait for a single successful send
6 years ago
Beaudan
580931c4fb
Pass ourKey to message api, initialise these APIs after registration or when storage is ready so we always have ourKey
6 years ago
Beaudan
d647fb1eb8
Remove nodes after 1 failure and only wait for a single successful send before updating UI
6 years ago
Beaudan
ee260f7de0
Fix silly filtering bug, add filtering for swarm nodes and lint
6 years ago
Beaudan
c5c01b0ac8
Purge retrieving snodes
6 years ago
Beaudan
d12f6b6d32
Handle swarm nodes the same for us or contacts, attach our key to message api object
6 years ago
Beaudan
d5546b9473
Lint
6 years ago