Commit Graph

2964 Commits (25383458b1fef936730e81415800d28f3b42e7a7)

Author SHA1 Message Date
Beaudan 25383458b1 Fixed bug with our swarm nodes being removed from memory after a successful request because of returning a reference 6 years ago
Beaudan cc3f98b20a Move the incoming hash filtering logic into sql.js to prevent data races 6 years ago
Beaudan Campbell-Brown 5f49c5aafd
Merge pull request #165 from Mikunj/online-indicator
Online indicator
6 years ago
Mikunj 174f8747b6 Review fixes.
Revert promises back to old style.
6 years ago
sachaaaaa 576617e18e call class method using "this" in loki_snode_api 6 years ago
Mikunj 4518e95619 Linting 6 years ago
Mikunj 8526c6dd92 Fix up possible database write issue. 6 years ago
Mikunj f4e9bc655a Hooked up LokiP2pAPI with online stuff. 6 years ago
Mikunj 9b382de6da Added online indicator.
Disable selection in contacts.
6 years ago
Beaudan 1ce63add68 Simplified the addContactP2pDetails logic cause it was silly 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
Mikunj ddbbb1a6f0 Refactor fetch. 6 years ago
Beaudan 6ba7fb20b8 Fixed UI blocking when creating conversation, more review comments 6 years ago
Beaudan e735b3ca41 Review comments, moved swarmNodes database stuff to just be in data.js 6 years ago
Beaudan 4207d2d26b Removed accidental commented out line 6 years ago
Beaudan 9ff96a0250 Fixed tests and moved friend request status enum to new friends file 6 years ago
Beaudan 38ff70e2ec Fixed some little redundant stuff in the message and snode api 6 years ago
Beaudan d002d76d9f Fix unneccesary logic and copy paste trash 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
sachaaaaa 8f165da43d Fix sending loop that cycles indefinitely when offline 6 years ago
Beaudan f2acde219a Review suggestion 6 years ago
Beaudan f6d167eda1 Split logic for getting swarm nodes from db, getting from lokinet and saving to db. Now tracking successfulRequests when making queries on top of the completedNodes list 6 years ago
Beaudan 9ece4e1fd8 Review comments 6 years ago
Beaudan dde63a552f Fix bug with replayable errors, fix bug with set representation of swarmNodes not being handled properly 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
Mikunj ac59e1249f Added db resetting.
Use built in signal warning view.
6 years ago
Mikunj e544cd4c88 Added confirmation dialog. 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 adfb4ab371 work with session reset 6 years ago
Mikunj 1a15ec9c15 Merge commit signal/master into signal-1.20 6 years ago
Scott Nonnenberg 0ba25ff8d5 Multiple images can now be selected in file chooser and drag/drop 6 years ago
Mikunj e08a63d078 Merge development into lint 6 years ago
Mikunj f92e8485f8 Merge development into lint
Added gitattributes
6 years ago
Beaudan badaf40ca8 bit of readability and catching error (but just silencing for now) 6 years ago
Beaudan bdbdf15469 Added timeouts for requests so they don't for ages. Changed swarmNodes to be a set to work property with merge, now removing contact swarmNodes if they timeout 6 years ago
Beaudan 24553e29e7 Made swarm requests ACTUALLY not wait for them all to finish and stop saving swarmNodes as DB column 6 years ago
Beaudan 7b1799c418 Big ol' hunk o' chunk. Now using random.snode to populate swarm lists, now making multiple requests from said lists and they are processed as they complete rather than waiting for all to resolve 6 years ago
Beaudan f09f0f5721 Moved replenishSwarm into libloki-protocol and attached to the window 6 years ago
Beaudan 37ba762312 First stuff for contacting specific nodes for each contact. Hard coded to hit the same bootstrap node for now plus doesn't handle unreachable nodes/errors well yet 6 years ago
Beaudan Campbell-Brown ea1d007b4f
Merge pull request #136 from Mikunj/tests
Tests
6 years ago
Mikunj 6bd2d3962e Linted files 6 years ago
Beaudan Campbell-Brown c1dfd400f5
Merge pull request #131 from Mikunj/ttl-setting
Added TTL to settings.
6 years ago
Beaudan Campbell-Brown 1b681bdc98
Merge pull request #137 from Mikunj/fix/friend-display
Fix contact display
6 years ago
Mikunj Varsani f527e2a2ff
Update js/notifications.js 6 years ago
Mikunj 1f10a73e4f Updated strings. 6 years ago