Commit Graph

3542 Commits

Author SHA1 Message Date
nielsandriesse
373dfc264f Fix AFRs 2020-05-21 16:48:10 +10:00
nielsandriesse
45985f4f64 Ignore synced ephemeral messages & fix expiration updating bug 2020-05-21 16:08:48 +10:00
nielsandriesse
bb67801c85 Clean 2020-05-21 14:58:47 +10:00
nielsandriesse
ceaee33d28 Fix self syncing 2020-05-21 14:29:51 +10:00
nielsandriesse
7588981f10 Debug 2020-05-21 11:24:09 +10:00
nielsandriesse
e2ca40952e Partially fix note to self 2020-05-21 11:00:54 +10:00
nielsandriesse
45706b8e66 Fix device linking 2020-05-20 15:44:21 +10:00
nielsandriesse
e6e5cb5adb Clean 2020-05-19 16:26:11 +10:00
nielsandriesse
7b143fa7e9 Re-enable previously problematic code 2020-05-19 14:42:09 +10:00
nielsandriesse
92bf59b5a0 Fix duplicate message handling 2020-05-19 14:21:29 +10:00
nielsandriesse
a907d78916 Improve logging 2020-05-19 13:59:19 +10:00
nielsandriesse
5cb98d8fc3 Refactor & temporarily disable problematic code 2020-05-19 13:57:47 +10:00
nielsandriesse
40200fe5e1 Only show GIF metadata warning once 2020-05-19 09:21:39 +10:00
nielsandriesse
d4f6178700 Clean 2020-05-15 15:44:45 +10:00
nielsandriesse
eecfd82780 Fix multi device message routing bug 2020-05-15 10:25:18 +10:00
nielsandriesse
9f4fcec98f Fix session request handling bug 2020-05-15 09:24:08 +10:00
nielsandriesse
4aafba218c Debug 2020-05-14 14:51:34 +10:00
nielsandriesse
f29f775cf9 Implement AFR sending 2020-05-14 14:24:05 +10:00
nielsandriesse
7a351592a4 Fix build 2020-05-14 14:11:34 +10:00
nielsandriesse
e668341e38 Glue some things together again 2020-05-14 13:52:20 +10:00
nielsandriesse
27b5a93161 Glue some things together again 2020-05-14 12:11:42 +10:00
nielsandriesse
281d921849 Clean 2020-05-14 11:44:33 +10:00
nielsandriesse
e5b1174879 Add missing friend request protocol logic 2020-05-14 11:27:17 +10:00
nielsandriesse
3c328b3c84 Add missing friend request protocol logic 2020-05-14 11:19:20 +10:00
nielsandriesse
42346cf54b Refactor ConversationActivity 2020-05-14 10:44:13 +10:00
nielsandriesse
52926584b5 Add missing sync message handling 2020-05-14 10:11:55 +10:00
nielsandriesse
deb2fff0ae Refactor ApplicationContext 2020-05-14 09:35:34 +10:00
nielsandriesse
1eedd38861 Glue some things together again 2020-05-13 16:39:14 +10:00
nielsandriesse
6205b6c9f6 Refactor PushDecryptJob 2020-05-13 16:34:08 +10:00
nielsandriesse
afe049c9c3 Clean 2020-05-13 11:16:04 +10:00
nielsandriesse
d0742cf09f Refactor multi device message sending 2020-05-13 11:15:17 +10:00
nielsandriesse
eb5b8886d4 Refactor MessageSender 2020-05-13 10:24:20 +10:00
nielsandriesse
819f414446 Clean & debug 2020-05-13 09:07:51 +10:00
nielsandriesse
9b4a219b06 Clean GroupManager 2020-05-12 16:33:04 +10:00
nielsandriesse
04e14dd5dd Refactor GroupMessageProcessor 2020-05-12 16:28:35 +10:00
nielsandriesse
439bdac7f4 Refactor MultiDeviceContactUpdateJob 2020-05-12 15:50:29 +10:00
nielsandriesse
10865adba8 Refactor PushGroupSendJob 2020-05-12 15:29:00 +10:00
nielsandriesse
03f2c76344 Refactor PushMediaSendJob 2020-05-12 14:57:48 +10:00
nielsandriesse
361083f790 Refactor PushTextSendJob 2020-05-12 14:47:40 +10:00
nielsandriesse
32ae74c442 Re-order files 2020-05-12 11:46:11 +10:00
nielsandriesse
0a5d12cbc3 Debug 2020-05-12 11:32:00 +10:00
nielsandriesse
b9d8d100d9 Refactor 2020-05-12 11:26:44 +10:00
nielsandriesse
8e53383ab9 Clean 2020-05-12 10:46:58 +10:00
nielsandriesse
ed2ab2d78a Refactor 2020-05-11 16:19:26 +10:00
nielsandriesse
410bb9df43 Update for core changes 2020-05-11 08:43:54 +10:00
nielsandriesse
8d50998ea1 Partially update for core changes 2020-05-07 17:59:41 +10:00
Niels Andriesse
f164508673
Merge branch 'dev' into share 2020-05-06 11:44:38 +10:00
nielsandriesse
4599407b3a Clean 2020-05-06 11:43:04 +10:00
nielsandriesse
2af186a8bf Fix copy 2020-04-22 12:12:13 +10:00
nielsandriesse
7abf8f033d Reduce FCM token re-upload interval 2020-04-21 12:21:07 +10:00
nielsandriesse
af80d066d3 Fix new conversation button quick tap issue 2020-04-20 13:52:14 +10:00
nielsandriesse
dda578bef8 Ditch RSS feeds for now 2020-04-20 11:54:56 +10:00
nielsandriesse
0e95c8cec3 Clean 2020-04-17 16:12:29 +10:00
nielsandriesse
669e8b9f6b Fix FCM token updating bug 2020-04-17 13:26:11 +10:00
nielsandriesse
9f1809abf4 Clean 2020-04-17 12:21:01 +10:00
nielsandriesse
0a3dbc55a8 Integrate push notifications 2020-04-17 12:11:27 +10:00
Niels Andriesse
e68c2d1cfe
Merge pull request #174 from loki-project/push-notifications
Improved Push Notifications Stage 2
2020-04-16 16:58:15 +10:00
nielsandriesse
84c783fae1 Minor refactoring 2020-04-16 16:56:12 +10:00
nielsandriesse
6d4398e740 Implement PN mode bottom sheet UI 2020-04-16 15:18:11 +10:00
nielsandriesse
c09032900f Implement PN mode screen UI 2020-04-16 14:49:23 +10:00
Mikunj
42d74208ff Refactor 2020-04-15 16:38:53 +10:00
ryanzhao
1183b76ef5 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-android into remote-push-notification 2020-04-15 15:04:08 +10:00
ryanzhao
8ea2fe0294 add update token guard and move acknowledgement to signal service 2020-04-15 15:03:57 +10:00
Niels Andriesse
0b565588d8
Merge pull request #167 from loki-project/closed-group-fixes
Closed Group Fixes
2020-04-15 15:02:06 +10:00
nielsandriesse
6ed3a4c372 Add FIXME 2020-04-15 15:01:02 +10:00
Mikunj
dd9b134dab Updated UserView 2020-04-15 13:06:10 +10:00
Mikunj
361dab24d6 Replaced signal ContactSelection things with loki ones.
Fixed sharing in session (we can only share to one user at a time).
2020-04-15 12:52:23 +10:00
ryanzhao
18ce4433d2 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-android into remote-push-notification 2020-04-15 10:24:55 +10:00
ryanzhao
b72048d9a4 add FCM to app for remote push notification 2020-04-15 10:24:30 +10:00
Mikunj
7b8fbcea4e Added ContactUtilities. 2020-04-14 16:31:31 +10:00
Niels Andriesse
11b5c78e3e
Merge pull request #168 from loki-project/onion-requests
Onion Requests
2020-04-14 11:43:00 +10:00
Mikunj
7d9eafe8fb Ignore closed group messages from users who are not members. 2020-04-09 15:30:29 +10:00
Mikunj
45220bfa70 Hide input when group is marked as not active.
Fix bug where input panel gets shown when you long press a message.
2020-04-09 15:01:26 +10:00
nielsandriesse
be688d8095 Update for core changes 2020-04-09 14:45:13 +10:00
nielsandriesse
a6bfd14285 Update for core changes 2020-04-09 13:38:15 +10:00
Mikunj
f149065a30 Fix GroupDescriptions updating dynamically.
This shouldn't happen, rather it should have the snapshot of the group state per message.
2020-04-09 13:17:00 +10:00
Mikunj
4a36ed333d Disable chat if we were removed from the group. 2020-04-09 10:47:18 +10:00
Mikunj
3ec5974210 Correctly display when user was kicked or added 2020-04-09 10:35:08 +10:00
Audric Ackermann
407f6aa3a5
trigger register on press enter 2020-04-09 09:32:35 +10:00
gmbnt
1f6ea3b55c Maintain consistent code style 2020-04-06 14:34:19 +10:00
Mikunj
52060ac9fd Fix avatar and names on Note to self 2020-04-01 14:16:31 +11:00
gmbnt
824bdc6089 Maintain consistent code style 2020-03-27 10:35:44 +11:00
gmbnt
a3d416daa0 Make multi device instructions clearer 2020-03-25 11:36:53 +11:00
gmbnt
16f207b785 Ditch long polling 2020-03-24 13:48:23 +11:00
gmbnt
6246fea83b Further improve threading 2020-03-24 11:31:01 +11:00
gmbnt
94549724a9 Fix Signal UI coming up in some cases 2020-03-23 10:49:25 +11:00
gmbnt
2357642627 Update for core changes 2020-03-20 13:08:12 +11:00
gmbnt
f8e5bc7ec2 Prevent spam 2020-03-19 14:18:00 +11:00
gmbnt
56d1820356 Notify user of unexpected device link requests 2020-03-19 13:45:55 +11:00
gmbnt
169b566244 Clean 2020-03-17 12:13:12 +11:00
gmbnt
949bfefd81 Clean 2020-03-17 11:43:12 +11:00
gmbnt
8eca046acb Hack around message status bar bug 2020-03-17 11:02:05 +11:00
gmbnt
e4ab8b87f7 Merge branch 'master' of github.com:loki-project/loki-messenger-android 2020-03-16 16:29:38 +11:00
gmbnt
11237d2009
Merge pull request #138 from loki-project/ui
Various UI Improvements
2020-03-16 15:35:56 +11:00
gmbnt
cae76a2f66 Add home screen gradient 2020-03-16 15:35:14 +11:00
gmbnt
f94bf6301b Allow user to tap as well 2020-03-16 15:05:01 +11:00
gmbnt
83feb26225 Fix clipping 2020-03-16 15:05:01 +11:00
Niels Andriesse
f6a8cd93da Implement new conversation button redesign 2020-03-16 15:04:29 +11:00
Niels Andriesse
e129999d66 Add comment 2020-03-13 14:26:54 +11:00
Mikunj Varsani
8079b5da51 Clean 2020-03-13 13:49:39 +11:00
Mikunj Varsani
a256f59231 Fix potential crash caused by getting a Recipient asynchronously. 2020-03-13 11:14:43 +11:00
Mikunj Varsani
449a53ea32 Fix QR code handler not running on UI thread 2020-03-13 10:56:25 +11:00
Mikunj Varsani
983b137cd6 Handle IndexOutOfBoundsError on QR Code scanning 2020-03-13 10:49:36 +11:00
Mikunj Varsani
a30d90ed29 Fix joining public chat crashing. 2020-03-13 10:24:50 +11:00
Mikunj Varsani
e484a95fcb Remove DirectoryRefresh.
This was causing crashes on some devices and it's used for accessing contacts on a device which we don't need.
2020-03-13 09:46:28 +11:00
Niels Andriesse
f96eebde20 Rename variables 2020-03-12 16:03:21 +11:00
Mikunj Varsani
49be17b969 Fix reply showing up in RSS feed notifications. 2020-03-12 12:05:08 +11:00
Niels Andriesse
8ff4688de1 Handle new closed group screen empty state 2020-03-12 11:16:07 +11:00
Mikunj Varsani
152ddf013b Clean up. 2020-03-12 10:49:35 +11:00
Niels Andriesse
c4d302e3ac Fix group conversation layout 2020-03-12 10:49:17 +11:00
Mikunj Varsani
996f233d25 Enable quick reply 2020-03-12 10:42:08 +11:00
Mikunj Varsani
d694cfa68a Differentiate Signal actions from Signal actions 2020-03-12 09:52:42 +11:00
Mikunj Varsani
34ef29a645 Remove account authenticator.
Remove unused listeners.
2020-03-12 09:23:39 +11:00
Niels Andriesse
32193e4efd Increase background polling interval 2020-03-10 16:44:08 +11:00
capturethefire
148b363393 Update privacy policy links
Fixes loki-project/session-android#131
2020-03-08 22:01:34 +01:00
gmbnt
0c194301bc
Merge pull request #127 from loki-project/error-reporting
Improved Error Reporting
2020-03-06 10:34:57 +11:00
Niels Andriesse
5a6b65e188 Clean 2020-03-06 10:34:10 +11:00
Niels Andriesse
a272677fba Clean 2020-03-05 16:22:45 +11:00
Niels Andriesse
8c6b60aa08 Clean & handle media message errors 2020-03-05 16:14:14 +11:00
Niels Andriesse
a20ccd659a Clean 2020-03-05 14:24:10 +11:00
Niels Andriesse
44fd72dfac Merge branch 'dev' into version 2020-03-05 14:15:05 +11:00
Niels Andriesse
652201958a Propagate Loki API related errors 2020-03-05 14:07:42 +11:00
Niels Andriesse
eb77b7d56b Remove unneeded code 2020-03-05 09:30:55 +11:00
Niels Andriesse
4dd882ea52 Remove unneeded code 2020-03-05 09:27:39 +11:00
Ryan ZHAO
2fdd9bfe3e fix syncing contacts and closed groups after device linking 2020-03-03 14:29:40 +11:00
Niels Andriesse
597b7f157c Move file 2020-02-28 09:04:57 +07:00
Niels Andriesse
fb9567a61b Merge branch 'dev' into open-group-syncing 2020-02-28 08:56:37 +07:00
Mikunj
3cdaf80c5d Removed all references to google play and firebase.
Removed phone number utils.
 Slowly remove signal code.
