Benoit Marty
fa13d85d74
fix compilation warning
3 weeks ago
Jorge Martin Espinosa
f8fa218146
Upgrade the used JDK in the project to v21 ( #3582 )
...
* Upgrade the used JDK in the project to v21
* Use it for CI too
* Centralise java language version
* Fix deprecations, tests and lint issues
* Fix coverage taking into account `@Preview` annotated code.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
4 weeks ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
ganfra
c30398ccc7
Pinned messages: clean code
2 months ago
ganfra
2193b9a300
Pinned events : start displaying actions in timeline
2 months ago
Benoit Marty
a9fb4b95ce
Add `isEnterpriseBuild` to BuildMeta
4 months ago
Benoit Marty
c98863a70e
Ensure that setting change is taken at least 300ms to avoid dialog flickering ( #1647 )
5 months ago
Benoit Marty
9567119e31
Ensure Posthog is only used for Element builds.
5 months ago
Benoit Marty
3c3703cba3
Read versionCode from the Manifest, since `BuildConfig.VERSION_CODE` does not contain the correct last digit.
5 months ago
Benoit Marty
1bcfa6034c
Add support for link generated by matrix.to website.
6 months ago
Benoit Marty
ffede8b13b
Use productionApplicationName, set to "Element", instead of "Element X", and use ot for `screen_onboarding_welcome_message`
7 months ago
Benoit Marty
075510c425
Add `desktopApplicationName` to BuildMeta.
7 months ago
Benoit Marty
cb435c523b
Create dedicated module for notification troubleshoot.
7 months ago
Benoit Marty
74048cca8f
Avoid tryEmit(), use emit()
7 months ago
Benoit Marty
2bfe125a77
Troubleshoot notifications screen
7 months ago
Jorge Martin Espinosa
134cacb024
Room member moderation: kick, ban and unban ( #2496 )
...
* Room member moderation: kick, ban and unban
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
8 months ago
Benoit Marty
cccfdfbcc7
Restore branch and git sha, to use it in logs and in rageshakes.
...
Remove quite useless `gitRevisionDate`.
9 months ago
Benoit Marty
a831f05f6e
Fix ktlint issues
10 months ago
Benoit Marty
7572968e20
Ignore ktlint issue for this particular class.
10 months ago
Jorge Martin Espinosa
ab8402a4dc
Open room member avatar in a media viewer ( #1911 )
...
* Open room member avatar in viewer.
The `MediaViewer` was extracted to its own library module.
* Update screenshots
* Restore KSP processor in `:libraries:mediaviewer:api`, this should generate Showkase components again.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago
Jorge Martin Espinosa
a8fbb882f2
Integrate mentions in the composer ( #1799 )
...
* Integrate mentions in the composer:
- Add `MentionSpanProvider`.
- Add custom colors needed for mentions.
- Use the span provider to render mentions in the composer.
- Allow selecting users from the mentions suggestions to insert a mention.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
12 months ago
jonnyandrew
b476654489
Record and send voice messages ( #1596 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
7389748f3e
Konsist: add rule obout test class name, and fix existing issue
1 year ago
Jorge Martin Espinosa
ffef9d936a
Fix: WebP images can't be sent as media. ( #1501 )
...
* Fix: WebP images can't be sent as media.
* Place the `BitmapFactory.Options` mode change and comment where it belongs.
1 year ago
Benoit Marty
e7ba973e7b
Improve default mime type.
1 year ago
Benoit Marty
0d204f5e98
Share tag with other modules.
1 year ago
Marco Romano
2a59e6ae78
Properly inline `tryOrNull()` ( #1003 )
...
Nullable params can't be inlined, default empty lambdas are therefore preferred.
1 year ago
Benoit Marty
f7536a5450
Enable more detekt rules and remove unused extension.
1 year ago
Benoit Marty
6681f6f806
Remove StableCharSequence, it was useful when we were using the Epoxy library.
1 year ago
ganfra
f61a81e7f4
Media: add audio fixture for tests
1 year ago
Benoit Marty
af520ddc00
Fix failing test. Code is now aligned with the comment.
1 year ago
ganfra
d77ff60f03
Coroutine: remove diffUpdateDispatcher, not used anymore
1 year ago
jonnyandrew
3c6f658a1f
Truncate and ellipsize long reactions ( #821 )
...
* Truncate and ellipsize long reactions
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
e81d9c1ac9
Add application version to the setting screen.
1 year ago
ganfra
f25314f7f7
Coroutine: create extension method to create childScope
1 year ago
ganfra
f6a1db44a6
Fix some code quality/formatting
1 year ago
ganfra
cb219e6292
Room/Timeline: simplify the apis
1 year ago
ganfra
3030799649
Pdf: first iteration of pdf renderer
1 year ago
Benoit Marty
6621163d27
Document [TimelineItemGroupPosition] and improve preview of [MessageEventBubble].
1 year ago
Jorge Martín
87990c425c
Fix small issues, improve `Result.flatMap`
1 year ago
ganfra
f51d6a3cfd
Media : branch upload to preview screen (need improvement)
1 year ago
Jorge Martin Espinosa
89b9db3be6
[Media upload] Upload image, video and files ( #411 )
...
* Add media upload
* Display media upload error messages using a Snackbar.
1 year ago
Jorge Martin Espinosa
5eaa40a14b
[Media upload] Media pre-processing ( #403 )
...
* Create `mediaupload` module for media pre-processing.
* Split `mediapicker` and `mediaupload` modules.
2 years ago
Jorge Martin Espinosa
2376d32b9e
[Room Details] Block & unblock user ( #340 )
2 years ago
ganfra
df29b1dd8e
[BuildMeta] introduce BuildType and remove Network related code from BuildMeta
2 years ago
Benoit Marty
ff36c461b5
Upgrade ktlint to 0.48.2
2 years ago
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>
2 years ago
Benoit Marty
1faedca69d
Add some tests (mainly imported from EA). Also change type from String to SessionId, RoomId, etc.
2 years ago
Benoit Marty
275fa03de3
Import some stuff about Push and notification from Element Android - WIP
2 years ago
Jorge Martin Espinosa
610e4aa8b6
Revert "Update Gradle and AGP to v8.0 ( #283 )" ( #295 )
...
This reverts commit cda0606a0d
.
2 years ago