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.

Issue fork webdav-3594422

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review
mably’s picture

Status: Needs review » Postponed

Postponing: 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.

mably’s picture

Status: Postponed » Needs review

  • mably committed d9eed1af on 1.x
    task: #3594422 Add a Tugboat preview configuration
    
    By: mably
    
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.