Commit Graph

532 Commits (59d906377465a38853782deed90fcf8a4893551e)

Author SHA1 Message Date
Brice-W b2a924ebf8 views created + database storage 4 years ago
Ryan ZHAO b43000bdd0 WIP: enable contact with UI 4 years ago
jubb 8439d57115 refactor: let the periodic work run more frequently and never fail from excessive retries preventing from re-running.
remove resume pending jobs from ApplicationContext onCreate and handle in home activity's onCreate instead.

prevent some illegal argument exceptions from Random.kt by returning null if empty
4 years ago
Ryan ZHAO be3b8a4b7e Merge branch 'dev' of https://github.com/oxen-io/session-android into client-side-nickname 4 years ago
Ryan ZHAO a16e67d1fd add new contact database api 4 years ago
jubb e7377d640f fix: use AttachmentUploadJob instead of two download job keys in all types 4 years ago
jubb d707433f28 docs: remove no long applicable docs 4 years ago
jubb ccd9493f62 refactor: remove unlimited by array size and cap at 10_000_000 4 years ago
jubb 4fff5ac2dc refactor: make storage reference jobId by string in deletion, don't persist jobs we are about to delete, delete jobs that fail to serialize from storage (probably from corrupt or moved data classes) in temporary message send jobs 4 years ago
Ryan ZHAO cbd6ae3bcb Merge branch 'dev' of https://github.com/oxen-io/session-android into client-side-nickname 4 years ago
Brice-W d98cef3c77 Merge branch 'dev' of https://github.com/loki-project/session-android into open-group-invitations 4 years ago
Brice-W 89e0d9b0cf WIP 4 years ago
Niels Andriesse 3c3f6c25f1 Fix various bugs 4 years ago
Brice-W 9399da6bad handle the case when an added member is a zombie 4 years ago
jubb a4b7b34f2e refactor: change request to use default pubkey 4 years ago
jubb 704723ed80 feat: add removing of the sent/received messages 4 years ago
jubb 50d3b52617 refactor: remove unused download in DotNetAPI.kt and add todo for upload migration 4 years ago
jubb 14a02a8511 fix: proper sending of join URL and removing server timestamp in proto parsing 4 years ago
jubb e8bac5005e feat: file server v2 and syncing open groups v2 in config messages 4 years ago
jubb 35aec04ac9 feat: member counts in v2 open group ConversationActivity 4 years ago
jubb d8e9e372d3 fix: add support for non-standard ports in opengroupv2 4 years ago
jubb f3fa8626ed feat: compact polling server-wide 4 years ago
jubb c102c5132e fix: don't use testnet 4 years ago
jubb fa528c47d5 Merge remote-tracking branch 'upstream/dev' into open_groups_V2
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	app/src/main/java/org/thoughtcrime/securesms/loki/database/LokiMessageDatabase.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/protocol/MultiDeviceProtocol.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/MentionCandidateSelectionView.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/MentionCandidateView.kt
#	libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/ClosedGroupPoller.kt
#	libsession/src/main/java/org/session/libsession/messaging/utilities/DotNetAPI.kt
#	libsession/src/main/java/org/session/libsession/utilities/mentions/Mention.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/Mention.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/utilities/mentions/Mention.kt
4 years ago
jubb fe8dc2d392 fix: slight UI and handling protocols at onion request level 4 years ago
Brice-W bb25877515 light refactor + OpenGroupUrlParser implementation & unit test 4 years ago
jubb 2999c138aa feat: add open group display name hex suffix 4 years ago
jubb a58332a353 refactor: increase max poll time 4 years ago
jubb 7e14a315b9 refactor: compact polling and usage based polling 4 years ago
Brice-W 9ee167c173 handleOpenGroupInvitation skeleton added + region added 4 years ago
Brice-W 99a62d9e99 adding openGroupInvitation types in proto & class 4 years ago
Ryan ZHAO e64ac14b77 fix crash & empty nickname bug 4 years ago
jubb 460babe930 fix: deletion fixed up 4 years ago
jubb ef19c0d10e fix: fixing up LokiMessageDatabase.kt table structure, deletion closer to finished 4 years ago
Ryan ZHAO a1edfb13ee Merge branch 'dev' of https://github.com/oxen-io/session-android into client-side-nickname 4 years ago
Ryan ZHAO a7c7d0c10f introduce Contact model 4 years ago
Ryan ZHAO 496e833333 Merge branch 'dev' of https://github.com/oxen-io/session-android into client-side-nickname 4 years ago
Brice-W 1f62990aff fix polling issue in closed groups 4 years ago
Niels Andriesse f727244342
Merge pull request #514 from oxen-io/refactoring
Minor Refactoring
4 years ago
Niels Andriesse 761c12addd Clean 4 years ago
jubb d05da5c447 Merge remote-tracking branch 'upstream/dev' into fix_profile_nulls
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/loki/api/BackgroundPollWorker.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/protocol/MultiDeviceProtocol.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt
4 years ago
jubb 51554f1cdf Merge remote-tracking branch 'upstream/dev' into open_groups_V2, working on compact poller implementation
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationFragment.java
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/activities/HomeActivity.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/api/BackgroundPollWorker.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/api/PublicChatManager.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/database/LokiThreadDatabase.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/protocol/MultiDeviceProtocol.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/utilities/MentionManagerUtilities.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/utilities/OpenGroupUtilities.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/MentionCandidateView.kt
#	app/src/main/java/org/thoughtcrime/securesms/loki/views/ProfilePictureView.kt
#	libsession/src/main/java/org/session/libsession/messaging/StorageProtocol.kt
#	libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentDownloadJob.kt
#	libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentUploadJob.kt
#	libsession/src/main/java/org/session/libsession/messaging/mentions/MentionsManager.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/Destination.kt
#	libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupAPIV2.kt
#	libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupMessageV2.kt
#	libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroupV2.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt
#	libsession/src/main/java/org/session/libsession/messaging/utilities/DotNetAPI.kt
#	libsession/src/main/java/org/session/libsession/snode/OnionRequestAPI.kt
#	libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt
#	libsession/src/main/java/org/session/libsession/snode/SnodeMessage.kt
#	libsession/src/main/java/org/session/libsession/utilities/mentions/MentionsManager.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/api/SwarmAPI.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/api/opengroups/PublicChat.kt
#	libsignal/src/main/java/org/session/libsignal/service/loki/utilities/mentions/MentionsManager.kt
4 years ago
Brice-W ab68001b15 clean 4 years ago
jubb 9d4a2d1505 fix: NPE in highlighting messages for OGv2, deletion and moderation working 4 years ago
Brice-W 54ba848d09 Merge branch 'dev' of https://github.com/loki-project/session-android into closed-groups-update 4 years ago
nielsandriesse 97c74bb3dc Fix polling 4 years ago
jubb 7f0962b3d4 Merge branch 'fix_profile_nulls' into open_groups_V2
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActivity.java
#	app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationFragment.java
#	libsession/src/main/java/org/session/libsession/messaging/StorageProtocol.kt
4 years ago
Brice-W 8806fd0462 Merge branch 'dev' of https://github.com/loki-project/session-android into closed-groups-update 4 years ago
jubb 5d8f036f82 fix: attachment downloads and uploads
enable multi-threaded attachment handling for messages to speed up download/upload and free up message processing queue.

