Commit Graph

190 Commits (adf0d03d35d5475dd76c149a7056df8350f33b50)

Author SHA1 Message Date
Audric Ackermann a511ceec55
pull 200 messages on pull of messages when we already have this convo 4 years ago
Audric Ackermann 4026e0162e fix a bug preventing fitlering of duplicates for open group messages 4 years ago
Audric Ackermann 228e4ed662
move MessageController to typescript 4 years ago
Audric Ackermann efa45f7cbe be sure to send open group messages in order 4 years ago
Audric Ackermann da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 4 years ago
Audric Ackermann ff2bd1b7b4
allow preview without image to be send
otherwise, an error during the send was triggered
4 years ago
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 4 years ago
Audric Ackermann 531e7bab46
print error if we get a 178 attachment size.
This is a dirty hack until the root cause is fixed.
4 years ago
Audric Ackermann 30f93b2ad3
remove conversation stack 4 years ago
Audric Ackermann 190d597814
only trigger new msg on open group if we are still running 5 years ago
Maxim Shishmarev 27859b13aa Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses 5 years ago
Audric Ackermann 5de2dea407
use .ok field on serverRequest to check for request success 5 years ago
Audric Ackermann 2b13321c23
remove completely send to proxy 5 years ago
Audric Ackermann 4c91d977ca
move token and submit challenge call to onion request 5 years ago
Audric Ackermann c7e54c4257
make attachment download use onion routing 5 years ago
Audric Ackermann b050a3740d
clean all updateConversation calls to convo.commit() 5 years ago
Audric Ackermann 0b6fe65b3c
move to staging server for apns 5 years ago
Audric Ackermann 32c9576296
max retries is 3 for file server requests 5 years ago
Audric Ackermann 3a876c7322
add notify to PN server on message sent 5 years ago
Audric Ackermann c0fa5fe290
hide annoying log 5 years ago
Audric Ackermann 56cd42d34c
remove authorColor unused in Session 5 years ago
Audric Ackermann a0e437ab87
fix ordering of our own message on message pulled from server 5 years ago
Audric Ackermann 1e446b0a81
fix order for open groups message which are out of sync 5 years ago
Audric Ackermann 76664d9a11
use created_at for public group to order messages 5 years ago
Audric Ackermann cd686269cb
use server created_at timestamp to order messages
Also update the way we check for duplicated message to allow a 10s
window with the same body rather than an exact match of timestamp.

This is needed as the timestamp of the message pulled is now the one of
the creation of the server, and not the same we have locally (sent at).
5 years ago
Audric Ackermann 3b01ada63a
fix multiple attachment signature in open group with mobile 5 years ago
Audric Ackermann 6d65c9cc0a
make sendMessage return -1 on fail rather than false 5 years ago
Ryan Tharp 1cf90d9585 better detect when token is no longer valid (helps whitelist servers) 5 years ago
Maxim Shishmarev 12f73e23f2 Move onion requests to typescript 5 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago
Mikunj b69ad7db16 Add attachment util 5 years ago
Audric Ackermann eb9a838af1
remove friends from UI logic 5 years ago
Mikunj Varsani 2d0c3eb896
Merge branch 'clearnet' into message-sender 5 years ago
Ryan Tharp 9e4e524807 lint 5 years ago
Mikunj 2f5fd5d835 Revert loki modules to commonjs export 5 years ago
Ryan Tharp a22dbbc37e
Merge branch 'clearnet' into fileonion 5 years ago
Mikunj 1dad49057b Implement MessageSender 5 years ago
Mikunj 3ea0689d2f Linting 5 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 5 years ago
Ryan Tharp b749afb761 Pubkeys don't matter if proxy/onion are off 5 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 5 years ago
Ryan Tharp bb963b77f1 expose serverRequest/sendViaOnion, sendViaOnion fix querystring/bad path response handling/handle text responses, getPubKeyForUrl check window.lokiPublicChatAPI.openGroupPubKeys for this.baseServerUrl 5 years ago
Ryan Tharp 78991416f1 put file server onion requests behind a feature flag 5 years ago
Ryan Tharp 2d715fdfed getOnionRequestNumber=>assignOnionRequestNumber 5 years ago
Ryan Tharp 4b6aaeab56 use window.lokiSnodeAPI.getOnionRequestNumber, catch lokiSnodeAPI.getOnionPath exceptions, remove dead code, lint 5 years ago
Ryan Tharp 7d961ad40a
make sure OR is off and proxy is on to override file host 5 years ago
Ryan Tharp 0d40ee7ae6
Don't allow file-dev in proxy mode 5 years ago
Ryan Tharp f134c6ae48
Revert libloki.crypto.generateEphemeralKeyPair, use ... for OR retries 5 years ago
Ryan Tharp 80a3eb0521
cannot use libloki.crypto.generateEphemeralKeyPair() because it removes the 05 prefix 5 years ago
Ryan Tharp 97de1eb6ec getPubKeyForUrl() from file_server_api, remove success logging 5 years ago