Commit graph

3849 commits

Author SHA1 Message Date
Joas Schilling
4f94d7f96c
Fix capability check for 14-18
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 19:45:05 +02:00
Andy Scherzinger
9aed3292e4 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-09 15:09:49 +00:00
Andy Scherzinger
b04c213831
make disabled send button background transparent
Fixes #1414

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-09 16:51:32 +02:00
Andy Scherzinger
f8ae4ca8a3
Merge pull request #1420 from nextcloud/bugfix/1417/botSystemConversationIcon
Use launcher icon as bot-avatar/system-conversation-icon
2021-07-09 16:28:33 +02:00
Andy Scherzinger
7b17ff8554
Merge pull request #1434 from nextcloud/bugfix/noid/fix-call-notifications
Fix call notifications
2021-07-09 16:13:44 +02:00
Joas Schilling
3a18a4ca93
Fix call notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 14:54:54 +02:00
Andy Scherzinger
1333ce768a
Merge pull request #1425 from nextcloud/bugfix/1424/conversationInfoViewBindingNPE
Binding can be null due to async call
2021-07-09 11:30:18 +02:00
Andy Scherzinger
a644fa9e7b
Merge pull request #1423 from nextcloud/bugfix/1422/baseUrlNull
Only parse baseURl if not empty
2021-07-09 11:21:27 +02:00
Andy Scherzinger
074a88ccc3
remove unused lib
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-09 11:20:43 +02:00
Andy Scherzinger
c47a686db1
replace printStackTrace with Log-statement
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-09 10:54:39 +02:00
Nextcloud bot
597a40a156
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-09 04:00:14 +00:00
Andy Scherzinger
1f03c91235
Merge pull request #1411 from nextcloud/dependabot/gradle/com.fasterxml.jackson.core-jackson-core-2.12.4
Bump jackson-core from 2.12.3 to 2.12.4
2021-07-09 00:30:14 +02:00
Andy Scherzinger
324cd95f43
binding can be null do to async call
Fixes #1424

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-08 23:58:34 +02:00
Tim Krueger
1fedee201f
Merge pull request #1418 from nextcloud/add-missing-editorconfig
Add missing .editorconfig
2021-07-08 15:48:33 +02:00
Andy Scherzinger
e1962883b0
Only parse baseURl if not empty
Fixes #1422

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-08 14:49:59 +02:00
Andy Scherzinger
5e88dc6f57
Use launcher icon as bot-avatar/system-conversation-icon on pre-Android O
Fixes #1417

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-08 14:31:12 +02:00
Marcel Hibbe
9da85eec83
Merge pull request #1403 from nextcloud/bugfix/noid/unbreak-translations
Unbreak translations
2021-07-08 13:39:50 +02:00
Tim Krüger
1dda370cb2
Add missing .editorconfig
If an developer have a own '.editorconfig' in some location above the repostires
directory it will used in the gradle build and formatting checks can be fail.

To avoid this an get an more uniform code style between Nextclouds Android apps
the '.editorconfig' from the Nextcloud Android app is used.

