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
35bbb3a139
Add Accept-Language to extra header when opening CustomChromeTab
...
Follow good practice from https://developer.android.com/guide/topics/resources/app-languages#consider-header
2024-12-16 16:58:58 +01:00
ElementBot
411895456b
Sync Strings - add translations to Finnish ( #3883 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-11-18 11:37:17 +00:00
Benoit Marty
22bb8796ef
Delete temporary created files.
2024-11-08 10:11:06 +01:00
Jorge Martin Espinosa
6b2aa7eb8c
Refresh room summaries when date or time changes in the device ( #3683 )
...
* Add `DateTimeObserver` to rebuild the room summary data when the date/time changes.
* Add time changed action too, to trigger when the user manually changes date/time
* Fix timezone issue by adding `TimezoneProvider`, fix tests
* Create test for `DateTimeObserver` usage in `RoomListDataSource`
* Create aRoomListRoomSummaryFactory function.
* Improve test by faking the lastMessageTimestampFormatter
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-10-16 09:10:58 +00:00
Benoit Marty
67140fe165
Do what the doc says: if no CustomChrome tab is available, try to open the Url in any installed browser.
2024-10-08 09:10:12 +02:00
Jorge Martin Espinosa
2efdb3ae45
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +00:00
Benoit Marty
7a9a7c4af5
Protection against ActivityNotFoundException.
2024-09-24 16:21:41 +02:00
Benoit Marty
62a6e916a6
Migrate license to AGPL - XML files.
2024-09-06 17:43:35 +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
bmarty
5765d9bf9f
Sync Strings from Localazy
2024-08-19 00:25:36 +00:00
Jorge Martín
252b3e11a0
Improve existing APIs
2024-08-13 08:55:06 +02:00
bmarty
d288ace4bd
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ElementBot
9522569860
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-07-22 08:59:47 +00:00
jmartinesp
58f2cbf489
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
Benoit Marty
d43b0e8401
Remove the method supportNotificationChannels() from SystemUtils, it has been copied in NotificationChannels.kt
2024-06-26 11:59:48 +02:00
bmarty
57510316ec
Sync Strings from Localazy
2024-06-10 00:17:04 +00:00
Benoit Marty
ffff1c904f
Use functions from IntentCompat
2024-06-06 09:56:36 +02:00
Benoit Marty
c403dcd5da
Incoming share
2024-06-05 18:08:14 +02:00
bmarty
46b6ae6251
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
9065e9d2eb
Merge pull request #2921 from element-hq/sync-localazy
...
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
Benoit Marty
7d3cef33a9
Read versionCode from the Manifest, since BuildConfig.VERSION_CODE does not contain the correct last digit.
2024-05-24 15:06:47 +02:00
bmarty
0241014932
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
bmarty
602b3988e4
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
Benoit Marty
496e0ea566
Improve openUrlInExternalApp API and move url to UnifiedPushConfig
2024-04-02 18:12:36 +02:00
Benoit Marty
8588ce7a72
Troubleshoot notifications screen
2024-04-02 16:15:00 +02:00
Jorge Martin Espinosa
eabdb9ae4d
Add isInDebug variable to simulate debug/release configs for tests ( #2566 )
...
* `isInDebug` as `ThreadLocal<Boolean>`
* Use a simple var for `isInDebug` and add a helper method to test release mode, when running the debug test.
* Add some more docs
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-03-18 17:56:07 +01:00
bmarty
54ef435d9c
Sync Strings from Localazy
2024-02-26 18:17:16 +00:00
Benoit Marty
9119a7b7fb
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
bmarty
7911a26003
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
Benoit Marty
d3830af78b
Fix ktlint issues
2024-01-10 19:33:39 +01:00
renovate[bot]
7e9cda3aa9
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-10 16:22:24 +01:00
Benoit Marty
d31909e049
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
b43ddd36b9
Run the script again.
2023-12-05 12:25:59 +01:00
bmarty
ad2ca01094
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
Benoit Marty
0acaa19a16
Add unit test for AndroidFileSizeFormatter
2023-11-30 14:36:59 +01:00
Benoit Marty
4f32299280
Use MimeTypes object instead of hard-coded strings.
2023-11-27 21:58:58 +01:00
Benoit Marty
08c62c191a
Remove dead code.
2023-11-27 16:43:58 +01:00
Benoit Marty
805867d9e8
More removal of dead code.
2023-11-23 22:18:28 +01:00
Benoit Marty
304be71122
Remove unused code to increase code coverage.
2023-11-23 17:55:50 +01:00
Benoit Marty
c5f3562454
Konsist: check if sealed class could be sealed interface and fix existing issues.
2023-11-03 15:19:55 +01:00
jonnyandrew
c4ab264495
Fix long press on voice message with screen reader ( #1704 )
...
As a workaround, disable seeking within the waveform so that it does
not interfere with the long press menu.
Seeking behaviour is already suboptimal given that there is no spoken
feedback about the current seek position. No core functionality is
lost as voice messages can be played using a screen reader.
2023-10-31 13:00:08 +00:00
Benoit Marty
bb55a5676c
Secure backup
2023-10-27 12:18:40 +02:00
Benoit Marty
d3d9367feb
Localazy sync
2023-09-18 16:42:35 +02:00
bmarty
6e5e538724
Sync Strings from Localazy
2023-09-18 00:09:19 +00:00
jonnyandrew
7ba73aed2c
[Rich text editor] Ensure keyboard opens for reply and text formatting modes ( #1337 )
2023-09-16 07:40:56 +00:00
Benoit Marty
4fa1327925
Avoid logging warning why attempting to delete unexisting file.
2023-09-15 16:41:00 +02:00
ganfra
455d39c629
Sync Strings from Localazy
2023-09-14 14:38:49 +00:00
David Langley
a1a9b57df7
Address PR review comments.
...
- use util startNotificationSettingsIntent.
- add documentation.
- use remember with userPushStoreFactory for recomposition.
2023-09-13 21:03:52 +01:00