changed default medium date format, and updated opencase

This commit is contained in:
naomi 2022-04-03 19:33:46 +01:00
parent 9c773cd81f
commit 3e324dbe7f
16 changed files with 294 additions and 43 deletions

View File

@ -42,6 +42,7 @@
"drupal/facets": "^2.0", "drupal/facets": "^2.0",
"drupal/feeds": "^3.0@alpha", "drupal/feeds": "^3.0@alpha",
"drupal/field_permissions": "^1.1", "drupal/field_permissions": "^1.1",
"drupal/hide_revision_field": "^2.2",
"drupal/password_strength": "^2.0@beta", "drupal/password_strength": "^2.0@beta",
"drupal/restui": "^1.20", "drupal/restui": "^1.20",
"drupal/route_condition": "^2.0", "drupal/route_condition": "^2.0",

50
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "763f86c57bad62b0767502334ded29a7", "content-hash": "cae722cdc05e4e2525a003694a33aa1d",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@ -94,7 +94,7 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/opencase.git", "url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/opencase.git",
"reference": "614293c11478bb2fe950cdbf9c1c637b7dabd6cc" "reference": "34b7a1c7c9a56926bd47e0b024b443033e397d1c"
}, },
"require": { "require": {
"composer/installers": "*", "composer/installers": "*",
@ -111,7 +111,7 @@
"email": "helo@autonomic.zone" "email": "helo@autonomic.zone"
} }
], ],
"time": "2022-04-03T16:52:12+00:00" "time": "2022-04-03T18:27:43+00:00"
}, },
{ {
"name": "bjeavons/zxcvbn-php", "name": "bjeavons/zxcvbn-php",
@ -3220,6 +3220,50 @@
"issues": "https://www.drupal.org/project/issues/field_permissions" "issues": "https://www.drupal.org/project/issues/field_permissions"
} }
}, },
{
"name": "drupal/hide_revision_field",
"version": "2.2.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/hide_revision_field.git",
"reference": "8.x-2.2"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/hide_revision_field-8.x-2.2.zip",
"reference": "8.x-2.2",
"shasum": "fd26577c66b6105e2a7cb1df16b2270cf21dfc04"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.2",
"datestamp": "1606459114",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "NickDickinsonWilde",
"homepage": "https://www.drupal.org/user/3094661"
}
],
"description": "Controls visibility of the revision field on content add/edit forms.",
"homepage": "https://www.drupal.org/project/hide_revision_field",
"support": {
"source": "https://git.drupalcode.org/project/hide_revision_field"
}
},
{ {
"name": "drupal/jquery_ui", "name": "drupal/jquery_ui",
"version": "1.4.0", "version": "1.4.0",

View File

@ -7,4 +7,4 @@ _core:
id: medium id: medium
label: 'Default medium date' label: 'Default medium date'
locked: false locked: false
pattern: 'D, m/d/Y - H:i' pattern: 'D, d/m/Y - H:i'

View File

@ -0,0 +1,47 @@
uuid: 83c69b0b-e1c3-413d-82df-6cc1d0f8e66c
langcode: en
status: true
dependencies:
config:
- opencase_entities.oc_activity_type.emi
module:
- hide_revision_field
id: oc_activity.emi.default
targetEntityType: oc_activity
bundle: emi
mode: default
content:
name:
type: string_textfield
weight: -3
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
time_taken:
type: number
weight: -3
region: content
settings:
placeholder: ''
third_party_settings: { }
hidden:
activity_date_time: true
client: true
description: true
oc_provider: true
oc_target: true
status: true

View File

@ -17,6 +17,7 @@ dependencies:
- opencase_entities.oc_activity_type.evaluation - opencase_entities.oc_activity_type.evaluation
module: module:
- datetime - datetime
- hide_revision_field
_core: _core:
default_config_hash: WSYAeo27GpLUUXh-PgaeoOX7BSBtIlkzHsgKXjgDbt4 default_config_hash: WSYAeo27GpLUUXh-PgaeoOX7BSBtIlkzHsgKXjgDbt4
id: oc_activity.evaluation.default id: oc_activity.evaluation.default
@ -104,6 +105,18 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 14 weight: 14
@ -112,10 +125,14 @@ content:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
time_taken: time_taken:
type: number
weight: 2 weight: 2
region: content region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: number hidden:
hidden: { } client: true
description: true
oc_provider: true
oc_target: true

View File

@ -4,6 +4,8 @@ status: true
dependencies: dependencies:
config: config:
- opencase_entities.oc_activity_type.phone_call - opencase_entities.oc_activity_type.phone_call
module:
- hide_revision_field
id: oc_activity.phone_call.default id: oc_activity.phone_call.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: phone_call bundle: phone_call
@ -27,6 +29,18 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
time_taken: time_taken:
type: number type: number
weight: 1 weight: 1
@ -36,4 +50,7 @@ content:
third_party_settings: { } third_party_settings: { }
hidden: hidden:
activity_date_time: true activity_date_time: true
description: true
oc_provider: true
oc_target: true
status: true status: true

View File

@ -15,6 +15,7 @@ dependencies:
- image.style.thumbnail - image.style.thumbnail
- opencase_entities.oc_activity_type.trainer_debrief - opencase_entities.oc_activity_type.trainer_debrief
module: module:
- hide_revision_field
- image - image
id: oc_activity.trainer_debrief.default id: oc_activity.trainer_debrief.default
targetEntityType: oc_activity targetEntityType: oc_activity
@ -102,6 +103,18 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 10 weight: 10
@ -112,5 +125,7 @@ content:
hidden: hidden:
activity_date_time: true activity_date_time: true
client: true client: true
description: true
name: true name: true
oc_target: true
time_taken: true time_taken: true

View File

@ -15,6 +15,7 @@ dependencies:
- image.style.thumbnail - image.style.thumbnail
- opencase_entities.oc_actor_type.trainer - opencase_entities.oc_actor_type.trainer
module: module:
- hide_revision_field
- image - image
- paragraphs - paragraphs
_core: _core:
@ -143,6 +144,18 @@ content:
rows: 5 rows: 5
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 13 weight: 13

View File

@ -11,6 +11,7 @@ dependencies:
module: module:
- datetime - datetime
- file - file
- hide_revision_field
id: oc_case.project.default id: oc_case.project.default
targetEntityType: oc_case targetEntityType: oc_case
bundle: project bundle: project
@ -27,17 +28,29 @@ content:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_contract_signed_date: field_contract_signed_date:
type: datetime_default
weight: 2 weight: 2
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: datetime_default
region: content
files: files:
type: file_generic type: file_generic
weight: 1 weight: 1
region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
@ -51,4 +64,5 @@ hidden:
field_fee: true field_fee: true
field_total_fee: true field_total_fee: true
notes: true notes: true
oc_target: true
user_id: true user_id: true

View File

@ -16,6 +16,7 @@ dependencies:
module: module:
- datetime - datetime
- file - file
- hide_revision_field
_core: _core:
default_config_hash: dxPm53tH_SWeTJgZIfdHIIiEb4vSzqADMzUemllj8rk default_config_hash: dxPm53tH_SWeTJgZIfdHIIiEb4vSzqADMzUemllj8rk
id: oc_case.training.default id: oc_case.training.default
@ -89,6 +90,18 @@ content:
rows: 5 rows: 5
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 8 weight: 8
@ -100,4 +113,5 @@ hidden:
feeds_item: true feeds_item: true
field_number_of_participants: true field_number_of_participants: true
field_trainer: true field_trainer: true
oc_target: true
user_id: true user_id: true

View File

@ -5,6 +5,8 @@ dependencies:
config: config:
- field.field.oc_case_fee.project_fee.feeds_item - field.field.oc_case_fee.project_fee.feeds_item
- opencase_cases.oc_case_fee_type.project_fee - opencase_cases.oc_case_fee_type.project_fee
module:
- hide_revision_field
id: oc_case_fee.project_fee.default id: oc_case_fee.project_fee.default
targetEntityType: oc_case_fee targetEntityType: oc_case_fee
bundle: project_fee bundle: project_fee
@ -27,8 +29,21 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
hidden: hidden:
feeds_item: true feeds_item: true
name: true name: true
oc_case: true
status: true status: true
user_id: true user_id: true

View File

@ -7,6 +7,8 @@ dependencies:
- field.field.oc_case_provision.trainer.field_rate - field.field.oc_case_provision.trainer.field_rate
- field.field.oc_case_provision.trainer.field_rate_type - field.field.oc_case_provision.trainer.field_rate_type
- opencase_cases.oc_case_provision_type.trainer - opencase_cases.oc_case_provision_type.trainer
module:
- hide_revision_field
id: oc_case_provision.trainer.default id: oc_case_provision.trainer.default
targetEntityType: oc_case_provision targetEntityType: oc_case_provision
bundle: trainer bundle: trainer
@ -51,6 +53,18 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
hidden: hidden:
feeds_item: true feeds_item: true
name: true name: true

View File

@ -21,6 +21,7 @@ dependencies:
module: module:
- datetime - datetime
- file - file
- hide_revision_field
_core: _core:
default_config_hash: OUNi7pV7COebgUedxmuEz4ZF1VF4QDet2AcZ_2j3jQs default_config_hash: OUNi7pV7COebgUedxmuEz4ZF1VF4QDet2AcZ_2j3jQs
id: oc_organisation.client.default id: oc_organisation.client.default
@ -29,90 +30,90 @@ bundle: client
mode: default mode: default
content: content:
field_accreditation_date: field_accreditation_date:
weight: 5
settings: { }
third_party_settings: { }
type: datetime_default type: datetime_default
weight: 5
region: content region: content
settings: { }
third_party_settings: { }
field_client_status: field_client_status:
type: options_select
weight: 4 weight: 4
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select
region: content
field_client_substatus: field_client_substatus:
type: options_select
weight: 3 weight: 3
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select
region: content
field_client_subtype: field_client_subtype:
type: options_select
weight: 2 weight: 2
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select
region: content
field_client_type: field_client_type:
weight: 1
settings: { }
third_party_settings: { }
type: options_select type: options_select
weight: 1
region: content region: content
field_how_did_you_hear_about_us:
weight: 12
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_how_did_you_hear_about_us:
type: options_buttons type: options_buttons
weight: 12
region: content region: content
settings: { }
third_party_settings: { }
field_location_festival_event: field_location_festival_event:
weight: 9
settings:
size: 60
placeholder: ''
third_party_settings: { }
type: string_textfield type: string_textfield
weight: 9
region: content region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_number_of_events_per_year: field_number_of_events_per_year:
type: number
weight: 10 weight: 10
region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: number
region: content
field_number_of_staff: field_number_of_staff:
type: number
weight: 8 weight: 8
region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: number
region: content
field_premises_capacity: field_premises_capacity:
weight: 7
settings:
placeholder: ''
third_party_settings: { }
type: number type: number
weight: 7
region: content region: content
settings:
placeholder: ''
third_party_settings: { }
field_tags: field_tags:
type: entity_reference_autocomplete
weight: 11 weight: 11
region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
match_limit: 10 match_limit: 10
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_umbrella_client: field_umbrella_client:
type: entity_reference_autocomplete
weight: 6 weight: 6
region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
match_limit: 10 match_limit: 10
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete
region: content
name: name:
type: string_textfield type: string_textfield
weight: 0 weight: 0
@ -121,6 +122,18 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 13 weight: 13

View File

@ -6,6 +6,7 @@ dependencies:
- opencase_entities.oc_organisation_type.partner_organisation - opencase_entities.oc_organisation_type.partner_organisation
module: module:
- file - file
- hide_revision_field
id: oc_organisation.partner_organisation.default id: oc_organisation.partner_organisation.default
targetEntityType: oc_organisation targetEntityType: oc_organisation
bundle: partner_organisation bundle: partner_organisation
@ -19,6 +20,18 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 1 weight: 1

View File

@ -9,6 +9,7 @@ dependencies:
- opencase_entities.oc_organisation_type.umbrella_client - opencase_entities.oc_organisation_type.umbrella_client
module: module:
- file - file
- hide_revision_field
_core: _core:
default_config_hash: OC8jnc4KZMX-3IOvNhREzEIJ2cAagpxmwKeeUoAbYIc default_config_hash: OC8jnc4KZMX-3IOvNhREzEIJ2cAagpxmwKeeUoAbYIc
id: oc_organisation.umbrella_client.default id: oc_organisation.umbrella_client.default
@ -17,21 +18,21 @@ bundle: umbrella_client
mode: default mode: default
content: content:
field_tags: field_tags:
type: entity_reference_autocomplete
weight: 2 weight: 2
region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
match_limit: 10 match_limit: 10
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_type_of_umbrella_client: field_type_of_umbrella_client:
type: options_select
weight: 1 weight: 1
region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
type: options_select
region: content
name: name:
type: string_textfield type: string_textfield
weight: 0 weight: 0
@ -40,6 +41,18 @@ content:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 3 weight: 3

View File

@ -80,6 +80,7 @@ module:
views_autosubmit: 0 views_autosubmit: 0
views_summarize: 0 views_summarize: 0
views_ui: 0 views_ui: 0
hide_revision_field: 1
password_policy: 10 password_policy: 10
views: 10 views: 10
paragraphs: 11 paragraphs: 11