To connect, the user might sign with his wallet (using his private key) an arbitrary message provided by the Drupal site, to be verified against his public key before saving onto the user entity.
Any possibility to see this module on Drupal 10?
Actually, the headingsOffset doesn't brake the scrolling, but it doesn't look like it's doing anything either..
I tried from 20 to 120 and I saw no change.
Assuming the library itself works correctly, there might be work to do in this module.
I just tested it.
Two new fields are added to the config page.
headingsOffset seems to work properly, while scrollSmoothOffset seems broken (or I don't understand how it should work). For example I tried adding 20
and it broke the smooth scrolling.
So which one should we test?
That MR removed the error and made openai_eca usable, thank you!
Yeah I can confirm. And admin user always see textarea, while a normal user, when the default to create a revision is disabled on the node type, will see the checkbox but not the textarea after enabling it 😅 Drupal 10.3.0-rc1
I've never made a drupal module MR on Gitlab so I'm not sure I can do it soon (I was just reviewing modules to make some fresh recipes for site builders), but I can try!
This is a very annoying error considering it happens on a fresh install of Drupal core only (10.3.0-rc1), ie. on ANY website, for the site builder.
After adding a few modules you can even easily get out of memory errors (>1GB) for doing a Flush all caches from the Admin toolbar link (with the site still being blank!).
kopeboy → created an issue.
That would work perfectly!
Yep, that patch removed the error and the module seems to be working fine.
Thank you @anybody
No it's not possible.
You could copy from the unique_content_field_validation
module, which already supports Taxonomy (you can see the unique checkbox when creating a Vocabulary, so that you don't have to override base fields, which by default are not shown on the UI), but is not using AJAX.
This modules seems very handy to onboard new developers / ambitious site-builders to Drupal!
Could you please provide a Drupal 10 compatible version? 🙏🏻
Oh, just to clarify, I think just checking for a single field uniqueness, which has its own column in the db, ie. by adding the Unique checkbox in the configuration form of each of the custom_field components, would be nice. No need to check some uniqueness by composition of the members.
I don't think so since I installed pathauto and ctools is still disabled.
I confirm that removed the error message.
Which one is better?
I can confirm I'm having this error twice now (on two different sites), and it doesn't allow me to change any text format configuration that has CKEditor5 anymore.
Drupal 10.2.6 doesn't have this. This doesn't come out of the box but after playing around with CKEditor toolbar or removing a text format.
kopeboy → created an issue.
I mean, I haven't written any code, but just by generating the keys at the modules configuration pages makes my site unusable.. that alert should show only on specific pages or once, no?
This would be a killer feature!
Please consider ECA instead of Rules integration.
I don't think it's possible... Like any other add-on on the text formats & editors, you decide which role can use the text format containing the feature provided by this module.
For more granularity, just create a new text format at /admin/config/content/formats, select the roles who can use it accordingly, select CKEditor 5 as Text editor and drag this modules' widget in the Active toolbar.
Yes please. I can't update any of my text formats using CKEditor cause of this error.
Can you please re-roll? I cannot find to which version to apply that patch and test it.
I support this change, cause I cannot find a way to set correct key paths on my local DDEV Drupal instance 😩
Cause I see core/recipes in this project, but I don't see how Startshot depends on this.. Maybe I should ask there 😅 sorry
Would be nice if we could count the requests & responses to JSON:API per session and user.
Actually there was an error at extlink.install: the update was re-declared but I think it should replace the previous extlink_update_8103
I'm noob but after this my updb worked.
I consider this reviewed as I only re-applied @sander.bras work from #23 and tested that it worked.
I think you're right, according to my tests it's the relationship permission that enables adding entities to groups.
Actually, by reading the last comment on the related issue I thought this was solved only on the 2.3 version and on Drupal 10.1, but apparently the issue applies to 3.3 and Drupal 10.2.5 as well. Just tested 3.3.x-dev and it got fixed.
Sorry for the noise everyone.
Why don't you read before commenting?
On a fresh install of Drupal 10.2.5 and this module, without enabling any submodule
I just reinstalled my test site again to be sure (with ddev drush si
) and I confirm both the problems above.
Here my status report:
Here's my composer.json:
{
"name": "drupal/recommended-project",
"description": "Project template for Drupal projects with a relocated document root",
"type": "project",
"license": "GPL-2.0-or-later",
"homepage": "https://www.drupal.org/project/drupal",
"support": {
"docs": "https://www.drupal.org/docs/user_guide/en/index.html",
"chat": "https://www.drupal.org/node/314178"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"require": {
"composer/installers": "^2.0",
"cweagans/composer-patches": "^1.7",
"drupal/admin_toolbar": "^3.4",
"drupal/core-composer-scaffold": "^10.2",
"drupal/core-project-message": "^10.2",
"drupal/core-recommended": "^10.2",
"drupal/group": "^3.2",
"drush/drush": "^12.4"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "alpha",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"cweagans/composer-patches": true
},
"sort-packages": true
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "web/"
}
},
"installer-paths": {
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library"
],
"web/modules/contrib/{$name}": [
"type:drupal-module"
],
"web/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"web/profiles/custom/{$name}": [
"type:drupal-custom-profile"
],
"web/themes/custom/{$name}": [
"type:drupal-custom-theme"
]
},
"drupal-core-project-message": {
"include-keys": [
"homepage",
"support"
],
"post-create-project-cmd-message": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
"<bg=blue;fg=white> from the drupal/recommended-project template! </>",
"<bg=blue;fg=white> </>",
"",
"<bg=yellow;fg=black>Next steps</>:",
" * Install the site: https://www.drupal.org/docs/installing-drupal",
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
" * Get support: https://www.drupal.org/support",
" * Get involved with the Drupal community:",
" https://www.drupal.org/getting-involved",
" * Remove the plugin that prints this message:",
" composer remove drupal/core-project-message"
]
}
}
}
Additionally, you can find related issues, eg: here ✨ Implement a generic revision UI Fixed
kopeboy → created an issue.
Fortunately I found the
highlightjs_input_filter module →
that does what I need (it uses the same Highlight.js library, but only filters <pre><code class="langauge-*">
.
Example: this is part of a body field edited with CKEditor.
I would like to keep `council`
inline.
Sorry but this is not only related to migrations. While building a fresh site, I created a Content moderation workflow state & transition, set up permissions on it, then deleted the transition & state, and now I can't save the /admin/people/permissions form anymore, with this error on the latest Drupal 10.3.x-dev:
(basically the related workflow transition were somehow not deleted even if they are not visible in the UI):
RuntimeException: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "use rfp transition schedule". in Drupal\user\Entity\Role->calculateDependencies() (line 207 of core/modules/user/src/Entity/Role.php).
Drupal\Core\Config\Entity\ConfigEntityBase->preSave(Object) (Line: 179)
Drupal\user\Entity\Role->preSave(Object) (Line: 528)
Drupal\Core\Entity\EntityStorageBase->doPreSave(Object) (Line: 483)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 257)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 354)
Drupal\Core\Entity\EntityBase->save() (Line: 609)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 1010)
user_role_grant_permissions('delegate', Array) (Line: 984)
user_role_change_permissions('delegate', Array) (Line: 257)
Drupal\user\Form\UserPermissionsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 129)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 67)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 597)
Drupal\Core\Form\FormBuilder->processForm('user_admin_permissions', Array, Object) (Line: 326)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 637)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 736)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Linking the same feature requested on the Workflow buttons → contrib module.
@dalin #64: Fair. I've put it as a related issue: ✨ Add a moderation state pseudo field on the view mode Active
Since we are here adding options on the Manage display tab, I would also add the option to only show the moderation state.
This can be useful to remind the author that he might want/need to edit the content, without showing a (imho confusing & bad looking) form on a page display! This should even bring performance improvements, allowing to cache the View page for more users, right?
Actually the problem was not having enabled the Relationship: View any entity relations
permission.
That fixes the issue.
Then one should notice how the View is built.. for example, even if the member does NOT have the Entity: View any taxonomy term entities
permission in the Group, by default he can view them because the View is rendering Fields and not Entities.
To render Taxonomy Term entities, you would need to use/create a different View (not just a different Display) because the provided one is showing Group Relationship entities.
Thank you!
There is also a weird small problem on the View editing page:
(I'm using Gin Admin Theme but any other View doesn't have this.. 🤨)
I did: 🐛 The Group Terms View is broken Active 🙏
Even editing the View manually by setting Access: Unrestricted
won't fix the issue.
MR!12 removes the Unknown column group_relationship_field_data.tid
error of the related issue, but /group/%/terms is still showing No terms available
after having created them from the same page, hence are references still broken, or do we need to recreate the Group terms view in another issue?!
So, the module was unusable even on 2.1: this is the error when trying to add a workflow field on a fresh install of Drupal 10.2.5:
The website encountered an unexpected error. Try again later.
InvalidArgumentException: Field field_status is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 616 of core/lib/Drupal/Core/Entity/ContentEntityBase.php).
Drupal\Core\Entity\ContentEntityBase->get() (Line: 125)
Drupal\workflows_field\Plugin\Field\FieldType\WorkflowsFieldItem->getSettableOptions() (Line: 143)
Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsWidgetBase->getOptions() (Line: 34)
Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsSelectWidget->formElement() (Line: 459)
Drupal\Core\Field\WidgetBase->formSingleElement() (Line: 101)
Drupal\Core\Field\WidgetBase->form() (Line: 287)
Drupal\Core\Field\FieldItemList->defaultValuesForm() (Line: 230)
Drupal\field_ui\Form\FieldConfigEditForm->form() (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm()
call_user_func_array() (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 283)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 62)
Drupal\field_ui\Controller\FieldConfigAddController->fieldConfigAddConfigureForm()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Fortunately MR 12 applies to 2.1 as well, and it seems to work fine! Thank you @tstoeckler
Up! I like efficient modules 🙃
Another feature I would like is the ability to create alternative form modes for content creation.
Right now we can only assign custom form's permission for editing: if I disable the default form mode, users can't create content anymore, right?!
Btw, thank you for this very much needed module. I would like to see it in core! 🙏
is this similar to the paragraphs_edit
module?
The related issue has more content and even a patch ready.
This is still active!
After adding the relationship with the paragraph field on the host entity, fields of the parent (using the relationship) are empty in the view!
Please make the addition of links at /admin/content optional, cause that gets nasty very quickly and it's not such a common use case imho.
Thank you, this works while editing entities, but there is still a problem when using /node/add-list/[CUSTOM_FORM_MODE] (which is problematic on its own and I'm trying to get rid of anyway, at least of the button links at /admin/content 😇
I can confirm creating new workflows fields is broken on latest Drupal (10.3.x-dev 7622e3b) too.
The website encountered an unexpected error. Try again later.
InvalidArgumentException: Field field_test is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 616 of core/lib/Drupal/Core/Entity/ContentEntityBase.php).
Drupal\Core\Entity\ContentEntityBase->get('field_test') (Line: 125)
Drupal\workflows_field\Plugin\Field\FieldType\WorkflowsFieldItem->getSettableOptions(Object) (Line: 143)
Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsWidgetBase->getOptions(Object) (Line: 35)
Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsSelectWidget->formElement(Object, 0, Array, Array, Object) (Line: 459)
Drupal\Core\Field\WidgetBase->formSingleElement(Object, 0, Array, Array, Object) (Line: 101)
Drupal\Core\Field\WidgetBase->form(Object, Array, Object) (Line: 287)
Drupal\Core\Field\FieldItemList->defaultValuesForm(Array, Object) (Line: 230)
Drupal\field_ui\Form\FieldConfigEditForm->form(Array, Object) (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm('field_config_edit_form', Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm(Object, 'default', Array) (Line: 63)
Drupal\field_ui\Controller\FieldConfigAddController->fieldConfigAddConfigureForm('node', 'field_test')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 637)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 736)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Sorry, I hadn't! Yep, that works, thank you very much! And sorry for the noise.
This could be another nice addition to the docs for noobs like me 🙃😅