Commit Graph

223 Commits

Author SHA1 Message Date
Benoit Marty 4dcd7846b0
Merge pull request #2616 from vector-im/feature/ons/android_11_migration
Migrate to Android 11, API 30.
2021-01-22 17:17:04 +01:00
ganfra 2c0b7ce0f4 Dagger: update to 2.31 and use new AssistedInject 2021-01-15 15:23:24 +01:00
ganfra dd67e8c5b5 Merge branch 'develop' into feature/fga/voip_v1_start 2021-01-08 16:30:37 +01:00
Benoit Marty 963c30a275 Remove dependency to org.greenrobot.eventbus library 2021-01-05 18:56:24 +01:00
Onuray Sahin 23623b8895 Migrate to Android 11, API 30. 2021-01-04 17:12:49 +03:00
ganfra 14288b545b Merge branch 'develop' into feature/fga/voip_v1_start 2020-12-22 11:38:41 +01:00
Benoit Marty 706736273c Migrate to ViewBindings (#1072) - WIP 2020-12-16 00:46:52 +01:00
Benoit Marty dda2685bd8 Upgrade Realm dependency to 10.1.2 2020-12-08 13:45:30 +01:00
Benoit Marty a0c8a8e97c Log HTTP requests and responses in production (level BASIC, i.e. without any private data) 2020-12-08 13:44:42 +01:00
ganfra efec711ced Merge branch 'develop' into feature/fga/voip_v1_start 2020-12-03 13:01:54 +01:00
Benoit Marty c426364618 Remove unused dependencies 2020-12-02 12:45:31 +01:00
Benoit Marty 42bc4d2445 Upgrade some dependencies and Kotlin version 2020-12-02 12:09:56 +01:00
ganfra be3bfe7e5e VoIP: remove dependency over WebRtc on SDK 2020-11-20 12:19:30 +01:00
ganfra 9f3f5d8053 Realm 10: upgrade lib and make it works on our current code. 2020-11-03 16:53:30 +01:00
Benoit Marty 7f5c7c3bed Trick to fix a change due to upgrade to build-tools 4.1.0 (?) 2020-10-13 23:05:33 +02:00
Benoit Marty ff0f42900d Do not use deprecated Fragment.startActivityForResult anymore 2020-10-07 16:02:01 +02:00
Benoit Marty 9e0ebc94c5 Upgrade other dependencies, and remove unused dependencies 2020-10-06 15:44:30 +02:00
Benoit Marty 1a0dba7422 Upgrade Moshi to `1.11.0`, Dagger to `2.29.1`, Epoxy to `4.1.0` 2020-10-06 14:47:57 +02:00
Benoit Marty ebfee5868e Remove OkReplay, not compatible to build tools `4.0.1` (and not used) 2020-10-06 13:06:24 +02:00
Benoit Marty 5056615eb0 Upgrade kotlin version from `1.3.72` to `1.4.10` and kotlin coroutines version from `1.3.8` to `1.3.9` 2020-10-06 12:33:40 +02:00
Benoit Marty af6a94d08e Support for image compression on Android 10 2020-09-04 09:36:18 +02:00
Valere a888e1e80e Support cancel sending and resend event with attachments
Avoid auto retry for medium and big files
2020-08-31 16:20:12 +02:00
ganfra 9c1c9f96e1 Room v6: finish cleaning up 2020-08-27 10:34:40 +02:00
ganfra 1f890324b4 Update some dependencies, including coroutines for working debugging 2020-08-21 17:17:51 +02:00
Benoit Marty 05ecbf0f86 Build Jitsi lib version android-sdk-2.9.3, commit abcbbbea12e3ef88012b14723bb8cd42dbefc988
And host it in https://github.com/vector-im/jitsi_libre_maven/tree/master/android-sdk-2.9.3
2020-08-14 21:33:25 +02:00
Benoit Marty 4f8fd7b994 Benoit's review
- Cleanup
- Force refresh of HomeServerCapabilities
- add some doc
- remove dead code
- remove commented code
- remove duplicated comment
- use getBestName()
- improve code formatting
- Fix isAudioOnly parameter in jitsi url
- Fix layout issue between "Active conference" banner and "Jump to first unread message banner"
- Improve "Active conference" banner
- Remove Calendar permission from Manifest
2020-08-14 15:40:02 +02:00
Valere 42a24300a1 Initial commit jitsi 2020-08-14 09:31:24 +02:00
ganfra 27207a27ae Fix "uploads don't work with Room v6" #1558 2020-07-17 20:33:47 +02:00
Benoit Marty 9d4e903c4a Upgrade some dependencies 2020-07-06 15:59:49 +02:00
Valere 63499c2f48 Add test orchestrator dependency 2020-06-30 17:36:24 +02:00
Valere 4ca0c23e2a Mock Http requests for test 2020-06-30 17:36:24 +02:00
Tobias Preuss e24785015d Use SharedPreferences#edit extension function consistently.
+ Add "androidx.core:core-ktx:1.1.0" to "matrix-sdk-android" module which
  was already used in "vector" module.
+ Sources: https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-preference-release/core/core-ktx/src/main/java/androidx/core/content/SharedPreferences.kt.
2020-06-24 15:40:00 +02:00
Benoit Marty 16f32da647 Cleanup during review. 2020-06-22 16:15:15 +02:00
Valere dc19652c2b WIP
refact WIP


TMP


WIP
2020-06-19 13:35:38 +02:00
Benoit Marty f532d28fb3 Min SDK level set to 21 (#405) 2020-06-18 14:18:40 +02:00
ganfra 1786ba30f7 Proguard: handle matrix sdk 2020-06-11 19:36:15 +02:00
Benoit Marty e411f139c8 Identity: validate code received by SMS 2020-05-18 17:22:40 +02:00
Benoit Marty af0b798ef1 Ensure Timber log output when running tests
to squash
2020-04-24 13:38:28 +02:00
onurays 12429d8091 Merge develop into the branch. 2020-03-26 14:39:50 +03:00
onurays c63f3edb06 Initial fixes to support targetSdk 29. 2020-03-26 12:06:50 +03:00
onurays 6db0de321c Initial implementation of multipicker. 2020-03-20 12:12:59 +03:00
Valere d3d6d44665 Post rebase fix 2020-03-17 14:40:05 +01:00
Valere fc6225a7ac Gossiping refactoring 2020-03-17 14:40:05 +01:00
onurays 05683967c0 Code review fixes. 2020-03-06 12:07:38 +01:00
Benoit Marty e6bd09859f Compress image before sending 2020-02-13 22:50:55 +01:00
Ganard ec6d78bf96 Merge branch 'develop' into feature/stabilization_2 2020-01-31 15:47:33 +01:00
ganfra b848d0530f Update realm to 6.1.0: should fix some of the native crashes 2020-01-30 11:04:37 +01:00
ganfra 9fc3fa7f19 Update some libs and remove incremental from dagger 2020-01-29 21:14:38 +01:00
ganfra 4331d2ef47 Network: reword the strategy for handling NetworkConnectivity (remove Merlin) 2020-01-23 19:08:55 +01:00
ganfra 2bddf61afe Update realm to 6.1.0: should fix some of the native crashes 2020-01-21 15:15:29 +01:00
Benoit Marty 8c32796d5c Ensure builds are reproducible (#842) 2020-01-17 16:06:58 +01:00
ganfra 99c523b710 Update libs 2020-01-06 18:43:34 +01:00
ganfra 92f4288d3e Realm: update realm lib version 2019-12-27 17:16:44 +01:00
Benoit Marty 6cca242f77 Fix Android test compilation issue 2019-10-24 17:49:34 +02:00
Benoit Marty 0a0c344bfb Upgrade RecyclerView version to fix issues with a11y.
Also minor upgrade of some other libs
2019-10-11 10:10:16 +02:00
Benoit Marty f34f28b668 Add Exif orientation info to ContentAttachmentData 2019-10-08 10:52:54 +02:00
Benoit Marty c1c1c3f999 Use latest coroutine lib: v1.3.2 2019-10-07 16:22:09 +02:00
Benoit Marty 8b04fdab77 Upgrade other libraries 2019-10-07 16:22:09 +02:00
Benoit Marty 4ad86a13a0 Upgrade the dependencies to the latest version 2019-10-07 16:21:18 +02:00
Benoit Marty 3e6b65e174 Handle M_CONSENT_NOT_GIVEN error (#64) 2019-09-13 18:21:56 +02:00
Benoit Marty af1e81f65e Remove unused react native lib, and ensure dependencies lib are explicitly declared 2019-08-07 11:53:59 +02:00
ganfra a2b6bd0f62 Fix network reconnection with sync 2019-08-02 11:35:58 +02:00
ganfra fd09a1224e Remove Try from suspending functions 2019-08-01 17:15:17 +02:00
ganfra a8f06f609b Use latest retrofit version to properly cancel requests
Fix cancelation requests
2019-07-16 17:46:52 +02:00
Benoit Marty 80a61cf6b5 Improve dependency download safe path 2019-07-11 14:03:20 +02:00
Benoit Marty 6e036c24b8 Make the test be runnable 2019-07-09 18:14:58 +02:00
ganfra a79a6443e7 Realm: update realm dependencie 2019-07-03 20:08:27 +02:00
Benoit Marty f41c0311fa Fix done TODO 2019-07-03 11:58:50 +02:00
ganfra 41ed4b23d8 Update dependencies (tested ok) 2019-07-02 09:39:45 +02:00
Benoit Marty 7ff2477a4f
Merge pull request #241 from vector-im/feature/api16
min API 19 - tested
2019-06-28 15:06:40 +02:00
Benoit Marty a1c22c9aa6 Remove useless property for a SDK 2019-06-27 18:25:50 +02:00
ganfra b2d2582e0f Merge branch 'develop' into feature/dagger [WIP] 2019-06-26 20:58:46 +02:00
Benoit Marty 1cfc85a772 Display some version of Riot and SDK (Fix #185) 2019-06-21 11:13:16 +02:00
ganfra 07fee8ed3d Dagger: continue reworking on app and sdk [WIP] 2019-06-20 19:26:59 +02:00
ganfra 3d465f6fdf Start to introduce Dagger into SDK [WIP] 2019-06-14 16:32:23 +02:00
Benoit Marty 5621f0661e Merge branch 'develop' into feature/crypto 2019-06-11 14:56:27 +02:00
Benoit Marty 875947dd61 Give the opportunity to override log configuration in local gradle properties file 2019-06-11 14:52:39 +02:00
Benoit Marty 61b1d83bbd Clean 2019-06-11 14:37:02 +02:00
ganfra 07c516ccdd Merge branch 'develop' into feature/crypto 2019-06-07 19:25:55 +02:00
ganfra 81330d30cf Merge branch 'develop' into feature/crypto 2019-06-07 18:53:24 +02:00
Valere d3518c4944
Merge pull request #161 from vector-im/feature/fix_timeline_clicks
Fix / click|longclick link interference
2019-06-07 14:43:04 +02:00
Valere 7409003949 Fix / Bug aggregation on initial sync
fix / All messages were not processed due to a test exiting the for loop
+ started adding context menu for non room messages
2019-06-07 14:14:51 +02:00
Valere 471170a3e0 Fix / click|longclick link interference
+ some missing long click (image content wrapper)
+ update markwon version
2019-06-04 10:29:56 +02:00
ganfra 784d55c16c Crypto: WIP cleaning 2019-06-02 20:34:19 +02:00
Valere 99925d7cf9 Local echo for reactions/edits/redacts 2019-05-29 18:43:33 +02:00
Valere 4a4c0a3da1 Added auto markdown (as per preference)
Fix / show formatted message preview upon composer in edit/quote/reply
Fix / use aggregated content to decide for actions on long click
2019-05-27 18:08:29 +02:00
Benoit Marty e70fd8e351 canonicalize 2019-05-16 15:36:51 +02:00
Benoit Marty 1436667e7d Crypto 2019-05-16 10:34:17 +02:00
ganfra dcac9aed55 Merge branch 'feature/media_attachment' into develop 2019-04-11 13:21:51 +02:00
ganfra 18591d0287 Media: start to play with uploading media 2019-04-03 23:06:17 +02:00
Benoit Marty 87c9f6b2a0 Improve lint configuration 2019-04-03 12:04:24 +02:00
ganfra d110dac0a6 Merge feature/replace_paged_list into develop 2019-04-01 17:33:53 +02:00
ganfra be6a4efacb Timeline : make tests compile and pass 2019-04-01 15:18:52 +02:00
ganfra ad243ae41f Clean code and update dependencies 2019-03-20 18:24:17 +01:00
ganfra 2898eae566 Timeline : reactivate loaders and get off the main thread 2019-03-20 16:24:50 +01:00
Benoit Marty 40d4e3fe83 Log http requests, for easy debugging 2019-03-19 12:55:14 +01:00
Benoit Marty b8cceaa17a Upgrade gradle wrapper to 5.2.1, and pass first sonar analysis 2019-03-18 18:16:59 +01:00
ganfra b5f40f9732 Add stetho in debug to allow some inspection 2019-02-19 17:40:38 +01:00
ganfra a12a9da627 Update Realm 2019-02-18 17:42:03 +01:00
ganfra 946ae32cd8 Let the app be compatible with android 16 2019-01-24 16:30:05 +01:00
ganfra c20cbf7110 Androidx : set paging to 2.0.0 as it seems better at the moment 2019-01-17 15:04:57 +01:00
ganfra ac2d20ad3f Migration androidx : first commit where it compiles. Updates some libs and android studio version in the same time. 2019-01-16 19:25:43 +01:00
ganfra de4281c954 Clean some dependencies 2018-12-17 23:03:09 +01:00
ganfra faa68f4d52 Start testing timeline. Not working at the moment, have to figure it out. 2018-12-14 19:23:49 +01:00
ganfra 5cc128cbf3 Introduce Task interface and TaskExecutor to centralize task processing and easier testing (replace Request naming) 2018-12-14 19:22:39 +01:00
ganfra 168814149b Update some dependencies 2018-12-13 11:00:50 +01:00
ganfra c8c31172b3 Try to configure okreplay for testing network + start to rework koin modules 2018-12-12 21:15:01 +01:00
ganfra 0266380485 Start introducing tests 2018-12-11 15:36:09 +01:00
ganfra 05e9577b7f Update moshi lib 2018-11-09 09:51:43 +01:00
ganfra f050574728 Start sending message : introduce WorkManager. WIP - have to clean 2018-11-08 19:08:14 +01:00
ganfra 9cc3dc51cc Use Try instead of Either as it makes more sens + add GroupRooms API 2018-11-06 16:39:29 +01:00
ganfra d0a241bd2d Clean a bit code and reorganize files 2018-10-26 15:12:38 +02:00
ganfra 3f07ed9806 Trying monarchy to manage realm 2018-10-18 11:16:02 +02:00
ganfra e7f9bf86c6 Pause/Resume sync thread when app goes background/foreground 2018-10-17 15:20:26 +02:00
ganfra 44eb838610 Manage sync in an infinite thread 2018-10-17 13:59:21 +02:00
ganfra 4904ac894e Start to insert room summaries and listen for changes 2018-10-16 15:52:30 +02:00
ganfra b79d23ad24 Migrate to realm + better insertion 2018-10-15 19:42:13 +02:00
ganfra 108fae2f28 WIP integration with old SDK (not working) 2018-10-10 19:46:43 +02:00
ganfra 3215fa47d5 Import old SDK as legacy code to replace smoothly 2018-10-09 12:30:01 +02:00
ganfra 058f1704fa Make sync request works as initial sync 2018-10-08 17:52:45 +02:00
ganfra a7eecdffae Start importing some classes from the developed SDK... + rename packages 2018-10-05 18:14:32 +02:00
ganfra c4316d5055 Make the sdk targeting android to win time 2018-10-04 15:19:03 +02:00
ganfra b406e8301a first commit 2018-10-03 17:58:12 +02:00