Benoit Marty
1292da2a72
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
e70d767183
Remove context(parentNode: Node) and provide the parent Node as a parameter.
2025-10-31 12:04:57 +01:00
Benoit Marty
05c5f3c914
Use context parameter for the parentNode
2025-10-30 16:32:53 +01:00
ganfra
dde6dd0ed5
feature(space): use SpaceRoom.displayName from sdk
2025-10-07 20:15:46 +02:00
Benoit Marty
55f2531af1
Remove code duplication.
2025-10-01 11:21:36 +02:00
ganfra
5cda6730c4
Merge branch 'develop' into feature/fga/join_space
2025-09-19 16:35:55 +02:00
Benoit Marty
e36273b94c
Add test on DefaultEntryPoints
2025-09-16 14:38:32 +02:00
ganfra
f675c95740
feature (space) : start logic for joining space
2025-09-15 16:26:54 +02:00
Benoit Marty
d7c6cbc78c
Code cleanup, remove dead code and fix compilation issue
2025-09-10 14:47:07 +02:00
ganfra
f56ccdc786
feature(spaces) : introduce SpaceRoomList matrix api
2025-09-10 14:25:17 +02:00
Benoit Marty
85d7532124
Space List
...
Extract InviteButtonsRowMolecule
Take into account seenSpaceInvites
2025-09-05 17:09:39 +02:00
ganfra
cee279fd44
change (accept invite) : updates the error title/content dialog for accept/decline actions
2025-06-20 16:40:52 +02:00
Jorge Martin Espinosa
58a3ea8b1f
Add catchingExceptions method to replace runCatching ( #4797 )
...
- Add `runCatchingExceptions` and `mapCatchingExceptions` to replace `runCatching` and `mapCatching`.
- Make `tryOrNull { ... }` catch only exceptions too.
- Apply the changes to the whole project.
- Add new Rust fakes for tests to handle the code that's now unblocked - previously it just threw an `UnsatisfiedLinkError` which we ignored.
- Add a new `detekt-rules` project with a `RunCatchingRule` to prevent `runCatching` and `mapCatching` usages.
2025-06-04 09:02:26 +02:00
ganfra
c2568f84d2
Feature : Report room ( #4654 )
...
* feature (report room) : introduce all presentation classes.
* feature (report room) : branch entry point in the room list
* refactor (matrix ui) : move some code from appnav to matrix ui
* feature (report room) : add api on room
* feature (report room) : adjust ui
* feature (report room) : branch api
* feature (decline invite and block) : move things around and introduce presentation classes
* feature (decline invite and block) : continue to move things
* feature (report room) : remove reference to "conversation" for now
* feature (report room) : add report room action to room detail screen
* feature (report room) : enabled button state
* feature (report room) : improve code and reuse
* feature (report room) : add feature flag
* feature (report room) : change feature flag to static bool
* feature (report room) : add tests
* feature (report room) : fix ui with new api on ListItem
* feature (report room) : clean up and add more tests.
* Update screenshots
* feature (report room) : more test and fix issue
* feature (report room) : update strings
* feature (report room) : fix konsist preview
* feature (report room) : disable feature
* Update screenshots
* var -> val
* Improve preview of AcceptDeclineInviteView
* Improve preview consistency
* Add missing test on DismissErrorAndHideContent
* Update screenshots
* Add missing tests
---------
Co-authored-by: ElementBot <android@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2025-05-02 12:25:19 +02:00
Benoit Marty
ef8eeb804e
Remove the green badge on a pending invite after a first preview ( #4532 )
...
* Remove condition on displayType as I believe, that it has no effect.
* Remove the green badge on a pending invite after a first preview
* Update screenshots
* Fix test
* Improve DefaultSeenInvitesStore, clear it on logout, and on clear cache. Also create a store per session.
* Remember the returned flow.
---------
Co-authored-by: ElementBot <android@element.io >
2025-04-04 16:51:31 +02:00
ganfra
8b933cf10d
change(invites) : clean code
2025-03-04 10:51:22 +01:00
ganfra
148fe9db43
change(invites) : add logic to decline invite and block a user
2025-02-27 21:09:47 +01:00
Benoit Marty
05fc76822a
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
Benoit Marty
e490769444
AcceptDeclineInviteState: create ConfirmingDeclineInvite to host InviteData when confirming decline of invite.
2024-10-14 11:19:18 +02:00
Benoit Marty
97fb7bc2fa
Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
...
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +02:00
Benoit Marty
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Jorge Martin Espinosa
bb47ff8f49
Unify the way we decide whether a room is a DM or a group room ( #3100 )
...
* Add centralised 'room is DM' check
Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.
* Use the centralised method and extension functions through the app, including:
- Room list.
- Room details screen.
- Invites.
- Notifications.
Replace most `isDirect` usages with `isDm`.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-07-10 16:28:46 +00:00
Benoit Marty
87689d787e
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
32f31855b5
Provide serverNames when available and fix issue around analytics
2024-05-14 15:58:10 +02:00
ganfra
807bd362fe
Invite : remove invitelist entry points
2024-04-16 11:41:55 +02:00
ganfra
f7d74070ea
Fix malformed room id in StateProvider..
2024-04-12 16:45:40 +02:00
ganfra
79c6385edb
Room navigation : fix tests on invite after the refactoring
2024-04-11 16:50:09 +02:00
ganfra
9ff0e8eccb
Room navigation : reuse accept/decline presentation logic
2024-04-09 14:16:17 +02:00
ganfra
28361be6e8
Room navigation : rename module invitelist to invite
2024-04-08 17:22:13 +02:00