Commit Graph

12828 Commits

Author SHA1 Message Date
SpiritCroc
43ba77577b [TMP] Automatic upstream merge preparation
Change-Id: I07249d2b85b4bd78844e5e74c0245116e9119499
2021-12-23 09:55:24 +01:00
SpiritCroc
4db21fb294 Automatic revert to unchanged upstream strings, pt.1
Change-Id: Id2de49d9a137fc056758739dfd127b668c1253d5
2021-12-23 09:55:24 +01:00
SpiritCroc
94bd7c9e33 Fix some bubble style
Change-Id: If636cb41326658afdf1cc3b01c886b85dd568c24
2021-12-16 09:33:00 +01:00
SpiritCroc
004a51646b Fix some more reaction colors on dark theme
Follow-up to 6048e12669: Fix reaction color for non-emojis on dark theme

Hardcoding it to black is bad for dark themes. It was probably done
because the default color would make emojis look pale due to
transparency. If we use a primary text color which hopefully does not
feature transparency (it does not for SC themes, at least), everything
looks fine.

Change-Id: Icbc3b37f5535b98684c2225c0973a152e88d6b31
2021-12-13 09:15:37 +01:00
SpiritCroc
064a363bc1 Experiment with bubble outline: slightly thinner
Change-Id: Ib8ab70e4f7e94047168a9e287c0d65e4349d5264
2021-12-13 09:11:30 +01:00
SpiritCroc
94b9a51b9e Ensure unique ids for subspaces
When you have two root spaces with the same space as subspace, and you expand both root spaces, you end up with two times the same id in the list. This has two problems:

- The expand animation is slightly broken, if you expand the second root space first and then the first one
- If you select one of these items with same id, the app crashes:
    java.lang.IllegalStateException: Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change.

As solution, just prefix the epoxy item ids with the parent spaces.

Change-Id: I93afc5499404cc09dbfa0fbe963558e5f4595233
2021-12-12 11:28:24 +01:00
SpiritCroc
fa79bc3e38 Properly apply null-space filter to favorites as well
Change-Id: Ibb8b8036fa5a065b40d01499221a8e6c392e1a7e
2021-12-12 10:49:50 +01:00
SpiritCroc
51756a9795 Message bubble as xml, and outlined bubble for notices
Change-Id: Ieb16e917456e2b8dd4fea9de8b88684be0c8bff4
2021-12-11 16:58:23 +01:00
SpiritCroc
daa20e629e Change rendering of notices to also allow formating
Change-Id: I49202fc3c8b7ea62c0e1fe1672f4fe590e33c784
2021-12-11 16:45:38 +01:00
SpiritCroc
e6b6bbc277 Log also successful case for viewpager sensitivity
Change-Id: I135089c5842fbd3f7a58ab29db216fcba1c58e66
2021-12-08 11:59:29 +01:00
SpiritCroc
af0b3a8897 Experimental: Swipe to switch between root spaces
Change-Id: I8849a4a2fd2cea0a7904f8c4259adf8c09f6864a
2021-12-07 11:27:01 +01:00
SpiritCroc
3eef15ae3e Properly catch MarkAsUnread failures
These may not be exceptions

Change-Id: I5183f96ec19844737fdc112376108198e1e3c96a
2021-12-06 11:49:20 +01:00
SpiritCroc
f3393e120b Automatic SchildiChat string correction
Change-Id: I042cd791b33f88c68df1f9a4b593e9cc968a6c65
2021-12-05 13:51:40 +01:00
SpiritCroc
1bcf341ec3 Automatic upstream merge postprocessing
Change-Id: I35fd8386a4640b7bc8010d3d5d8384b235f4bd06
2021-12-05 13:51:40 +01:00
SpiritCroc
4b63a9f939 Merge tag 'v1.3.9' into sc
Change-Id: I26834af19e0b02887f288b6441ced6d993cb8861

Conflicts:
	vector/src/fdroid/java/im/vector/app/di/FlavorModule.kt
	vector/src/gplay/java/im/vector/app/push/fcm/EmbeddedDistrib.kt
	vector/src/main/java/im/vector/app/VectorApplication.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewEvents.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewState.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/VoiceMessageRecorderView.kt
	vector/src/main/res/drawable/ic_shield_custom.xml
	vector/src/main/res/drawable/ic_shield_trusted.xml
