Commit Graph

2181 Commits

Author SHA1 Message Date
Andrew
706e5766bb Fix multiple link previews 2024-04-17 15:35:41 +09:30
Andrew
200bf0d991 Disable swipe to reply on open group invites 2024-04-16 13:14:06 +09:30
AL-Session
96510946c6
SES-1727 Mentions text is the wrong colour (#1454)
* Fixes #1453

* Cleanup

* Code review adjustments

* Adjusted mentions to use the accent colour as their background colour when using light themes

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-04-16 13:37:13 +10:00
Andrew
9d0fe7581c Hide reply app bar menu item for open group invite 2024-04-16 12:47:34 +09:30
Andrew
bff1a12155
Merge pull request #1283 from bemusementpark/prefix-conversation
[SES-621] Add message sender to ConversationActivity
2024-04-16 11:37:57 +09:30
Andrew
c64868de18
Merge pull request #1457 from bemusementpark/fix-missing-icon-light-theme
[SES-1754] Fix message menu icons not visible in light theme
2024-04-16 11:28:32 +09:30
Andrew
034ab851ff
Merge pull request #1452 from bemusementpark/ses-1728
[SES-1728] Fix spacing when title is absent
2024-04-16 11:17:31 +09:30
Andrew
9d1762eab0 Fix message menu icons not visible in light theme 2024-04-13 00:27:45 +09:30
Andrew
8f69d57374 Fix multiple quote previews 2024-04-13 00:04:33 +09:30
Andrew
fe58ad4052 Ignore swipe reply to open group invitation 2024-04-12 15:32:04 +09:30
Andrew
2f116c1316 Remove reply from context menu for open group invitations 2024-04-12 15:22:54 +09:30
Andrew
22660fd49c Hide reply button in MessageDetails for group invitations 2024-04-12 14:12:08 +09:30
Andrew
6960d0c704 Fix spacing when title is absent 2024-04-12 11:37:45 +09:30
Andrew
c589bed249 Update settings 2024-04-11 14:20:32 +09:30
0x330a
1d9ac6ac10
build: update build number 2024-04-10 15:31:33 +10:00
Andrew
85c7a23235 Refactor 2024-04-10 12:38:02 +09:30
Andrew
d044a4090d [SES-1064] New Message Errors and Help Url 2024-04-10 12:34:56 +09:30
Andrew
1f04a0f0ff Cleanup 2024-04-10 12:21:23 +09:30
Andrew
35d176c71e Handle case where there are no messages 2024-04-09 12:36:11 +09:30
Andrew
c4309c9fba Merge branch 'dev' into prefix-conversation 2024-04-09 12:25:14 +09:30
Andrew
ee2b20080b Add Open URL accessibilityId 2024-04-09 10:30:41 +09:30
Andrew
eb958bac4e Merge branch 'on' into on-2 2024-04-09 10:29:05 +09:30
Andrew
1ace9ea86c Merge branch 'dev' into on 2024-04-09 10:13:31 +09:30
Andrew
ac97529c73 Remove unnecessary shared pref 2024-04-09 08:21:41 +09:30
AL-Session
165ade7259
SES1688 - Deleting last message in conversation, group, or community leaves the RecyclerView in a broken state (#1449)
* Initial fix implemented

* Fixes #1448

* Addressed PR feedback
2024-04-08 15:31:05 +10:00
Al Lansley
0ab0ecbb55 Addressed PR feedback 2024-04-08 15:23:00 +10:00
Andrew
7d7d2b89bd Refactor temporary button text 2024-04-08 14:30:53 +09:30
Andrew
b8b98f436d AccessibilityIds 2024-04-08 13:57:24 +09:30
Al Lansley
dce0fd8413 Fixes #1448 2024-04-08 14:08:40 +10:00
Al Lansley
ad51746e84 Initial fix implemented 2024-04-08 13:53:18 +10:00
Andrew
b5af8de4f9 Show tada emoji empty screen on new account 2024-04-08 11:36:09 +09:30
Andrew
d65915af0e Update HomeActivity 2024-04-08 09:24:25 +09:30
Andrew
6b0a7cd369 Make copy to copied button transition temporary 2024-04-05 11:39:46 +10:30
Andrew
2cc83cd650 Updates for code review 2024-04-04 22:14:55 +10:30
Al Lansley
0146a2975f Cleanup 2024-04-04 13:36:14 +11:00
Al Lansley
f6d21534e0 Addressed PR feedback 2024-04-04 13:34:08 +11:00
AL-Session
34eedc0fdb
Tiny adjustment to center user name in Settings activity (#1446) 2024-04-04 12:04:39 +11:00
AL-Session
be11b1659f
SES1567 - Community message delivery status fix (#1442)
* Initial investigation

* WIP

* Continued work to track down cause of delivery status issue

* Fixes #1438

* Cleanup for PR

* Further cleanup

* Fixed merge conflict

* Addressed PR feedback

---------

Co-authored-by: alansley <aclansley@gmail.com>
2024-04-04 11:37:39 +11:00
Al Lansley
48a95a1357 Merged dev & fixed conflicts 2024-04-04 11:35:02 +11:00
Al Lansley
04fb296787 Fixes #1346 - properly this time! 2024-04-04 11:27:47 +11:00
Al Lansley
d65705c845 Push before cleanup 2024-04-04 10:15:15 +11:00
Al Lansley
73f11c5a4f Merge branch 'dev' into SA1346_AppCrashOnNonAlphanumericFirstCharSearch 2024-04-04 07:37:35 +11:00
Andrew
3ae2dc5bc5 Merge branch 'dev' into on 2024-04-03 10:02:44 +10:30
Andrew
f89e4705d5 Update New Message Screen 2024-04-03 09:48:15 +10:30
Al Lansley
7a7ea8909d
SES-1251 - App crash on non alphanumeric first char search (#1393)
* Investigation in progress

* Working fix push before cleanup

* Fixes #1346

* Removed unused logging imports

* Put back some whitespace

* Minor cleanup
2024-04-03 10:04:48 +11:00
Al Lansley
d3c8635748
SES-697 - Add loading state when exporting logs (#1402)
* WIP

* Fixes #1401

* Cleanup from PR view

* Final cleanup

* Removed commented line of code & re-ordered comment

* Addressed PR feedback

* Re-allowed loading of avatars to throw exceptions rather than return null on failure

---------

Co-authored-by: = <=>
2024-04-03 09:53:20 +11:00
Al Lansley
fef965bcb5
SES-1356 - List of recently used reaction emojis is not accurate (#1400)
* WIP

* Further WIP

* Push prior to cleanup

* Fixes #1015

* Added limiting to the count of recently used emoji that we store

* Put back adjusted reaction pill layout to standard

* Adjusted recently used reaction emojis already in list to go to start of list

---------

Co-authored-by: = <=>
2024-04-03 09:48:57 +11:00
AL-Session
a8a257a1a6
SES-1156 - Ban and delete functionality fix (#1428)
* WIP

* Investigation in progress

* End of day push

* WIP

* Fixes #1416

* Cleanup

* Added code to remove zombie messages caught in limbo during a ban & delete - still chock full o' debug while finding root cause

* Root cause debug WIP

* Push prior to cleanup

* Cleaned up for PR

* fix: mms delete, remove unnecessary values from sms

* Addressed PR feedback

* fix: fix unit tests

* Added '.run' folder with test setup

* Update README.md

Test commit for CI

* Re-added accidentally removed closing brace

---------

Co-authored-by: alansley <aclansley@gmail.com>
Co-authored-by: Al Lansley <alansley@users.noreply.github.com>
Co-authored-by: 0x330a <92654767+0x330a@users.noreply.github.com>
2024-04-03 09:30:15 +11:00
Al Lansley
9ad5bd2374
Fixes #1347 (#1396)
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: Al Lansley <al@oxen.io>
2024-04-03 09:14:11 +11:00
Andrew
8717430ee0
Merge pull request #1269 from bemusementpark/fix-pro
[SES-616] Fix profile pictures not updating
2024-04-02 11:18:06 +10:30
Andrew
e25b90b229 Improve new convo error messages 2024-03-27 12:22:53 +10:30
Al Lansley
0febb0456e
SES-212 - Always show delivery status of last sent message - FINAL! (#1418)
* Fixes #1408

* Addressed PR feedback

* Cleanup

* PR adjustments

* Further PR adjustments

* Updated libsession-util

* Added fix for crash when no messages

* Ignoring dirty submodules so they don't show up in git

* Re-fixed display of delivery status on last sent message (got broken by disappearing messages)

* Removed ignore dirty modules line in .gitmodules as it all seems to be playing nice now

---------

Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: Al Lansley <al@oxen.io>
2024-03-27 07:42:05 +11:00
Al Lansley
54d6c025b1
SES-1352 - User and group names allowing multi-line strings (#1395)
* Fix WIP

* Resolved issue - pushing before cleanup & PR tomorrow morning

* Enforced single line for new closed group names

* Fixes #1394

* Final cleanup prior to PR

* Added code to restore a previous contact nickname if an empty one is given

* Added initial limits to nicknames and group names, both creation and display

* Minor adjustments

* Adjusted max nickname and group name to 35 chars as per Kee's instructions

* Fixed closed group edit text able to get too wide and cut off buttons

---------

Co-authored-by: = <=>
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
Co-authored-by: Al Lansley <al@oxen.io>
2024-03-27 07:26:56 +11:00
Al Lansley
9e62e1eab4
SES-789 - Scroll to bottom of long new message(s) (#1426)
* WIP

* Working - push before cleanup

* Fixes #1316

* Cleanup

* PR review adjustments

* Fixed scrolling when receiving an image based message while keyboard is up

* Prevent auto-scroll to last seen item pos in conversation view if <= 3

* Put back <=3 check to scroll

* Forced scrolling to bottom of long messages (both sent and received) when already at the bottom of the RecyclerView

* Fixes #1364

---------

Co-authored-by: = <=>
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
2024-03-27 07:21:21 +11:00
Andrew
006c50e38d Refactor QR in RecoveryPasswordActivity 2024-03-26 14:44:16 +10:30
Andrew
84a399af06
Merge pull request #1302 from bemusementpark/remove-RecoveryPhraseRestoreActivity
Remove unused RecoveryPhraseRestoreActivity
2024-03-26 14:04:30 +10:30
Andrew
a26b0e52d4 Merge branch 'dev' into fix-dialog-button 2024-03-25 13:28:54 +10:30
Al Lansley
1f249a6d5a
SES-1145 - New messages are hidden under keyboard - MK3 (#1415)
* WIP

* Working - push before cleanup

* Fixes #1316

* Cleanup

* PR review adjustments

* Fixed scrolling when receiving an image based message while keyboard is up

* Prevent auto-scroll to last seen item pos in conversation view if <= 3

* Put back <=3 check to scroll

---------

Co-authored-by: = <=>
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
2024-03-25 11:37:43 +11:00
Al Lansley
8c2aaa06d8
SES-1354 - Video call self viewer not mirrored (#1397)
* Fixes #874

* Removed accidentally left in line

* Fixed issue - push before cleanup

* Cleaned up

* Removed cruft

---------

Co-authored-by: = <=>
Co-authored-by: AL-Session <160798022+AL-Session@users.noreply.github.com>
2024-03-25 11:28:03 +11:00
Andrew
13fce6e562 Merge branch 'dev' into prefix-conversation 2024-03-22 16:22:45 +10:30
Andrew
92c2d574ae Fix HomeActivityTests 2024-03-20 13:01:44 +10:30
Andrew
d083b19a12 Merge branch 'dev' into on 2024-03-16 14:27:18 +10:30
Andrew
a000ad3cbc Remove blank space 2024-03-16 00:26:00 +10:30
Andrew
0a10f94fd7 Use new strings 3 2024-03-15 23:52:09 +10:30
Andrew
8a1dcd4261 Fix caret color 2024-03-15 23:37:54 +10:30
Andrew
d1c2750de6 Use new strings 2 2024-03-15 12:37:59 +10:30
Andrew
a67b5f51b9 Use new strings 1 2024-03-15 12:37:49 +10:30
Andrew
4279c4b456 Merge branch 'dev' into on 2024-03-15 10:24:52 +10:30
Andrew
eb98ce961c Add text selection colors 2024-03-14 14:28:56 +10:30
Andrew
c72f37a9ac Refactor outlinedTextFieldColors 2024-03-14 13:16:50 +10:30
Andrew
01f6d75968 Add shield icon to Recovery Password Title 2024-03-14 12:56:16 +10:30
Andrew
98e336faee Remove up button on loading activity 2024-03-14 11:30:50 +10:30
Andrew
4cac496edf Extract strings 2024-03-13 13:42:05 +10:30
Andrew
ca0206409c Add QR errors 2024-03-13 13:14:14 +10:30
Andrew
36edca855c
Merge pull request #1430 from bemusementpark/fix-null-display-name
Fix NPE on null display name
2024-03-13 11:19:09 +10:30
0x330a
3dee7ec6bd
fix: disappearing viewmodel tests (#1432) 2024-03-13 11:31:08 +11:00
Andrew
0dde7297b8 Fix multiple loading activities launched 2024-03-12 20:12:18 +10:30
Andrew
0e7f95dede Fix camera unbind 2024-03-12 20:11:46 +10:30
Andrew
3cba05e668 Fix NPE on null display name 2024-03-12 11:32:47 +10:30
0x330a
7bcf823740
build: update build number 2024-03-04 17:28:21 +11:00
0x330a
ecc8f6e26f
Merge remote-tracking branch 'upstream/dev' 2024-03-04 17:07:06 +11:00
Andrew
9ceaa97978 Fix tab theming 2024-03-04 16:23:57 +11:00
0x330a
e68290b572
fix: use the visible message view's context instead of the UserDetailsBottomSheet context which is null before showing (#1425) 2024-03-04 15:45:32 +11:00
Andrew
88f4f219f6 Cleanup 2024-03-01 20:23:39 +10:30
Andrew
673e53e4c7 Deduplicate QR success 2024-03-01 19:56:29 +10:30
Andrew
9e270c7ac0 Handle scan recovery phrase QR 2024-03-01 18:46:24 +10:30
Andrew
2555b34d8e Add QR code outline 2024-03-01 17:24:03 +10:30
Andrew
505d839924 Hide keyboard on open qr tab 2024-03-01 14:24:48 +10:30
Andrew
437d0de5e1 Add camera to QR tab 2024-03-01 11:47:54 +10:30
alansley
b21cdab0e4 Minor cleanup 2024-03-01 11:56:33 +11:00
Andrew
79cfde1924 Add QR camera permissions 2024-02-29 19:33:45 +10:30
Andrew
ab62d8f333 Add Recovery Phrase tab 2024-02-29 14:56:30 +10:30
Andrew
7a1b5749aa Fade in Copied on copy password 2024-02-28 22:25:51 +10:30
0x330a
f88eab7323
build: update build number 2024-02-28 18:26:28 +11:00
0x330a
a4c99799a2
build: update build version 2024-02-28 17:33:56 +11:00
Andrew
22460df15e Fix expiry not added to community invites 2024-02-28 13:34:32 +10:30
Andrew
c2ec2cb358 Add string resources to LandingScreen 2024-02-27 16:23:42 +10:30
Andrew
1c38fc000a Push empty convos to bottom and hide thread date when unknown 2024-02-27 10:36:13 +10:30
Andrew
1a81c7278a Set NTS to 14 days ago when created in updateUser 2024-02-26 17:46:45 +10:30
Andrew
d143d8a883 Fix old threads being set to 2 weeks ago 2024-02-26 17:27:46 +10:30
Andrew
19c3b639c3 Set thread to 14 days old when added from libSessionContacts 2024-02-26 14:54:54 +10:30
0x330a
e8c61d6791
fix: remove new group invite clearing flags and handling new configs better 2024-02-22 15:25:51 +11:00
0x330a
f6d351f9c3
fix: remove disappearing config overwrite and fix EC key pair's pubkey being group's identity pubkey 2024-02-22 13:32:03 +11:00
Andrew
affdf1ca07 Disable disappearing closed group messages 2024-02-22 12:25:20 +10:30
Andrew
3cd5ca4a6d Simplify ClosedGroupControlMessage#fromProto 2024-02-21 01:17:32 +10:30
Andrew
ef50d63410 Cleanup logs 2024-02-19 09:37:53 +10:30
Andrew
398b5bf7b4 Cleanup 2024-02-19 01:23:06 +10:30
Andrew
2e50dc08bb Cleanup MarkReadReceiver 2024-02-18 02:27:47 +10:30
Andrew
66dcae04f6 Cleanup Storage 2024-02-18 02:23:12 +10:30
Andrew
4ead21cf1a Cleanup SmsDatabase 2024-02-18 02:22:57 +10:30
Andrew
403058c5cf Cleanup VisibleMessageView 2024-02-18 02:22:28 +10:30
Andrew
88dfceed67 Cleanup ConversationViewModel 2024-02-18 02:22:02 +10:30
Andrew
c5c3365b18 Cleanup ConversationReactionOverlay 2024-02-18 02:21:39 +10:30
Andrew
d33de9cf6b Cleanup ConversationActivityV2 2024-02-18 02:21:08 +10:30
Andrew
835fa6882b Cleanup DisappearingMessagesActivity 2024-02-18 02:20:41 +10:30
Andrew
9fd244d86a Cleanup ConversationActionBarView 2024-02-17 23:34:05 +10:30
Andrew
74d96fa926 Fix disappearing messages setting lost on group member change 2024-02-17 17:32:14 +10:30
Andrew
8293c12bf2 Fix subtitle color 2024-02-13 12:16:37 +10:30
Andrew
128ae81998 Add 30 seconds to disappearing debug settings 2024-02-13 12:00:50 +10:30
Andrew
91807db8a9 Set delete in context menu to color destructive 2024-02-13 11:59:40 +10:30
Andrew
8e4266d9ee Fix mms messages delete previous timer messages 2024-02-09 16:41:56 +10:30
Andrew
610d717540 Fix sent status accessibility id 2024-02-09 14:23:03 +10:30
Andrew
64a2b4a61c Fix merge 2024-02-09 14:18:59 +10:30
Andrew
1176273c3a Fix accessibility id 2024-02-09 14:02:37 +10:30
Andrew
0ca55c8f42 Merge branch 'dev' into on 2024-02-09 13:41:36 +10:30
Andrew
e4999e3b84 Merge branch 'dev' into disappear-2 2024-02-09 13:12:31 +10:30
Andrew
637b7f8249 Fix expiry mode application to Message 2024-02-09 11:13:10 +10:30
Andrew
84e92e186b Fix context auto delete timer doesn't show if opened before successful send 2024-02-09 11:11:59 +10:30
Morgan Pretty
7e32f37258 Removed an unneeded import 2024-02-08 15:27:40 +11:00
Andrew
701e3cbf8b Close message context menu on delete 2024-02-08 13:14:22 +10:30
Andrew
779101ddc0 Close MessageDetailsActivity when message is deleted 2024-02-08 12:05:34 +10:30
Andrew
b56c3bd6c5 Add expiration subtitle to Delete option in message context menu 2024-02-07 16:51:00 +10:30
Morgan Pretty
bd03bf45c2 Initial CI setup test
Added code coverage report generation (for future CI stuff)
Fixed a flaky unit test
2024-02-07 13:19:57 +11:00
Andrew
b8aa46912a Add auto-delete subtitle to context menu 2024-02-06 20:10:07 +10:30
Andrew
ac37b2b9de Convert ConversationReactionOverlay to Kotlin 2024-02-06 19:43:01 +10:30
Andrew
3fa4122f77 Tweak call message style 2024-02-06 13:24:42 +10:30
Andrew
ace7e3b54c Don't delete old call messages on new call message 2024-02-06 10:44:17 +10:30
Andrew
f3bb2e5cfa Add new call control message UI with timer icon above 2024-02-06 09:17:19 +10:30
Andrew
c7ffa61c55 Simplify MarkReadReceiver 2024-02-06 09:15:59 +10:30
Andrew
730851d3d5 Remove erroneous scheduleDeletion in marked read 2024-02-05 09:35:55 +10:30
Andrew
a47bf230e2 Fix last seen channel being closed by consuming flow 2024-02-05 09:29:44 +10:30
Andrew
a326c47e56 Don't start DaR timer view until it has actually started 2024-02-03 10:12:46 +10:30
Andrew
246e8bf2a2 Fix messages not marked as read onScroll when message count is unchanged 2024-02-02 22:32:36 +10:30
Andrew
4c7485f53d Fix Message#expiryMode de/serialisation 2024-01-30 15:53:24 +10:30
Andrew
cb0327ecb2 Fix follow setting contentDesc 2024-01-23 14:39:18 +10:00
Andrew
97d6c9928f Fix contentDescriptions 2024-01-23 14:24:10 +10:00
Andrew
848dbd2eb0 Start expiration at end of handling each message type treating call and extraction as DaR 2024-01-23 09:09:16 +10:00
Andrew
e2e5a36f51 Merge remote-tracking branch 'refs/remotes/origin/disappear-2' into disappear-2 2024-01-19 16:05:27 +10:00
Andrew
a845d2f17a Add Set button contentDescription 2024-01-19 15:58:14 +10:00
Al Lansley
343820579c
SA1390 - Session ID regeneration on focus loss (#1392)
* Fixes #1390

* Clean up prior to PR

* Removed unused logging imports introduced during debugging

* Added mechanism to store the session ID seed temporarily during account creation

* Implemented keeping session ID on lose/regain focus via Hariss' better way using the savedInstanceState Bundle

* Removed now unused imports
2024-01-19 15:23:47 +11:00