Skip to content

Commit

Permalink
OI-166, 246, 206, 243, 85, 258, 255 (#138)
Browse files Browse the repository at this point in the history
* OI-246 Removed link to content from News title, fixed tags visibility on News page itself and inside the /news. Fixed "User page" condition submit logic.

* OI-206 Changed thumbnail style to compact_user_icon in next user view modes: additional details, default, edit.

* OI-243 Change OpenidealIdeaUpdateInfo create and change date formats. Fix CSS styles for right sidebar of content types canonical pages.

* OI-85 Fix CSS for workflow block, and mobile view of /idea page.

* Reverted composer.json changes.

* OI-243 Removed unneeded code.

* OI-125,142 Changed moderation content view title, and altered local task title. Changed slideshow arrows.

* OI-246. Implemented OpenidealRRSSBBlock, which provide ability to set an entity from context e.g. from layout builder. Implemented styles for /news page.

* OI-159 Implement: "user_mention" Message template, Rules action - "Create message after mentioning user". Add appropriate message_template texts for the message displayed itslef, email subject and body. Add additional conditions for "activity feed" views. Rework the MessageAction.

* OI-166 Replace the voting apis form's ajax submit handler. Implement logic to update the count of like in real time.

* OI-166 Add todo.

* OI-159 Implemented logic to change the showed text for user mention activity for current user page, and others users pages. Fixed the pswp image arrows on mobile screen. Fixed logic to send the message during user mentions only for mentioned user.

* OI-166 Fix bug related to rules, and voting, add additional condition to rules action. Reworked _openideal_challenge_vote_ajax_submit logic, add additional ajax command to response. Remove unneeded logic from scripts.

* OI-159 Move logic of changing the partial field into mentions entity preprocess.

* OI-159 Add delta to getText method.

* OI-242 Remove image button. OI-113 Increase size of the modal for entity browser.

* OI-00 Change the gulp script, remove source map and cleanCss gulp plugins.

* OI-166 Implemented new render element - Statistics theme for the element statistics_element, related twig template, ability to change attributes. Replace site_wide_statistics_block theme with statistics_item, reworked all blocks that used this theme. Implemented ability to set data-* attribute to statistics count, that adds ability to update counters in real time, without rely on css classes.

* OI-166 Add css files.

* OI-258 Implemented AutocompleteController and ideas_autocomplete_entity_reference views entity reference for ideas autocomplete. Add the ability to show autocomplete for title field of the Idea.

* OI-258 Reworked IdeasAutocompleteController to use entity_reference_selection plugin, implemented ability to add the url to autocomplete keys. Implemented script that listen "autocompleteselect" event, and redirects user on autocomplete selection. Implemented logic to show message after user being redirected into possible dublication page.

* OI-258 Change query parameter name.

* OI-00 npm audit fix.

* OI-166 Workflow identification fix.

* OI-255 Reworked the openideal_user_form_user_login_form_alter hook, implemented ability to add images for the login-with template and reworked the template itself. Create a custom block type for login right section. Implemented styles for login page. Installed and configured "Underline" js library, implemented related script to make it works.

* OI-255 Implement hook_update that creates a block_content for right login section, export the block via default_content module. Implement styles for register, reset password forms. Implement modile styles for login form. Add signup, forgot password links, and related to them styles|logic.

* OI-276 Composer dependencies fix.

* OI-275 Move all logic related to login block, into openideal_login. Create libraries. Reworked openideal_user hook install, to enable the login module. Move all related to block configurations into the block.

* OI-275 Move hook_user_login into login module.

* OI-255 Small fixes.

* OI-255: Add missed module dependencies, move appropriate configuration into config/optional folder.

* OI-255: Remove useless dependence.

* OI-159 Move cache context out from if statement.

* OI-113 Change width of entity browser entity configurations.

* OI-00 Remove logic that change behavior of html[type=date] input.

* OI-255: Remove position absolute from em.

* OI-282: Sets explicit version using commit hash for ajax_comments, ckeditor_mentions. Remove useless patch for rabbit_hole module, and set 1.0-beta9 version for it.

* Removed packages with hashes from composer.json

* Sorts packages alphabetically

* Adds ckeitor_mentions and ajax_comments here.

* OI-282: Update the rabbit_hole configurations.

* OI-282: Remove unused rabbit_hole configuration.

Co-authored-by: Ivan Doroshenko <i.doroshenko@dev-branch.com>
Co-authored-by: Ivan Doroshenko <57439293+db-Matroskeen@users.noreply.github.com>
Co-authored-by: Zohar Stolar <z.stolar@gmail.com>
  • Loading branch information
4 people committed Dec 26, 2020
1 parent 2ec3cae commit 4ab2a2c
Show file tree
Hide file tree
Showing 87 changed files with 3,763 additions and 699 deletions.
46 changes: 22 additions & 24 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,34 +173,34 @@
],
"require": {
"bower-asset/c3": "^0.7.20",
"ckeditor/ajax": "4.14.1",
"ckeditor/autocomplete": "4.14.1",
"ckeditor/autoembed": "4.14.1",
"ckeditor/autolink": "4.14.1",
"ckeditor/embed": "4.14.1",
"ckeditor/embedbase": "4.14.1",
"ckeditor/embedsemantic": "4.14.1",
"ckeditor/mentions": "4.14.1",
"ckeditor/notification": "4.14.1",
"ckeditor/notificationaggregator": "4.14.1",
"ckeditor/textmatch": "4.14.1",
"ckeditor/textwatcher": "4.14.1",
"ckeditor/xml": "4.14.1",
"composer/installers": "^1.2",
"cweagans/composer-patches": "^1.6",
"drupal/admin_toolbar": "^2.2",
"drupal/adminimal_admin_toolbar": "^1.10",
"drupal/adminimal_theme": "^1.5",
"drupal/administerusersbyrole": "^3.0",
"drupal/ajax_comments": "1.x-dev",
"drupal/ajax_comments": "1.x-dev#4b0c423",
"drupal/allowed_formats": "^1.2",
"drupal/avatars": "^1.1",
"drupal/better_exposed_filters": "^4.0",
"drupal/bootstrap_barrio": "^5.0",
"drupal/ckeditor_media_embed": "^1.9",
"drupal/ckeditor_mentions": "2.x-dev",
"drupal/ckeditor_mentions": "2.x-dev#272a28e7",
"drupal/comments_order": "^1.1",
"drupal/config_pages": "^2.6",
"ckeditor/ajax": "4.14.1",
"ckeditor/autocomplete": "4.14.1",
"ckeditor/mentions": "4.14.1",
"ckeditor/textmatch": "4.14.1",
"ckeditor/textwatcher": "4.14.1",
"ckeditor/xml": "4.14.1",
"ckeditor/notificationaggregator": "4.14.1",
"ckeditor/notification": "4.14.1",
"ckeditor/autolink": "4.14.1",
"ckeditor/autoembed": "4.14.1",
"ckeditor/embedbase": "4.14.1",
"ckeditor/embedsemantic": "4.14.1",
"ckeditor/embed": "4.14.1",
"drupal/ctools": "^3.4",
"drupal/default_content": "^2.0",
"drupal/dropzonejs": "^2.1",
Expand All @@ -213,13 +213,13 @@
"drupal/group": "1.3",
"drupal/honeypot": "^2.0",
"drupal/layout_builder_styles": "^1.0@beta",
"drupal/metatag": "^1.13",
"drupal/message": "1.1",
"drupal/message_notify": "^1.1",
"drupal/metatag": "^1.13",
"drupal/moderation_state_buttons_widget": "^1.0@alpha",
"drupal/multiple_fields_remove_button": "^1.0@alpha",
"drupal/paragraphs": "^1.11",
"drupal/rabbit_hole": "^1.0-beta7",
"drupal/rabbit_hole": "1.0-beta9",
"drupal/redirect": "^1.6",
"drupal/route_condition": "^1.1",
"drupal/rrssb": "^2.2",
Expand All @@ -232,18 +232,19 @@
"drupal/twig_field_value": "^2.0",
"drupal/twig_tweak": "^2.5",
"drupal/ultimate_cron": "^2.0@alpha",
"drupal/userpoints": "^1.0@alpha",
"drupal/user_registrationpassword": "1.x-dev",
"drupal/userpoints": "^1.0@alpha",
"drupal/views_data_export": "^1.0",
"drupal/votingapi": "3.x-dev",
"drupal/votingapi_reaction": "^1.1",
"drupal/votingapi_widgets": "1.0-alpha5",
"npm-asset/masonry-layout": "^4.2",
"npm-asset/imagesloaded": "^4.1",
"npm-asset/dropzone": "^5.7",
"npm-asset/imagesloaded": "^4.1",
"npm-asset/jquery-bar-rating": "^1.2",
"npm-asset/swiper": "^6.1",
"npm-asset/link-underliner": "^1.0",
"npm-asset/masonry-layout": "^4.2",
"npm-asset/photoswipe": "^4.1",
"npm-asset/swiper": "^6.1",
"oomphinc/composer-installers-extender": "^1.1"
},
"provide": {
Expand Down Expand Up @@ -279,9 +280,6 @@
},
"drupal/group": {
"Permissions to choose which roles a member can assign, edit or delete": "https://www.drupal.org/files/issues/2020-07-27/group-user-manage-by-role-permissions-3027685-29.patch"
},
"drupal/rabbit_hole": {
"Split performAction() into submethods in PageRedirect Behaviour": "https://www.drupal.org/files/issues/2019-11-21/3095653-5.patch"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion config/install/block.block.openideal_theme_local_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ settings:
visibility:
route:
id: route
routes: entity.user.canonical
routes: "entity.user.canonical\r\nuser.login\r\nuser.logout\r\nuser.register\r\nuser.pass"
negate: true
context_mapping: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
langcode: en
status: true
dependencies:
config:
- field.field.message.user_mention.field_comment_reference
- field.field.message.user_mention.field_node_reference
- message.template.user_mention
id: message.user_mention.default
targetEntityType: message
bundle: user_mention
mode: default
content:
field_comment_reference:
weight: 1
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
field_node_reference:
weight: 0
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
type: entity_reference_autocomplete
region: content
hidden: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
langcode: en
status: true
dependencies:
config:
- field.field.message.user_mention.field_comment_reference
- field.field.message.user_mention.field_node_reference
- message.template.user_mention
id: message.user_mention.default
targetEntityType: message
bundle: user_mention
mode: default
content:
field_comment_reference:
type: entity_reference_entity_view
weight: 1
region: content
label: hidden
settings:
view_mode: message
link: false
offset: 0
limit: 0
third_party_settings: { }
partial_0:
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
field_node_reference: true
partial_1: true
partial_2: true
partial_3: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.message.mail_body
- field.field.message.user_mention.field_comment_reference
- field.field.message.user_mention.field_node_reference
- message.template.user_mention
module:
- layout_builder
third_party_settings:
layout_builder:
allow_custom: false
enabled: false
id: message.user_mention.mail_body
targetEntityType: message
bundle: user_mention
mode: mail_body
content:
partial_2:
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
field_comment_reference: true
field_node_reference: true
partial_0: true
partial_1: true
partial_3: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.message.mail_subject
- field.field.message.user_mention.field_comment_reference
- field.field.message.user_mention.field_node_reference
- message.template.user_mention
module:
- layout_builder
third_party_settings:
layout_builder:
allow_custom: false
enabled: false
id: message.user_mention.mail_subject
targetEntityType: message
bundle: user_mention
mode: mail_subject
content:
partial_1:
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
field_comment_reference: true
field_node_reference: true
partial_0: true
partial_2: true
partial_3: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.message.mentioned_user
- field.field.message.user_mention.field_comment_reference
- field.field.message.user_mention.field_node_reference
- message.template.user_mention
module:
- layout_builder
third_party_settings:
layout_builder:
allow_custom: false
enabled: false
id: message.user_mention.mentioned_user
targetEntityType: message
bundle: user_mention
mode: mentioned_user
content:
field_comment_reference:
type: entity_reference_entity_view
weight: 1
region: content
label: hidden
settings:
view_mode: message
link: false
offset: 0
limit: 0
third_party_settings: { }
partial_3:
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
field_node_reference: true
partial_0: true
partial_1: true
partial_2: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
langcode: en
status: true
dependencies:
module:
- message
id: message.mentioned_user
label: 'Mentioned user'
targetEntityType: message
cache: true
1 change: 0 additions & 1 deletion config/install/editor.editor.basic_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ settings:
name: Media
items:
- Blockquote
- DrupalImage
-
name: 'Block Formatting'
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ settings:
name: Media
items:
- Blockquote
- DrupalImage
- EmbedSemantic
-
name: 'Block formatting'
Expand Down
1 change: 0 additions & 1 deletion config/install/editor.editor.full_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ settings:
name: Media
items:
- Blockquote
- DrupalImage
- Table
- HorizontalRule
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name: openideal_file_browser
label: 'Openideal File Browser'
display: modal
display_configuration:
width: '650'
height: '500'
width: '1030'
height: '700'
link_text: 'Select files'
auto_open: false
selection_display: no_display
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name: openideal_image_browser
label: 'Openideal Image Browser'
display: modal
display_configuration:
width: '650'
height: '500'
width: '1030'
height: '700'
link_text: 'Select image'
auto_open: false
selection_display: no_display
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name: openideal_images_browser
label: 'Openideal Images Browser'
display: modal
display_configuration:
width: '650'
height: '500'
width: '1030'
height: '700'
link_text: 'Select images'
auto_open: false
selection_display: no_display
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
langcode: en
status: true
dependencies:
config:
- comment.type.comment
- field.storage.message.field_comment_reference
- message.template.user_mention
id: message.user_mention.field_comment_reference
field_name: field_comment_reference
entity_type: message
bundle: user_mention
label: 'Comment reference'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:comment'
handler_settings:
target_bundles:
comment: comment
sort:
field: _none
auto_create: false
auto_create_bundle: ''
field_type: entity_reference
Loading

0 comments on commit 4ab2a2c

Please sign in to comment.