1243 Commits

Author SHA1 Message Date
jubb
7f95f0f2d6 fix: only one wrapper and proper encoding now 2021-02-22 11:45:52 +11:00
Ryan ZHAO
8c016b3802 clean up signal service protocols 2021-02-22 11:29:22 +11:00
Ryan ZHAO
1db9ccdf27 clean up: signal service protocols 2021-02-22 10:41:27 +11:00
jubb
766266d54d fix: handle group of size 1 being destroyed locally for admin 2021-02-22 10:40:18 +11:00
jubb
c740963fe2 fix: use a when to make logic more readable 2021-02-22 10:34:21 +11:00
Ryan ZHAO
88bbc0b677 clean up stickers 2021-02-22 10:21:06 +11:00
jubb
7e86343efe fix: remove the insert outgoing for local leave after network call, use groupPublicKey if envelope.source is empty in handleEncPair 2021-02-22 10:18:24 +11:00
Ryan ZHAO
19a829d011 WIP: clean up signal protocols (stickers) 2021-02-22 10:06:40 +11:00
Ryan ZHAO
04f140ee09 WIP: clean up signal service protos 2021-02-22 09:31:29 +11:00
jubb
9df35ede14 feat: add sending group's public key with the target user 1 on 1 message for enc key pair 2021-02-19 17:33:23 +11:00
Ryan ZHAO
b34809f4d5 WIP: clean up signal protocol 2021-02-19 16:06:10 +11:00
Ryan ZHAO
8cc78e8f4c WIP: clean up unused exceptions 2021-02-19 15:28:26 +11:00
Ryan ZHAO
d8104c0d5c WIP: clean up signal protocol storage 2021-02-19 15:11:30 +11:00
Niels Andriesse
6bee97a682
Merge pull request #443 from RyanRory/multi_device_refactor
The Refactor: Multi Device & Closed Group
2021-02-19 13:49:06 +11:00
Ryan ZHAO
1e1b3e02e1 clean up session cipher, sealed session cipher, and old message version 2021-02-19 13:36:05 +11:00
jubb
67bf41238e Merge branch 'unwrap_group_tasks' into closed_group_kp_distribution 2021-02-19 12:08:04 +11:00
jubb
8df2a8af01 fix: send new kp to each user individually vs target group 2021-02-19 12:04:19 +11:00
Ryan ZHAO
735cceafdb clean up spam exception logs 2021-02-19 11:11:58 +11:00
Ryan ZHAO
958ec690f1 WIP: clean up signal protocols 2021-02-19 11:03:58 +11:00
Brice-W
dbf7715977 missing translations (Fixes #445 & #446) 2021-02-19 10:05:24 +11:00
Ryan ZHAO
13c2995746 WIP: clean up signal protocol 2021-02-18 17:09:42 +11:00
Ryan ZHAO
1a907fcf54 WIP: clean up signal protocol 2021-02-18 17:05:34 +11:00
Ryan ZHAO
0d2f5e0cde further cleaning on V1 multi device 2021-02-18 15:12:30 +11:00
Ryan ZHAO
8e5e2fdc49 minor fix for closed group message sending 2021-02-18 14:40:26 +11:00
Ryan ZHAO
9d0831b874 remove shared sender keys 2021-02-18 14:14:05 +11:00
jubb
c8f1c862fb refactor: turn inner wrapped group edit calls into synchronous calls to remove unnecessary nesting 2021-02-18 11:56:45 +11:00
Ryan ZHAO
568fddf91d remove ClosedGroupUpdateMessageSendJob in database 2021-02-18 10:59:31 +11:00
Ryan ZHAO
b85c9eb781 Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor_clean_0 2021-02-18 10:48:12 +11:00
Niels Andriesse
f45a285141 Update version number 2021-02-18 10:30:21 +11:00
jubb
6db86eb958 fix: filter jobs that can be executed with the current factories 2021-02-18 10:10:27 +11:00
Ryan ZHAO
c69a8bc15f clean 2021-02-17 16:42:53 +11:00
Ryan ZHAO
20ec889730 clean up V1 closed group 2021-02-17 16:09:36 +11:00
Ryan ZHAO
fde45f755b minor fix 2021-02-17 13:43:56 +11:00
Ryan ZHAO
7a17b5769a clean up V1 multi device 2021-02-17 12:27:00 +11:00
Ryan ZHAO
37cb4cd28c Merge branch 'dev' of https://github.com/loki-project/session-android into refactor_clean_0 2021-02-17 11:53:29 +11:00
nielsandriesse
32902d5bc8 Update build number 2021-02-17 11:39:36 +11:00
nielsandriesse
362e24f98c Fix DB migration 2021-02-17 11:36:56 +11:00
nielsandriesse
d6379c4d58 Update build number 2021-02-17 11:31:20 +11:00
nielsandriesse
7f4603a1ba Fix DB migration 2021-02-17 11:30:37 +11:00
nielsandriesse
f725d903a4 Update version number 2021-02-17 11:09:41 +11:00
nielsandriesse
5226947e0a Fix DB migration 2021-02-17 11:08:57 +11:00
Ryan ZHAO
3285975b1a WIP: clean up V1 multi device 2021-02-17 10:51:02 +11:00
Ryan ZHAO
a61d968771 Merge branch 'dev' of https://github.com/loki-project/session-android into multi_device_refactor 2021-02-17 09:25:51 +11:00
Ryan ZHAO
c5cc191ff3 Merge branch 'dev' of https://github.com/loki-project/session-android into refactor_clean_0 2021-02-17 09:25:07 +11:00
Jubb
1996cc82e2 fix: non-admin self-leave now handled correctly 2021-02-16 17:28:33 +11:00
Ryan ZHAO
75ed938807 Merge branch 'dev' of https://github.com/loki-project/session-android into multi_device_refactor 2021-02-16 15:24:37 +11:00
Ryan ZHAO
b517555a45 timestamp & duplicated message 2021-02-16 15:24:21 +11:00
Ryan ZHAO
e14b5b9f33 minor fix 2021-02-16 11:48:25 +11:00
nielsandriesse
add7150d83 Update version number 2021-02-16 11:34:43 +11:00
Ryan ZHAO
c6084b0172 replace group create at timestamp with formation timestamp 2021-02-16 11:14:27 +11:00
Ryan ZHAO
f7463caf10 clean 2021-02-16 10:37:48 +11:00
Ryan ZHAO
a7764ed5c9 Merge branch 'testing_multi_merge' of https://github.com/hjubb/session-android into multi_device_refactor 2021-02-16 09:26:55 +11:00
Jubb
9f60a3ca36 fix: other users treated as quit 2021-02-15 17:42:31 +11:00
Jubb
9ccfb4702d fix: self leave group is treated as QUIT instead of UPDATE 2021-02-15 17:41:10 +11:00
Jubb
a63fce4ca6 fix: self-send messages now send to yourself only and aren't treated as sync messages 2021-02-15 17:35:56 +11:00
Jubb
a44a79e59f fix: messages now filter properly for explicit group update messages 2021-02-15 16:38:50 +11:00
Jubb
8476e090e2 fix: handle pendingKeyPair.getOrElse nullable after checking if key exists 2021-02-15 12:08:08 +11:00
Jubb
93f7d428cb fix: add in the encryption key send from current / pending for groupID in handleMembersAdded if admin and change pendingKeyPair implementation to keyed on groupPublicKey 2021-02-15 12:05:04 +11:00
jubb
83d107cbce fix: compare serialized to serialized 2021-02-12 14:28:25 +11:00
jubb
2a50a09614 feat: share pending key pair between generate EC and add members 2021-02-12 14:16:06 +11:00
jubb
b6951f09b4 feat: use cached keypair 2021-02-11 18:58:38 +11:00
jubb
6a8e0ae195 feat: use new explicit groups 2021-02-11 16:34:01 +11:00
Ryan ZHAO
5dadb89225 WIP: received message timestamps 2021-02-11 16:09:59 +11:00
Ryan ZHAO
5cbbf92fb9 sync target of multi device for refactored sending & receiving pipeline 2021-02-11 15:00:27 +11:00
jubb
05fef11889 fix: non-compatible handle messages requiring timestamp 2021-02-11 14:20:12 +11:00
jubb
5a892b2932 Merge remote-tracking branch 'origin/add_sync_target' into testing_multi_merge
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/notifications/SingleRecipientNotificationBuilder.java
#	libsignal/src/main/java/org/session/libsignal/service/api/SignalServiceMessageSender.java
2021-02-11 14:12:22 +11:00
jubb
34fab9681c fix: closed groups info messages work now 2021-02-11 14:01:31 +11:00
Ryan ZHAO
c8e3cc15c5 Merge branch 'refactor' of https://github.com/oxen-io/session-android into multi_device_refactor 2021-02-11 09:52:25 +11:00
Ryan ZHAO
b2884c84e9 Merge branch 'refactor' of https://github.com/oxen-io/session-android into multi_device 2021-02-11 09:51:43 +11:00
Niels Andriesse
4bd3b2b192
Merge pull request #437 from Brice-W/missing-translations
ban labels added in FR + Invite of settings menu added in translation…
2021-02-11 09:42:44 +11:00
Niels Andriesse
f6fb41db0d
Merge pull request #422 from hjubb/performance_improvements
refactor: performance improvements to ProfilePictureView.kt and recyclers in conversations and home screen
2021-02-11 09:42:30 +11:00
jubb
fd0596f9ea fix: closed groups now propagate properly without self-sends 2021-02-10 17:57:08 +11:00
ryanzhao
9cf292589b only handle the first configuration message 2021-02-10 09:37:20 +11:00
Ryan ZHAO
6b45cc683e only handle the first configuration message 2021-02-09 17:00:17 +11:00
Ryan ZHAO
e8d007dce4 force sync message when clearing data 2021-02-09 15:42:07 +11:00
Ryan ZHAO
998258fd73 force sync configuration message when joining an open group 2021-02-09 15:12:21 +11:00
Ryan ZHAO
61a3cea895 move forceSyncConfigurationNowIfNeeded 2021-02-09 15:02:30 +11:00
jubb
77eb460ba7 feat: add image handling across device self-send. close an unclosed resource. remove unnecessary checks and SmsDatabase way of checking for existing message from ourselves 2021-02-09 13:45:38 +11:00
Ryan ZHAO
c32c58eee7 add open group through configuration message 2021-02-09 13:16:33 +11:00
Ryan ZHAO
5ceaf87ba9 implement closed group v2 handling and configuration message handling in refactored message receiving pipeline 2021-02-09 11:45:38 +11:00
jubb
7c2b124ebc feat: adding the outbound attachment handling for handling media messages 2021-02-08 17:30:38 +11:00
jubb
57d532f4b8 feat: add self sending syncTarget messages 2021-02-08 16:57:12 +11:00
Ryan ZHAO
05da743ea2 configuration message handling 2021-02-08 16:44:26 +11:00
Brice
8eeb17cbc2 ban labels added in FR + Invite of settings menu added in translations (#414) 2021-02-08 14:12:21 +11:00
Ryan ZHAO
03ff1d1941 configuration message 2021-02-05 16:35:15 +11:00
jubb
ba5431b806 fix: compile errors from moving keypair out of ClosedGroupsProtocolV2 2021-02-05 10:27:24 +11:00
jubb
c61d54391b refactor: performance improvements to ProfilePictureView.kt and recyclers in conversations and home screen 2021-02-04 16:57:24 +11:00
Ryan ZHAO
6c857e203b clean 2021-02-04 10:28:51 +11:00
ryanzhao
075e265a46 clean dynamic language 2021-02-03 14:04:27 +11:00
ryanzhao
0c191d5177 clean dynamic theme 2021-02-03 14:02:16 +11:00
ryanzhao
307da3b2be clean logging 2021-02-03 12:22:40 +11:00
Ryan ZHAO
0a952bcb85 sync dev 2021-02-02 17:05:21 +11:00
Ryan ZHAO
1e93d4651c clean 2021-02-02 15:40:43 +11:00
Ryan ZHAO
94913a334c clean 2021-02-02 15:10:23 +11:00
Ryan ZHAO
809ef0b6bc minor fix 2021-02-02 12:00:11 +11:00
Ryan ZHAO
cca38e270b fix link preview 2021-02-02 11:29:51 +11:00
Ryan ZHAO
c8149209a1 clean & minor fix 2021-02-01 17:00:32 +11:00
Ryan ZHAO
2db567144d clean 2021-02-01 15:01:06 +11:00
Ryan ZHAO
a34a18f5f1 sync with dev 2021-02-01 14:23:26 +11:00
Ryan ZHAO
c7af1cabe3 clean 2021-02-01 12:10:48 +11:00
Ryan ZHAO
5cb3a79a27 clean 2021-02-01 11:35:53 +11:00
Ryan ZHAO
9bc360f047 clean 2021-02-01 10:25:19 +11:00
Ryan ZHAO
190badd9c0 sync with dev 2021-02-01 09:39:14 +11:00
Ryan ZHAO
59ae46b300 recover pn 2021-01-29 17:03:58 +11:00
Ryan ZHAO
88ae3a9d93 clean 2021-01-29 16:58:42 +11:00
Ryan ZHAO
543019f93c clean 2021-01-29 16:35:47 +11:00
Ryan ZHAO
b877a10978 fix get sha-512 in place holder avatar 2021-01-29 13:49:28 +11:00
Brice
49f3e0cfca implementation of persistAttachments + refactoring 2021-01-29 11:16:53 +11:00
Ryan ZHAO
ebad701378 Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2021-01-29 11:08:55 +11:00
Ryan ZHAO
3b50b8f40b fix closed groups & clean 2021-01-29 11:08:48 +11:00
Brice
5f0a5c5db6 Session jobs database implementation 2021-01-28 15:24:27 +11:00
Ryan ZHAO
13f94c2cfd sync dev 2021-01-27 15:54:12 +11:00
Ryan ZHAO
9eacdd7b3e sync update to libsession & clean 2021-01-27 10:54:25 +11:00
Ryan ZHAO
ef2380da76 make things work 2021-01-25 16:58:04 +11:00
Ryan ZHAO
e6fd57fa58 Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2021-01-22 16:15:21 +11:00
Ryan ZHAO
2e3f50f8aa fix group encoded id 2021-01-22 16:15:13 +11:00
Brice
787a635d0a Data & ParcelableUtil classes moved to libsession 2021-01-22 15:16:50 +11:00
Brice
7cc7cc60c7 serialization functions added to Job classes 2021-01-22 13:30:00 +11:00
Ryan ZHAO
d4781e64a3 clean group util 2021-01-22 10:33:19 +11:00
Ryan ZHAO
6fa2c308b5 WIP fix crashes 2021-01-21 17:04:56 +11:00
Ryan ZHAO
9856814904 WIP clean 2021-01-21 16:12:05 +11:00
Ryan ZHAO
106bd4b560 WIP make things not crash 2021-01-21 16:01:10 +11:00
Ryan ZHAO
17f401c356 make things compile 2021-01-21 15:42:43 +11:00
Ryan ZHAO
246eb62958 message sender failed with error 2021-01-20 16:37:02 +11:00
Ryan ZHAO
f3c3483cde complete message sender 2021-01-20 16:29:52 +11:00
Ryan ZHAO
70456d0fd9 closed group encryption key pair 2021-01-20 11:18:00 +11:00
Ryan ZHAO
9df6bb11d1 WIP complete storage protocol 2021-01-20 10:04:14 +11:00
Ryan ZHAO
39858cb0c8 persist message 2021-01-19 17:06:02 +11:00
Brice
845ea16415 impl of missing methods in DatabaseAttachmentProvider 2021-01-19 11:39:45 +11:00
Ryan ZHAO
883c71331b WIP clean & make things compile 2021-01-19 10:48:02 +11:00
Ryan ZHAO
31d4deb354 WIP clean & make things compile 2021-01-19 09:12:44 +11:00
Ryan ZHAO
f7d898d5e3 WIP make things compile 2021-01-18 15:37:23 +11:00
Ryan ZHAO
2d239541b9 WIP make things compile 2021-01-18 14:58:11 +11:00
Ryan ZHAO
1f96ab1cf5 WIP clean 2021-01-15 16:51:53 +11:00
Ryan ZHAO
6cd00aec77 WIP clean 2021-01-15 15:36:30 +11:00
Ryan ZHAO
a5e37fd171 WIP make things compile 2021-01-14 16:33:03 +11:00
Ryan ZHAO
e3fb097581 WIP make things compile 2021-01-14 14:05:51 +11:00
Ryan ZHAO
fcb71961d6 WIP make things compile 2021-01-14 13:54:21 +11:00
Ryan ZHAO
8e8abcbe81 Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2021-01-14 13:28:25 +11:00
Ryan ZHAO
58ad4aef33 make thing compile 2021-01-14 13:26:53 +11:00
Brice
3357672516 MessaageSender: use of session protocol for closed groups 2021-01-14 13:20:18 +11:00
Brice
6f22c3d6e3 MessageReceiver synced with iOS 2021-01-14 11:42:26 +11:00
Ryan ZHAO
7ca8456383 WIP clean 2021-01-14 10:28:07 +11:00
Ryan ZHAO
709727197c Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2021-01-13 17:15:17 +11:00
Ryan ZHAO
74a9754f48 implement interfaces 2021-01-13 17:11:30 +11:00
Brice
99107d169e add changes of latest dev 2021-01-13 16:13:49 +11:00
Brice
b5c1a44ee6 fix 2021-01-06 16:54:59 +11:00
Brice
842f00ee54 downloadattachmentjob implementation 2021-01-06 16:11:00 +11:00
Brice
3a9304098b fix conflict 2021-01-05 14:17:42 +11:00
Anton Chekulaev
dbd662d6d2 Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2020-12-18 13:42:03 +11:00
Anton Chekulaev
e33b8a5fa2 Session encryption protocol.
Changes from #390 and #101 (service repo)
2020-12-18 13:02:33 +11:00
Brice
873e0099f9 fix 2020-12-17 16:52:22 +11:00
Niels Andriesse
37fc542136 Make PN mode screen scrollable
Changes from d6448d79f
2020-12-17 16:46:54 +11:00
Niels Andriesse
f21e1eb466 Remove unused button
Changes from 671257281
2020-12-17 16:36:39 +11:00
Anton Chekulaev
c1ef2728dc Add Session ID change notice.
Changes from aec7f6356
2020-12-17 16:18:01 +11:00
Niels Andriesse
48adb63fb7 Refresh snode pool at least once a day
Changes from cfb7ff529
2020-12-17 16:10:43 +11:00
Niels Andriesse
3cb7d2169d Fix tap jacking bug
Changes from 46452977f
2020-12-17 15:13:38 +11:00
Brice
0467147cfe use of SessionServiceAttachment instead if SignalSA 2020-12-17 14:45:57 +11:00
Anton Chekulaev
54f730fdfd Job cleanup. 2020-12-17 12:47:18 +11:00
Anton Chekulaev
db1d20835b Fixed open group message sending is not working. 2020-12-16 13:50:47 +11:00
Anton Chekulaev
24d36158ae Job cleanup. 2020-12-16 13:36:20 +11:00
Anton Chekulaev
d7b0c84f22 Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2020-12-15 17:22:05 +11:00
Anton Chekulaev
c0847fc563 Screen lock service updated to match the landing workflow. 2020-12-15 17:16:05 +11:00
Anton Chekulaev
124632823e Fixed landing scenario is broken and missing essential keys/settings setup. 2020-12-15 16:44:38 +11:00
Brice
625e9f172a attachmentId type changed to Long 2020-12-15 15:45:44 +11:00
Anton Chekulaev
85bac9fc46 Fixed lock screen appears upon app start when there is no user setup yet. 2020-12-15 11:31:09 +11:00
Anton Chekulaev
e294199ea3 Master secret removed.
Screen lock related classes refactoring.
Legacy database util classes and migrations removed.
2020-12-14 18:16:16 +11:00
Anton Chekulaev
2aa179585f Identity functionality and data structure are completely removed. 2020-12-14 12:16:30 +11:00
Anton Chekulaev
5046d1dce6 Verify identity removed from the convo activity. 2020-12-14 10:38:51 +11:00
Anton Chekulaev
112f77f6ed WIP cleanup of verify identity functionality. 2020-12-10 18:02:30 +11:00
Anton Chekulaev
eee5f60098 Target API note.
Closed group update data classes.
2020-12-10 16:19:16 +11:00
Anton Chekulaev
ea0c3c8a36 Send "unidentified sender" messages as plain text. 2020-12-10 13:41:54 +11:00
Anton Chekulaev
63d1e7087a Session request removed. Private chats no longer use any encryption. 2020-12-10 12:02:23 +11:00
Anton Chekulaev
3bc4338444 Pre key bundle removal pt1.
Device link functionality removed from app module.
2020-12-09 18:23:05 +11:00
Anton Chekulaev
bb74cdf2a0 ABI split configuration restored. 2020-12-08 18:17:49 +11:00
Anton Chekulaev
52d0a36ae5 Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2020-12-07 17:45:11 +11:00
Anton Chekulaev
30af903572 Transport options removed. Conversation activity cleanup. 2020-12-07 17:40:47 +11:00
Brice
f642e76ca4 messages: completed missing parts related to database calls 2020-12-07 14:30:06 +11:00
Anton Chekulaev
66aec427d4 Unused code cleanup. 2020-12-07 13:45:36 +11:00
Anton Chekulaev
1a498cebd8 Old conversation list related classes removed. 2020-12-07 13:30:52 +11:00
Anton Chekulaev
8d17593d87 Unused code cleanup. 2020-12-07 12:41:03 +11:00
Anton Chekulaev
ac81fd4394 Dynamic theme cleanup. 2020-12-07 11:47:02 +11:00
Anton Chekulaev
9ce0c54dbe Long message activity theming is fixed.
General cleanup.
2020-12-07 11:21:03 +11:00
Anton Chekulaev
eafa7c7a77 Device link related views removed. General unused code cleanup. 2020-12-04 16:00:52 +11:00
Anton Chekulaev
a94273fdfc Use internal Log implementation everywhere. 2020-12-03 17:52:41 +11:00
Anton Chekulaev
5e3cb706c4 Unused code cleanup. 2020-12-02 23:01:04 +11:00
Anton Chekulaev
12804a30c0 Unused code cleanup. 2020-12-01 21:36:41 +11:00
Anton Chekulaev
20b6763408 Unused code cleanup.
Do not minify and obfuscate debug builds.
2020-12-01 16:38:41 +11:00
Anton Chekulaev
37565c74f2 Unused code cleanup. 2020-11-30 20:11:49 +11:00
Anton Chekulaev
4fb4709ec2 Unused code cleanup. 2020-11-30 17:43:06 +11:00
Anton Chekulaev
30fe6ee3ac App's gradle config cleanup. 2020-11-26 12:41:59 +11:00
Ryan ZHAO
255dc9c26b ditch :service, :service:android, :service:java 2020-11-26 10:07:45 +11:00
Ryan ZHAO
7a66a47520 restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00