-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Create Documents" SearchKit action #53
Merged
Merged
Conversation
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
dontub
force-pushed
the
searchkit-action
branch
5 times, most recently
from
January 23, 2024 12:49
37c08b7
to
fd3e59d
Compare
dontub
force-pushed
the
searchkit-action
branch
from
January 23, 2024 15:19
fd3e59d
to
6262ea8
Compare
dontub
changed the title
[WIP] Add "Create Documents" SearchKit action
Add "Create Documents" SearchKit action
Jan 23, 2024
jensschuppe
requested changes
Feb 9, 2024
Civi/Civioffice/EventSubscriber/AbstractCoreEntityCiviOfficeTokenSubscriber.php
Show resolved
Hide resolved
dontub
force-pushed
the
searchkit-action
branch
from
February 9, 2024 16:15
99ed789
to
912ccfd
Compare
jensschuppe
approved these changes
Feb 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a SearchKit action for creating documents with CiviOffice. It can be easily adopted for other extensions. The action redirects to the web-based queue-runner as it is done for the legacy action. (See todo in
RenderWebAction
for how to improve it.)To use the action it is required to have the
access CiviCRM
. (Should we have a special permission?) The entities to render are limited to those the user can get the ID for, if permission check is not disabled.Other notable changes include:
CiviOffice.convert
API have to be in the actual case (Contact
instead ofcontact
). Using the previous ones will trigger a deprecation error.Civi
andtests
directory.)systopia-reference: 23716