-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[6.1] [GSoC 21] Feature - Implement Workflows for com_modules #35101
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
base: 6.1-dev
Are you sure you want to change the base?
[6.1] [GSoC 21] Feature - Implement Workflows for com_modules #35101
Conversation
Thanks for this PR. |
administrator/components/com_modules/src/Model/ModulesModel.php
Outdated
Show resolved
Hide resolved
Will test once 4,0 is out of the way |
administrator/components/com_admin/sql/updates/mysql/4.1.0-2021-07-30.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_admin/sql/updates/mysql/4.1.0-2021-07-30.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_admin/sql/updates/postgresql/4.1.0-2021-07-30.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_admin/sql/updates/postgresql/4.1.0-2021-07-30.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_modules/src/Extension/ModulesComponent.php
Outdated
Show resolved
Hide resolved
administrator/components/com_modules/src/Extension/ModulesComponent.php
Outdated
Show resolved
Hide resolved
administrator/components/com_modules/src/Extension/ModulesComponent.php
Outdated
Show resolved
Hide resolved
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
administrator/components/com_modules/src/Extension/ModulesComponent.php
Outdated
Show resolved
Hide resolved
cccdf8e
to
8b0555a
Compare
Oops, I rebased to 4.2-dev instead of 4.1 |
This pull request has been automatically rebased to 5.1-dev. |
This pull request has been automatically rebased to 5.2-dev. |
I have tested this item 🔴 unsuccessfully on 1c3ad76 Layout default_batch_footer not found. Function Location1 () JROOT/libraries/src/MVC/View/HtmlView.php:425 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35101. |
@cybersalt At the end of the page you find this information: |
This pull request has been automatically rebased to 5.3-dev. |
This pull request has been automatically rebased to 6.0-dev. |
This pull request has been automatically rebased to 6.1-dev. |
Project Repo PR: joomla-projects/gsoc21_core-enhancements#10
Summary of Changes
Access
Articles Model
getListQuery()
method joins the old query with workflow_associations to also consider the workflow stages that belong tocom_content.articles
only.SQL Changes:
COM_WORKFLOW_BASIC_WORKFLOW_MODULES
COM_WORKFLOW_BASIC_STAGE
Introduce a new Backend Menu Item
com_modules
Option to Enable Workflow Integration
Searchtools Filtering
ModulesComponent.php
Module Model
Modules Model
Modules Template:
The Flow:
New Modules: Select Workflow
(Permanent similar to workflow assignment for com_content)
Edit Existing Modules: Transition Field
Testing Instructions
After a fresh install:
1, Go to Modules (Site or Admin) -> Options -> Integrations -> Enable Workflows
2. Test the transitions in modules view
3. Test CRUD for workflows, stages, and transitions in Modules: Workflows
4. Test Batch and Duplicate
Expected result AFTER applying this Pull Request
Workflows are integrated into Modules and work as expected.
Joomla.Workflows.for.com_modules.1.mp4
Documentation Changes Required
Possibly yes. Something on the lines of https://docs.joomla.org/Publishing_Workflow_Implementation#Implement_com_workflow_into_your_extension
Mentors
@chmst @nibra @bembelimen
(And special thanks to @richard67)