Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scieloorg/packtools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.15.0
Choose a base ref
...
head repository: scieloorg/packtools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.16.0
Choose a head ref
  • 10 commits
  • 27 files changed
  • 4 contributors

Commits on Feb 24, 2026

  1. 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]>
    3 people authored Feb 24, 2026
    Configuration menu
    Copy the full SHA
    6e1c969 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2026

  1. 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]>
    4 people authored Feb 25, 2026
    Configuration menu
    Copy the full SHA
    d4ebc0f View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2026

  1. 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]>
    4 people authored Feb 27, 2026
    Configuration menu
    Copy the full SHA
    40c430b View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2026

  1. 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]>
    Copilot and robertatakenaka authored Mar 6, 2026
    Configuration menu
    Copy the full SHA
    8a37fac View commit details
    Browse the repository at this point in the history
  2. 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]>
    Copilot and robertatakenaka authored Mar 6, 2026
    Configuration menu
    Copy the full SHA
    133d8ab View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2026

  1. Configuration menu
    Copy the full SHA
    32f696d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e55b95 View commit details
    Browse the repository at this point in the history
  3. Update release.yml

    robertatakenaka authored Mar 10, 2026
    Configuration menu
    Copy the full SHA
    ca1c7dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b063da View commit details
    Browse the repository at this point in the history
  5. Update version.py

    robertatakenaka authored Mar 10, 2026
    Configuration menu
    Copy the full SHA
    594b283 View commit details
    Browse the repository at this point in the history
Loading