Add compatibility with OMP 3.5.0#55
Merged
thiagolepidus merged 35 commits intothoth-pub:mainfrom Mar 4, 2026
Merged
Conversation
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Brasil <thiago@lepidus.com.br>
Add a status label (colored dot + text) in the workflow publication tab showing the Thoth work status, matching OMP's native publication status pattern. Move Register/Update buttons from left to right side controls. New API endpoint fetches work status from Thoth. Supports all Thoth work statuses with locale strings for en, pt_BR, and es.
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129
Update initialize() signature to include $args parameter, replace bare global constants with namespaced class constants (Application::ASSOC_TYPE_*, PKPApplication::ROUTE_API), replace deprecated Services::get() with app(), remove deprecated AppLocale::requireComponents() call, replace plugin import() with use statement, and add proper docblocks.
Use PKPBaseController::getRouteController() instead of the APIHandler to access the authorized context, since authorization runs on the controller instance in OMP 3.5.0. Also replace mapToSubmissionsList() with map() which accepts userRoles, remove deprecated AppLocale::requireComponents() call, and use UserGroup Eloquent model instead of deprecated Repo::userGroup() collector.
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: lepidus <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Issue: documentacao-e-tarefas/desenvolvimento_e_infra#1129 Signed-off-by: Thiago Matos <thiago@lepidus.com.br>
Adapta plugin para OMP 3.5.0 See merge request softwares-pkp/plugins_ojs/thoth-omp-plugin!97
This file contains hidden or 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
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.
No description provided.