Skip to content

Conversation

@CarlSchwan
Copy link
Member

@CarlSchwan CarlSchwan commented Oct 1, 2025

Summary

Add alternative attribute for the following annotations:

  • NoSameSiteCookieRequired
  • NoTwoFactorRequired
  • TwoFactorSetUpDoneRequired as private APi

Checklist

@CarlSchwan CarlSchwan added this to the Nextcloud 33 milestone Oct 1, 2025
@CarlSchwan CarlSchwan added the 3. to review Waiting for reviews label Oct 1, 2025
@CarlSchwan CarlSchwan force-pushed the carl/missing-attributes branch from 2ad338e to 0fdd21f Compare October 1, 2025 13:42
@CarlSchwan CarlSchwan marked this pull request as ready for review October 1, 2025 13:44
@CarlSchwan CarlSchwan requested a review from a team as a code owner October 1, 2025 13:44
@CarlSchwan CarlSchwan requested review from Altahrim, come-nc and nfebe and removed request for a team October 1, 2025 13:44
@provokateurin
Copy link
Member

Please add them to https://github.com/nextcloud-libraries/rector in a similar way to https://github.com/nextcloud-libraries/rector/blob/main/config/nextcloud-27/nextcloud-27-deprecations.php. Then everyone can migrate automatically 😁

@CarlSchwan
Copy link
Member Author

Rector rule nextcloud-libraries/rector#66

@CarlSchwan CarlSchwan force-pushed the carl/missing-attributes branch from 0fdd21f to a2639cb Compare December 11, 2025 12:07
@provokateurin
Copy link
Member

@CarlSchwan what about the other annotations/attributes pairs?

@CarlSchwan CarlSchwan force-pushed the carl/missing-attributes branch from a2639cb to 473345f Compare December 11, 2025 12:13
@CarlSchwan CarlSchwan added the pending documentation This pull request needs an associated documentation update label Dec 11, 2025
@CarlSchwan
Copy link
Member Author

@CarlSchwan what about the other annotations/attributes pairs?

Are there more missing?

Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

code wise makes sense!

@CarlSchwan CarlSchwan force-pushed the carl/missing-attributes branch from 473345f to 340edce Compare December 11, 2025 13:29
@provokateurin
Copy link
Member

Are there more missing?

Sorry, I was talking about the rector rules for these.

It's in our documentation but was never implemented.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
Allow to replace the old annotation.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
@CarlSchwan CarlSchwan force-pushed the carl/missing-attributes branch from 340edce to e90adb9 Compare December 16, 2025 09:57
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 pending documentation This pull request needs an associated documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants