Compare commits
2 Commits
master
...
abc2b1c1d4
Author | SHA1 | Date |
---|---|---|
Bachir Soussi Chiadmi | abc2b1c1d4 | |
Bachir Soussi Chiadmi | f2e4d3a3fa |
3
.babelrc
3
.babelrc
|
@ -7,6 +7,5 @@
|
|||
"node": "current"
|
||||
}
|
||||
}]
|
||||
],
|
||||
"plugins": ["@babel/plugin-syntax-dynamic-import"]
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
/build/
|
||||
/config/
|
||||
/web/
|
||||
!/web/themes/custom/
|
||||
!/web/modules/custom/
|
48
.eslintrc.js
48
.eslintrc.js
|
@ -1,43 +1,29 @@
|
|||
module.exports = {
|
||||
module.exports =
|
||||
root: true,
|
||||
parserOptions: {
|
||||
parser: 'babel-eslint'
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
node: true,
|
||||
mocha: true
|
||||
},
|
||||
globals: {
|
||||
"expect": true,
|
||||
"jQuery": false
|
||||
},
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:vue/vue3-recommended',
|
||||
'./web/core/.eslintrc.json',
|
||||
'plugin:vue/recommended',
|
||||
'plugin:vue-a11y/base',
|
||||
'standard',
|
||||
// 'plugin:prettier/recommended'
|
||||
'standard'
|
||||
],
|
||||
plugins: [
|
||||
'vue',
|
||||
'vue-a11y',
|
||||
'no-autofix'
|
||||
'vue-a11y'
|
||||
],
|
||||
rules: {
|
||||
'no-unused-vars': ["warn"],
|
||||
'camelcase': 'off',
|
||||
'eqeqeq': 'warn',
|
||||
'no-redeclare': 'warn'
|
||||
},
|
||||
ignorePatterns: [
|
||||
"vendor/**",
|
||||
"web/core/**"
|
||||
],
|
||||
globals: {
|
||||
"Drupal": true,
|
||||
"drupalSettings": true,
|
||||
"drupalTranslations": true,
|
||||
"domready": true,
|
||||
"jQuery": true,
|
||||
"_": true,
|
||||
"matchMedia": true,
|
||||
"Cookies": true,
|
||||
"Backbone": true,
|
||||
"Modernizr": true,
|
||||
"Popper": true,
|
||||
"Sortable": true,
|
||||
"CKEDITOR": true,
|
||||
"drupalDecoupled": true
|
||||
'generator-star-spacing': 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,32 +19,29 @@
|
|||
*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
||||
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html
|
||||
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
||||
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
||||
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
||||
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
||||
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
||||
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
||||
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
||||
*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||
|
||||
# PHPStan's baseline uses tabs instead of spaces.
|
||||
core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tabwidth=2 diff=php linguist-language=php
|
||||
|
||||
# Define binary file attributes.
|
||||
# - Do not treat them as text.
|
||||
# - Include binary diff in patches instead of "binary files differ."
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
/web/profiles/contrib/
|
||||
/web/libraries/
|
||||
|
||||
web/modules/dev/*.tar.gz
|
||||
|
||||
# Ignore sensitive information
|
||||
/web/sites/*/settings.php
|
||||
/web/sites/*/settings.local.php
|
||||
|
@ -30,24 +28,3 @@ web/modules/dev/*.tar.gz
|
|||
node_modules/
|
||||
|
||||
*.patch
|
||||
~/patches/*.patch
|
||||
/.csslintrc
|
||||
/.eslintrc.json
|
||||
/.ht.router.php
|
||||
/.htaccess
|
||||
/INSTALL.txt
|
||||
/README.txt
|
||||
/autoload.php
|
||||
/example.gitignore
|
||||
/index.php
|
||||
/robots.txt
|
||||
/update.php
|
||||
/web.config
|
||||
|
||||
config/sync/flag.flag.*.yml
|
||||
config/sync/system.action.flag_action.*.yml
|
||||
|
||||
.vscode/*
|
||||
|
||||
|
||||
web/themes/custom/materiotheme/assets/dist/report.html
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[submodule "web/profiles/d8-starterkit-profile"]
|
||||
path = web/profiles/d8-starterkit-profile
|
||||
url = https://figureslibres.io/gogs/bachir/drupal-starterkit-profile
|
||||
url = https://figureslibres.io/gogs/bachir/d8-starterkit-profile
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"felixfbecker.php-debug"
|
||||
]
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Listen for Xdebug",
|
||||
"type": "php",
|
||||
"request": "launch",
|
||||
"port": 9001,
|
||||
"pathMappings": {
|
||||
"/var/www/html/d8.materio.com/public_html": "${workspaceFolder}"
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "Launch currently open script",
|
||||
"type": "php",
|
||||
"request": "launch",
|
||||
"program": "${file}",
|
||||
"cwd": "${fileDirname}",
|
||||
"port": 9001
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,103 +1,50 @@
|
|||
'use strict'
|
||||
|
||||
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
||||
const { VueLoaderPlugin } = require('vue-loader')
|
||||
const ESLintPlugin = require('eslint-webpack-plugin');
|
||||
const ExtraneousFileCleanupPlugin = require('webpack-extraneous-file-cleanup-plugin');
|
||||
const CompressionPlugin = require("compression-webpack-plugin");
|
||||
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||
const CircularDependencyPlugin = require('circular-dependency-plugin')
|
||||
|
||||
const utils = require('./utils')
|
||||
|
||||
const themePath = 'web/themes/custom/materiotheme'
|
||||
const langPath = 'web/sites/default/files/lang'
|
||||
|
||||
const isDev = process.env.NODE_ENV === 'development';
|
||||
|
||||
|
||||
|
||||
module.exports = {
|
||||
resolve: {
|
||||
extensions: ['.js', '.vue', '.json'],
|
||||
alias: {
|
||||
// 'vue': 'vue/dist/vue.js',
|
||||
'vue' : isDev ? 'vue/dist/vue.js' : 'vue/dist/vue.min.js',
|
||||
'vue': 'vue/dist/vue.js',
|
||||
'theme': utils.resolve(themePath),
|
||||
'vuejs': utils.resolve(themePath+'/vuejs'),
|
||||
'assets': utils.resolve(themePath+'/assets'),
|
||||
// locales are exported by strings_i18n_json_export from drupal
|
||||
'locales': utils.resolve(langPath)
|
||||
'vuejs': utils.resolve(themePath+'/vuejs')
|
||||
}
|
||||
},
|
||||
entry: {
|
||||
'main': utils.resolve(themePath + '/assets/scripts/main.js'),
|
||||
// 'lang-en': utils.resolve(langPath + '/en.json'),
|
||||
'print': utils.resolve(themePath + '/assets/styles/print.scss'),
|
||||
'email': utils.resolve(themePath + '/assets/styles/email.scss'),
|
||||
// 'mdi': utils.resolve(themePath + '/assets/styles/mdi/scss/materialdesignicons.scss')
|
||||
},
|
||||
output: {
|
||||
publicPath: '/themes/custom/materiotheme/assets/dist/',
|
||||
path: utils.resolve(themePath + '/assets/dist/'),
|
||||
filename: '[name].js',
|
||||
chunkFilename: '[name].[chunkhash].bundle.js'
|
||||
filename: '[name].js'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
// {
|
||||
// test: /\.(js|vue)$/,
|
||||
// loader: 'eslint-loader',
|
||||
// enforce: 'pre',
|
||||
// exclude: /node_modules/,
|
||||
// options: {
|
||||
// emitError: true,
|
||||
// emitWarning: true
|
||||
// }
|
||||
// },
|
||||
{
|
||||
test: /\.(js|vue)$/,
|
||||
loader: 'eslint-loader',
|
||||
enforce: 'pre',
|
||||
exclude: /node_modules/,
|
||||
options: {
|
||||
emitError: true,
|
||||
emitWarning: true
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.vue$/,
|
||||
use: 'vue-loader'
|
||||
},
|
||||
// {
|
||||
// resourceQuery: /blockType=i18n/,
|
||||
// type: 'javascript/auto',
|
||||
// loader: '@kazupon/vue-i18n-loader'
|
||||
// },
|
||||
// {
|
||||
// test: /\.js$/,
|
||||
// use: {
|
||||
// loader: 'babel-loader',
|
||||
// }
|
||||
// },
|
||||
{
|
||||
test: /\.(graphql|gql)$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'graphql-tag/loader'
|
||||
},
|
||||
{
|
||||
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
|
||||
test: /\.js$/,
|
||||
use: {
|
||||
loader: 'url-loader',
|
||||
options: {
|
||||
limit: 10000,
|
||||
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
|
||||
loader: 'babel-loader',
|
||||
}
|
||||
}
|
||||
}
|
||||
// {
|
||||
// test: /\.graphql?$/,
|
||||
// use: [
|
||||
// {
|
||||
// loader: 'webpack-graphql-loader',
|
||||
// options: {
|
||||
// // validate: true,
|
||||
// // schema: "./path/to/schema.json",
|
||||
// // removeUnusedFragments: true
|
||||
// // etc. See "Loader Options" below
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
// , {
|
||||
// test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
|
||||
// use: {
|
||||
|
@ -116,78 +63,24 @@ module.exports = {
|
|||
// name: utils.assetsPath('media/[name].[hash:7].[ext]')
|
||||
// }
|
||||
// }
|
||||
// }, {
|
||||
// test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
|
||||
// use: {
|
||||
// loader: 'url-loader',
|
||||
// options: {
|
||||
// limit: 10000,
|
||||
// name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// {
|
||||
// test: /\.css$/,
|
||||
// use: [MiniCssExtractPlugin.loader, 'css-loader'],
|
||||
// },
|
||||
]
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
// vsa: {
|
||||
// test: /[\\/]node_modules[\\/](vue-simple-accordion)[\\/]/,
|
||||
// name: 'vsa',
|
||||
// chunks: 'all',
|
||||
// usedExports: true
|
||||
// },
|
||||
vclb: {
|
||||
test: /[\\/]node_modules[\\/](vue-cool-lightbox)[\\/]/,
|
||||
name: 'vclb',
|
||||
chunks: 'all',
|
||||
usedExports: true
|
||||
},
|
||||
// vue_page_article: {
|
||||
// test: /[\\/]web[\\/]themes[\\/]custom[\\/]materiotheme[\\/]vuejs[\\/]components[\\/]Pages[\\/]Article.vue/,
|
||||
// name: 'vue_page_article',
|
||||
// chunks: 'all'
|
||||
// }
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new MiniCssExtractPlugin({
|
||||
path: utils.resolve(themePath + '/assets/dist/'),
|
||||
filename: '[name].css'
|
||||
}),
|
||||
new VueLoaderPlugin(),
|
||||
new ESLintPlugin({
|
||||
// fix: true
|
||||
// exclude: ['web/.eslintrc.json']
|
||||
// cache: false,
|
||||
// ignore: true,
|
||||
// useEslintrc: false,
|
||||
}),
|
||||
new ExtraneousFileCleanupPlugin({
|
||||
extensions: ['.js'],
|
||||
paths: [utils.resolve(themePath + '/assets/dist/')],
|
||||
minBytes: 4096
|
||||
}),
|
||||
new CompressionPlugin(),
|
||||
/**
|
||||
* All files inside webpack's output.path directory will be removed once, but the
|
||||
* directory itself will not be. If using webpack 4+'s default configuration,
|
||||
* everything under <PROJECT_DIR>/dist/ will be removed.
|
||||
* Use cleanOnceBeforeBuildPatterns to override this behavior.
|
||||
*
|
||||
* During rebuilds, all webpack assets that are not used anymore
|
||||
* will be removed automatically.
|
||||
*
|
||||
* See `Options and Defaults` for information
|
||||
*/
|
||||
new CleanWebpackPlugin(),
|
||||
new CircularDependencyPlugin({
|
||||
// exclude detection of files based on a RegExp
|
||||
exclude: /a\.js|node_modules/,
|
||||
// include specific files based on a RegExp
|
||||
// include: /dir/,
|
||||
// add errors to webpack instead of warnings
|
||||
failOnError: false,
|
||||
// allow import cycles that include an asyncronous import,
|
||||
// e.g. via import(/* webpackMode: "weak" */ './file.js')
|
||||
allowAsyncCycles: false,
|
||||
// set the current working directory for displaying module paths
|
||||
// cwd: process.cwd(),
|
||||
})
|
||||
new VueLoaderPlugin()
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,41 +1,36 @@
|
|||
'use strict'
|
||||
|
||||
const webpack = require('webpack')
|
||||
const { merge } = require('webpack-merge')
|
||||
const merge = require('webpack-merge')
|
||||
const baseConfig = require('./webpack.config.base')
|
||||
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
const WebpackShellPluginNext = require('webpack-shell-plugin-next');
|
||||
|
||||
module.exports = merge(baseConfig, {
|
||||
mode: 'development',
|
||||
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: [
|
||||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
publicPath: '',
|
||||
},
|
||||
},
|
||||
process.env.NODE_ENV !== 'production'
|
||||
? 'vue-style-loader'
|
||||
: MiniCssExtractPlugin.loader,
|
||||
// 'vue-style-loader',
|
||||
'css-loader'
|
||||
]
|
||||
}, {
|
||||
test: /\.scss$/,
|
||||
use: [
|
||||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
publicPath: '',
|
||||
},
|
||||
},
|
||||
process.env.NODE_ENV !== 'production'
|
||||
? 'vue-style-loader'
|
||||
: MiniCssExtractPlugin.loader,
|
||||
// 'vue-style-loader',
|
||||
'css-loader',
|
||||
'sass-loader'
|
||||
]
|
||||
}, {
|
||||
test: /\.(png|jpg|gif|svg)$/,
|
||||
test: /\.(png|jpg|gif)$/,
|
||||
use: [
|
||||
{
|
||||
loader: 'url-loader',
|
||||
|
@ -50,21 +45,5 @@ module.exports = merge(baseConfig, {
|
|||
|
||||
plugins: [
|
||||
// new webpack.HotModuleReplacementPlugin()
|
||||
new BundleAnalyzerPlugin({
|
||||
'analyzerMode': 'static'
|
||||
}),
|
||||
new WebpackShellPluginNext({
|
||||
// onBuildStart:{
|
||||
// scripts: ['echo "Webpack Start"'],
|
||||
// blocking: true,
|
||||
// parallel: false
|
||||
// },
|
||||
// drush is not installed in this container so we have to ssh on the php container
|
||||
onAfterDone:{
|
||||
scripts: ['echo "Clearing drupal cache $USER_UNAME $DRUPAL_ROOT"', 'sshpass -p "$USER_UNAME" ssh $USER_UNAME@php "cd $DRUPAL_ROOT && drush cc css-js"', 'echo "Done"'],
|
||||
blocking: true,
|
||||
parallel: false
|
||||
}
|
||||
})
|
||||
]
|
||||
})
|
||||
|
|
|
@ -1,41 +1,55 @@
|
|||
'use strict'
|
||||
|
||||
const webpack = require('webpack')
|
||||
const { merge } = require('webpack-merge')
|
||||
const merge = require('webpack-merge')
|
||||
const baseConfig = require('./webpack.config.base')
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
|
||||
const TerserPlugin = require("terser-webpack-plugin");
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
|
||||
|
||||
module.exports = merge(baseConfig, {
|
||||
mode: 'production',
|
||||
optimization: {
|
||||
minimizer: [
|
||||
new UglifyJSPlugin({
|
||||
uglifyOptions: {
|
||||
// Eliminate comments
|
||||
comments: false,
|
||||
// remove warnings
|
||||
warnings: false,
|
||||
compress: {
|
||||
// Drop console statements
|
||||
drop_console: true,
|
||||
}
|
||||
}
|
||||
})
|
||||
]
|
||||
// splitChunks: {
|
||||
// cacheGroups: {
|
||||
// commons: {
|
||||
// test: /[\\/]node_modules[\\/]/,
|
||||
// name: "vendor",
|
||||
// chunks: "all",
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.css?$/,
|
||||
use: [
|
||||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
publicPath: '',
|
||||
},
|
||||
},
|
||||
MiniCssExtractPlugin.loader,
|
||||
'css-loader'
|
||||
]
|
||||
}, {
|
||||
test: /\.scss?$/,
|
||||
use: [
|
||||
{
|
||||
loader: MiniCssExtractPlugin.loader,
|
||||
options: {
|
||||
publicPath: '',
|
||||
},
|
||||
},
|
||||
MiniCssExtractPlugin.loader,
|
||||
'css-loader',
|
||||
'sass-loader'
|
||||
]
|
||||
}, {
|
||||
test: /\.(png|jpg|gif|svg)$/,
|
||||
test: /\.(png|jpg|gif)$/,
|
||||
use: [
|
||||
{
|
||||
loader: 'url-loader',
|
||||
|
@ -47,33 +61,9 @@ module.exports = merge(baseConfig, {
|
|||
}
|
||||
]
|
||||
},
|
||||
optimization: {
|
||||
minimize: true,
|
||||
minimizer: [
|
||||
new TerserPlugin({
|
||||
parallel: true,
|
||||
test: /\.(js|vue)$/,
|
||||
// extractComments: true
|
||||
terserOptions: {
|
||||
compress: {
|
||||
// drop_console: true,
|
||||
pure_funcs: [
|
||||
'console.log',
|
||||
'console.info',
|
||||
'console.debug'
|
||||
// 'console.warn'
|
||||
]
|
||||
},
|
||||
},
|
||||
})
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'process.env.NODE_ENV': JSON.stringify('production')
|
||||
}),
|
||||
new BundleAnalyzerPlugin({
|
||||
'analyzerMode': 'static'
|
||||
}),
|
||||
// new MiniCssExtractPlugin({
|
||||
// filename: 'main.css'
|
||||
// })
|
||||
]
|
||||
})
|
||||
|
|
|
@ -1,224 +0,0 @@
|
|||
<?php
|
||||
|
||||
//
|
||||
// This example demonstrates how to write a drush
|
||||
// script. These scripts are run with the php-script command.
|
||||
//
|
||||
|
||||
// drush php-script cleanflaglist.script
|
||||
|
||||
use Drush\Drush;
|
||||
|
||||
$this->output()->writeln("Flagging collection cleaning");
|
||||
$this->output()->writeln("options : [delete-all | delete-nullname | delete-missing | delete-dups]");
|
||||
|
||||
// $this->output()->writeln("Hello world!");
|
||||
$this->output()->writeln("The extra options/arguments to this command were:");
|
||||
$this->output()->writeln(print_r($extra, true));
|
||||
|
||||
$delete_all = false;
|
||||
$delete_nullname = false;
|
||||
$delete_missing = false;
|
||||
$recreate_missing = false;
|
||||
$delete_dups = false;
|
||||
$recreate_dups = false;
|
||||
|
||||
if (count($extra)) {
|
||||
switch ($extra[0]) {
|
||||
case "delete-all":
|
||||
$delete_all = true;
|
||||
break;
|
||||
case "delete-missing":
|
||||
$delete_missing = true;
|
||||
break;
|
||||
case "recreate-missing":
|
||||
$recreate_missing = true;
|
||||
break;
|
||||
case "delete-nullname":
|
||||
$delete_nullname = true;
|
||||
break;
|
||||
case "delete-dups":
|
||||
$delete_dups = true;
|
||||
break;
|
||||
case "recreate-dups":
|
||||
$recreate_dups = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$database = \Drupal::database();
|
||||
|
||||
// _ _ _ _
|
||||
// | \ | |_ _| | | _ __ __ _ _ __ ___ ___
|
||||
// | \| | | | | | | | '_ \ / _` | '_ ` _ \ / _ \
|
||||
// | |\ | |_| | | | | | | | (_| | | | | | | __/
|
||||
// |_| \_|\__,_|_|_| |_| |_|\__,_|_| |_| |_|\___|
|
||||
|
||||
// remove flagging collection with null name
|
||||
$this->output()->writeln("");
|
||||
$this->output()->writeln("Flagging collection With NULL name cleaning");
|
||||
$fcfd_query = $database->select('flagging_collection_field_data', 'fcfd')
|
||||
->isNull('fcfd.name')
|
||||
->fields('fcfd', ['id', 'relatedflag']);
|
||||
|
||||
$fcfd_result = $fcfd_query->execute();
|
||||
$this->output()->writeln($fcfd_query->countQuery()->execute()->fetchField() . " flagging_collection with null name");
|
||||
|
||||
foreach ($fcfd_result as $fc) {
|
||||
// $this->output()->writeln($fc->id . " flagging_collection with null name");
|
||||
// $this->output()->writeln(print_r($fc, true));
|
||||
|
||||
// get flag list items
|
||||
$flifd_query = $database->select('flag_list_item_field_data', 'flifd')
|
||||
->condition('flifd.flag_list', $fc->id)
|
||||
->fields('flifd', ['id', 'baseflag', 'flag_list']);
|
||||
|
||||
$flifd_result = $flifd_query->execute();
|
||||
$this->output()->writeln($flifd_query->countQuery()->execute()->fetchField() . " items for fc " . $fc->id . ' with baseflag ' . $fc->relatedflag);
|
||||
// $this->output()->writeln(print_r($flifd_result->fetchAssoc(), true) . " items");
|
||||
|
||||
delete_flagingcollection($fc, $database, $delete_all ? true : $delete_nullname);
|
||||
}
|
||||
|
||||
// __ __ _ _ ____ _ _ _ _____ _
|
||||
// | \/ (_)___ ___(_)_ __ __ _ | _ \ ___| | __ _| |_ ___ __| | | ___| | __ _ __ _
|
||||
// | |\/| | / __/ __| | '_ \ / _` | | |_) / _ \ |/ _` | __/ _ \/ _` | | |_ | |/ _` |/ _` |
|
||||
// | | | | \__ \__ \ | | | | (_| | | _ < __/ | (_| | || __/ (_| | | _| | | (_| | (_| |
|
||||
// |_| |_|_|___/___/_|_| |_|\__, | |_| \_\___|_|\__,_|\__\___|\__,_| |_| |_|\__,_|\__, |
|
||||
// |___/ |___/
|
||||
// searching for missing related flags
|
||||
$this->output()->writeln("");
|
||||
$this->output()->writeln("Missing related flag Flagging collection cleaning");
|
||||
$fcfd_query = $database->select('flagging_collection_field_data', 'fcfd')
|
||||
->fields('fcfd', ['name', 'id', 'relatedflag']);
|
||||
|
||||
$fcfd_result = $fcfd_query->execute();
|
||||
$this->output()->writeln($fcfd_query->countQuery()->execute()->fetchField() . " flagging_collections");
|
||||
|
||||
$fc_missing_relatedflag = 0;
|
||||
foreach ($fcfd_result as $fc) {
|
||||
$flag_query = $database->select('config', 'c')
|
||||
->condition('c.name', 'flag.flag.' . $fc->relatedflag)
|
||||
->fields('c', ['name']);
|
||||
$conf_result = $flag_query->execute();
|
||||
$count = $flag_query->countQuery()->execute()->fetchField();
|
||||
if(!$count){
|
||||
$this->output()->writeln(' flagging_collection ' . $fc->name . ' ('. $fc->id . ') has ' . $count . " relatedflag");
|
||||
$fc_missing_relatedflag ++;
|
||||
delete_flagingcollection($fc, $database, $delete_all ? true : $delete_missing);
|
||||
if ($recreate_missing) {
|
||||
$FlagListsService = new FlagListsService();
|
||||
$flaggingcollection = $FlagListsService->getFlaggingCollectionById($fc->id);
|
||||
$this->output()->writeln(' flagging_collection ' . $flaggingcollection->getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->output()->writeln($fc_missing_relatedflag .' flagging_collection with missing related_flag');
|
||||
|
||||
// ____ _ _ _
|
||||
// | _ \ _ _ _ __ | (_) ___ __ _| |_ ___ ___
|
||||
// | | | | | | | '_ \| | |/ __/ _` | __/ _ \/ __|
|
||||
// | |_| | |_| | |_) | | | (_| (_| | || __/\__ \
|
||||
// |____/ \__,_| .__/|_|_|\___\__,_|\__\___||___/
|
||||
// |_|
|
||||
// searching for duplicates relatedflags
|
||||
$this->output()->writeln("");
|
||||
$this->output()->writeln("Duplicate relatedflag flagging_collection cleaning");
|
||||
$dup_query = $database->select('flagging_collection_field_data', 'fcfd')
|
||||
->fields('fcfd', ['relatedflag'])
|
||||
->groupBy('fcfd.relatedflag')
|
||||
->having('COUNT(*) > 1');
|
||||
$dup_query->addExpression('COUNT(*)', 'count');
|
||||
|
||||
// $results = $query->execute()->fetchAll();
|
||||
|
||||
$dup_result = $dup_query->execute();
|
||||
$this->output()->writeln($dup_query->countQuery()->execute()->fetchField() . " duplicate related flags");
|
||||
|
||||
foreach ($dup_result as $dup){
|
||||
// $this->output()->writeln($dup->relatedflag . " is dup");
|
||||
$fcfd_query = $database->select('flagging_collection_field_data', 'fcfd')
|
||||
->condition('fcfd.relatedflag', $dup->relatedflag)
|
||||
->fields('fcfd', ['id', 'relatedflag']);
|
||||
$fcfd_result = $fcfd_query->execute();
|
||||
$count = $fcfd_query->countQuery()->execute()->fetchField();
|
||||
|
||||
$this->output()->writeln($dup->relatedflag . ' relatedflag has ' . $count . ' flagging collection');
|
||||
|
||||
foreach ($fcfd_result as $fc) {
|
||||
delete_flagingcollection($fc, $database, $delete_all ? true : $delete_dups);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// MAIN DELETE FUNCTION
|
||||
function delete_flagingcollection($fc, $database, $delete){
|
||||
if($delete){
|
||||
// $this is not working in function
|
||||
// $this->output()->writeln("Deleting flagging collection " . $fc->id);
|
||||
// get flag list items
|
||||
$flifd_query = $database->select('flag_list_item_field_data', 'flifd')
|
||||
->condition('flifd.flag_list', $fc->id)
|
||||
->fields('flifd', ['id', 'baseflag', 'flag_list']);
|
||||
|
||||
$flifd_result = $flifd_query->execute();
|
||||
|
||||
foreach ($flifd_result as $item) {
|
||||
// delete items
|
||||
$database->delete('flag_list_item')
|
||||
->condition('id', $item->id)
|
||||
->execute();
|
||||
$database->delete('flag_list_item_field_data')
|
||||
->condition('id', $item->id)
|
||||
->execute();
|
||||
}
|
||||
|
||||
# delete the flag_collection
|
||||
$database->delete('flagging_collection')
|
||||
->condition('id', $fc->id)
|
||||
->execute();
|
||||
$database->delete('flagging_collection_revision')
|
||||
->condition('id', $fc->id)
|
||||
->execute();
|
||||
$database->delete('flagging_collection_field_revision')
|
||||
->condition('id', $fc->id)
|
||||
->execute();
|
||||
|
||||
# delete related flag
|
||||
// $flag_query = $database->select('config', 'c')
|
||||
// ->condition('c.name', 'flag.flag.' . $fc->relatedflag)
|
||||
// ->fields('c', ['name']);
|
||||
// $conf_result = $flag_query->execute();
|
||||
// $this->output()->writeln(print_r($conf_result->fetchAssoc(), true));
|
||||
|
||||
$database->delete('config')
|
||||
->condition('name', 'flag.flag.' . $fc->relatedflag)
|
||||
->execute();
|
||||
|
||||
$database->delete('config')
|
||||
->condition('name', 'system.action.flag_action.'.$fc->relatedflag.'_flag')
|
||||
->execute();
|
||||
|
||||
$database->delete('config')
|
||||
->condition('name', 'system.action.flag_action.'.$fc->relatedflag.'_unflag')
|
||||
->execute();
|
||||
|
||||
|
||||
$database->delete('flagging_collection_field_data')
|
||||
->condition('id', $fc->id)
|
||||
->execute();
|
||||
|
||||
} else {
|
||||
// $this is not working in function
|
||||
// $this->output()->writeln("In order to actually delete fault flagging collection data please use delete option");
|
||||
}
|
||||
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
digraph commerce {
|
||||
materio_checkout_flow
|
||||
materio_order_type
|
||||
materio_order_item_type
|
||||
materio_product_licence_variatio[label=<materio_product_licence_variatio<br/><b>no subscription</b>>]
|
||||
materio_product_variation_type[label=<materio_product_variation_type<br/><b>recurring</b>>]
|
||||
|
||||
materio_product_type
|
||||
materio_product_license_type
|
||||
|
||||
materio_order_type -> materio_checkout_flow
|
||||
materio_order_item_type -> materio_order_type
|
||||
materio_product_licence_variatio -> materio_order_item_type
|
||||
materio_product_variation_type -> materio_order_item_type
|
||||
materio_product_type -> materio_product_variation_type
|
||||
materio_product_license_type -> materio_product_licence_variatio
|
||||
materio_product_license_type -> materio_product_variation_type
|
||||
}
|
276
composer.json
276
composer.json
|
@ -13,180 +13,68 @@
|
|||
{
|
||||
"type": "composer",
|
||||
"url": "https://packages.drupal.org/8"
|
||||
},
|
||||
{
|
||||
"type": "package",
|
||||
"package": {
|
||||
"name": "ckeditor-plugin/panelbutton",
|
||||
"version": "4.16.2",
|
||||
"type": "drupal-library",
|
||||
"dist": {
|
||||
"url": "https://download.ckeditor.com/panelbutton/releases/panelbutton_4.16.2.zip",
|
||||
"type": "zip"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "package",
|
||||
"package": {
|
||||
"name": "ckeditor-plugin/colorbutton",
|
||||
"version": "4.16.2",
|
||||
"type": "drupal-library",
|
||||
"dist": {
|
||||
"url": "https://download.ckeditor.com/colorbutton/releases/colorbutton_4.16.2.zip",
|
||||
"type": "zip"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "package",
|
||||
"package": {
|
||||
"name": "w8tcha/ckeditor_codemirror",
|
||||
"version": "v1.17.8",
|
||||
"type": "drupal-library",
|
||||
"extra": {
|
||||
"installer-name": "ckeditor_codemirror"
|
||||
},
|
||||
"dist": {
|
||||
"url": "https://github.com/w8tcha/CKEditor-CodeMirror-Plugin/releases/download/untagged-f790a6bee2e01b538b13/CKEditor-CodeMirror-Plugin.zip",
|
||||
"type": "zip"
|
||||
},
|
||||
"require": {
|
||||
"composer/installers": "~1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.3",
|
||||
"ckeditor-plugin/colorbutton": "^4.16.2",
|
||||
"ckeditor-plugin/panelbutton": "^4.16.2",
|
||||
"composer/installers": "^1.2",
|
||||
"drupal/admin_theme": "^1.0",
|
||||
"drupal/advagg": "^6.0@alpha",
|
||||
"drupal/advanced_text_formatter": "^3.0@RC",
|
||||
"drupal/advancedqueue": "^1.1",
|
||||
"drupal/allowed_formats": "^3.0",
|
||||
"drupal/amswap": "^3.0",
|
||||
"drupal/audiofield": "^1.10",
|
||||
"drupal/auto_entitylabel": "^3.1",
|
||||
"drupal/better_messages": "^2.0@alpha",
|
||||
"drupal/classy": "^1.0",
|
||||
"drupal/color": "^1.0",
|
||||
"drupal/colorbutton": "^1.3",
|
||||
"drupal/commerce": "^2.0",
|
||||
"drupal/commerce_cart_api": "^1.4",
|
||||
"drupal/commerce_email": "^1.5",
|
||||
"drupal/commerce_license": "^3.0",
|
||||
"drupal/commerce_pricelist": "^2.4",
|
||||
"drupal/commerce_recurring": "^1.0@RC",
|
||||
"drupal/commerce_stripe": "^1.1",
|
||||
"drupal/commerce_variation_cart_form": "^1.4",
|
||||
"drupal/composer_deploy": "^1.7",
|
||||
"drupal/computed_field": "^3.0@alpha",
|
||||
"drupal/config_devel": "^1.7",
|
||||
"drupal/config_pages": "^2.9",
|
||||
"drupal/config_split": "^2.0@beta",
|
||||
"drupal/consumer_image_styles": "^4.0",
|
||||
"drupal/core-composer-scaffold": "^10.3",
|
||||
"drupal/core-project-message": "^10.3",
|
||||
"drupal/core-recommended": "^10.3",
|
||||
"drupal/csv_serialization": "^4.0",
|
||||
"drupal/ctools": "^4.0",
|
||||
"drupal/devel": "^5.0",
|
||||
"drupal/devel_entity_updates": "^4.1",
|
||||
"drupal/editor_advanced_link": "^2",
|
||||
"cweagans/composer-patches": "^1.6.5",
|
||||
"drupal-composer/drupal-scaffold": "^2.5",
|
||||
"drupal/amswap": "^2.0",
|
||||
"drupal/auto_entitylabel": "2.x-dev",
|
||||
"drupal/commerce": "^2.12",
|
||||
"drupal/commerce_license": "^2.0@alpha",
|
||||
"drupal/commerce_migrate": "^2.0",
|
||||
"drupal/commerce_monetico": "^1.0",
|
||||
"drupal/commerce_pricelist": "2.x-dev",
|
||||
"drupal/commerce_recurring": "1.x-dev",
|
||||
"drupal/commerce_variation_cart_form": "1.x-dev",
|
||||
"drupal/computed_field": "^2.0@beta",
|
||||
"drupal/config_split": "^1.4",
|
||||
"drupal/console": "^1.0.2",
|
||||
"drupal/consumer_image_styles": "3.x-dev",
|
||||
"drupal/core": "^8.7.1",
|
||||
"drupal/entity_clone": "^1.0",
|
||||
"drupal/error_log": "^1.0",
|
||||
"drupal/eu_cookie_compliance": "^1.14",
|
||||
"drupal/field_group": "^3.6",
|
||||
"drupal/field_permissions": "^1.0",
|
||||
"drupal/flag": "^4.0@beta",
|
||||
"drupal/flag_lists": "^4.0@RC",
|
||||
"drupal/flood_control": "^2.3",
|
||||
"drupal/gdpr": "^3.1",
|
||||
"drupal/genpass": "^2.0",
|
||||
"drupal/google_analytics": "^4.0",
|
||||
"drupal/graphql": "^4.7",
|
||||
"drupal/image_delta_formatter": "^1.2",
|
||||
"drupal/image_effects": "^3.6",
|
||||
"drupal/jquery_ui_button": "^2.1",
|
||||
"drupal/jsonapi_extras": "^3.21",
|
||||
"drupal/login_history": "^2.0",
|
||||
"drupal/login_tracker": "^2.0",
|
||||
"drupal/mailjet": "^4.0",
|
||||
"drupal/maillog": "^1.1",
|
||||
"drupal/masquerade": "^2.0",
|
||||
"drupal/maxlength": "^2.1",
|
||||
"drupal/modules_weight": "^3.0",
|
||||
"drupal/password_policy": "^4.0",
|
||||
"drupal/payment": "^2.1",
|
||||
"drupal/pdf_api": "^2.4",
|
||||
"drupal/permissions_filter": "^1.1",
|
||||
"drupal/printable": "^3.1",
|
||||
"drupal/pwa": "^2.1@beta",
|
||||
"drupal/redis": "^1.5",
|
||||
"drupal/genpass": "1.x-dev",
|
||||
"drupal/image_delta_formatter": "1.x-dev",
|
||||
"drupal/jsonapi_extras": "^3.7",
|
||||
"drupal/jsonrpc": "1.x-dev",
|
||||
"drupal/login_history": "1.x-dev",
|
||||
"drupal/mailgun": "1.x-dev",
|
||||
"drupal/mailsystem": "^4.1",
|
||||
"drupal/migrate_plus": "4.x-dev",
|
||||
"drupal/migrate_tools": "4.x-dev",
|
||||
"drupal/mimemail": "1.x-dev",
|
||||
"drupal/modules_weight": "^1.8",
|
||||
"drupal/restui": "^1.16",
|
||||
"drupal/role_delegation": "^1.1",
|
||||
"drupal/role_expire": "^3.0",
|
||||
"drupal/rules": "^4.0",
|
||||
"drupal/search_api": "^1.19",
|
||||
"drupal/search_api_autocomplete": "^1.2",
|
||||
"drupal/search_api_page": "^1.x-dev",
|
||||
"drupal/search_api_solr": "^4.2",
|
||||
"drupal/select_translation": "^2.0@alpha",
|
||||
"drupal/session_limit": "^2.0@beta",
|
||||
"drupal/simplenews": "^4.0",
|
||||
"drupal/simplenews_mailjet_subscriptions": "^1.3",
|
||||
"drupal/social_media_links": "^2.8",
|
||||
"drupal/string_translation_ui": "^2.0",
|
||||
"drupal/structure_sync": "^2.0",
|
||||
"drupal/symfony_mailer": "^1",
|
||||
"drupal/synonyms": "^2.0.0-beta2",
|
||||
"drupal/search_api_page": "1.x-dev",
|
||||
"drupal/search_api_solr": "^3.0",
|
||||
"drupal/select_translation": "1.x-dev",
|
||||
"drupal/simplenews": "1.x-dev",
|
||||
"drupal/subrequests": "^2.0",
|
||||
"drupal/telephone_formatter": "^1.0@beta",
|
||||
"drupal/telephone_validation": "^2.1",
|
||||
"drupal/term_reference_tree": "^2.0",
|
||||
"drupal/unique_content_field_validation": "^1.1",
|
||||
"drupal/upgrade_status": "^4.3",
|
||||
"drupal/user_csv_import": "^2.0",
|
||||
"drupal/user_email_verification": "^1.2",
|
||||
"drupal/user_history": "^1.0",
|
||||
"drupal/vde_drush": "^2.1",
|
||||
"drupal/views_conditional": "^1.10",
|
||||
"drupal/views_data_export": "^1.1",
|
||||
"drupal/views_field_view": "^1.0@beta",
|
||||
"drupal/webform": "^6.2",
|
||||
"drupal/workflow": "^1.7",
|
||||
"kint-php/kint": "^3.3",
|
||||
"smalot/pdfparser": "*",
|
||||
"symfony/mailjet-mailer": "^5.4",
|
||||
"vlucas/phpdotenv": "^4.0",
|
||||
"w8tcha/ckeditor_codemirror": "v1.17.8",
|
||||
"wa72/htmlpagedom": "1.3.*",
|
||||
"drupal/ultimate_cron": "2.x-dev",
|
||||
"drupal/views_conditional": "1.x-dev",
|
||||
"drush/drush": "^9.0.0",
|
||||
"vlucas/phpdotenv": "^2.4",
|
||||
"webflo/drupal-finder": "^1.0.0",
|
||||
"webmozart/path-util": "^2.3",
|
||||
"wikimedia/composer-merge-plugin": "^2.0",
|
||||
"wikimedia/composer-merge-plugin": "^1.4",
|
||||
"zaporylie/composer-drupal-optimizations": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"webflo/drupal-core-require-dev": "^8.6.0"
|
||||
},
|
||||
"conflict": {
|
||||
"drupal/drupal": "*"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"config": {
|
||||
"sort-packages": true,
|
||||
"platform": {
|
||||
"php": "8.1"
|
||||
},
|
||||
"discard-changes": true,
|
||||
"allow-plugins": {
|
||||
"composer/installers": true,
|
||||
"cweagans/composer-patches": true,
|
||||
"drupal/console-extend-plugin": true,
|
||||
"drupal/core-composer-scaffold": true,
|
||||
"wikimedia/composer-merge-plugin": true,
|
||||
"zaporylie/composer-drupal-optimizations": true,
|
||||
"drupal/core-project-message": true
|
||||
}
|
||||
"sort-packages": true
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
|
@ -211,13 +99,11 @@
|
|||
"extra": {
|
||||
"composer-exit-on-patch-failure": true,
|
||||
"patchLevel": {
|
||||
"drupal/core": "-p2",
|
||||
"drupal/commerce_stripe": "-p1"
|
||||
"drupal/core": "-p2"
|
||||
},
|
||||
"merge-plugin": {
|
||||
"include": [
|
||||
"web/profiles/d8-starterkit-profile/composer.json",
|
||||
"web/modules/contrib/webform/composer.libraries.json"
|
||||
"web/profiles/d8-starterkit-profile/composer.json"
|
||||
],
|
||||
"recurse": true,
|
||||
"replace": false,
|
||||
|
@ -233,80 +119,16 @@
|
|||
},
|
||||
"patches": {
|
||||
"drupal/core": {
|
||||
"migrate_drupal getsetting on null" : "https://www.drupal.org/files/issues/2019-02-13/migrate_drupal-getsetting_on_null.patch",
|
||||
"ConfigImporter->checkOp() https://www.drupal.org/project/drupal/issues/3198715": "https://www.drupal.org/files/issues/2021-02-16/error-running-config-import-delete-on-null-3198715-3.patch",
|
||||
"Entity view/form mode formatter/widget settings have no translation UI 1 https://www.drupal.org/project/drupal/issues/2546212": "https://www.drupal.org/files/issues/2020-12-04/2546212-168-actions.patch",
|
||||
"Entity view/form mode formatter/widget settings have no translation UI 2 https://www.drupal.org/project/drupal/issues/2546212": "https://www.drupal.org/files/issues/2020-12-04/2546212-168.patch"
|
||||
"migrate_drupal getsetting on null" : "https://www.drupal.org/files/issues/2019-02-13/migrate_drupal-getsetting_on_null.patch"
|
||||
},
|
||||
"drupal/migrate_tools": {
|
||||
"The --limit option does not accept a value.": "https://www.drupal.org/files/issues/2019-02-05/migrate-tools_fix-drush-options_3024399-23.patch"
|
||||
},
|
||||
"drupal/email_registration": {
|
||||
"allow email login through REST https://www.drupal.org/project/email_registration/issues/2856542": "https://www.drupal.org/files/issues/2021-06-11/2856542-13.patch"
|
||||
},
|
||||
"drupal/stripe": {
|
||||
"Stripe is a web service and should be in system.admin_config_services https://www.drupal.org/project/stripe/issues/3090652": "https://www.drupal.org/files/issues/2020-01-08/stripe-link_menu_in_services-3090652-5.patch"
|
||||
},
|
||||
"drupal/address": {
|
||||
"Integrate Address with Search API https://www.drupal.org/project/address/issues/2812659": "https://www.drupal.org/files/issues/2020-11-02/integrate-address-searchapi-2812659-56.patch"
|
||||
},
|
||||
"drupal/flag": {
|
||||
"remove flag hooks to allow site to be accessible again https://www.drupal.org/project/flag/issues/3200806": "./patches/flag-commenthooks.patch"
|
||||
},
|
||||
"drupal/mailjet": {
|
||||
"DrupalmailjetControllerMailjetRegisterController::redirectRegister() does not exist https://www.drupal.org/project/mailjet/issues/3450474": "https://www.drupal.org/files/issues/2024-05-29/mailjet-15615025-5.patch",
|
||||
"Error: Class MailjetTools/MailjetApi not found in Drupal/mailjet/Form/MailjetApiForm->submitForm() https://www.drupal.org/project/mailjet/issues/3464788":"https://www.drupal.org/files/issues/2024-08-20/mailjetApiForm_use_mailjettools_mailjetapi.patch",
|
||||
"Error: Class MailjetTools/UsStates not found https://www.drupal.org/project/mailjet/issues/3469059":"https://www.drupal.org/files/issues/2024-08-20/mailjet_settingsform_usstates.patch"
|
||||
},
|
||||
"drupal/pwa": {
|
||||
"Manifest doesn't have a maskable icon https://www.drupal.org/project/pwa/issues/3165433": "https://www.drupal.org/files/issues/2024-03-10/manifest-doesnt-have-a-maskable-icon-error-3165433-20.patch",
|
||||
"Undefined array key name https://www.drupal.org/project/pwa/issues/3422906": "https://www.drupal.org/files/issues/2024-02-21/pwa-3422906-3.patch"
|
||||
},
|
||||
"drupal/toolbar_theme": {
|
||||
"Automated Drupal 9 compatibility fixes https://www.drupal.org/project/toolbar_themes/issues/3149099": "https://www.drupal.org/files/issues/2020-06-06/toolbar_themes.1.x-dev.rector.patch"
|
||||
},
|
||||
"weitzman/drupal-test-traits": {
|
||||
"Define void return type for setUp() and tearDown() methods https://gitlab.com/weitzman/drupal-test-traits/-/issues/78":"./patches/Definevoidreturntype2.patch"
|
||||
},
|
||||
"drupal/simplenews_mailjet_subscriptions": {
|
||||
"using mailjet module":"./patches/simplenews_mailjet_subscriptions__usingmailjetmodule#3.patch"
|
||||
},
|
||||
"drupal/graphql": {
|
||||
"invalid translation language https://github.com/drupal-graphql/graphql/pull/1176": "./patches/graphql-fix-invalid-translation-language-dev.patch"
|
||||
},
|
||||
"drupal/user_history": {
|
||||
"init batch : field_storage_values misses type https://www.drupal.org/project/user_history/issues/3311360": "https://www.drupal.org/files/issues/2022-09-23/user_history__field_storage_values__miss__type.patch"
|
||||
},
|
||||
"drupal/views_ef_fieldset": {
|
||||
"Exposed operators are not included in fieldsets https://www.drupal.org/project/views_ef_fieldset/issues/3173822": "https://git.drupalcode.org/project/views_ef_fieldset/-/merge_requests/1/diffs.patch"
|
||||
}
|
||||
},
|
||||
"archived-patches": {
|
||||
"drupal/core":{
|
||||
"Cannot save translated nodes after upgrading to 8.8 due to invalid path https://www.drupal.org/project/drupal/issues/3101344":"https://www.drupal.org/files/issues/2021-03-01/3101344-drupal-core-fix-permissions-checking-while-node-translating-64.patch"
|
||||
},
|
||||
"drupal/structure_sync": {
|
||||
"With no blocks, clicking on the Custom Blocks tab crashes site https://www.drupal.org/project/structure_sync/issues/3070414":"https://www.drupal.org/files/issues/2022-03-23/PluginNotFoundException-3070414-3.patch"
|
||||
},
|
||||
"drupal/commerce_license": {
|
||||
"ability to re-purchase a license to extend it https://www.drupal.org/project/commerce_license/issues/2943888": "https://www.drupal.org/files/issues/2022-02-21/reroll-commerce_license-allow-renewal-2943888-141.patch",
|
||||
"ability to re-purchase a license to extend it https://www.drupal.org/project/commerce_license/issues/2943888": "https://www.drupal.org/files/issues/2022-02-21/reroll-commerce_license-allow-renewal-2943888-141.patch"
|
||||
},
|
||||
"drupal/commerce_stripe" : {
|
||||
"Allow off_session payment intents for recurring payments https://www.drupal.org/project/commerce_stripe/issues/3171408": "https://www.drupal.org/files/issues/2021-10-04/commerce_stripe-allow-off_session-payment-intents-for-recurring-payments-3171408-34.patch"
|
||||
},
|
||||
"drupal/field_group": {
|
||||
"undefined index name 18 https://www.drupal.org/project/field_group/issues/3064890" : "https://www.drupal.org/files/issues/2020-10-01/field_group-undefined-index-name-3064890-18.patch",
|
||||
"undefined index name 16 https://www.drupal.org/project/field_group/issues/3064890" : "https://www.drupal.org/files/issues/2020-08-10/field_group-undefined-index-name-3064890-16.patch"
|
||||
},
|
||||
"drupal/mailjet": {
|
||||
"https://www.drupal.org/project/mailjet/issues/3325412":"https://www.drupal.org/files/issues/2022-12-05/mailjet-list_instead_of_listid.patch"
|
||||
},
|
||||
"drupal/term_reference_tree": {
|
||||
"Term Reference Tree: Re-implement Track List https://www.drupal.org/project/term_reference_tree/issues/3064280": "https://www.drupal.org/files/issues/2022-02-07/3064280_bring_back_tracklist-16.patch"
|
||||
"allow email login through REST https://www.drupal.org/project/email_registration/issues/2856542": "https://www.drupal.org/files/issues/allow_authentication-2856542-3.patch"
|
||||
}
|
||||
},
|
||||
"drupal-scaffold": {
|
||||
"locations": {
|
||||
"web-root": "./web"
|
||||
},
|
||||
"initial": {
|
||||
".editorconfig": "../.editorconfig",
|
||||
".gitattributes": "../.gitattributes"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +0,0 @@
|
|||
_core:
|
||||
default_config_hash: FDmXqAGlITLYpZe80ONLw6Y1KEMSvqcMJX1pj2dk6nw
|
||||
prefixes:
|
||||
- drupal
|
|
@ -1,4 +1,5 @@
|
|||
_core:
|
||||
default_config_hash: AF4cxceuiw6dhwOrF9ZgpyKC4xsWt4Yhvohb3WNgn8o
|
||||
auto_import: { }
|
||||
auto_export: { }
|
||||
langcode: fr
|
||||
_core:
|
||||
default_config_hash: AF4cxceuiw6dhwOrF9ZgpyKC4xsWt4Yhvohb3WNgn8o
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
page_alter: false
|
||||
raw_names: false
|
||||
error_handlers:
|
||||
- 0
|
||||
rebuild_theme: true
|
||||
devel_dumper: default
|
|
@ -1,119 +0,0 @@
|
|||
cloneable_entities:
|
||||
- advancedqueue_queue
|
||||
- block
|
||||
- block_content
|
||||
- block_content_type
|
||||
- commerce_checkout_flow
|
||||
- commerce_email
|
||||
- commerce_license
|
||||
- commerce_log
|
||||
- commerce_number_pattern
|
||||
- commerce_order
|
||||
- commerce_order_type
|
||||
- commerce_order_item
|
||||
- commerce_order_item_type
|
||||
- commerce_payment_gateway
|
||||
- commerce_payment
|
||||
- commerce_payment_method
|
||||
- commerce_currency
|
||||
- commerce_pricelist_item
|
||||
- commerce_pricelist
|
||||
- commerce_product_variation
|
||||
- commerce_product_attribute
|
||||
- commerce_product_variation_type
|
||||
- commerce_product
|
||||
- commerce_product_type
|
||||
- commerce_product_attribute_value
|
||||
- commerce_promotion
|
||||
- commerce_promotion_coupon
|
||||
- commerce_billing_schedule
|
||||
- commerce_subscription
|
||||
- commerce_store
|
||||
- commerce_store_type
|
||||
- commerce_tax_type
|
||||
- config_pages
|
||||
- config_pages_type
|
||||
- config_split
|
||||
- consumer
|
||||
- contact_form
|
||||
- contact_message
|
||||
- context
|
||||
- currency_locale
|
||||
- currency
|
||||
- editor
|
||||
- embed_button
|
||||
- entity_browser
|
||||
- field_storage_config
|
||||
- field_config
|
||||
- file
|
||||
- filter_format
|
||||
- flagging
|
||||
- flag
|
||||
- flagging_collection_type
|
||||
- flag_for_list
|
||||
- flag_list_item
|
||||
- flagging_collection
|
||||
- gdpr_consent_agreement
|
||||
- gdpr_fields_config
|
||||
- gdpr_task_type
|
||||
- gdpr_task
|
||||
- graphql_server
|
||||
- image_style
|
||||
- jsonapi_resource_config
|
||||
- language_content_settings
|
||||
- configurable_language
|
||||
- linkit_profile
|
||||
- mailjet_event
|
||||
- message
|
||||
- message_template
|
||||
- node
|
||||
- node_type
|
||||
- pagerer_preset
|
||||
- path_alias
|
||||
- profile_type
|
||||
- profile
|
||||
- redirect
|
||||
- responsive_image_style
|
||||
- rest_resource_config
|
||||
- rules_reaction_rule
|
||||
- rules_component
|
||||
- search_api_task
|
||||
- search_api_index
|
||||
- search_api_server
|
||||
- solr_field_type
|
||||
- solr_request_dispatcher
|
||||
- solr_cache
|
||||
- solr_request_handler
|
||||
- simplenews_newsletter
|
||||
- simplenews_subscriber
|
||||
- simplenews_mailjet_subscription
|
||||
- mailer_transport
|
||||
- mailer_policy
|
||||
- synonym
|
||||
- action
|
||||
- menu
|
||||
- taxonomy_term
|
||||
- taxonomy_vocabulary
|
||||
- ultimate_cron_job
|
||||
- user_role
|
||||
- user
|
||||
- user_history
|
||||
- webform_submission
|
||||
- webform
|
||||
- webform_options
|
||||
- workflow_state
|
||||
- workflow_config_transition
|
||||
- workflow_transition
|
||||
- workflow_type
|
||||
- workflow_scheduled_transition
|
||||
- menu_link_content
|
||||
- pathauto_pattern
|
||||
- view
|
||||
- cookie_category
|
||||
- base_field_override
|
||||
- entity_view_mode
|
||||
- entity_form_mode
|
||||
- entity_view_display
|
||||
- entity_form_display
|
||||
- date_format
|
||||
- simplenews_subscriber_history
|
|
@ -1,113 +0,0 @@
|
|||
form_settings:
|
||||
taxonomy_term:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
contact_message:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
file:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
node:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
user:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
menu_link_content:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_license:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_log:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_order:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_order_item:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_payment:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_payment_method:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_pricelist_item:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_pricelist:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_product_variation:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_product:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_product_attribute_value:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_promotion:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_promotion_coupon:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_subscription:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
commerce_store:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
consumer:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
profile:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
redirect:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
search_api_task:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
simplenews_subscriber:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
workflow_transition:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
||||
workflow_scheduled_transition:
|
||||
default_value: false
|
||||
disable: false
|
||||
hidden: false
|
|
@ -1,28 +0,0 @@
|
|||
uuid: 1773680e-8fb9-4a51-9e82-f412d4502bc9
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- update
|
||||
_core:
|
||||
default_config_hash: JOcNPf-ezI7vLCxZg4K9wpGqKYj6vMHlfsmhx_WGbTM
|
||||
id: update.status_notify
|
||||
configuration:
|
||||
email_body:
|
||||
content:
|
||||
value: |-
|
||||
<p>You need to take action to secure your server {{ site_name }}.</p>
|
||||
<ul>
|
||||
{% for message in messages %}
|
||||
<li>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p>See the <a href="{{ update_status }}">available updates</a> page for more information.
|
||||
{% if update_manager %}
|
||||
You can automatically install your updates using the <a href="{{ update_manager }}">Update manager</a>.
|
||||
{% endif %}
|
||||
You can <a href="{{ update_settings }}">change your settings</a> for what update notifications you receive.</p>
|
||||
format: email_html
|
||||
email_subject:
|
||||
value: 'New release(s) available for {{ site_name }}'
|
|
@ -1,4 +1,4 @@
|
|||
uuid: d9ee7697-3e37-489c-a8a1-e9901529a328
|
||||
uuid: a050024d-e271-4be0-9142-6dda5ddaa561
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
|
@ -1,3 +0,0 @@
|
|||
_core:
|
||||
default_config_hash: BqkUHiXXGvu2L7NR_nblxtP6f03MdD16XSMWwVM0QEc
|
||||
paths_per_scan: 30
|
|
@ -1,40 +1,31 @@
|
|||
_core:
|
||||
default_config_hash: goermvpa21m8H97TedFfQQmZmQz62WjX_SCiT4JhsXg
|
||||
account: UA-6530683-1
|
||||
site_id: ''
|
||||
url_http: ''
|
||||
url_https: ''
|
||||
domain_mode: 0
|
||||
cross_domains: ''
|
||||
visibility:
|
||||
request_path_mode: 0
|
||||
request_path_pages: "/admin\r\n/admin/*\r\n/batch\r\n/node/add*\r\n/node/*/*\r\n/user/*/*"
|
||||
user_role_mode: 1
|
||||
user_role_roles:
|
||||
admin: admin
|
||||
root: root
|
||||
request_path_pages: "/admin\n/admin/*\n/batch\n/node/add*\n/node/*/*\n/user/*/*"
|
||||
user_role_mode: 0
|
||||
user_role_roles: { }
|
||||
user_account_mode: 1
|
||||
track:
|
||||
outbound: true
|
||||
mailto: true
|
||||
tel: true
|
||||
files: true
|
||||
files_extensions: '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip'
|
||||
colorbox: true
|
||||
linkid: false
|
||||
urlfragments: false
|
||||
userid: false
|
||||
messages:
|
||||
status: status
|
||||
warning: warning
|
||||
error: error
|
||||
messages: { }
|
||||
site_search: false
|
||||
adsense: false
|
||||
displayfeatures: false
|
||||
privacy:
|
||||
anonymizeip: true
|
||||
custom: { }
|
||||
donottrack: true
|
||||
custom:
|
||||
variable: { }
|
||||
codesnippet:
|
||||
create: { }
|
||||
before: ''
|
||||
after: ''
|
||||
translation_set: false
|
||||
cache: false
|
||||
debug: false
|
||||
page_title_hierarchy: false
|
||||
page_title_hierarchy_exclude_home: true
|
||||
_core:
|
||||
default_config_hash: YGueb7ImKHSG1RRmIB1iqPHVGXTmI2yvCcB-RX7FPeY
|
|
@ -1,14 +1,14 @@
|
|||
uuid: 17ec0f7b-9a3b-4907-a034-564431be92ae
|
||||
uuid: 893534dd-cd4d-458b-8aec-629ce95fddf1
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- advagg
|
||||
- matomo
|
||||
title: 'Default cron handler'
|
||||
id: advagg_cron
|
||||
id: matomo_cron
|
||||
weight: 0
|
||||
module: advagg
|
||||
callback: advagg_cron
|
||||
module: matomo
|
||||
callback: matomo_cron
|
||||
scheduler:
|
||||
id: simple
|
||||
launcher:
|
|
@ -1,24 +0,0 @@
|
|||
# Deny all requests from Apache 2.4+.
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
# Deny all requests from Apache 2.0-2.2.
|
||||
<IfModule !mod_authz_core.c>
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
# Turn off all options we don't need.
|
||||
Options -Indexes -ExecCGI -Includes -MultiViews
|
||||
|
||||
# Set the catch-all handler to prevent scripts from being executed.
|
||||
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
|
||||
<Files *>
|
||||
# Override the handler again if we're run later in the evaluation list.
|
||||
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
|
||||
</Files>
|
||||
|
||||
# If we know how to do it safely, disable the PHP engine entirely.
|
||||
<IfModule mod_php7.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
|
@ -1,10 +0,0 @@
|
|||
page_alter: false
|
||||
raw_names: false
|
||||
error_handlers:
|
||||
1: 1
|
||||
rebuild_theme: false
|
||||
debug_mail_file_format: '%to-%subject-%datetime.mail.txt'
|
||||
debug_mail_directory: 'temporary://devel-mails'
|
||||
devel_dumper: kint
|
||||
debug_logfile: 'temporary://drupal_debug.txt'
|
||||
debug_pre: false
|
|
@ -1,5 +0,0 @@
|
|||
description: 'L''inspiration par la matière'
|
||||
urls_to_cache: "/fr/pricing\r\n/fr/blabla\r\n/fr/base\r\n/fr/showrooms"
|
||||
start_url: /
|
||||
lang: fr
|
||||
cache_version: '1'
|
|
@ -1,20 +0,0 @@
|
|||
site_name: materiO
|
||||
short_name: materiO
|
||||
description: 'The material library your projects deserve'
|
||||
start_url: /
|
||||
lang: fr
|
||||
theme_color: '#ffffff'
|
||||
background_color: '#ffffff'
|
||||
display: standalone
|
||||
default_image: '0'
|
||||
urls_to_cache: "/en/pricing\r\n/en/blabla\r\n/en/base\r\n/en/showrooms"
|
||||
urls_to_exclude: "admin/.*\r\nuser/.*"
|
||||
offline_page: /offline
|
||||
cache_version: '2'
|
||||
cross_origin: false
|
||||
skip_waiting: false
|
||||
_core:
|
||||
default_config_hash: cP1TZQyv1WdET3iepl2QoyOPK7VeO0xHm0lU_FU1Wmc
|
||||
image: /sites/default/files/pwa/materiopwaicon.png
|
||||
image_small: /sites/default/files/pwa/materiopwaicon.pngcopy.png
|
||||
image_very_small: /sites/default/files/pwa/materiopwaicon.pngcopy2.png
|
|
@ -1,23 +0,0 @@
|
|||
touch_icons:
|
||||
touch-icon-default: touch-icon-default
|
||||
meta_tags:
|
||||
meta-capable: meta-capable
|
||||
meta-status-bar-style: meta-status-bar-style
|
||||
color_select: black_translucent
|
||||
home_screen_icons:
|
||||
iphone5-splash: iphone5-splash
|
||||
iphone6-splash: iphone6-splash
|
||||
iphoneplus-splash: iphoneplus-splash
|
||||
iphonex-splash: iphonex-splash
|
||||
iphonexr-splash: iphonexr-splash
|
||||
iphonexsmax-splash: iphonexsmax-splash
|
||||
ipad-splash: ipad-splash
|
||||
ipadpro1-splash: ipadpro1-splash
|
||||
ipadpro2-splash: ipadpro2-splash
|
||||
ipadpro3-splash: ipadpro3-splash
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- pwa_extras
|
||||
_core:
|
||||
default_config_hash: TOeFdF8Tjq2HqBmUgrTH06d7ZpY5qNLHZTLPIaCVsEk
|
|
@ -1,4 +0,0 @@
|
|||
_core:
|
||||
default_config_hash: djrGnpQFw2Jm0GjIQ-o28-09ZKtCusE5k0VNddWmOKE
|
||||
paths: "/dummy-path-needed-until-core-issue-2930364-is-fixed\r\n/user/*/*\r\n/profile/*/*"
|
||||
exclude_paths: /dummy-path-needed-until-core-issue-2930364-is-fixed
|
|
@ -1 +0,0 @@
|
|||
menu_depth: 4
|
|
@ -1,26 +0,0 @@
|
|||
_core:
|
||||
default_config_hash: Vi3b7DLLNw5X1UX9XG8mnU-ysvyNgdyvAasxV9yck3I
|
||||
css:
|
||||
brotli: true
|
||||
combine_media: false
|
||||
fix_type: true
|
||||
preserve_external: false
|
||||
dns_prefetch: false
|
||||
path:
|
||||
convert:
|
||||
absolute_to_protocol_relative: true
|
||||
absolute: false
|
||||
force_https: false
|
||||
cache_level: 2
|
||||
cron_frequency: 86400
|
||||
enabled: true
|
||||
global_counter: 0
|
||||
immutable: true
|
||||
js:
|
||||
brotli: true
|
||||
fix_type: true
|
||||
preserve_external: false
|
||||
skip_enabled_preprocess_check: false
|
||||
show_bypass_cookie_message: true
|
||||
symlinks: false
|
||||
symlinksifownermatch: false
|
|
@ -1,12 +0,0 @@
|
|||
uuid: 41562777-d361-457b-ae22-8370d9d405b4
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: commerce_email
|
||||
label: 'Commerce Email'
|
||||
backend: database
|
||||
backend_configuration:
|
||||
lease_time: 300
|
||||
processor: cron
|
||||
processing_time: 180
|
||||
locked: false
|
|
@ -1,12 +1,9 @@
|
|||
_core:
|
||||
default_config_hash: d7tn_kI_5tCvOXLD4Qa-_znks4jgfgCwsKda6GKH-vk
|
||||
role_menu_pairs:
|
||||
-
|
||||
role: admin
|
||||
menu: editors
|
||||
-
|
||||
role: admin_showroom
|
||||
menu: editors
|
||||
dependencies:
|
||||
module:
|
||||
- amswap
|
||||
_core:
|
||||
default_config_hash: d7tn_kI_5tCvOXLD4Qa-_znks4jgfgCwsKda6GKH-vk
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
status: 1
|
||||
pattern: "<?php\r\nreturn t('Home');\r\n\r\n?>"
|
||||
php: true
|
||||
escape: false
|
||||
dependencies:
|
||||
config:
|
||||
- node.type.frontpage
|
||||
new_content_behavior: 1
|
||||
php: true
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
enabled: false
|
||||
timeout: null
|
||||
url: ''
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
_core:
|
||||
default_config_hash: Oe-fB2enOwHHacGGf5HLP31RdU9bEsQZ19YQ6AS8pjw
|
||||
enabled: true
|
||||
timeout: 0
|
||||
url: ''
|
||||
_core:
|
||||
default_config_hash: Oe-fB2enOwHHacGGf5HLP31RdU9bEsQZ19YQ6AS8pjw
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
enabled: false
|
||||
timeout: null
|
||||
url: ''
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
enabled: false
|
||||
timeout: 60
|
||||
url: /
|
||||
timeout: null
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
_core:
|
||||
default_config_hash: kxyrVqZ2uewqW3PUFj1ZDShD6MUbz5Yqnl3xyO3VXos
|
||||
enabled: false
|
||||
timeout: null
|
||||
_core:
|
||||
default_config_hash: kxyrVqZ2uewqW3PUFj1ZDShD6MUbz5Yqnl3xyO3VXos
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
enabled: false
|
||||
timeout: null
|
||||
url: ''
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
enabled: false
|
||||
timeout: null
|
||||
url: ''
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
_core:
|
||||
default_config_hash: Oe-fB2enOwHHacGGf5HLP31RdU9bEsQZ19YQ6AS8pjw
|
||||
enabled: true
|
||||
timeout: 0
|
||||
url: ''
|
||||
_core:
|
||||
default_config_hash: Oe-fB2enOwHHacGGf5HLP31RdU9bEsQZ19YQ6AS8pjw
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
enabled: false
|
||||
timeout: 60
|
||||
url: /
|
||||
timeout: null
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
enabled: false
|
||||
timeout: null
|
||||
url: ''
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
enabled: false
|
||||
timeout: null
|
||||
url: ''
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
_core:
|
||||
default_config_hash: kxyrVqZ2uewqW3PUFj1ZDShD6MUbz5Yqnl3xyO3VXos
|
||||
enabled: false
|
||||
timeout: null
|
||||
_core:
|
||||
default_config_hash: kxyrVqZ2uewqW3PUFj1ZDShD6MUbz5Yqnl3xyO3VXos
|
||||
|
|
|
@ -1,27 +1,16 @@
|
|||
_core:
|
||||
default_config_hash: m2pxH8tc4KIlh127R5TYim65W7NBY9gpYQnIXlvDp0M
|
||||
langcode: fr
|
||||
enabled: true
|
||||
timeout: 1800
|
||||
timeout: 3600
|
||||
max_timeout: 172800
|
||||
padding: 120
|
||||
no_individual_logout_threshold: true
|
||||
padding: 360
|
||||
role_logout: true
|
||||
role_logout_max: true
|
||||
redirect_url: /
|
||||
include_destination: true
|
||||
no_dialog: true
|
||||
message: 'We are about to log you out for inactivity. If we do, you will lose any unsaved work. Do you need more time?'
|
||||
no_dialog: false
|
||||
message: 'Your session is about to expire. Do you want to reset it?'
|
||||
inactivity_message: ''
|
||||
inactivity_message_type: status
|
||||
modal_width: 450
|
||||
enforce_admin: false
|
||||
jstimer_format: '%hours%:%mins%:%secs%'
|
||||
jstimer_js_load_option: false
|
||||
use_alt_logout_method: true
|
||||
use_watchdog: false
|
||||
dialog_title: 'materiO’ Alert'
|
||||
disable_buttons: false
|
||||
yes_button: ''
|
||||
no_button: ''
|
||||
whitelisted_ip_addresses: ''
|
||||
use_alt_logout_method: false
|
||||
use_watchdog: true
|
||||
langcode: fr
|
||||
_core:
|
||||
default_config_hash: m2pxH8tc4KIlh127R5TYim65W7NBY9gpYQnIXlvDp0M
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
uuid: 473c75f5-b226-4aaa-aae6-fb884bebb9a7
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
theme:
|
||||
- materiotheme
|
||||
id: actionsdadministrationprincipales
|
||||
theme: materiotheme
|
||||
region: content_top
|
||||
weight: 0
|
||||
provider: null
|
||||
plugin: local_actions_block
|
||||
settings:
|
||||
id: local_actions_block
|
||||
label: "Actions d'administration principales"
|
||||
label_display: '0'
|
||||
provider: core
|
||||
visibility: { }
|
|
@ -17,6 +17,6 @@ plugin: system_breadcrumb_block
|
|||
settings:
|
||||
id: system_breadcrumb_block
|
||||
label: Breadcrumbs
|
||||
label_display: '0'
|
||||
provider: system
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -17,6 +17,6 @@ plugin: system_main_block
|
|||
settings:
|
||||
id: system_main_block
|
||||
label: 'Main page content'
|
||||
label_display: '0'
|
||||
provider: system
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -17,6 +17,6 @@ plugin: help_block
|
|||
settings:
|
||||
id: help_block
|
||||
label: Help
|
||||
label_display: '0'
|
||||
provider: help
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -15,6 +15,6 @@ plugin: local_actions_block
|
|||
settings:
|
||||
id: local_actions_block
|
||||
label: 'Primary admin actions'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -17,6 +17,6 @@ plugin: user_login_block
|
|||
settings:
|
||||
id: user_login_block
|
||||
label: 'User login'
|
||||
label_display: visible
|
||||
provider: user
|
||||
label_display: visible
|
||||
visibility: { }
|
||||
|
|
|
@ -17,6 +17,6 @@ plugin: system_messages_block
|
|||
settings:
|
||||
id: system_messages_block
|
||||
label: 'Status messages'
|
||||
label_display: '0'
|
||||
provider: system
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -15,6 +15,6 @@ plugin: page_title_block
|
|||
settings:
|
||||
id: page_title_block
|
||||
label: 'Page title'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -15,8 +15,8 @@ plugin: local_tasks_block
|
|||
settings:
|
||||
id: local_tasks_block
|
||||
label: 'Primary tabs'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
primary: true
|
||||
secondary: false
|
||||
visibility: { }
|
||||
|
|
|
@ -15,8 +15,8 @@ plugin: local_tasks_block
|
|||
settings:
|
||||
id: local_tasks_block
|
||||
label: 'Secondary tabs'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
primary: false
|
||||
secondary: true
|
||||
visibility: { }
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
uuid: 90f98c52-9624-4758-9c38-3904d5ef5faa
|
||||
langcode: en
|
||||
status: false
|
||||
dependencies:
|
||||
module:
|
||||
- commerce_cart
|
||||
theme:
|
||||
- materiotheme
|
||||
id: cart
|
||||
theme: materiotheme
|
||||
region: header_right
|
||||
weight: 0
|
||||
provider: null
|
||||
plugin: commerce_cart
|
||||
settings:
|
||||
id: commerce_cart
|
||||
label: Cart
|
||||
label_display: visible
|
||||
provider: commerce_cart
|
||||
dropdown: true
|
||||
visibility: { }
|
|
@ -1,35 +0,0 @@
|
|||
uuid: f1f79e84-77c7-4d8a-a4b5-a8a84f380cb0
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- commerce_checkout
|
||||
- commerce_product
|
||||
theme:
|
||||
- materiotheme
|
||||
id: checkoutprogress
|
||||
theme: materiotheme
|
||||
region: content_top
|
||||
weight: 0
|
||||
provider: null
|
||||
plugin: commerce_checkout_progress
|
||||
settings:
|
||||
id: commerce_checkout_progress
|
||||
label: 'Checkout progress'
|
||||
label_display: '0'
|
||||
provider: commerce_checkout
|
||||
visibility:
|
||||
'entity_bundle:commerce_product_variation':
|
||||
id: 'entity_bundle:commerce_product_variation'
|
||||
negate: false
|
||||
context_mapping:
|
||||
commerce_product_variation: '@commerce_product.product_variation_route_context:commerce_product_variation'
|
||||
bundles:
|
||||
materio_product_variation_type: materio_product_variation_type
|
||||
'entity_bundle:commerce_product':
|
||||
id: 'entity_bundle:commerce_product'
|
||||
negate: false
|
||||
context_mapping:
|
||||
commerce_product: '@commerce_product.product_route_context:commerce_product'
|
||||
bundles:
|
||||
materio_product_type: materio_product_type
|
|
@ -1,25 +0,0 @@
|
|||
uuid: fc884273-8af4-4868-a415-631b39081904
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
content:
|
||||
- 'block_content:simple_text:e202a879-0a6d-4819-a171-15dfac8d7567'
|
||||
module:
|
||||
- block_content
|
||||
theme:
|
||||
- materiotheme
|
||||
id: contact
|
||||
theme: materiotheme
|
||||
region: footer_right
|
||||
weight: 0
|
||||
provider: null
|
||||
plugin: 'block_content:e202a879-0a6d-4819-a171-15dfac8d7567'
|
||||
settings:
|
||||
id: 'block_content:e202a879-0a6d-4819-a171-15dfac8d7567'
|
||||
label: contact
|
||||
label_display: '0'
|
||||
provider: block_content
|
||||
status: true
|
||||
info: ''
|
||||
view_mode: full
|
||||
visibility: { }
|
|
@ -1,31 +0,0 @@
|
|||
uuid: d16db992-5c92-4832-a386-69b50313a3e9
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- system.menu.header
|
||||
module:
|
||||
- menu_block
|
||||
theme:
|
||||
- materiotheme
|
||||
id: header
|
||||
theme: materiotheme
|
||||
region: header_right
|
||||
weight: -2
|
||||
provider: null
|
||||
plugin: 'menu_block:header'
|
||||
settings:
|
||||
id: 'menu_block:header'
|
||||
label: Header
|
||||
label_display: '0'
|
||||
provider: menu_block
|
||||
follow: false
|
||||
follow_parent: child
|
||||
label_link: false
|
||||
label_type: block
|
||||
level: 1
|
||||
depth: 0
|
||||
expand_all_items: false
|
||||
parent: 'header:'
|
||||
suggestion: header
|
||||
visibility: { }
|
|
@ -14,7 +14,7 @@ provider: null
|
|||
plugin: 'language_block:language_interface'
|
||||
settings:
|
||||
id: 'language_block:language_interface'
|
||||
label: Langue
|
||||
label_display: visible
|
||||
label: Language
|
||||
provider: language
|
||||
label_display: visible
|
||||
visibility: { }
|
||||
|
|
|
@ -1,26 +1,20 @@
|
|||
uuid: f78827fe-0500-429d-9688-26a362b9820a
|
||||
langcode: fr
|
||||
uuid: f45bc656-0e27-4f8a-82d2-b3c9e62c72f3
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- materio_sapi
|
||||
- system
|
||||
theme:
|
||||
- materiotheme
|
||||
id: materiosapisearchblock
|
||||
theme: materiotheme
|
||||
region: header_bottom
|
||||
weight: 0
|
||||
weight: -2
|
||||
provider: null
|
||||
plugin: materio_sapi_search_block
|
||||
settings:
|
||||
id: materio_sapi_search_block
|
||||
label: 'Materio sapi search block'
|
||||
label_display: '0'
|
||||
provider: materio_sapi
|
||||
visibility:
|
||||
request_path:
|
||||
id: request_path
|
||||
negate: true
|
||||
context_mapping: { }
|
||||
pages: '/checkout/*'
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -18,13 +18,13 @@ plugin: system_breadcrumb_block
|
|||
settings:
|
||||
id: system_breadcrumb_block
|
||||
label: Breadcrumbs
|
||||
label_display: '0'
|
||||
provider: system
|
||||
label_display: '0'
|
||||
visibility:
|
||||
user_role:
|
||||
id: user_role
|
||||
roles:
|
||||
root: root
|
||||
negate: false
|
||||
context_mapping:
|
||||
user: '@user.current_user_context:current_user'
|
||||
roles:
|
||||
root: root
|
||||
|
|
|
@ -17,6 +17,6 @@ plugin: system_main_block
|
|||
settings:
|
||||
id: system_main_block
|
||||
label: 'Main page content'
|
||||
label_display: '0'
|
||||
provider: system
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -17,6 +17,6 @@ plugin: help_block
|
|||
settings:
|
||||
id: help_block
|
||||
label: Help
|
||||
label_display: '0'
|
||||
provider: help
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -15,6 +15,6 @@ plugin: local_actions_block
|
|||
settings:
|
||||
id: local_actions_block
|
||||
label: 'Primary admin actions'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -17,6 +17,6 @@ plugin: user_login_block
|
|||
settings:
|
||||
id: user_login_block
|
||||
label: 'User login'
|
||||
label_display: visible
|
||||
provider: user
|
||||
label_display: visible
|
||||
visibility: { }
|
||||
|
|
|
@ -17,6 +17,6 @@ plugin: system_messages_block
|
|||
settings:
|
||||
id: system_messages_block
|
||||
label: 'Status messages'
|
||||
label_display: '0'
|
||||
provider: system
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -15,6 +15,6 @@ plugin: page_title_block
|
|||
settings:
|
||||
id: page_title_block
|
||||
label: 'Page title'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -15,8 +15,8 @@ plugin: local_tasks_block
|
|||
settings:
|
||||
id: local_tasks_block
|
||||
label: 'Primary tabs'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
primary: true
|
||||
secondary: false
|
||||
visibility: { }
|
||||
|
|
|
@ -15,8 +15,8 @@ plugin: local_tasks_block
|
|||
settings:
|
||||
id: local_tasks_block
|
||||
label: 'Secondary tabs'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
primary: false
|
||||
secondary: true
|
||||
visibility: { }
|
||||
|
|
|
@ -13,6 +13,6 @@ plugin: page_title_block
|
|||
settings:
|
||||
id: page_title_block
|
||||
label: 'Page title'
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
visibility: { }
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
uuid: 4c2a2713-7fd0-4b0a-ab12-0e23ac5f266d
|
||||
langcode: fr
|
||||
status: false
|
||||
dependencies:
|
||||
config:
|
||||
- system.menu.footer
|
||||
module:
|
||||
- menu_block
|
||||
theme:
|
||||
- materiotheme
|
||||
id: pieddepage
|
||||
theme: materiotheme
|
||||
region: footer_right
|
||||
weight: 0
|
||||
provider: null
|
||||
plugin: 'menu_block:footer'
|
||||
settings:
|
||||
id: 'menu_block:footer'
|
||||
label: 'Pied de page'
|
||||
label_display: '0'
|
||||
provider: menu_block
|
||||
follow: false
|
||||
follow_parent: child
|
||||
label_link: false
|
||||
label_type: block
|
||||
level: 1
|
||||
depth: 0
|
||||
expand_all_items: false
|
||||
parent: 'footer:'
|
||||
suggestion: footer
|
||||
visibility: { }
|
|
@ -1,35 +0,0 @@
|
|||
uuid: 57917b98-88dc-4aab-830c-886ffa43bfb1
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- simplenews
|
||||
- user
|
||||
theme:
|
||||
- materiotheme
|
||||
id: simplenewssubscription
|
||||
theme: materiotheme
|
||||
region: footer_left
|
||||
weight: 0
|
||||
provider: null
|
||||
plugin: simplenews_subscription_block
|
||||
settings:
|
||||
id: simplenews_subscription_block
|
||||
label: 'Subscribe to our monthly newsletter.'
|
||||
label_display: visible
|
||||
provider: simplenews
|
||||
newsletters:
|
||||
materio_newsletter: materio_newsletter
|
||||
default_newsletters:
|
||||
materio_newsletter: materio_newsletter
|
||||
message: ''
|
||||
show_manage: false
|
||||
unique_id: footersimplenewssubscriptionblock
|
||||
visibility:
|
||||
user_role:
|
||||
id: user_role
|
||||
negate: false
|
||||
context_mapping:
|
||||
user: '@user.current_user_context:current_user'
|
||||
roles:
|
||||
anonymous: anonymous
|
|
@ -15,8 +15,8 @@ plugin: system_branding_block
|
|||
settings:
|
||||
id: system_branding_block
|
||||
label: 'Site branding'
|
||||
label_display: '0'
|
||||
provider: system
|
||||
label_display: '0'
|
||||
use_site_logo: false
|
||||
use_site_name: true
|
||||
use_site_slogan: true
|
||||
|
|
|
@ -1,129 +0,0 @@
|
|||
uuid: f3053235-8080-4c5a-b6df-800f3c16eaac
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- social_media_links
|
||||
theme:
|
||||
- materiotheme
|
||||
id: socialmedialinks
|
||||
theme: materiotheme
|
||||
region: header_right
|
||||
weight: -5
|
||||
provider: null
|
||||
plugin: social_media_links_block
|
||||
settings:
|
||||
id: social_media_links_block
|
||||
label: 'Social Media Links'
|
||||
label_display: '0'
|
||||
provider: social_media_links
|
||||
platforms:
|
||||
website:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-10'
|
||||
instagram:
|
||||
value: materio_group
|
||||
description: ''
|
||||
weight: '-9'
|
||||
xing:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-8'
|
||||
contact:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-7'
|
||||
rss:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-6'
|
||||
bitbucket:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-5'
|
||||
vkontakte:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-4'
|
||||
slideshare:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-3'
|
||||
github:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-2'
|
||||
behance:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '-1'
|
||||
vimeo:
|
||||
value: materio
|
||||
description: ''
|
||||
weight: '0'
|
||||
linkedin:
|
||||
value: company/mat-rio-sas
|
||||
description: ''
|
||||
weight: '1'
|
||||
youtube_channel:
|
||||
value: UChKuhMq9rSfLqUmPc9dEgXw
|
||||
description: ''
|
||||
weight: '2'
|
||||
googleplus:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '3'
|
||||
facebook:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '4'
|
||||
drupal:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '5'
|
||||
flickr:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '6'
|
||||
gitlab:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '7'
|
||||
tumblr:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '8'
|
||||
youtube:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '9'
|
||||
pinterest:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '10'
|
||||
email:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '11'
|
||||
twitter:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '12'
|
||||
whatsapp:
|
||||
value: ''
|
||||
description: ''
|
||||
weight: '13'
|
||||
appearance:
|
||||
orientation: h
|
||||
show_name: 0
|
||||
suggestion: ''
|
||||
link_attributes:
|
||||
target: _blank
|
||||
rel: nofollow
|
||||
iconset:
|
||||
style: 'fontawesome:fw'
|
||||
installed_iconsets:
|
||||
fontawesome:
|
||||
examples: ''
|
||||
visibility: { }
|
|
@ -15,17 +15,16 @@ plugin: local_tasks_block
|
|||
settings:
|
||||
id: local_tasks_block
|
||||
label: Tabs
|
||||
label_display: '0'
|
||||
provider: core
|
||||
label_display: '0'
|
||||
primary: true
|
||||
secondary: true
|
||||
visibility:
|
||||
user_role:
|
||||
id: user_role
|
||||
roles:
|
||||
admin: admin
|
||||
root: root
|
||||
negate: false
|
||||
context_mapping:
|
||||
user: '@user.current_user_context:current_user'
|
||||
roles:
|
||||
authenticated: authenticated
|
||||
admin: admin
|
||||
root: root
|
||||
|
|
|
@ -10,19 +10,19 @@ dependencies:
|
|||
id: userblock
|
||||
theme: materiotheme
|
||||
region: header_right
|
||||
weight: -3
|
||||
weight: -2
|
||||
provider: null
|
||||
plugin: user_block
|
||||
settings:
|
||||
id: user_block
|
||||
label: 'User block'
|
||||
label_display: visible
|
||||
provider: materio_user
|
||||
label_display: visible
|
||||
visibility:
|
||||
user_role:
|
||||
id: user_role
|
||||
roles:
|
||||
authenticated: authenticated
|
||||
negate: false
|
||||
context_mapping:
|
||||
user: '@user.current_user_context:current_user'
|
||||
roles:
|
||||
authenticated: authenticated
|
||||
|
|
|
@ -9,12 +9,12 @@ dependencies:
|
|||
id: userlogin
|
||||
theme: materiotheme
|
||||
region: header_right
|
||||
weight: -4
|
||||
weight: -3
|
||||
provider: null
|
||||
plugin: user_login_block
|
||||
settings:
|
||||
id: user_login_block
|
||||
label: 'Accès membre'
|
||||
label_display: visible
|
||||
label: 'Member Access'
|
||||
provider: user
|
||||
label_display: visible
|
||||
visibility: { }
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
uuid: 37e411ea-165c-49d4-b221-259d2ea47d6e
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: simple_text
|
||||
label: 'simple text'
|
||||
revision: false
|
||||
description: ''
|
|
@ -1,26 +0,0 @@
|
|||
progress:
|
||||
'#changed': 1626258737
|
||||
'#changed_by': '1'
|
||||
'#completed_items': 7
|
||||
'#items':
|
||||
responsibility_agreement:
|
||||
'#completed': 1626252228
|
||||
'#uid': '1'
|
||||
recommended_resources:
|
||||
'#completed': 1626252228
|
||||
'#uid': '1'
|
||||
data1:
|
||||
'#completed': 1626256183
|
||||
'#uid': '1'
|
||||
external_traffic_measurement:
|
||||
'#completed': 1626258737
|
||||
'#uid': '1'
|
||||
social_media_connections:
|
||||
'#completed': 1626258737
|
||||
'#uid': '1'
|
||||
module_data_collection:
|
||||
'#completed': 1626258737
|
||||
'#uid': '1'
|
||||
user_role_permissions:
|
||||
'#completed': 1626258737
|
||||
'#uid': '1'
|
|
@ -4,80 +4,34 @@ status: true
|
|||
dependencies:
|
||||
module:
|
||||
- commerce_payment
|
||||
- commerce_promotion
|
||||
- commerce_stripe
|
||||
- email_registration
|
||||
- materio_commerce
|
||||
_core:
|
||||
default_config_hash: wwkDVBiXUqSzRifJbb71ajFBklJdNJ_DgS67IF-_qgY
|
||||
label: Default
|
||||
id: default
|
||||
label: Default
|
||||
plugin: multistep_default
|
||||
configuration:
|
||||
display_checkout_progress: true
|
||||
display_checkout_progress_breadcrumb_links: false
|
||||
panes:
|
||||
login:
|
||||
step: login
|
||||
weight: 0
|
||||
allow_guest_checkout: true
|
||||
allow_registration: false
|
||||
step: login
|
||||
weight: 0
|
||||
contact_information:
|
||||
double_entry: true
|
||||
step: order_information
|
||||
weight: 1
|
||||
double_entry: true
|
||||
billing_information:
|
||||
step: order_information
|
||||
weight: 2
|
||||
review:
|
||||
step: review
|
||||
weight: 3
|
||||
completion_message:
|
||||
step: complete
|
||||
weight: 7
|
||||
message:
|
||||
value: "Your order number is [commerce_order:order_number].\r\nYou can view your order on your account page when logged in."
|
||||
format: plain_text
|
||||
order_summary:
|
||||
step: _sidebar
|
||||
weight: 9
|
||||
view: commerce_checkout_order_summary
|
||||
completion_register:
|
||||
step: complete
|
||||
weight: 8
|
||||
payment_information:
|
||||
step: order_information
|
||||
weight: 2
|
||||
payment_process:
|
||||
step: payment
|
||||
weight: 6
|
||||
capture: true
|
||||
coupon_redemption:
|
||||
step: _sidebar
|
||||
weight: 10
|
||||
allow_multiple: false
|
||||
stripe_review:
|
||||
step: review
|
||||
weight: 4
|
||||
button_id: edit-actions-next
|
||||
setup_future_usage: ''
|
||||
email_registration_login:
|
||||
step: _disabled
|
||||
weight: 12
|
||||
allow_guest_checkout: true
|
||||
allow_registration: false
|
||||
email_registration_completion_registration:
|
||||
step: _disabled
|
||||
weight: 13
|
||||
materio_commerce_agree_nominative:
|
||||
step: _disabled
|
||||
weight: 11
|
||||
path: null
|
||||
text: null
|
||||
link_text: null
|
||||
invalid_text: 'You must agree with the nominative terms before continuing'
|
||||
materio_commerce_agree_terms:
|
||||
step: review
|
||||
order_summary:
|
||||
view: commerce_checkout_order_summary
|
||||
step: _sidebar
|
||||
weight: 5
|
||||
path: null
|
||||
link_text: 'Terms and Conditions'
|
||||
prefix_text: 'I agree with the %terms'
|
||||
invalid_text: 'You must agree with the %terms before continuing'
|
||||
new_window: 1
|
||||
|
|
|
@ -5,85 +5,48 @@ dependencies:
|
|||
module:
|
||||
- commerce_payment
|
||||
- commerce_promotion
|
||||
- commerce_stripe
|
||||
- email_registration
|
||||
- materio_commerce
|
||||
label: 'materio checkout flow'
|
||||
id: materio_checkout_flow
|
||||
label: 'materio checkout flow'
|
||||
plugin: multistep_default
|
||||
configuration:
|
||||
display_checkout_progress: true
|
||||
display_checkout_progress_breadcrumb_links: true
|
||||
panes:
|
||||
contact_information:
|
||||
step: order_information
|
||||
weight: 0
|
||||
double_entry: false
|
||||
allow_guest_checkout: true
|
||||
allow_registration: false
|
||||
payment_information:
|
||||
step: order_information
|
||||
weight: 1
|
||||
materio_commerce_agree_terms:
|
||||
step: order_information
|
||||
weight: 2
|
||||
path:
|
||||
route_name: materio_commerce.terms_viewer
|
||||
route_parameters: { }
|
||||
link_text: 'Terms and Conditions'
|
||||
prefix_text: 'I agree with the %terms'
|
||||
invalid_text: 'You must agree with the %terms before continuing'
|
||||
new_window: '1'
|
||||
nid: '1'
|
||||
materio_commerce_agree_nominative:
|
||||
step: order_information
|
||||
weight: 3
|
||||
path: /pricing/multijoueur
|
||||
text: "I have taken note that the membership of materialO 'is exclusively nominative. \r\nThe use of an account by more than one person is not allowed.\r\nI can fill the %multi form for multi user order."
|
||||
link_text: Multi-Joueurs
|
||||
invalid_text: 'You must agree with the nominative terms before continuing'
|
||||
prefix_text: 'I agree with the %terms'
|
||||
new_window: '1'
|
||||
nid: '1'
|
||||
login:
|
||||
allow_guest_checkout: false
|
||||
allow_registration: true
|
||||
step: login
|
||||
weight: 10
|
||||
review:
|
||||
step: review
|
||||
weight: 4
|
||||
stripe_review:
|
||||
step: review
|
||||
weight: 5
|
||||
button_id: edit-actions-next
|
||||
setup_future_usage: off_session
|
||||
payment_process:
|
||||
step: payment
|
||||
weight: 6
|
||||
capture: true
|
||||
weight: 10
|
||||
completion_message:
|
||||
step: complete
|
||||
weight: 7
|
||||
message:
|
||||
value: "<p class=\"welcom\">[current-user:customer:address:given_name] [current-user:customer:address:family_name] thank you and welcome to <strong>[site:name]</strong>!</p>\r\n\r\n<p>Once your order is confirmed, you have access to more than 10,000 inspiring and innovative material sheets!</p>\r\n"
|
||||
format: wysiwyg
|
||||
weight: 10
|
||||
completion_register:
|
||||
step: complete
|
||||
weight: 10
|
||||
order_summary:
|
||||
view: ''
|
||||
step: _sidebar
|
||||
weight: 8
|
||||
view: commerce_checkout_order_summary
|
||||
weight: 10
|
||||
contact_information:
|
||||
double_entry: false
|
||||
step: order_information
|
||||
weight: 10
|
||||
payment_process:
|
||||
capture: true
|
||||
step: payment
|
||||
weight: 10
|
||||
payment_information:
|
||||
step: order_information
|
||||
weight: 10
|
||||
coupon_redemption:
|
||||
step: _sidebar
|
||||
weight: 9
|
||||
allow_multiple: false
|
||||
step: _sidebar
|
||||
weight: 10
|
||||
email_registration_login:
|
||||
allow_guest_checkout: true
|
||||
allow_registration: false
|
||||
step: _disabled
|
||||
weight: 10
|
||||
allow_guest_checkout: true
|
||||
allow_registration: false
|
||||
email_registration_completion_registration:
|
||||
step: _disabled
|
||||
weight: 11
|
||||
completion_register:
|
||||
step: _disabled
|
||||
weight: 12
|
||||
login:
|
||||
step: _disabled
|
||||
weight: 13
|
||||
allow_guest_checkout: true
|
||||
allow_registration: false
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
uuid: 93677304-7cda-4468-aacb-e786739a2d44
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: order
|
||||
label: order
|
||||
from: info@materio.com
|
||||
to: info@materio.com
|
||||
cc: dev@figureslibres.io
|
||||
bcc: ''
|
||||
subject: '[Order Placed] [commerce_order:uid:entity:mail]'
|
||||
body: "[commerce_order:uid:entity:mail] Placed an order<br/>\r\n<br/>\r\nOrder n° [commerce_order:order_number:value] (<a href=\"[commerce_order:admin-url]\">view order</a>)<br/>\r\nTotal price : [commerce_order:total_price:number][commerce_order:total_price:currency_code]<br/>\r\nOrder Item : [commerce_order:order_items:0:entity]<br/>\r\nPayement method : [commerce_order:payment_gateway:target_id]<br/>\r\n<br/>\r\n<br/>\r\n[commerce_order:billing_profile]"
|
||||
conditions: { }
|
||||
conditionOperator: AND
|
||||
event: order_placed
|
||||
targetEntityType: commerce_order
|
|
@ -1,13 +0,0 @@
|
|||
uuid: 2fef55d7-b4f1-4e46-8b78-8a66a24cbe46
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: order_default
|
||||
label: Default
|
||||
targetEntityType: commerce_order
|
||||
plugin: infinite
|
||||
configuration:
|
||||
pattern: '[pattern:number]'
|
||||
initial_number: 1
|
||||
padding: 0
|
||||
per_store_sequence: true
|
|
@ -2,20 +2,20 @@ uuid: e3eaa065-01db-421e-ba83-06ca691ac14a
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- commerce_tax
|
||||
enforced:
|
||||
module:
|
||||
- commerce_product
|
||||
module:
|
||||
- commerce_tax
|
||||
third_party_settings:
|
||||
commerce_tax:
|
||||
taxable_type: services
|
||||
_core:
|
||||
default_config_hash: 6n6q97CDOCqHGs4Dun3BqVJE6e1o6TA-69qCwoUU-SY
|
||||
id: default
|
||||
label: Default
|
||||
id: default
|
||||
purchasableEntityType: commerce_product_variation
|
||||
orderType: default
|
||||
traits:
|
||||
- commerce_license_order_item_type
|
||||
locked: false
|
||||
purchasableEntityType: commerce_product_variation
|
||||
orderType: default
|
||||
|
|
|
@ -7,10 +7,10 @@ dependencies:
|
|||
third_party_settings:
|
||||
commerce_tax:
|
||||
taxable_type: digital_goods
|
||||
id: materio_order_item_type
|
||||
label: 'materio order item type'
|
||||
id: materio_order_item_type
|
||||
purchasableEntityType: commerce_product_variation
|
||||
orderType: materio_order_type
|
||||
traits:
|
||||
- commerce_license_order_item_type
|
||||
locked: false
|
||||
purchasableEntityType: commerce_product_variation
|
||||
orderType: materio_order_type
|
||||
|
|
|
@ -2,21 +2,21 @@ uuid: 65504bc8-0953-4f21-aaca-2970d7cd78bd
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- commerce_tax
|
||||
enforced:
|
||||
module:
|
||||
- commerce_product
|
||||
- commerce_recurring
|
||||
module:
|
||||
- commerce_tax
|
||||
third_party_settings:
|
||||
commerce_tax:
|
||||
taxable_type: services
|
||||
_core:
|
||||
default_config_hash: Q21JtNYYWL-eIfxaX1rm-NvSqPqdDymrDrN08f_QC7M
|
||||
label: 'Recurring (Product variation)'
|
||||
id: recurring_product_variation
|
||||
label: 'Recurring (Product variation) DO NOT USE ME'
|
||||
purchasableEntityType: commerce_product_variation
|
||||
orderType: recurring
|
||||
traits:
|
||||
- commerce_license_order_item_type
|
||||
locked: true
|
||||
purchasableEntityType: commerce_product_variation
|
||||
orderType: recurring
|
||||
|
|
|
@ -2,19 +2,14 @@ uuid: 045671c1-aab5-4468-8178-c617dcea16a6
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- commerce_tax
|
||||
enforced:
|
||||
module:
|
||||
- commerce_recurring
|
||||
third_party_settings:
|
||||
commerce_tax:
|
||||
taxable_type: physical_goods
|
||||
_core:
|
||||
default_config_hash: iFZgD_z6PSZqyLy65J_OLjA_nnGu-lvKxgPr0BNiCCI
|
||||
label: 'Recurring (Standalone)'
|
||||
id: recurring_standalone
|
||||
label: 'Recurring (Standalone) DO NOT USE ME'
|
||||
traits: { }
|
||||
locked: true
|
||||
purchasableEntityType: ''
|
||||
orderType: recurring
|
||||
traits: { }
|
||||
locked: true
|
||||
|
|
|
@ -1,26 +1,15 @@
|
|||
uuid: 0e75b0ea-ab01-4de6-83c2-d1183c20aed8
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- commerce_cart
|
||||
- commerce_checkout
|
||||
third_party_settings:
|
||||
commerce_cart:
|
||||
cart_block_view: commerce_cart_block
|
||||
cart_form_view: commerce_cart_form
|
||||
cart_expiration: { }
|
||||
commerce_checkout:
|
||||
checkout_flow: default
|
||||
dependencies: { }
|
||||
_core:
|
||||
default_config_hash: pGvuJjaRPhhEY9oSM5EGsAtKWgGNSA-0aq4RIvd4BBE
|
||||
id: default
|
||||
label: Default
|
||||
traits: { }
|
||||
locked: false
|
||||
id: default
|
||||
workflow: order_default
|
||||
numberPattern: null
|
||||
refresh_mode: customer
|
||||
refresh_frequency: 300
|
||||
sendReceipt: true
|
||||
receiptBcc: info@materio.com
|
||||
receiptBcc: ''
|
||||
traits: { }
|
||||
locked: false
|
||||
|
|
|
@ -7,18 +7,16 @@ dependencies:
|
|||
- commerce_checkout
|
||||
third_party_settings:
|
||||
commerce_cart:
|
||||
cart_block_view: commerce_cart_block
|
||||
cart_form_view: commerce_cart_form
|
||||
cart_expiration: { }
|
||||
cart_block_view: commerce_cart_block
|
||||
commerce_checkout:
|
||||
checkout_flow: materio_checkout_flow
|
||||
id: materio_order_type
|
||||
label: 'materio order type'
|
||||
traits: { }
|
||||
locked: false
|
||||
id: materio_order_type
|
||||
workflow: order_default
|
||||
numberPattern: order_default
|
||||
refresh_mode: customer
|
||||
refresh_frequency: 300
|
||||
sendReceipt: true
|
||||
receiptBcc: info@materio.com
|
||||
receiptBcc: ''
|
||||
traits: { }
|
||||
locked: false
|
||||
|
|
|
@ -8,20 +8,18 @@ dependencies:
|
|||
- commerce_recurring
|
||||
third_party_settings:
|
||||
commerce_cart:
|
||||
cart_block_view: commerce_cart_block
|
||||
cart_form_view: commerce_cart_form
|
||||
cart_expiration: { }
|
||||
cart_block_view: commerce_cart_block
|
||||
commerce_checkout:
|
||||
checkout_flow: default
|
||||
_core:
|
||||
default_config_hash: 792iyvjCVODZf_5iMHKhvhpGeC-uLVBLdjqi3xSkDKg
|
||||
id: recurring
|
||||
label: Recurring
|
||||
traits: { }
|
||||
locked: true
|
||||
id: recurring
|
||||
workflow: order_recurring
|
||||
numberPattern: null
|
||||
refresh_mode: customer
|
||||
refresh_frequency: 300
|
||||
sendReceipt: true
|
||||
receiptBcc: info@materio.com
|
||||
receiptBcc: ''
|
||||
traits: { }
|
||||
locked: true
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
log_version_mismatch: true
|
|
@ -0,0 +1,22 @@
|
|||
uuid: 9fd9ac25-5b14-4630-a056-546da6b3b418
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- commerce_cmcic
|
||||
id: cm_cic
|
||||
label: CM-CIC
|
||||
weight: null
|
||||
plugin: commerce_cmcic
|
||||
configuration:
|
||||
display_label: CM-CIC
|
||||
mode: test
|
||||
payment_method_types:
|
||||
- credit_card
|
||||
bank_type: cic
|
||||
version: '3.0'
|
||||
security_key: 7C86189FA72DA637A722BB395BFB9D403D3C70P7
|
||||
tpe: '6277685'
|
||||
company: materio
|
||||
conditions: { }
|
||||
conditionOperator: AND
|
|
@ -1,24 +0,0 @@
|
|||
uuid: f8318796-0261-48b2-9f16-0b127f0cd47f
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: manual
|
||||
label: Manuel
|
||||
weight: null
|
||||
plugin: manual
|
||||
configuration:
|
||||
display_label: 'Virement ou chèque'
|
||||
mode: n/a
|
||||
payment_method_types:
|
||||
- credit_card
|
||||
collect_billing_information: true
|
||||
instructions:
|
||||
value: "Paiement par chèque: à l’ordre de matériO’, et à envoyer à \r\nmatériO’ SAS \r\n8, rue Chaptal \r\n75009 Paris \r\nFrance\r\n\r\nPaiement par virement: \r\nIBAN : FR76 3006 6106 6100 0104 4360 109\r\nBIC : CMCIFRPP\r\n\r\nVotre accès à la base sera activé dès réception de votre paiement.\r\n"
|
||||
format: plain_text
|
||||
conditions:
|
||||
-
|
||||
plugin: order_variation_type
|
||||
configuration:
|
||||
variation_types:
|
||||
- materio_product_licence_variatio
|
||||
conditionOperator: AND
|
|
@ -1,21 +0,0 @@
|
|||
uuid: e41e2a00-d6e1-4a9b-add4-058e4fbde0d2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- commerce_stripe
|
||||
id: stripe
|
||||
label: Stripe
|
||||
weight: -10
|
||||
plugin: stripe
|
||||
configuration:
|
||||
display_label: Stripe
|
||||
mode: live
|
||||
payment_method_types:
|
||||
- credit_card
|
||||
collect_billing_information: true
|
||||
publishable_key: pk_live_51I7RAuBp8BkjanLQp3lsf7QBqO1xhRj8gLEbH4ivBEiZhkGwxgrQNGGizo5yk7HgxkiW3jRY6M4ni8pVfBTt5DGW00nBUevKbl
|
||||
secret_key: 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
|
||||
enable_credit_card_icons: false
|
||||
conditions: { }
|
||||
conditionOperator: AND
|
|
@ -6,9 +6,9 @@ _core:
|
|||
default_config_hash: 5TqAuVTl1_arKIBeD1qDfJM-pKmaFnqyYSQNdwEK_DQ
|
||||
id: default
|
||||
label: Default
|
||||
traits: { }
|
||||
locked: false
|
||||
description: ''
|
||||
variationType: default
|
||||
multipleVariations: true
|
||||
injectVariationFields: true
|
||||
traits: { }
|
||||
locked: false
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue