Commit graph

189 commits

Author SHA1 Message Date
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
Matthew Chen ddbd20e706 Sync local profile key after rotating it. 2018-10-18 15:59:43 -04:00
Matthew Chen 0add39c2a8 Respond to CR. 2018-10-16 17:45:31 -04:00
Matthew Chen 275414cbda Respond to CR. 2018-10-16 17:42:54 -04:00
Matthew Chen 7c1f1882d8 Sync "show UD indicators" setting. 2018-10-16 17:42:54 -04:00
Matthew Chen 603e3bf0b6 Move SM singletons to Environment. 2018-10-15 11:34:42 -04:00
Matthew Chen 8fdf6009f9 Sync contacts after rotating profile key. 2018-10-12 17:19:00 -04:00
Matthew Chen 0125535d4d Pull out SignalCoreKit. 2018-10-01 09:06:40 -04:00
Matthew Chen e1db60c1c0 Rework creation of singletons. 2018-09-19 15:11:26 -04:00