Commit graph

3921 commits

Author SHA1 Message Date
Marcel Hibbe
5287fc2a96
Merge pull request #1752 from nextcloud/feature/1464/markAsRead
mark message as unread / conversation as read
2022-01-05 10:59:34 +01:00
Andy Scherzinger
12e1d9b7de
use existing constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
10f2c3be3a
make unread work for chat messages based on adapter data
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
58c0106ec7
calculate previous message id when possible
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
de085df3bc
add proper API version detection
don't let switch fall through
make api versions constants

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
1521e13e21
mark message as unread / conversation as read
Resolves #1464

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:06 +01:00
Marcel Hibbe
58b714cffd
Merge pull request #1749 from nextcloud/feature/411/gif_keyboard
Image keyboard support in chat
2022-01-04 15:57:13 +01:00
Dariusz Olszewski
996c4c5280
ktlint... :-|
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-04 15:38:25 +01:00
Dariusz Olszewski
385edf35a2
Image keyboard support in chat
Receive images (usually GIFs) from keyboard and upload them to the current chat.

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-04 15:38:24 +01:00
Nextcloud Android Bot
7a15f7ca78 Weekly 13.1.0 Alpha 07 2021-12-27 03:10:03 +00:00
Marcel Hibbe
53df2451f1
Merge pull request #1739 from nextcloud/test/login-flow
Add test for login flow
2021-12-21 15:24:11 +01:00
drone
051c608e08 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2021-12-21 11:12:04 +00:00
Tim Krüger
c26d6afddb
Remove implied default locale in case conversion
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-21 12:03:57 +01:00
Tim Krüger
81734bd647
Add test for login flow
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-21 11:14:13 +01:00
Nextcloud Android Bot
c70f608519 Weekly 13.1.0 Alpha 06 2021-12-20 03:09:57 +00:00
Marcel Hibbe
7fb586761e
Merge pull request #1692 from nextcloud/addHintForJavaAndASVersion
add hint that currently java8 must be used
2021-12-16 10:17:30 +01:00
Marcel Hibbe
329f745877
add instruction how to setup JDK8
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-12-16 10:16:53 +01:00
Marcel Hibbe
771c701198
add hint that currently java8 must be used
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-12-16 10:16:52 +01:00
Marcel Hibbe
1c1600c33a
Merge pull request #1728 from nextcloud/bugfix/756/notificationChannels
Adapt notification code to Android 8.0 (Oreo) and later
2021-12-15 16:24:24 +01:00
Marcel Hibbe
fef9c24232
minor refactoring in NotificationUtils
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-12-15 15:54:20 +01:00
Dariusz Olszewski
09879ff347
Proposed UI changes of notification settings
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
39f69003b5
Safer to use NotificationManagerCompat rather than NotificationManager
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
2f4aa35c53
Register notification channels on app start-up (Oreo or later)
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
2e4130c2c4
Fix (some) ktlint issues
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
e9ac99c5df
Notification settings UI on Oreo or later
* On devices with Android 8.0 (Oreo) or later, use system UI to change notification settings.
* Refactor sound selection code to cover differences between old (pre Oreo) and new devices.
* Always use the same notification channel for calls (Oreo or later).

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
4a5f6cf1fe
Do not play notification sounds on Oreo or later
On devices with Android 8.0 (Oreo) or later, notification sound will be handled by the system, if notifications have not been disabled by the user.

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:47 +01:00
Tim Krueger
89a8ca630d
Merge pull request #1741 from nextcloud/bugfix/noid/bg-color-unread-indirect-mention
Fix unread indirect mention bg color
2021-12-14 14:48:03 +01:00
Tim Krüger
2bf470e0e6
Fix unread indirect mention bg color
The background color for the indirect unread mention counter was alwasys
white. Also in dark mode.

Now the background color is defined via the 'bg_default' color.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-14 11:39:34 +01:00
Nextcloud Android Bot
0bedb8d150 Weekly 13.1.0 Alpha 05 2021-12-13 03:10:51 +00:00
Nextcloud bot
64276f3983
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-11 03:56:44 +00:00
Nextcloud bot
e8d5ad3995
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-09 04:00:27 +00:00
Tim Krueger
56465e314c
Merge pull request #1619 from nextcloud/feature/1547/setup-test-automation-on-ci
Feature/1547/setup test automation on ci
2021-12-08 16:52:07 +01:00
Tim Krüger
68ff7e1b1c
Execute unit tests in pipelien tests
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-08 16:25:18 +01:00
Tim Krüger
2206dfab65
Revert 'mockito-core' to 3.12.4
With 'mockito-core' 4.0.0 an bug in combination with powermock is
introduced [1]. So the version is reverted to 3.12.4, the last version
before 4.0.0.

See: [1] https://github.com/powermock/powermock/issues/1109

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-08 16:25:18 +01:00
tobiasKaminsky
5ad48b3757
initial idea to login in during tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-08 16:25:18 +01:00
Tim Krüger
aaa9567c19
Skip test 'ShareUtils#date'
The test will be skipped on the CI server because it fails there:

    com.nextcloud.talk.utils.ShareUtilsIT > date[android-27(AVD) - 8.1.0] FAILED
       	java.lang.AssertionError: expected:<1207778138000> but was:<1207785338000>
	at org.junit.Assert.fail(Assert.java:88)

Locally the test works fine. For this problem a issue were created.

See: #1737

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-08 14:52:21 +01:00
Tim Krüger
d7b3ba17de
Add pipeline tests
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-08 14:51:58 +01:00
Nextcloud bot
48c7acdb47
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 04:08:50 +00:00
Tim Krüger
390fa154b5
Fixed example instrumented test
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 11:32:01 +01:00
Tim Krüger
707841ec29
Mock the companion object correctly
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 09:45:05 +01:00
Tim Krüger
c854d8c3ae
Replace deprecated methods
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 09:45:05 +01:00
Tim Krueger
a7e70701d9
Merge pull request #1736 from nextcloud/bugfix/noid/correct-url-for-branching-image
Correct URL of branching diagram
2021-12-06 14:55:13 +01:00
Tim Krüger
4f138a18bf
Correct URL of branching diagram
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-06 14:44:18 +01:00
Tim Krueger
acd0bb7cd5
Merge pull request #1733 from nextcloud/bugfix/1730/guests-without-names-quotes
Show quotes of unnamed guests with "Guests"
2021-12-06 14:41:48 +01:00
Nextcloud bot
4b852114c5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-06 04:05:02 +00:00
Nextcloud Android Bot
a8efa67209 Weekly 13.1.0 Alpha 04 2021-12-06 03:13:55 +00:00
Tim Krüger
1db35c9030
Increment allowed warnings by one
The number of warnings increased because of a new version of
'com.google.android.exoplayer:exoplayer' is available. But the new version
enforces SDK 31.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-03 14:29:59 +01:00
Tim Krüger
eb1512b890
Show quotes of unnamed guests with "Guests"
Before this change the default "Guests" label only was set if the actor
display name was 'null'.

Resolves: #1730

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-03 11:30:16 +01:00
Andy Scherzinger
64a7373538
Merge pull request #1715 from nextcloud/bugfix/noid/fileBrowserAlignment
Align file browser layout and folder icon with files client
2021-12-02 23:48:58 +01:00
Andy Scherzinger
29b15a190a
Align file browser layout and folder icon with files client
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-12-02 18:23:06 +01:00