Commit graph

8050 commits

Author SHA1 Message Date
hjubb cfdc3dc24d build: update build number 2023-04-03 17:12:41 +10:00
hjubb 2a2f90276d Merge branch 'master' into dev 2023-04-03 09:58:16 +10: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
Ian Macdonald 405b8c7d28
Allow user display names of up to 64 bytes. (#981) 2023-03-16 10:38:49 +11:00
Float-hu a062e1c2b2
Update zh-rCN strings.xml (#1129) 2023-03-16 10:18:18 +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
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 7df7412a77
Merge pull request #1108 from mpretty-cyro/fix/invalid-pn-server-job-crash
Fix failing PNServerJob issue
2023-02-15 15:39:14 +11:00
Morgan Pretty 5949a158d5
Merge pull request #1117 from mpretty-cyro/feature/update-giphy-warning-copy
Updated the copy for the Giphy warning prompt
2023-02-15 10:18:42 +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
Morgan Pretty 4df530d341 Code review changes 2023-02-14 14:10:47 +11:00
Qian Hong 7e7c016bc4
Update APK url to Oxen repo (#1114) 2023-02-14 14:05:28 +11:00
Qian Hong 47066a320c
fix: Increase contrast between selected messages and window background. Fixes #1110 (Plan B) (#1116) 2023-02-13 18:26:55 +11:00
Morgan Pretty bbedad5ebb Fixed a few layout issues with the LinkPreviewView 2023-02-10 14:33:19 +11:00
Morgan Pretty 9fd68d27f8 Fixed a few issues with the GroupAvatarDownloadJob
Added a method to remove the Group avatar
Fixed an issue where the recipient diffing on the HomeActivity wasn't working properly
Fixed an issue where the GroupAvatarDownloadJob could be scheduled even when there was already one scheduled
2023-02-10 10:05:28 +11:00
Morgan Pretty 97458a4baa Added a missing constructor 2023-02-08 14:04:02 +11:00
Morgan Pretty cd3b8f3571 Fixed a few issues related to the GroupAvatarDownloadJob
Added logic to avoid scheduling a GroupAvatarDownloadJob if there is already an existing one with the same parameters
Added logic to avoid trying to download an old avatar for a group if there is a new one
Added logic to prevent an old GroupAvatarDownloadJob from overriding a valid avatar with an old one
2023-02-08 13:42:35 +11:00
hjubb 48799db21c build: update build number 2023-02-06 16:03:49 +11:00
hjubb 378fb40984 Merge branch 'dev' 2023-02-06 16:03:19 +11:00
0x330a 395ada62ff
Update French translations (#1103)
* chore: update french translations file from crowdin

* chore: update french translations libsession file from crowdin

* chore: update french non-region translations file from crowdin

* chore: update french non-region libsession translations file from crowdin
2023-02-06 16:01:16 +11:00
Morgan Pretty 40f315af8e
Merge pull request #1102 from mpretty-cyro/fix/non-blocking-migration-and-extras
Fixed a few bugs, added logging and removed some old code
2023-02-06 16:00:36 +11:00
Morgan Pretty 50989cb2ee Increased file upload limits to 10Mb 2023-02-06 14:22:26 +11:00
Morgan Pretty 0256735135 Fixed a few bugs, added logging and removed some old code
Added the ability to copy the sessionId of open group URL from the conversation menu
Added additional logging to the BatchMessageReceiveJob to make future debugging easier
Removed the OpenGroupMigrator
Updated the JobQueue logging to provide more insight
Fixed an issue where the database migrations weren't blocking which could result in failing/crashing SQL queries
Fixed an issue where the new database file wouldn't be removed if a migration error was thrown
Fixed an issue where the new database could exist in an invalid state and the app wouldn't attempt to remigrate
Fixed an incorrectly throw exception in the PassphrasePromptActivity
2023-02-03 13:33:52 +11:00
hjubb 4e38b75f57 build: update build number 2023-01-30 17:02:11 +11:00
Morgan Pretty cf916a5762
Merge pull request #1092 from mpretty-cyro/fix/qa-issues
Fixing issues uncovered during QA
2023-01-30 10:10:37 +11:00
Morgan Pretty 7ffe48b5ed Fixed an issue where the message bubble could be sized incorrectly 2023-01-27 15:19:02 +11:00
Morgan Pretty 0a391b8c88
Merge pull request #1090 from mpretty-cyro/fix/cursor-issues
Fixing issues found during QA
2023-01-27 10:21:21 +11:00
Morgan Pretty 5d7d141d0c Added a missing parameter to the SMS & MSS projections 2023-01-25 17:19:23 +11:00
Morgan Pretty 081d1c4e93
Merge pull request #1089 from mpretty-cyro/fix/build-issue
Fixed a build error in the MockDataGenerator
2023-01-24 15:56:45 +11:00
Morgan Pretty 30615be029 Fixed a build error in the MockDataGenerator 2023-01-24 15:56:14 +11:00
Morgan Pretty abf733fbdb
Merge pull request #1082 from mpretty-cyro/feature/unread-mention-indicator
Added the unread mention indicator to the conversation list
2023-01-24 15:53:54 +11:00
Morgan Pretty 87f1d708b1 Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator
# Conflicts:
#	app/src/main/res/values/themes.xml
2023-01-24 15:44:22 +11:00
Morgan Pretty f8c700793a
Merge pull request #1012 from ceokot/pinned-message-icon-color
fix: Use text color secondary for conversation pinned icon
2023-01-24 15:42:51 +11:00
Morgan Pretty 05838faaf0 Updated the unread count logic to recalculate correctly 2023-01-24 15:41:44 +11:00
Morgan Pretty fff0e5a32d Merge remote-tracking branch 'upstream/dev' into pinned-message-icon-color
# Conflicts:
#	app/src/main/res/values/themes.xml
2023-01-24 15:11:09 +11:00
Morgan Pretty 2711a6dd5f
Merge pull request #994 from ceokot/message-request-response
Add profile data to message request responses
2023-01-24 14:53:09 +11:00
Morgan Pretty 1ce9e47c51
Merge pull request #991 from ceokot/groups-push-message-sender-name
fix: Show message sender in push notifications for groups
2023-01-24 14:52:50 +11:00
Morgan Pretty 63debb34e6
Merge pull request #990 from ceokot/message-request-fixes
fix: Disable typing and message requests in read-only open groups
2023-01-24 14:52:41 +11:00
Morgan Pretty ce3aa980aa Merge remote-tracking branch 'upstream/dev' into message-request-fixes
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/groups/OpenGroupManager.kt
#	libsession/src/main/java/org/session/libsession/messaging/open_groups/OpenGroup.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/OpenGroupPoller.kt
2023-01-24 14:48:54 +11:00
Morgan Pretty 251df065f8 Merge remote-tracking branch 'upstream/dev' into message-request-response
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
2023-01-24 14:44:56 +11:00
Morgan Pretty e44ae140e0 Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator
# Conflicts:
#	app/src/main/res/values/themes.xml
2023-01-24 14:24:33 +11:00
Morgan Pretty beabc1c686
Merge pull request #1079 from mpretty-cyro/feature/read_status_updates
Added the updated delivery status UI
2023-01-24 14:20:56 +11:00
Morgan Pretty bc20811431 Merge remote-tracking branch 'upstream/dev' into feature/read_status_updates
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt
#	app/src/main/res/values/strings.xml
2023-01-24 14:10:14 +11:00
Morgan Pretty dc9458f313 Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/attachments/DatabaseAttachmentProvider.kt
#	libsession/src/main/java/org/session/libsession/database/MessageDataProvider.kt
2023-01-24 14:02:08 +11:00
Morgan Pretty 23dca5b38d Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator 2023-01-24 14:00:07 +11:00
Morgan Pretty 025989f928
Merge pull request #1069 from mpretty-cyro/feature/performance-improvements
Performance improvements
2023-01-24 13:59:32 +11:00
Morgan Pretty bdac7f2ea3
Merge pull request #1087 from 0x330a/fix/expire-old-call-messages
Prevent very old messages (15 minutes ago) being processed to prevent endless crashes in some cases
2023-01-24 13:59:19 +11:00