Commit graph

2552 commits

Author SHA1 Message Date
Andy Scherzinger
ebc3dbdf79
improve readability of toolbar/searchbar handling code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:58 +02:00
Andy Scherzinger
266a9f73ee
add destruction check before accessing the binding object
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:53 +02:00
Andy Scherzinger
faf9ce2884
combine nested ifs
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:48 +02:00
Andy Scherzinger
46a18ca3a0
organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:45 +02:00
Andy Scherzinger
f8a8b81ef7
line length 1220 characters
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:43 +02:00
Andy Scherzinger
f4cfc9cef3
improve spotbugs
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:41 +02:00
Andy Scherzinger
cfe00937c5
comment unused, overridden methods and respect 120 character line length
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:39 +02:00
Andy Scherzinger
e7ea57bf85
reformat kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:37 +02:00
Andy Scherzinger
45a88c0722
replace menu switch statements with if/else
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:34 +02:00
Andy Scherzinger
3c0ef1d1e0
add linebreak
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:32 +02:00
Andy Scherzinger
63fabeda09
convert lock controller to kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:31 +02:00
Andy Scherzinger
7669108d38
add author infos
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:29 +02:00
Andy Scherzinger
85fe560fc1
reformat code for 120 line length
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:27 +02:00
Andy Scherzinger
14fc3c8146
move back to User java entity definition
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:26 +02:00
Andy Scherzinger
d372335d57
hardening chat controller by null-checking any UI access due to asynchronous UI accesses
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:24 +02:00
Andy Scherzinger
8d6b526576
use capabilities helper
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:22 +02:00
Andy Scherzinger
1134172faa
adapt to rebase
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:21 +02:00
Andy Scherzinger
e2c6fd7c25
migrate chat controller to native view binding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:19 +02:00
Andy Scherzinger
0e92e5ea2d
code format kotlin code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:18 +02:00
Andy Scherzinger
4784a22e18
update headers and format code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:16 +02:00
Andy Scherzinger
ca8d6cb782
Move controller to new view binding utilizing logic
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:10 +02:00
Nextcloud bot
0a72959b78
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-08 04:08:35 +00:00
Andy Scherzinger
3299565444
Merge pull request #1311 from nextcloud/dependabot/gradle/coilKtVersion-1.2.2
Bump coilKtVersion from 1.2.1 to 1.2.2
2021-06-07 23:03:23 +02:00
Nextcloud bot
fc6d08f024
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-07 04:04:51 +00:00
dependabot[bot]
c546fc16cb
Bump coilKtVersion from 1.2.1 to 1.2.2
Bumps `coilKtVersion` from 1.2.1 to 1.2.2.

Updates `coil` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/1.2.1...1.2.2)

Updates `coil-gif` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/1.2.1...1.2.2)

Updates `coil-svg` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/1.2.1...1.2.2)

