From adcd61e87009be70e7c3c9da8647afcd5eaaa306 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Thu, 1 Nov 2018 15:24:34 +0100 Subject: [PATCH] improved inspired by varbase distribution --- composer.json | 76 +- config/install/better_messages.settings.yml | 12 +- config/install/content_lock.settings.yml | 53 ++ .../install/content_lock_timeout.settings.yml | 2 + ...ntity_view_display.node.static.default.yml | 15 +- ...entity_view_display.node.static.teaser.yml | 25 +- config/install/embed.settings.yml | 2 + ..._mdm.file_metadata_plugin.getimagesize.yml | 7 + config/install/file_mdm.settings.yml | 4 + ...ile_mdm_exif.file_metadata_plugin.exif.yml | 33 + ...e_metadata_plugin.imagemagick_identify.yml | 7 + config/install/imagemagick.settings.yml | 55 ++ config/install/pathologic.settings.yml | 7 + config/install/persistent_login.settings.yml | 5 + .../system.action.file_break_lock_action.yml | 10 + .../system.action.node_break_lock_action.yml | 10 + ...ystem.action.profile_break_lock_action.yml | 10 + ...action.taxonomy_term_break_lock_action.yml | 10 + config/install/system.image.yml | 2 +- config/install/toolbar_themes.settings.yml | 7 +- ...ate_cron.job.content_lock_timeout_cron.yml | 16 + .../install/ultimate_cron.job.dblog_cron.yml | 16 + .../install/ultimate_cron.job.field_cron.yml | 16 + .../install/ultimate_cron.job.file_cron.yml | 16 + .../ultimate_cron.job.honeypot_cron.yml | 16 + .../install/ultimate_cron.job.locale_cron.yml | 16 + .../install/ultimate_cron.job.matomo_cron.yml | 16 + .../install/ultimate_cron.job.node_cron.yml | 16 + ...ltimate_cron.job.persistent_login_cron.yml | 16 + .../ultimate_cron.job.search_api_cron.yml | 16 + .../install/ultimate_cron.job.system_cron.yml | 16 + .../ultimate_cron.job.ultimate_cron_cron.yml | 14 + .../install/ultimate_cron.job.update_cron.yml | 16 + .../ultimate_cron.job.workflow_cron.yml | 16 + config/install/ultimate_cron.settings.yml | 33 + config/install/views.view.locked_content.yml | 676 ++++++++++++++++++ figli_starter_kit.info.yml | 25 +- 37 files changed, 1257 insertions(+), 51 deletions(-) create mode 100644 config/install/content_lock.settings.yml create mode 100644 config/install/content_lock_timeout.settings.yml create mode 100644 config/install/embed.settings.yml create mode 100644 config/install/file_mdm.file_metadata_plugin.getimagesize.yml create mode 100644 config/install/file_mdm.settings.yml create mode 100644 config/install/file_mdm_exif.file_metadata_plugin.exif.yml create mode 100644 config/install/imagemagick.file_metadata_plugin.imagemagick_identify.yml create mode 100644 config/install/imagemagick.settings.yml create mode 100644 config/install/pathologic.settings.yml create mode 100644 config/install/persistent_login.settings.yml create mode 100644 config/install/system.action.file_break_lock_action.yml create mode 100644 config/install/system.action.node_break_lock_action.yml create mode 100644 config/install/system.action.profile_break_lock_action.yml create mode 100644 config/install/system.action.taxonomy_term_break_lock_action.yml create mode 100644 config/install/ultimate_cron.job.content_lock_timeout_cron.yml create mode 100644 config/install/ultimate_cron.job.dblog_cron.yml create mode 100644 config/install/ultimate_cron.job.field_cron.yml create mode 100644 config/install/ultimate_cron.job.file_cron.yml create mode 100644 config/install/ultimate_cron.job.honeypot_cron.yml create mode 100644 config/install/ultimate_cron.job.locale_cron.yml create mode 100644 config/install/ultimate_cron.job.matomo_cron.yml create mode 100644 config/install/ultimate_cron.job.node_cron.yml create mode 100644 config/install/ultimate_cron.job.persistent_login_cron.yml create mode 100644 config/install/ultimate_cron.job.search_api_cron.yml create mode 100644 config/install/ultimate_cron.job.system_cron.yml create mode 100644 config/install/ultimate_cron.job.ultimate_cron_cron.yml create mode 100644 config/install/ultimate_cron.job.update_cron.yml create mode 100644 config/install/ultimate_cron.job.workflow_cron.yml create mode 100644 config/install/ultimate_cron.settings.yml create mode 100644 config/install/views.view.locked_content.yml diff --git a/composer.json b/composer.json index c677a4a..10e5db5 100644 --- a/composer.json +++ b/composer.json @@ -8,56 +8,86 @@ "cweagans/composer-patches": "^1.6", "drush/drush": "^9.5", "drupal/console": "^1.8", + "drupal/actions_permissions": "^2.4", + "drupal/adminimal_theme": "^1.3", "drupal/admin_toolbar": "^1.24", - "drupal/filter_perms": "1.x-dev", - "drupal/menu_admin_per_menu": "^1.0", - "drupal/toolbar_themes": "^1.0@alpha", + "drupal/advanced_text_formatter": "^1.0@beta", + "drupal/audiofield": "^1.6", + "drupal/autocomplete_deluxe": "^1.0@beta", "drupal/autologout": "^1.0", - "drupal/email_registration": "^1.0@RC", - "drupal/pathauto": "^1.3", - "drupal/profile": "^1.0@RC", - "drupal/redirect": "^1.3", - "drupal/token": "^1.5", - "drupal/url_to_video_filter": "^1.3", - "drupal/field_group": "^1.0", - "drupal/path_alias_xt": "1.x-dev", + "drupal/betterlogin": "^1.2", + "drupal/better_exposed_filters": "^3.0@alpha", + "drupal/better_messages": "^1.0@alpha", + "drupal/block_class": "^1.0", "drupal/bulkdelete": "1.x-dev", - "drupal/filefield_sources": "1.x-dev", "drupal/config_ignore": "^2.1", "drupal/config_filter": "^1.3", "drupal/config_devel": "^1.2", "drupal/config_update": "^1.5", + "drupal/content_lock": "^1.0@alpha", "drupal/context": "^4.0@beta", - "drupal/maillog": "1.x-dev", "drupal/date_range_formatter": "^3.1", "drupal/devel": "^1.2", "drupal/devel_generate": "^1.2", - "drupal/kint": "^1.2", "drupal/domain": "^1.0@alpha", "drupal/domain_alias": "^1.0@alpha", "drupal/domain_config": "^1.0@alpha", "drupal/domain_site_settings": "^1.3", - "drupal/better_messages": "^1.0@alpha", + "drupal/email_registration": "^1.0@RC", + "drupal/embed": "^1.0", + "drupal/entity_browser": "^2.0", + "drupal/entity_browser_enhanced": "^1.0@RC", + "drupal/entity_clone": "^1.0@alpha", "drupal/extlink": "^1.1", + "drupal/field_group": "^1.0", + "drupal/filefield_sources": "1.x-dev", + "drupal/filter_perms": "1.x-dev", + "drupal/honeypot": "^1.29", + "drupal/imagemagick": "^2.3", + "drupal/inline_entity_form": "^1.0@RC", + "drupal/kint": "^1.2", "drupal/linkit": "^4.3", - "drupal/translation_views": "^1.0@alpha", + "drupal/link_attributes": "^1.5", + "drupal/login_destination": "1.x-dev", + "drupal/maillog": "1.x-dev", + "drupal/mailsystem": "^4.1", + "drupal/matomo": "^1.7", + "drupal/maxlength": "^1.0@beta", + "drupal/menu_admin_per_menu": "^1.0", + "drupal/menu_block": "^1.5", + "drupal/menu_position": "1.x-dev", + "drupal/pathauto": "^1.3", + "drupal/path_alias_xt": "1.x-dev", + "drupal/pathologic": "^1.0@alpha", + "drupal/persistent_login": "^1.1", + "drupal/profile": "^1.0@RC", + "drupal/redirect": "^1.3", "drupal/redis": "^1.0", - "drupal/workflow": "1.x-dev", "drupal/search_api": "^1.10", "drupal/search_api_db": "^1.10", - "drupal/honeypot": "^1.29", - "drupal/matomo": "^1.7", + "drupal/smart_trim": "^1.1", + "drupal/smtp": "^1.0@beta", "drupal/synonyms": "^1.0@alpha", - "drupal/audiofield": "^1.6", + "drupal/translation_views": "^1.0@alpha", + "drupal/token": "^1.5", + "drupal/toolbar_themes": "^1.0@alpha", + "drupal/ultimate_cron": "^2.0@alpha", + "drupal/url_to_video_filter": "^1.3", "drupal/views_bulk_operations": "^2.4", "drupal/views_bulk_edit": "^2.2", - "drupal/actions_permissions": "^2.4", - "drupal/adminimal_theme": "^1.3" + "drupal/workflow": "1.x-dev" }, "repositories": [ { "type": "composer", "url": "https://packages.drupal.org/8" } - ] + ], + "extra": { + "patches": { + "drupal/workflow": { + "fix bad way of including files": "https://www.drupal.org/files/issues/2018-11-01/workflow-include.patch" + } + } + } } diff --git a/config/install/better_messages.settings.yml b/config/install/better_messages.settings.yml index 40d8d18..7c2376c 100644 --- a/config/install/better_messages.settings.yml +++ b/config/install/better_messages.settings.yml @@ -1,9 +1,9 @@ position: tr -vertical: 70 -horizontal: 10 +vertical: 50 +horizontal: 5 fixed: 1 width: 600px -autoclose: 7 +autoclose: 4 opendelay: 0.3 disable_autoclose: 1 show_countdown: 0 @@ -32,10 +32,10 @@ visibility: node: '@node.node_route_context:node' domain: id: domain - domains: - encyclopediedelaparole_org: encyclopediedelaparole_org + domains: { } negate: false - context_mapping: { } + context_mapping: + 'entity:domain': '@domain.current_domain_context:entity:domain' language: id: language langcodes: { } diff --git a/config/install/content_lock.settings.yml b/config/install/content_lock.settings.yml new file mode 100644 index 0000000..1e9e91b --- /dev/null +++ b/config/install/content_lock.settings.yml @@ -0,0 +1,53 @@ +verbose: 0 +types: + contact_message: { } + file: + '*': '*' + node: + '*': '*' + profile: + '*': '*' + redirect: { } + search_api_task: { } + taxonomy_term: + '*': '*' + user: { } + workflow_transition: { } + workflow_scheduled_transition: { } + menu_link_content: { } +types_translation_lock: { } +types_js_lock: { } +form_op_lock: + contact_message: + mode: 0 + values: { } + file: + mode: null + values: { } + node: + mode: 0 + values: { } + profile: + mode: 0 + values: { } + redirect: + mode: 0 + values: { } + search_api_task: + mode: null + values: { } + taxonomy_term: + mode: 0 + values: { } + user: + mode: 0 + values: { } + workflow_transition: + mode: 0 + values: { } + workflow_scheduled_transition: + mode: 0 + values: { } + menu_link_content: + mode: 0 + values: { } diff --git a/config/install/content_lock_timeout.settings.yml b/config/install/content_lock_timeout.settings.yml new file mode 100644 index 0000000..1412e70 --- /dev/null +++ b/config/install/content_lock_timeout.settings.yml @@ -0,0 +1,2 @@ +content_lock_timeout_minutes: '30' +content_lock_timeout_on_edit: 0 diff --git a/config/install/core.entity_view_display.node.static.default.yml b/config/install/core.entity_view_display.node.static.default.yml index 6103d7b..a1916f8 100644 --- a/config/install/core.entity_view_display.node.static.default.yml +++ b/config/install/core.entity_view_display.node.static.default.yml @@ -6,7 +6,6 @@ dependencies: - field.field.node.static.field_workflow - node.type.static module: - - options - text - user id: node.static.default @@ -17,21 +16,15 @@ content: body: label: hidden type: text_default - weight: 101 + weight: 0 settings: { } third_party_settings: { } region: content - field_workflow: - weight: 102 - label: above - settings: { } - third_party_settings: { } - type: list_default - region: content links: - weight: 100 + weight: 1 + region: content settings: { } third_party_settings: { } - region: content hidden: + field_workflow: true langcode: true diff --git a/config/install/core.entity_view_display.node.static.teaser.yml b/config/install/core.entity_view_display.node.static.teaser.yml index 557bc80..82a3551 100644 --- a/config/install/core.entity_view_display.node.static.teaser.yml +++ b/config/install/core.entity_view_display.node.static.teaser.yml @@ -4,9 +4,10 @@ dependencies: config: - core.entity_view_mode.node.teaser - field.field.node.static.body + - field.field.node.static.field_workflow - node.type.static module: - - text + - smart_trim - user id: node.static.teaser targetEntityType: node @@ -15,16 +16,28 @@ mode: teaser content: body: label: hidden - type: text_summary_or_trimmed - weight: 101 + type: smart_trim + weight: 0 settings: - trim_length: 600 + trim_length: 15 + trim_type: words + trim_suffix: ... + wrap_class: trimmed + more_text: More + more_class: more-link + summary_handler: full + wrap_output: false + more_link: false + trim_options: + text: false + trim_zero: false third_party_settings: { } region: content links: - weight: 100 + weight: 1 + region: content settings: { } third_party_settings: { } - region: content hidden: + field_workflow: true langcode: true diff --git a/config/install/embed.settings.yml b/config/install/embed.settings.yml new file mode 100644 index 0000000..693f3db --- /dev/null +++ b/config/install/embed.settings.yml @@ -0,0 +1,2 @@ +file_scheme: public +upload_directory: embed_buttons diff --git a/config/install/file_mdm.file_metadata_plugin.getimagesize.yml b/config/install/file_mdm.file_metadata_plugin.getimagesize.yml new file mode 100644 index 0000000..d6ebd8b --- /dev/null +++ b/config/install/file_mdm.file_metadata_plugin.getimagesize.yml @@ -0,0 +1,7 @@ +configuration: + cache: + override: false + settings: + enabled: true + expiration: 172800 + disallowed_paths: { } diff --git a/config/install/file_mdm.settings.yml b/config/install/file_mdm.settings.yml new file mode 100644 index 0000000..1cbf6d8 --- /dev/null +++ b/config/install/file_mdm.settings.yml @@ -0,0 +1,4 @@ +metadata_cache: + enabled: true + expiration: 172800 + disallowed_paths: { } diff --git a/config/install/file_mdm_exif.file_metadata_plugin.exif.yml b/config/install/file_mdm_exif.file_metadata_plugin.exif.yml new file mode 100644 index 0000000..bf4b1a5 --- /dev/null +++ b/config/install/file_mdm_exif.file_metadata_plugin.exif.yml @@ -0,0 +1,33 @@ +ifd_map: + 0: + type: 0 + aliases: + - '0' + - IFD0 + - Main + 1: + type: 1 + aliases: + - '1' + - IFD1 + - Thumbnail + Exif: + type: 2 + aliases: + - Exif + GPS: + type: 3 + aliases: + - GPS + Interoperability: + type: 4 + aliases: + - Interoperability + - Interop +configuration: + cache: + override: false + settings: + enabled: true + expiration: 172800 + disallowed_paths: { } diff --git a/config/install/imagemagick.file_metadata_plugin.imagemagick_identify.yml b/config/install/imagemagick.file_metadata_plugin.imagemagick_identify.yml new file mode 100644 index 0000000..d6ebd8b --- /dev/null +++ b/config/install/imagemagick.file_metadata_plugin.imagemagick_identify.yml @@ -0,0 +1,7 @@ +configuration: + cache: + override: false + settings: + enabled: true + expiration: 172800 + disallowed_paths: { } diff --git a/config/install/imagemagick.settings.yml b/config/install/imagemagick.settings.yml new file mode 100644 index 0000000..1167097 --- /dev/null +++ b/config/install/imagemagick.settings.yml @@ -0,0 +1,55 @@ +quality: 75 +binaries: imagemagick +path_to_binaries: '' +prepend: '' +prepend_pre_source: false +log_warnings: true +debug: false +use_identify: true +locale: en_US.UTF-8 +advanced: + density: 72 + colorspace: RGB + profile: '' +image_formats: + PNG: + mime_type: image/png + JPEG: + mime_type: image/jpeg + JPG: + mime_type: image/jpeg + weight: 10 + enabled: false + GIF: + mime_type: image/gif + GIF87: + mime_type: image/gif + weight: 10 + enabled: false + SVG: + mime_type: image/svg+xml + enabled: false + WEBP: + mime_type: image/webp + enabled: false + TIFF: + mime_type: image/tiff + enabled: false + PDF: + mime_type: application/pdf + enabled: false + BMP: + mime_type: image/x-ms-bmp + enabled: false + PSD: + mime_type: image/x-photoshop + enabled: false + WBMP: + mime_type: image/vnd.wap.wbmp + enabled: false + XBM: + mime_type: image/x-xbitmap + enabled: false + ICO: + mime_type: image/vnd.microsoft.icon + enabled: false diff --git a/config/install/pathologic.settings.yml b/config/install/pathologic.settings.yml new file mode 100644 index 0000000..8eb58f7 --- /dev/null +++ b/config/install/pathologic.settings.yml @@ -0,0 +1,7 @@ +scheme_whitelist: + - http + - https + - files + - internal +protocol_style: full +local_paths: '' diff --git a/config/install/persistent_login.settings.yml b/config/install/persistent_login.settings.yml new file mode 100644 index 0000000..683e2b9 --- /dev/null +++ b/config/install/persistent_login.settings.yml @@ -0,0 +1,5 @@ +lifetime: 30 +max_tokens: 0 +login_form: + field_label: 'Remember me' +cookie_prefix: PL diff --git a/config/install/system.action.file_break_lock_action.yml b/config/install/system.action.file_break_lock_action.yml new file mode 100644 index 0000000..f6daea5 --- /dev/null +++ b/config/install/system.action.file_break_lock_action.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + module: + - content_lock +id: file_break_lock_action +label: 'Break lock file' +type: file +plugin: 'entity:break_lock:file' +configuration: { } diff --git a/config/install/system.action.node_break_lock_action.yml b/config/install/system.action.node_break_lock_action.yml new file mode 100644 index 0000000..67f7148 --- /dev/null +++ b/config/install/system.action.node_break_lock_action.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + module: + - content_lock +id: node_break_lock_action +label: 'Break lock node' +type: node +plugin: 'entity:break_lock:node' +configuration: { } diff --git a/config/install/system.action.profile_break_lock_action.yml b/config/install/system.action.profile_break_lock_action.yml new file mode 100644 index 0000000..35cfd2a --- /dev/null +++ b/config/install/system.action.profile_break_lock_action.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + module: + - content_lock +id: profile_break_lock_action +label: 'Break lock profile' +type: profile +plugin: 'entity:break_lock:profile' +configuration: { } diff --git a/config/install/system.action.taxonomy_term_break_lock_action.yml b/config/install/system.action.taxonomy_term_break_lock_action.yml new file mode 100644 index 0000000..dd81a91 --- /dev/null +++ b/config/install/system.action.taxonomy_term_break_lock_action.yml @@ -0,0 +1,10 @@ +langcode: en +status: true +dependencies: + module: + - content_lock +id: taxonomy_term_break_lock_action +label: 'Break lock taxonomy_term' +type: taxonomy_term +plugin: 'entity:break_lock:taxonomy_term' +configuration: { } diff --git a/config/install/system.image.yml b/config/install/system.image.yml index 9a1688f..c5fe831 100644 --- a/config/install/system.image.yml +++ b/config/install/system.image.yml @@ -1 +1 @@ -toolkit: gd +toolkit: imagemagick diff --git a/config/install/toolbar_themes.settings.yml b/config/install/toolbar_themes.settings.yml index f73535f..e3cb573 100644 --- a/config/install/toolbar_themes.settings.yml +++ b/config/install/toolbar_themes.settings.yml @@ -1,6 +1,7 @@ -default_theme: toolbar_seven -icons: 0 +default_theme: toolbar_admin_menu +icons: 1 tabs: 0 langcode: fr actions: - submit: Soumettre + submit: Submit +font_size: '10' diff --git a/config/install/ultimate_cron.job.content_lock_timeout_cron.yml b/config/install/ultimate_cron.job.content_lock_timeout_cron.yml new file mode 100644 index 0000000..887584c --- /dev/null +++ b/config/install/ultimate_cron.job.content_lock_timeout_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - content_lock_timeout +title: 'Default cron handler' +id: content_lock_timeout_cron +weight: 0 +module: content_lock_timeout +callback: content_lock_timeout_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.dblog_cron.yml b/config/install/ultimate_cron.job.dblog_cron.yml new file mode 100644 index 0000000..2425041 --- /dev/null +++ b/config/install/ultimate_cron.job.dblog_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - dblog +title: 'Remove expired log messages and flood control events' +id: dblog_cron +weight: 0 +module: dblog +callback: dblog_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.field_cron.yml b/config/install/ultimate_cron.job.field_cron.yml new file mode 100644 index 0000000..366220f --- /dev/null +++ b/config/install/ultimate_cron.job.field_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - field +title: 'Purges deleted Field API data' +id: field_cron +weight: 0 +module: field +callback: field_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.file_cron.yml b/config/install/ultimate_cron.job.file_cron.yml new file mode 100644 index 0000000..f9cb29e --- /dev/null +++ b/config/install/ultimate_cron.job.file_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - file +title: 'Deletes temporary files' +id: file_cron +weight: 0 +module: file +callback: file_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.honeypot_cron.yml b/config/install/ultimate_cron.job.honeypot_cron.yml new file mode 100644 index 0000000..b45d686 --- /dev/null +++ b/config/install/ultimate_cron.job.honeypot_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - honeypot +title: 'Default cron handler' +id: honeypot_cron +weight: 0 +module: honeypot +callback: honeypot_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.locale_cron.yml b/config/install/ultimate_cron.job.locale_cron.yml new file mode 100644 index 0000000..7bbbcb2 --- /dev/null +++ b/config/install/ultimate_cron.job.locale_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - locale +title: 'Default cron handler' +id: locale_cron +weight: 0 +module: locale +callback: locale_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.matomo_cron.yml b/config/install/ultimate_cron.job.matomo_cron.yml new file mode 100644 index 0000000..2ae90f5 --- /dev/null +++ b/config/install/ultimate_cron.job.matomo_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - matomo +title: 'Default cron handler' +id: matomo_cron +weight: 0 +module: matomo +callback: matomo_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.node_cron.yml b/config/install/ultimate_cron.job.node_cron.yml new file mode 100644 index 0000000..107d628 --- /dev/null +++ b/config/install/ultimate_cron.job.node_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - node +title: 'Mark old nodes as read' +id: node_cron +weight: 0 +module: node +callback: node_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.persistent_login_cron.yml b/config/install/ultimate_cron.job.persistent_login_cron.yml new file mode 100644 index 0000000..9d0766d --- /dev/null +++ b/config/install/ultimate_cron.job.persistent_login_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - persistent_login +title: 'Default cron handler' +id: persistent_login_cron +weight: 0 +module: persistent_login +callback: persistent_login_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.search_api_cron.yml b/config/install/ultimate_cron.job.search_api_cron.yml new file mode 100644 index 0000000..b01fbcb --- /dev/null +++ b/config/install/ultimate_cron.job.search_api_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - search_api +title: 'Default cron handler' +id: search_api_cron +weight: 0 +module: search_api +callback: search_api_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.system_cron.yml b/config/install/ultimate_cron.job.system_cron.yml new file mode 100644 index 0000000..c271d0e --- /dev/null +++ b/config/install/ultimate_cron.job.system_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - system +title: 'Cleanup (caches, batch, flood, temp-files, etc.)' +id: system_cron +weight: 0 +module: system +callback: system_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.ultimate_cron_cron.yml b/config/install/ultimate_cron.job.ultimate_cron_cron.yml new file mode 100644 index 0000000..48e7290 --- /dev/null +++ b/config/install/ultimate_cron.job.ultimate_cron_cron.yml @@ -0,0 +1,14 @@ +langcode: en +status: true +dependencies: { } +title: 'Runs internal cleanup operations' +id: ultimate_cron_cron +weight: 0 +module: ultimate_cron +callback: ultimate_cron_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.update_cron.yml b/config/install/ultimate_cron.job.update_cron.yml new file mode 100644 index 0000000..c47a906 --- /dev/null +++ b/config/install/ultimate_cron.job.update_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - update +title: 'Update indexes' +id: update_cron +weight: 0 +module: update +callback: update_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.job.workflow_cron.yml b/config/install/ultimate_cron.job.workflow_cron.yml new file mode 100644 index 0000000..38ce9e0 --- /dev/null +++ b/config/install/ultimate_cron.job.workflow_cron.yml @@ -0,0 +1,16 @@ +langcode: en +status: true +dependencies: + module: + - workflow +title: 'Default cron handler' +id: workflow_cron +weight: 0 +module: workflow +callback: workflow_cron +scheduler: + id: simple +launcher: + id: serial +logger: + id: database diff --git a/config/install/ultimate_cron.settings.yml b/config/install/ultimate_cron.settings.yml new file mode 100644 index 0000000..0fd5b6b --- /dev/null +++ b/config/install/ultimate_cron.settings.yml @@ -0,0 +1,33 @@ +bypass_transactional_safe_connection: false +queue: + enabled: false + timeouts: + lease_time: 30 + time: 15 + delays: + empty_delay: 0 + item_delay: 0 + throttle: + enabled: true + threads: 4 + threshold: 10 +launcher: + thread: any + max_threads: 1 + lock_timeout: 3600 + max_execution_time: 3600 +logger: + cache: + bin: ultimate_cron_logger + timeout: -1 + database: + method: 3 + expire: 1209600 + retain: 1000 +scheduler: + crontab: + catch_up: 86400 + rules: + - '*/10+@ * * * *' + simple: + rule: '*/15+@ * * * *' diff --git a/config/install/views.view.locked_content.yml b/config/install/views.view.locked_content.yml new file mode 100644 index 0000000..9362590 --- /dev/null +++ b/config/install/views.view.locked_content.yml @@ -0,0 +1,676 @@ +langcode: en +status: true +dependencies: + module: + - content_lock + - node + - user +id: locked_content +label: 'Locked content' +module: views +description: '' +tag: '' +base_table: node_field_data +base_field: nid +core: 8.x +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: perm + options: + perm: 'administer nodes' + cache: + type: none + options: { } + query: + type: views_query + options: + disable_sql_rewrite: false + distinct: true + replica: false + query_comment: '' + query_tags: { } + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: full + options: + items_per_page: 50 + offset: 0 + id: 0 + total_pages: null + tags: + previous: ‹‹ + next: ›› + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + override: true + sticky: true + caption: '' + summary: '' + description: '' + columns: + title: title + type: type + timestamp: timestamp + name: name + langcode: langcode + operations: operations + info: + title: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + type: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + timestamp: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + name: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + langcode: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + operations: + align: '' + separator: '' + empty_column: false + responsive: '' + default: timestamp + empty_table: true + row: + type: fields + fields: + title: + id: title + table: node_field_data + field: title + entity_type: node + entity_field: title + alter: + alter_text: false + make_link: false + absolute: false + trim: false + word_boundary: false + ellipsis: false + strip_tags: false + html: false + hide_empty: false + empty_zero: false + settings: + link_to_entity: true + plugin_id: field + relationship: none + group_type: group + admin_label: '' + label: Title + exclude: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_alter_empty: true + click_sort_column: value + type: string + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + label: 'Content type' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_label + settings: + link: true + group_column: target_id + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: node + entity_field: type + plugin_id: field + timestamp: + id: timestamp + table: content_lock + field: timestamp + relationship: none + group_type: group + admin_label: '' + label: 'Lock Date/Time' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + date_format: fallback + custom_date_format: '' + timezone: '' + plugin_id: date + name: + id: name + table: users_field_data + field: name + relationship: uid + group_type: group + admin_label: '' + label: 'Lock owner' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: user_name + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + entity_type: user + entity_field: name + plugin_id: field + langcode: + id: langcode + table: content_lock + field: langcode + plugin_id: langcode + exclude: false + operations: + id: operations + table: node + field: operations + relationship: none + group_type: group + admin_label: '' + label: Operations + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + destination: false + entity_type: node + plugin_id: entity_operations + filters: + is_locked: + id: is_locked + table: content_lock + field: is_locked + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: content_lock_filter + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: 1 + exposed: true + expose: + operator_id: '' + label: 'Published status' + description: '' + use_operator: false + operator: status_op + identifier: status + required: true + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + editor: '0' + seo: '0' + administrator: '0' + is_grouped: true + group_info: + label: 'Published status' + description: '' + identifier: status + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: + 1: + title: Published + operator: '=' + value: '1' + 2: + title: Unpublished + operator: '=' + value: '0' + entity_type: node + entity_field: status + plugin_id: boolean + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: type_op + label: 'Content type' + description: '' + use_operator: false + operator: type_op + identifier: type + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + editor: '0' + seo: '0' + administrator: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: node + entity_field: type + plugin_id: bundle + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + operator: contains + value: '' + group: 1 + exposed: true + expose: + operator_id: title_op + label: Title + description: '' + use_operator: false + operator: title_op + identifier: title + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + editor: '0' + seo: '0' + administrator: '0' + placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + entity_type: node + entity_field: title + plugin_id: string + sorts: + created: + id: created + table: node_field_data + field: created + order: DESC + entity_type: node + entity_field: created + plugin_id: date + relationship: none + group_type: group + admin_label: '' + exposed: false + expose: + label: '' + granularity: second + title: 'Locked content' + header: { } + footer: { } + empty: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + empty: true + tokenize: false + content: 'There is no content currently locked.' + plugin_id: text_custom + relationships: + uid: + id: uid + table: content_lock + field: uid + relationship: none + group_type: group + admin_label: 'Lock owner' + required: true + plugin_id: standard + arguments: { } + display_extenders: { } + filter_groups: + operator: AND + groups: + 1: AND + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: admin/content/locked-content + menu: + type: none + title: 'Locked content' + description: '' + expanded: false + parent: system.admin_content + weight: 0 + context: '0' + menu_name: admin + enabled: true + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: { } diff --git a/figli_starter_kit.info.yml b/figli_starter_kit.info.yml index 4375936..1ef417b 100644 --- a/figli_starter_kit.info.yml +++ b/figli_starter_kit.info.yml @@ -46,19 +46,28 @@ dependencies: - 'actions_permissions' - 'admin_toolbar' - 'admin_toolbar_links_access_filter' + - 'advanced_text_formatter' - 'audiofield' + - 'autocomplete_deluxe' - 'autologout' + - 'better_exposed_filters' + - 'betterlogin' - 'better_messages' + - 'block_class' - 'bulkdelete' - 'config_devel' - 'config_filter' - 'config_ignore' - 'config_translation' - 'config_update' + - 'content_lock' + - 'content_lock_timeout' - 'content_translation' - 'context' - 'context_ui' - 'ctools' + - 'ctools_block' + - 'ctools_views' - 'date_range_formatter' - 'devel' - 'devel_generate' @@ -67,28 +76,42 @@ dependencies: - 'domain_config' - 'domain_site_settings' - 'email_registration' + - 'embed' + - 'entity_browser' + - 'entity_browser_enhanced' - 'extlink' - 'field_group' - 'filefield_sources' - 'filter_perms' - 'honeypot' + - 'inline_entity_form' - 'kint' + - 'link_attributes' - 'linkit' + - 'login_destination' - 'maillog' + - 'mailsystem' - 'matomo' + - 'maxlength' - 'menu_admin_per_menu' + - 'menu_block' - 'path_alias_xt' - 'pathauto' + - 'pathologic' + - 'persistent_login' - 'profile' - 'redirect' - 'token' - 'toolbar_themes' - - 'url_to_video_filter' - 'translation_views' - 'redis' - 'search_api' - 'search_api_db' + - 'smart_trim' + - 'smtp' - 'synonyms' + - 'url_to_video_filter' + - 'ultimate_cron' - 'views_bulk_edit' - 'views_bulk_operations' - 'workflow'