Commit graph

197 commits

Author SHA1 Message Date
nielsandriesse
657d615873 Fix unnecessarily throwing function 2020-11-04 11:46:30 +11:00
nielsandriesse
79b0ff7da7 Add utility for handling display names 2020-09-15 09:48:20 +10:00
nielsandriesse
9de2cc210d Implement syncing 2020-07-07 10:08:43 +10:00
nielsandriesse
80dcca627a Implement polling, encryption & decryption 2020-06-30 11:40:02 +10:00
nielsandriesse
e023bb50c2 Implement remaining protocol changes 2020-06-16 16:33:14 +10:00
nielsandriesse
4f3544c1fc Integrate transaction handling utility part 3 2020-06-11 13:25:48 +10:00
nielsandriesse
eab26c504c Fix build 2020-06-05 13:43:06 +10:00
nielsandriesse
74bbe067d8 Update Pods 2020-06-05 10:38:44 +10:00
nielsandriesse
0a3b1a20cd Fix closed group session establishment issue 2020-05-06 10:20:29 +10:00
nielsandriesse
a13b330f94 Separate out Session sync message sending logic 2020-04-24 11:16:55 +10:00
nielsandriesse
8672577a8b Clean 2020-04-20 16:53:40 +10:00
gmbnt
16a06f7535 Update for Swift 5.2 2020-03-27 10:38:35 +11:00
Niels Andriesse
1a77ba51cf Move file 2020-02-28 10:18:55 +07:00
Ryan ZHAO
b990420c6f Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-open-group 2020-02-28 14:05:36 +11:00
Niels Andriesse
3479fc4333 Reduce code duplication 2020-02-28 09:58:45 +07:00
Ryan ZHAO
b013c417c3 enable sending sync open group messages 2020-02-25 15:42:38 +11:00
Ryan ZHAO
9afd838ea5 fix the sync message bug after refactoring 2020-02-25 10:34:59 +11:00
Ryan ZHAO
dfa238a287 wip: fix sync message 2020-02-24 11:52:54 +11:00
Ryan ZHAO
5c3c00243c send sync messages with 2 contacts and 1 group each time 2020-02-21 15:11:07 +11:00
Ryan ZHAO
b206f2944e Merge branch 'dev' of https://github.com/loki-project/loki-messenger-ios into sync-closed-group 2020-02-17 17:08:55 +11:00
Niels Andriesse
59b3491127 Quick fix crash 2020-02-17 16:46:13 +11:00
Ryan ZHAO
ecf02bbb3e fix sending contact sync messages 2020-02-14 11:37:14 +11:00
Ryan ZHAO
1a156c604a enable to send the group sync message 2020-02-12 16:31:37 +11:00
Niels Andriesse
a591adb8f7 Merge branch 'dev' into session-restore 2020-01-24 10:58:41 +11:00
Niels Andriesse
3eaf287660 Clean up share screen 2020-01-20 13:20:27 +11:00
Mikunj
1a684aa470 Reset session upon receiving a friend request from a contact we are friends with. 2019-12-10 09:27:34 +11:00
Niels Andriesse
ad52e854e4 Debug contact syncing 2019-11-27 15:22:39 +11:00
Niels Andriesse
cc73937856 WIP 2019-11-11 15:52:17 +11:00
Niels Andriesse
d9a728922f Ditch public key part of display name 2019-05-28 13:10:11 +10:00
Niels Andriesse
3bd3341e64 Clean 2019-05-06 11:01:21 +10:00
Niels Andriesse
ef680a1cc2 Don't ask for contacts 2019-05-06 10:06:24 +10:00
Matthew Chen
77396e11fd Send sync messages with link previews preference. 2019-01-29 16:27:39 -05:00
Matthew Chen
ccb174120f Tweak conversation input toolbar layout. 2019-01-28 14:44:50 -05:00
Michael Kirk
0fb6dab020 avoid blocking write connection with long running read when building sync message 2019-01-17 09:55:51 -07:00
Michael Kirk
df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
2018-12-20 09:54:08 -07:00
Matthew Chen
dcaaff7eac Add isRegisteredAndReady to TSAccountManager. 2018-11-27 09:21:44 -05:00
Matthew Chen
8110e0c765 Clean up usage of TSAccountManager. 2018-11-27 09:21:44 -05:00
Matthew Chen
544bdbd7f5 Fix edge cases around registration. 2018-11-26 09:58:59 -05:00
Michael Kirk
18766280f6 fix crash when non-registered user upgrades 2018-11-23 11:38:51 -06:00
Matthew Chen
1c7add2b8f Respond to CR. 2018-11-05 09:16:17 -05:00
Matthew Chen
39c820b866 Distinguish 'app will/did become ready' events. 2018-11-05 09:04:57 -05:00
Matthew Chen
eb2e16872e Distinguish 'app will/did become ready' events. 2018-11-05 09:04:57 -05:00
Matthew Chen
a5ebe394d1 Include typing indicators in configuration sync messages; emit when that value changes. 2018-11-01 15:22:53 -04:00
Matthew Chen
40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 2018-10-31 11:42:41 -04:00
Matthew Chen
70f274598c Avoid deadlocks in contact manager. 2018-10-26 14:19:04 -04:00
Matthew Chen
f26241ebd0 Avoid deadlocks in contact manager. 2018-10-26 14:10:58 -04:00
Michael Kirk
3560f3be5c Durable send operation
TODO
-[x] respect order of queue
-[x] replacements
  -[x] those w/o completion handler
  -[x] basic send+log operation persists
  -[x] send+ui completion
  -[x] share extension
  -[x] update state jobs
-[x] App Lifecyle
  -[x] settable
  -[x] Mark as ready on startup
  -[x] Fail appropriate jobs on startup

NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
  -[x] retry failed jobs on startup?
  -[ ] reachability

DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
2018-10-25 11:54:59 -06:00
Matthew Chen
99d0495ec7 Respond to CR. 2018-10-18 16:58:02 -04:00
Matthew Chen
bbcbbafaab Sync local profile key after rotating it. 2018-10-18 16:47:18 -04:00
Matthew Chen
693b3e13a9 Revert "Sync local profile key after rotating it."
This reverts commit ddbd20e706.
2018-10-18 16:00:48 -04:00