Add a Tugboat preview so reviewers can try the module from a branch or MR, mirroring the setup used for audit_trail and pdv: a .tugboat/config.yml + .tugboat/setup.php that installs Drupal, enables the module, and seeds a guided demo.
WebDAV-specific considerations. WebDAV is a desktop-client protocol, so a browser-only preview cannot exercise the file operations directly. The preview should still be useful by:
- Installing Drupal and enabling webdav (plus its dependencies and a file-backing setup).
- Seeding a demo user with the right permission and a sample file or two to browse.
- Presenting a guide front page with the WebDAV endpoint URL and how to connect a client (macOS Finder, Windows Explorer, LibreOffice, cadaver), including the per-file URL-token authentication scheme.
- Surfacing the browsable admin pages (settings, locks).
Tugboat must also be enabled for the project in its Drupal.org settings; the config file alone does not trigger previews.
Comments
Comment #3
mably commentedComment #4
mably commentedPostponing: the Tugboat preview platform blocks the WebDAV editing methods (PROPFIND, PUT, LOCK) at its HTTP proxy layer. Over a preview a desktop client can open/download a file (GET works) but cannot open-for-edit or save back.
Verified with pure URL-token requests (no session cookie, exactly what a desktop client sends):
GET -> 200,PROPFIND -> 404,PUT -> 403, with nothing reaching the Drupal log (the proxy rejects them before Drupal sees them). LibreOffice, which does a PROPFIND handshake before opening, refuses to open at all; MS Word opens via GET but its save-back PUT fails. The same module + .tugboat config work on a normal host.The config in the MR is otherwise complete and verified (private-scheme file fields, the webdav_link formatter pinned to one target per type, real LibreOffice-generated ODT/DOCX fixtures, branding). Keeping the branch; revisit if Tugboat can allow these methods (a support request is going out) or a proxy-level workaround is found.
Comment #5
mably commentedComment #7
mably commented