displaying date on activities, tidied activity fields
Some checks failed
continuous-integration/drone/push Build is failing

also removed swiftmailer as it didn't help with html email alerts
This commit is contained in:
naomi 2022-05-16 19:33:13 +01:00
parent 1aba044044
commit 1717b830af
11 changed files with 3869 additions and 2098 deletions

View File

@ -31,6 +31,7 @@
"drupal/better_exposed_filters": "^5.0", "drupal/better_exposed_filters": "^5.0",
"drupal/content_as_config": "^1.0", "drupal/content_as_config": "^1.0",
"drupal/core-composer-scaffold": "^9", "drupal/core-composer-scaffold": "^9",
"drupal/core-dev": "^9.3",
"drupal/core-project-message": "^9", "drupal/core-project-message": "^9",
"drupal/core-recommended": "^9", "drupal/core-recommended": "^9",
"drupal/ctools": "^3.7", "drupal/ctools": "^3.7",
@ -59,6 +60,7 @@
"require-dev": { "require-dev": {
"drupal/console": "^1.9", "drupal/console": "^1.9",
"drupal/devel": "^4.1", "drupal/devel": "^4.1",
"phpspec/prophecy-phpunit": "^2",
"phpunit/phpunit": "^9.5" "phpunit/phpunit": "^9.5"
}, },
"conflict": { "conflict": {
@ -72,7 +74,8 @@
"composer/installers": true, "composer/installers": true,
"drupal/console-extend-plugin": true, "drupal/console-extend-plugin": true,
"drupal/core-composer-scaffold": true, "drupal/core-composer-scaffold": true,
"drupal/core-project-message": true "drupal/core-project-message": true,
"dealerdirect/phpcodesniffer-composer-installer": true
} }
}, },
"extra": { "extra": {

5795
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -5,43 +5,39 @@ dependencies:
config: config:
- opencase_entities.oc_activity_type.emi - opencase_entities.oc_activity_type.emi
module: module:
- hide_revision_field - datetime
id: oc_activity.emi.default id: oc_activity.emi.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: emi bundle: emi
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description:
type: string_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
name: name:
type: string_textfield type: string_textfield
weight: -3 weight: 1
region: content region: content
settings: settings:
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:
type: number
weight: -3
region: content
settings:
placeholder: ''
third_party_settings: { }
hidden: hidden:
activity_date_time: true
client: true client: true
description: true
oc_provider: true oc_provider: true
oc_target: true oc_target: true
revision_log: true
status: true status: true
time_taken: true
user_id: true

View File

@ -4,11 +4,19 @@ status: true
dependencies: dependencies:
config: config:
- opencase_entities.oc_activity_type.phone_call - opencase_entities.oc_activity_type.phone_call
module:
- datetime
id: oc_activity.phone_call.default id: oc_activity.phone_call.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: phone_call bundle: phone_call
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
weight: 0
region: content
settings: { }
third_party_settings: { }
description: description:
type: string_textarea type: string_textarea
weight: 2 weight: 2
@ -19,24 +27,17 @@ content:
third_party_settings: { } third_party_settings: { }
name: name:
type: string_textfield type: string_textfield
weight: 0 weight: 1
region: content region: content
settings: settings:
size: 60 size: 60
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
time_taken:
type: number
weight: 1
region: content
settings:
placeholder: ''
third_party_settings: { }
hidden: hidden:
activity_date_time: true
client: true client: true
oc_provider: true oc_provider: true
oc_target: true oc_target: true
revision_log: true revision_log: true
status: true status: true
time_taken: true
user_id: true user_id: true

View File

@ -24,13 +24,13 @@ mode: default
content: content:
activity_date_time: activity_date_time:
type: datetime_default type: datetime_default
weight: 11 weight: 0
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_caption_for_photo: field_caption_for_photo:
type: string_textarea type: string_textarea
weight: 9 weight: 10
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -38,7 +38,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_issues_and_difficulties: field_issues_and_difficulties:
type: string_textarea type: string_textarea
weight: 4 weight: 5
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -46,7 +46,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_issues_with_group_dynamics: field_issues_with_group_dynamics:
type: string_textarea type: string_textarea
weight: 5 weight: 6
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -54,14 +54,14 @@ content:
third_party_settings: { } third_party_settings: { }
field_number_of_participants: field_number_of_participants:
type: number type: number
weight: 1 weight: 2
region: content region: content
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_photo: field_photo:
type: image_image type: image_image
weight: 8 weight: 9
region: content region: content
settings: settings:
progress_indicator: throbber progress_indicator: throbber
@ -69,7 +69,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_what_came_up_for_the_group: field_what_came_up_for_the_group:
type: string_textarea type: string_textarea
weight: 3 weight: 4
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -77,7 +77,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_what_could_be_improved_for: field_what_could_be_improved_for:
type: string_textarea type: string_textarea
weight: 7 weight: 8
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -85,7 +85,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_what_did_facilitators_do_w: field_what_did_facilitators_do_w:
type: string_textarea type: string_textarea
weight: 2 weight: 3
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -93,7 +93,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_what_real_scenarios_or_inc: field_what_real_scenarios_or_inc:
type: string_textarea type: string_textarea
weight: 6 weight: 7
region: content region: content
settings: settings:
rows: 5 rows: 5
@ -101,13 +101,13 @@ content:
third_party_settings: { } third_party_settings: { }
oc_provider: oc_provider:
type: options_select type: options_select
weight: 0 weight: 1
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 10 weight: 11
region: content region: content
settings: settings:
display_label: true display_label: true

View File

@ -6,7 +6,6 @@ dependencies:
- opencase_entities.oc_activity_type.emi - opencase_entities.oc_activity_type.emi
module: module:
- datetime - datetime
- user
id: oc_activity.emi.default id: oc_activity.emi.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: emi bundle: emi
@ -17,7 +16,7 @@ content:
label: above label: above
settings: settings:
timezone_override: '' timezone_override: ''
format_type: medium format_type: short
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 0
region: content region: content
@ -29,6 +28,13 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 1 weight: 1
region: content region: content
description:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
name: name:
type: string type: string
label: hidden label: hidden
@ -37,13 +43,10 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 2
region: content region: content
user_id:
type: author
label: above
settings: { }
third_party_settings: { }
weight: 3
region: content
hidden: hidden:
oc_provider: true
oc_target: true
search_api_excerpt: true search_api_excerpt: true
status: true
time_taken: true time_taken: true
user_id: true

View File

@ -5,19 +5,28 @@ dependencies:
config: config:
- opencase_entities.oc_activity_type.phone_call - opencase_entities.oc_activity_type.phone_call
module: module:
- user - datetime
id: oc_activity.phone_call.default id: oc_activity.phone_call.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: phone_call bundle: phone_call
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: short
third_party_settings: { }
weight: 0
region: content
client: client:
type: entity_reference_label type: entity_reference_label
label: above label: above
settings: settings:
link: true link: true
third_party_settings: { } third_party_settings: { }
weight: 0 weight: 1
region: content region: content
description: description:
type: basic_string type: basic_string
@ -34,27 +43,10 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 2 weight: 2
region: content region: content
time_taken:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 1
region: content
user_id:
type: author
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
hidden: hidden:
activity_date_time: true
oc_provider: true oc_provider: true
oc_target: true oc_target: true
search_api_excerpt: true search_api_excerpt: true
status: true status: true
time_taken: true
user_id: true

View File

@ -26,9 +26,9 @@ content:
label: above label: above
settings: settings:
timezone_override: '' timezone_override: ''
format_type: medium format_type: short
third_party_settings: { } third_party_settings: { }
weight: 11 weight: 0
region: content region: content
field_caption_for_photo: field_caption_for_photo:
type: basic_string type: basic_string
@ -97,14 +97,6 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 7 weight: 7
region: content region: content
name:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
oc_provider: oc_provider:
type: entity_reference_label type: entity_reference_label
label: above label: above
@ -116,6 +108,7 @@ content:
hidden: hidden:
client: true client: true
description: true description: true
name: true
oc_target: true oc_target: true
search_api_excerpt: true search_api_excerpt: true
status: true status: true

View File

@ -45,6 +45,7 @@ module:
jquery_ui_touch_punch: 0 jquery_ui_touch_punch: 0
jsonapi: 0 jsonapi: 0
link: 0 link: 0
mailsystem: 0
menu_link_content: 0 menu_link_content: 0
menu_ui: 0 menu_ui: 0
node: 0 node: 0

View File

@ -0,0 +1,11 @@
_core:
default_config_hash: IhwTepsVwtbtbcT5GzQKhCXDCRvbk3MNkWqPiuiZ10s
theme: current
defaults:
sender: php_mail
formatter: php_mail
modules:
swiftmailer:
none:
sender: swiftmailer
formatter: swiftmailer

View File

@ -150,7 +150,7 @@ display:
type: datetime_default type: datetime_default
settings: settings:
timezone_override: '' timezone_override: ''
format_type: medium format_type: short
group_column: value group_column: value
group_columns: { } group_columns: { }
group_rows: true group_rows: true