Commit Graph

7857 Commits

Author SHA1 Message Date
jubb de2e241598 Merge branch 'master' into calls
# Conflicts:
#	app/build.gradle
2022-03-22 11:59:39 +11:00
jubb 04dfe99517 build: update version code and name 2022-03-22 11:14:51 +11:00
Harris 712deebb42
fix: Cached recipient values not updating approved flags, remove unused static recipient settings map in RecipientProvider (#860) 2022-03-22 11:13:44 +11:00
Harris e689ab9753 Merge remote-tracking branch 'origin/calls' into calls
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/ControlMessageView.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/RecipientDatabase.java
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	app/src/main/res/values/strings.xml
#	libsession/src/main/java/org/session/libsession/database/StorageProtocol.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageReceiver.kt
#	libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt
2022-03-17 17:32:32 +11:00
Harris 5c88d5e1b8 fix: merge compile errors and increment build number 2022-03-17 17:19:07 +11:00
Harris 4355322ee5 Merge branch 'master' into calls
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/ControlMessageView.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/model/DisplayRecord.java
#	app/src/main/res/values/strings.xml
#	app/src/main/res/values/styles.xml
#	libsession/src/main/java/org/session/libsession/database/StorageProtocol.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageReceiver.kt
#	libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt
#	libsignal/src/main/java/org/session/libsignal/protos/SignalServiceProtos.java
2022-03-17 16:49:35 +11:00
Harris 7f7db3b4b8 build: update build number 2022-03-17 16:34:23 +11:00
Harris 2445418e3e build: update build number 2022-03-17 15:55:27 +11:00
Harris 5ace67fd36 fix: don't send typing indicator in unapproved conversation 2022-03-17 15:38:39 +11:00
Harris 8d32b02c16 Merge remote-tracking branch 'upstream/dev' 2022-03-17 13:50:00 +11:00
Harris ad5911e247 fix: don't enable expiring messages in not approvedMe conversations 2022-03-17 13:31:25 +11:00
Harris c6cf7a24d7 fix: raise elevation on the attachment buttons 2022-03-17 13:18:59 +11:00
Harris 3733826e2e fix: re-check input bar control after recipient modified 2022-03-17 13:01:33 +11:00
jubb 1aabbecc9d build: update build number 2022-03-15 14:20:52 +11:00
Harris 6649a9a745
Generate placeholder avatars from two characters, re-fetch missed avatars (#856)
* feat: splitting names in the avatar generation

* fix: re-fetch avatars if initial downloads fail

* fix: remove shadowed name, add tests for common labels
2022-03-15 09:24:15 +11:00
jubb 11d49426d3 fix: approval for more fine-grained contacts on migrate 2022-03-10 16:29:44 +11:00
Harris c458d4a359
Fix approved references and visible message setting flags for approval (#854)
* fix: set approved on new outgoing threads, use approved more deeply and invalidate the options menu on recipient modified. Add approvedMe flag toggles for visible message receive

* fix: add name update in action bar on modified, change where approvedMe is set

* fix: text colours and attachment approve requests

* refactor: text color for share screen

* Restart conversation loader on message request approval

Co-authored-by: ceokot <ceokot@gmail.com>
2022-03-10 09:54:18 +11:00
Harris a67195c6cf
Treat first sync closed groups as base for restoring device (#855)
* feat: only sync closed groups on initial sync

* fix: flip first sync bit
2022-03-09 17:48:31 +11:00
jubb ff6d2ba14d build: increment build number 2022-03-09 15:31:09 +11:00
jubb 04e40df9f5 Merge branch 'fix_approved_and_invalidating_options' into calls
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	libsession/src/main/java/org/session/libsession/database/StorageProtocol.kt
2022-03-09 14:55:25 +11:00
jubb 023424a87b fix: add name update in action bar on modified, change where approvedMe is set 2022-03-09 14:23:44 +11:00
jubb ca7b27f82b fix: set approved on new outgoing threads, use approved more deeply and invalidate the options menu on recipient modified. Add approvedMe flag toggles for visible message receive 2022-03-09 13:43:44 +11:00
jubb 1f4c2f9a08 refactor: add null case 2022-03-09 10:26:06 +11:00
jubb c16ca83279 feat: reset peer connection on DC to prevent ICE messages from old connection or stale state in reconnecting 2022-03-09 10:11:26 +11:00
jubb b69c4d490d refactor: reduce TIMEOUT_SECONDS to 30 from 90 2022-03-08 14:38:01 +11:00
jubb e9578de779 feat: reconnection logic works correctly now 2022-03-08 14:29:46 +11:00
jubb 18884ea06b feat: check new session based off current state 2022-03-07 17:47:35 +11:00
jubb 734bb93c48 feat: add reconnecting and merge fixes 2022-03-07 16:44:49 +11:00
jubb 34750d7d34 Merge remote-tracking branch 'upstream/dev' into calls
# Conflicts:
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/ControlMessageView.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/Storage.kt
#	app/src/main/java/org/thoughtcrime/securesms/database/model/DisplayRecord.java
#	app/src/main/res/values/strings.xml
#	app/src/main/res/values/styles.xml
#	libsession/src/main/java/org/session/libsession/database/StorageProtocol.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/MessageReceiver.kt
#	libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt
#	libsignal/src/main/java/org/session/libsignal/protos/SignalServiceProtos.java
2022-03-07 09:46:06 +11:00
ceokot 206505abe8
feat: Add conversation filtering for message requests (#830)
* feat: Message requests

* Apply contact sync message

* Filter based on message requests toggle

* Add message requests screen

* Implement message requests screen

* Handle message request buttons

* Handle approval syncing

* Display message request response

* Display pending message request

* Display pending message request

* Add approval migrations

* Send message request response

* Fix conversation filters

* Add approval migration

* Handle message request response

* Update message request response proto

* Update message request response handling

* Refresh message requests

* Show message request banner on new message request

* Message request item layout tweaks

* Fix latest unapproved conversation query

* Handle sent message request responses on restore

* QA feedback tweaks

* Remove send limit on message requests

* Config message handling tweaks

* Reverse conversation upon message request approval

* Remove read receipts, delete declined conversations

* Fix contact filtering in config messages

* Fix message request order and handle deletion

* Fix message request snippet on home screen

* Refresh message request list after decline or clearing all

* Fix message request reversal

* Fix message request notifications

* Disable media buttons for message requests

* Hide message request banner after reading

* Refresh message request banner
2022-03-04 08:46:39 +02:00
jubb 3fc7654b81 feat: state machine reconnect logic wip 2022-03-04 17:10:32 +11:00
jubb a90bd89c9a refactor: adding reconnecting logic and visuals 2022-03-03 17:03:32 +11:00
jubb 573f0930df feat: new call state processing 2022-03-03 15:18:19 +11:00
jubb 5dba223c2e Merge branch 'dev' into calls
# Conflicts:
#	app/build.gradle
#	app/src/main/res/values/strings.xml
2022-03-01 11:04:17 +11:00
Harris 55aa266769
Bug fixes and provide conversation tooltips (#851)
* refactor: removing unused strings and changing session header dimensions

* refactor: remove bodyTextView from LinkPreviewView.kt and changing header image colours

* fix: path layout is aligned, global search input should always prompt soft input on open

* fix: unread count and scroll to bottom button visibility properly taking into account adapter item count and RecyclerView.NO_POSITION

fixes #848

* fix: crash on error toast for failing to share logs

* feat: conversation tooltips in NewConversationButtonSetView.kt

* fix: UI issue for conversation action bar cutting off lower than baseline characters

fixes #839

* refactor (wip): replacing bindings with nullable types to try prevent mystery bug

* refactor: use the nullable bindings for ConversationActivityV2.kt and remove inputBarHeightChanged

* fix: remove recipient listener on destroy

* build: add latest strings and increase build
2022-02-28 17:23:58 +11:00
jubb 150d5467d4 refactor: state machine and tests for the transition events 2022-02-23 17:26:31 +11:00
jubb 2ded8c0f6e refactor: calls video stretching but consistent 2022-02-17 17:27:46 +11:00
jubb 0275edfcf9 refactor: applying rotation and mirroring based on front / rear cameras that wraps nicely, only scale reworking needed 2022-02-16 16:08:25 +11:00
jubb a11a5da7c2 feat: setting up rotation for the remote render view 2022-02-15 16:17:14 +11:00
jubb eb2e3d075e feat: starting the screen rotation processing 2022-02-14 17:24:28 +11:00
jubb 9119ea2d5e feat: adding base for rotation and picking random subset of turn servers 2022-02-11 16:55:45 +11:00
jubb cf06390812 build: update build numbers 2022-02-09 14:37:08 +11:00
jubb 6fa398f480 Merge branch 'master' into calls
# Conflicts:
#	app/build.gradle
2022-02-09 14:36:52 +11:00
jubb a002e3e1f7 build: update build numbers 2022-02-09 14:27:44 +11:00
Harris b01075cef6
fix: add UI test for URL modal dialog and fix mention infinite layout inflation bugs (#841) 2022-02-09 14:18:22 +11:00
jubb 542ff110be build: increase build number 2022-02-08 13:46:28 +11:00
jubb bf7a6e7b54 fix: set the content to binding.root view 2022-02-08 13:36:49 +11:00
jubb 53127b69de refactor: compile errors and refactoring to view binding 2022-02-08 12:04:55 +11:00
jubb 38164ea23d Merge remote-tracking branch 'upstream/master' into calls
# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/menus/ConversationMenuHelper.kt
#	app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/ControlMessageView.kt
#	app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt
#	app/src/main/res/values/strings.xml
#	gradle.properties
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/ClosedGroupPollerV2.kt
#	libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/OpenGroupPollerV2.kt
#	libsession/src/main/java/org/session/libsession/utilities/TextSecurePreferences.kt
2022-02-08 09:58:57 +11:00
jubb 07ccc2696b Merge remote-tracking branch 'upstream/dev'
# Conflicts:
#	app/build.gradle
2022-02-07 17:08:48 +11:00