Commit Graph

16864 Commits

Author SHA1 Message Date
SpiritCroc d9e5dfa90a Do not insert empty chunks that loop to themselves
We were getting some stuck timelines because of the insertion of empty
chunks that link to themselves in both directions.

Change-Id: Id3672e6704d82cbcdafa2fa5ded716b624db3680
2022-05-13 11:37:54 +02:00
SpiritCroc 42ac513da4 FEATURES.md: Synapse moved MSC2654 behind experimental flag
https: //github.com/matrix-org/synapse/commit/bebf994ee804ef63ce16801c6694713fcd685320
Change-Id: Icdb86a8d8ba24648723c126b1d9346a4622ffa66
2022-05-12 20:27:58 +02:00
SpiritCroc 347af40ec0 Update notice rendering depending on layout
For SC bubbles: use exact same mechanism as rendering normal text
messages if possible
-> Closes https://github.com/SchildiChat/SchildiChat-android/issues/45

For non-SC-bubbles: use upstream implementation again, so it's possible
to tell apart notices in these as well.

Change-Id: I60c614266d2ae4afdf1e87c649ff484551f961b4
2022-05-11 21:51:06 +02:00
SpiritCroc a96d27cb81 Floating date
Closes https://github.com/SchildiChat/SchildiChat-android/issues/41

Change-Id: I0eb9c6c3800309be40a1f5bc0c4420bd4066c098
2022-05-11 21:50:58 +02:00
SpiritCroc 85a26ae8be Render image reactions (MSC3746)
Some notes:
- Doesn't re-parse reactions already in the db to add the url field - so
  may need an initial sync for those.
- Since some clients don't really follow MSC3746, as in: they don't use
  the url field, but instead only write and check the key if it is an
  mxc-url, support those as well.
- Accordingly, initial sync is likely not required for those reactions
  I've seen in the wild so far, as it's common to use the mxc url also
  as key.