2020-02-28 09:07:01 +11:00
gmbnt
19356bf969
Merge pull request #116 from loki-project/threading-fix
Fix device linking blocking the main promise thread.
2020-02-27 19:38:40 +07:00
Mikunj
a57bf0cd98 Remove un-used permissions. 2020-02-27 15:44:57 +11:00
Mikunj
dd0b9c80b0 Fix device linking blocking the main promise thread. 2020-02-26 16:56:07 +11:00
Mikunj
85b2379510 Fix race condition that occurs on device link authorisation.
Upon authorisation, we upload our mapping to the server.
At the same time we also get a contact sync message and send out background friend request messages.
There was a race condition between those 2 functions where to correctly establish multi-device communication, you need your mapping on the server so that the other party knows that it's a secondary device and not a regular user.
2020-02-26 11:53:28 +11:00
Mikunj
efef42a6f6 Added version string at the bottom of settings. 2020-02-25 14:04:15 +11:00
Mikunj
7b267ee8b7 Fix isSignalGroup boolean check.
Set thread deletion delay to 1s for private chats and open groups.
2020-02-25 13:11:06 +11:00
Mikunj
55523b3baf Added open group syncing.
Refactor open group adding code.
2020-02-25 12:46:23 +11:00
Niels Andriesse
b9307d4cb9 Untie profile picture from auth token 2020-02-24 10:57:51 +07:00
Niels Andriesse
704c15cd24 Enforce style convention 2020-02-21 11:35:53 +07:00
Niels Andriesse
f46354392c Merge branch 'dev' into group-leaving 2020-02-21 11:22:24 +07:00
Niels Andriesse
5b822f83c9 Enforce style convention 2020-02-21 11:19:20 +07:00
Mikunj
1ce7050f1a Leave group on swiping 2020-02-19 16:19:16 +11:00
Mikunj
3a0c518eeb Don't fetch device links at startup 2020-02-18 14:00:05 +11:00
Mikunj
70bd9350b8 Ensure generated PreKeyBundle is valid 2020-02-18 12:28:49 +11:00
Mikunj
7f51baadd4 Sync groups upon linking device. 2020-02-18 09:19:52 +11:00
Niels Andriesse
526e82a9e3 Clean up naming & indentation 2020-02-16 09:30:05 +11:00
Mikunj
3bbcbc8873 Updated to follow LokiSessionResetProtocol.
Refactor some code to be less confusing.
2020-02-14 13:34:35 +11:00
Niels Andriesse
bcc219bd1f Debug 2020-02-13 16:05:40 +11:00
Niels Andriesse
b9dd42beb1 Make unlinking & open group joining more robust 2020-02-13 15:33:54 +11:00
Niels Andriesse
07b1ffa77e Refactor multi device 2020-02-13 14:39:29 +11:00
Niels Andriesse
9c71a4c3cd Simplify PushDecryptJob a bit 2020-02-13 10:18:05 +11:00
Niels Andriesse
27fdfe4ee8 Trim unused files 2020-02-13 09:28:19 +11:00