Benoit Marty
8fea775e2a
Fix deprecated API usage.
1 year ago
ElementBot
38a25dc3e9
Sync Strings from Localazy ( #1032 )
...
Co-authored-by: Florian14 <Florian14@users.noreply.github.com>
1 year ago
Jorge Martin Espinosa
598a63d267
Use for instead of forEach with ranges ( #1035 )
...
* Use `for` instead of `forEach` with ranges.
`forEach` is several times slower when used with ranges.
* Add changelog
1 year ago
ganfra
62a367520e
RoomList: use same logic than Timeline for caching built items. ( #1013 )
...
* RoomList: use same logic than Timeline for caching built items. Extract into reusable components.
* RoomList: fix tests
* Fix `DiffCacheUpdater` docs
---------
Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
Benoit Marty
3c0a81c416
Ignore unused integer resources.
1 year ago
Benoit Marty
3f372e5804
Enable detekt rule `ImplicitDefaultLocale` and fix existing issue.
1 year ago
Benoit Marty
c75eabbcb0
Enable detekt rules `UnnecessaryParentheses` and cleanup the code.
1 year ago
Marco Romano
e7cab7ac1d
Make the functions in SystemUtils extensions ( #899 )
...
- They are now all extensions over `Context` or `Activity` (when `Context` is not enough) (some of them already were).
- Allows for IDE completion.
1 year ago
Benoit Marty
c919618bc0
Fix account provider change on nightly and release ( #861 )
...
* Use parallelMap (same code)
* Add proguard rules. Fixes #818
* Rename file proguard-rules.pro to consumer-rules.pro for coherency.
* Remove empty and non-referenced proguard files.
1 year ago
bmarty
6e54ed7b77
Sync Strings from Localazy
1 year ago
Jorge Martin Espinosa
b66801a022
Fix crash when opening a URL with associated text ( #699 )
...
* Fix crash when opening a URL with associated text
* Enforce using an `Activity` instead of a `Context` in `SafeUriHandler`.
1 year ago
Benoit Marty
36910abca4
Move FileSizeFormatter to module :libraries:androidutils
1 year ago
Benoit Marty
baf117e8fa
Move content to to File.kt. Also remove deleteAllFiles, we have deleteRecursively now.
1 year ago
Benoit Marty
2a7d252a4e
Display cache size in the developer settings ( #643 )
1 year ago
Jorge Martin Espinosa
cf2723ac7f
[Message Actions] Copy events to clipboard ( #665 )
...
* Add `Copy` action for text events
* Remove 'Copy' action from the list for non-text events
* Use `@ContributesBinding` to inject `AndroidClipboardHelper`.
1 year ago
github-actions[bot]
fe5524bae4
Sync Strings ( #630 )
...
* Sync Strings from Localazy
* Update strings, remove broken German translation
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
2452d8aa91
Fix the 6 issues reported by Sonar.
1 year ago
ganfra
33c74fb4e5
Fix MediaPreProcessor for images/videos sent as file
1 year ago
Benoit Marty
b9ec124af4
Move extension `openUrlInChromeCustomTab` to :androidutils module.
1 year ago
ganfra
7386936217
Media: improve creation of LocalMedia
1 year ago
bmarty
175b7deccb
Sync Strings from Localazy
1 year ago
ganfra
92e19c3dd9
Media: improve a bit the viewers
1 year ago
ganfra
5c198bc279
Media: fix zoomable image with non content uri
1 year ago
ganfra
458cd2d4f3
Media: keep the name of the file when possible
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
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
efb620938c
Create NotificationFactory
2 years ago
Florian Renaud
99bb29c81a
Use string resources
2 years ago
Benoit Marty
b396ce3e20
Add default value for `noActivityFoundMessage`
2 years ago
Benoit Marty
aa36398b4e
Fix lint warnings.
2 years ago
Benoit Marty
415830be1a
Fix lint warnings.
2 years ago
Benoit Marty
00c23618ab
Persist notification data. Note that it will break the key storage for the session database.
2 years ago
Benoit Marty
d8b37d6ead
Add permission modules
2 years ago
Benoit Marty
ec6004a9a8
Cleanup after PR review.
2 years ago
Benoit Marty
8f205bd7dd
Fix copyright
2 years ago
Benoit Marty
d8be158078
Import some classes from Element into :libraries:androidutils
2 years ago
Benoit Marty
fce1569ee3
Fix sonar issue: do not ignore result of File:delete().
2 years ago
ganfra
f1e2016beb
More cleanup
2 years ago
ganfra
0c8eeb20f8
Clean
2 years ago
ganfra
87d0191324
Change/move some gradle modules to be better separated. Let core module be a kotlin lib.
2 years ago