Skip to content

feat: create encrypted folder action#16645

Open
alperozturk96 wants to merge 9 commits intomasterfrom
feat/create-encrypted-folder-action
Open

feat: create encrypted folder action#16645
alperozturk96 wants to merge 9 commits intomasterfrom
feat/create-encrypted-folder-action

Conversation

@alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Mar 10, 2026

Changes

Accesses remote operation result data after checking it
Uses stream API to update encryption status of file
Adds insert file functionality to the OCFileListAdapter
Notifies changed item instead of full adapter
Extends functionality of create folder operation to provide full flow for directly creating encrypted folder
Converts OCFileListBottomSheetActions java interface to Kotlin
Adds create a new encrypted folder action for root directory (mentioned changes above were necessary to achieve full flow as showed in the demo except kt conversion)

Screenshot

Screenshot_20260310_095354

Demo

Screen_recording_20260310_111421.webm

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
<!--
~ Nextcloud - Android Client
~
~ SPDX-FileCopyrightText: 2018-2026 Michael Irigoyen
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Yes, apache2 👍

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@nextcloud nextcloud deleted a comment from github-actions bot Mar 10, 2026
@github-actions
Copy link

Codacy

SpotBugs

CategoryBaseNew
Bad practice4141
Correctness7575
Dodgy code241242
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4343
Security1818
Total462463

SpotBugs increased!

@github-actions
Copy link

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16645.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.

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.

2 participants