Commit Graph

5458 Commits

Author SHA1 Message Date
SpiritCroc
47aa787ecb Fix missing sender information after edits
Fixes https://github.com/vector-im/element-android/issues/3184
2021-05-01 10:11:15 +02:00
Benoit Marty
c4a4a5d41c
Merge pull request #3258 from vector-im/feature/bma/fix_3250
Delete and react to stickers (#3250)
2021-04-30 18:11:55 +02:00
Benoit Marty
589be8b15f
Update vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt 2021-04-30 11:56:45 +02:00
Benoit Marty
6180076512 Delete and react to stickers (#3250) 2021-04-30 11:14:36 +02:00
Toby Murray
33337bd772 Allow cleartext to some LAN domains
This functionality exists in the desktop client, so hoping to mirror that as much as Android allows

This addresses a number of the use cases touched on in #1793. Enabling clear text to various official and standard LAN-only domains means it's easier to develop the Android application, as a Matrix server can be deployed locally without much fuss anywhere on the developer's LAN. This can reduce the reliance on a DNS or SSL certificates when neither are really relevant to the functionality of the client/server. In particular, managing SSL certs without a public domain is a pain in the butt.

At the same time, this does not significantly diminish the security of Element Android, as at the current time these domains are either explicitly not valid TLDs or conventionally not TLDs (so would be an unexpected change if they were to become so). In the event e.g. `.home` becomes a TLD, it would be appropriate to remove it from this list.
2021-04-30 00:47:57 -04:00
Benoit Marty
38e83e1f35
Merge pull request #3249 from vector-im/feature/bma/fixwl
Feature/bma/fixwl
2021-04-29 20:55:22 +02:00
Benoit Marty
5d9d984c73
Merge pull request #3235 from vector-im/feature/bca/spaces_justme_beta
Just me spaces support
2021-04-29 17:47:19 +02:00
Benoit Marty
90f4a9490d Fix lint issues 2021-04-29 17:33:14 +02:00
Benoit Marty
d28c6039c0 Fix issue in string template 2021-04-29 17:06:46 +02:00
Benoit Marty
bea9abd9a6
Merge pull request #3248 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-04-29 17:05:00 +02:00
Benoit Marty
ab68903d7f Fix wording issue (#3242) 2021-04-29 15:47:31 +02:00
Weblate
79f125cccd Merge branch 'origin/develop' into Weblate. 2021-04-29 13:38:14 +00:00
Benoit Marty
98177da6b1
Merge pull request #3197 from vector-im/feature/bma/crashfix
WIP - introduce sessionScope
2021-04-29 15:34:42 +02:00
Benoit Marty
55f1f56fec master branch has been renamed to main
Also in project vector-im/jitsi_libre_maven
2021-04-29 12:29:52 +02:00
Valere
30d7c73b2d code review 2021-04-29 11:56:57 +02:00
Valere
f89a7496aa Add action to create new room 2021-04-29 11:51:07 +02:00
Valere
31ffa65fd0 Update add room screen as per design 2021-04-29 11:51:07 +02:00
Valere
7465ac2ef6 Add just me space flow Initial commit 2021-04-29 11:51:07 +02:00
Benoit Marty
264eb3b0a2
Merge pull request #3246 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.22
Bump libphonenumber from 8.12.21 to 8.12.22
2021-04-29 11:12:29 +02:00
Benoit Marty
e073563a67 Cleanup 2021-04-29 11:10:41 +02:00
ganfra
80b155e042 Refact coroutine session scope 2021-04-29 11:10:41 +02:00
Benoit Marty
e5d0a8f3d8 Cleanup 2021-04-29 11:10:41 +02:00
Benoit Marty
ecd2d0fb76 Use session scope 2021-04-29 11:10:41 +02:00
Benoit Marty
c33da38ddb GlobalScope -> sessionScope 2021-04-29 11:10:41 +02:00
Benoit Marty
0e563596dd Remove useless call to parent method 2021-04-29 11:10:41 +02:00
Benoit Marty
8afa697591 GlobalScope -> sessionScope 2021-04-29 11:10:41 +02:00
Benoit Marty
82ee2567b7 Provide a session scope, to launch coroutines without using the ViewModelScope
It could be used elsewhere, will change other location in another commit.
2021-04-29 11:10:41 +02:00
Benoit Marty
95639927a7 Catch Throwable on not only Exception 2021-04-29 11:10:41 +02:00
Benoit Marty
4acc308864
Merge pull request #3190 from vector-im/feature/bma/fix_troubleshoot
Fix a race condition
2021-04-29 11:08:00 +02:00
Benoit Marty
751efb57fc
Merge pull request #2840 from vector-im/feature/bca/spaces_sdk
Spaces support - beta
2021-04-29 10:18:31 +02:00
dependabot[bot]
7593c3f03d
Bump libphonenumber from 8.12.21 to 8.12.22
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.21 to 8.12.22.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.21...v8.12.22)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 07:18:14 +00:00
Vivek K J
cacc83bf17 Translated using Weblate (Malayalam)
Currently translated at 38.7% (915 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ml/
2021-04-28 16:34:44 +00:00
Line
c043e6e958 Translated using Weblate (Latvian)
Currently translated at 86.8% (2052 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-04-28 16:34:33 +00:00
Benoit Marty
4d3a02f71f Translated using Weblate (French)
Currently translated at 100.0% (2363 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-04-28 16:34:26 +00:00
Juhana Uuttu
ea645d147d Translated using Weblate (Finnish)
Currently translated at 79.3% (1875 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2021-04-28 16:34:25 +00:00
Benoit Marty
b2e6b3f0db Latest cleanup before merging to develop 2021-04-28 16:55:09 +02:00
Benoit Marty
c40476aa94 Add ability to install APK from directly from Element (#2381)
And cleanup `data class OpenFile`
2021-04-28 15:55:21 +02:00
Benoit Marty
195bc8e914 Fix issue when opening encrypted files (#3186)
Also always open the file after a successful download
2021-04-28 15:11:48 +02:00
Benoit Marty
9cb19c0581 Fix issues on Android 11 (#3067)
Add <queries> tag in manifest to be able to open file using external app and to use full feature of CustomTab
2021-04-28 14:04:27 +02:00
Valere
8c1afbaa66 Fix / empty space pannel on new accounts 2021-04-28 12:54:19 +02:00
Valere
70476b912f Fix / placeholder in dark time 2021-04-28 11:15:58 +02:00
Valere
7d3d080603 Code review 2021-04-28 11:15:58 +02:00
Valere
872c45d5a3 Fix / kebab menu not always visible in space item
Bug due to cell reuse not showing back menu
2021-04-28 11:15:58 +02:00
Valere
3378e23cc2 Add lab flag to use restricted access rule
Fixes #3226
2021-04-28 11:15:58 +02:00
Valere
46834d2178 Fix / dm filtering not working when going back to home 2021-04-28 11:15:58 +02:00
Valere
45200572a2 Cleaning 2021-04-28 11:15:58 +02:00
Valere
dba6784487 Remove space lab flags 2021-04-28 11:15:58 +02:00
Valere
d186b73c90 Fix / last selected space-group not restored after restart 2021-04-28 11:15:58 +02:00
Valere
1ce7085ca9 Merge Space and Communities initial commit 2021-04-28 11:15:58 +02:00
Valere
733d4185c4 Fix / Add unread count in hamburger menu 2021-04-28 11:15:58 +02:00
Valere
d42761f98a Fix / Room list empty state flickering 2021-04-28 11:15:58 +02:00
Valere
b45585f7c0 Fix / Suggested room section won't collapse 2021-04-28 11:15:58 +02:00
Valere
aa74646ddf Fix invited spaced filters rooms out of home + invite not working 2021-04-28 11:15:58 +02:00
Valere
19bb4c6162 Update lab flag label 2021-04-28 11:15:58 +02:00
Valere
d30ba9c749 Spaces quick fixes and updates
Make drawer menu more obvious + fix notification count
2021-04-28 11:15:58 +02:00
Valere
5e75a3a80b Add placehoders for paged room list 2021-04-28 11:15:58 +02:00
Valere
7921a81b8e better management of collapsing for room controllers 2021-04-28 11:15:58 +02:00
Valere
4d7aeff54a Code review 2021-04-28 11:15:58 +02:00
Valere
8146d8ab1e Add Rooms to space 2021-04-28 11:15:58 +02:00
Valere
5a84456f1f Set guest access in developer mode 2021-04-28 11:15:58 +02:00
Valere
14103b1e7c Radio settings bottomsheet 2021-04-28 11:15:58 +02:00
Valere
1deb44f91f Better DM filtering + fix space member loading 2021-04-28 11:15:58 +02:00
Valere
e735aee724 Fix / group switch + refactoring 2021-04-28 11:15:58 +02:00
Valere
6aaf6bdf9b Fix rebase 2021-04-28 11:15:58 +02:00
Valere
49381db2e3 cleaning 2021-04-28 11:15:58 +02:00
Valere
643e7ad3cb Fix initial navigation 2021-04-28 11:15:58 +02:00
Valere
79bde6ee91 Private (me and teamates) space support 2021-04-28 11:15:58 +02:00
Valere
bfbd37074e Better tab notification count -incomplete- 2021-04-28 11:15:58 +02:00
Valere
a3b9d187ce Fix dm filtering 2021-04-28 11:15:58 +02:00
Valere
b635663ae3 Fix suggested rooms 2021-04-28 11:15:58 +02:00
Valere
0d3c2b4bef Fix space filtering 2021-04-28 11:15:58 +02:00
Valere
8a35a786b4 Post rebase fixes 2021-04-28 11:15:58 +02:00
Benoit Marty
0dbd856ac5 UI polishing
And cleanup
2021-04-28 11:15:58 +02:00
Benoit Marty
386e06d675 XML standart 2021-04-28 11:15:58 +02:00
Benoit Marty
dfae42c912 Cleanup layout 2021-04-28 11:15:58 +02:00
Benoit Marty
4fb248cd9f rename parameter 2021-04-28 11:15:58 +02:00
Benoit Marty
a211cc1780 Explode into several files 2021-04-28 11:15:58 +02:00
Benoit Marty
fa489c459a Move SharedPreferenceLiveData to another package 2021-04-28 11:15:58 +02:00
Benoit Marty
3c64f78159 Fix issue in layout 2021-04-28 11:15:58 +02:00
Benoit Marty
7c348959cf Cleanup and fix bugs 2021-04-28 11:15:58 +02:00
Benoit Marty
7aa4066a25 Avoid code duplication. Move ItemStyle to its own file. 2021-04-28 11:15:58 +02:00
Benoit Marty
eac8938186 Cleanup 2021-04-28 11:15:58 +02:00
Benoit Marty
2cccbb3fce Benoit Review: avoid duplicate (again) class PowerLevelsContent 2021-04-28 11:15:58 +02:00
Benoit Marty
46290f1ed4 Benoit Review: cleanup 2021-04-28 11:15:58 +02:00
Valere
b380fa0653 fix copy 2021-04-28 11:15:58 +02:00
Valere
815cae4d84 remove enum from rest model 2021-04-28 11:15:58 +02:00
Valere
6b8b03e162 Show people you may no in space bottomsheet 2021-04-28 11:15:58 +02:00
Valere
4c4f68f654 Fix home icon dark mode 2021-04-28 11:15:58 +02:00
Valere
a5af1a6ebd Fix invite icons 2021-04-28 11:15:58 +02:00
Valere
8754f7772b Invite Space/Room chooser 2021-04-28 11:15:58 +02:00
Valere
55745655db cleaning 2021-04-28 11:15:58 +02:00
Valere
55083a5602 Design review changes 2021-04-28 11:15:58 +02:00
Valere
ea5e48b940 1 depth hierarchy support in space panel 2021-04-28 11:15:58 +02:00
Valere
872b383c4d cleaning 2021-04-28 11:15:58 +02:00
Valere
681b5b3ddc Simple space context menu 2021-04-28 11:15:58 +02:00
Valere
06a84d985a Basic support to browse space directory 2021-04-28 11:15:58 +02:00
Valere
802853d205 Suggested Space support 2021-04-28 11:15:58 +02:00
Valere
0da9be327a Removed unneeded id.home menu handling 2021-04-28 11:15:58 +02:00
Valere
01c56824b7 small a11Y fix 2021-04-28 11:15:58 +02:00
Valere
e364a36ee6 cleaning 2021-04-28 11:15:58 +02:00
Valere
0c5ca9f51b Space hierachy SDK updates 2021-04-28 11:15:58 +02:00
Valere
80f1c6cb2d post rebase fix 2021-04-28 11:15:58 +02:00
Valere
bb0b1ed098 Some fixes + join actions 2021-04-28 11:15:58 +02:00
Valere
ef42591534 Open Space Link initial commit 2021-04-28 11:15:58 +02:00
Valere
03ef480bea Fix missing param in string 2021-04-28 11:15:58 +02:00
Valere
a433f2f965 a11y 2021-04-28 11:15:58 +02:00
Valere
2952dca3a3 Default Rooms Handling 2021-04-28 11:15:58 +02:00
Valere
a901e1d179 Post Creation Share flow 2021-04-28 11:15:58 +02:00
Valere
7d2d7b411e Space Create Wizard Flow 2021-04-28 11:15:58 +02:00
Valere
4b27ad8ba6 Creation wizard WIP 2021-04-28 11:15:58 +02:00
Valere
d8a3229819 a11y fixes 2021-04-28 11:15:58 +02:00
Valere
883f70306f Rebase Fixes 2021-04-28 11:15:58 +02:00
Valere
5aa698768a Support update of order/autojoin of child 2021-04-28 11:15:58 +02:00
Valere
2cc5c76fb3 hide dev commands from completion 2021-04-28 11:15:58 +02:00
Valere
c8916ee83c Udpate since msc 1772 2021-04-28 11:15:58 +02:00
Valere
a8d7c25244 rebase fix 2021-04-28 11:15:58 +02:00
Valere
186024b271 MSC 2946 WIP 2021-04-28 11:15:58 +02:00
Valere
7521a0d3ae Fix / post rebase issues 2021-04-28 11:15:58 +02:00
Valere
e2578a29ed Basic space join / use tmp msc id / db model update 2021-04-28 11:15:58 +02:00
Valere
df341d8ea3 Basic peeking preview and join and filter 2021-04-28 11:15:58 +02:00
Valere
c5fa0a413f Space first commit 2021-04-28 11:15:58 +02:00
Benoit Marty
8b5d86f68d
Merge pull request #3228 from vector-im/dependabot/gradle/com.nulab-inc-zxcvbn-1.5.0
Bump zxcvbn from 1.4.1 to 1.5.0
2021-04-26 21:38:10 +02:00
dependabot[bot]
49d1b3e583
Bump zxcvbn from 1.4.1 to 1.5.0
Bumps [zxcvbn](https://github.com/nulab/zxcvbn4j) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/nulab/zxcvbn4j/releases)
- [Changelog](https://github.com/nulab/zxcvbn4j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nulab/zxcvbn4j/compare/1.4.1...1.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 14:31:37 +00:00
dependabot[bot]
ed9db95aa0
Bump fragment-ktx from 1.3.2 to 1.3.3
Bumps fragment-ktx from 1.3.2 to 1.3.3.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 14:27:59 +00:00
Benoit Marty
e3a667cbc6
Merge pull request #3220 from vector-im/dependabot/gradle/daggerVersion-2.35
Bump daggerVersion from 2.34.1 to 2.35
2021-04-26 16:27:39 +02:00
Benoit Marty
43b17be7a7
Merge pull request #3216 from vector-im/dependabot/gradle/epoxy_version-4.5.0
Bump epoxy_version from 4.4.4 to 4.5.0
2021-04-26 16:26:46 +02:00
Benoit Marty
0a72cc4c93
Merge branch 'develop' into feature/bma/crashRxSingle 2021-04-26 15:17:32 +02:00
Benoit Marty
08cdac3e0d Handle PR review remarks 2021-04-26 11:05:18 +02:00
Benoit Marty
bcbc6c0f7c Add missing loading state 2021-04-26 11:00:57 +02:00
Quang Trung
4608888b83 Translated using Weblate (Vietnamese)
Currently translated at 19.0% (449 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-04-26 01:34:24 +00:00
Quang Trung
149e9f6674 Translated using Weblate (Vietnamese)
Currently translated at 18.7% (442 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-04-23 09:34:44 +00:00
Martin Hansen
52d8088d75 Translated using Weblate (Norwegian Bokmål)
Currently translated at 66.4% (1571 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-04-23 09:34:33 +00:00
Andrejs
6d4b7eba5b Translated using Weblate (Latvian)
Currently translated at 81.5% (1928 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-04-23 09:34:28 +00:00
Samu Voutilainen
a35b63dbeb Translated using Weblate (Finnish)
Currently translated at 79.2% (1873 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2021-04-23 09:34:27 +00:00
Philip Munksgaard
ba7015c8f2 Translated using Weblate (Danish)
Currently translated at 20.8% (493 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/da/
2021-04-23 09:34:27 +00:00
dependabot[bot]
7575959c4a
Bump daggerVersion from 2.34.1 to 2.35
Bumps `daggerVersion` from 2.34.1 to 2.35.

Updates `dagger` from 2.34.1 to 2.35
- [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.34.1...dagger-2.35)

Updates `dagger-compiler` from 2.34.1 to 2.35
- [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.34.1...dagger-2.35)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-23 07:05:44 +00:00
dependabot[bot]
bb48fea116
Bump epoxy_version from 4.4.4 to 4.5.0
Bumps `epoxy_version` from 4.4.4 to 4.5.0.

Updates `epoxy` from 4.4.4 to 4.5.0
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.4.4...4.5.0)

Updates `epoxy-glide-preloading` from 4.4.4 to 4.5.0
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.4.4...4.5.0)

Updates `epoxy-processor` from 4.4.4 to 4.5.0
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.4.4...4.5.0)

Updates `epoxy-paging` from 4.4.4 to 4.5.0
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.4.4...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 17:59:41 +00:00
Benoit Marty
fe9bd38115
Merge pull request #3175 from vector-im/dependabot/gradle/daggerVersion-2.34.1
Bump daggerVersion from 2.34 to 2.34.1
2021-04-20 19:58:48 +02:00
Benoit Marty
47134c39af
Merge pull request #3174 from vector-im/dependabot/gradle/big_image_viewer_version-1.8.0
Bump big_image_viewer_version from 1.7.1 to 1.8.0
2021-04-20 19:58:36 +02:00
Benoit Marty
5e3d8a5424
Merge pull request #3173 from vector-im/dependabot/gradle/com.nulab-inc-zxcvbn-1.4.1
Bump zxcvbn from 1.4.0 to 1.4.1
2021-04-20 19:58:12 +02:00
Benoit Marty
7309fa547b Exclude current user from the list of user to invite (#3123) 2021-04-20 19:13:42 +02:00
Benoit Marty
cf69d5c882 Fix small bug about suggestion 2021-04-20 19:11:37 +02:00
Benoit Marty
19e07f6cac typo 2021-04-20 19:06:32 +02:00
Benoit Marty
f4c1de3c30 Fix exception in rxSingle (#3180)
Do not wrap CancellationException to Failure.Cancelled, else RxCancellable will throw.
2021-04-20 18:49:16 +02:00
Benoit Marty
5848ec21f7 use orEmpty() 2021-04-20 18:16:03 +02:00
Benoit Marty
2a3694d8b7 Cleanup 2021-04-20 18:12:11 +02:00
Benoit Marty
820531120a Some formatting and cleanup 2021-04-20 17:33:57 +02:00
Benoit Marty
f086f0e083 Reduce usage of rxSingle when it's easy to do it - case 2 2021-04-20 17:13:48 +02:00
Benoit Marty
5862c8cb60 Reduce usage of rxSingle when it's easy to do it 2021-04-20 17:08:17 +02:00
Benoit Marty
ef1ed28ac5 Fix color issues when the system theme is changed (#2738) 2021-04-20 16:04:59 +02:00