hal_publications
14 sites
Security covered
HAL Publications
Drupal 9/10/11 tooling for consuming the HAL (Hyper Article en Ligne) API and rendering publication lists inside Drupal.
Version 3 (Legacy AMU_HAL)
Still available for existing sites that rely on the historical AMU_HAL workflow.
- Requires per-user HAL metadata (HAL ID, first name, last name, team reference).
- Depends on the Chosen module + library for the legacy selectors.
- Provides team-aware blocks, Vancouver citation output, and BibTeX/RTF exports.
- Offers optional user profile tabs for displaying author-specific publications.
Version 4 (HAL Publications 4.x)
Modern rewrite focused on accuracy, simplicity, and HAL API alignment.
- Hardcoded HAL API field lists shared across APA7/MLA9/Vancouver/Harvard citations.
- New Hal Author content entity decouples authors from Drupal users.
- Streamlined configuration: portals, collections, SSL toggle, and API timeout only.
- Block-level sorting with predefined options (newest/oldest, author A-Z, title A-Z).
- Built-in pagination, standard filters (author, year, text), and 10k HAL API row cap.
- Composer metadata, GitLab CI template, PHPStan/PHPCS/CSpell clean, updated translations.
Upgrading from 3.x to 4.x
- Back up existing configuration, then uninstall any unused AMU-specific plugins.
- Remove deprecated config keys (API fields, grouping, facets, cache) and re-export.
- Create Hal Author entities or migrate existing author data before enabling new blocks.
- Rebuild blocks to pick one of the new sort options and clear caches.
- Keep the legacy user publications tab enabled only if you must stay on 3.x—this feature is not part of 4.x.