Mikunj
d4de4b13dd
Fix incorrect import.
6 years ago
Mikunj
b4390a8c95
Updated pinging logic.
6 years ago
sachaaaaa
edd5915bf2
Fix use .length on object
6 years ago
sachaaaaa
5f77f751d9
Replace generator function and other various fixes
6 years ago
sachaaaaa
09a9cfbf37
Refactor long polling for better concurrent requests
6 years ago
Beaudan Campbell-Brown
e99cec9c09
Merge pull request #272 from Mikunj/signal-1.24
...
Signal 1.24
6 years ago
beaudan
54bd75e9a6
Wait for a longer time after failed poll and extend default timeout
6 years ago
Mikunj
fbbf454c49
Merge branch 'development' into signal-1.24
6 years ago
Beaudan Campbell-Brown
318371a652
Merge pull request #264 from BeaudanBrown/remove-signal-references
...
Remove Signal references
6 years ago
Mikunj
8808100796
Merge signal-1.24.0
...
# Conflicts:
# .github/PULL_REQUEST_TEMPLATE.md
# background.html
# config/default.json
# config/production.json
# js/models/conversations.js
# js/models/messages.js
# js/views/conversation_view.js
# js/views/inbox_view.js
# js/views/settings_view.js
# main.js
# package.json
# test/index.html
# ts/components/conversation/ContactName.tsx
# yarn.lock
6 years ago
Mikunj
3a8111020e
Merge v1.23.0
...
# Conflicts:
# background.html
# package.json
# yarn.lock
6 years ago
Mikunj
1f03e04d8c
Merge commit 'c75a756b2a58bd4a79890e34673d95d9f17f3f01' into signal-1.23
...
# Conflicts:
# js/views/conversation_view.js
# package.json
# ts/components/ConversationListItem.tsx
# ts/components/conversation/ConversationHeader.tsx
6 years ago
Mikunj
12ce0140de
Left pane changes.
...
Merge commit 'b3ac1373fa64117fe2a9ccfddf3712f1826c06d9' into signal-1.23
# Conflicts:
# _locales/en/messages.json
# background.html
# js/background.js
# js/conversation_controller.js
# js/models/conversations.js
# js/models/messages.js
# js/views/conversation_list_item_view.js
# js/views/conversation_list_view.js
# js/views/conversation_search_view.js
# js/views/inbox_view.js
# libtextsecure/account_manager.js
# package.json
# stylesheets/_global.scss
# stylesheets/_index.scss
# stylesheets/_modules.scss
# test/_test.js
# test/index.html
# test/models/conversations_test.js
# test/views/conversation_search_view_test.js
# ts/components/ConversationListItem.tsx
# ts/components/MainHeader.tsx
# ts/components/conversation/ConversationHeader.tsx
# ts/components/conversation/ResetSessionNotification.tsx
6 years ago
Mikunj
48c4ed1a29
Partial Merge commit 'bf904ddd129ceba8fa363ccf6d10ecd256c65f63' into signal-1.23
...
# Conflicts:
# _locales/en/messages.json
# app/sql.js
# js/background.js
# js/conversation_controller.js
# js/models/conversations.js
# js/views/inbox_view.js
# main.js
6 years ago
Mikunj
e343a04eea
Merge commit '18b5b7c046436f2defab2e20407e22da180bf97b' into signal-1.22
...
# Conflicts:
# app/sql.js
# background.html
# config/default.json
# js/background.js
# js/models/conversations.js
# js/models/messages.js
# js/modules/data.js
# js/signal_protocol_store.js
# js/views/conversation_search_view.js
# libtextsecure/message_receiver.js
# libtextsecure/sendmessage.js
# main.js
# package.json
# preload.js
# test/index.html
# ts/components/Avatar.tsx
# ts/components/conversation/ConversationHeader.md
# ts/components/conversation/ConversationHeader.tsx
6 years ago
Beaudan
8ff647e3cd
Return instead of await
6 years ago
Beaudan
e63e9b9053
Small optimisation
6 years ago
Beaudan
faf1b4b66b
Lint
6 years ago
Beaudan
620380d2d9
Move filter messages to message api and some other cleaning
6 years ago
Beaudan
796181e00c
Add database functions for storing, retrieving and cleaning last hash for snodes
6 years ago
Beaudan
960bd3fff2
Move JobQueue to be a module so that we can use it in preload
6 years ago
Beaudan
7eabae18f5
Replaced more references to signal with loki and updated CONTRIBUTING.md
6 years ago
Beaudan
377e90bafe
Include long polling header for retrieve messages, extend retrieveMessages timeout to 40 seconds, reduce default tmeout to 5 seconds, remove dev/prod poll time difference
6 years ago
Beaudan Campbell-Brown
495ddcabab
Merge pull request #262 from BeaudanBrown/millisecond-times
...
Ttl and timestamp milliseconds
6 years ago
Beaudan
db8f8ba36f
Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds
6 years ago
Beaudan
f69e6ec763
Disable encryption
6 years ago
Beaudan
f076f94e71
Clearer last hash line
6 years ago
Beaudan
fa7042c043
Added wrong swarm error which gets thrown if we receive a 421 error, update the swarm lists if we get one of those errors
6 years ago
Beaudan
0f771d4db4
Rename loki_fetch to loki_rpc
6 years ago
Beaudan
b09f2970fc
Move NotFoundError to errors.js
6 years ago
Beaudan
929d272fcc
Fixed bugs with http being appended at wrong time and lastHash not being sent properly
6 years ago
Beaudan
531ee92dcb
Updated messenger to work with slightly different storage server API and changed swarm requests to go through storage server
6 years ago
Scott Nonnenberg
74cb808763
New MessageController as the single place for in-memory messages
6 years ago
Scott Nonnenberg
8c4d90df07
Send long text as an attachment instead of inline
...
Remove Android length warning
Handle incoming long message attachments
Show long download pending status in message bubble
Fix the width of the smallest spinner
Remove Android length warning from HTML templates
6 years ago
Beaudan
0b6849c96a
Review comment plus added a todo
6 years ago
Beaudan
6656a89092
Cleaned up a lot of the logs, stop them from printing more than once etc
6 years ago
Scott Nonnenberg
b3ac1373fa
Move left pane entirely to React
6 years ago
Scott Nonnenberg
fbda313d09
Add job details to attachment download log warning
6 years ago
Scott Nonnenberg
ae161c6cf6
Update to Electron 4.x
6 years ago
Scott Nonnenberg
ae2db9f09a
Improve handling for URLs composed of mixed character sets
6 years ago
Beaudan Campbell-Brown
8e3542b511
Merge pull request #213 from sachaaaaa/channel_encryption
...
Hook up channel encryption
6 years ago
Beaudan
8c20a31dd4
Review suggestions
6 years ago
sachaaaaa
53b0574a1f
Merge branch 'development' into channel_encryption
...
* development:
Manually set the dns servers for windows
Refactor local_loki_server
Refactor rpc calls to its own function.
# Conflicts:
# js/modules/loki_message_api.js
6 years ago
sachaaaaa
55e0ff1a88
Merge pull request #208 from Mikunj/message-api-refactor
...
Refactor rpc call to its own function.
6 years ago
sachaaaaa
ad5efc9ba3
lint
6 years ago
sachaaaaa
aa722590fa
use channel encryption with storage server
6 years ago
Beaudan
72d00e0922
Manually set the dns servers for windows
6 years ago
Mikunj
4a037387e9
Refactor rpc calls to its own function.
6 years ago
Mikunj
06be1da40d
Added p2p message styling
6 years ago
Beaudan
c0a6ba25bc
Update p2p messages to follow the same endpoint format as storage server. Clean up message_api a lil bit and updated tests
6 years ago
Beaudan
08dee14802
Review comment
6 years ago
Scott Nonnenberg
3917ab940e
web_api: Fix caching of https.agent objects between requests
6 years ago
Scott Nonnenberg
3fb6ab295f
Debug log optimizations and improvements
6 years ago
Scott Nonnenberg
d4eacda649
Disable import/export outside of test mode; not currently used
6 years ago
Beaudan
0516e69ff7
Fix tests
6 years ago
Beaudan
dc67aaf9cc
Roll back change to ping more often again, ping our offline contacts every 2 mins to check if they have come back online
6 years ago
Beaudan
29bca71d5a
Try ping contacts that send us storage server messages in the last 2 mins
6 years ago
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