Skip to content

Feature - Check Auto Upload Sub Folder - #14547

Merged
tobiasKaminsky merged 21 commits into
masterfrom
feature/check-auto-upload-sub-folder
Apr 2, 2025
Merged

Feature - Check Auto Upload Sub Folder#14547
tobiasKaminsky merged 21 commits into
masterfrom
feature/check-auto-upload-sub-folder

Conversation

@alperozturk96

@alperozturk96 alperozturk96 commented Feb 13, 2025

Copy link
Copy Markdown
Collaborator
  • Tests written, or not not needed

Screenshot 2025-03-12 at 10 20 03

@alperozturk96
alperozturk96 force-pushed the feature/check-auto-upload-sub-folder branch 2 times, most recently from 2bb8991 to 3bc227d Compare February 18, 2025 12:31
@alperozturk96
alperozturk96 force-pushed the feature/check-auto-upload-sub-folder branch 2 times, most recently from 96caffc to ff29eb2 Compare February 21, 2025 10:36
@alperozturk96
alperozturk96 force-pushed the feature/check-auto-upload-sub-folder branch 2 times, most recently from 2d57ed3 to 0b2f161 Compare March 4, 2025 14:20
@tobiasKaminsky

Copy link
Copy Markdown
Member

as discussed

  • do not automatically change it
  • show an info it auto upload overview

@alperozturk96
alperozturk96 force-pushed the feature/check-auto-upload-sub-folder branch from 0b2f161 to f68d67b Compare March 5, 2025 12:28
@alperozturk96

Copy link
Copy Markdown
Collaborator Author

Info image button added to the auto upload page. @ZetaTom @tobiasKaminsky Please review

fff.mp4

@jancborchardt jancborchardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In both cases where it appears – but especially when clicking the info "i" icon – it would be more fitting to use a modal since the info is more important than to just show it in a toast.

@alperozturk96
alperozturk96 force-pushed the feature/check-auto-upload-sub-folder branch 2 times, most recently from 2a713f7 to c0130f9 Compare March 11, 2025 09:20
@alperozturk96
alperozturk96 force-pushed the feature/check-auto-upload-sub-folder branch from c0130f9 to 9d0783e Compare March 12, 2025 08:29
if (titleIconId == defaultTitleIconId) {
builder
.setIcon(titleIconId)
.setIconAttribute(R.attr.alertDialogIcon)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only setIconAttribute for defaultTitleIconId otherwise it will override given titleIconId

@jancborchardt jancborchardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the adjustments @alperozturk96! :)

@alperozturk96
alperozturk96 force-pushed the feature/check-auto-upload-sub-folder branch from 55b01f9 to 6b78844 Compare March 19, 2025 11:13
@alperozturk96
alperozturk96 marked this pull request as draft March 19, 2025 11:30
@alperozturk96
alperozturk96 marked this pull request as ready for review March 19, 2025 14:11
Signed-off-by: alperozturk <alper_ozturk@proton.me>
…isplayItem>

Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
@alperozturk96
alperozturk96 force-pushed the feature/check-auto-upload-sub-folder branch from e31d1c2 to b6be668 Compare March 31, 2025 07:27
@github-actions

Copy link
Copy Markdown

Codacy

Lint

TypemasterPR
Warnings5454
Errors1111

SpotBugs

CategoryBaseNew
Bad practice6565
Correctness5858
Dodgy code292292
Experimental11
Internationalization77
Malicious code vulnerability11
Multithreaded correctness77
Performance5151
Security1818
Total500500

@github-actions

Copy link
Copy Markdown

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14547.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@tobiasKaminsky
tobiasKaminsky merged commit 8b323a2 into master Apr 2, 2025
@tobiasKaminsky
tobiasKaminsky deleted the feature/check-auto-upload-sub-folder branch April 2, 2025 12:52
@carlhaupt

Copy link
Copy Markdown

its back again with version 3.33.0 of android com.nextcloud.client. I cannot use the camera-folder from actual camera aperture only because I have opencamera and others which store in DCIM. and it says there will be doublettes because there is an upload which saves /camera alread als subfolder, but I cannot see the definition of the main /DCIM-Folder which is mentioned. There are 2 or even more definitions of subfolders with the same path, which i can hide but do all the same. /download/DCIMALT for example from a former backup of the old phone is twice in the list, the same with others. And no delete-Button for those, just hide-option, in my case 6 or 7 hidden folders already,

I haven't tried to reset the client to get rid of those, cause chatgpt thought its the best to inform you this way that the bug is back again

plz fix again. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-upload on Android-client should prevent (recursive) uploading of Android-app-files

5 participants