Commit Graph

38 Commits

Author SHA1 Message Date
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
ceokot c113a447cf
refactor: Use view binding to replace Kotlin synthetics (#824)
* refactor: Migrate home screen to data binding

* Add view binding

* Migrate ConversationView to view binding

* Migrate ConversationActivityV2 to view binding

* View model refactor

* Move more functionality to the view model

* Add ui state events flow

* Update conversation item bindings

* Update profile picture view bindings

* Replace Kotlin synthetics with view bindings

* Fix qr code fragment binding and optimize imports

* View binding refactors

* Make TextSecurePreferences an interface and add an implementation to improve testability

* Add conversation repository

* Migrate remaining TextSecurePreferences functions into the interface

* Add unit conversation unit tests

* Add unit test coverage for remaining view model functions
2022-01-14 07:56:15 +02:00
jubb 5fbace70b5 feat: handle discarding pending calls from linked devices 2021-11-22 16:58:28 +11:00
jubb 3755315b4c feat: adding remainder of basic functionality to services and CallManager.kt 2021-11-05 16:35:40 +11:00
jubb 2e3f46ff9f feat: implementing more WebRtcCallService.kt functions and handlers for actions as well as lifecycle 2021-11-03 17:09:21 +11:00
jubb 1af9b8ba46 feat: plugging CallManager.kt into view model and service, fixing up dependencies 2021-10-29 16:41:01 +11:00
jubb a3cfd7f03b feat: update kotlin and add in call view model and more management functions 2021-10-28 12:08:02 +11:00
jubb 7ed29cc7d8 feat: audio manager call service boilerplate 2021-10-27 15:50:00 +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
Niels Andriesse 47ff53d559 Remove SignalServiceMessageReceiver 2021-05-18 09:54:16 +10:00
jubb 11f8c72fa5 refactor: remove old jobs and refactor any remaining calls to use new jobs 2021-04-08 16:12:54 +10:00
Ryan ZHAO 54da77a89b clean 2021-03-12 15:23:29 +11:00
Ryan ZHAO 60f51af295 clean & fix expiration timer setting issue 2021-03-12 11:27:51 +11:00
Ryan ZHAO 1a6da88ce3 clean 2021-03-09 13:54:15 +11:00
Ryan ZHAO 3b2ea4e95d clean 2021-03-05 11:31:12 +11:00
Ryan ZHAO 2df9d4f27c clean 2021-03-05 11:24:43 +11:00
Ryan ZHAO 12a2061251 clean up jobs 2021-02-23 11:29:07 +11:00
Ryan ZHAO 1db9ccdf27 clean up: signal service protocols 2021-02-22 10:41:27 +11:00
Ryan ZHAO 19a829d011 WIP: clean up signal protocols (stickers) 2021-02-22 10:06:40 +11:00
Ryan ZHAO 04f140ee09 WIP: clean up signal service protos 2021-02-22 09:31:29 +11:00
Ryan ZHAO d8104c0d5c WIP: clean up signal protocol storage 2021-02-19 15:11:30 +11:00
Ryan ZHAO 958ec690f1 WIP: clean up signal protocols 2021-02-19 11:03:58 +11:00
Ryan ZHAO 0d2f5e0cde further cleaning on V1 multi device 2021-02-18 15:12:30 +11:00
Ryan ZHAO 9d0831b874 remove shared sender keys 2021-02-18 14:14:05 +11:00
ryanzhao 307da3b2be clean logging 2021-02-03 12:22:40 +11:00
Ryan ZHAO 31d4deb354 WIP clean & make things compile 2021-01-19 09:12:44 +11:00
Anton Chekulaev e33b8a5fa2 Session encryption protocol.
Changes from #390 and #101 (service repo)
2020-12-18 13:02:33 +11:00
Anton Chekulaev 54f730fdfd Job cleanup. 2020-12-17 12:47:18 +11:00
Anton Chekulaev 24d36158ae Job cleanup. 2020-12-16 13:36:20 +11:00
Anton Chekulaev 2aa179585f Identity functionality and data structure are completely removed. 2020-12-14 12:16:30 +11:00
Anton Chekulaev 3bc4338444 Pre key bundle removal pt1.
Device link functionality removed from app module.
2020-12-09 18:23:05 +11:00
Anton Chekulaev 8d17593d87 Unused code cleanup. 2020-12-07 12:41:03 +11:00
Anton Chekulaev eafa7c7a77 Device link related views removed. General unused code cleanup. 2020-12-04 16:00:52 +11:00
Anton Chekulaev 5e3cb706c4 Unused code cleanup. 2020-12-02 23:01:04 +11:00
Anton Chekulaev 4fb4709ec2 Unused code cleanup. 2020-11-30 17:43:06 +11:00
Ryan ZHAO 255dc9c26b ditch :service, :service:android, :service:java 2020-11-26 10:07:45 +11:00
Ryan ZHAO 7a66a47520 restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00