Niels Andriesse
20472c8bed
Fix minor code style issues
2019-05-22 14:29:59 +10:00
Niels Andriesse
08aac18384
Clean more
2019-05-22 13:09:01 +10:00
Mikunj
5a1272c23b
Merge branch 'dev' into p2p
2019-05-22 12:42:00 +10:00
Mikunj
fc702e2420
Merge commit 'e5463e545ac6be6c13b9d3cf65d9105ad475b4dc' into p2p
2019-05-22 12:06:30 +10:00
Niels Andriesse
adcb469b53
Integrate swarm changes into message receiving code
2019-05-22 12:06:02 +10:00
Mikunj
2ae665f682
Bind to a random port if the default one is taken.
2019-05-22 11:52:32 +10:00
Mikunj
865bb1932f
Added LokiP2PMessageHandler.
...
Moved wrapping and unwrapping of proto envelopes to LokiMessageWrapper.
2019-05-22 11:31:07 +10:00
Mikunj
748b7eff12
Start p2p server on app start.
...
Handle more cases in the p2p server.
2019-05-22 10:34:08 +10:00
Mikunj
a32cdfeb10
Added LokiP2PServer
2019-05-21 16:32:03 +10:00
Niels Andriesse
dc103c7bd6
Refactor
2019-05-21 15:21:51 +10:00
Niels Andriesse
1c73cf5114
Re-order files
2019-05-21 11:40:29 +10:00
Niels Andriesse
1a8175472a
Refactor friend request view & add documentation
2019-05-21 10:30:06 +10:00
Niels Andriesse
5622c08124
Fix crash & clean
2019-05-21 09:09:48 +10:00
Niels Andriesse
740291cceb
Implement message friend request status
...
Untested
2019-05-20 16:36:22 +10:00
Niels Andriesse
4a633fba68
Debug friend request expiration
2019-05-20 14:52:26 +10:00
Niels Andriesse
7b739bddce
Implement expired friend request UI
2019-05-20 12:54:57 +10:00
Niels Andriesse
6adc8cf014
Add isFriendRequestExpired flag
2019-05-20 12:31:21 +10:00
Niels Andriesse
201b8095ee
Merge branch 'master' into message-expiration
2019-05-20 11:42:53 +10:00
Niels Andriesse
7493e037c9
Fix minor code style issues
2019-05-20 11:20:03 +10:00
Mikunj
f1cbc2e0d1
Added friend request message expiration.
2019-05-20 11:18:24 +10:00
Niels Andriesse
81d5adc8c8
Fix threading issue & unnecessary updating
2019-05-20 10:40:39 +10:00
Niels Andriesse
750a25622b
Partially fix remaining UI issues
2019-05-17 16:36:24 +10:00
Niels Andriesse
2e8d62b3ee
Fix friend request acceptance bug
2019-05-17 14:03:04 +10:00
Niels Andriesse
64f92d261b
Refactor
2019-05-17 13:37:36 +10:00
Niels Andriesse
d5dc54af1b
Partially fix UI updating bug
2019-05-17 12:38:36 +10:00
Niels Andriesse
b4ca385028
Clean
2019-05-17 11:58:46 +10:00
Niels Andriesse
75d52d7b7a
Add missing UI state
2019-05-17 11:55:42 +10:00
Niels Andriesse
ca292169d6
Fix friend request view bug
2019-05-17 11:41:28 +10:00
Mikunj Varsani
c43295eb7c
Loki session reset ( #14 )
...
* Added session reset.
* Hooked up session reset internals to UI.
* Send empty message when we have received an end session message.
* Verify incoming PreKeyWhisperMessage.
* Fix indentations in SessionReset.md
2019-05-17 10:11:06 +10:00
Niels Andriesse
3728638832
Reduce code duplication & fix cell sizing bug
2019-05-16 12:20:56 +10:00
Niels Andriesse
3161680432
Redo friend request handling
2019-05-16 12:08:37 +10:00
Niels Andriesse
49c6611d9d
WIP
2019-05-15 16:48:16 +10:00
Niels Andriesse
c3582f3d06
Update name shown on home screen
2019-05-15 14:52:56 +10:00
Niels Andriesse
3c579548cc
Make pending friend request status more obvious
2019-05-15 11:41:07 +10:00
Niels Andriesse
1fc9ac34a2
Disable input bar as appropriate
2019-05-15 11:29:04 +10:00
Niels Andriesse
cb1e876b7a
Make friend request status updates more reliable
2019-05-15 11:19:33 +10:00
Niels Andriesse
5800222606
Remove unnecessary fetches
2019-05-14 16:37:25 +10:00
Niels Andriesse
4200ce6cbc
Significantly reduce energy usage by eliminating polling overhead
2019-05-14 16:33:10 +10:00
Niels Andriesse
b83766ef74
Clean & fix conversation settings crash
2019-05-14 15:54:39 +10:00
Niels Andriesse
fffb55540b
Mostly hook up friend request status logic
2019-05-14 14:57:58 +10:00
Niels Andriesse
c3fe7fba50
Remove network status indicator from settings
2019-05-14 14:20:04 +10:00
Niels Andriesse
e3e7788219
Disable input if a friend request is pending
2019-05-14 13:39:07 +10:00
Niels Andriesse
d91dc5f045
Fix friend request view bug
2019-05-14 12:54:13 +10:00
Niels Andriesse
da967e6586
Update friend request view for sent state
2019-05-14 11:27:34 +10:00
Niels Andriesse
b215cdd9fd
Measure friend request view height dynamically
2019-05-14 10:28:02 +10:00
Niels Andriesse
635dcef2b2
Fix incoming friend request interaction
2019-05-13 16:40:22 +10:00
Niels Andriesse
dca6aed6ee
Fix message cell sizing issue
2019-05-13 16:21:07 +10:00
Niels Andriesse
3dda1f17e1
Implement incoming friend request UI
2019-05-13 15:21:16 +10:00
Niels Andriesse
0a653e928b
Add share public key button
2019-05-13 12:00:13 +10:00
Niels Andriesse
d95d0671d6
Remove unnecessary local notification generation
2019-05-10 16:47:24 +10:00
Niels Andriesse
4da8d33932
Clean
2019-05-10 13:38:00 +10:00
Niels Andriesse
45a7893bff
Decrease foreground polling time interval
2019-05-10 12:30:29 +10:00
Niels Andriesse
992813ad24
Use UIApplicationBackgroundFetchIntervalMinimum
2019-05-10 12:04:39 +10:00
Niels Andriesse
4aef593d7c
Also poll for messages when the app is in the foreground
2019-05-10 12:02:04 +10:00
Niels Andriesse
2b490b5ad5
Use MessageFetcherJob for message receiving & fix decoding bug
2019-05-10 11:17:09 +10:00
Mikunj
8b1d5ec26d
Add OWSFriendRequestMessage.
...
Re-organised files.
This is just a subclass of TSOutgoingMessage so it will work as any message would.
2019-05-09 12:19:12 +10:00
Niels Andriesse
a8092cbfa3
Fix crash
2019-05-08 16:02:53 +10:00
Niels Andriesse
aeea6f26de
Re-enable notifications
2019-05-08 15:51:08 +10:00
Niels Andriesse
2092df955a
Generate mock notification upon successful message retrieval
2019-05-08 15:19:01 +10:00
Niels Andriesse
a9a9800dd2
Fix duplicate error unwrapping
2019-05-08 14:01:23 +10:00
Mikunj Varsani
a743698386
Hooked up message send success and failure to LokiAPI.
...
Converted objective c functions from callbacks to promise in LokiAPI
2019-05-08 12:37:38 +10:00
Niels Andriesse
3c7b769d20
Fetch messages & ping friends when application becomes active
2019-05-08 11:42:31 +10:00
Niels Andriesse
cc1f41c11b
Implement background fetching skeleton
2019-05-08 11:30:02 +10:00
Niels Andriesse
72cc345734
Hook up new messaging API
2019-05-07 11:56:00 +10:00
Mikunj Varsani
512b71a9d4
Merge branch 'master' into proof-of-work-ui
2019-05-06 17:01:43 +10:00
Niels Andriesse
ee2361b5cc
Hook up Loki messaging API
2019-05-06 16:13:32 +10:00
Mikunj
f8cccd8967
Show spinning cog if we are calculating the proof of work.
2019-05-06 16:12:14 +10:00
Niels Andriesse
4c7e653cef
Hook up public key checking
2019-05-06 13:30:39 +10:00
Niels Andriesse
4ce9228afd
WIP
2019-05-06 11:50:24 +10:00
Niels Andriesse
a91c636dda
Document things more
2019-05-06 11:17:52 +10:00
Niels Andriesse
3bd3341e64
Clean
2019-05-06 11:01:21 +10:00
Niels Andriesse
57084e7e99
Merge branch 'master' of github.com:loki-project/loki-messenger-ios
2019-05-06 10:52:59 +10:00
Niels Andriesse
29ac92e961
Hook up new conversation button
2019-05-06 10:52:39 +10:00
Mikunj
de01731316
Removed LokiKit.
...
Moved all files back into SignalServiceKit.
2019-05-06 10:50:47 +10:00
Niels Andriesse
a284f3deb6
Don't ask for notifications
2019-05-06 10:30:24 +10:00
Niels Andriesse
adddec19ae
Don't auto-capitalize search bar entries
2019-05-06 10:14:40 +10:00
Niels Andriesse
ef680a1cc2
Don't ask for contacts
2019-05-06 10:06:24 +10:00
Niels Andriesse
81dc2077e8
Fix error handling issue
2019-05-06 09:45:52 +10:00
Niels Andriesse
5bbf7d85b2
Add new conversation button
2019-05-03 16:54:38 +10:00
Niels Andriesse
1431efba23
Fix crash
2019-05-03 16:54:28 +10:00
Niels Andriesse
d4fd3af433
Fix Signal bug
2019-05-03 16:26:32 +10:00
Niels Andriesse
9e388e16de
Move files
2019-05-03 12:53:58 +10:00
Mikunj
5e894c1149
Fixes stuff that broke during merge
2019-05-03 11:42:56 +10:00
Mikunj
e45afca912
Merge branch 'mikunj/loki-kit'
2019-05-03 11:29:30 +10:00
Mikunj
c02ae62a8d
Added lokikit
2019-05-03 11:21:47 +10:00
Niels Andriesse
8a605858fd
Clean & suppress warnings for dependencies
2019-05-03 10:10:11 +10:00
Niels Andriesse
aeb3cecf55
WIP
2019-05-03 07:58:48 +10:00
Niels Andriesse
343218d75c
Polish UI
2019-05-01 16:14:39 +10:00
Niels Andriesse
08a1ec77a1
Rename ServiceNode → LokiMessagingAPI
2019-05-01 15:47:58 +10:00
Niels Andriesse
c1e121b271
Create LokiKit
2019-05-01 15:04:46 +10:00
Niels Andriesse
41b6988f50
Clean
2019-05-01 13:58:35 +10:00
Niels Andriesse
2cb1ddbdad
Implement mnemonic based key pair restoration
2019-05-01 13:16:43 +10:00
Niels Andriesse
9c46c9d7be
Implement mnemonic decoding
2019-04-30 17:09:44 +10:00
Niels Andriesse
5eddb9274b
Fix incorrect key pair usage
2019-04-30 15:12:15 +10:00
Niels Andriesse
dc80c17261
Skip onboarding permissions step
2019-04-30 14:35:16 +10:00
Niels Andriesse
011d4e1465
Implement basic snode interaction
2019-04-30 14:27:39 +10:00
Niels Andriesse
9d64b76af6
Clean & fix bad merge
2019-04-30 09:34:14 +10:00
Niels Andriesse
8d0c3b0f97
Add copy button feedback
2019-04-29 16:26:55 +10:00
Niels Andriesse
ca0f58c6b4
[Merge] Mnemonic Copy Button & Protobuf Changes
2019-04-29 14:40:36 +10:00
Niels Andriesse
b64bb79254
Minor refactoring
2019-04-29 14:35:12 +10:00