Commit graph

87 commits

Author SHA1 Message Date
Benoit Marty
e7ba973e7b Improve default mime type. 2023-09-26 17:48:26 +02:00
Benoit Marty
0d204f5e98 Share tag with other modules. 2023-09-15 17:03:32 +02:00
Marco Romano
2a59e6ae78
Properly inline tryOrNull() (#1003)
Nullable params can't be inlined, default empty lambdas are therefore preferred.
2023-07-31 13:49:57 +00:00
Benoit Marty
f7536a5450 Enable more detekt rules and remove unused extension. 2023-07-26 11:25:05 +02:00
ganfra
84500d41eb Merge branch 'develop' into feature/fga/better_media_handling 2023-07-18 15:13:59 +02:00
Benoit Marty
6681f6f806 Remove StableCharSequence, it was useful when we were using the Epoxy library. 2023-07-17 16:47:54 +02:00
ganfra
f61a81e7f4 Media: add audio fixture for tests 2023-07-13 22:00:29 +02:00
Benoit Marty
af520ddc00 Fix failing test. Code is now aligned with the comment. 2023-07-12 09:43:18 +02:00
ganfra
d77ff60f03 Coroutine: remove diffUpdateDispatcher, not used anymore 2023-07-11 11:40:55 +02:00
jonnyandrew
3c6f658a1f
Truncate and ellipsize long reactions (#821)
* Truncate and ellipsize long reactions

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-08 17:53:29 +01:00
Benoit Marty
e81d9c1ac9 Add application version to the setting screen. 2023-07-03 17:09:04 +02:00
ganfra
f25314f7f7 Coroutine: create extension method to create childScope 2023-06-28 16:41:59 +02:00
ganfra
f6a1db44a6 Fix some code quality/formatting 2023-06-27 14:43:05 +02:00
ganfra
cb219e6292 Room/Timeline: simplify the apis 2023-06-21 16:25:18 +02:00
ganfra
26adc55ea9 Merge branch 'develop' into feature/fga/pdf_renderer 2023-06-02 16:43:55 +02:00
ganfra
3030799649 Pdf: first iteration of pdf renderer 2023-05-31 23:20:49 +02:00
Benoit Marty
6621163d27 Document [TimelineItemGroupPosition] and improve preview of [MessageEventBubble]. 2023-05-30 10:17:25 +02:00
Jorge Martín
668b0e7273 Merge remote-tracking branch 'origin/develop' into feature/fga/image_loading 2023-05-29 18:11:53 +02:00
Jorge Martín
87990c425c Fix small issues, improve Result.flatMap 2023-05-29 13:58:29 +02:00
ganfra
f51d6a3cfd Media : branch upload to preview screen (need improvement) 2023-05-17 08:44:35 +02:00
Jorge Martin Espinosa
89b9db3be6 [Media upload] Upload image, video and files (#411)
* Add media upload

* Display media upload error messages using a Snackbar.
2023-05-11 15:56:13 +00:00
Jorge Martin Espinosa
5eaa40a14b [Media upload] Media pre-processing (#403)
* Create `mediaupload` module for media pre-processing.

* Split `mediapicker` and `mediaupload` modules.
2023-05-10 10:06:56 +02:00
Jorge Martin Espinosa
2376d32b9e [Room Details] Block & unblock user (#340) 2023-04-26 16:14:44 +02:00
ganfra
638b45930e Merge pull request #334 from vector-im/feature/fga/feature_flag
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
ganfra
df29b1dd8e [BuildMeta] introduce BuildType and remove Network related code from BuildMeta 2023-04-18 11:58:24 +02:00
Benoit Marty
ff36c461b5 Upgrade ktlint to 0.48.2 2023-04-17 15:18:07 +02:00
Jorge Martin Espinosa
de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
1faedca69d Add some tests (mainly imported from EA). Also change type from String to SessionId, RoomId, etc. 2023-04-05 16:59:17 +02:00
Benoit Marty
275fa03de3 Import some stuff about Push and notification from Element Android - WIP 2023-04-05 16:18:44 +02:00
Jorge Martin Espinosa
610e4aa8b6 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit cda0606a0d.
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa
cda0606a0d Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
Jorge Martin Espinosa
f744691c15 Move StateMachine to its own module. (#257) 2023-03-23 16:49:15 +00:00
Benoit Marty
b86e34d93f Merge pull request #225 from vector-im/feature/bma/upgradeLint
Fix lint warning
2023-03-17 16:14:49 +01:00
Benoit Marty
1f0149daeb Merge branch 'develop' into feature/bma/networkModule 2023-03-17 13:39:01 +01:00
Jorge Martin Espinosa
dcb98f06aa Add Session Verification flow (#197) 2023-03-17 10:07:19 +01:00
Benoit Marty
3bd98dc578 Fix lint warning
Recommended Action: Apply the 'com.android.lint' plugin to java library project ***. to enable lint to analyze those sources.
2023-03-17 09:57:30 +01:00
Benoit Marty
a68b3f80eb Add :libraries:network module 2023-03-16 15:31:57 +01:00
Benoit Marty
32d9a183ae Add BuildMeta to the project 2023-03-16 14:21:12 +01:00
Benoit Marty
192bb42106 Add class LoggerTag 2023-03-16 11:21:23 +01:00
ganfra
ccde8adef3 [MatrixSDK] map the remaining EventContents 2023-03-14 12:28:46 +01:00
ganfra
801eecfe8d [MatrixSDK] finish mapping timeline and makes it compile 2023-03-13 20:18:16 +01:00
Benoit Marty
f736b48a92 Add test for MessageComposerPresenter 2023-02-08 09:56:55 +01:00
ganfra
0c8eeb20f8 Clean 2023-01-24 17:41:56 +01:00
ganfra
87d0191324 Change/move some gradle modules to be better separated. Let core module be a kotlin lib. 2023-01-24 17:38:57 +01:00
ganfra
f6672fa5de Rename core module 2023-01-20 16:34:04 +01:00
ganfra
df723bfc44 Merge branch 'develop' into feature/fga/presenter_tests 2023-01-18 20:47:15 +01:00
ganfra
f7d9665eaf Add some refactoring and first simple test on RoomListPresenter 2023-01-18 17:57:34 +01:00
Benoit Marty
862900ed9a Rename folders java to kotlin 2023-01-18 13:51:30 +01:00
ganfra
9e211b5e04 Merge branch 'develop' into feature/fga/navigation First step: makes it compile by disabling the new screens (need to migrate to nodes) 2023-01-06 19:22:52 +01:00
ganfra
eeebb99292 Move some code to 'architecture' module 2023-01-04 21:09:59 +01:00