Commit Graph

1488 Commits (63713aeb881d2d5e22f8375c8b44ec59f731ef57)

Author SHA1 Message Date
andrew efb5b27191 Fix divider color 1 year ago
0x330a 325abe020a Merge remote-tracking branch 'upstream/dev' into disappearing-messages
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationViewModel.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/helpers/SQLCipherOpenHelper.java
#	app/src/main/java/org/thoughtcrime/securesms/notifications/AndroidAutoReplyReceiver.java
#	app/src/main/java/org/thoughtcrime/securesms/repository/ConversationRepository.kt
#	app/src/main/res/layout/activity_conversation_v2_action_bar.xml
#	app/src/main/res/layout/expiration_dialog.xml
#	app/src/main/res/menu/menu_conversation_expiration.xml
#	app/src/main/res/menu/menu_conversation_expiration_on.xml
#	app/src/main/res/values/strings.xml
#	libsession/src/main/java/org/session/libsession/messaging/jobs/BatchMessageReceiveJob.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/control/MessageRequestResponse.kt
#	libsession/src/main/java/org/session/libsession/messaging/messages/signal/IncomingMediaMessage.java
#	libsession/src/main/java/org/session/libsession/messaging/messages/signal/IncomingTextMessage.java
#	libsession/src/main/java/org/session/libsession/messaging/messages/signal/OutgoingMediaMessage.java
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSenderClosedGroupHandler.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt
#	libsession/src/main/java/org/session/libsession/messaging/utilities/UpdateMessageBuilder.kt
#	libsession/src/main/java/org/session/libsession/snode/OnionRequestAPI.kt
#	libsession/src/main/java/org/session/libsession/snode/SnodeAPI.kt
#	libsignal/src/main/java/org/session/libsignal/protos/SignalServiceProtos.java
1 year ago
andrew 8d66d948ca Polish 1 year ago
andrew d6b1440217 Refactor MessageDetailsViewModel 1 year ago
andrew 7cd2bd0e0d Cleanup 1 year ago
andrew 6209ae68a8 Cleanup 1 year ago
andrew ee0141f82d Refactor to Components 1 year ago
andrew f82ed7718d Cleanup CarouselButton 1 year ago
Andrew 7da3e4f022
Fix blocked contacts button (#1264) 1 year ago
andrew 26aed783e8 Fix Divider padding 1 year ago
andrew 6890f5c448 Add image click listener 1 year ago
andrew d719660030 Add expand button 1 year ago
andrew 0fcd997290 Fix divider color 1 year ago
andrew 70e63a23bc Fix indicator colors 1 year ago
andrew 0ec93e4b36 Refactor CarouselButtons 1 year ago
andrew 1d29b5465f Refactor prev and next buttons 1 year ago
andrew db4ff94084 Add prev and next buttons to carousel 1 year ago
andrew 1902d4755c Add pager indicator 1 year ago
Stefan Junker ba4143c298
feat: increase voice recording limit to 5m (#1201) 1 year ago
andrew 1303979cdf Add image attachments 1 year ago
andrew 4decce9dde Add images 1 year ago
andrew d44dbe089f Wire up buttons 1 year ago
andrew 351b259449 Add error 1 year ago
andrew f68c01b2ee Populate profile pic 1 year ago
andrew 92fae3d6bf Add ProfilePictureView to MessageDetailActivity 1 year ago
andrew 876e12c411 Refactor ProfilePictureView 1 year ago
andrew 6d596226b3 Add user info 1 year ago
andrew 676c29ca60 Add click listeners 1 year ago
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 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 3f6229f841 Remove PushNotificationManager 1 year ago
andrew ba6eca2443 Add FirebasePushManager#unregister 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 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 346bdc1774 Merge remote-tracking branch 'upstream/dev' into bluetooth-manager-crash 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 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 945df19aef
Fix radio button selection transition (#1209) 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 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 30d748e147 Disable unblock button 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 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
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 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 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 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
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
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
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