-
Notifications
You must be signed in to change notification settings - Fork 67
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
Feature hooks #1492
Feature hooks #1492
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments inline
I think we are missing the dashboard hooks for the typesetter, production_manager, proofreader no? as well as the swimlanes on the kanban view.
Yes dashboard cards for typesetter and proofreader yes. Swimlanes are already done (handled by |
…. Removed most branches except unassigned.
…to super().valid_value()
Should be ready for re-review now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 more to go!
src/core/workflow.py
Outdated
@@ -169,11 +169,15 @@ def articles_in_workflow_stages(request): | |||
workflow_list[element.element_name] = element_dict | |||
except (KeyError, AttributeError) as e: | |||
if settings.DEBUG: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should log this in production as well, no?
src/submission/models.py
Outdated
# Check if the value is in dynamic choices and remove the | ||
# error message if it is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is slightly inaccurate now
LANGUAGE_CODE
to global settings as this was breaking the Clean themecore.models.BASE_ELEMENTS
andcore.models.WorkflowElement
handshake_url to correct: this should be the "list" page for the element (migrations added to fix the DB)core.models.has_missing_image_files
for files that aren't XML.core.models.WorkflowElement
that let us see what stages are part of a element and which articles are in those stagescore.templatetags.hooks
no takes*args
and**kwargs
submission.models.Article.current_stage
request.journal.workflow
request.journal.workflow
utils.install.update_settings
now allows for a path to load other settings with a defaultutils/install/journal_defaults.json
utils.management.commands.install_plugins
now accepts an option argumentplugin_name
so you can fire the install process for a single plugin eg../manage.py install_plugins typesetting