Beaudan
d6a210efaa
Reworked the update p2p details to be more robust and stopped some redundant pings from happening
6 years ago
Beaudan
25ded46e2c
Fixed some bugs removing nodes after the first failure instead of waiting for the failure count and also reduced the number of errors logged and made some warnings
6 years ago
Beaudan
b00a0cb699
Rename isOnline to isPing for clarity, and reduce the ttl for online broadcast messages to 1 min
6 years ago
sachaaaaa
d3f23db049
serialise objects to json before node-fetch
6 years ago
sachaaaaa
8eac72b60c
Fix typo
6 years ago
sachaaaaa
ed1d06d9ce
use 'params' as per json_rpc
6 years ago
sachaaaaa
159dc711e1
use new message json rpc API
6 years ago
Beaudan
2fd746821a
Added function for getting your loki IP and bind the local server
6 years ago
Beaudan
6426a5eb9b
Added ability to look up our .loki address and now send that with our LokiAddress messages
6 years ago
Scott Nonnenberg
28f96fe893
Ensure that we capture sender even if thrown error is falsey
6 years ago
Scott Nonnenberg
5b54c9554e
Remove groups table, conversation is single source of truth
6 years ago
Scott Nonnenberg
041fe4be05
Remove JSON column and Backbone Model for unprocessed
6 years ago
Scott Nonnenberg
9c540ab977
Add cache support to Signal Protocol Store
6 years ago
Scott Nonnenberg
1d2c3ae23c
Download attachments in separate queue from message processing
6 years ago
Scott Nonnenberg
858c7e629f
Fine-tune linkification technique for link previews
6 years ago
Beaudan
2d9e6a7ac8
Review comments
6 years ago
Beaudan
2311bd1328
Fix bug with swarm node reference, now we should only refresh swarm nodes when they fail
6 years ago
Beaudan
5d823de6f9
Renamed lokiSnodeAPI to start with lower case for consistency, refactor snode API to use conversation controller
6 years ago
Mikunj
a989a1a818
Save previews locally.
6 years ago
sachaaaaa
f900a08eda
Merge pull request #177 from sachaaaaa/merge_1_21_0
...
Merge Signal 1.21.0
6 years ago
sachaaaaa
a0f67c22da
Merge branch 'textsecure/master' into merge_1_21_0
...
* textsecure/master: (26 commits)
v1.21.0
v1.21.0-beta.4
Dark Theme: Preserve blue background on app loading screen
Localization updates
Fix width of audio player when window is very narrow
A number of small fixes for Link Previews
Get rid of the white flash when the app starts up (#3083 )
v1.21.0-beta.3
Lint fixes
Introduce new language: NB
Fail over to all numbers in retry if errors don't have numbers
Use the proper method for pulling attachments off disk for retry
Fix rendering bug with verified state in updateVerified()
Update electron-builder and electron-updater
Ensure that dialog pops up when permissions denied for voice note
Lint fixes
Large update to localization strings
Link Previews
Ensure that blocked messages are dropped even after sealed sender
Don't linkify quoted message contents
...
# Conflicts:
# .github/PULL_REQUEST_TEMPLATE.md
# _locales/cs/messages.json
# background.html
# config/default.json
# index.html
# js/models/conversations.js
# js/modules/web_api.js
# js/settings_start.js
# js/views/conversation_view.js
# js/views/settings_view.js
# package.json
# protos/SignalService.proto
# stylesheets/_index.scss
# stylesheets/_settings.scss
6 years ago
Beaudan
cde7bbf3c3
Removed forceP2p as argument for the pingContact event and enforced it on the other side
6 years ago
Beaudan
69ebf017ff
Reworked loki_p2p_api to not use the window object, which means it needs to be instantiated after the storage is ready so that your pubkey can be passed in to the constructor. This makes it more modular and allows for easier testing
6 years ago
Scott Nonnenberg
0d7480bd92
A number of small fixes for Link Previews
6 years ago
Beaudan
cd79d5aca5
Fixed and simplified some logic for the handling of loki address messages
6 years ago
Beaudan
fac8e72861
Added queue manager to properly fix the race condition bug and reset the changes I made in other commit
6 years ago
Beaudan
b2f456031f
Forgot to lint
6 years ago
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
f4e9bc655a
Hooked up LokiP2pAPI with online stuff.
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
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
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
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
Scott Nonnenberg
92c071e083
Use the proper method for pulling attachments off disk for retry
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
Scott Nonnenberg
813924685e
Link Previews
6 years ago
Mikunj
1a15ec9c15
Merge commit signal/master into signal-1.20
6 years ago
Mikunj
e08a63d078
Merge development into lint
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
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
Mikunj
6bd2d3962e
Linted files
6 years ago
Mikunj
1f10a73e4f
Updated strings.
6 years ago
Scott Nonnenberg
43e5d16020
Support for web socket communication with no signaling key
6 years ago
Scott Nonnenberg
985b1d6aa6
New staged attachments UI, multiple image attachments per message
6 years ago
Scott Nonnenberg
e4babdaef0
Updates to backup infrastructure
6 years ago
Scott Nonnenberg
47f834cf5c
Encrypt device name on account create, on first launch if needed
6 years ago
Mikunj
3690f4acda
Added timeout argument to WorkerInterface.
6 years ago
Mikunj
654b0dac84
Merge signal-master.
7 years ago
Beaudan
6113f13d3a
Rip the worker logic out of message_receiver and add the functionality for it to work with pow. Fix pow tests to work with those changes
7 years ago
Mikunj
f53bec38a5
Added password inputs on registration screen.
...
Fix case where db is deleted but password hash still remains which causes user to never register.
Allow password to have symbols and other characters.
Added more tests.
Moved passHash from config into the sqlite db.
We can do this because we assume if sql failed to initialise then the key provided was wrong and thus we can show the user the password page.
7 years ago
Mikunj
cb3599eea8
Removed IdentityKeyHeader.
7 years ago
sachaaaaa
8f22babfcc
More log level finetuning
7 years ago
Scott Nonnenberg
313d08344a
Request configuration sync on startup of new version
7 years ago
Mikunj
f7e9af4e3a
Reverse changes to contact.js
7 years ago
Mikunj
98c4b5d77b
Added editing own nickname.
...
Fix dark theme support.
Fix notification titles.
7 years ago
Mikunj
774c52a407
Added dynamic profile fetching in conversation.
...
Added setting profile when sending DataMessage.
7 years ago
Scott Nonnenberg
70eed938d9
Store arrayBuffers in database for remote identity keys
7 years ago
Scott Nonnenberg
79a861a870
Typing Indicators
7 years ago
Beaudan
b515fc41e7
Removed some repetetive logs, made the polling time a variable and lower the polling time and PoW difficulty if we are in debug mode
7 years ago
Mikunj
9fd822a7e3
Remove preKeys on friend request decline.
7 years ago
Mikunj
0dabce9e28
Remove preKeyBundle from message.
...
Always save preKeyBundles if we receive them.
Always override preKeys when saving.
7 years ago
sachaaaaa
ccb5ff79d4
Use correct log level in development mode and use log.debug() for some of the reoccurring logs
7 years ago
Beaudan
489ec8fc65
Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way
...
Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after
Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error
create unique index for contact prekeys (to allow using REPLACE)
Fixed lint stuff that merge brought back
7 years ago
Mikunj
4148628e70
Remove any unsent messages when app is started.
7 years ago
Mikunj
ece266fffd
Added showing pow icon.
7 years ago
Mikunj
4b4999ac35
Update to signal 1.18.0
7 years ago
Scott Nonnenberg
a780fa3bab
Fix reference to nonexistent variable
7 years ago
Scott Nonnenberg
ca4e2177b4
Fix reference to nonexistent variable
7 years ago
Scott Nonnenberg
cb50451011
Bump sender certificate timer after registration for re-link
7 years ago
Mikunj
4d3fb17e61
Merge branch 'sig-development' into merge/signal
7 years ago
sachaaaaa
5bcf63e592
Merge pull request #39 from BeaudanBrown/last-hash
...
Last hash
7 years ago
Beaudan
3aa135fdb4
Grabbing last hash from server response. only requesting messages after the lasthash. Keeping track of lasthash for array of nodes (currently hardcoded for one)
7 years ago
Mikunj
3389b1d457
Fixed the way preKeyBundle is stored in message.
7 years ago
Scott Nonnenberg
55c3d9371e
Bump sender certificate timer after registration for re-link
7 years ago
BeaudanBrown
bd0ce981dd
Merge pull request #34 from sachaaaaa/classify
...
ES2015 classes for LokiServer and FallBackSessionCipher
7 years ago
Mikunj
33ee45b819
Cleaned up SQL for getMessagesByConversation.
7 years ago
Mikunj
1150f0f915
Allow fetching conversation messages by a specific type.
7 years ago
sachaaaaa
ad1cf94526
ES2015 classes for LokiServer and FallBackSessionCipher
7 years ago
Mikunj
4b7a94c7d0
Merge branch 'development' into feature/friend-request
7 years ago