Skip to content

Conversation

@salmart-dev
Copy link

Summary

Implements support for IPartialShareProvider (nextcloud/server#57285)

🛠️ API Checklist

🚧 Tasks

  • Check if it's acceptable to skip checking for membership to room when reading from share table
  • Write tests

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@salmart-dev salmart-dev added this to the 🍏 Next Major (33) milestone Dec 30, 2025
@salmart-dev salmart-dev self-assigned this Dec 30, 2025
->selectAlias('st.id', 'storage_string_id')
->from('share', 's2')
->orderBy('s2.id', 'ASC')
->leftJoin('s2', 'filecache', 'f', $qb->expr()->eq('s2.file_source', 'f.fileid'))
Copy link
Member

Choose a reason for hiding this comment

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

This explodes with sharding, we need to hint it the key?

@nickvergessen
Copy link
Member

nickvergessen commented Dec 30, 2025

@nickvergessen
Copy link
Member

  • Write tests

Can you let us know when this is used? We would then make sure to also cover this with integration tests, to be safe going forward.

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.

3 participants