Skip to content

Improve Two Way Sync Behaviour#13884

Merged
tobiasKaminsky merged 39 commits intomasterfrom
improve-two-way-sync-behaviour
Oct 31, 2024
Merged

Improve Two Way Sync Behaviour#13884
tobiasKaminsky merged 39 commits intomasterfrom
improve-two-way-sync-behaviour

Conversation

@alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Oct 26, 2024

  • Tests written, or not not needed

• Updates getInternalTwoWaySyncFolders() to return only folders, excluding the root directory, avoiding redundant checks in the worker.
• Adds a toggle to enable/disable two-way sync.
• Adds a dropdown menu to adjust the two-way sync interval.

Screenshot 2024-10-28 at 12 45 23

Copy link
Collaborator

@ZetaTom ZetaTom left a comment

Choose a reason for hiding this comment

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

Everything seems to work during testing. Suggestions are mostly UI improvements.

(However, the worker still re-downloads everything on every run. This should be fixed by #13897.)

@alperozturk96 alperozturk96 force-pushed the improve-two-way-sync-behaviour branch from 781449e to caa7f7f Compare October 29, 2024 10:56
@alperozturk96 alperozturk96 requested a review from ZetaTom October 29, 2024 14:20
@alperozturk96 alperozturk96 force-pushed the improve-two-way-sync-behaviour branch from 6d5e15f to e96e4f1 Compare October 29, 2024 14:20
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
@alperozturk96 alperozturk96 force-pushed the improve-two-way-sync-behaviour branch from 5aca575 to 488589d Compare October 30, 2024 09:48
Copy link
Collaborator

@ZetaTom ZetaTom left a comment

Choose a reason for hiding this comment

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

Everything works as expected on my device.

Please see my previous comment. If we agree, you will have my approval.

Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
@alperozturk96
Copy link
Collaborator Author

@tobiasKaminsky

Test regarding three-dot-menu visibility

f_test.mp4

Signed-off-by: alperozturk <alper_ozturk@proton.me>
@github-actions
Copy link

Codacy

Lint

TypemasterPR
Warnings5959
Errors33

SpotBugs

CategoryBaseNew
Bad practice6565
Correctness6262
Dodgy code300299
Experimental11
Internationalization77
Malicious code vulnerability11
Multithreaded correctness66
Performance5353
Security1818
Total513512

@Hannes-Schniz
Copy link

Hannes-Schniz commented Oct 30, 2024

Looking forward to this PR currently sync is not usable for me due to this feature missing since it just drains my battery

@tobiasKaminsky tobiasKaminsky merged commit 54592b2 into master Oct 31, 2024
@tobiasKaminsky tobiasKaminsky deleted the improve-two-way-sync-behaviour branch October 31, 2024 06:09
@nextcloud nextcloud deleted a comment from tobiasKaminsky Oct 31, 2024
@alperozturk96
Copy link
Collaborator Author

/backport to stable-3.30

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.

6 participants