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

Added customize option for sync interval #7926

Merged
merged 4 commits into from
Feb 26, 2025

Conversation

Pabarino
Copy link
Contributor

@Pabarino Pabarino commented Feb 25, 2025

Added an option to the Advanced section in General Settings that allows the user to modify the sync interval.
Screenshot_20250225_164904

Checked the nextcloud.cfg file and it works:
Screenshot_20250225_165703

I think this would solve issue #2792

@claucambra claucambra added this to the 3.16.0 milestone Feb 26, 2025
@claucambra claucambra linked an issue Feb 26, 2025 that may be closed by this pull request
Copy link
Collaborator

@claucambra claucambra left a comment

Choose a reason for hiding this comment

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

This is great, thanks! I have left a few comments which are just nitpicks

@claucambra
Copy link
Collaborator

/backport to stable-3.16

@Pabarino
Copy link
Contributor Author

Hi! I've fixed the issues you mentioned.

Copy link
Collaborator

@claucambra claucambra left a comment

Choose a reason for hiding this comment

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

Sorry, some last formatting nitpicks

@Pabarino Pabarino force-pushed the enhancement/2792 branch 2 times, most recently from 24ecf53 to a87271e Compare February 26, 2025 09:02
@Pabarino
Copy link
Contributor Author

No worries, I carried out the changes you suggested. Thanks!

@claucambra claucambra merged commit 02f183d into nextcloud:master Feb 26, 2025
8 of 13 checks passed
Comment on lines +190 to +194

_ui->labelInterval->setText("seconds (if <a href=\"https://github.com/nextcloud/notify_push\">Client Push</a> is unavailable)");
_ui->labelInterval->setTextFormat(Qt::RichText);
_ui->labelInterval->setTextInteractionFlags(Qt::TextBrowserInteraction);
_ui->labelInterval->setOpenExternalLinks(true);
Copy link
Member

Choose a reason for hiding this comment

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

bit late for a review, but anyway :)

I'd rather have these properties of the label be part of the designer file. The call to setText will also lose the translated texts coming out from the designer file...

Copy link
Member

Choose a reason for hiding this comment

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

@Pabarino would you be up for a follow up PR? 🙈
I would be nice to hide the select if notify push is available. I believe there is a capability value that can be checked for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Pabarino would you be up for a follow up PR? 🙈 I would be nice to hide the select if notify push is available. I believe there is a capability value that can be checked for it.

Hi! Sure, I'll give it a go.

bit late for a review, but anyway :)

I'd rather have these properties of the label be part of the designer file. The call to setText will also lose the translated texts coming out from the designer file...

I'll fix this too while I'm at it.

Copy link
Member

Choose a reason for hiding this comment

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

thanks @Pabarino!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi!, just requested the PR: #7941

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.

Config option to set sync interval
4 participants