---
updated-dependencies:
- dependency-name: io.coil-kt:coil
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.coil-kt:coil-gif
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.coil-kt:coil-svg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 01:05:08 +00:00
Nextcloud bot
f65bc5ae46
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-06 04:05:52 +00:00
Nextcloud bot
548c65a98e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-05 04:08:40 +00:00
Andy Scherzinger
670922bc5c
Merge pull request #1310 from nextcloud/dependabot/gradle/org.mockito-mockito-core-3.11.0
Bump mockito-core from 3.10.0 to 3.11.0
2021-06-04 14:53:37 +02:00
Nextcloud bot
86d691826c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-04 04:13:49 +00:00
dependabot[bot]
2d5d3f3d08
Bump mockito-core from 3.10.0 to 3.11.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 01:04:41 +00:00
Nextcloud bot
85961da9ae
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-03 04:10:51 +00:00
Nextcloud bot
25ca3e3ced
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-02 08:40:35 +00:00
Andy Scherzinger
cd5f083a49
make text preview dark/light aware, overall improvement of preview screens
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-31 15:29:00 +02:00
Andy Scherzinger
44533b889c
prevent text selection on messages
Resolves #1274

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-31 11:34:36 +02:00
Nextcloud Android Bot
a0a05a580a Weekly 12.0.0 Alpha 15 2021-05-31 03:12:15 +00:00
Valdnet
864a0e65db
l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-28 15:23:42 +02:00
Valdnet
b73d0c5d45
l10n: Delete unnecessary text strings
Removal of unnecessary text strings that are not present in the application.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-28 14:37:24 +02:00
tobiasKaminsky
46790c9bde
Correct fix for not showing bold on read ConversationItem
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-05-28 10:00:57 +02:00
Andy Scherzinger
1070e9f0e7
Merge pull request #1296 from nextcloud/profileAvatarPlaceholder
Add placeholder image to avatar for profile view
2021-05-27 21:43:09 +02:00
Andy Scherzinger
a47bd5564e
add placeholder image to avatar for profile view
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-27 11:03:42 +02:00
Marcel Hibbe
1673d15e5e
dont show deletion option for attachments
(deletion for attachments in talk is not supported by server)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-27 09:30:04 +02:00
Andy Scherzinger
04e418ddfd
Merge pull request #1292 from nextcloud/dependabot/gradle/daggerVersion-2.36
Bump daggerVersion from 2.35.1 to 2.36
2021-05-26 15:09:01 +02:00
Andy Scherzinger
98e5ff5771
remove unsed imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 14:39:18 +02:00
Andy Scherzinger
02a129c3fc
Add error logging when reading user profile from server
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 14:26:37 +02:00
Andy Scherzinger
5af173a962
remove unused strings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 11:17:04 +02:00
Andy Scherzinger
c3e336b716
align avatar placeholders with dark/light theme and add placeholder to settings avatar
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 11:04:31 +02:00
Andy Scherzinger
cd07acaa1b
Simplify settings
Resolves #1058

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 10:15:02 +02:00
dependabot[bot]
15abff064a
Bump daggerVersion from 2.35.1 to 2.36
Bumps `daggerVersion` from 2.35.1 to 2.36.