2021-12-05 13:46:55 +01:00
SpiritCroc
cd2021d5ec [TMP] Automatic upstream merge preparation
Change-Id: Id9ef970ed0d0c41e8b78677352c43cb25e0fe0da
2021-12-05 13:23:05 +01:00
SpiritCroc
2af702451d Automatic revert to unchanged upstream strings, pt.1
Change-Id: I2d3cc21e2a4562cfddceb57c74ef8749f31cae56
2021-12-05 13:23:05 +01:00
Benoit Marty
581c557f60 Merge branch 'release/1.3.9' into main 2021-12-01 17:01:31 +01:00
Benoit Marty
67ec4ffd1b fastlane 2021-12-01 17:01:21 +01:00
Benoit Marty
d57240e3f5 towncrier 2021-12-01 16:58:42 +01:00
Benoit Marty
9253a3664b
Merge pull request #4607 from vector-im/feature/bma/cursor_crash
Add robustness when getting data from cursors.
2021-12-01 16:48:50 +01:00
Benoit Marty
17245dc7ae
Merge pull request #4608 from vector-im/feature/adm/converting-vm-on-send
Fixed voice messages on Android 28 and below
2021-12-01 16:46:26 +01:00
Adam Brown
81ee141330 only converting the voice messages when we're sending them
- stops us from eagerly converting to .ogg on android L and below devices whilst the draft phase/playback phase is ongoing, fixes unexpected .ogg when playing drafts
2021-12-01 15:18:24 +00:00
Benoit Marty
84f7eb29e0 Add robustness when getting data from cursors.
Use androidx.core.database extension for better nullability check, and ignore uncomplete data.
2021-12-01 16:09:12 +01:00
SpiritCroc
d3ac345c3b Increment version
Change-Id: I41824b09b1b58864c47c7a692bee00a4d031147a
2021-12-01 15:47:43 +01:00
joshua
bc388e18af Translated using Weblate (Swedish)
Currently translated at 98.3% (116 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2021-12-01 12:36:56 +01:00
мачко
dad039ae1c Translated using Weblate (Bulgarian)
Currently translated at 1.6% (2 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/bg/
2021-12-01 12:36:56 +01:00
мачко
aba3ea4d12 Added translation using Weblate (Bulgarian) 2021-12-01 12:36:55 +01:00
joshua
9cb71efc23 Translated using Weblate (Swedish)
Currently translated at 94.9% (112 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/sv/
2021-12-01 12:36:55 +01:00
SpiritCroc
edbb024bad Link privacy policy from the login splash screen
Users might want to read the privacy policy *before* logging in.

Change-Id: I30b0935e107494e015f2a911589420aae67d7614
2021-12-01 12:34:24 +01:00
Benoit Marty
2e52f429fb
Merge pull request #4598 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-12-01 12:10:14 +01:00
Weblate
9726e258b5 Merge branch 'origin/develop' into Weblate. 2021-12-01 10:38:05 +00:00
Fjoerfoks
c855465e62 Translated using Weblate (Frisian)
Currently translated at 49.7% (1339 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-30 20:25:58 +00:00
Benoit Marty
3a8fd42513
Merge pull request #4558 from vector-im/feature/adm/voice-draft
Adding support for voice drafts
2021-11-30 20:44:49 +01:00
Benoit Marty
02a609164c
Merge pull request #4592 from vector-im/feature/aris/epoxy_controller_init_improvement
Feature/aris/epoxy controller init improvement
2021-11-30 18:50:32 +01:00
Benoit Marty
3f39c5dae1
Merge pull request #4587 from vector-im/feature/bma/is_consent
Iterate on user consent dialog for identity server
2021-11-30 18:22:21 +01:00
ariskotsomitopoulos
ff0cf9b394 Add changelog file 2021-11-30 17:16:53 +00:00
ariskotsomitopoulos
3f29130332 Remove requestModelBuild() from epoxy Controllers init block 2021-11-30 17:06:47 +00:00
Benoit Marty
9d6ac08a18 Move to their own file since those class are used at different places now 2021-11-30 17:46:20 +01:00
Benoit Marty
b66aff457a Iterate on the consent dialog of the identity server - handle the other places. 2021-11-30 16:34:16 +01:00
Benoit Marty
3d5d9ad154 Iterate on the consent dialog of the identity server. 2021-11-30 15:46:27 +01:00
Adam Brown
aaba62813c removing unused import 2021-11-30 10:22:25 +00:00
Adam Brown
cdb5376a19 Adding support for voice drafts
- introduces a new Voice draft and sender mode type
- initializes the voice recorder with a previously recorded file (the draft)
- renames RecordingUiStates to map to their actual UI states
2021-11-30 10:22:25 +00:00
Benoit Marty
8fd5e426bb
Merge pull request #4572 from vector-im/dependabot/gradle/dagger-2.40.3
Bump dagger from 2.40.2 to 2.40.3
2021-11-30 10:20:48 +01:00
dependabot[bot]
7c41d3cacb
Bump dagger from 2.40.2 to 2.40.3
Bumps `dagger` from 2.40.2 to 2.40.3.

Updates `hilt-android-gradle-plugin` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

Updates `dagger` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

Updates `dagger-compiler` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

Updates `hilt-android` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

Updates `hilt-compiler` from 2.40.2 to 2.40.3
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.2...dagger-2.40.3)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 23:08:54 +00:00
Benoit Marty
df23cc4e09
Merge pull request #4567 from vector-im/feature/adm/stuck-voip
Always showing hang up button in VOIP calls
2021-11-29 16:24:16 +01:00
Benoit Marty
7beec1c726
Merge pull request #4557 from vector-im/feature/adm/voice-keep-screen-on
Keep device screen on during voice message playback and recording
2021-11-29 14:29:30 +01:00
Benoit Marty
b59ae53805
Merge pull request #4556 from vector-im/feature/adm/voice-rotation
Supporting rotation during voice recordings
2021-11-29 11:40:55 +01:00
Benoit Marty
b889641f2b
Merge pull request #4565 from vector-im/feature/adm/dismissing-listening-for-notification-on-signout
Dismissing Fdroid variant `Listening for notifications` on sign out
2021-11-29 11:33:53 +01:00
Benoit Marty
173ccc6bd4
Merge pull request #4566 from vector-im/feature/adm/typing-emoji-leftovers
Emoji insertion leftover characters
2021-11-29 11:32:22 +01:00