Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Aug 21, 2025

Fix #48064

@artonge artonge requested review from a team and skjnldsv as code owners August 21, 2025 14:23
@artonge artonge requested review from Altahrim, ArtificialOwl, susnux, szaimen and yemkareems and removed request for a team August 21, 2025 14:23
@artonge artonge self-assigned this Aug 21, 2025
@artonge artonge added enhancement 3. to review Waiting for reviews feature: sharing javascript php Pull requests that update Php code labels Aug 21, 2025
@artonge artonge force-pushed the artonge/feat/support_template_in_public_shares branch from b8a12c9 to 55c8d86 Compare August 21, 2025 14:26
@artonge
Copy link
Contributor Author

artonge commented Aug 21, 2025

/backport to stable31

@artonge
Copy link
Contributor Author

artonge commented Aug 21, 2025

/backport to stable30

@artonge
Copy link
Contributor Author

artonge commented Aug 21, 2025

/compile rebase

@nextcloud-command nextcloud-command force-pushed the artonge/feat/support_template_in_public_shares branch from 55c8d86 to 3bad9d1 Compare August 21, 2025 15:15
@artonge artonge force-pushed the artonge/feat/support_template_in_public_shares branch 3 times, most recently from c84d96e to d22300e Compare August 25, 2025 13:14
@artonge artonge force-pushed the artonge/feat/support_template_in_public_shares branch 2 times, most recently from 1bc63c1 to ba33875 Compare August 25, 2025 13:54
@camilasan
Copy link
Member

feedback from @elzody:
The button shows up now in the New File menu, but unable to create a text file. Getting this error:

{
    "ocs": {
        "meta": {
            "status": "failure",
            "statuscode": 997,
            "message": "Current user is not logged in"
        },
        "data": []
    }
}

Seems like the route is protected and requires a logged-in user even though it's a public share with total edit permissions

@artonge artonge force-pushed the artonge/feat/support_template_in_public_shares branch 2 times, most recently from 04dd924 to 760c86f Compare August 28, 2025 15:46
@artonge
Copy link
Contributor Author

artonge commented Aug 28, 2025

@camilasan @elzody just pushed an update, to also handle the file creation. Can you test it?

@camilasan
Copy link
Member

camilasan commented Sep 1, 2025

@camilasan @elzody just pushed an update, to also handle the file creation. Can you test it?

I again failed to run your changes. I have pinged @elzody for help testing it 😬

Copy link
Contributor

@elzody elzody left a comment

Choose a reason for hiding this comment

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

Gave it a try, it seems to work fine on my end.

@camilasan
Copy link
Member

backport to stable31 now?

@artonge artonge force-pushed the artonge/feat/support_template_in_public_shares branch from 760c86f to 01cb346 Compare September 4, 2025 10:14
@artonge
Copy link
Contributor Author

artonge commented Sep 4, 2025

/compile rebase

artonge and others added 2 commits September 4, 2025 12:13
If encryption got disabled, copying should set encrypted to 0 for the
 new unencrypted copy. For instance when using encryption:decrypt-all

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the artonge/feat/support_template_in_public_shares branch from 01cb346 to 10d0d0f Compare September 4, 2025 12:20
@artonge
Copy link
Contributor Author

artonge commented Sep 4, 2025

/backport 6d672c4 to stable32

@artonge
Copy link
Contributor Author

artonge commented Sep 4, 2025

/backport 6d672c4 to stable31

@artonge artonge requested a review from susnux September 4, 2025 14:45
@AndyScherzinger AndyScherzinger added this to the Nextcloud 33 milestone Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement feature: sharing javascript php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bring new template file creation to public share links

8 participants