Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: send etag for settings URLs and update etag on file changes #4464

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

codewithvk
Copy link
Collaborator

  • Resolves: #
  • Target version: main

Summary

fix: send etag for settings URLs and update etag on file changes

  • Replace timestamp with the folder etag in settings generation.
  • Update the folder etag when files are created or deleted.
  • Refactor folder retrieval logic into helper methods for consistency.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

@codewithvk codewithvk force-pushed the private/codewithvk/caching branch 2 times, most recently from 15d3388 to 7456073 Compare February 11, 2025 13:04
- Replace timestamp with the folder etag in settings generation.
- Update the folder etag when files are created or deleted.
- Refactor folder retrieval logic into helper methods for consistency.

Signed-off-by: codewithvk <[email protected]>
@codewithvk codewithvk force-pushed the private/codewithvk/caching branch 2 times, most recently from e043aa0 to 723eca0 Compare February 12, 2025 08:18
@codewithvk codewithvk marked this pull request as draft February 12, 2025 12:13
@codewithvk codewithvk force-pushed the private/codewithvk/caching branch from 723eca0 to 514e3e0 Compare February 12, 2025 12:19
@codewithvk codewithvk force-pushed the private/codewithvk/caching branch from 514e3e0 to c9b774d Compare February 12, 2025 12:21
@codewithvk codewithvk marked this pull request as ready for review February 12, 2025 12:52
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.

Don't think the Cypress failures are related. The integration.spec.js tests fail everywhere atm.

@elzody elzody merged commit 20e836c into nextcloud:main Feb 13, 2025
62 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants