Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-921 Scheduler #66

Merged
merged 4 commits into from
Mar 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"drupal/pathauto": "^1.8",
"drupal/redirect": "^1.6",
"drupal/search_api": "^1.0",
"drupal/scheduler": "^1.3",
"drupal/select2": "^1.12",
"drupal/social_media": "^1.8",
"drupal/simple_sitemap": "^3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ content:
third_party_settings: { }
url_redirects:
weight: 50
region: content
settings: { }
third_party_settings: { }
region: content
hidden: { }
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ filters:
allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <p class><footer class><br> <div class><span class aria-hidden> <img src alt height width data-entity-type data-entity-uuid data-align data-caption data-responsive-image-style> <a href hreflang !href accesskey id rel target title class> <pre> <iframe allowfullscreen frameborder height mozallowfullscreen src webkitallowfullscreen width id> <s> <sup> <sub> <table> <caption> <tbody> <thead> <tfoot> <th> <td> <tr> <hr>'
filter_html_help: true
filter_html_nofollow: false
filter_htmlcorrector:
id: filter_htmlcorrector
provider: filter
status: true
weight: 10
settings: { }
filter_url:
id: filter_url
provider: filter
Expand All @@ -36,9 +42,3 @@ filters:
weight: 0
settings:
title: true
filter_htmlcorrector:
id: filter_htmlcorrector
provider: filter
status: true
weight: 10
settings: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
display:
default:
display_options:
exposed_form:
options:
submit_button: Suodatin
reset_button_label: Palauta
exposed_sorts_label: Lajittele
sort_asc_label: Nousevasti
sort_desc_label: Laskevasti
pager:
options:
tags:
previous: '‹ edellinen'
next: 'seuraava ›'
first: '« ensimmäinen'
last: 'viimeinen »'
fields:
node_bulk_form:
action_title: Toiminto
title:
label: Otsikko
separator: ', '
type:
label: Sisältötyyppi
separator: ', '
name:
label: Tekijä
separator: ', '
status:
label: Tila
settings:
format_custom_true: Julkaistu
format_custom_false: Julkaisematon
separator: ', '
publish_on:
label: Julkaisupäivämäärä
separator: ', '
unpublish_on:
label: 'Julkaisun peruutuspäivämäärä'
separator: ', '
operations:
label: Toimenpiteet
filters:
title:
expose:
label: Otsikko
type:
expose:
label: Sisältötyyppi
status:
expose:
label: Tila
group_info:
label: Julkaisutila
group_items:
1:
title: Julkaistu
2:
title: Julkaisematon
langcode:
expose:
label: Kieli
display_title: Isäntä
overview:
display_options:
menu:
title: Ajastettu
tab_options:
title: Sisältö
user_page:
display_options:
menu:
title: Ajastettu
tab_options:
title: Sisältö
arguments:
uid:
exception:
title: Kaikki
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
display:
default:
display_options:
exposed_form:
options:
submit_button: Фильтр
reset_button_label: Сбросить
exposed_sorts_label: 'Сортировать по'
sort_asc_label: 'По возрастанию'
sort_desc_label: 'По убыванию'
pager:
options:
tags:
previous: '‹ предыдущая'
next: 'следующая ›'
first: '« первая'
last: 'последняя »'
fields:
node_bulk_form:
action_title: Действие
title:
label: Заголовок
separator: ', '
type:
label: 'Тип материала'
separator: ', '
name:
label: Автор
separator: ', '
status:
label: Статус
settings:
format_custom_true: Опубликовано
format_custom_false: 'Снято с публикации'
separator: ', '
publish_on:
label: Опубликовать
separator: ', '
unpublish_on:
label: 'Снять с публикации'
separator: ', '
operations:
label: Операции
filters:
title:
expose:
label: Заголовок
type:
expose:
label: 'Тип материала'
status:
expose:
label: Статус
group_info:
label: 'Статус публикации'
group_items:
1:
title: Опубликовано
2:
title: 'Снято с публикации'
langcode:
expose:
label: Язык
display_title: Основной
overview:
display_options:
menu:
title: Запланировано
tab_options:
title: Содержимое
user_page:
display_options:
menu:
title: Запланировано
tab_options:
title: Содержимое
arguments:
uid:
exception:
title: Все
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
display:
default:
display_options:
exposed_form:
options:
submit_button: Filtrera
reset_button_label: Återställ
exposed_sorts_label: 'Sortera efter'
sort_asc_label: Stigande
sort_desc_label: Fallande
pager:
options:
tags:
previous: '‹ föregående'
next: 'nästa ›'
first: '« första'
last: 'sista »'
fields:
node_bulk_form:
action_title: Åtgärd
title:
label: Titel
separator: ', '
type:
label: Innehållstyp
separator: ', '
name:
label: Författare
separator: ', '
status:
label: Status
settings:
format_custom_true: Publicerad
format_custom_false: 'Ej publicerad'
separator: ', '
publish_on:
label: 'Publicera den'
separator: ', '
unpublish_on:
label: 'Avpublicera den'
separator: ', '
operations:
label: Funktioner
filters:
title:
expose:
label: Titel
type:
expose:
label: Innehållstyp
status:
expose:
label: Status
group_info:
label: 'Status för publicering'
group_items:
1:
title: Publicerad
2:
title: 'Ej publicerad'
langcode:
expose:
label: Språk
display_title: Huvud
overview:
display_options:
menu:
title: Schemalagd
tab_options:
title: Innehåll
user_page:
display_options:
menu:
title: Schemalagd
tab_options:
title: Innehåll
arguments:
uid:
exception:
title: Alla
14 changes: 14 additions & 0 deletions features/helfi_content/config/install/node.type.article.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,24 @@ status: true
dependencies:
module:
- menu_ui
- scheduler
third_party_settings:
menu_ui:
available_menus: { }
parent: ''
scheduler:
expand_fieldset: when_required
fields_display_mode: vertical_tab
publish_enable: true
publish_past_date: error
publish_past_date_created: false
publish_required: false
publish_revision: false
publish_touch: true
show_message_after_update: true
unpublish_enable: true
unpublish_required: false
unpublish_revision: false
name: Article
type: article
description: 'Content type for article-like content with rich editing capabilities.'
Expand Down
14 changes: 14 additions & 0 deletions features/helfi_content/config/install/node.type.landing_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,25 @@ status: true
dependencies:
module:
- menu_ui
- scheduler
third_party_settings:
menu_ui:
available_menus:
- main
parent: 'main:'
scheduler:
expand_fieldset: when_required
fields_display_mode: vertical_tab
publish_enable: true
publish_past_date: error
publish_past_date_created: false
publish_required: false
publish_revision: false
publish_touch: true
show_message_after_update: true
unpublish_enable: true
unpublish_required: false
unpublish_revision: false
name: 'Landing page'
type: landing_page
description: 'Content type for pages which serves as an entry point for a particular section of the site. Use landing page when you want to create a collection of links and information about a certain subject. '
Expand Down
14 changes: 14 additions & 0 deletions features/helfi_content/config/install/node.type.page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,25 @@ status: true
dependencies:
module:
- menu_ui
- scheduler
third_party_settings:
menu_ui:
available_menus:
- main
parent: 'main:'
scheduler:
expand_fieldset: when_required
fields_display_mode: vertical_tab
publish_enable: true
publish_past_date: error
publish_past_date_created: false
publish_required: false
publish_revision: false
publish_touch: true
show_message_after_update: true
unpublish_enable: true
unpublish_required: false
unpublish_revision: false
name: Page
type: page
description: 'Content type for pages that include information that doesn''t age as quickly as for example article or news content.'
Expand Down
21 changes: 21 additions & 0 deletions features/helfi_content/config/install/scheduler.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
allow_date_only: false
date_format: 'Y-m-d H:i:s'
date_letters: djmnFMyY
date_only_format: Y-m-d
default_expand_fieldset: when_required
default_fields_display_mode: vertical_tab
default_publish_enable: false
default_publish_past_date: error
default_publish_past_date_created: false
default_publish_required: false
default_publish_revision: false
default_publish_touch: false
default_show_message_after_update: true
default_time: '00:00:00'
default_unpublish_enable: false
default_unpublish_required: false
default_unpublish_revision: false
lightweight_cron_access_key: 4b55ad815783dea619af
log: true
time_letters: hHgGisaA
time_only_format: 'H:i:s'
2 changes: 2 additions & 0 deletions features/helfi_content/config/install/user.role.admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ permissions:
- 'revert article revisions'
- 'revert landing_page revisions'
- 'revert page revisions'
- 'schedule publishing of nodes'
- 'translate any entity'
- 'translate article node'
- 'translate editable entities'
Expand All @@ -108,5 +109,6 @@ permissions:
- 'view own unpublished media'
- 'view page revisions'
- 'view remote entities'
- 'view scheduled content'
- 'view the administration theme'
- 'view unpublished paragraphs'
Loading