feat(horde): add account-only remote wipe UI/actions with 16.1 gating#112
Merged
Conversation
* expose account-only wipe in admin and prefs flows * enforce EAS 16.1 capability checks with consistent user notifications * add unit tests for prefs/admin dispatch behavior
ralflang
approved these changes
Jun 18, 2026
ralflang
left a comment
Member
There was a problem hiding this comment.
Generally OK but see comments.
Updated the description for EAS version 16.1 to indicate its experimental status.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(horde): EAS 16.1 config, permissions, and account-only wipe UI
Repository:
horde/horde(Horde base application — listed as “base” in the deployment split)Summary
Exposes EAS 16.1 in admin configuration and per-user permissions, and adds account-only remote wipe actions in ActiveSync admin and user preferences — gated to devices that negotiated protocol ≥16.1.
Motivation
horde/activesyncimplementsProvision:AccountOnlyRemoteWipeat the protocol layer; users and admins need UI to trigger it. Unsupported devices get a clear notification instead of a silent failure or exception.Changes
Configuration and permissions
config/conf.xml— add16.1(“Exchange Online / EAS 16.1”) to ActiveSync version enum.lib/Application.php—activesync:versionpermission includesVERSION_SIXTEENONE.Account-only wipe UI
admin/activesync.php—accountwipeaction setsRWSTATUS_ACCOUNTONLY_PENDINGwhen device version ≥16.1.lib/Prefs/Special/Activesync.php— prefs dispatch foraccountwipeid; version check viaHorde_ActiveSync::deviceSupportsAccountOnlyWipe(); user-facing notification when unsupported.templates/activesync/device_table.html.php— show account-only pending/wiped status; account-only wipe button for 16.1+ devices.templates/prefs/activesync.html.php— hiddenaccountwipeidfield.js/activesyncadmin.js/js/activesyncprefs.js— wire wipe buttons to form actions.Tests
test/Unit/Prefs/Special/ActivesyncTest.php— device support helper; prefs sets account-only pending for 16.1 device; notification (not exception) for 16.0 device.Files changed
Dependencies
VERSION_SIXTEENONE,RWSTATUS_ACCOUNTONLY_*,deviceSupportsAccountOnlyWipe().Can merge in parallel with kronolith/itip if activesync is already on framework; UI will only work end-to-end once activesync provision handling is deployed.
Test plan
vendor/bin/phpunit test/Unit/Prefs/Special/ActivesyncTest.phpSuggested commit message
Manual test notes (from deployment)