Commit graph

22627 commits

Author SHA1 Message Date
Maxime NATUREL
c56eb331db Update use cases to enable/disable push notifications for the current session 2022-12-05 09:43:56 +01:00
Maxime NATUREL
9d684bc021 Check if account data has content to decide if push notifications can be toggled using account data 2022-12-05 09:43:56 +01:00
Maxime NATUREL
0c6781e9ef Adding changelog entry 2022-12-05 09:43:55 +01:00
Maxime NATUREL
f8c59f6b0c Removing unused import 2022-12-05 09:42:03 +01:00
Maxime NATUREL
d31652e910 Adding unit tests for settings ViewModel 2022-12-05 09:42:03 +01:00
Maxime NATUREL
e78e192853 Adding unit tests for FCM token retrieval 2022-12-05 09:42:03 +01:00
Maxime NATUREL
2a8c72bdcf Fixing code style issues 2022-12-05 09:42:03 +01:00
Maxime NATUREL
46ccf4d73f Adding unit tests for register and unregister use cases 2022-12-05 09:42:01 +01:00
Maxime NATUREL
a3815d7012 Update unit tests 2022-12-05 09:41:24 +01:00
Maxime NATUREL
aa3a808d2c Do not ask to select push distributor in home if notifications are disabled 2022-12-05 09:41:24 +01:00
Maxime NATUREL
740ed89638 Removing the old methods from helper 2022-12-05 09:41:24 +01:00
Maxime NATUREL
2673979ef8 Handling change of notification method 2022-12-05 09:41:24 +01:00
Maxime NATUREL
95556d2551 Change the distributor in dialog cancellation only if there is no existing one 2022-12-05 09:41:24 +01:00
Maxime NATUREL
3f944e9d36 Extracting the logic to toggle notifications for device into a ViewModel 2022-12-05 09:41:24 +01:00
Maxime NATUREL
b29191e892 Using use cases inside component for endpoint testing 2022-12-05 09:41:24 +01:00
Maxime NATUREL
58efe90f7d Removing some debug logs 2022-12-05 09:41:23 +01:00
Maxime NATUREL
2890f41f30 Replacing unregister method by usecase 2022-12-05 09:41:23 +01:00
Maxime NATUREL
4dbca7858c Adding new use cases to handle the Unified push registration 2022-12-05 09:41:23 +01:00
Maxime NATUREL
9456789047 Adding changelog entry 2022-12-05 09:41:23 +01:00
SpiritCroc
51093ec8ac [merge] Bring back composer divider where it used to be
Change-Id: I74ee80cf8860917d6fdf5efe545c1ad75e7c1059
2022-12-04 17:47:29 +01:00
SpiritCroc
c1fce98bf1 Fix reply fade effect for some colored bubble themes
Change-Id: I3fb7fa2045c8c944d6bb5d0f55f28b00e655c4b2
2022-12-04 13:36:58 +01:00
SpiritCroc
1d62cd09d2 Add setting to disable member click to mention
Change-Id: I2d6660baaa31f74fd0217262bf887da16a61c9b3
2022-12-04 13:22:32 +01:00
SpiritCroc
8e97b7c79d Render images in replies
Change-Id: Ia0678184c42a2a01f2e1e65ccd8287bbd71c8c80
2022-12-04 13:17:45 +01:00
SpiritCroc
048e1edb54 Make long press on reply do same action as long press on message
Change-Id: Icfc101e8233ba55d5e95b47dfb2530faadea56df
2022-12-04 12:13:54 +01:00
SpiritCroc
32d076cbdf Fix useless rich replies crash
Change-Id: I40103d9cb91365c421b411ce35a3b1e12f00ce00
2022-12-04 12:04:40 +01:00
SpiritCroc
0e2de3eadb merge_helpers.sh: Fix downstream_latest_tag if sc_v and sc_last are identical
Change-Id: I750b4ce873229de098988c5dbf94e0cfe6a57b82
2022-12-03 17:17:06 +01:00
SpiritCroc
7ffa6214a4 Hide reply-fallback from reply preview
Change-Id: I368f80cec1a94ea4b5551cd41d89e096ae5286cd
2022-12-03 16:05:16 +01:00
SpiritCroc
5aa3a4a764 Re-generate icons
Change-Id: I25836945ef12e1ebd2059983988e4ed44cd3d8d4
2022-12-03 15:44:11 +01:00
SpiritCroc
2f238efde0 Merge remote-tracking branch 'NathanC/themable-icons' into merge-v1.5.10
Change-Id: I4abbebfb8f4a322f4a5942a148b6c16a879a4044
2022-12-03 15:38:45 +01:00
SpiritCroc
dedcfe5ebf [merge] Fix voice recording arrow offset
Change-Id: I968fe08ec4990eb12cf42048147657c66872143c
2022-12-03 15:38:10 +01:00
SpiritCroc
2526bb168d Add composer-related developer quick settings
Change-Id: I3d8bd7b38b8ac84f77d84998433d40894b28ea3d
2022-12-03 15:15:56 +01:00
Onuray Sahin
34d29dc9d7
Merge pull request #7694 from vector-im/feature/ons/unverified_sessions_alert
Remind unverified sessions with a banner once a week (PSG-892)
2022-12-03 14:23:10 +03:00
SpiritCroc
7e4b08155e Clear composer text when canceling message edit
Change-Id: Ib1641b55ef6c214a15523c7045e5f20885db84e6
2022-12-03 11:40:17 +01:00
SpiritCroc
6532a4e999 Automatic SchildiChat string correction
Change-Id: I7050cbfabbba67d40681cfd0f663c2a4196f4ddb
2022-12-03 11:33:26 +01:00
SpiritCroc
541c6ec25b Automatic upstream merge postprocessing
Change-Id: Ie35d8041388e6a08ff9e1f2672711e2c81c7bd5e
2022-12-03 11:33:25 +01:00
SpiritCroc
71eca44f4f [merge] Re-implement Schildi plain composer layout
Change-Id: Ie51df42a34c1ac265748658155d578d6d4debd7c
2022-12-03 11:33:18 +01:00
Nathan
86f39e52e7 Adds in source SVGs for monochrome icons 2022-12-03 01:40:05 -08:00
Nathan
f32e491c72 Adds in themable icon, with beta variant 2022-12-02 23:57:57 -08:00
Weblate
19982e8d77 Merge branch 'origin/develop' into Weblate. 2022-12-03 06:33:28 +00:00
Linerly
70e9f13ec2 Translated using Weblate (Indonesian)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2022-12-03 06:33:27 +00:00
waclaw66
58d10e901e Translated using Weblate (Czech)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2022-12-03 06:33:25 +00:00
Jeff Huang
61eb0d6b44 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2022-12-03 06:33:22 +00:00
Priit Jõerüüt
10d03e16af Translated using Weblate (Estonian)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/et/
2022-12-03 06:33:20 +00:00
Ihor Hordiichuk
873fa2a210 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2022-12-03 06:33:18 +00:00
Jozef Gaal
098dee1aa7 Translated using Weblate (Slovak)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/sk/
2022-12-03 06:33:16 +00:00
Vri
6d1f9408c8 Translated using Weblate (German)
Currently translated at 100.0% (83 of 83 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/de/
2022-12-03 06:33:13 +00:00
phardyle
53ef97d949 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (2550 of 2558 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-12-03 06:33:11 +00:00
SpiritCroc
65be0039a5 Merge tag 'v1.5.10' into merge-v1.5.10
TODO: re-implement our composer constraint changes

Conflicts:
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/summary/RoomSummaryConstants.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/query/ReadQueries.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/read/DefaultReadService.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/read/SetReadMarkersTask.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryUpdater.kt
	vector/src/main/AndroidManifest.xml
	vector/src/main/java/im/vector/app/core/session/ConfigureAndStartSessionUseCase.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerAction.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/PlainTextComposerLayout.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/RichTextComposerLayout.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/voice/VoiceMessageViews.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/TimelineEventController.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/CheckIfCanReplyEventUseCase.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/ReadReceiptsItemFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/format/NoticeEventFormatter.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/helper/MessageInformationDataFactory.kt
	vector/src/main/java/im/vector/app/features/html/EventHtmlRenderer.kt
	vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
	vector/src/main/res/drawable/ic_voice_mic_recording.xml
	vector/src/main/res/layout/composer_layout.xml
	vector/src/main/res/layout/composer_layout_constraint_set_compact.xml
	vector/src/main/res/layout/composer_layout_constraint_set_expanded.xml
	vector/src/main/res/layout/composer_rich_text_layout_constraint_set_compact.xml
	vector/src/main/res/layout/composer_rich_text_layout_constraint_set_expanded.xml
	vector/src/main/res/layout/composer_rich_text_layout_constraint_set_fullscreen.xml
	vector/src/main/res/layout/fragment_timeline.xml
	vector/src/main/res/layout/view_voice_message_recorder.xml
	vector/src/main/res/xml/vector_settings_preferences.xml
	vector/src/test/java/im/vector/app/core/session/ConfigureAndStartSessionUseCaseTest.kt

Change-Id: I55e95d86b4bb019544d75dcb653afe05194cd224
2022-12-02 22:03:17 +01:00
Onuray Sahin
980d59ab58 Fix lint. 2022-12-02 21:21:12 +03:00
Maxime NATUREL
b8ab1b5620 Adding changelog entry 2022-12-02 17:35:13 +01:00