Skip to content

fix(nag): add completed filter to ActiveSync listUids API#29

Merged
TDannhauer merged 1 commit into
FRAMEWORK_6_0from
fix/incomplete-tasks-filter
Jun 22, 2026
Merged

fix(nag): add completed filter to ActiveSync listUids API#29
TDannhauer merged 1 commit into
FRAMEWORK_6_0from
fix/incomplete-tasks-filter

Conversation

@TDannhauer

Copy link
Copy Markdown
Contributor

Summary

  • Extend tasks/listUids with an optional Nag::VIEW_* completed filter
  • Add isComplete() for ActiveSync to check task completion state

Motivation

EAS FilterType 8 (FILTERTYPE_INCOMPLETETASKS) requires the backend to list and track incomplete tasks only. Nag previously always returned all task UIDs.

Changes

  • lib/Api.php: optional $completed argument on listUids(); new isComplete() helper

Test plan

  • Manual ActiveSync sync with incomplete-tasks filter on iOS
  • PHPUnit (no new tests in this PR; covered by activesync CutOffDateTest + manual QA)

Merge order

Merge before or together with horde/core PR for incomplete-task filtering.

Made with Cursor

Extend tasks/listUids with an optional Nag::VIEW_* completed filter and add isComplete() for ActiveSync incomplete-task filtering.
@TDannhauer TDannhauer merged commit ca29f07 into FRAMEWORK_6_0 Jun 22, 2026
1 check failed
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.

1 participant