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
location ^~ /simplesaml { | |
alias /var/www/html/web/simplesaml; | |
location ~ ^(?<prefix>/simplesaml)(?<phpfile>.+?\.php)(?<pathinfo>/.*)?$ { | |
include /etc/nginx/fastcgi.conf; | |
fastcgi_pass php; | |
fastcgi_param SCRIPT_FILENAME $document_root$phpfile; | |
fastcgi_param PATH_INFO $pathinfo if_not_empty; | |
} | |
} |
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
diff --git a/modules/contenta_enhancements/contenta_enhancements.module b/modules/contenta_enhancements/contenta_enhancements.module | |
index d1b9951..8f0364b 100644 | |
--- a/modules/contenta_enhancements/contenta_enhancements.module | |
+++ b/modules/contenta_enhancements/contenta_enhancements.module | |
@@ -362,7 +362,7 @@ function contenta_enhancements_toolbar_alter(&$items) { | |
function contenta_enhancements_node_view_alter(array &$build, NodeInterface $entity, EntityViewDisplayInterface $display) { | |
// Make sure the help pages are left alone. | |
// TODO: Use the concept of view modes to solve this problem, not this hack. | |
- if ($entity->bundle() === 'page') { | |
+ if ($entity->bundle() === 'page' || ($display->getMode() !== 'default' && $display->getMode() !== 'full')) { |
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
phantomjs: | |
image: wernight/phantomjs:2 | |
volumes_from: | |
- php | |
links: | |
- nginx | |
entrypoint: phantomjs | |
command: "--ssl-protocol=any --ignore-ssl-errors=true /var/www/html/vendor/jcalderonzumba/gastonjs/src/Client/main.js 8510 1024 768" |
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
#!/bin/sh | |
selenium-server -role node -hub http://localhost:4444/grid/register |
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
diff --git a/src/Plugin/Field/FieldFormatter/FileImageFormatter.php b/src/Plugin/Field/FieldFormatter/FileImageFormatter.php | |
index 8b06009..1f719f2 100644 | |
--- a/src/Plugin/Field/FieldFormatter/FileImageFormatter.php | |
+++ b/src/Plugin/Field/FieldFormatter/FileImageFormatter.php | |
@@ -20,7 +20,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; | |
* id = "file_image", | |
* label = @Translation("File Image"), | |
* field_types = { | |
- * "uri" | |
+ * "file_uri" |
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
SELECT GROUP_CONCAT(nr.status) as concat, n.* FROM node AS n INNER JOIN node_revision AS nr ON nr.nid = n.nid GROUP BY nr.nid HAVING n.status = 0 AND FIND_IN_SET('1', concat); |
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
<script> | |
var gaProperty = 'UA-123456789-1'; | |
var disableStr = 'ga-disable-' + gaProperty; | |
if (document.cookie.indexOf(disableStr + '=true') > -1) { | |
window[disableStr] = true; | |
} | |
function gaOptout() { | |
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; | |
window[disableStr] = true; | |
} |
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
diff --git a/openx.module b/openx.module | |
index e2932e8..cb696d3 100644 | |
--- a/openx.module | |
+++ b/openx.module | |
@@ -19,7 +19,8 @@ function openx_block_info() { | |
foreach ($zones as $index => $zone) { | |
if ($zone['id']) { | |
$blocks[$index] = array( | |
- 'info' => t('OpenX Zone !id (!name)', array('!id' => $zone['id'], '!name' => (empty($zone['name']) ? t('untitled') : $zone['name']))), | |
+ 'info' => t('OpenX Zone !id (!name)', array('!id' => $zone['id'], '!name' => (empty($zone['name']) ? t('untitled') : $zone['name']))), |
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
<?php | |
/** | |
* Implements hook_editor_js_settings_alter(). | |
*/ | |
function mymodule_misc_editor_js_settings_alter(array &$settings) { | |
$settings['editor']['formats'][$my_text_format]['editorSettings']['autoGrow_minHeight'] = '50'; | |
} |
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
diff --git a/paragraphs_edit.module b/paragraphs_edit.module | |
index e64656d..6aaeedf 100644 | |
--- a/paragraphs_edit.module | |
+++ b/paragraphs_edit.module | |
@@ -54,6 +54,15 @@ function paragraphs_edit_paragraph_view_alter(array &$build, ParagraphInterface | |
'metadata' => ['changed' => $root_parent->getChangedTime()], | |
]; | |
} | |
+ else { | |
+ $build['#contextual_links']['paragraph'] = [ |