Skip to content

Instantly share code, notes, and snippets.

View Renrhaf's full-sized avatar
🔨
Building physical & virtual things

Quentin Fahrner Renrhaf

🔨
Building physical & virtual things
View GitHub Profile
@Renrhaf
Renrhaf / build.sh
Created October 21, 2020 18:49
Classy shell script for building a Drupal 8 website
#!/usr/bin/env bash
# For references see the following links.
# Error handling : https://stackoverflow.com/a/50265513/1756667
# Shebang : https://stackoverflow.com/a/10383546/1756667
info_message () {
printf "%s\n" "$1" 2>&1 | tee -a $LOG
}
step_message () {
@Renrhaf
Renrhaf / health.php
Last active October 19, 2020 16:29
Health check script for Drupal 8
<?php
/**
* @file
* Health check controller for the API Indexer.
*/
use Drupal\Core\Database\Database;
use Drupal\Core\DrupalKernel;
use Drupal\Core\Installer\InstallerKernel;
@Renrhaf
Renrhaf / AFOUND-850.patch
Created October 6, 2016 13:32
AFOUND-850
From 2c123e42a8abcd09d6509c2b8975cb9cb52740f1 Mon Sep 17 00:00:00 2001
From: Renrhaf <quentin.fahrner@actency.fr>
Date: Thu, 6 Oct 2016 15:28:55 +0200
Subject: [PATCH] AFOUND-850: adding a cleaning module
---
modules/custom/foundation_cleaning/README.md | 9 +
.../foundation_cleaning.admin.inc | 191 +++++++++++++++++++++
.../foundation_cleaning/foundation_cleaning.info | 8 +
.../foundation_cleaning/foundation_cleaning.module | 73 ++++++++
@Renrhaf
Renrhaf / AFOUND-840.patch
Created September 21, 2016 15:51
AFOUND-840
diff --git a/modules/custom/arte_afp/modules/arte_feeds_afp/arte_feeds_afp.api.php b/modules/custom/arte_afp/modules/arte_feeds_afp/arte_feeds_afp.api.php
new file mode 100755
index 0000000..f8bfba4
--- /dev/null
+++ b/modules/custom/arte_afp/modules/arte_feeds_afp/arte_feeds_afp.api.php
@@ -0,0 +1,16 @@
+<?php
+
+/**
+ * @file
@Renrhaf
Renrhaf / AFOUND-818.patch
Created August 22, 2016 11:54
AFOUND-818
From b4cb492a183d8f00d27f1476cde026c91b399c28 Mon Sep 17 00:00:00 2001
From: Renrhaf <quentin.fahrner@actency.fr>
Date: Mon, 22 Aug 2016 13:53:32 +0200
Subject: [PATCH] AFOUND-818: fix views_content_cache nodequeue support
---
foundation.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/foundation.make b/foundation.make
@Renrhaf
Renrhaf / AFOUND-607.patch
Created August 17, 2016 15:54
AFOUND-607
From 4f5e6797849313e8207d26e520bf995177805eaa Mon Sep 17 00:00:00 2001
From: lsantos-oq <luis.santos@openquest.pt>
Date: Fri, 4 Mar 2016 18:15:36 +0000
Subject: [PATCH 01/11] AFOUND-607 Create the content type
---
modules/features/foundation_videop/README.md | 4 +
.../foundation_videop.features.field_base.inc | 110 +++++++
.../foundation_videop.features.field_instance.inc | 319 +++++++++++++++++++++
.../foundation_videop/foundation_videop.info | 20 ++
@Renrhaf
Renrhaf / AFOUND-816.patch
Created August 16, 2016 15:06
AFOUND-816
diff --git a/foundation.make b/foundation.make
index d065c0e..f3a9152 100755
--- a/foundation.make
+++ b/foundation.make
@@ -380,6 +380,27 @@ projects[migrate_extras][patch][] = "http://drupal.org/files/migrate_extras_enti
projects[field_rename][version] = 1.0-beta1
projects[field_rename][subdir] = "contrib"
+; ======================= Feeds
+
@Renrhaf
Renrhaf / AFOUND-810.patch
Created August 9, 2016 08:18
AFOUND-810
From a2f0feb72b15f6146829d1eceba43af493b17093 Mon Sep 17 00:00:00 2001
From: Renrhaf <quentin.fahrner@actency.fr>
Date: Tue, 9 Aug 2016 10:11:25 +0200
Subject: [PATCH] AFOUND-810: fallback to FR header when in EN language
---
modules/custom/foundation_header/foundation_header.module | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modules/custom/foundation_header/foundation_header.module b/modules/custom/foundation_header/foundation_header.module
From 55334013943081fbbf94f735af8395f5faf94a51 Mon Sep 17 00:00:00 2001
From: lsantos-oq <luis.santos@openquest.pt>
Date: Thu, 19 May 2016 17:07:58 +0100
Subject: [PATCH 01/12] AFOUND-731 Initial commit
---
modules/custom/taxonomy_opa_migrate/README.md | 70 ++++
.../includes/opa_categories_reader.inc | 79 +++++
.../migrate/sources/rabbit_mq_opa_base.inc | 332 ++++++++++++++++++
.../migrate/sources/taxonomy_opa.inc | 104 ++++++
From 3bd13da802d5dbdfd4744b9bf94efe683f24c182 Mon Sep 17 00:00:00 2001
From: Renrhaf <quentin.fahrner@actency.fr>
Date: Wed, 6 Jul 2016 17:20:07 +0200
Subject: [PATCH] AFOUND-795: backport some info ckeditor plugins
---
...undation_ckeditor.features.ckeditor_profile.inc | 8 +-
.../foundation_ckeplugins.info | 2 +-
.../foundation_ckeplugins.module | 139 +++++++++---
.../js/foundation_ckeplugins.js | 4 +-