Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
69.35 KB
MD5: d257d6dd7c403a9ff9a338642fc5d3f6
SHA-1: e2ff353da0b91137adf15b5ae78059e544e43fcf
SHA-256: 8a669b852888432e1bf52569756b416f89ccbd7508539800e685f6b505fb7dc8
Download zip
84.53 KB
MD5: fba720623f03bac5172d448d0548ba2b
SHA-1: f8ea268d500fdfea479e3c856157142e394180f3
SHA-256: dd164ecb9d3c8449554b47d3b704d4e1b1b11ba7ea515317ecab8a5ef8e1f48e
Release notes
Added
-
check-qa.shand CSpell config:
Script in the module root runs PHPCS (Drupal + DrupalPractice), PHPStan
(phpstan.neon), and CSpell from a Composer-based Drupal tree;
a module-level CSpell file documents project-specific words and paths.
Changed
-
Toolbar visibility and tray:
The Nextcloud admin-toolbar item appears for users with
configure own nextcloud credentialsor
administer nextcloud shared mounts. The tray can include
Global settings, User settings (only when
nextcloud_webdav_mount.user_settingsis accessible for that
account), Shared folder in IMCE when IMCE is enabled and the IMCE
browser route is allowed, Remote drive (opens the configured
server’s Nextcloud Files app in a new tab), and Sync now when sync
mode is on and the user has stored credentials. The main tab link prefers
user settings, then global settings, then the remote Files URL. -
Mount status markup and styles:
Status and server-status Twig templates use module-scoped BEM-style classes
(nextcloud_webdav_mount--mount-status,
nextcloud_webdav_mount--color-success|warning|error) instead of
genericcolor-*names; stylesheets updated so state symbols
(check, warning, cross) and layout stay consistent. -
Toolbar tab icon class:
Custom SVG background usesnextcloud_webdav_mount--toolbar-tab-icon
on the tab link instead of stackingtoolbar-icon-nextcloud*
classes that could clash with core toolbar sprites. -
CSpell on GitLab CI:
Renamedcspell.jsonto.cspell.json. Drupal’s
prepare-cspell.php
only reads.cspell.jsonwhen that file is present;
cspell.jsonwas not merged in CI, was still scanned, and the
word list in that file was reported as unknown. Localcheck-qa.sh
and ignore paths were updated; hidden JSON (including this config) is
covered by a standard ignore pattern per other Drupal.org modules. -
CSpell layout (WissKI / core pattern):
.cspell.jsonnow uses the same kind
of structure as
WissKI
and the
GitLab default:
globRoot,minWordLength: 4,
allowCompoundWords: false,flagWords,
overridesfor PHP, and aproject-wordsdictionary in
.cspell-project-words.txt
so the config file is not a long inline word list.check-qa.sh
passes.as the lint path so the CLI has an explicit root.
Fixed
-
Toolbar tab vs tray
Urlobjects:
Tray links and the tab no longer share oneUrlinstance —
Link::preRenderLink()mutates options and attributes on the
object, which previously leaked tab styling onto tray links (or the reverse).