Commit Graph

273 Commits

Author SHA1 Message Date
Ryan ZHAO
ff36fbb6a1 further cleaning up on stickers 2021-02-23 15:07:31 +11:00
jubb
b5790ef884 fix: add sentTimestamp to the handling of closed group messages instead of using System.currentTimeMillis() 2021-02-23 15:01:49 +11:00
jubb
f61b556790 fix: message ordering using NORMALIZED_DATE_SENT instead of NORMALIZED_DATE_RECEIVED 2021-02-23 14:41:21 +11:00
Ryan ZHAO
fc62fe3b23 clean up unused loki stuff 2021-02-23 12:11:45 +11:00
Ryan ZHAO
c931155e83 clean up unused dialogs 2021-02-23 12:01:13 +11:00
Ryan ZHAO
6b8228c76d minor fix 2021-02-23 11:59:13 +11:00
Ryan ZHAO
2f57090cfa further clean up on session restoration 2021-02-23 11:56:03 +11:00
Ryan ZHAO
690687064f clean up unused log submit 2021-02-23 11:41:35 +11:00
Ryan ZHAO
bb8e8a4e16 clean up link preview 2021-02-23 11:31:17 +11:00
Ryan ZHAO
12a2061251 clean up jobs 2021-02-23 11:29:07 +11:00
jubb
86383eb4e5 fix: don't notify for MultiDeviceProtocol.kt config messages 2021-02-23 11:14:14 +11:00
Ryan ZHAO
dee7d78acb clean up old groups 2021-02-23 10:30:45 +11:00
jubb
7d7dbd7632 feat: add push notifying in the message sender to prevent self sends 2021-02-23 09:49:19 +11:00
Ryan ZHAO
5db7f0ecb8 clean up signal database 2021-02-23 09:46:56 +11:00
jubb
5777471eeb fix: use toolsns 2021-02-22 17:04:40 +11:00
jubb
639ae9ba78 fix: use a 0dp and layout_weight to solve text preview cutting off status indicator 2021-02-22 17:01:17 +11:00
Ryan ZHAO
861b4bf9c9 further clean up unused connections 2021-02-22 16:54:57 +11:00
Ryan ZHAO
fcfaa32073 clean up non-sense code 2021-02-22 16:46:09 +11:00
Ryan ZHAO
c5ab13aadf clean up deprecated message connection 2021-02-22 16:29:48 +11:00
Niels Andriesse
e89f54a0b9
Merge pull request #452 from hjubb/group_explicit_leave_flag
Group explicit leave flag, docs, null fix
2021-02-22 16:21:16 +11:00
jubb
ace0144ffe docs: add documentation around the notifyUser param 2021-02-22 16:11:12 +11:00
jubb
e426d30f67 fix: fix ec send from pending if map contains absent value 2021-02-22 15:46:37 +11:00
Ryan ZHAO
5b15decdd6 further cleaning on signal sticker 2021-02-22 15:07:16 +11:00
Ryan ZHAO
b2225697b4 WIP: clean up unused signal stuff 2021-02-22 14:58:06 +11:00
jubb
5db46325a5 fix: don't delete group as admin if only one user left 2021-02-22 13:51:48 +11:00
jubb
65b36c006c feat: add notifyUser flag to explicitLeave 2021-02-22 13:48:48 +11:00
Ryan ZHAO
c138f20be5 Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor_clean_0 2021-02-22 13:36:37 +11:00
Ryan ZHAO
0ec940ea32 clean up location 2021-02-22 13:30:48 +11:00
Niels Andriesse
d3b8642b18
Merge pull request #450 from hjubb/closed_group_kp_distribution
Closed group kp distribution
2021-02-22 13:25:45 +11:00
jubb
2d93d83610 fix: store group public key as corrected public key 2021-02-22 12:05:00 +11:00
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