-
Notifications
You must be signed in to change notification settings - Fork 24
Comparing changes
Open a pull request
base repository: scieloorg/packtools
base: 4.15.0
head repository: scieloorg/packtools
compare: 4.16.0
- 10 commits
- 27 files changed
- 4 contributors
Commits on Feb 24, 2026
-
feat(validation): Implementar validações para elemento
<ext-link>c……onforme SPS 1.10 com i18n completo (#1091) * Initial plan * Implement ext-link validations with model and tests (all 26 tests passing) Co-authored-by: robertatakenaka <[email protected]> * Fix whitespace in test file (code review feedback) Co-authored-by: robertatakenaka <[email protected]> * Add ext-link validation integration and model tests - Created ext_link_rules.json with validation error levels - Integrated ExtLinkValidation into xml_validations.py and xml_validator.py - Added 16 comprehensive model tests for ext_link.py - All tests passing (26 validation + 16 model tests) Co-authored-by: robertatakenaka <[email protected]> * Add internationalization (_) to all advice_text strings in ext_link.py - Import gettext and define _ = gettext.gettext - Wrap all 6 advice_text strings with _() for i18n support - All 42 tests still passing (26 validation + 16 model) Co-authored-by: robertatakenaka <[email protected]> * Correções aplicadas ao modelo e validação do elemento <ext-link> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: robertatakenaka <[email protected]> Co-authored-by: Rossi-Luciano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e1c969 - Browse repository at this point
Copy the full SHA 6e1c969View commit details
Commits on Feb 25, 2026
-
Implementar validações para elemento <fig> com suporte a internaciona…
…lização (#1092) * Initial plan * Implement 8 fig validation rules according to SPS 1.10 Co-authored-by: robertatakenaka <[email protected]> * Add comprehensive tests for all 8 fig validation rules Co-authored-by: robertatakenaka <[email protected]> * Remove backup test file Co-authored-by: robertatakenaka <[email protected]> * Address code review feedback: improve code consistency and clarity Co-authored-by: robertatakenaka <[email protected]> * Update model tests to include new fields (xml_lang, parent_name, graphic_alt_text, graphic_long_desc) Co-authored-by: robertatakenaka <[email protected]> * Add internationalization support to fig validation with gettext - Import gettext and use _() for all natural language strings - Replace format_response with build_response for consistency - Add advice_text and advice_params to all build_response calls - Support i18n for all validation messages and advice strings Co-authored-by: robertatakenaka <[email protected]> * fix(fig): corrige validação duplicada, SVG em alternatives e case de extensão de arquivo --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: robertatakenaka <[email protected]> Co-authored-by: Luciano <[email protected]> Co-authored-by: Rossi-Luciano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4ebc0f - Browse repository at this point
Copy the full SHA d4ebc0fView commit details
Commits on Feb 27, 2026
-
Implementar validações SPS 1.10 para elemento
<fn>e corrigir duplo…… disparo de erros (#1093) * Initial plan * Implement SPS 1.10 fn element validations with tests Co-authored-by: robertatakenaka <[email protected]> * Remove embedded git repo and add src/ to gitignore * Address code review feedback: add comments and improve test assertions Co-authored-by: robertatakenaka <[email protected]> * Fix double error firing in fn validation modules - Anomaly 1: Add guard in basefn.py validate_type() to skip when fn_type is None and context is fn-group - Anomaly 2: Add guard in author_notes.py validate_fn_type_author_notes_values() to skip deprecated values (current-aff, con) - Anomaly 3: Add check in validate_fn_group() to skip corresp validation when no <corresp> element exists - Update tests to verify no double firing behavior - Add test for corresp validation fix Co-authored-by: robertatakenaka <[email protected]> * Complementa a lista de valores válidos para fn-types em author-notes --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: robertatakenaka <[email protected]> Co-authored-by: Luciano <[email protected]> Co-authored-by: Rossi-Luciano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40c430b - Browse repository at this point
Copy the full SHA 40c430bView commit details
Commits on Mar 6, 2026
-
Adiciona suporte ao Crossmark no HTML gerado pelo HTMLGenerator (#1120)
* Initial plan * Add crossmark widget functionality to HTMLGenerator Co-authored-by: robertatakenaka <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: robertatakenaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a37fac - Browse repository at this point
Copy the full SHA 8a37facView commit details -
Add
<crossmark>element to Crossref XML output (#1121)* Initial plan * Add crossmark element support to Crossref XML format - Add RELATED_ARTICLE_TYPE_TO_CROSSMARK_UPDATE_TYPE mapping dict - Add CROSSMARK_UPDATE_TYPE_TO_HISTORY_DATE_TYPE mapping dict - Implement xml_crossref_crossmark_pipe() function - Add crossmark pipe to pipeline_crossref() - Add 12 tests covering all crossmark update types and edge cases" Co-authored-by: robertatakenaka <[email protected]> * Require crossmark_policy in data dict; return early when absent - Remove default value for crossmark_policy - Add early return when crossmark_policy is not provided - Update tests to pass crossmark_policy explicitly - Add test_crossmark_pipe_no_policy_returns_early to cover new behavior Co-authored-by: robertatakenaka <[email protected]> * Remove default value from xml_crossref_crossmark_pipe data parameter - Change signature from data=None to data (required positional arg) - Replace `if data is None: data = {}` guard with single `data.get(...) if data else None` - Update test to pass None explicitly instead of omitting the argument Co-authored-by: robertatakenaka <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: robertatakenaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 133d8ab - Browse repository at this point
Copy the full SHA 133d8abView commit details
Commits on Mar 10, 2026
-
Corrige o layout para voltar a aparecer o menu lateral esquerdo com a…
…s seções do texto (#1124)
Configuration menu - View commit details
-
Copy full SHA for 32f696d - Browse repository at this point
Copy the full SHA 32f696dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e55b95 - Browse repository at this point
Copy the full SHA 0e55b95View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca1c7dc - Browse repository at this point
Copy the full SHA ca1c7dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b063da - Browse repository at this point
Copy the full SHA 4b063daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 594b283 - Browse repository at this point
Copy the full SHA 594b283View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 4.15.0...4.16.0