Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/EventSubscriber/StageFileProxySubscriber.php b/src/EventSubscriber/StageFileProxySubscriber.php
index b3b51bd..0199350 100644
--- a/src/EventSubscriber/StageFileProxySubscriber.php
+++ b/src/EventSubscriber/StageFileProxySubscriber.php
@@ -55,6 +55,10 @@ class StageFileProxySubscriber implements EventSubscriberInterface {
public function checkFileOrigin(RequestEvent $event) {
$config = $this->configFactory->get('stage_file_proxy.settings');
+ if ($config->get('disabled')) {
+ return;
diff --git a/src/Client.php b/src/Client.php
index bfcee62..a441486 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -172,6 +172,10 @@ public function captureEvent(Event $event, ?EventHint $hint = null, ?Scope $scop
return null;
}
+ if ($this->options->getFastcgiFinishRequest() && function_exists('fastcgi_finish_request')) {
+ fastcgi_finish_request();
diff --git a/vapn.module b/vapn.module
index ffcc861..35bb5ce 100644
--- a/vapn.module
+++ b/vapn.module
@@ -70,6 +70,12 @@ function vapn_node_access(NodeInterface $entity, $operation, AccountInterface $a
$rid = $item->target_id;
$allowed_roles[$rid] = $rid;
}
+
+ // Nothing marked on a node? Allow by default.
diff --git a/css/media_library_edit.admin.css b/css/media_library_edit.admin.css
index 0a163d4..5a5ec48 100644
--- a/css/media_library_edit.admin.css
+++ b/css/media_library_edit.admin.css
@@ -8,7 +8,6 @@
margin: 5px;
padding: 0;
transition: 0.2s border-color;
- color: transparent;
border: 2px solid #ccc;
diff --git a/css/media_library_edit.admin.css b/css/media_library_edit.admin.css
index 0a163d4..8c9eb98 100644
--- a/css/media_library_edit.admin.css
+++ b/css/media_library_edit.admin.css
@@ -1,4 +1,4 @@
-.media-library-edit__link {
+.media-library-edit__link::after {
position: absolute;
z-index: 1;
top: 40px;
diff --git a/css/media_library_edit.admin.css b/css/media_library_edit.admin.css
index 0a163d4..e2576f8 100644
--- a/css/media_library_edit.admin.css
+++ b/css/media_library_edit.admin.css
@@ -1,4 +1,4 @@
-.media-library-edit__link {
+.media-library-edit__link::after {
position: absolute;
z-index: 1;
top: 40px;
diff --git a/README.txt b/README.md
similarity index 100%
rename from README.txt
rename to README.md
diff --git a/css/soft_length_limit.css b/css/soft_length_limit.css
index 42c031e..547a9a2 100644
--- a/css/soft_length_limit.css
+++ b/css/soft_length_limit.css
@@ -14,11 +14,11 @@ div.soft-length-limit-tooltip.description {
/* Min/Enhanced tooltip */
diff --git a/README.txt b/README.md
similarity index 100%
rename from README.txt
rename to README.md
diff --git a/css/soft_length_limit.css b/css/soft_length_limit.css
index 42c031e..547a9a2 100644
--- a/css/soft_length_limit.css
+++ b/css/soft_length_limit.css
@@ -14,11 +14,11 @@ div.soft-length-limit-tooltip.description {
/* Min/Enhanced tooltip */
diff --git a/README.txt b/README.md
similarity index 100%
rename from README.txt
rename to README.md
diff --git a/css/soft_length_limit.css b/css/soft_length_limit.css
index 42c031e..fb5b38d 100644
--- a/css/soft_length_limit.css
+++ b/css/soft_length_limit.css
@@ -14,8 +14,8 @@ div.soft-length-limit-tooltip.description {
/* Min/Enhanced tooltip */
diff --git a/README.txt b/README.md
similarity index 100%
rename from README.txt
rename to README.md
diff --git a/modules/soft_length_limit_migrate/soft_length_limit_migrate.info.yml b/modules/soft_length_limit_migrate/soft_length_limit_migrate.info.yml
new file mode 100644
index 0000000..e0a8a18
--- /dev/null
+++ b/modules/soft_length_limit_migrate/soft_length_limit_migrate.info.yml
@@ -0,0 +1,5 @@