Commit Graph

297 Commits

Author SHA1 Message Date
Brice-W 7aa1f30c98 fix 2021-04-20 17:07:21 +10:00
Brice-W 3bfef2d0cd e UpdateMessageBuilder to generate data extraction message 2021-04-20 16:55:46 +10:00
Brice-W 66e811ed75 Merge branch 'specific-group-updates' into data-extraction-2 2021-04-20 15:42:04 +10:00
jubb aea23a6fc1 feat: finishing up OpenGroupAPIV2.kt calls 2021-04-19 10:16:38 +10:00
jubb 96e604d06b feat: more opengroup in chat manager, poller and API. refactor mentions to libsession 2021-04-15 17:17:55 +10:00
Brice-W abb1db7a7e new approach in update saving 2021-04-15 14:41:29 +10:00
Brice-W 9cdcdc43a6 redesign of group update messages management 2021-04-14 16:37:04 +10:00
jubb 0eadc55325 feat: add open group v2 storage and db methods, starting on new open group v2 poller 2021-04-13 17:17:16 +10:00
Brice-W df0ca11ec5 Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 2021-04-12 14:26:13 +10:00
Brice-W db415f371a Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 2021-04-09 16:30:36 +10:00
Brice-W e57c697eca finishing data extraction handling 2021-04-09 16:06:12 +10:00
Brice-W fce1d60d7d clean 2021-04-08 15:40:00 +10:00
Brice-W 8df7d2bb49 clean 2021-04-08 15:27:25 +10:00
Brice-W 30b47a32cb Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 2021-04-08 15:21:46 +10:00
Brice-W d027d0c640 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 2021-04-08 15:00:31 +10:00
Brice-W dd3d962dea fix expiration timers updates for groups 2021-04-08 12:07:23 +10:00
Brice-W 04f295ac6c expiration timer updates handled as outgoing messages for multi device 2021-04-07 10:40:45 +10:00
Brice-W fe47a6e958 manage duplicates outgoing messages 2021-04-01 15:48:35 +11:00
jubb 20b5da18fe feat: lower debounce period 2021-04-01 11:51:39 +11:00
jubb 7121aa85fb refactor: use OpenGroupAPI.kt instead of PublicChatAPI.kt for all open group operations.
Syncing open group notify conversation list listeners debounced so UI doesn't freeze on initial syncs
2021-03-31 15:15:50 +11:00
jubb 3654d1731c fix: various fixes wrt open groups, config messages, job queueing 2021-03-30 16:23:12 +11:00
jubb c3f7425ccd fix: empty messages in open groups now correct properly 2021-03-29 16:40:56 +11:00
jubb d292c760c4 Merge branch 'refactor-sending' of github.com:hjubb/session-android into origin/refactor-sending 2021-03-29 14:16:58 +11:00
jubb db553544ec fix: open group fixes for new message receive pipeline 2021-03-29 14:16:49 +11:00
Brice-W 8bc6df5d16 fix multi device attachment issue 2021-03-29 13:52:36 +11:00
jubb 196a0205ae refactor: revert expiry to be recipient based instead of message based 2021-03-25 15:12:55 +11:00
jubb bdc086cacf fix: use message's expiry instead of the recipient's 2021-03-25 14:11:58 +11:00
jubb 611b272493 fix: attachments for quotes no longer doubled up 2021-03-24 17:17:01 +11:00
jubb fad8cd5ba6 fix: changing the way received timestamp handling happens 2021-03-23 15:56:15 +11:00
jubb a60ec8aaef fix: fix compile error 2021-03-23 11:15:25 +11:00
jubb 7f5f1e4559 Merge remote-tracking branch 'upstream/dev' into origin/refactor-sending
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
2021-03-23 11:13:00 +11:00
Brice-W 1b01d0afd4 clean 2021-03-23 11:03:09 +11:00
Brice-W 68a3c73ab1 clean 2021-03-23 10:59:03 +11:00
Brice-W 5f297835fa Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 2021-03-23 10:57:13 +11:00
jubb 6f2bad9b59 fix: no duplicate group left messages, more efficient closed group polling 2021-03-23 10:00:51 +11:00
Brice-W 28cecc0236 expiration timer messages generation updated 2021-03-23 09:58:17 +11:00
Brice-W 24b4fb0665 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 2021-03-22 15:18:14 +11:00
Brice-W 0578195d61 Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 2021-03-22 15:12:09 +11:00
jubb 8ee58459dd feat: use new closed and open group pollers 2021-03-19 17:08:31 +11:00
Brice-W a47113f2c5 revert changes 2021-03-19 16:57:00 +11:00
Brice-W 5dcb3d77d4 revert changes regarding explicit group updates as it's now in a separate PR 2021-03-19 16:39:41 +11:00
Brice-W ddede475b4 Start of Update messages builder class implementation & usage for Input group updates 2021-03-19 16:25:00 +11:00
jubb b685846d7e Merge remote-tracking branch 'upstream/dev' into origin/refactor-sending
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
#	app/src/main/java/org/thoughtcrime/securesms/loki/database/LokiAPIDatabase.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/control/ClosedGroupControlMessage.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/control/ExpirationTimerUpdate.kt
#	libsession/src/main/java/org/session/libsession/messaging/opengroups/OpenGroupMessage.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSenderClosedGroup.kt
2021-03-18 09:26:13 +11:00
Ryan ZHAO 95646ed04e make error description show in the message detail activity 2021-03-16 16:31:52 +11:00
Brice-W 471e028cf3 implementation of the receiving side of Data Extraction notifications & explicit group updates notifications 2021-03-16 14:56:47 +11:00
jubb 6508873e57 fix: fix the sent / receive timestamps for linking quotes 2021-03-15 15:03:23 +11:00
Ryan ZHAO d2843b2cef fix removing jobs in database 2021-03-15 14:56:46 +11:00
jubb 817c40b30c refactor: inserting attachments with the messages so that they are linked properly to a mmsID 2021-03-15 13:35:05 +11:00
jubb 323fb75149 fix: adding some message receive functionality 2021-03-12 17:15:33 +11:00
Ryan ZHAO 54da77a89b clean 2021-03-12 15:23:29 +11:00
Ryan ZHAO 91f9138d62 clean & refactor session protocol encryption 2021-03-12 13:37:16 +11:00
Ryan ZHAO 60f51af295 clean & fix expiration timer setting issue 2021-03-12 11:27:51 +11:00
Ryan ZHAO 2859da01a7 fix duplicated closed group info message 2021-03-11 15:31:14 +11:00
Ryan ZHAO 42c7f440e9 fix quoting message in open groups 2021-03-11 14:37:53 +11:00
Ryan ZHAO 70a7182320 Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor-sending 2021-03-09 14:46:14 +11:00
Ryan ZHAO 1a6da88ce3 clean 2021-03-09 13:54:15 +11:00
Ryan ZHAO 0a7fecfb52 fix sending link preview 2021-03-09 10:50:02 +11:00
Ryan ZHAO 4218073a69 fix quote attachments 2021-03-05 13:31:40 +11:00
jubb 4f74d46b17 fix: revert query to filter empty threads for now 2021-03-05 13:17:08 +11:00
Ryan ZHAO 3b2ea4e95d clean 2021-03-05 11:31:12 +11:00
Ryan ZHAO 2df9d4f27c clean 2021-03-05 11:24:43 +11:00
Ryan ZHAO 2426230064 fix sending profile picture update 2021-03-05 11:13:25 +11:00
jubb 784e217e91 feat: filter out local number empty thread only 2021-03-04 17:17:45 +11:00
jubb 27958491c5 fix: specific empty thread snippet and removing the thread filtering for empty messages 2021-03-04 16:21:25 +11:00
Ryan ZHAO 0ea1ed15e7 WIP: make attachment work 2021-03-02 17:22:56 +11:00
Ryan ZHAO bb7334515c clean 2021-03-02 14:13:52 +11:00
Ryan ZHAO 8acbb3c366 fix send text message to open group 2021-03-02 14:13:12 +11:00
Ryan ZHAO d9eaedd6ae hook up sending pipeline & clean 2021-03-02 12:24:09 +11:00
jubb 3a09d23337 feat: add contact syncing, UI improvements for profile syncing and conversation threads in the home screen 2021-03-01 17:16:15 +11:00
Ryan ZHAO d5343d5462 Merge branch 'dev' of https://github.com/loki-project/session-android into refactor_clean_0 2021-02-24 16:39:04 +11:00
Ryan ZHAO 6f002311b8 clean up unused message types 2021-02-23 16:23:45 +11:00
Ryan ZHAO ff36fbb6a1 further cleaning up on stickers 2021-02-23 15:07:31 +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 2f57090cfa further clean up on session restoration 2021-02-23 11:56:03 +11:00
Ryan ZHAO 12a2061251 clean up jobs 2021-02-23 11:29:07 +11:00
Ryan ZHAO 5db7f0ecb8 clean up signal database 2021-02-23 09:46:56 +11:00
Ryan ZHAO 861b4bf9c9 further clean up unused connections 2021-02-22 16:54:57 +11:00
Ryan ZHAO c5ab13aadf clean up deprecated message connection 2021-02-22 16:29:48 +11:00
Ryan ZHAO 5b15decdd6 further cleaning on signal sticker 2021-02-22 15:07:16 +11:00
Ryan ZHAO 0ec940ea32 clean up location 2021-02-22 13:30:48 +11:00
Ryan ZHAO 19a829d011 WIP: clean up signal protocols (stickers) 2021-02-22 10:06:40 +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 958ec690f1 WIP: clean up signal protocols 2021-02-19 11:03:58 +11:00
Ryan ZHAO 9d0831b874 remove shared sender keys 2021-02-18 14:14:05 +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
Ryan ZHAO 20ec889730 clean up V1 closed group 2021-02-17 16:09:36 +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 362e24f98c Fix DB migration 2021-02-17 11:36:56 +11:00
nielsandriesse 7f4603a1ba Fix DB migration 2021-02-17 11:30:37 +11:00
nielsandriesse 5226947e0a Fix DB migration 2021-02-17 11:08:57 +11:00
Ryan ZHAO b517555a45 timestamp & duplicated message 2021-02-16 15:24:21 +11:00
Ryan ZHAO c6084b0172 replace group create at timestamp with formation timestamp 2021-02-16 11:14:27 +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 83d107cbce fix: compare serialized to serialized 2021-02-12 14:28:25 +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 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
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 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
Ryan ZHAO 03ff1d1941 configuration message 2021-02-05 16:35:15 +11:00
Ryan ZHAO 6c857e203b clean 2021-02-04 10:28:51 +11:00
ryanzhao 307da3b2be clean logging 2021-02-03 12:22:40 +11:00
Ryan ZHAO 1e93d4651c clean 2021-02-02 15:40:43 +11:00
Ryan ZHAO c8149209a1 clean & minor fix 2021-02-01 17:00:32 +11:00
Ryan ZHAO 5cb3a79a27 clean 2021-02-01 11:35:53 +11:00
Ryan ZHAO 543019f93c clean 2021-01-29 16:35:47 +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 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 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
Ryan ZHAO 31d4deb354 WIP clean & make things compile 2021-01-19 09:12:44 +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 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
Anton Chekulaev 54f730fdfd Job cleanup. 2020-12-17 12:47:18 +11:00
Anton Chekulaev 24d36158ae Job cleanup. 2020-12-16 13:36:20 +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 3bc4338444 Pre key bundle removal pt1.
Device link functionality removed from app module.
2020-12-09 18:23:05 +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
Brice f642e76ca4 messages: completed missing parts related to database calls 2020-12-07 14:30:06 +11:00
Anton Chekulaev eafa7c7a77 Device link related views removed. General unused code cleanup. 2020-12-04 16:00:52 +11:00
Anton Chekulaev 5e3cb706c4 Unused code cleanup. 2020-12-02 23:01:04 +11:00
Anton Chekulaev 20b6763408 Unused code cleanup.
Do not minify and obfuscate debug builds.
2020-12-01 16:38:41 +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