0x330a
d8f8ab8fe1
Merge remote-tracking branch 'upstream/dev' into libsession-integration
2023-04-03 09:59:01 +10:00
hjubb
2a2f90276d
Merge branch 'master' into dev
2023-04-03 09:58:16 +10:00
0x330a
d5e4e6b7cd
Merge remote-tracking branch 'upstream/dev' into libsession-integration
...
# Conflicts:
# app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
# app/src/main/java/org/thoughtcrime/securesms/database/ThreadDatabase.java
# libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
# libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt
2023-03-31 13:41:41 +11:00
0x330a
45ec6ac218
refactor: make update listener visibility package
2023-03-31 13:38:25 +11:00
Morgan Pretty
eb739bdc9b
ANR Defensive Coding ( #1132 )
...
* Made a number of changes to try and improve background ANRs
Added some more logs to the BatchMessageReceiveJob (to make it easier to track a specific job)
Shifted the ConversationActivity adapter initialisation to run on a background thread to reduce the hang when opening a conversation
Updated the ConversationViewModel to cache the recipient and openGroup values to avoid accessing the database unnecessarily
Updated the code to just stop all current closed group pollers instead of fetching a list to stop
Updated the PN registration to be triggered in an AsyncTask
Updated the call code to unregister a couple of additional receivers
Updated the background poller so it waits for 15 mins before running and doesn't replace the existing scheduler (allows for PNs to trigger explicit background polling)
Fixed an issue where we were sending push notifications which were too large and likely to fail as a result (non-pre-offer call messages)
Fixed an issue where a failing Open Group poller could prevent the background poller from receiving and processing DMs
* Updated to a more coroutine-y convention
2023-03-31 13:24:36 +11:00
Morgan Pretty
5e28af2be4
Updated the code to use the network offset time everywhere relevant ( #1111 )
...
* Updated the code to use the network offset time everywhere relevant
* Updated the SnodeAPI.nowWithOffset to use @JvmStatic
2023-03-31 10:11:30 +11:00
0x330a
38454bedfc
fix: database update not deleting in certain circumstances, storage persisting and removing the volatile convo info for thread deletion / creation, NTS hidden getter values in shared library
2023-03-31 09:01:52 +11:00
0x330a
f111513211
feat: support thread deletion and refactoring a lot of getOrCreateThread references to go via storage or assume they are correctly set to hook into the contact and volatile creation during thread creation
2023-03-27 17:23:05 +11:00
0x330a
d3c55fad60
feat: support avatar removal from shared library
2023-03-27 11:07:14 +11:00
0x330a
03d3199ed2
Merge remote-tracking branch 'origin/libsession-integration' into libsession-integration
2023-03-24 11:18:32 +11:00
0x330a
aadbcf36d0
feat: add in activity finish if recipient no longer exists (deleted thread) from sync
2023-03-24 11:18:14 +11:00
0x330a
2af0cc7bb2
fix: open group sync persistence
2023-03-17 11:53:10 +11:00
0x330a
61e8935725
fix: handling user group updates bug fix for closed groups instead of all groups
2023-03-16 16:41:31 +11:00
0x330a
061cff8437
feat: open group joining should work now
2023-03-16 12:15:21 +11:00
Float-hu
a062e1c2b2
Update zh-rCN strings.xml ( #1129 )
2023-03-16 10:18:18 +11:00
0x330a
c28fe290df
feat: add almost all group editing cases, need to hook into the thread deletion for groups in the user groups
2023-03-15 17:24:17 +11:00
0x330a
eca5712282
feat: add expiration updates via config for contacts as well
2023-03-09 17:35:48 +11:00
0x330a
a9e6db4734
refactor: change how expiration timer works for contacts, set the expiration timer for those conversations in handling contact configs
2023-03-09 17:09:54 +11:00
0x330a
3318b53a1f
feat: add contacts expiry serialization/deserialization, more LGC, timestamps to add closed group encryption info (for latest tracking)
2023-03-09 12:27:58 +11:00
0x330a
0b4cff71e3
refactor: use existing lookup for objects in wrappers so they don't overwrite missing values
2023-03-08 18:04:26 +11:00
0x330a
3642aaa511
chore: extra missed existing group
2023-03-08 10:22:08 +11:00
0x330a
338de329ed
feat: add user group config handling
2023-03-07 17:10:07 +11:00
0x330a
c0a6137818
feat: implement the default user config list
2023-03-06 17:19:39 +11:00
0x330a
8d8325f16e
feat: adding user groups to the list of user configs, refactorign some of the config factory to fetch the user configs easier. Add handling for polling user group namespace
2023-03-06 17:16:42 +11:00
0x330a
66c997dfb2
feat: more usergroup functionality, storage functionality for checking pinned status, adding pinned status for NTS/contacts, move community info parse full url to base community, add StorageProtocol logic for group info
2023-03-06 15:27:06 +11:00
0x330a
2a701f2cc3
feat: finish latest wrappers fix tests and continue building default generation functions. refactor defaults to be used if no stored data blob in DB
2023-03-03 16:41:57 +11:00
0x330a
1e43ef7318
feat: adding more serialization changes for community base info and user groups LGC
2023-03-01 12:04:15 +11:00
0x330a
858893a0e9
feat: incorporate hashes from library, more wrapper for user groups and serialization from c++
2023-02-28 17:47:25 +11:00
0x330a
c351cd6038
feat: start to implement group list info classes and wrappers and refactor to use library based hashes
2023-02-27 17:31:40 +11:00
0x330a
c06c7eab19
feat: start implementing hashes in shared lib and refactoring
2023-02-27 13:12:01 +11:00
0x330a
c36387175d
fix: add some more contact syncing: nicknames, approved statuses, blocked statuses
2023-02-24 17:05:33 +11:00
0x330a
b3ae2e967f
refactor: trying to just include blocked status for now in updating contacts
2023-02-23 17:42:59 +11:00
0x330a
8a000fe5a9
feat: add basic contact logic for setting local contact state. Need to implement handling properly
2023-02-23 17:19:03 +11:00
0x330a
164810e533
feat: buffer the last read when in conversation
2023-02-23 11:33:05 +11:00
0x330a
055d37db5f
refactor: add more else branches for unimplemented types
2023-02-22 17:22:29 +11:00
0x330a
6006715b74
feat: start adding user groups wrapper objects
2023-02-22 17:02:25 +11:00
0x330a
548862c37d
fix: getters weren't getters properly in the config factory, fixed new onboarding from configs
2023-02-21 17:50:11 +11:00
0x330a
e159e4ad52
fix: fix the contact tests
2023-02-21 17:07:55 +11:00
0x330a
39c532240c
fix: compile errors from updating library to use latest branch, now requires cmake 3.22.1
2023-02-21 15:45:22 +11:00
0x330a
0dff619aa9
fix: replace the mark read receiver (from notifications) to use the new set last seen mark read logic
2023-02-21 14:44:32 +11:00
0x330a
621e564023
feat: batching poll responses properly and handling groups properly
2023-02-21 13:26:19 +11:00
0x330a
8c512c7b6e
fix: unreads work now for incoming messages, need to sync conv volatile properly still
2023-02-20 17:36:35 +11:00
0x330a
1b580cca1b
Merge remote-tracking branch 'upstream/dev' into libsession-integration
...
# Conflicts:
# app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
# libsession/src/main/java/org/session/libsession/database/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/jobs/BackgroundGroupAddJob.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/BatchMessageReceiveJob.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/GroupAvatarDownloadJob.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/Job.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/JobQueue.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/MessageReceiveJob.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/NotifyPNServerJob.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/OpenGroupDeleteJob.kt
# libsession/src/main/java/org/session/libsession/messaging/jobs/TrimThreadJob.kt
2023-02-20 11:52:25 +11:00
0x330a
66fb6b30e9
feat: add broken unreads everywhere
2023-02-17 17:51:28 +11:00
Morgan Pretty
391418ae1e
Merge pull request #1107 from mpretty-cyro/fix/group-avatar-download-job-duplication
...
Fixed a few issues related to the GroupAvatarDownloadJob
2023-02-17 10:16:22 +11:00
0x330a
2f2ebe9451
feat: add basic message read logic for synchronizing last reads, need to modify the query to use the last seen instead of the unread count in a subquery possibly for thread display record
2023-02-15 17:29:29 +11:00
Morgan Pretty
c8846bc31a
Merge pull request #1118 from mpretty-cyro/feature/add-copy-to-long-press-menu
...
Add ‘Copy community URL’ to the long-press menu
2023-02-15 15:40:47 +11:00
Morgan Pretty
5bd188387b
Merge pull request #1112 from mpretty-cyro/fix/link-preview-layout-issues
...
Fixed a few layout issues with the LinkPreviewView
2023-02-15 15:39:37 +11:00
Morgan Pretty
cc7a80900f
Added copy session id and community url to the conversation long press menu
2023-02-14 16:43:55 +11:00
Morgan Pretty
da0d38f389
Updated the copy for the Giphy warning prompt
2023-02-14 16:17:25 +11:00