Commit graph

16564 commits

Author SHA1 Message Date
Adam Brown
77da82c310 removing confusing comment questions and fixing xml formatting 2022-04-13 14:56:43 +01:00
Adam Brown
1ba838a58d inverting quick returns and inlining logic since the scope is small 2022-04-13 14:56:43 +01:00
Adam Brown
45f6633e49 cleaning up the captcha webview logic, extracting function, removing redundant comments 2022-04-13 14:56:42 +01:00
Adam Brown
f23d7f60b2 adding changelog entry 2022-04-13 14:50:11 +01:00
Adam Brown
4e56136993 extracting common fragment behaviour to a function 2022-04-13 14:50:11 +01:00
Adam Brown
215cac2aec extracting helper for setting horizontal padding 2022-04-13 14:50:11 +01:00
Adam Brown
1f6068976d updating terms ids and applying design specified colours to the checkbox 2022-04-13 14:50:11 +01:00
Adam Brown
059b2a5424 updating copy and spacing to match designs 2022-04-13 14:50:11 +01:00
Adam Brown
f45de34db4 dynamically setting the terms item padding 2022-04-13 14:50:11 +01:00
Adam Brown
06147967a4 creating a ftue version of the policy fragment 2022-04-13 14:50:11 +01:00
Adam Brown
11dbd0e80c renaming the terms fragment in prep to duplicate with the new style 2022-04-13 14:50:11 +01:00
Adam Brown
f4747aa069 styling the captcha wth the update designs 2022-04-13 14:50:11 +01:00
Adam Brown
863b4b810f duplicating the captcha fragment to style separately for the combined register flow 2022-04-13 14:50:11 +01:00
Adam Brown
81a325b769 extracting the captcha webview logic to a reusable class 2022-04-13 14:50:11 +01:00
Adam Brown
c98fe59965 formatting 2022-04-13 14:45:20 +01:00
Adam Brown
8bbb5e9c93 fixing missing :vector test coverage in jacoco report
- pulling application module coverage from the gplay variant as we're only including main sourceset files
2022-04-13 14:17:24 +01:00
Benoit Marty
2761b35b6f
Merge pull request #5731 from t3chguy/t3chguy/fix-room-type-misuse
Don't wrongly show non-space invites in the space panel
2022-04-13 15:01:45 +02:00
Benoit Marty
5075775c56
Merge pull request #5744 from vector-im/feature/bma/dokka
Set up dokka to generate SDK documentation and cleanup the API
2022-04-13 14:49:10 +02:00
Maxime NATUREL
ea4515f90e Deleting changelog entry 2022-04-13 14:44:43 +02:00
Maxime NATUREL
2d3a8b4d57 Adding details into changelog entry 2022-04-13 14:41:20 +02:00
Benoit Marty
e30c68fb82 Remove dokka dependencies classpath for this specific module, it's already declared in the main build.gradle file. 2022-04-13 13:45:06 +02:00
Benoit Marty
c8aefd5828 Update issue hint 2022-04-13 13:42:15 +02:00
SpiritCroc
23f4f72ba3 Home pager: avoid re-applying space id that we persisted onPause
Change-Id: I101de2548db20747e753c4f6401b9bf82fab31d7
2022-04-13 12:00:33 +02:00
Adam Brown
0bf84341af
Merge pull request #5747 from vector-im/feature/adm/concurrent-new-session-crash
Fixing crash when navigating the app whilst room keys are being processed
2022-04-13 10:43:10 +01:00
Maxime NATUREL
c832c1b848
Merge pull request #5722 from vector-im/feature/mna/PSF-883-start-live-message
[Location sharing] - Show message on start of a live
2022-04-13 11:17:22 +02:00
Maxime NATUREL
a0ca8b6a13 Using misc suffix for changelog entry 2022-04-13 11:09:08 +02:00
Maxime NATUREL
9d2c704aef Removing the BuildConfigField 2022-04-13 10:56:20 +02:00
Maxime NATUREL
3c57916ec3 Adding changelog entry 2022-04-13 10:55:59 +02:00
Maxime NATUREL
071340c868 Remove non necessary comment + adding a TODO for missing aggregation check 2022-04-13 10:39:13 +02:00
SpiritCroc
fb68ba92fa Catch possible exception during push message parsing
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: de.spiritcroc.riotx, PID: 26135
E AndroidRuntime: java.lang.RuntimeException: Unable to start receiver im.vector.app.core.pushers.VectorMessagingReceiver: com.squareup.moshi.JsonDataException: Expected BEGIN_OBJECT but was NUMBER at path $
E AndroidRuntime: 	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4384)
E AndroidRuntime: 	at android.app.ActivityThread.access$1600(ActivityThread.java:256)
E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2102)
E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:201)
E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:288)
E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7870)
E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
E AndroidRuntime: Caused by: com.squareup.moshi.JsonDataException: Expected BEGIN_OBJECT but was NUMBER at path $
E AndroidRuntime: 	at com.squareup.moshi.JsonUtf8Reader.beginObject(JsonUtf8Reader.java:6)
E AndroidRuntime: 	at im.vector.app.core.pushers.UnifiedPushMessageJsonAdapter.fromJson(UnifiedPushMessageJsonAdapter.kt:2)
E AndroidRuntime: 	at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:3)
E AndroidRuntime: 	at com.squareup.moshi.JsonAdapter.fromJson(JsonAdapter.java:3)
E AndroidRuntime: 	at im.vector.app.core.pushers.VectorMessagingReceiverKt$upHandler$1.onMessage(VectorMessagingReceiver.kt:17)
E AndroidRuntime: 	at im.vector.app.core.pushers.InjectedMessagingReceiver.onReceive(VectorMessagingReceiver.kt:49)
E AndroidRuntime: 	at im.vector.app.core.pushers.Hilt_VectorMessagingReceiver.onReceive(Hilt_VectorMessagingReceiver.java:7)
E AndroidRuntime: 	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4375)
E AndroidRuntime: 	... 9 more