Updates `dagger` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-compiler` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 01:06:24 +00:00
Andy Scherzinger
93a1d411e0
set fallback avatar icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-25 17:41:30 +02:00
Andy Scherzinger
45ed897c34
reformat kotlin code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-25 12:38:07 +02:00
dependabot[bot]
b532e823a1
Bump gson from 2.8.6 to 2.8.7
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.7.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 12:38:06 +02:00
Marcel Hibbe
8c99dde497
remove toasts from worker
(were accidentally added in PR #1284)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 12:26:23 +02:00
Marcel Hibbe
c1f55aa02e
add toast messages when exceptions were thrown
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 11:17:14 +02:00
Marcel Hibbe
59ccc19ebe
add ability to share plain text
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 11:03:25 +02:00
Marcel Hibbe
36fdd6d82b
add ability to "share to" files to nextcloud talk app
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 11:03:21 +02:00
Nextcloud bot
c0bc0dafae
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-25 04:10:11 +00:00
Nextcloud bot
12027328d3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-24 04:03:52 +00:00
Nextcloud Android Bot
697e6f3135 Weekly 12.0.0 Alpha 14 2021-05-24 03:10:54 +00:00
Nextcloud bot
a5056c28aa
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-23 04:05:45 +00:00
Nextcloud bot
0fb60cb161
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-22 04:09:06 +00:00
Andy Scherzinger
0662e9bd39
Merge pull request #1275 from nextcloud/bugfix/1272/instantDarkLightConversationIconAdaption
Instant adoption of dark/light theming for default conversation icons
2021-05-21 15:47:09 +02:00
Joas Schilling
3ca56793ff
Merge pull request #1276 from nextcloud/conversationActions
Make observer type save
2021-05-21 09:49:30 +02:00
Andy Scherzinger
20eb39fb61
Merge pull request #1277 from nextcloud/bugfix/1139/setDefaultIcon
Set user icon to have a fallback for account switcher icon in search bar
2021-05-21 09:35:40 +02:00
Nextcloud bot
f38a780e0e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-21 04:12:12 +00:00
Andy Scherzinger
123ef3d0ce
set user icon to have a fallback for account switcher icon in search bar
Fixes #1139

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-21 00:03:12 +02:00
Andy Scherzinger
d0a6c96668
make observer type save
fixes #1270

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 22:12:06 +02:00
Andy Scherzinger
ef9021340e
instant adaption of dark/light theming for default conversation icons
Fixes #1272

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 15:16:12 +02:00
Andy Scherzinger
346c2cc60f
replace android_tint with app:tint
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 13:05:35 +02:00
dependabot[bot]
3464400c9d
Bump appcompat from 1.2.0 to 1.3.0
Bumps appcompat from 1.2.0 to 1.3.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 12:48:07 +02:00
Andy Scherzinger
a36ef3e4a9
remove duplicate null check
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 11:57:05 +02:00
Andy Scherzinger
6e56731f15
use short-syntax for loops and reformat code to 120 character line limt
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 11:26:41 +02:00
Joas Schilling
de6683815a
Add support for signaling v3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-20 11:26:40 +02:00
Nextcloud bot
c97df9a435
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-20 04:23:05 +00:00
Andy Scherzinger
be0125de9e
Merge pull request #1266 from nextcloud/activitiyViewBinding
Use native view bindings in activities
2021-05-19 19:05:16 +02:00
Nextcloud bot
baabf0563a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-19 04:23:59 +00:00
Andy Scherzinger
629293e65e
add missing content description
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 18:36:51 +02:00
Andy Scherzinger
d923a41696
move magic numbers to value objects
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 18:23:33 +02:00
Andy Scherzinger
833ebbc9e3
use native view bindings in activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 17:58:09 +02:00
Andy Scherzinger
a1b64c3c9a
remove unused namespace declaration
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 09:34:47 +02:00
Andy Scherzinger
e74aa09879
remove custom password animation and use default/component one
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 09:34:46 +02:00
Andy Scherzinger
f87815753d
Merge pull request #1261 from nextcloud/codacy
Codacy
2021-05-18 09:34:23 +02:00
Andy Scherzinger
6412b4492b
Merge pull request #1254 from nextcloud/bugfix/noid/mentionListItem
Use proper activity context to grab themed color for mentions
2021-05-18 09:28:50 +02:00
Nextcloud bot
2e6ef065bc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-18 04:05:31 +00:00
Andy Scherzinger
ec5a98e22b
proper indentation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 15:19:12 +02:00
Andy Scherzinger
31a588ea28
Merge pull request #1262 from nextcloud/extraTranslations
remove ExtraTranslation flags
2021-05-17 15:13:11 +02:00
Andy Scherzinger
f540aa9305
improve logging, empty method documentation and new codacy issues
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 14:56:46 +02:00
Nextcloud Android Bot
0c0cd012fc Weekly 12.0.0 Alpha 13 2021-05-17 12:52:47 +00:00
Nextcloud Android Bot
6f609d2a24 Weekly 12.0.0 Alpha 12 2021-05-17 12:44:01 +00:00
Andy Scherzinger
733f837ced
remove ExtraTranslation flags since linter config should already cover this
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 14:43:38 +02:00
Andy Scherzinger
7bd6076795
codacy: improve identation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 14:30:16 +02:00
Andy Scherzinger
2ffdd5199c
housekeeping: removed any use of org.jetbrains.annotations
(including a java-to-kotlin rewrite)

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 14:21:21 +02:00
Nextcloud bot
87b142009f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-05-17 12:03:40 +00:00
Andy Scherzinger
7563dc5fba
codacy: Avoid unused local variables such as 'finalCredentials'.
Use correct annotation

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:48:53 +02:00
Andy Scherzinger
8cb0293e83
codacy: Generics names should be a one letter long and upper case.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:40:55 +02:00
Andy Scherzinger
dcadf5d1a3
codacy: NoSemicolons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:39:09 +02:00
Andy Scherzinger
4999916f27
codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:38:05 +02:00
Andy Scherzinger
0bc3be1b6e
codacy: Avoid unused imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:35:34 +02:00
Andy Scherzinger
cb455a7104
Add annotation where needed
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:11:50 +02:00
Andy Scherzinger
443cf8b227
user proper activity context to grab themed color for item header for mention items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:11:44 +02:00
Morris Jobke
c42c79888c
Remove new line from translatable string
Due to our poor mans XML concatenation new lines are not kept and cause invalid XML. See https://github.com/nextcloud/docker-ci/pull/280/files#diff-9d28cba068f86de5b086c8b5e7ba5e44df1f4d5d299421e2bf5eb168551af078R68 for the XML concatenation. THis is a quick fix and better should be handled by just properly parse and combine the XML.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-17 12:07:16 +02:00
Tobias Kaminsky
de05e74929
Merge pull request #1257 from nextcloud/bumpAlphaForAlphaScriptFix
bump alpha version to "12.0.0 Alpha 11"
2021-05-17 11:46:24 +02:00
Marcel Hibbe
d72d1ef26c
bump alpha version to "12.0.0 Alpha 11"
necessary to fix version-code for playstore

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-17 11:44:12 +02:00
dependabot[bot]
2f4f7e1505
Bump exoplayer from 2.13.3 to 2.14.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.13.3 to 2.14.0.
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.13.3...r2.14.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 09:09:31 +00:00
Nextcloud bot
c6cbd8819d
[tx-robot] updated from transifex 2021-05-17 04:04:48 +00:00
Nextcloud bot
5290c7a93f
[tx-robot] updated from transifex 2021-05-16 04:07:28 +00:00
Nextcloud bot
bcf969fe35
[tx-robot] updated from transifex 2021-05-15 04:09:12 +00:00
Andy Scherzinger
94416b3ad0
Merge pull request #1245 from nextcloud/feature/noid/allow-to-add-emails-as-participant
✉️ &  Allow to add emails and circles as particpants
2021-05-14 17:41:49 +02:00
Andy Scherzinger
d8b167ebfa
spotbugs: improve exception handling
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-14 17:05:02 +02:00
Joas Schilling
4790e7b7e4
Fix "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" SpotBugs complaint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:40:28 +02:00
Andy Scherzinger
9f5aeb7dc1
Merge pull request #1247 from nextcloud/dependabot/gradle/org.mockito-mockito-core-3.10.0
Bump mockito-core from 3.9.0 to 3.10.0
2021-05-14 14:36:39 +02:00
Joas Schilling
16ca03cb5c
Adjust title depending on the view
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:20:30 +02:00
Joas Schilling
8f7873ab9b
Add circles support
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:20:30 +02:00
Joas Schilling
98fa8642d3
Allow to add emails as particpants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:19:22 +02:00
Joas Schilling
d06935fd78
Fix ktlint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:06:35 +02:00
Joas Schilling
a44e714f13
Fix position and icon of the PopupMenu
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 13:54:35 +02:00
Joas Schilling
7bbe954d47
Reply privately
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 13:47:28 +02:00
Andy Scherzinger
ed2f53bff4
make popup menu respect the defined style definition by using the right context and referencing the style definition
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-14 13:27:39 +02:00
Joas Schilling
39a848afa4
Fix participant list call state
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 13:27:37 +02:00
Marcel Hibbe
8fc963290b
fix navigation bar color for call screen.
remove blue launcher screen for calls.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-14 11:14:32 +02:00
Nextcloud bot
7293d63485
[tx-robot] updated from transifex 2021-05-14 03:58:22 +00:00
Nextcloud bot
47c0c8a863
[tx-robot] updated from transifex 2021-05-13 03:55:20 +00:00
dependabot[bot]
605b07825e
Bump mockito-core from 3.9.0 to 3.10.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 01:06:53 +00:00
Joas Schilling
213d11358a
Fix "own message" detection with guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:55 +02:00
Joas Schilling
97117eb90c
Use the correct signaling information and user+ticket for "Join via link" as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:55 +02:00
Joas Schilling
c335a69413
Connect the buttons with the actions also for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
932afc2b58
Remove duplicate call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
01813d4165
Use injected capabilities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
2fd0933383
Remove unused capability checking
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
a4cc7f2816
Remove non reachable "initiateCall()"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
b98ff4c56a
Fix joining a public chat as a guest
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
bc2fadb4c5
Add (read-only for now) description to the conversation info
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 14:35:50 +02:00
Andy Scherzinger
dc78f615cb
set proper colors for unread-messages for edge case of theme switch
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-12 09:15:31 +02:00
Andy Scherzinger
2b44a295a4
add account switcher in search bar
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-12 09:15:31 +02:00
Nextcloud bot
7095d383e8
[tx-robot] updated from transifex 2021-05-12 03:59:50 +00:00
Joas Schilling
90ad596f90
Merge pull request #1229 from nextcloud/feature/apiv4/calls
[apiv4] ☎️ Calls
2021-05-11 10:37:40 +02:00
Joas Schilling
172d8da1cf
"chat-v2" capability is available since Nextcloud 13
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-11 09:57:05 +02:00
Joas Schilling
dab9a7c860
Merge pull request #1236 from nextcloud/mailUserIcon
✉️ Add mail icon for mail users
2021-05-11 08:03:33 +02:00
Nextcloud bot
0bf7654f79
[tx-robot] updated from transifex 2021-05-11 03:59:26 +00:00
Andy Scherzinger
386ef5dc96
explicitely set header color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-10 21:39:09 +02:00
Andy Scherzinger
a5d14a67f8
add mail icon for mail users
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-10 21:24:24 +02:00
Joas Schilling
72705dbaf5
Fix "calls equals on an enum instance"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 12:36:19 +02:00
Joas Schilling
112a5662ad
Fix null reference when a participant leaves
java.lang.NullPointerException: Attempt to invoke virtual method
'void com.nextcloud.talk.adapters.ParticipantDisplayItem.setAudioEnabled(boolean)'
on a null object reference

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 11:47:09 +02:00
Joas Schilling
79be753493
Fix some more getUserId() calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 11:35:17 +02:00
Joas Schilling
dde79b5671
Fix joining a call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 11:35:16 +02:00
Joas Schilling
335afb03dd
Test calling with apiv4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 11:35:16 +02:00
Joas Schilling
912442f49c
Merge pull request #1203 from nextcloud/dependabot/gradle/org.jetbrains.kotlin-kotlin-gradle-plugin-1.5.0
Bump kotlin-gradle-plugin from 1.4.32 to 1.5.0
2021-05-10 11:34:57 +02:00
Nextcloud bot
f4ddb2c203
[tx-robot] updated from transifex 2021-05-10 04:12:08 +00:00
Andy Scherzinger
8bb7af4eef
use stringbuilder
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-09 21:59:59 +02:00
Andy Scherzinger
c91631a642
lint: Set locale
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-09 21:56:35 +02:00
Andy Scherzinger
ef273cf9ff
rewrite to for-loop due to former dignature collision kotlin1.5<>java8
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-09 21:54:35 +02:00
Andy Scherzinger
3cb2023680
improve codacy score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-09 17:41:56 +02:00
Joas Schilling
d29905d0fa
Split the method to be short *roll eyes*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:22 +02:00
Joas Schilling
9596e298f2
Deduplicate the subscriber to make the method shorter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:21 +02:00
Joas Schilling
a1bee6a776
Only show the server host in the account switcher as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:20 +02:00
Joas Schilling
21093282f9
Less deprecated usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:19 +02:00
Joas Schilling
875c66ea8a
Remove unsupported !"empty-group-room" case and finish conversation support for apiv4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:18 +02:00
Joas Schilling
8e80c9fb99
Split calls to another API function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:17 +02:00
Joas Schilling
c1e0b07df9
Check the canDeleteConversation flag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:16 +02:00
Joas Schilling
6072d091a2
Fix adding users/groups to a conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:16 +02:00
Joas Schilling
32bb98e43e
Display the pin if the participant has one
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:15 +02:00
Joas Schilling
4ad96cc347
Fix available actions for groups, owners and self-joined users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:14 +02:00
Joas Schilling
596772c5c6
Fix promoting and demoting on apiv4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:13 +02:00
Joas Schilling
6f48ff9070
Fix removing an attendee from a conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:13 +02:00
Nextcloud bot
3ca2dfe860
[tx-robot] updated from transifex 2021-05-09 03:59:45 +00:00
Andy Scherzinger
7a574285db
Update kotlin usage of okhttp due to bump 3.x->4.xwhich is binary compatible but not source compatible
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-08 12:52:13 +02:00
dependabot[bot]
6326268793
Bump okhttpVersion from 3.14.2 to 4.9.1
Bumps `okhttpVersion` from 3.14.2 to 4.9.1.

Updates `okhttp` from 3.14.2 to 4.9.1
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.14.2...parent-4.9.1)

Updates `okhttp-urlconnection` from 3.14.2 to 4.9.1
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.14.2...parent-4.9.1)

Updates `logging-interceptor` from 3.14.2 to 4.9.1
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-3.14.2...parent-4.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 12:52:13 +02:00
Andy Scherzinger
9858860604
replace imports due to changed packaging
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-08 12:52:12 +02:00
dependabot[bot]
4008f8a9eb
Bump dav4jvm from f2078bc846 to 2.1.2
Bumps dav4jvm from f2078bc846 to 2.1.2.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 12:51:59 +02:00
Nextcloud bot
b06f449830
[tx-robot] updated from transifex 2021-05-08 04:02:13 +00:00
Joas Schilling
4bf570ac35
Merge pull request #1219 from nextcloud/feature/apiv4/add-apiv4-for-easy-conversation-api-calls
[apiv4] Add apiv4 for easy conversation api calls
2021-05-07 22:18:49 +02:00
Andy Scherzinger
a247509aa1
add nullchecks since elements are annotated as nullable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-07 21:56:27 +02:00
Andy Scherzinger
34041b0358
Code changes due to conductor update to 3.0.1
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-07 21:56:26 +02:00
Joas Schilling
e9fa343fce
Add APIv4 to easy conversation API calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 21:56:23 +02:00
dependabot[bot]
09ace28090
Bump conductor from 2.1.5 to 3.0.1
Bumps [conductor](https://github.com/bluelinelabs/Conductor) from 2.1.5 to 3.0.1.
- [Release notes](https://github.com/bluelinelabs/Conductor/releases)
- [Commits](https://github.com/bluelinelabs/Conductor/compare/2.1.5...3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 21:56:22 +02:00
Joas Schilling
704266ae85
Merge pull request #1218 from nextcloud/techdebt/apiv4/remove-props-which-are-not-there-anymore
[apiv4] Remove props which are not there anymore
2021-05-07 20:00:29 +02:00
Joas Schilling
22b68daaa4
Remove unused translation strings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 16:10:05 +02:00
Joas Schilling
e9e64771d5
Fix ktlint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 16:00:17 +02:00
Joas Schilling
f32c0867e5
Remove participants usage outside the conversation usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 15:56:05 +02:00
Joas Schilling
5399723ea7
Deprecate props and remove already whats not used anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 15:56:05 +02:00
Joas Schilling
ca9a622030
Capability multi-room-users was introduced 2018
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 15:53:48 +02:00
Joas Schilling
61a2d389b4
Remove fallback code for "no-ping" not being available
The capability was introduces 2018 for Nextcloud 14

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 15:53:47 +02:00
Joas Schilling
6434630709
Merge pull request #1156 from nextcloud/techdebt/noid/api-v4-compatibility
v4️⃣ - Add option for APIv4 compatibility
2021-05-07 15:52:48 +02:00
Joas Schilling
b0ab1de0f1
Merge pull request #1224 from nextcloud/bugfix/noid/define-all-system-messages
Define all system messages as such
2021-05-07 12:57:50 +02:00
Joas Schilling
0f7965f4f9
Readd SuppressLint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
fc736b2aff
Fix missing import
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
9f0c760c49
Fix capability checking when there could be no user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
6aab2d0834
Fix more ktlint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
5d366d0dbf
Fix coding styles
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
ee3dc43530
Throw the exception up
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:38 +02:00
Joas Schilling
fb2fbf3152
LongLogTag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:13 +02:00
Joas Schilling
b5c1e623c5
Fix undefined symbol
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:13 +02:00
Joas Schilling
bc641e2d07
Fix Code style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:13 +02:00
Joas Schilling
529541d896
Change version to be specific to conversations api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:11 +02:00
Joas Schilling
e6d869d431
Allow to inject the version into the chat api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:55:50 +02:00
Joas Schilling
cf23a3d87d
Inject API version into signaling API calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:55:48 +02:00
Joas Schilling
f0eb3fec37
Inject api version in call api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:54:26 +02:00
Joas Schilling
33de3ed330
Final batch of API version injection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:51:02 +02:00
Joas Schilling
1766125149
Move account verification to capabilities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
ccd752b4ca
Fix some kotlin files to allow api switching
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
115154331d
Fix more java calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00