Because of defining 'root=true' the developers own '.editorconfig' is not used
anymore.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-08 12:36:36 +02:00
Nextcloud bot
ad55fde3f9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-08 04:00:32 +00:00
Nextcloud bot
3c1cfb2374
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-07 03:58:31 +00:00
dependabot[bot]
6de0b5a491
Bump jackson-core from 2.12.3 to 2.12.4
Bumps [jackson-core](https://github.com/FasterXML/jackson-core) from 2.12.3 to 2.12.4.
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.12.3...jackson-core-2.12.4)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 01:06:01 +00:00
Andy Scherzinger
2e266bb338
Merge pull request #1409 from nextcloud/updateChangelogFor12.1.0
update changelog for 12.1.0
2021-07-06 15:39:06 +02:00
Marcel Hibbe
cd6e8f4107
update changelog for 12.1.0
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-06 14:52:25 +02:00
Nextcloud bot
ae556a98f3
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-06 08:02:29 +00:00
Joas Schilling
2c00b1e3a4
Unbreak translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-06 09:42:07 +02:00
Andy Scherzinger
b9a697e653
Merge pull request #1401 from nextcloud/bugfix/noid/a11y-LoginTextBoxSize
Raise size of clickable-text areas
2021-07-05 17:54:11 +02:00
Andy Scherzinger
f27a0524c2
raise size of clickable-text areas
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-05 17:22:52 +02:00
Andy Scherzinger
13bbedf1e3
Merge pull request #1396 from nextcloud/bugfix/1392/attachMenuLandcape
fix to expand attachment menu in landscape mode
2021-07-05 16:26:32 +02:00
Andy Scherzinger
0c93d2b9ef
Merge pull request #1385 from nextcloud/dependabot/gradle/androidx.core-core-ktx-1.6.0
Bump core-ktx from 1.5.0 to 1.6.0
2021-07-05 15:25:24 +02:00
Marcel Hibbe
e721aa5df6
fix to expand attachment menu in landscape mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-05 14:57:11 +02:00
Joas Schilling
9c00003308
Merge pull request #1394 from nextcloud/bugfix/1393/locationNameNotNull
set locationName to "Shared location" when geocoding failed
2021-07-05 13:41:27 +02:00
Marcel Hibbe
83001990b0
set locationName to "Shared location" when geocoding failed
e.g. when someone shares a location from the ocean the name is not "null" anymore

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-05 13:03:18 +02:00
dependabot[bot]
0dc9f0762b
Bump core-ktx from 1.5.0 to 1.6.0
Bumps core-ktx from 1.5.0 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 11:34:17 +02:00
Andy Scherzinger
305e64279f
Merge pull request #1391 from nextcloud/dependabot/gradle/com.bluelinelabs-conductor-3.1.0
Bump conductor from 3.0.1 to 3.1.0
2021-07-05 11:33:46 +02:00
dependabot[bot]
175eaf2f53
Bump conductor from 3.0.1 to 3.1.0
Bumps [conductor](https://github.com/bluelinelabs/Conductor) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/bluelinelabs/Conductor/releases)
- [Commits](https://github.com/bluelinelabs/Conductor/compare/3.0.1...3.1.0)

---
updated-dependencies:
- dependency-name: com.bluelinelabs:conductor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 11:13:29 +02:00
Andy Scherzinger
bf1a46007e
Merge pull request #1390 from nextcloud/dependabot/gradle/com.google.android.material-material-1.4.0
Bump material from 1.3.0 to 1.4.0
2021-07-05 11:11:52 +02:00
Nextcloud Android Bot
e9c9dc7bd3 Weekly 12.2.0 Alpha 03 2021-07-05 03:18:03 +00:00
dependabot[bot]
01e495e8eb
Bump material from 1.3.0 to 1.4.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 01:13:18 +00:00
Marcel Hibbe
23883c582c
Merge pull request #1114 from nextcloud/fix-own-peer-handling-when-hpb-is-used
Fix own peer handling when HPB is used
2021-07-02 15:16:03 +02:00
Daniel Calviño Sánchez
6087167d6e
Simplify condition
Now that "newSessions" only contains remote participants it is no longer
needed to check if the participant is an MCU publisher or not, as it
will never be.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:59:05 +02:00
Daniel Calviño Sánchez
9687a9453d
Fix treating the local session as a remote session when the HPB is used
When processing the participants in a room the signaling sessions of the
participants were compared against the Nextcloud session of the local
participant to find out which were the remote sessions. However, when
the HPB is used the signaling session is not the same as the Nextcloud
session, so the signaling session of the local participant never matched
her Nextcloud session, so it was always seen as a remote participant.

This caused the call state to be changed to "in conversation" (which,
for example, stopped the calling sound), when only the local participant
was in the call.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:59:05 +02:00
Daniel Calviño Sánchez
004c7b296a
Move "hasMCU" update to the top of the method
"hasMCU" was used before being updated, so this caused an unneeded call
to "getPeersForCall" when processing the users in the room for the first
time even if the MCU is actually used.

A better fix might be moving "hasMCU" to a method instead of relying on
the cached value, but just moving the update to the top of the method
should have no side effects (as calling "getPeersForCall" just updates
"participantMap", which is unused when the MCU is used, and sets the
avatars, which has no effect until the peer layout is set, which also
sets the avatar), so this is good enough for now.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:59:05 +02:00
Marcel Hibbe
8adfb7c2cd
Merge pull request #1387 from nextcloud/bugfix/1308/improveGridViewDesign
Bugfix/1308/improve grid view design
2021-07-02 14:56:33 +02:00
Andy Scherzinger
d1d81b947f
reformat code and use app-defined color-white
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-02 14:36:05 +02:00
drone
61fd18a0ca Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-07-02 12:12:55 +00:00
Marcel Hibbe
c07ef4acc8
define call controls height in dimens.xml
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Marcel Hibbe
47f535fdc9
limit text length of participant name
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Marcel Hibbe
99b247850b
set minHeight for call item by dp
reduce number of possible columns to avoid design issues

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Marcel Hibbe
8e8fd882f9
return false for ridView.setOnTouchListener
NOT TESTED

should allow both click and scrolling?

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Marcel Hibbe
98f8a29eae
set constants for min item height and call controls height
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00