Benoit Marty
03bb351657
Use modifier.
2023-07-03 17:09:04 +02:00
Benoit Marty
4a985aac98
Splash theme: remove icon
2023-06-29 18:17:37 +02:00
Benoit Marty
5bcad1121d
Add compose preview for launcher icons (mainly for tests)
2023-06-29 15:21:28 +02:00
Benoit Marty
44818379b2
Update application icon.
2023-06-29 15:03:59 +02:00
Benoit Marty
f84b2ebbb0
Rename ElementX to Element X. Only for user facing value. In the doc I prefer to keep ElementX.
2023-06-29 14:15:36 +02:00
Jorge Martin Espinosa
fe3deeec2f
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`.
2023-06-28 09:19:39 +00:00
Jorge Martin Espinosa
02dc447624
[Compound] Integrate compound tokens ( #586 )
...
* Added tokens.
* Apply color to MaterialTheme, also add typography.
* Map colors to the right ones in the themes.
* Create and improve previews of some components
* More preview improvements
* Add `tertiary` and `onTertiary` colors, remove some unused ones.
* Fix usage of deleted color token
* Fix bug in Switch previews
* Create a separate `:libraries:theme` module to keep everything related to colors, typography and Compound in general.
* Fix `DatePickerPreview`
* Add missing Compound generated files by fixing their package name
* Move `ElementTheme` to the `:libraries:theme` module, make some variables internal.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-06-27 16:15:40 +00:00
Benoit Marty
4cb9843415
Now that the composer as been removed, we do not need element resource module anymore.
2023-06-27 13:34:55 +02:00
Jorge Martin Espinosa
95f65e2031
[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`.
2023-06-23 14:39:07 +00:00
Jorge Martin Espinosa
bdb1841e44
[Message Actions] Report messages ( #642 )
...
* Add report messages feature
* Try to improve how snackbars are delivered
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-06-23 10:44:47 +02:00
ganfra
476ddd6d8e
Node: fix compilation after changes
2023-06-12 11:39:28 +02:00
ganfra
f57a2a694d
Dagger: makes sure to not remove an active component when navigating
2023-06-09 23:04:33 +02:00
ganfra
e3d939726c
Fix crash on MainActivity when restored
2023-06-09 22:44:19 +02:00
Jorge Martin Espinosa
e591a588b3
[Message Actions] Add emoji reactions option ( #568 )
...
* Add logic to send message reactions
* Add emoji library, create EmojiPicker component
* Fix bottom sheet behaviors
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-06-09 16:56:40 +02:00
ganfra
8a3a70ffa5
Merge branch 'develop' into feature/fga/media_viewer_actions
2023-06-07 16:31:28 +02:00
Marco Romano
bbef43751b
Network library changes ( #542 )
...
- Allows for http2
- Caches a global instance of kotlinx-serialization `Json` and configures it with a bit more leniency.
- Moves okhttp's dependency strings to the .toml file
- Switches off logging for release builds
2023-06-06 15:33:30 +02:00
ganfra
8e1ade897d
MediaViewer: improve actions (save on disk and share)
2023-06-02 20:13:17 +02:00
Chris Smith
61eccdf727
Remove ksp source set workaround ( #515 )
...
This is no longer needed
2023-06-02 13:09:05 +00:00
Benoit Marty
09c2452d57
Avoid Custom Chrome tab to appear as recent activity.
2023-05-30 15:59:58 +02:00
Benoit Marty
4c9bed9d8a
Oidc with CustomTab
2023-05-30 15:59:58 +02:00
Benoit Marty
579397d301
Fix warning "Use version catalog instead"
2023-05-25 15:04:01 +02:00
Benoit Marty
14366e18e7
Use gradle logger to filter out when running with only warning logs.
2023-05-25 12:03:51 +02:00
Jorge Martin Espinosa
cd298b9359
[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
ganfra
ed3f0f1430
Merge branch 'develop' into feature/fga/some_room_related_fixes
2023-04-28 15:58:54 +02:00
Jorge Martin Espinosa
8e451c934e
Add PickerLauncher wrapper for media/file pickers. ( #361 )
...
* Add `PickerLauncher` wrapper for media/file pickers.
* Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests.
* Move media pickers to their own module.
* Add missing media pickers
* Add feature flag and some extra tests
2023-04-28 10:52:34 +02:00
ganfra
c9370315ad
Some clean up
2023-04-25 11:17:05 +02:00
Jorge Martin Espinosa
ca1ea63885
Fix more R8 issues ( #337 )
2023-04-18 19:21:46 +02:00
ganfra
f98fe8e52c
Merge pull request #334 from vector-im/feature/fga/feature_flag
...
Feature/fga/feature flag
2023-04-18 15:24:04 +02:00
Benoit Marty
391fe9b158
Merge pull request #333 from vector-im/feature/bma/push5
...
Small cleanup and add log
2023-04-18 14:05:00 +02:00
Jorge Martin Espinosa
32d028c50e
Fix: JNA issue in release mode ( #335 )
...
* Restore checkout config for nightly workflows.
* Add missing proguard config line for JNA.
2023-04-18 11:31:25 +00:00
ganfra
e5d70ff48e
[BuildMeta] introduce BuildType and remove Network related code from BuildMeta
2023-04-18 11:58:24 +02:00
Benoit Marty
dfa63c2fc3
Add some log to the Activity, to help debugging from Rageshake.
2023-04-18 10:17:59 +02:00
Jorge Martin Espinosa
afd58f1634
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
0874c076d6
Deeplink: handle notification click to open a room.
2023-04-13 15:35:01 +02:00
Benoit Marty
1f7b897216
Add firebase resource file generated by the firebase plugin, to be able to remove the plugin.
2023-04-12 12:03:19 +02:00
Benoit Marty
95bafe4059
UnifiedPush WIP
2023-04-12 09:49:23 +02:00
Benoit Marty
1f87e10376
Cleanup, Firebase dep. is not necessary here.
2023-04-12 09:48:56 +02:00
Benoit Marty
7e7aca4a53
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
0c0f7dff40
Making progress on notification for multi account.
2023-04-05 16:59:17 +02:00
Benoit Marty
6f6a1e27fe
Fix multi Activity wen opening app from notification.
2023-04-05 16:59:17 +02:00
Benoit Marty
afbd4672e6
Show basic notification when push is recieve
2023-04-05 16:32:28 +02:00
Benoit Marty
64f4740029
Import some stuff about Push and notification from Element Android - WIP
2023-04-05 16:18:44 +02:00
Benoit Marty
08fb6c0a90
Add google-services.json files to the project.
2023-04-05 16:18:44 +02:00
Benoit Marty
bec72cbc22
Configure com.google.firebase:firebase-bom and add dependency on firebase-messaging-ktx
2023-04-05 16:18:44 +02:00
Benoit Marty
8ce6af7951
Setup Google services Gradle plugin.
2023-04-05 16:18:44 +02:00
Jorge Martin Espinosa
9064481b4c
[Room Details] Leave room ( #296 )
...
* Add leave room functionality to the Room Details screen
* Add snackbar message throught `SnackbarDistpacher`
2023-04-05 15:36:41 +02:00
Jorge Martin Espinosa
4154a96b54
Revert "Update Gradle and AGP to v8.0 ( #283 )" ( #295 )
...
This reverts commit 4e085efcf4 .
2023-04-04 14:44:01 +00:00
renovate[bot]
c633c20a54
Update dependency com.android.tools:desugar_jdk_libs to v2.0.3 ( #281 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 09:16:53 +02:00
Jorge Martin Espinosa
4e085efcf4
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
ganfra
d60a653d83
Add utility methods for automatically including api/impl feature modules
2023-03-23 18:06:32 +01:00