Commit Graph

786 Commits

Author SHA1 Message Date
0x330a
cdd2559839
Paged conversation recycler, update compile sdk version 31 (#1049)
* Update build tools

* Update appcompat version

* Update dependencies

* feat: add paging into conversation recycler and queries to fetch data off-thread

* refactor: wip for updating paged results and bucketing messages / fetching enough to display

* fix: currently works for scrolling and possibly refreshing? need scroll to message and auto scroll down on insert (at bottom)

* fix: search and scrolling to X message works now

* build: increase version code and name

* fix: re-add refresh, remove the outdated comment

* refactor: lets see if 25 size pages increases performance 👀

* feat: add in some equals overrides for mms records to refresh if media has finished DLing

* feat: add scroll to bottom for new messages if we are at the end of the chat

* build: update build numbers

* fix: update AGP and fix compile errors for sdk version 31

* feat: add log for loki-avatar and loki-fs on upload types and responses

* feat: increase build number to match latest installed version

* feat: changing props and permission checks for call service

* fix: possible service exception when no call ID remote foreground service not terminated

* revert: google services version

* fix: re-add paging dependency

* feat: adding new last seen function and figuring out the last seen for recycler adapter

* build: update version names and codes for deploy

* refactor: undo the new adapter and query changes to use previous cursor logic. revert this commit to enable new paged adapter

* fix: use author's address in typist equality and hashcode for set inclusion

* refactor: refactor the select contacts activity

* refactor: refactor the select contacts activity

* build: update version code

* fix: hide all other bound views if deleted

* refactor: change voice message tint, upgrade build number

* fix: message detail showing up properly

* revert: realise copy public key is actually not allowed if open group participant

* fix: copy session ID, message detail activity support re-enabled

* build: update build version code

* build: remove version name

* build: update build code

* feat: google services version minimum compatible

* fix: selection for re-created objects not properly highlighting

* fix: foreground CENTER_INSIDE instead of just CENTER for scaletype

* build: update version code

* fix: don't show error if no error

* build: update version code

* fix: clear error messages if any on successful send

Co-authored-by: charles <charles@oxen.io>
2022-12-19 11:29:05 +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
b329402faf fix: audio waveforms decoded on the attachment download 2021-07-01 17:06:42 +10:00
Harris
99e6382f2e refactor: use lazysodium version on maven central instead of bintray (no longer available) 2021-05-19 15:12:35 +10:00
Niels Andriesse
7208bb0421 Fix build 2021-05-18 15:03:17 +10:00
Niels Andriesse
68225e00be Clean 2021-05-18 14:45:37 +10:00
Niels Andriesse
7c3bee036c Speed up Gradle sync 2021-05-18 14:18:16 +10:00
Niels Andriesse
81b0530163 Clean up libsession Gradle file 2021-05-18 13:27:51 +10:00
Niels Andriesse
115bc9b159 Speed up path building 2021-05-13 10:31:06 +10:00
jubb
3a09d23337 feat: add contact syncing, UI improvements for profile syncing and conversation threads in the home screen 2021-03-01 17:16:15 +11:00
Ryan ZHAO
17f401c356 make things compile 2021-01-21 15:42:43 +11:00
Anton Chekulaev
eee5f60098 Target API note.
Closed group update data classes.
2020-12-10 16:19:16 +11:00
Anton Chekulaev
a19f59eab6 Gradle plugins and Kotlin were updated to the latest version. 2020-11-24 19:13:59 +11:00
Anton Chekulaev
1c5e62a2de session-android-service is merged under the "service" module. 2020-11-24 15:22:02 +11:00
Anton Chekulaev
9052431bf8 Core app files moved under the "messenger" module. 2020-11-24 13:10:39 +11:00
Anton Chekulaev
58e68f968c
Merge branch 'refactor' into backup-restore 2020-11-24 11:18:47 +11:00
Anton Chekulaev
4307140e5c Conversation activity no longer pulls the public chat info directly.
Public chat API partially refactored to avoid thread branching and to use Kotlin coroutines instead of kovenant futures.
2020-11-20 18:59:13 +11:00
Niels Andriesse
9d8514d7c9
Merge pull request #354 from metaphore/background-polling
Use WorkManager API for Background Polling
2020-11-18 09:05:20 +11:00
Anton Chekulaev
419713ec4b Merge branch 'dev' into backup-restore 2020-11-13 17:15:09 +11:00
nielsandriesse
dde30aa8db Update build number 2020-11-13 10:55:14 +11:00
nielsandriesse
10246241ad Update build number 2020-11-13 10:54:44 +11:00
nielsandriesse
d52f522ff2 Update version number 2020-11-13 10:54:35 +11:00
Anton Chekulaev
ae15c4dd9f Backup enabled preference flag reset.
General backup restore cleanup.
2020-11-13 02:05:26 +11:00
Anton Chekulaev
81f34e93be Backup restore landing screen option. 2020-11-12 13:02:38 +11:00
Anton Chekulaev
3311cd0958 Merge branch 'dev' of https://github.com/loki-project/session-android into backup-restore 2020-11-05 11:28:22 +11:00
nielsandriesse
887aaf4ee4 Update build number 2020-11-02 10:07:11 +11:00
nielsandriesse
6bb3cfaded Update build number 2020-10-30 13:53:16 +11:00
Anton Chekulaev
82b87d9178 Merge branch 'dev' of https://github.com/loki-project/session-android into backup-restore 2020-10-29 13:54:21 +11:00
Anton Chekulaev
730b6fa343 Merge branch 'dev' of https://github.com/loki-project/session-android into background-polling 2020-10-29 11:22:31 +11:00
nielsandriesse
eddd6dc0e6 Update version number 2020-10-29 11:12:37 +11:00
nielsandriesse
4b2607a2d4 Switch to LazySodium for Android 2020-10-29 10:56:21 +11:00
nielsandriesse
edc0b43cbe Merge branch 'dev' into security 2020-10-29 10:19:22 +11:00
Anton Chekulaev
577ccfb04a Merge branch 'dev' of https://github.com/loki-project/session-android into background-polling 2020-10-28 15:32:24 +11:00
nielsandriesse
6b84bb63f9 Merge branch 'dev' into voice-messages 2020-10-28 15:29:12 +11:00
nielsandriesse
6ad688b8d0 Update build number 2020-10-28 13:57:59 +11:00
nielsandriesse
49b588a6e3 Update build number 2020-10-28 11:31:53 +11:00
nielsandriesse
8070b9dd4e Update build number 2020-10-28 10:14:53 +11:00
Anton Chekulaev
0b1b7cd258 Merge branch 'dev' of https://github.com/loki-project/session-android into background-polling 2020-10-27 18:56:44 +11:00
nielsandriesse
00e45174e4 Update build number 2020-10-27 14:41:03 +11:00
Anton Chekulaev
8101ad665e Merge branch 'dev' of https://github.com/metaphore/session-android into background-polling 2020-10-27 12:23:48 +11:00
Anton Chekulaev
82c5df48e7 Merge branch 'dev' into audio-view-design-update 2020-10-26 17:53:39 +11:00
nielsandriesse
43121607d0 Switch key pair generation mechanism 2020-10-26 11:53:08 +11:00
nielsandriesse
53a58acbd5 Update version number 2020-10-26 09:36:09 +11:00
Anton Chekulaev
5974abee34 Use the build tools version matching compile SDK. 2020-10-22 17:33:30 +11:00
Anton Chekulaev
001a5a90cb Merge remote-tracking branch 'loki/dev' into audio-view-design-update 2020-10-20 20:46:24 +11:00
Anton Chekulaev
255271bfaf Base backup restore activity. 2020-10-20 15:39:01 +11:00
nielsandriesse
0cd24905b7 Update version number 2020-10-14 10:11:30 +11:00
Anton Chekulaev
692741f406 Audio parsing and RMS computation for waveform visualization. 2020-10-08 15:32:47 +11:00
nielsandriesse
6aeae72240 Update build number 2020-10-05 09:13:31 +11:00
nielsandriesse
29f988d45c Update build number 2020-10-01 15:50:44 +10:00