Commit Graph

1784 Commits (63713aeb881d2d5e22f8375c8b44ec59f731ef57)

Author SHA1 Message Date
andrew ac476f4382 Add icons and respect nullability 1 year ago
andrew d5b3d9bcf9 Improve theming 1 year ago
andrew 0c2682fe47 Improve compose theming 1 year ago
andrew fc108b34db Create Message Details screen 1 year ago
andrew ab8b2c42b9 Add jetpack compose 1 year ago
andrew 97297508f4 Simplify ExpirationDialog 1 year ago
andrew 20eac67761 simplify 1 year ago
andrew 4ee8dc712e Fix + button in rationale dialog 1 year ago
andrew b46b52ace4 Merge branch 'dev' into utilise-dialog-dsl 1 year ago
andrew 8be088ad56 Reinstate v1 PNServerJob 1 year ago
andrew e3f60eb5f2 Fix individual group subs 1 year ago
andrew 42cfce0c3e Refactor v1 and v2 1 year ago
andrew 0e0ab9151e cleanup 1 year ago
andrew 5c9dc36460 Merge branch 'dev' into add-unregister 1 year ago
Andrew b9f24bc4bd
Add button downstates to appearance settings screen (#1224) 1 year ago
Andrew 92a6447b8a
Add button downstates throughout (#1220) 1 year ago
andrew 667af27bfb Utilise TokenManager and ExpiryManager 1 year ago
andrew 153aa4ceaa Reinstate push v1 1 year ago
andrew 440a5a942d Merge branch 'dev' into utilise-dialog-dsl 1 year ago
Andrew cc015c45bd
Add 50 dp buffer to isScrolledToBottom (#1228) 1 year ago
andrew be4d742e84 Unregister v1 push 1 year ago
andrew 01d80ae54b cleanup PushNotificationAPI 1 year ago
andrew 3f6229f841 Remove PushNotificationManager 1 year ago
andrew ba6eca2443 Add FirebasePushManager#unregister 1 year ago
Morgan Pretty f0486061b1 build: increment build number 1 year ago
Morgan Pretty 026b994664
Merge pull request #1238 from oxen-io/fix/modal-backgrounds
Fix broken modal styling from 1.16.8
1 year ago
Morgan Pretty 80104f6db8 [SES-627] Fixed an issue where the DocumentView could run off the screen 1 year ago
Morgan Pretty 7699e47f7b Responded to PR comments 1 year ago
Morgan Pretty 11c1fd382d Fixed a few issues with the OpenGroupPoller
Fixed an issue where the admin/moderator status wasn't getting stored if set before joining a community
Fixed an issue where multiple pollers for the same server could run at the same time when joining multiple rooms within the same app run (very noticeable when restoring/linking)
1 year ago
andrew 1efda68334 Merge branch 'dev' into utilise-dialog-dsl 1 year ago
Morgan Pretty 22a30f1907 Fixed the MediaSendFragment progress dialog 1 year ago
Morgan Pretty 082c087105 Added the custom dialog windowBackground back (fix permission dialogs) 1 year ago
Morgan Pretty 9ce89087a5 Updated the dialog dim amount to match the style guide 1 year ago
Morgan Pretty cea65f3e45 Fixed an issue where a bunch of dialog backgrounds were missing 1 year ago
Morgan Pretty 6edf0d46f8 build: increment build number 1 year ago
Morgan Pretty 31608111b3 Merge remote-tracking branch 'upstream/master' into dev 1 year ago
Morgan Pretty 7f7ab63d15
Merge pull request #1164 from RyanRory/bluetooth-manager-crash
Fix crash & ANRs
1 year ago
Morgan Pretty f1686ea260
Merge pull request #1236 from bemusementpark/fix-dialog-theme-background
Fix dialog theme to set windowColor and not background of every view
1 year ago
andrew e5db7fc886 Fix dialog theme so it sets window color and not background of every child view 1 year ago
Morgan Pretty 9d5fa1239c Commented out the plus button on the replace profile modal 1 year ago
Morgan Pretty 346bdc1774 Merge remote-tracking branch 'upstream/dev' into bluetooth-manager-crash 1 year ago
Morgan Pretty 6c14ed26e2
Merge pull request #1229 from bemusementpark/fix-long-message
[SES-571] Fix long message not visible on react
1 year ago
Morgan Pretty f21100eff7 [SES-569] Merge branch 'fix-pic' into bluetooth-manager-crash 1 year ago
andrew a6cfe5817d Change unset profile pic in dialog 1 year ago
Morgan Pretty c92ef09d09 [SES-570] Fixed an issue where quotes weren't using their quoted message media 1 year ago
andrew e99133fd8b Fix back button background in light themes 1 year ago
andrew 09b241ba67 Fix dialog#view(layoutRes) 1 year ago
Morgan Pretty 1980113e41 [SES-566] Fixed an issue where the blocked state wasn't syncing 1 year ago
andrew 94b48d5fb9 Utilise dialog dsl in DeleteMediaPreviewDialog 1 year ago
andrew 975f9fc4d1 Utilise dialog dsl in DeleteMediaDialog 1 year ago
andrew 033eabbc53 Utilise dialog dsl in SettingsDialog 1 year ago
andrew 4641512644 Utilise dialog dsl in RationaleDialog 1 year ago
Morgan Pretty 2b7bd7417e [SES-567] Fixed a couple of issues where the Group poller would be stopped during creation 1 year ago
andrew cbe90e7bfc Cleanup ConversationReactionOverlay 1 year ago
andrew 6d528d0e92 Fix long message not visible on react 1 year ago
andrew 72c07f4b99 Utilise dialog dsl in PrivacySettingsPreferenceFragment 1 year ago
andrew 80f21aeb41 Convert PrivacySettingsPreferenceFragment to Kotlin 1 year ago
andrew c5f821add0 Utilise dialog dsl in ExpirationDialog 1 year ago
andrew 50271685af Utilise dialog dsl in MuteDialog 1 year ago
andrew 623cfde8b1 Utilise dialog dsl in CallToggleListener 1 year ago
andrew 391735dc28 Convert CallToggleListener to Kotlin 1 year ago
andrew 4e92c40210 Remove BaseDialog and utilise dialog DSL 1 year ago
andrew 1d8d678047 Make kotlin code use dialog dsl 1 year ago
andrew 4ee68cbbb1 Utilise dialog dsl 1 year ago
andrew 1b88d4f950 Utilise dialog dsl 1 year ago
Morgan Pretty 9b7fb3dd86 Removed the JobDatabase since it's no longer used 1 year ago
Morgan Pretty b7744f4f2d Addressed PR feedback 1 year ago
Morgan Pretty c77d465438 Merge remote-tracking branch 'upstream/dev' into bluetooth-manager-crash
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupExporter.kt
#	app/src/main/java/org/thoughtcrime/securesms/backup/FullBackupImporter.kt
1 year ago
Morgan Pretty 0c2a635d03 Merge remote-tracking branch 'upstream/dev' into bluetooth-manager-crash 1 year ago
Morgan Pretty 10af2815ac
Merge pull request #1176 from bemusementpark/sync-everything
Synchronize usage of Cipher
1 year ago
Andrew e8d26222b9
Fix scroll to bottom button visibility (#1219) 1 year ago
andrew 0af713317a Merge branch 'dev' into sync-everything 1 year ago
Morgan Pretty 22ed2dd8aa
Merge pull request #1205 from bemusementpark/disable-unblock
Disable unblock button
1 year ago
Morgan Pretty d541f395a5
Merge pull request #1213 from bemusementpark/fix-id-divider-color
Fix ID divider color
1 year ago
andrew 03aa19aae4 . 1 year ago
Andrew 5519f17775
Truncate session id when displayed as username (#1215) 1 year ago
Andrew 331d523c45
Improve notification content dialog (#1211) 1 year ago
Andrew 47d5b242ca
Fix share button color (#1212) 1 year ago
Andrew 1b231bfff3
Fix dialog button style (#1214) 1 year ago
Andrew 945df19aef
Fix radio button selection transition (#1209) 1 year ago
Andrew 95a165aa05
Fix TabLayout ripple (#1210) 1 year ago
andrew 55dd62240a Fix size & space 1 year ago
andrew ff124b8edc Fix ID divider color 1 year ago
andrew a295dfb248 Cleanup 1 year ago
andrew 8b39c4e56a polish 1 year ago
andrew 76466e57de Fix ripple 1 year ago
andrew 4f2ef7f2af Add SelectableItem<> 1 year ago
andrew 8ef6ec2125 . 1 year ago
Andrew d505109aa3
Merge branch 'dev' into disable-unblock 1 year ago
Andrew a8e77659b3
Add remove avatar 1 year ago
Andrew 8f55ac93f8
Fix accept button color 1 year ago
Andrew 6fc7b3591e
Fix ripple color 1 year ago
andrew 30d748e147 Disable unblock button 1 year ago
Jason Rhinelander 46acd7878d
New SPNS subscription and notifications
Finishes the WIP for subscribing to push notifications and handling the
new-style pushes we get.
1 year ago
andrew 235b94a905 Fix ripple color 1 year ago
Andrew f64fe4b652
Fix device notification settings preference color 1 year ago
andrew 8c5ff1f944 Fix dialog button color 1 year ago
andrew a334b8912a Fix device notification settings preference color 1 year ago
Andrew ab3caf8ab5
Fix message entrance coordinates 1 year ago
Andrew 44cb8fec2c
Remove reply from context menu when you can't write 1 year ago
Andrew e6dc5f2128
Fix links not working when message is partially offscreen 1 year ago
Andrew fef2948f58
Fix scroll to bottom button position when input not visible 1 year ago
Andrew 57476cd56e
Fix scroll to bottom button always visible if last item is taller than RecyclerView 1 year ago
Andrew ba9dab33c5
Synchronize Cipher in KeystoreHelper 1 year ago
Andrew aadba75038
Add sync status message 1 year ago
Andrew 84004d2fdb
Swallow exceptions in ScreenshotObserver 1 year ago
Andrew 910ab8874e
Remove laid out check before drawToBitmap 1 year ago
ryanzhao a7e0bd5366 Merge branch 'dev' into bluetooth-manager-crash 1 year ago
ryanzhao 88e788a406 clean 1 year ago
Andrew 8dbabec4e7
Fix send after approval message (#1178)
* Fix send after approval message

* Fix logic

* Utilise isLocalNumber
1 year ago
Andrew 2b00729df3
Fix message request button overlap (#1188) 1 year ago
Andrew ba3566f7e8
Fix approval text position when input bar is gone (#1181) 1 year ago
ryanzhao 89545f0406 further clean up 1 year ago
andrew d20c27d6d3 Remove laid out check before drawToBitmap 1 year ago
andrew 4469d9754a Fix bubble entrance coordinates 1 year ago
andrew c8fa2d8d6e Remove reply from context menu when you can't write 1 year ago
ryanzhao fa71ea1850 make RetrieveProfileAvatarJob work 1 year ago
andrew 8d38d1c0fb Fix links not working when message is partially offscreen 1 year ago
Ryan Zhao b494088c3d WIP: further refactor on old jobs 1 year ago
andrew b6667b83ce Fix scroll to bottom button position when input not visible 1 year ago
andrew f0715f16e0 Fix scroll to bottom button always visible if last item is taller than RecyclerView 1 year ago
Ryan Zhao 2ceb9e2bf4 clean up old job manager 1 year ago
Ryan Zhao 2b48b52df0 remove unused jobs and wrap up old job refactoring 1 year ago
andrew ec2abffdcc Remove logs 1 year ago
andrew e9a15941ae Fix colors 1 year ago
ryanzhao 375815c719 WIP: refactor on jobs using old job table 1 year ago
andrew 6a5d97a0f0 Fix something 1 year ago
andrew a9078c8d08 ...and the rest 1 year ago
andrew a152250a60 Add comments 1 year ago
andrew 24741fcc22 Synchronize Cipher in KeystoreHelper 1 year ago
andrew d3ce899a80 Synchronize all Cipher#doFinal 1 year ago
andrew 45eb3549f6 Add sync status message 1 year ago
ryanzhao d868021f0a move job running status from database to memory 1 year ago
ryanzhao 7a14c3f8be Merge branch 'dev' into bluetooth-manager-crash 1 year ago
Andrew 99cb10f5be
Add send approval message (#1157) 1 year ago
Andrew 83b6002a27
Fix emoji misalignment (#1155) 1 year ago
Andrew a934c5c2e2
Fix missing media progress (#1151) 1 year ago
Andrew 70aab2994b
Refactor MmsDatabase (#1169) 1 year ago
Ryan Zhao 2630c97a4e add where clause for marking all jobs pending to reduce the time for writing to db 1 year ago
ryanzhao bd4f451513 Merge branch 'dev' into bluetooth-manager-crash 1 year ago
andrew 58e532f0ec Swallow screenshot exceptions 1 year ago
Andrew Gallasch ffef98ecc9
Fix LandingActivity textColor (#1159) 1 year ago
Andrew Gallasch 5d552a7f93
Remove unnecessary api version checks in WindowUtil (#1163) 1 year ago
Andrew Gallasch 716fc1f4fa
Add SafeViewPager to fix touch exception in MediaPreviewActivity (#1166) 1 year ago
Andrew Gallasch 7d33177e06
Fix status and nav bar colors (#1165) 1 year ago
Ryan Zhao c7bbdb778b minor refactor 1 year ago
Ryan Zhao 51856138e3 refactor on SignalAudioManager 1 year ago
0x330a d2e80c3157
feat: re-add bencode utility and fix tests to use bytearray instead of assuming utf-8 encoding for strings 1 year ago
0x330a 7762d534bb
feat: add no op push manager for de-googled 1 year ago
0x330a 8d4f2445f2
feat: add support for firebase and split out google services as a dependency for only the play version of the app. Add support for requests in new pn server 1 year ago
0x330a 2246a5d9ce feat: introduce new pns models and wire kotlinx serialization to apply in libsession 1 year ago
Andrew Gallasch 63d442584c
Fix empty message behind media message (#1150) 1 year ago
SzBenedek2006 7b0c014791
Fix hungarian translations (#1140) 1 year ago
hjubb e1ff2bf988 build: update build number 1 year ago
0x330a b25eb9af8e
Use new seed node certificates (#1144)
* fix: use new seed node certificates

* refactor: don't need to include subdomains actually
1 year ago
wafflesvsfrankie 9ad73139b6
Add accessibility tags (#1054)
* adding accessibility id to new conversation button

* adding accessibility ids and strings for testing

* updating id tags for new conversation buttons

* accessibility tags for create contact test

* adding ids for message requests, config message, requests banner and conversation view

* adding more tags to settings page

* adding tags to different resolutions for landing page

* updating display name in settings to include accessibility id

* found some stashed changes which i forgot about

* more stashed changes

* adding tags to layout sw400dp

* closed group testing, delete/unsend message testing and selecting contacts tag

* adding tags for message body, selecting contacts for group creation, deleted message config, unsend message modal, and trash icon

* added tags for disappearing messages menu option, time selector, clock icon, confirm of change (ok)and control message

* add test for block user

* docs: Adding in accessibility ID's for Appium testing

* accessibility tags for conversation options, profile picture/settings and block options

* Add content descriptions for better accessibility

* Add more content descriptions

* Add timer icon content description

* Update profile picture content description

* Adding accessibility ids to new conversation creation screen and to message notification settings

* fix: content descriptions in their correct places and prevent a crash

* build: update build number

* build: update build number

* Adding back in FrameLayout, making changes as request

* Fixed viewPager move

* Fixing changes as requested by Jubb

* Adding content descriptions to mentions list, voice message settings, link preview permissions, closed group menu and slow mode notifications option

* Adds content descriptions to blocked contacts heading in conversations settings, individual contacts in blocked contacts page and to empty message requests folder

* Adds content descriptions to empty message request folder and text input box for username on settings page

---------

Co-authored-by: charles <charles@oxen.io>
Co-authored-by: hjubb <hjubb@users.noreply.github.com>
1 year ago
hjubb cfdc3dc24d build: update build number 1 year ago
hjubb 2a2f90276d Merge branch 'master' into dev 1 year ago
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
1 year ago
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
1 year ago
Float-hu a062e1c2b2
Update zh-rCN strings.xml (#1129) 1 year ago
Morgan Pretty 391418ae1e
Merge pull request #1107 from mpretty-cyro/fix/group-avatar-download-job-duplication
Fixed a few issues related to the GroupAvatarDownloadJob
1 year ago
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
1 year ago
Morgan Pretty 5bd188387b
Merge pull request #1112 from mpretty-cyro/fix/link-preview-layout-issues
Fixed a few layout issues with the LinkPreviewView
1 year ago
Morgan Pretty cc7a80900f Added copy session id and community url to the conversation long press menu 1 year ago
Morgan Pretty da0d38f389 Updated the copy for the Giphy warning prompt 1 year ago
Morgan Pretty 4df530d341 Code review changes 1 year ago
Qian Hong 47066a320c
fix: Increase contrast between selected messages and window background. Fixes #1110 (Plan B) (#1116) 1 year ago
Morgan Pretty bbedad5ebb Fixed a few layout issues with the LinkPreviewView 1 year ago
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
1 year ago
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
1 year ago
hjubb 48799db21c build: update build number 1 year ago
hjubb 378fb40984 Merge branch 'dev' 1 year ago
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
1 year ago
Morgan Pretty 50989cb2ee Increased file upload limits to 10Mb 1 year ago
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
1 year ago
hjubb 4e38b75f57 build: update build number 1 year ago
Morgan Pretty 7ffe48b5ed Fixed an issue where the message bubble could be sized incorrectly 1 year ago
Morgan Pretty 5d7d141d0c Added a missing parameter to the SMS & MSS projections 1 year ago
Morgan Pretty 30615be029 Fixed a build error in the MockDataGenerator 1 year ago
Morgan Pretty 87f1d708b1 Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator
# Conflicts:
#	app/src/main/res/values/themes.xml
1 year ago
Morgan Pretty fff0e5a32d Merge remote-tracking branch 'upstream/dev' into pinned-message-icon-color
# Conflicts:
#	app/src/main/res/values/themes.xml
1 year ago
Morgan Pretty 2711a6dd5f
Merge pull request #994 from ceokot/message-request-response
Add profile data to message request responses
1 year ago
Morgan Pretty 1ce9e47c51
Merge pull request #991 from ceokot/groups-push-message-sender-name
fix: Show message sender in push notifications for groups
1 year ago
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
1 year ago
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
1 year ago
Morgan Pretty e44ae140e0 Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator
# Conflicts:
#	app/src/main/res/values/themes.xml
1 year ago
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
1 year ago
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
1 year ago
Morgan Pretty 23dca5b38d Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator 1 year ago
Morgan Pretty 025989f928
Merge pull request #1069 from mpretty-cyro/feature/performance-improvements
Performance improvements
1 year ago
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
1 year ago
Morgan Pretty e0785c4854 Added in fixes and defensive coding for the most frequent crashes
Fixed a crash which could occur when dealing will calls in the background on Android 12 and newer
Fixed a crash when we don't have permission to check the current call state
Fixed a crash when the ScreenshotObserver receives an invalid Uri (just prevent the specific case)
1 year ago
Morgan Pretty ebe8479e4c Resolved PR comments 1 year ago
0x330a 86b065203f
fix: prevent very old messages (15 minutes ago) being processed to prevent endless crashes in some cases 1 year ago
Morgan Pretty a6f09c6fef Added some defensive coding to help prevent incorrect message statuses 1 year ago
Morgan Pretty 8a4a9623cc Fixed an edge case where an OpenGroup might not download it's image 1 year ago
Morgan Pretty 0ed5c5825d Cleaned up some of the error logging 1 year ago
Morgan Pretty afa42daab1 Updated the 'scrollToBottom' behaviour to be more efficient 1 year ago
Morgan Pretty 810430e806 Fixed a couple of issues with the OpenGroupDeleteJob
Updated the OpenGroupDispatcher to have a thread limit of 8 (was previously unlimited which could result in the app getting flooded with threads under certain conditions)
Updated the OpenGroupDeleteJob to do bulk deletions (instead of individual message deletions)
Updated the OpenGroupDeleteJob to catch and report failures (wasn't previously happening)
1 year ago