Commit graph

450 commits

Author SHA1 Message Date
Niels Andriesse
2b490b5ad5 Use MessageFetcherJob for message receiving & fix decoding bug 2019-05-10 11:17:09 +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
a284f3deb6 Don't ask for notifications 2019-05-06 10:30:24 +10:00
Niels Andriesse
aeb3cecf55 WIP 2019-05-03 07:58:48 +10:00
Matthew Chen
987726df6c Temp files. 2019-03-27 12:37:22 -04:00
Matthew Chen
85d58d3396 Improve handling of call intents. 2019-03-21 15:22:47 -04:00
Matthew Chen
882dd16d7c Apply presentAlert() throughout codebase. 2019-03-21 10:55:04 -04:00
Michael Kirk
3be41e8c25 Unless you're on a call, all windows respect the orientation mask of the
primary app visible VC.

Fixes:
- Avoid flicker when forgrounding onboarding while in landscape
- Fix status bar in landscape while fingerprint is portrait, same with device linker
2019-02-26 19:52:09 -07:00
Michael Kirk
5361720b19 log token in debug 2019-02-26 10:09:29 -07:00
Michael Kirk
680b844f3c Allow all windows to do landscape, fixes:
1. Remove undesirable animation from portrait->landscape when minimizizing in
   landscape and relaunching in landscape.

2. This also seems to fix the intermittently misplaced toolbar when launching
   in landscape. I believe this is a consequence of fix #1
2019-02-21 17:38:52 -07:00
Matthew Chen
aa8fd9e69c Remove old registration views. 2019-02-20 17:35:46 -05:00
Matthew Chen
29b49d6f43 Enable new onboarding in production. 2019-02-20 10:25:16 -05:00
Michael Kirk
d26c095fe7 Merge remote-tracking branch 'origin/release/2.36.0' 2019-02-19 12:50:00 -07:00
Matthew Chen
9381220d8f Sketch out CAPTCHA onboarding view. 2019-02-14 09:59:07 -05:00
Matthew Chen
57394f0015 Respond to CR. 2019-02-14 09:23:50 -05:00
Michael Kirk
cb3a36ba3d Platform specific notification clearing 2019-02-12 17:01:06 -07:00
Michael Kirk
a6a7616fdb move notification action handlers to environment 2019-02-01 17:44:14 -07:00
Michael Kirk
fe84275cce Respect audio preferences/throttling 2019-02-01 17:44:13 -07:00
Michael Kirk
1bfe691895 In app notifications for iOS10+
Extract shared notification presention/response

Implement adapters which use that logic for modern UNUserNotification and
legacy UINotifications
2019-02-01 17:44:13 -07:00
Michael Kirk
11afc967d2 move NotificationsManager behind NotificationsAdapter 2019-02-01 17:44:13 -07:00
Matthew Chen
12e57ecd25 Improve background screenshots v. orientation. 2019-01-31 10:14:06 -05:00
Matthew Chen
4be302bbea Update link previews setting behavior. 2019-01-29 16:32:30 -05:00
Matthew Chen
39de96ac26 Re-enable landscape orientation; fix 'double activation' issue. 2019-01-28 11:48:49 -05:00
Matthew Chen
e7b9f7da99 Flush multi-process writes more aggressively. 2019-01-24 17:03:49 -05:00
Matthew Chen
9149282e94 Resize link preview images if necessary. 2019-01-24 13:28:54 -05:00
Matthew Chen
9d020e490c Respond to CR. 2019-01-16 15:24:19 -05:00
Michael Kirk
119f309787 Fixup database conversion vis a vis SQLCipher4 2019-01-14 09:48:49 -05:00
Matthew Chen
2ddde368ec Landscape orientation. 2019-01-09 15:22:55 -05:00
Matthew Chen
7654d05417 Landscape orientation. 2019-01-09 15:20:05 -05:00
Matthew Chen
5adcbac5ef Landscape orientation. 2019-01-09 15:14:36 -05:00
Matthew Chen
3a5de59dcb Try to update account attributes every time we upgrade. 2019-01-07 09:02:39 -05:00
Matthew Chen
ca129bf360 Preheat more UI DB views. 2018-12-13 12:28:18 -05:00
Matthew Chen
5f637f24e9 Preheat UI DB views. 2018-12-13 11:48:24 -05:00
Matthew Chen
f7842dd2aa Rework lazy attachment restore. 2018-12-03 22:06:38 -05:00
Michael Kirk
7aad3a9e7a Avoid spurious crash reporting 2018-11-27 10:47:40 -07:00
Matthew Chen
dcaaff7eac Add isRegisteredAndReady to TSAccountManager. 2018-11-27 09:21:44 -05:00
Matthew Chen
70b2280aa7 Add isRegisteredAndReady to TSAccountManager. 2018-11-27 09:21:44 -05:00
Matthew Chen
d44a8f9996 Sketch out the backup restore view. 2018-11-27 09:21:44 -05:00
Matthew Chen
4ee0958384 Sketch out the backup restore view. 2018-11-27 09:21:44 -05:00
Matthew Chen
dae80ad4c6 Reorganize util code. 2018-11-19 15:52:23 -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
Michael Kirk
19f2d0db48 WIP: Media Landscape Mode 2018-11-01 08:43:59 -06:00
Matthew Chen
40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 2018-10-31 11:42:41 -04:00
Matthew Chen
ed4fa2e8cb Respond to CR. 2018-10-26 14:44:53 -04:00