0x330a
371fb20b6e
fix: added more migration code for deleting unnecessary threads and groups, fixed a post-migration last seen issue on last item (current read is now), comment out actual network sync while testing migrations
2023-05-19 20:01:50 +10:00
andrew
235b94a905
Fix ripple color
2023-05-18 19:20:44 +09:30
Andrew
f64fe4b652
Fix device notification settings preference color
2023-05-17 22:34:46 +09:30
andrew
8c5ff1f944
Fix dialog button color
2023-05-17 14:50:20 +09:30
andrew
a334b8912a
Fix device notification settings preference color
2023-05-17 14:39:47 +09:30
0x330a
7ed12ce87d
fix: handle recyclerview scrolled on scroll to first unread if it's the first load
2023-05-17 13:28:12 +10:00
0x330a
f7b8a90edb
fix: some compile issues in tests and some TODOs for things to do before merge
2023-05-17 11:58:47 +10:00
0x330a
cf171fc371
feat: update libsession-util, adjust docs, update mms and sms to use message sent timestamp instead of -1 for last read in the thread
2023-05-16 12:09:28 +10:00
0x330a
dcbe548891
fix: self sync sync message failures for default values
2023-05-15 15:03:44 +10:00
0x330a
9646ea580f
fix: prevent block of users in delete all
2023-05-15 11:44:11 +10:00
0x330a
8f51304ec1
refactor: use just first visible instead of completely visible, merge message sender changes
2023-05-12 17:23:48 +10:00
0x330a
7647531146
Merge remote-tracking branch 'origin/libsession-integration' into libsession-integration
2023-05-12 16:29:47 +10:00
0x330a
42dbd11255
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/util/ViewUtilities.kt
# libsession/src/main/java/org/session/libsession/messaging/messages/visible/VisibleMessage.kt
# libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageSender.kt
2023-05-12 16:29:26 +10:00
0x330a
2b096019d6
refactor: remove populate public key cache if needed call which seems unnecessary at that point, maybe UserView refs have changed since 2020
2023-05-12 11:32:09 +10:00
0x330a
da330273c8
fix: prevent NTS self create thread on user view bind
2023-05-12 11:30:15 +10:00
0x330a
b2439d48ee
refactor: let the user display name return "You" for local user
2023-05-12 11:26:00 +10:00
Andrew
ab3caf8ab5
Fix message entrance coordinates
2023-05-12 09:44:14 +09:30
Andrew
44cb8fec2c
Remove reply from context menu when you can't write
2023-05-11 22:59:53 +09:30
Andrew
e6dc5f2128
Fix links not working when message is partially offscreen
2023-05-11 22:58:12 +09:30
Andrew
fef2948f58
Fix scroll to bottom button position when input not visible
2023-05-11 22:57:08 +09:30
Andrew
57476cd56e
Fix scroll to bottom button always visible if last item is taller than RecyclerView
2023-05-11 19:48:10 +09:30
Andrew
ba9dab33c5
Synchronize Cipher in KeystoreHelper
2023-05-11 19:47:49 +09:30
Andrew
aadba75038
Add sync status message
2023-05-11 19:46:09 +09:30
Andrew
84004d2fdb
Swallow exceptions in ScreenshotObserver
2023-05-11 19:45:43 +09:30
Andrew
910ab8874e
Remove laid out check before drawToBitmap
2023-05-11 19:45:10 +09:30
0x330a
5a2dac38c6
refactor: disable edit text for non contacts
2023-05-11 17:43:55 +10:00
0x330a
ad09888c80
feat: add block to the delete all message requests, only if they're not open group inbox contacts
2023-05-11 13:40:35 +10:00
ryanzhao
a7e0bd5366
Merge branch 'dev' into bluetooth-manager-crash
2023-05-11 12:16:52 +10:00
ryanzhao
88e788a406
clean
2023-05-11 12:16:37 +10:00
0x330a
f747f8e863
fix: pinning groups and notifying list listeners in threadDb.setPinned
2023-05-11 11:00:20 +10:00
0x330a
7d32edb133
Merge remote-tracking branch 'origin/libsession-integration' into libsession-integration
...
# Conflicts:
# app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt
2023-05-11 10:46:46 +10:00
0x330a
14eb04adcb
Merge remote-tracking branch 'upstream/dev' into libsession-integration
...
# Conflicts:
# app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationViewModel.kt
# app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt
2023-05-11 10:29:13 +10:00
Andrew
8dbabec4e7
Fix send after approval message ( #1178 )
...
* Fix send after approval message
* Fix logic
* Utilise isLocalNumber
2023-05-11 10:02:38 +10:00
Andrew
2b00729df3
Fix message request button overlap ( #1188 )
2023-05-11 10:01:05 +10:00
Andrew
ba3566f7e8
Fix approval text position when input bar is gone ( #1181 )
2023-05-11 10:00:39 +10:00
0x330a
82bffcbf2f
refactor: merge changes, re-add the group check in unapproved messages
2023-05-10 17:30:29 +10:00
0x330a
4843d42643
Merge remote-tracking branch 'upstream/dev' into libsession-integration
...
# Conflicts:
# app/src/main/java/org/thoughtcrime/securesms/database/MmsDatabase.kt
2023-05-10 15:44:41 +10:00
ryanzhao
89545f0406
further clean up
2023-05-10 15:36:10 +10:00
0x330a
cd66901412
fix: don't set the read flag in update notifications, some roundabout logic for first loads and scrolling to last known positions
2023-05-10 12:46:30 +10:00
andrew
d20c27d6d3
Remove laid out check before drawToBitmap
2023-05-09 22:26:36 +09:30
andrew
4469d9754a
Fix bubble entrance coordinates
2023-05-09 15:10:03 +09:30
andrew
c8fa2d8d6e
Remove reply from context menu when you can't write
2023-05-09 14:51:28 +09:30
ryanzhao
fa71ea1850
make RetrieveProfileAvatarJob work
2023-05-09 14:14:49 +10:00
andrew
8d38d1c0fb
Fix links not working when message is partially offscreen
2023-05-09 13:29:25 +09:30
Ryan Zhao
b494088c3d
WIP: further refactor on old jobs
2023-05-08 17:12:20 +10:00
andrew
b6667b83ce
Fix scroll to bottom button position when input not visible
2023-05-08 14:43:08 +09:30
andrew
f0715f16e0
Fix scroll to bottom button always visible if last item is taller than RecyclerView
2023-05-08 14:09:01 +09:30
0x330a
ebdfd2538d
refactor: remove some logging, don't use blinded conversations in the list
2023-05-08 13:24:35 +10:00
Ryan Zhao
2ceb9e2bf4
clean up old job manager
2023-05-08 12:29:21 +10:00
Ryan Zhao
2b48b52df0
remove unused jobs and wrap up old job refactoring
2023-05-08 11:18:33 +10:00
andrew
ec2abffdcc
Remove logs
2023-05-08 10:33:39 +09:30
0x330a
d4f112e4b0
feat: use blinded message count for banner also
2023-05-08 09:18:10 +10:00
andrew
e9a15941ae
Fix colors
2023-05-05 17:47:36 +09:30
ryanzhao
375815c719
WIP: refactor on jobs using old job table
2023-05-05 16:51:44 +10:00
0x330a
d4d4f81c36
fix: remove user notifications for leaving group to prevent synced device issues, don't create thread in messages for new closed groups, includei nactive groups in the deletion queries for merging group configs
2023-05-05 16:05:43 +10:00
andrew
6a5d97a0f0
Fix something
2023-05-05 12:37:46 +09:30
andrew
a9078c8d08
...and the rest
2023-05-05 12:32:54 +09:30
andrew
a152250a60
Add comments
2023-05-05 12:18:39 +09:30
andrew
24741fcc22
Synchronize Cipher in KeystoreHelper
2023-05-05 12:10:46 +09:30
andrew
d3ce899a80
Synchronize all Cipher#doFinal
2023-05-05 12:07:19 +09:30
andrew
45eb3549f6
Add sync status message
2023-05-04 17:01:45 +09:30
ryanzhao
d868021f0a
move job running status from database to memory
2023-05-04 15:30:09 +10:00
0x330a
281b8dac33
fix: checking the last read open to message and make sure that scroll behaviour matches expected, fix the config sync job not deleting ALL old hashes only latest
2023-05-03 19:26:40 +10:00
0x330a
f7b4fe216f
fix: removing debug logs, adding failure error handling logs for expiry message updater, properly using the message thread ID created for the expiring messages. Process the non-thread messages properly with await in BatchMessageReceiveJob
2023-05-02 16:30:35 +10:00
ryanzhao
7a14c3f8be
Merge branch 'dev' into bluetooth-manager-crash
2023-05-02 09:20:41 +10:00
Andrew
99cb10f5be
Add send approval message ( #1157 )
2023-05-01 17:19:19 +10:00
Andrew
83b6002a27
Fix emoji misalignment ( #1155 )
2023-05-01 17:19:13 +10:00
Andrew
a934c5c2e2
Fix missing media progress ( #1151 )
2023-05-01 17:19:01 +10:00
Andrew
70aab2994b
Refactor MmsDatabase ( #1169 )
2023-05-01 17:16:48 +10:00
Ryan Zhao
2630c97a4e
add where clause for marking all jobs pending to reduce the time for writing to db
2023-05-01 17:01:57 +10:00
0x330a
216070fa5d
fix: finally fix the darn unread count issue by
2023-05-01 14:39:17 +10:00
0x330a
ac736744f6
refactor: mark as read on open and use less buffer time
2023-05-01 09:15:03 +10:00
0x330a
d207d00423
fix: don't process thread creation for user is sender && recipient (sync message) for message request responses
2023-04-28 12:31:16 +10:00
0x330a
456e272a45
fix: another ID check
2023-04-27 17:04:11 +10:00
0x330a
1cc8cc9148
fix: another contact recipient config library call removed for non-standard IDs
2023-04-27 14:48:54 +10:00
ryanzhao
bd4f451513
Merge branch 'dev' into bluetooth-manager-crash
2023-04-27 14:38:09 +10:00
0x330a
03c264fb67
fix: add blocked check for read receipt and updating expiring messages
2023-04-27 13:19:07 +10:00
0x330a
1cf4ef9e10
fix: adding in more checks for open group inbox recipients before being saved to the shared configs. Prevent sending typing indicator for blocked users
2023-04-27 12:02:47 +10:00
0x330a
1f8fa4a904
Merge remote-tracking branch 'upstream/dev' into libsession-integration
2023-04-27 10:52:03 +10:00
0x330a
9ccf9b6bde
fix: prevent blocking local number
2023-04-27 10:44:35 +10:00
andrew
58e532f0ec
Swallow screenshot exceptions
2023-04-26 16:31:28 +09:30
Andrew Gallasch
ffef98ecc9
Fix LandingActivity textColor ( #1159 )
2023-04-26 14:59:32 +10:00
Andrew Gallasch
5d552a7f93
Remove unnecessary api version checks in WindowUtil ( #1163 )
2023-04-26 14:56:00 +10:00
Andrew Gallasch
716fc1f4fa
Add SafeViewPager to fix touch exception in MediaPreviewActivity ( #1166 )
2023-04-26 14:54:54 +10:00
Andrew Gallasch
7d33177e06
Fix status and nav bar colors ( #1165 )
2023-04-26 14:48:34 +10:00
0x330a
bba6eb0cc2
fix: some open group volatile convo fix for last read timer being set. Need to investigate further
2023-04-24 17:33:02 +10:00
0x330a
8e5a810135
fix: pinned status for communities and groups, group last read time being set to snodeapi.now on finish joining
2023-04-24 15:51:38 +10:00
Ryan Zhao
c7bbdb778b
minor refactor
2023-04-24 15:50:53 +10:00
Ryan Zhao
51856138e3
refactor on SignalAudioManager
2023-04-24 15:38:06 +10:00
0x330a
c777c05456
fix: add legacy config subscription to the home activity to enable showing banner at any time
2023-04-24 12:03:07 +10:00
0x330a
2d1c0b3c02
fix: remove hilt testing, add spy on app context storage field instead, update libsession-util to fixed sodium cmake branch
2023-04-19 10:43:24 +10:00
0x330a
c445267ed9
feat: adding dependencies to try and get android tests working, fixing bug with initial config not syncing properly
2023-04-18 22:50:06 +10:00
0x330a
fdff11c535
feat: setup android unit tests for verifying storage behaviours and state of shared configs
2023-04-17 18:17:03 +10:00
0x330a
2e673901ba
feat: add shortened hex for session IDs throughout, replace nullable getName with null in underlying contacts for individual contacts, build shared lib with release mode, remove todo, fix broken unit test
2023-04-17 14:01:30 +10:00
0x330a
15db31004f
feat: add test theme for xml layout previews
2023-04-14 15:09:26 +10:00
0x330a
3528afa2fb
fix: fix the placeholder rendering on new messages, add in extra context logging for adding contacts and preventing new thread creation on new messages of various types
2023-04-13 17:32:37 +10:00
Andrew Gallasch
63d442584c
Fix empty message behind media message ( #1150 )
2023-04-13 16:54:03 +10:00
SzBenedek2006
7b0c014791
Fix hungarian translations ( #1140 )
2023-04-13 10:40:32 +10:00
0x330a
2ebd6ebf64
fix: fix up the duplicate thread creation in the message receive handler
2023-04-13 01:31:25 +10:00
0x330a
6d37fb29ab
fix: don't recreate thread after leaving
2023-04-06 16:39:40 +10:00
0x330a
74f05a166b
refactor: let the local number update recipient details in profile manager
2023-04-06 11:26:15 +10:00
0x330a
e059fdaa19
Revert "fix: profile avatar fixes for local user now that we aren't setting local user profile key"
...
This reverts commit 3f569e3403
.
2023-04-06 10:53:21 +10:00
0x330a
3f569e3403
fix: profile avatar fixes for local user now that we aren't setting local user profile key
2023-04-06 10:32:54 +10:00
0x330a
72982c6ea4
fix: compile error
2023-04-06 09:59:39 +10:00
0x330a
5505834466
Merge remote-tracking branch 'upstream/dev' into libsession-integration
2023-04-06 09:59:33 +10:00
hjubb
e1ff2bf988
build: update build number
2023-04-05 16:32:16 +10:00
0x330a
7e4e36c3f7
Merge remote-tracking branch 'upstream/dev' into libsession-integration
2023-04-05 15:59:19 +10:00
0x330a
b25eb9af8e
Use new seed node certificates ( #1144 )
...
* fix: use new seed node certificates
* refactor: don't need to include subdomains actually
2023-04-05 15:58:56 +10:00
0x330a
6193fe4668
feat: update shared library to use priority only, fix compile errors, fix group member sync problem
2023-04-04 17:43:21 +10:00
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>
2023-04-04 11:33:17 +10:00
0x330a
5acaffda56
feat: update dependencies and support outdated config messages, refactor config factory to return null configs if new configs not supported
2023-04-03 17:22:51 +10:00
hjubb
cfdc3dc24d
build: update build number
2023-04-03 17:12:41 +10:00
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