Change-Id: Ib1c50315425494986fa2e794d165658220a4f342
2022-05-11 21:50:49 +02:00
SpiritCroc 88556658a3 Improve and debug ghost swipe situation
Change-Id: Ic6f2956a139516050e2b7e5ec248969326b7ec43
2022-05-11 21:50:44 +02:00
SpiritCroc b2a6252f94 Blank room list debug / fix attempt
Change-Id: Ic0624f530cbe951f5a229d4e5335b8699f559f43
2022-05-11 21:48:48 +02:00
SpiritCroc 9d6749f8cb Increment version
Change-Id: Ieb63a5f1f3f14f11ef0f874b45f74d95e14240b6
2022-05-09 12:41:04 +02:00
Lynn Nakanishi Lin(林中西) 5a8639b24c Translated using Weblate (Chinese (Simplified))
Currently translated at 99.3% (147 of 148 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/zh_Hans/
2022-05-09 12:35:42 +02:00
joshua 15a0c81440 Translated using Weblate (Swedish)
Currently translated at 100.0% (148 of 148 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2022-05-09 12:35:41 +02:00
MagnetizedFreckles 2b9f3ac84c Translated using Weblate (Russian)
Currently translated at 85.8% (127 of 148 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/ru/
2022-05-09 12:35:41 +02:00
SpiritCroc 9cc5ab8a1d Emoji-only messages: ignore spaces for max emoji count
Change-Id: I270f0602ccb26aa744b788495b5ca2374ab6e6c5
2022-05-09 12:32:55 +02:00
SpiritCroc 797a8c6c10 Custom emojis: detect as emoji-only
Change-Id: Ia147a0362eb7d930ad6709bca0f86b51cb62612e
2022-05-09 12:32:49 +02:00
SpiritCroc 04cc69c206 Inline images: data-mx-emoticon height override
Change-Id: I3f1ab2aff5b17635600d76f4ca41fc539359b1ce
2022-05-09 12:32:42 +02:00
SpiritCroc 3c702b7230 Fix read marker update when rm becomes visible last
If the read marker becomes visible after all events, the global most
recent visible event won't be caught unless the user starts scrolling it
out and back in.
To fix, immediately look up the most recently displayed event once the
read marker becomes visible.

Change-Id: I909503801572d50e968610de163e56c05a946d36
2022-05-08 18:31:06 +02:00
SpiritCroc 19402f54a6 [merge] Fix fdroid variant compile / remove unused imports
Change-Id: Ib7d0c4095bb549b54d83ad3d1ef4c23bc0ebc736
2022-05-06 09:24:29 +02:00
SpiritCroc 30d7c9b09b [merge] Fix realm migration from v1.4.13
Change-Id: If402ca9e48871ef086f173843d6b42d850294e6e
2022-05-05 18:33:17 +02:00
SpiritCroc bed3051812 Automatic SchildiChat string correction
Change-Id: I6db6443c31a7052293ae4df4e60c0694d1e38c26
2022-05-05 17:41:29 +02:00
SpiritCroc cf3036de22 Automatic upstream merge postprocessing
Change-Id: Ia795352ccd15a5c17d71090d221cbedb51a96874
2022-05-05 17:41:28 +02:00
SpiritCroc 4617d2d698 Merge tag 'v1.4.14' into sc
v1.4.14

Change-Id: I3667009380f1e35ce05c75c3769e62e3446212db

Conflicts:
	.editorconfig
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/actions/MegolmSessionDataImporter.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/session/room/send/LocalEchoEventFactory.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/DefaultTimeline.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/LoadTimelineStrategy.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/SyncTask.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/util/database/RealmMigrator.kt
	vector/src/fdroid/java/im/vector/app/push/fcm/FcmHelper.kt
	vector/src/gplay/java/im/vector/app/gplay/push/fcm/VectorFirebaseMessagingService.kt
	vector/src/gplay/java/im/vector/app/push/fcm/FcmHelper.kt
	vector/src/main/java/im/vector/app/AppStateHandler.kt
	vector/src/main/java/im/vector/app/VectorApplication.kt
	vector/src/main/java/im/vector/app/core/pushers/PushersManager.kt
	vector/src/main/java/im/vector/app/core/receiver/BackgroundSyncStarter.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/timeline/factory/MessageItemFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/helper/TimelineControllerInterceptorHelper.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/style/TimelineMessageLayout.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/style/TimelineMessageLayoutFactory.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomListSectionBuilderSpace.kt
	vector/src/main/java/im/vector/app/features/navigation/DefaultNavigator.kt
	vector/src/main/java/im/vector/app/features/navigation/Navigator.kt
	vector/src/main/java/im/vector/app/features/roomprofile/members/RoomMemberListViewModel.kt
	vector/src/main/java/im/vector/app/features/roomprofile/members/RoomMemberListViewState.kt
	vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt
	vector/src/main/java/im/vector/app/features/settings/notifications/VectorSettingsNotificationPreferenceFragment.kt
	vector/src/main/java/im/vector/app/features/settings/troubleshoot/TestTokenRegistration.kt
	vector/src/main/java/im/vector/app/features/spaces/SpaceSummaryController.kt
2022-05-05 17:41:26 +02:00
SpiritCroc 11194546a7 [TMP] Automatic upstream merge preparation
Change-Id: I3d17203abc4c7c8b681ba3d23483f76d3b5c2caa
2022-05-05 14:26:49 +02:00
SpiritCroc 2a87ebe3e8 Automatic revert to unchanged upstream strings, pt.1
Change-Id: Iceff48cf6d67ca6e84bc04e9a5d94d81cb339932
2022-05-05 14:26:49 +02:00
SpiritCroc 92fe0a5a29 Rageshake: re-enable can_contact switch
Follow-ups may be useful for some kind of reports

Change-Id: Id2a42ce771f1ed355b896e5e8f8ad61e61670d8b
2022-05-05 13:28:26 +02:00
SpiritCroc 3e2fdd0784 Inline images: use isMxcUrl()
Change-Id: Ie85c5597e714b48dc5bcd3ac69abb5161b4fa640
2022-05-05 13:28:12 +02:00
ganfra a5b007f147 Merge branch 'release/1.4.14' into main 2022-05-05 11:30:59 +02:00
ganfra 9420d309a5 Add changes 2022-05-05 10:38:49 +02:00
ganfra 00ad9ccc2a
Merge pull request #5935 from vector-im/feature/fga/fix_weblate_lint
Feature/fga/fix weblate lint
2022-05-04 19:07:16 +02:00
Benoit Marty 330d802079
Merge pull request #5907 from vector-im/feature/bma/currentTimeMillis
Use Clock interface
2022-05-04 18:27:04 +02:00
ganfra f2c35adb60 Fix TODO on strings 2022-05-04 18:19:03 +02:00
Benoit Marty a11c0b7ea1
Merge pull request #5885 from chagai95/patch-2
don't pause timer when call is held
2022-05-04 18:09:11 +02:00
ganfra ed7343e897 Weblate: fix string with param 2022-05-04 18:06:05 +02:00
Benoit Marty 2fb5f423a5 Rename val 2022-05-04 17:52:32 +02:00
Benoit Marty 3ecde755e0 Rename val 2022-05-04 17:51:14 +02:00
Benoit Marty 2d98cbd915 Rename `now` to more explicit `currentTimeMillis` 2022-05-04 17:48:36 +02:00
Benoit Marty 09e628f227
Merge branch 'develop' into feature/bma/currentTimeMillis 2022-05-04 17:43:03 +02:00
ganfra de531a17d9
Merge pull request #5931 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-05-04 17:15:52 +02:00
Weblate 5cdea33418 Merge branch 'origin/develop' into Weblate. 2022-05-04 14:39:20 +00:00
chanthajohn keoviengkhone f7d006c13b Translated using Weblate (Lao)
Currently translated at 95.2% (2112 of 2217 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lo/
2022-05-04 14:30:54 +00:00
Benoit Marty 9c558f1f15
Merge pull request #5928 from vector-im/bugfix/adm/login-in-other
Fixing sign in via Other needing registration to be enabled
2022-05-04 14:09:40 +02:00
Adam Brown f42e6c0a3c fixing sign in needing registration to be enabled
- caused by the sign in flow using the registration homeserver validation, fixed by posting the sign in mode event directly
2022-05-04 11:36:36 +01:00
Benoit Marty 78af67ee7e Changelog 2022-05-04 12:33:26 +02:00
Adam Brown 1d59f69a57
Merge pull request #5909 from vector-im/defect/adm/crash-when-processing-call-events
Fixes crash when accepting VOIP calls
2022-05-04 11:16:51 +01:00
Adam Brown 76a285e655
Merge pull request #5926 from vector-im/bugfix/adm/konfetti-crash
Crash - Konfetti API 21/22 crash
2022-05-04 11:16:31 +01:00
Benoit Marty dcc20bbfeb
Merge pull request #5854 from vector-im/feature/bma/small_fixies
Documentation update
2022-05-04 11:57:19 +02:00
Benoit Marty 5076b2cdbd
Merge pull request #5858 from vector-im/feature/bma/room_api
Room now exposes methods to get the various Services
2022-05-04 11:55:04 +02:00
Adam Brown 9fd56f0b5c fixes konfetti crashing api 21/22 devices due to the View lifecycle being different
-  https://github.com/DanielMartinus/Konfetti/issues/297
2022-05-04 10:31:33 +01:00
Benoit Marty b5a0c944d1
Merge pull request #5869 from vector-im/feature/mna/PSF-884-live-location-aggregation
[Live location sharing] Improve aggregation process of events
2022-05-04 11:11:39 +02:00
Benoit Marty 2ff6604555
Merge pull request #5890 from vector-im/feature/bma/another_cleanup
This is not necessary to map the EventId
2022-05-04 10:47:05 +02:00
Benoit Marty 12d7cee687
Merge pull request #5924 from vector-im/feature/bma/space_fix
Space list crash fix
2022-05-04 10:41:40 +02:00
Benoit Marty 70c1310794 Ensure space invite are not displayed twice and cannot be selected as current space 2022-05-04 10:07:08 +02:00