Tobias Kaminsky
5fe940c797
Merge remote-tracking branch 'origin/master' into dev
2022-12-03 02:32:42 +01:00
Álvaro Brey
49bd3b1efc
Merge pull request #11128 from nextcloud/fix/davx5-error-message
...
SettingsActivity: Better error message when davX5 login fails
2022-12-02 17:33:33 +01:00
Álvaro Brey
f403b25599
SettingsActivity: Better error message when davdroid login fails
...
Server URI is not the only problem that can happen here.
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-02 12:36:14 +00:00
Álvaro Brey
aa938747ff
Merge pull request #11106 from nextcloud/throttleSetup
...
show only one setup dialog, prevents strange situation on double tapping
2022-12-02 11:31:56 +01:00
Nextcloud bot
401086cc71
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-02 03:29:14 +00:00
Nextcloud bot
cc695a2a47
[tx-robot] Update transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-02 03:28:57 +00:00
Tobias Kaminsky
802232ded9
daily dev 20221202
2022-12-02 02:41:36 +01:00
Tobias Kaminsky
132db0ada1
Merge remote-tracking branch 'origin/master' into dev
2022-12-02 02:33:31 +01:00
Álvaro Brey
cf2f86a96a
Merge pull request #11123 from nextcloud/changelog-master-stable-3.23.0
...
Add changelog for 3.23.0
2022-12-01 17:07:56 +01:00
Álvaro Brey
84044905d1
UploadsStorageManager: remove in-memory limit for queries
...
Only added for FilesUploadWorker workaround that is no longer used
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-01 17:00:02 +01:00
Álvaro Brey
f425045a31
FilesUploadWorker: fix infinite loop when uploads failed
...
With the previous approach (uploadsStorageManager.gtCurrentAndPendingUploadsForAccount),
an upload that is, for example, waiting for wifi, would always be returned in the call,
thus the list would never be empty.
To avoid this but still process the uploads in pages to avoid OOM, we'll request them page-wise
from the StorageManager, with the pages ordered by ascending ID. This way we will only process each upload once,
but newly added uploads after we start will not be missed.
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-01 16:52:43 +01:00
Álvaro Brey
a3e21d719b
UploadsStorageManager: extract getUploadsPage from getUploads
...
First step for making it accessible from outside
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-01 16:17:22 +01:00
Álvaro Brey
5b8561e3dc
Add changelog for 3.23.0
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-01 15:02:43 +01:00
Tobias Kaminsky
3f6832eaf1
Merge pull request #11118 from nextcloud/revert-sdk-32
...
Revert "Bump targetSdk to 32"
2022-12-01 12:27:15 +01:00
tobiasKaminsky
52497bb3e3
Template id must be long, as it is fileID, which can be very big
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-12-01 12:13:50 +01:00
Álvaro Brey
4a14602f0e
PreviewVideoFullscreenDialog: fix insets
...
This was breaking the window in Android 9 when going back twice from a fullscreen video.
Testing steps:
1. Open a video
2. Go to fullscreen
3. Close fullscreen
4. Press Back
This caused a white screen in Android 9 before this PR
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-12-01 11:04:24 +01:00
Nextcloud bot
7698b4b088
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-01 03:33:15 +00:00
Nextcloud bot
c3b1957ef8
[tx-robot] Update transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-01 03:32:57 +00:00
Tobias Kaminsky
980bb736a0
daily dev 20221201
...
Bump mockkVersion from 1.13.2 to 1.13.3
Update 3rd-party dependencies
2022-12-01 02:38:18 +01:00
Tobias Kaminsky
ab3bf3e7ca
Merge remote-tracking branch 'origin/master' into dev
2022-12-01 02:31:51 +01:00
Álvaro Brey
13f37c04f8
Revert "Bump targetSdk to 32"
...
This reverts commit 8c8723c7c5
.
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-30 12:21:37 +01:00
Álvaro Brey
5d4b7a6d04
Merge pull request #11113 from nextcloud/fix-crash-when-disabling-airplane-mode
...
Fix crash when disabling airplane mode
2022-11-30 09:33:56 +01:00
Andy Scherzinger
d196a48931
Merge pull request #11114 from nextcloud/dependabot/gradle/mockkVersion-1.13.3
...
Bump mockkVersion from 1.13.2 to 1.13.3
2022-11-30 08:58:54 +01:00
Nextcloud bot
cf148a0558
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-30 06:35:10 +00:00
Tobias Kaminsky
013f6dc7d2
Merge pull request #11075 from nextcloud/chore/sdk-32
...
Bump targetSdk to 32
2022-11-30 07:24:33 +01:00
Tobias Kaminsky
c2fc3424bc
daily dev 20221130
...
Bump kotlin_version from 1.7.21 to 1.7.22
Update Nextcloud Android library
Update 3rd-party dependencies
2022-11-30 03:45:47 +01:00
Tobias Kaminsky
5b89024800
Merge remote-tracking branch 'origin/master' into dev
2022-11-30 03:37:33 +01:00
dependabot[bot]
320c893428
Bump mockkVersion from 1.13.2 to 1.13.3
...
Bumps `mockkVersion` from 1.13.2 to 1.13.3.
Updates `mockk` from 1.13.2 to 1.13.3
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.13.2...1.13.3 )
Updates `mockk-android` from 1.13.2 to 1.13.3
- [Release notes](https://github.com/mockk/mockk/releases )
- [Commits](https://github.com/mockk/mockk/compare/1.13.2...1.13.3 )
---
updated-dependencies:
- dependency-name: io.mockk:mockk
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: io.mockk:mockk-android
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-30 02:01:10 +00:00
Chris Narkiewicz
45567fb6d4
Fix crash when disabling airplane mode
...
Fixes #11096
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2022-11-29 20:17:38 +00:00
Álvaro Brey
4a0182ac38
Merge pull request #11109 from nextcloud/dependabot/gradle/kotlin_version-1.7.22
...
Bump kotlin_version from 1.7.21 to 1.7.22
2022-11-29 16:31:01 +01:00
Álvaro Brey
f74f59220c
Merge pull request #11089 from nextcloud/fix/video-fullscreen-buffer
...
Video preview: use fullscreen dialog for video instead of new activity
2022-11-29 13:33:10 +01:00
Álvaro Brey
bbaf8d369d
Merge pull request #11073 from nextcloud/chore/strictmode-optional
...
Disable StrictMode by default
2022-11-29 13:23:52 +01:00
Nextcloud bot
d584c8416b
[tx-robot] Update transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-11-29 03:32:20 +00:00
dependabot[bot]
7947bb1918
Bump kotlin_version from 1.7.21 to 1.7.22
...
Bumps `kotlin_version` from 1.7.21 to 1.7.22.
Updates `kotlin-gradle-plugin` from 1.7.21 to 1.7.22
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22 )
Updates `kotlin-stdlib` from 1.7.21 to 1.7.22
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.21...v1.7.22 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 02:04:10 +00:00
Tobias Kaminsky
7ba1a9fa5b
daily dev 20221129
...
Bump mockito-kotlin from 4.0.0 to 4.1.0
Update 3rd-party dependencies
2022-11-29 02:38:13 +01:00
Tobias Kaminsky
eddd776d4b
Merge remote-tracking branch 'origin/master' into dev
2022-11-29 02:32:10 +01:00
Álvaro Brey
3f990c3f21
PreviewVideoFullscreenDialog: workaround for rotated videos on sdk < 29
...
See comments in added code for explanation
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-28 19:22:49 +00:00
Álvaro Brey
bdc0fc71e5
PreviewVideoFullscreenDialog: use listeners to control transfer, and pause the video while transfer is happening
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-28 19:22:49 +00:00
Álvaro Brey
efa7d9e317
Remove unused theme
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-28 19:22:49 +00:00
Álvaro Brey
b55d5768de
Fix lint and spotbugs
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-28 19:22:49 +00:00
Álvaro Brey
bbb85513e1
Video preview: use fullscreen dialog for video instead of new activity
...
This allows transfering the playback directly between Player views, thus avoiding creating
a new ExoPlayer, re-starting the stream, having to pass playing status/current position, etc.
Additionally:
- Always enable buffering animation so it's clear when a video is loading
- Add padding to fullscreen duration numbers so they don't get cut off on rounded screens
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-28 19:22:49 +00:00
Tobias Kaminsky
397ba74274
use getParentFragmentManager
...
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-11-28 14:18:09 +00:00
tobiasKaminsky
831bffe571
show only one setup dialog, prevents strange situation on double tapping
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-11-28 14:18:09 +00:00
Álvaro Brey
a2198d3b8f
CONTRIBUTING.md: add performance section
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-28 15:09:04 +01:00
Álvaro Brey
e85737f41d
Disable StrictMode by default
...
StrictMode is not a good fit for the state of our app, since we are way too far from async operations or correct threading.
As a result, we find ourselves disabling the strict mode manually every time we actually want to work on something, as otherwise the
logspam drowns everything else.
With this PR I propose to disable StrictMode unless a prop is set in the Gradle build, which will also control LeakCanary.
Running `./gradlew installGplayDebug -P perfAnalysis` will install the app with both LeakCanary and StrictMode enabled.
This allows us to analyze performance problems on demand, without making our daily work harder.
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-28 15:09:04 +01:00
Álvaro Brey
f9e500ba40
Merge pull request #11105 from nextcloud/chore/noid/updateScreenshots
...
Update screenshot test results for E2E strings
2022-11-28 14:42:18 +01:00
Andy Scherzinger
c66491a02f
update screenshot test results
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-11-28 13:03:10 +01:00
Álvaro Brey
725348a8d4
Merge pull request #11097 from nextcloud/Valdnet-patch-1
...
i18n: Change name of encryption
2022-11-28 12:53:50 +01:00
Valdnet
d184aa6690
i18n: Correct spelling
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-11-28 09:55:32 +01:00
Valdnet
1433dec21b
i18n: Change to lower case
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-11-28 09:55:32 +01:00