Beaudan
65a09d12b6
Make sure we try a different seed node every time
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
87c5d0858c
Choose a random seed node from a list for bootstrapping
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
676cebdce4
Fix async
6 years ago
sachaaaaa
37e95cf7d2
remove unnecessary await
6 years ago
sachaaaaa
c53633e367
Clearnet p2p with https (no verification yet)
6 years ago
Beaudan
eb1fa97c9c
Make use of ip consistent for random snode pool and swarm list
6 years ago
Beaudan
ee260f7de0
Fix silly filtering bug, add filtering for swarm nodes and lint
6 years ago
Beaudan
96f7949ac8
Update endpoint for storage server and p2p
6 years ago
Beaudan Campbell-Brown
436af1a990
Merge pull request #313 from BeaudanBrown/random-list
...
Random list
6 years ago
Beaudan
c5c01b0ac8
Purge retrieving snodes
6 years ago
Beaudan
d82b5e1998
Remove random snodes if they fail and then try again. Throw seed node error if getRandomSnodeAddress fails. Filter out 0.0.0.0 nodes.
6 years ago
Beaudan
923d7ffe27
Change to get_n_service_nodes method
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 Campbell-Brown
4330e48185
Merge pull request #307 from BeaudanBrown/fix-self-note
...
Fix not to self
6 years ago
Beaudan
e1d2484797
Can't update conversation that hasn't been created yet
6 years ago
Beaudan
ab15a4afd6
Review moving status setting to conversation init
6 years ago
Beaudan
3bb9d888dc
Initialise conversation with ourselves as friends and don't allow it to be changed to anything else
6 years ago
Beaudan
94b125f2cf
Consider friend requests that are still being sent as sent
6 years ago
Beaudan
ca31649207
Trial value wasn't being initialised big enough for very low difficulty, also development should not have been there but I don't think it was doing anything
6 years ago
Beaudan
0948a344d2
Review refactor
6 years ago
Beaudan
d5546b9473
Lint
6 years ago
Beaudan
b6b0248e9d
Retrieve from seed
6 years ago
Beaudan
1f74088586
Send to IP
6 years ago
Beaudan
6b2b9ce926
Remove default port and use port from storage server responses
6 years ago
Beaudan
eea2b8e6a7
Do port null check inside rpc call
6 years ago
Beaudan
52c191fc94
Merge branch 'development' into clearnet
6 years ago
sachaaaaa
9d6c5bff36
make unverified https queries to the snodes
6 years ago
Beaudan
7141847dfb
Restart sendMessage logic if PoW changed an dfix NaN bug
6 years ago
Beaudan
f01d8088b7
Remove development PoW
6 years ago
Beaudan
dad52a784d
Change wrong pow http response
6 years ago
Beaudan
dbcaaf98dc
Lint
6 years ago
Beaudan
c27d1ef69a
Clean some stuff in loki_rpc and get new difficulty from successful requests
6 years ago
Beaudan
e520bf109a
Persist PoW difficulty and update if get response from snodes
6 years ago
Beaudan Campbell-Brown
e9b1359bab
Merge pull request #295 from BeaudanBrown/refactor-sendmessage
...
Refactor sendmessage
6 years ago
Beaudan
18a87d5463
Review changes
6 years ago
Beaudan Campbell-Brown
fd6f6c6a8c
Merge pull request #290 from Mikunj/loki-profile
...
Convert profile field in DataMessage to use LokiProfile
6 years ago
Beaudan
c02d5d4053
Lint
6 years ago
Beaudan
709db4bf54
Make sendMessage take options, remove redundant retrieve function and get constant
6 years ago
Beaudan
b43978ece1
Initial refactoring of sendmessage
6 years ago
Beaudan Campbell-Brown
1e11a6527c
Merge pull request #289 from Mikunj/p2p-ping
...
Updated pinging logic.
6 years ago
Beaudan Campbell-Brown
50c7da4432
Merge pull request #280 from Mikunj/fix-friend-request-logic
...
Fix friend request logic.
6 years ago
Mikunj
2c12c8a1d8
Convert profile field in data message to use LokiProfile instead of signal Contact.
6 years ago
Mikunj
53cbfb1f5c
Merge branch 'development' into fix-friend-request-logic
6 years ago
sachaaaaa
1b1c18b928
Patch from Beau
6 years ago
Mikunj
147861790b
Always send application/json as content type in rpc.
6 years ago
Mikunj
bc6586e5ce
Removed duplicated function.
6 years ago
Mikunj
f77b67d358
Updated tests.
...
Fix some minor logic.
6 years ago
Mikunj
986d34bbd9
linting
6 years ago
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
Mikunj
12cce8fe47
Auto accept friend request messages if we were already friends with the user.
...
Lint fixes for previous files.
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
b8ef6c2cc6
Loki changes
...
Added friends section in search.
This is because contacts is now used in signal for something else and we don't want to clash meanings.
Styling fixes
Add dropdown options into mainheader
Updated styling
Restore StartNewConversation to the old ui style of loki messenger.
Fix friend search display.
Fix header expand animation.
Hooked up menu actions.
Linting.
More styling changes.
Fix tests.
Added back in the loki logo below the gutter.
Fix toast positioning.
Fix context menu showing incorrectly on virtual lists.
Added tabs.
Linting
6 years ago
Mikunj
61b862b021
Merge signal 1.24.1
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
3152f92e30
Merge signal 1.23.2
...
# Conflicts:
# app/sql.js
# js/conversation_controller.js
# package.json
6 years ago
Mikunj
3a8111020e
Merge v1.23.0
...
# Conflicts:
# background.html
# package.json
# yarn.lock
6 years ago
Scott Nonnenberg
ef670bec3f
Ensure that we have all conversations in redux store
6 years ago
Mikunj
7387e88c97
Add showing friends in search.
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
Scott Nonnenberg
fca40cb548
Disable keyboard shortcut for conversation archive
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
57195017f9
Linting
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 Campbell-Brown
cab389fe2e
Merge pull request #267 from BeaudanBrown/move-filtering
...
Persistent last hash
6 years ago
Scott Nonnenberg
b31fbcaa17
Don't send if message body is too long
6 years ago
Beaudan Campbell-Brown
6a290f4918
Merge pull request #266 from Mikunj/fixes
...
UI Fixes
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
Mikunj
40ab727b12
Linting
6 years ago
Mikunj
b2ecb87462
Review fixes
6 years ago
Scott Nonnenberg
22f7a352f9
updateLastMessage: If we don't update last text, clear it
6 years ago
Mikunj
c7130a3bbb
Added password confirmation dialog before showing seeds.
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
Scott Nonnenberg
62de2a229d
Add logging to track synchronization in message processing
6 years ago
Derek Meer
7727dc093e
Hides the "Hide menu bar" option on MacOS ( #2903 )
...
The "Hide menu bar" option is only applicable to Windows and some Linux distros,
where the menu bar is attached to the Signal window. Therefore, this commit
ensures that it doesn't show up on MacOS. It includes a setting,
isHideMenuBarSupported(), to control the option's appearance. This
commit also includes the tests to make sure isHideMenuBarSupported()
works correctly.
Fixes #2705
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