Skip to content

Commit

Permalink
9.4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish authored Mar 1, 2023
2 parents 12807e4 + e704721 commit 2eab724
Show file tree
Hide file tree
Showing 27 changed files with 8,187 additions and 21,856 deletions.
644 changes: 334 additions & 310 deletions composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/default/migrate_plus.migration_group.hs_capx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source_type: null
module: null
shared_configuration:
source:
orphan_actions: forget
orphan_action: forget
authentication:
plugin: oauth2
base_uri: 'https://authz.stanford.edu'
Expand Down
6 changes: 6 additions & 0 deletions docroot/.ht.router.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
* @see http://php.net/manual/en/features.commandline.webserver.php
*/

if (PHP_SAPI !== 'cli-server') {
// Bail out if this is not PHP's Development Server.
header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden');
exit;
}

$url = parse_url($_SERVER['REQUEST_URI']);
if (file_exists(__DIR__ . $url['path'])) {
// Serve the requested resource as-is.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function loadOverrides($names) {
'client_secret' => $password,
'plugin' => !empty($urls) && $password ? 'oauth2' : '',
],
'orphan_action' => $config->get('orphan_action'),
'orphan_action' => $config->get('orphan_action') ?: 'forget',
'urls' => $urls,
],
'process' => $this->getFieldOverrides(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'DO NOT INSTALL. This is for profile installation task only.'
core_version_requirement: '^8.8 || ^9'
hidden: true
type: module
version: 9.4.8
version: 9.4.9
default_content:
shortcut:
- 0c69448d-c6fa-4fb8-9b2e-f93f3a955baf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- 'hook_event_dispatcher:toolbar_event_dispatcher'
- 'hook_event_dispatcher:user_event_dispatcher'
- 'hook_event_dispatcher:views_event_dispatcher'
version: 9.4.8
version: 9.4.9
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Stanford HumSci'
type: profile
description: 'Installation profile for HumSci Drupal'
version: 9.4.8
version: 9.4.9
core_version_requirement: '^8.8 || ^9'
themes:
- material_admin
Expand Down
2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_airy/css/humsci_airy.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,6 @@ body:not(.we-mega-menu-backend) .navbar-we-mega-menu[data-alwayshowsubmenu="0"]
}

.navbar-we-mega-menu .we-mega-menu-group > .we-mega-menu-submenu {
-webkit-animation-name: initial !important;
animation-name: initial !important;
padding: 0;
}
Expand Down
1 change: 1 addition & 0 deletions docroot/themes/humsci/humsci_basic/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
44 changes: 23 additions & 21 deletions docroot/themes/humsci/humsci_basic/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const sass = require('sass');
const glob = require('glob');
const tilde_importer = require('grunt-sass-tilde-importer');

module.exports = function (grunt) {

function getIncludeFiles() {
const patterns = [
'src/**/*.scss',
Expand All @@ -12,8 +12,8 @@ module.exports = function (grunt) {
];

const libraries = [];
patterns.map(function (pattern) {
glob.sync(pattern).map(function (file) {
patterns.map((pattern) => {
glob.sync(pattern).map((file) => {
libraries.push(file);
});
});
Expand All @@ -28,38 +28,40 @@ module.exports = function (grunt) {
files: ['src/**/*.{scss,sass}'],
tasks: ['dart-sass:dist'],
options: {
interrupt: true
}
}
interrupt: true,
},
},
},
run: {
stylelint: {
exec: 'npm run lint:sass'
}
exec: 'npm run lint:sass',
},
},
postcss: {
options: {
map: false, // inline sourcemaps
processors: [
require('autoprefixer')({
grid: true
}) // add vendor prefixes
]
grid: true,
}), // add vendor prefixes
],
},
dist: {
src: [
'../humsci_colorful/**/*.css',
'../humsci_airy/**/*.css',
'../humsci_traditional/**/*.css'
]
}
'../humsci_traditional/**/*.css',
],
},
},
'dart-sass': {
options: {
implementation: sass,
sourceMap: false,
outputStyle: 'compressed',
includePaths: getIncludeFiles()
importer: tilde_importer,
includePaths: getIncludeFiles(),
quietDeps: true,
},
dist: {
files: [
Expand All @@ -70,14 +72,14 @@ module.exports = function (grunt) {
dest: '../',
ext: '.css',
extDot: 'last',
rename: function (dest, src) {
rename(dest, src) {
const filenameRegularExpression = /\w+(?=\.)/;
const themeName = src.match(filenameRegularExpression)[0];
return `${dest}${themeName}/css/${themeName}.css`
}
}
]
}
return `${dest}${themeName}/css/${themeName}.css`;
},
},
],
},
},
});

Expand Down
Loading

0 comments on commit 2eab724

Please sign in to comment.