Commit graph

2933 commits

Author SHA1 Message Date
Tim Krueger
1fedee201f
Merge pull request #1418 from nextcloud/add-missing-editorconfig
Add missing .editorconfig
2021-07-08 15:48:33 +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
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
Marcel Hibbe
64d98aefb4
- set bottom margin for grid for voicecall
- temporarily comment out setOnTouchListener for grid (disables toggle of controls for now)
- set android:scrollbars="vertical" for gridview
- add callControlsHeight for item height calculation
- add fake height to item that scrolling is testable

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Andy Scherzinger
7874aa713f
Merge pull request #1383 from nextcloud/dependabot/gradle/androidx.test.espresso-espresso-core-3.4.0
Bump espresso-core from 3.3.0 to 3.4.0
2021-07-01 14:08:51 +02:00
Andy Scherzinger
3cf20258b9
Merge pull request #1380 from nextcloud/feature/noid/shortenedLaucherLabel
Shortened launcher label
2021-07-01 10:58:30 +02:00
dependabot[bot]
e10f77a61f
Bump espresso-core from 3.3.0 to 3.4.0
Bumps espresso-core from 3.3.0 to 3.4.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 01:06:09 +00:00
Andy Scherzinger
394a640555
shorten app label Nextcloud Talk -> Talk while keeping "Nextcloud Talk" as a label within the app itself
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 18:07:54 +02:00
Andy Scherzinger
e1a2d5f098
Merge pull request #1370 from nextcloud/bugfix/1233/checkViewNotNull
Check if view is (still) available
2021-06-30 17:35:49 +02:00
Andy Scherzinger
996770e470
check if view is (still) available
...since grid initialization is called in various places throughout the lifecycle

Fixes #1233

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 16:54:57 +02:00
Andy Scherzinger
e9fb3eda84
Merge pull request #1369 from nextcloud/a11y-contrastBubble-HitBoxSize
Improve Chat Accessibility
2021-06-30 16:48:41 +02:00
Andy Scherzinger
60def3cc0c
optimize message input for size+a11y
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 15:53:30 +02:00
Andy Scherzinger
9a4d7b78a2
a11y - raise hitbox of icons to 48dp
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 15:53:29 +02:00
Andy Scherzinger
9c9d2f8a8f
a11y - raise contrast text/bubble in dark mode
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 15:53:24 +02:00
Marcel Hibbe
8955015159
Merge pull request #1377 from nextcloud/bugfix/1013/stopLogFlooding
temporarily disable logging to file
2021-06-30 15:10:19 +02:00
drone
1b71fd39c3 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-06-30 13:07:09 +00:00
Marcel Hibbe
bebf716da7
temporarily disable logging to file
see issue
https://github.com/nextcloud/talk-android/issues/1376

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-30 14:24:53 +02:00
Andy Scherzinger
b989c62055
Merge pull request #1373 from nextcloud/bugfix/1343/stopVoiceMessage
Bugfix/1343/stop voice message
2021-06-30 13:53:13 +02:00
Andy Scherzinger
60d14f3b35
SuppressLint("SetTextI18n")
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:44:00 +02:00