leaving group removes appropriate entries now in threaddb
4 years ago
Niels Andriesse a14fc0503f Take care of remaining loose ends 4 years ago
Niels Andriesse e2ad23482d Resolve various loose ends 4 years ago
jubb 11aed5daff refactor: don't update profile if it is user's at all in visible message handling, leave it to config updates 4 years ago
Brice-W d4aaebd0a9 don't show zombie members in group remove updates 4 years ago
jubb 42ca1332ec fix: update prof pic and name and use new profile instead of existing recipient 4 years ago
Brice-W 6a32fabda5 revert change of commit 7c6475d9ee 4 years ago
jubb 572f262b6d fix: don't update the profiles if the values are empty 4 years ago
jubb 4bf0990ef9 feat: open group attachment and message processing 4 years ago
Brice-W 7c6475d9ee EncryptionKeyPair: only set a public key for 1-1 message case 4 years ago
Niels Andriesse fdede1c656 Clean 4 years ago
Niels Andriesse 69f05dabdf Clean 4 years ago
Niels Andriesse 17e764fc31 Clean 4 years ago
Niels Andriesse 25307068e8 Match iOS protobuf 4 years ago
Niels Andriesse 676c307412 Clean 4 years ago
Niels Andriesse bc66c45bca Clean 4 years ago
jubb 6272856ef9 feat: syncing / joining / leaving working on open group v2 4 years ago
Brice-W 15707b7060 fix encryption key pair handling 4 years ago
Niels Andriesse 7415c728eb Merge branch 'hardfork' of github.com:oxen-io/session-android into hardfork 4 years ago
Niels Andriesse 979c21ccbf Fix duplicated API 4 years ago
Brice-W b064f8f5d7 implementation of the zombie members handling logic 4 years ago
jubb a4d79ea2d3 feat: join groups logic 4 years ago
Ryan ZHAO b94597a1f6 make it possible to set a client-side nickname 4 years ago
Niels Andriesse f21ad17dd5 Merge branch 'dev' into hardfork 4 years ago
Ryan ZHAO d78dc83307 minor refactor on storing display names 4 years ago
jubb f9939aae92 feat: handling default group requests and open group api updates for proper image endpoint handling 4 years ago
Niels Andriesse 9f26436041
Merge pull request #508 from Brice-W/data-extraction-2
Data extraction notifications
4 years ago
Brice-W 99fa7eb767 added specific UpdateMessageData.King types 4 years ago
jubb 1e164f8648 feat: adding default group handling to frontend viewmodel 4 years ago
Brice-W 7aa1f30c98 fix 4 years ago
Brice-W 3bfef2d0cd e UpdateMessageBuilder to generate data extraction message 4 years ago
Brice-W 66e811ed75 Merge branch 'specific-group-updates' into data-extraction-2 4 years ago
jubb aea23a6fc1 feat: finishing up OpenGroupAPIV2.kt calls 4 years ago
Brice-W 2b7cf7c1b4 added Kind sealed class in UpdateMessageData + minor fixes 4 years ago
Brice-W c8f42d3b8e Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 4 years ago
jubb 96e604d06b feat: more opengroup in chat manager, poller and API. refactor mentions to libsession 4 years ago
Brice-W a346bb4ea5 clean 4 years ago
Brice-W abb1db7a7e new approach in update saving 4 years ago
Niels Andriesse b7272bdf66 Increase TTL & remove PoW 4 years ago
Harris 6f46bbefbe feat: add more opengroupv2 functions and classes 4 years ago
Brice-W 418363fdea Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 4 years ago
Brice-W 9cdcdc43a6 redesign of group update messages management 4 years ago
Harris 75b40a2b55 Merge remote-tracking branch 'upstream/dev' into open_groups_V2 4 years ago
Harris d3ca54ce86 fix: address job.id properly in persistence 4 years ago
jubb 0eadc55325 feat: add open group v2 storage and db methods, starting on new open group v2 poller 4 years ago
Brice-W df0ca11ec5 Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 4 years ago
Brice-W 40015c2898 clean 4 years ago
Brice-W db415f371a Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 4 years ago
Niels Andriesse 201dde7412
Merge pull request #494 from hjubb/refactor-sending
Fix expiration timers updates for groups
4 years ago
Brice-W ec42cc79a5 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 4 years ago
Brice-W e57c697eca finishing data extraction handling 4 years ago
jubb f723069775 fix: check actual collisions instead of not 4 years ago
Brice-W fce1d60d7d clean 4 years ago
Brice-W 30b47a32cb Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 4 years ago
Brice-W cc24e29cb2 clean 4 years ago
Brice-W d027d0c640 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 4 years ago
Brice-W dd3d962dea fix expiration timers updates for groups 4 years ago
Niels Andriesse 8400c7606b
Merge pull request #493 from hjubb/pin_seed_certs
Introduce service node seed certificates
4 years ago
jubb b149886068 feat: add certificate pem files, set up network security config and point seed pools to port accordingly 4 years ago
Brice-W 04f295ac6c expiration timer updates handled as outgoing messages for multi device 4 years ago
jubb 7ba4e7a2d2 Merge branch 'refactor-sending' of github.com:hjubb/session-android into origin/refactor-sending 4 years ago
jubb 3b2589b835 refactor: use a shared timer in JobQueue.kt 4 years ago
Brice-W 9ca6986b71 fix sync of expiration timer update messages between linked devices 4 years ago
jubb 924f58f816 fix: don't update user profile name if message handling open group 4 years ago
jubb 20558a1e92 Merge branch 'refactor-sending' of github.com:hjubb/session-android into origin/refactor-sending 4 years ago
jubb 7d9f5bc46d fix: replicate the same display name logic as settings activity 4 years ago
jubb 68506ffcfa fix: don't store display name if current user's key 4 years ago
Brice-W fe47a6e958 manage duplicates outgoing messages 4 years ago
Brice-W 5c87cef26a fix multi device disappearing message issue 4 years ago
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
4 years ago
jubb b6769ffddc refactor: convert runnables to method references, schedule download of display names after parsing messages 4 years ago
jubb a445e0a326 fix: moderator status going off open chat API instead of PublicChatAPI 4 years ago
jubb 65fbd56b6a Merge branch 'refactor-sending' of github.com:hjubb/session-android into origin/refactor-sending 4 years ago
jubb 3654d1731c fix: various fixes wrt open groups, config messages, job queueing 4 years ago
Brice-W 0292e70246 fix quote attachment issue 4 years ago
jubb c3f7425ccd fix: empty messages in open groups now correct properly 4 years ago
jubb d292c760c4 Merge branch 'refactor-sending' of github.com:hjubb/session-android into origin/refactor-sending 4 years ago
jubb db553544ec fix: open group fixes for new message receive pipeline 4 years ago
Brice-W 8bc6df5d16 fix multi device attachment issue 4 years ago
Brice-W d7c03c9d0a group updates fixes 4 years ago
jubb 196a0205ae refactor: revert expiry to be recipient based instead of message based 4 years ago
Brice-W ef3bef787d expiration timer handling updated 4 years ago
jubb bdc086cacf fix: use message's expiry instead of the recipient's 4 years ago
jubb 53c966b634 fix: race in receive messages processing from restore 4 years ago
jubb 611b272493 fix: attachments for quotes no longer doubled up 4 years ago
jubb fad8cd5ba6 fix: changing the way received timestamp handling happens 4 years ago
jubb 1c1ce1424b fix: replace elvis on optional proto object with protobuf has flag check 4 years ago
jubb 7f5f1e4559 Merge remote-tracking branch 'upstream/dev' into origin/refactor-sending
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
4 years ago
Brice-W 5f297835fa Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 4 years ago
Brice-W 0bea7fa56d clean 4 years ago
Brice-W 8c7f23a4e3 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction 4 years ago
jubb 0fa62d1b2a fix: only set syncTarget if it's included and not empty 4 years ago
Brice-W e378d11692 few little fixes 4 years ago
jubb 6f2bad9b59 fix: no duplicate group left messages, more efficient closed group polling 4 years ago
Brice-W 28cecc0236 expiration timer messages generation updated 4 years ago
Brice-W 24b4fb0665 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 4 years ago
Brice-W 0578195d61 Merge branch 'dev' of https://github.com/loki-project/session-android into specific-group-updates 4 years ago
jubb 8ee58459dd feat: use new closed and open group pollers 4 years ago
Brice-W a47113f2c5 revert changes 4 years ago
Brice-W 5dcb3d77d4 revert changes regarding explicit group updates as it's now in a separate PR 4 years ago
Brice-W ddede475b4 Start of Update messages builder class implementation & usage for Input group updates 4 years ago
jubb 2460afd1a8 feat: call resume message send on app create 4 years ago
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
4 years ago
Ryan ZHAO 333533785b fix crash on attachment send failure 4 years ago
Ryan ZHAO 26b60c0397 Merge branch 'dev' of https://github.com/loki-project/session-android into refactor-sending-error-handling 4 years ago
jubb 32f9675fe4 fix: dynamic output buffer size, reusing the byte array buffer and only copying the written part to persistence 4 years ago
Ryan ZHAO 39aef68b04 refactor precondition failure error 4 years ago
Ryan ZHAO 778a0d083f Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor-sending-error-handling 4 years ago
Ryan ZHAO 95646ed04e make error description show in the message detail activity 4 years ago
jubb 7e509a1cf0 fix: pad the plaintext before encryption 4 years ago
Brice-W 471e028cf3 implementation of the receiving side of Data Extraction notifications & explicit group updates notifications 4 years ago
jubb dd8a0cdc2e fix: use queue in the retry timer 4 years ago
jubb b81d9b5e3a fix: matching up the remove 05 prefixing to be consistent through the new pipeline call sites 4 years ago
Brice-W 1daa2a336f Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction-2 4 years ago
Ryan ZHAO 3cb20c9250 minor fix 4 years ago
Ryan ZHAO 424aee5fb3 fix possible serialising crash & refactor 4 years ago
jubb 6508873e57 fix: fix the sent / receive timestamps for linking quotes 4 years ago
Ryan ZHAO b786f5894c fix configuration message deserialising crash 4 years ago
jubb 817c40b30c refactor: inserting attachments with the messages so that they are linked properly to a mmsID 4 years ago
Ryan ZHAO 4628f27d9f fix error handling 4 years ago
jubb 323fb75149 fix: adding some message receive functionality 4 years ago
Ryan ZHAO 54da77a89b clean 4 years ago
Ryan ZHAO d7e525d828 clean 4 years ago
Ryan ZHAO 91f9138d62 clean & refactor session protocol encryption 4 years ago
Ryan ZHAO 0e049469aa minor refactor on closed group encryption key pair sending 4 years ago
Ryan ZHAO 2859da01a7 fix duplicated closed group info message 4 years ago
Ryan ZHAO d7124c3b7e minor refactor 4 years ago
Ryan ZHAO 42c7f440e9 fix quoting message in open groups 4 years ago
Ryan ZHAO b490ed0c22 fix sending attachments(image) in open groups 4 years ago
Ryan ZHAO a3e3f0047a fix closed group message sending & expiration mistakenly disabled 4 years ago
jubb ca7202f255 feat: add new message receive pipeline in important places and fix parsing issues 4 years ago
Brice-W c0e7f05d91 Merge branch 'dev' of https://github.com/loki-project/session-android into data-extraction 4 years ago
Brice-W 6bc832f50a DataExtractionNotification type created and added to proto 4 years ago
Ryan ZHAO d85ad12352 fix sending link preview to open group 4 years ago
Ryan ZHAO 70a7182320 Merge branch 'dev' of https://github.com/oxen-io/session-android into refactor-sending 4 years ago
Ryan ZHAO 82b8883bb1 fix sending quote 4 years ago
Ryan ZHAO 0a7fecfb52 fix sending link preview 4 years ago
Ryan ZHAO 4218073a69 fix quote attachments 4 years ago
Ryan ZHAO 9d4c3bf722 send read receipt using new pipeline 4 years ago
Ryan ZHAO d84b593da2 fix expiration timer animation 4 years ago
Ryan ZHAO e0ff5a7e7a fix sending expiration update message 4 years ago
Ryan ZHAO aa7071ad80 send typing indicator using new pipeline 4 years ago
Ryan ZHAO a1d1b864e6 fix closed group updating 4 years ago
Ryan ZHAO 88ac390495 plug in closed group message sender 4 years ago
Ryan ZHAO c51593a914 fix sending attachments including link previews 4 years ago
Ryan ZHAO 0fcef2d542 add padding for future & clean 4 years ago
Ryan ZHAO 152d403e2b fix send attachments to open groups 4 years ago
Ryan ZHAO 9a00906069 WIP debug sending attachments 4 years ago
jubb ef3e172379 feat: add link device implementation and fixes for updating config syncs and forcing config syncs 4 years ago
Ryan ZHAO 0ea1ed15e7 WIP: make attachment work 4 years ago
Ryan ZHAO 4a9ac91e5f fix send text message to closed group 4 years ago
Ryan ZHAO 8acbb3c366 fix send text message to open group 4 years ago