Commit Graph

1059 Commits

Author SHA1 Message Date
ceokot ba51102b6d Add message date break extension function to reduce duplication 2021-12-06 06:34:32 +02:00
ceokot a966623db2 Add conversation constants file 2021-12-06 06:07:46 +02:00
ceokot bfe91427ab fix: Add date breaks on control messages 2021-12-03 08:50:19 +02:00
jubb f2f906fd3e refactor: closed groups delete for yourself and handle unsend request if it's from yourself or author now 2021-10-27 17:26:44 +11:00
Harris 00d6ce76b5 fix: contacts without stored profile information display similar to closed groups for unsend 2021-10-19 11:13:15 +11:00
Harris 0b062074b1 feat: switch unsend flag 2021-10-19 10:33:15 +11:00
Harris f87fb2b9bb
Merge pull request #767 from hjubb/incognito_keyboard
Use incognito keyboard based on privacy preference in app
2021-10-13 22:33:52 +00:00
Harris 0755f0b953 fix: conversationListNotificationHandler initialized in getter if null and removed from onCreate 2021-10-12 14:32:06 +11:00
Harris 13dc28231d fix: respect the incognito flag in the user's preferences 2021-10-11 14:38:10 +11:00
Harris e8a2bbe76d fix: saving log external instead of session blob 2021-10-08 16:43:45 +11:00
Harris a55c9a969b refactor: replace settings string for sharing logs, change extension to .txt to make things easier 2021-10-08 14:01:13 +11:00
Harris 37f9ef3b1a Merge branch 'dev' into restore_log_report
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java
2021-10-06 14:57:51 +11:00
Harris 678d8094a1
Merge pull request #739 from ianmacd/pr1
Display the service node's IP address after its country.
2021-10-06 02:43:23 +00:00
Harris 91b876589a refactor: move db module init before injection and replace ApplicationContext db component access to static function to get the component 2021-10-05 10:58:02 +11:00
Harris d130ba5432 fix: oom from too many db instances, adding singletons to limit object creation 2021-10-04 19:02:20 +11:00
Harris 0516526923 refactor: use hilt to provide DB instead of our own factory, inject it in some places where possible 2021-10-04 18:51:19 +11:00
Harris e036344c76 refactor: performance improvements in batch message processing, synchronized cache access and audible message notifications.
Increase audible timeout on DefaultMessageNotifier.java, don't send in-thread notification based on last audible notification.

Create a batch message receive job to handle up to 20 chunked messages at a time per job instead of singular or open group poll amount

Remove synchronized access to recipient cache and replace with a concurrent cache that's lock free from perf tracing monitor contention
2021-09-29 15:29:24 +10:00
Harris c21a75c880 feat: finish share log dialog 2021-09-23 15:47:43 +10:00
Harris a295cc384c feat: add share logs dialogs into settings activity 2021-09-23 13:49:32 +10:00
Harris 17b58b09e3 feat: add persistent logger and integrate it to the loggers initialization 2021-09-23 10:27:57 +10:00
Ian Macdonald 7b3035104d
Display the service node's IP address after its country. 2021-09-22 10:12:39 +02:00
Harris b3a850a876 feat: instantly scroll to bottom if already smooth scrolling on button tap
fixes #736
2021-09-21 14:50:25 +10:00
Harris 00c2642b47
Merge pull request #731 from hjubb/self_messages_display_read
Display threads as read from sync'd multi-device messages
2021-09-21 04:05:33 +00:00
Harris b61613ed09
Merge pull request #725 from hjubb/multi_device_expiry
Fix expiry from self-sent messages via linked device
2021-09-21 00:17:24 +00:00
Harris 4533a25a3c
Merge pull request #729 from hjubb/copy_url_link
Allow copying URL from conversation
2021-09-21 00:13:59 +00:00
Harris ecf2308e84 feat: add survey button 2021-09-17 16:44:32 +10:00
Harris cb5b9cc575 fix: display threads as read when the last message is from us triggered by multi device
purely visual in the ConversationView's bind() method
2021-09-15 16:55:51 +10:00
Harris 77f02a5917 fix: copy message fixed for single messages 2021-09-15 11:04:43 +10:00
Harris 66e95787a2 feat: add bottom sheet modal url with copy option 2021-09-14 10:27:34 +10:00
Harris 3c96083d59 Merge remote-tracking branch 'upstream/dev' into multi_device_expiry 2021-09-13 13:46:19 +10:00
Harris 2b6107d868 fix: expiring messages across multi-device 2021-09-13 13:45:55 +10:00
Harris ef3d2bb28f
Merge pull request #719 from hjubb/date_break_improvement
Improve date breaks in messages
2021-09-08 04:51:30 +00:00
Harris b1535940f9 refactor: move the set has seen to positive button handler 2021-09-03 13:53:49 +10:00
Harris ded0370e8e feat: add gif metadata warning 2021-09-02 10:19:43 +10:00
Harris 49b164a8c5 feat: make date breaks more dynamic, spaced out in five minute clusters 2021-09-02 09:27:23 +10:00
Harris 0120eb3fad
Merge pull request #714 from warrickct/quote-cutoff-fix
Fixing quote cutoff when font is too large.
2021-08-31 06:14:33 +00:00
Warrick Corfe-Tan 0539ca412d constrain min size for cancel button when drafting a quote reply. 2021-08-26 15:29:34 +10:00
Warrick Corfe-Tan 5936efea53 Fixing quote cutoff when font is too large. 2021-08-26 10:38:05 +10:00
Harris 873fb6b578 fix: clear notifications properly on muted groups 2021-08-20 16:09:44 +10:00
Niels Andriesse 4bc9bdea73
Merge pull request #711 from hjubb/bottom_sheet_conversation
Allow Messaging from User details sheet
2021-08-20 15:58:14 +10:00
Harris 021d81ab98 refactor: alignment 2021-08-19 13:45:57 +10:00
Harris 7ac340b3ca refactor: remove unused constant 2021-08-19 13:44:38 +10:00
Harris ef8cdf3127 fix: handle bundling properly with the messageIdTag check 2021-08-19 12:24:28 +10:00
Harris 975076cb5c fix: bundled notification no longer notifies on mentions only 2021-08-19 12:14:21 +10:00
Harris 1f3db80d36 fix: only show notification settings if the contact is not muted and a group 2021-08-18 12:15:49 +10:00
Harris ea71334524 Merge remote-tracking branch 'upstream/dev' into conversation_camera_improvement 2021-08-18 12:12:02 +10:00
ryanzhao b03ba5bfa7 clean 2021-08-17 16:16:17 +10:00
ryanzhao d9eb2c7585 don't show delete options for old messages 2021-08-17 15:11:53 +10:00
ryanzhao ecc881bc7c store server hash value for incoming messages 2021-08-17 14:34:49 +10:00
ryanzhao c4a3463416 send unsend request to self only for delete locally 2021-08-17 12:17:40 +10:00