Commit graph

9660 commits

Author SHA1 Message Date
Adam Brown
f89b9305e8 handling the unavailable homeserver error case in the error formatting as this is now possible via full matrix id handling# 2022-06-16 11:18:38 +01:00
Adam Brown
3a97cfcc36 updating the selected homeserver when we detect a full matrix id within the username field in the login/register input fields 2022-06-16 11:18:37 +01:00
Benoit Marty
e0fe91f54b Remove alias. 2022-06-16 12:17:54 +02:00
Adam Brown
17f8009ce0 only removing the edit server fragment when homeserver edits are complete 2022-06-16 11:08:08 +01:00
Adam Brown
825f14d919 ignoring text suggestions on username inputs, to avoid the spell checker introducing word breaks 2022-06-16 11:08:07 +01:00
Adam Brown
d8814974c5 makes the bug report screenshot preview always visible 2022-06-16 10:58:28 +01:00
Benoit Marty
d978d0a6b4 Delete obsolete comment. 2022-06-16 11:56:30 +02:00
Adam Brown
b78fb532ff
Merge pull request #6091 from vector-im/feature/adm/ftue-register-test-cases
FTUE - Stage selection and Registration action testing
2022-06-16 10:54:10 +01:00
Eric Decanini
2f2dae89f7
Merge pull request #6290 from vector-im/bugfix/eric/fix-large-image-crash
Fixes large images crashing when opened in timeline
2022-06-16 11:04:00 +02:00
Adam Brown
baae7375af
Merge pull request #6296 from vector-im/feature/adm/attach-ics
Allow sharing text mimetype content via android's share menu
2022-06-16 09:33:21 +01:00
Benoit Marty
a4dd279352 Ensure we do not use QueryStringValue.NoCondition or QueryStringValue.IsNull to query for State Event.
Also remove default value for those parameters.
2022-06-15 19:20:26 +02:00
Benoit Marty
e12103387d Setup Flipper
Move getLastSession() to the SessionManager
Create `DebugService`
Move `logDbUsageInfo()` to `DebugService`
2022-06-15 16:14:20 +02:00
Jorge Martín
64334c3437 Add some tests 2022-06-15 11:34:23 +02:00
Jorge Martín
2fbec133b6 Address review comments, fix quality check issues. 2022-06-15 11:34:23 +02:00
Jorge Martín
b993bd9aef Fix crash when asking for Mic permissions, stopRecord is called with no codec 2022-06-15 11:34:23 +02:00
Jorge Martín
fa2d9e90ed Fix copyright in C++ files 2022-06-15 11:34:23 +02:00
Jorge Martín
6fc278eb2b Replace ffmpeg-kit with libopus and libopusenc. 2022-06-15 11:34:23 +02:00
Benoit Marty
0147eb4b22 Fix test 2022-06-14 16:44:21 +02:00
Benoit Marty
2174b1105f Move companion at the bottom of the class. 2022-06-14 16:36:56 +02:00
Benoit Marty
279b9b5d6a Be lenient on the Json format for received data in a Push. 2022-06-14 16:33:04 +02:00
Adam Brown
2eeba285e8 only hide the connect to server option when the new FTUE journey is enabled 2022-06-14 14:54:33 +01:00
Weblate
ba0c7abfc5 Merge branch 'origin/develop' into Weblate. 2022-06-14 09:56:35 +00:00
Adam Brown
11b0ed99b5
Merge pull request #6223 from vector-im/feature/adm/exit-onboarding-copy
Avoid manual line breaks in exit onboarding dialog copy
2022-06-14 10:54:19 +01:00
Ihor Hordiichuk
134e86ecdd Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-06-14 09:50:21 +00:00
ericdecanini
c10d4a7382 Slight formatting improvement 2022-06-14 10:21:45 +02:00
Adam Brown
979dec75de making bugreport screenshots opt in instead of optout 2022-06-13 18:06:53 +01:00
Adam Brown
9725396582 allowing text content types to be shared via android share menu 2022-06-13 17:42:30 +01:00
Adam Brown
01c70e165d
Merge pull request #6293 from vector-im/feature/adm/ftue-tweaks
FTUE - Minor tweaks
2022-06-13 16:35:47 +01:00
Onuray Sahin
2fbbee2d65
Merge pull request #6264 from vector-im/feature/ons/fix_flickering_location_bottom_bar
Fix flickering bottom bar of live location item [PSF-1057]
2022-06-13 18:23:10 +03:00
Benoit Marty
56e6f512fc Rename setting key for clarity 2022-06-13 16:38:07 +02:00
Benoit Marty
d1e2a903b4 Add test for the notification settings. 2022-06-13 16:36:32 +02:00
Yaron Shahrabani
b4723414a2 Translated using Weblate (Hebrew)
Currently translated at 96.2% (2155 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-06-13 12:32:13 +00:00
Benoit Marty
4ea4990177 Merge remote-tracking branch 'origin/develop' into develop 2022-06-13 14:12:00 +02:00
Benoit Marty
d876690fc7 Merge branch 'hotfix/1.4.20' into develop 2022-06-13 14:08:49 +02:00
Benoit Marty
c7d021ece6 Extract parser to its own file and add unit test. 2022-06-13 13:59:16 +02:00
Onuray Sahin
eb49ceb803
Merge pull request #6280 from vector-im/feature/ons/live_location_sharing_report
Add report action for live location messages [PSF-1067]
2022-06-13 14:23:11 +03:00
Adam Brown
b3adad8543 hiding connect to server button in favour of handling as part of the FTUE v2 work 2022-06-13 11:33:51 +01:00
Valere
65bb1a7ddc Fix space orphan filtering 2022-06-13 12:33:14 +02:00
ericdecanini
978de65124 Fixes large images crashing when opened 2022-06-13 12:01:21 +02:00
Adam Brown
fca06bd167 always showing the celebration confetti on account creation
- previously we would wait until after personalisation but we don't know if users will go through that flow
2022-06-13 08:55:43 +01:00
bmarty
ad787d3914 Sync analytics plan 2022-06-13 00:03:16 +00:00
swag
90c78ac401 Translated using Weblate (Croatian)
Currently translated at 32.6% (731 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hr/
2022-06-10 16:32:13 +00:00
Benoit Marty
990a6832bd
Merge pull request #6247 from vector-im/feature/ons/fix_static_map_copyright_size
Fix copyright attributions of map views [PSF-1058] - [PSF-1072]
2022-06-10 13:56:24 +02:00
Onuray Sahin
d8947f5c0b Add report action for live location messages. 2022-06-10 14:01:43 +03:00
Adam Brown
6681d4fe17 formatting 2022-06-09 17:39:15 +01:00
Benoit Marty
b1e062a204 Fix small issue on the settings. 2022-06-09 17:19:52 +02:00
rebok dev
f4f58703d3 Translated using Weblate (Polish)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-09 13:32:11 +00:00
Onuray Sahin
f9f1b3e39a Code review fix. 2022-06-09 13:09:10 +03:00
Benoit Marty
2f2ee1b894 Format project (only modified files, there are other fomatting issues). 2022-06-09 10:38:38 +02:00
Benoit Marty
c43122a6f8 Explain why the data are different when received from Firebase and from UnifiedPush.
Author: @p1gp1g
2022-06-09 10:18:06 +02:00
Benoit Marty
3560ac95d1 Create a Kotlin Config object in vector-config module, for easy configuration. 2022-06-09 10:18:06 +02:00
Benoit Marty
5846ad5768 Inject constructor of BackgroundSyncStarter and FcmHelper 2022-06-09 10:18:06 +02:00
Benoit Marty
3c72ee6e0c Unregister UP when signing out 2022-06-09 10:18:06 +02:00
Benoit Marty
905934b9d4 Rename method for clarity 2022-06-09 10:18:06 +02:00
Benoit Marty
a139756dbc Fix an issue with empty endpoint. It can happen if the endpoint is manually removed from the distributor. 2022-06-09 10:18:06 +02:00
Benoit Marty
87087197e5 shorter code 2022-06-09 10:18:06 +02:00
Benoit Marty
639c570150 Create extension to get app names 2022-06-09 10:18:06 +02:00
Benoit Marty
fc66e5f120 Ignore if no change is done - bugfix 2022-06-09 10:18:06 +02:00
Benoit Marty
a5378d6e94 avoid runBlocking 2022-06-09 10:18:06 +02:00
Benoit Marty
fb7df5bf46 Ignore if no change is done. 2022-06-09 10:18:06 +02:00
Benoit Marty
420144dceb Fix back issue on the dialog.
Should split UI a bit more.
2022-06-09 10:18:06 +02:00
Benoit Marty
110c17e57d No need to have a mutable list here. 2022-06-09 10:18:06 +02:00
Benoit Marty
18b49068c1 Change BuildConfig field to a VectorFeature. 2022-06-09 10:18:06 +02:00
Benoit Marty
80d42f0963 Remove unused methods / clarify API 2022-06-09 10:18:06 +02:00
Benoit Marty
35e0a0af33 Detekt 2022-06-09 10:18:06 +02:00
Benoit Marty
6cc2a36ee1 Add explicit Json names 2022-06-09 10:18:06 +02:00
Benoit Marty
cdfb728a73 Clarify the data classes for the Json parsing 2022-06-09 10:18:06 +02:00
Benoit Marty
45768c5251 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty
bbbeb4b283 Extract storage to its own class. 2022-06-09 10:18:06 +02:00
Benoit Marty
bdb2d29666 Catch 404 2022-06-09 10:18:06 +02:00
Benoit Marty
3f6b5292d4 Add summary to the notification with the current value. 2022-06-09 10:18:06 +02:00
Benoit Marty
76bc6a5e0a Move the setting at the beginning of the section 2022-06-09 10:18:06 +02:00
Benoit Marty
fb8408c3da Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty
4018113c88 Better usage of Timber. 2022-06-09 10:18:06 +02:00
Benoit Marty
77601f61fb typo 2022-06-09 10:18:06 +02:00
Benoit Marty
ff6aa1147c VectorPreferences can be injected. 2022-06-09 10:18:06 +02:00
Benoit Marty
ad8cb22863 We need an Activity to display the dialog 2022-06-09 10:18:06 +02:00
Benoit Marty
ddf6a69a69 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty
399e95a247 setOnDismissListener should cover all the cases. 2022-06-09 10:18:06 +02:00
Benoit Marty
cc80bf986c Use plurals 2022-06-09 10:18:06 +02:00
Benoit Marty
12d969b2c0 Prefer using toString() 2022-06-09 10:18:06 +02:00
Benoit Marty
74de9c82c0 Small rework 2022-06-09 10:18:06 +02:00
Benoit Marty
9216d8ba32 Small cleanup 2022-06-09 10:18:06 +02:00
Benoit Marty
f1e57d2970 Use .orEmpty() instead of ?: "" 2022-06-09 10:18:06 +02:00
Benoit Marty
5e10449746 Use the RawService to do network request. 2022-06-09 10:18:06 +02:00
Benoit Marty
674e3a72c4 Make UnifiedPushHelper a regular class and inject the context in the constructor to clean up the API 2022-06-09 10:18:06 +02:00
Benoit Marty
ee7fccf072 Fix compilation issues after rebase 2022-06-09 10:16:59 +02:00
sim
f774f46627 Check custom unifiedpush gateway 2022-06-09 10:16:59 +02:00
sim
1069f77bd5 Lint 2022-06-09 10:16:59 +02:00
sim
f00257f461 Add UnifiedPush troubleshoot 2022-06-09 10:16:59 +02:00
sim
848adc415f Add UnifiedPush settings 2022-06-09 10:16:59 +02:00
sim
04b297b261 Add UnifiedPush support 2022-06-09 10:16:59 +02:00
Adam Brown
befcfe8c5b renaming success type to something more concrete 2022-06-09 08:52:29 +01:00
Adam Brown
ef1356f4dd replacing comment extracted function (also convered by a test case) 2022-06-09 08:52:29 +01:00
Adam Brown
ba18c6f3e2 extracting registration action business logic to the handler abstraction and adding tests
- renames the existing handler to a wizard delegate
2022-06-09 08:52:28 +01:00
Onuray Sahin
6c72139939 Fix flickering bottom bar of live location item. 2022-06-08 15:40:09 +03:00
Anonimas
37618a2353 Translated using Weblate (Lithuanian)
Currently translated at 18.7% (419 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2022-06-08 12:32:11 +00:00
Onuray Sahin
9b22880d57 Set translatable as false for the copyright text. 2022-06-08 15:18:25 +03:00
ericdecanini
2f9517f69d Merge remote-tracking branch 'origin/develop' into bugfix/eric/fix-upgrade-room 2022-06-08 13:17:58 +02:00
ericdecanini
87053f2c70 Reformats after merging 2022-06-08 13:01:26 +02:00