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(circles): Use probeCircles() instead of getCircles() #1592

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

mejo-
Copy link
Member

@mejo- mejo- commented Nov 18, 2024

probeCircles() is lighter and more performant.

Fixes: #498

Requires nextcloud/circles#1758

Todo

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

@mejo- mejo- self-assigned this Nov 18, 2024
@mejo- mejo- requested a review from max-nextcloud as a code owner November 18, 2024 13:58
@mejo- mejo- force-pushed the fix/probe_circles branch 2 times, most recently from 1fa84fe to bc00e16 Compare November 20, 2024 11:45
@mejo- mejo- marked this pull request as draft November 20, 2024 16:17
@mejo- mejo- force-pushed the fix/probe_circles branch from bc00e16 to d4c584d Compare November 25, 2024 15:46
`probeCircles()` is lighter and more performant.

We can only use `probeCircles()` on newer Nextcloud versions though:
* Nextcloud 31+
* Nextcloud 30 starting with 30.0.3
* Nextcloud 29 starting with 29.0.10
* Nextcloud 28 starting with 28.0.13

Fixes: #498

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- force-pushed the fix/probe_circles branch from d4c584d to 39c9587 Compare December 4, 2024 15:28
@mejo- mejo- marked this pull request as ready for review December 4, 2024 16:01
@juliusknorr juliusknorr merged commit 6c0f696 into main Dec 5, 2024
51 of 53 checks passed
@juliusknorr juliusknorr deleted the fix/probe_circles branch December 5, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Switch to probeCircles() in CircleHelper
3 participants