forked from linnovate/openideal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request linnovate#66 from istolar/OI-74-automatically-foll…
…ow-group-ideas OI-74 Automatically follow group ideas.
- Loading branch information
Showing
20 changed files
with
349 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,5 @@ content: | |
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: { } | ||
hidden: | ||
addtoany: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,5 @@ content: | |
third_party_settings: { } | ||
region: content | ||
hidden: | ||
addtoany: true | ||
field_faq_items: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- votingapi | ||
id: vote.token | ||
label: Token | ||
targetEntityType: vote | ||
cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- votingapi | ||
id: vote_result.token | ||
label: Token | ||
targetEntityType: vote_result | ||
cache: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
name: mentions_icon | ||
label: 'CKEditor Mentions Icon' | ||
effects: | ||
fa871714-f0f7-48fb-9ae7-e0b9bea3318f: | ||
uuid: fa871714-f0f7-48fb-9ae7-e0b9bea3318f | ||
id: image_scale_and_crop | ||
weight: 0 | ||
data: | ||
width: 20 | ||
height: 20 | ||
anchor: center-center |
4 changes: 1 addition & 3 deletions
4
config/install/rabbit_hole.behavior_settings.node_type_idea.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
config/install/rabbit_hole.behavior_settings.taxonomy_vocabulary_idea_lifecycle_phase.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
config/install/rules.reaction.follow_idea_after_joining_group.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: follow_idea_after_joining_group | ||
label: 'Set the user to follow the idea after joining the group.' | ||
events: | ||
- | ||
event_name: openideal_user.user_joined_group | ||
description: '' | ||
tags: { } | ||
config_version: '3' | ||
expression: | ||
id: rules_rule | ||
uuid: 4da5c6e8-b04c-4008-ab13-e3451492b751 | ||
weight: 0 | ||
conditions: | ||
id: rules_and | ||
uuid: 0f2245d4-056b-41b8-a54d-bbfac43c0efb | ||
weight: 0 | ||
conditions: | ||
- | ||
id: rules_condition | ||
uuid: 566fa3aa-9839-4a88-804e-86bce6911194 | ||
weight: 0 | ||
context_values: | ||
operation: '==' | ||
value: idea | ||
context_mapping: | ||
data: node.type.target_id | ||
context_processors: | ||
operation: | ||
rules_tokens: { } | ||
value: | ||
rules_tokens: { } | ||
provides_mapping: { } | ||
condition_id: rules_data_comparison | ||
negate: false | ||
actions: | ||
id: rules_action_set | ||
uuid: 7db1f1f7-b94d-4422-a7e1-f46ee3654d33 | ||
weight: 0 | ||
actions: | ||
- | ||
id: rules_action | ||
uuid: ac82e6de-b6a8-4712-ac71-87101858a0ba | ||
weight: 0 | ||
context_values: | ||
operation: flag | ||
flag_id: follow | ||
context_mapping: | ||
entity: node | ||
user: user | ||
context_processors: | ||
operation: | ||
rules_tokens: { } | ||
flag_id: | ||
rules_tokens: { } | ||
provides_mapping: { } | ||
action_id: openideal_user_flag_action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
status_activated: | ||
subject: 'Account details for [user:display-name] at [site:name] (approved)' | ||
body: "[user:display-name],\r\n\r\nYour account at [site:name] has been activated.\r\n\r\nYou may now log in by clicking this link or copying and pasting it into your browser:\r\n\r\n[user:one-time-login-url]\r\n\r\nThis link can only be used once to log in and will lead you to a page where you can set your password.\r\n\r\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\r\n\r\nusername: [user:account-name]\r\npassword: Your password\r\n\r\n-- [site:name] team" | ||
subject: 'Account details for [user:display-name] at [site:name]' | ||
body: "[user:display-name],\n\nYour account at [site:name] has been activated.\n\nYou will be able to log in to [site:login-url] in the future using:\n\nusername: [user:name]\npassword: your password.\n\n-- [site:name] team" | ||
langcode: en |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.