Change-Id: I7df9744b5987d681502638640f0fd8ee276fefa8
2022-04-13 09:26:21 +02:00
Adam Brown
594b442a21 copying the list of new session listeners to avoid concurrent modification
- copying the list avoids the need to synchronise the add/removing/iterations
2022-04-12 17:36:05 +01:00
Benoit Marty
4adb469b38
Merge pull request #5741 from vector-im/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-04-12 17:01:22 +02:00
Benoit Marty
27be78002d
Merge pull request #5740 from vector-im/dependabot/github_actions/actions/setup-java-3
Bump actions/setup-java from 2 to 3
2022-04-12 17:01:10 +02:00
Эдуард Гера
4131465ff6 Translated using Weblate (Hebrew)
Currently translated at 97.8% (2144 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-04-12 14:59:37 +00:00
Johan Smits
6f2cdd2a9d Translated using Weblate (Dutch)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-04-12 14:59:37 +00:00
Kagami Sascha Rosylight
4bc75b2574 Translated using Weblate (Korean)
Currently translated at 38.4% (842 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2022-04-12 14:59:34 +00:00
Benoit Marty
38bbbd62a4 Restore the correct copyright 2022-04-12 16:35:32 +02:00
Benoit Marty
a0eb4c144e Add changelog files 2022-04-12 16:14:48 +02:00
Maxime NATUREL
4c07405220 Create a const value for the height of message location item 2022-04-12 16:10:26 +02:00
Benoit Marty
bfbcef60e9 Run ktlintFormat 2022-04-12 16:09:56 +02:00
Benoit Marty
23d2a290ab Global import optimization 2022-04-12 16:06:27 +02:00
Maxime NATUREL
46700723a8 Remove the noisy reformatting of MessageItemFactory 2022-04-12 15:55:15 +02:00
Maxime NATUREL
c3fe782eb5 Fixing overlay in bubble mode 2022-04-12 15:51:02 +02:00
Maxime NATUREL
e50192910d Keep track of time out using last location event 2022-04-12 15:51:02 +02:00
Maxime NATUREL
d78ed3215b Adding support for notifications and message preview 2022-04-12 15:51:02 +02:00
Maxime NATUREL
78a9bdeb4c Making state beacon events displayable in timeline 2022-04-12 15:51:02 +02:00
Maxime NATUREL
6e61085b1f Removing TODO 2022-04-12 15:51:02 +02:00
Maxime NATUREL
e2d56e2d87 Align corner radius of banner on map view 2022-04-12 15:51:02 +02:00
Maxime NATUREL
26f89fa5f8 Handling bubble mode view 2022-04-12 15:51:02 +02:00
Maxime NATUREL
3da3589d5c Creating factory for live location items 2022-04-12 15:51:02 +02:00