Skip to content

Releases

v5.9

Choose a tag to compare

@mah0001 mah0001 released this 18 Nov 01:08

NADA 5.9

Citations in CSL-JSON

  • Each citation is now stored as a CSL-JSON document, the format used by Zotero, Crossref and most reference managers.
  • New citations admin: create, edit, import, export, find duplicates, look up by DOI, attach studies, publish, and set flags.

Themes & Site layout: header, footer and styles

  • Removed unused theme files.
  • Settings > Site layout lets administrators edit the public site header (with a layout builder or custom HTML), the footer (custom HTML) and site-wide CSS.

Site admin pages migrated to Vue 3

  • New interfaces for users, Solr, reports and the remaining secondary admin pages.
  • The classic reports are replaced by Analytics: search keywords, a public requests list, and a richer users export.

Upgrading

  1. Back up your database and files.
  2. Replace the application files. Keep your application/config customisations and the new themes/assets/ folder.
  3. Run the database migrations
  4. For Solr or NADA-AI, rebuild the citation index.

See UPGRADING.md for full instructions, including Site layout and theme changes.

Database Changes

Important

This release includes database updates. Make sure to run the database migrations. The citations migration cannot be undone, so back up your database first.

php index.php cli/migrate latest

Full changelog: v5.8...v5.9

v5.8

Choose a tag to compare

@mah0001 mah0001 released this 10 Nov 18:54

NADA 5.8

Catalog and study pages

  • Home page redesigned around search, with the most viewed, featured and latest studies.
  • Configurable site notices: a header bar and a pop-up notice.
  • New View PDF tab for document studies.
  • Search results show longer abstracts (up to 2,000 characters) and a new pager.
  • Fixed: New or changed IDNOs may contain only letters, digits, ., - and _.

Indicators

  • Configurable default view for chart and table pages.
  • Fixed: Line charts show missing periods as gaps.
  • Timeseries API documentation with a Swagger UI playground.

Site administration

  • Migrated admin pages to Vue 3: menu, licensed requests, permissions and roles, database migration, countries and regions, translations, site and API logs, filestore, and study resources.

Other updates and Fixes

  • Email configuration is now optional.
  • Fixed language switching redirecting to the catalog page.
  • Completed French, Spanish and Portuguese translations.
  • PHP 8.4 compatibility fixes.

Database Changes

Important

This release includes database updates. Make sure to run the database migrations.

php index.php cli/migrate latest

v5.7.2

Choose a tag to compare

@mah0001 mah0001 released this 31 Oct 15:22

NADA 5.7.2

NADA 5.7.2 is a patch release with security hardening, upgrade and install fixes, and translation updates. It is recommended for all 5.7.x installations.

Security

  • Web server rules for Apache (.htaccess) and IIS (web.config) are hardened.
  • Indicator tables now validate filters strictly. Filters are kept when you switch between the Chart and Table tabs.
  • The MongoDB settings file is no longer in the repository. Copy application/config/mongo.sample.php to create your own.

Changes

  • Migrations are consolidated, and fresh and upgraded schemas now match.
  • SQL Server install and upgrade fixes: upgrading from 5.6 or a fresh 5.7.1 install now completes.
  • Added translation search in the admin. Translations are fixed and the Portuguese gaps are filled.
  • Cleaned up the README, and added CONTRIBUTING, SECURITY and UPGRADING documents.

Upgrading

  1. Back up your database and files.
  2. Replace the application files. Keep your application/config customisations.
  3. Run the database migrations (MySQL and SQL Server are both supported).
  4. If you used MongoDB, create application/config/mongo.php from the sample file.

See UPGRADING.md for full instructions.

Database Changes

Important

This release includes database updates. Make sure to run the database migrations.

php index.php cli/migrate latest

v5.7.1

Choose a tag to compare

@mah0001 mah0001 released this 04 Oct 13:29

Updates and fixes

  • Improved SQL Server upgrade reliability for 5.5/5.6 → 5.7, including fixes for long-running migrations, missing columns, and failed upgrade paths.
  • Improved Data Deposit project administration with pagination, filtering, and a catalog-style layout.
  • Fixed display template missing labels.
  • Increased DOI field length to 255 characters.
  • Fixed ZIP preview.
  • Empty category statistics are now skipped when generating variable frequency tables.

Database Changes

Important

This release includes database updates. Make sure to run the database migrations.

php index.php cli/migrate latest

v5.7

Choose a tag to compare

@mah0001 mah0001 released this 09 Sep 01:43

What's Changed

Catalog and study pages

  • Study description pages are rendered from JSON display templates + Display template manager added under site administration
  • PDF export optimized using new display templates
  • Featured studies show only on the first page of catalog search

Built-in metadata editor

Data Deposit

  • Data deposit UI replaced with Vue based UI with new API
  • Migration guide - install/DATADEPOSIT_MIGRATION.md

Geospatial

  • Dedicated feature-catalogue tab on study detail page
  • Minor fixes for the built-in editor for Geospatial projects

Database Changes

Important

Run the database migrations from the command line before logging in or using the site:

php index.php cli/migrate latest

v5.6

Choose a tag to compare

@mah0001 mah0001 released this 17 Jul 03:29

What's New

  • Introduced a new Vue 3–based admin interface for the catalog, dashboard, facets, site configuration, and menu management pages.
  • Added OAuth-based social login support.
  • Revamped the permissions and access control system. Permissions can now be granted per user and per collection, replacing the legacy collection-scoped role permissions.
  • Introduced a new Vue 3 catalog search interface.
  • Added comprehensive support for indicators and time-series data, including:
    • Data Structure Definitions (DSDs)
    • Codelists
    • Charts and tables
    • Data API
  • Added embeddable indicator charts with configurable time filters and frequency-aware displays.
  • Updated the catalog display for time-series datasets and added views for related indicators.
  • Added support for importing ZIP packages and JSON files for all data types exported from the Metadata Editor.
  • Added resumable file uploads to overcome PHP upload-size limits.
  • Added built-in analytics, including:
    • Page-view and download tracking
    • Server-side deduplication
    • Proxy IP handling
    • Daily aggregation
  • Added an admin analytics dashboard with reports and an API logs interface.
  • Added SHA-256 hashing and expiration support for API keys, along with a new administration interface.
  • Improved the PDF viewer with fixes for external resources, downloads, and scrolling.
  • Updated the Site Configuration interface.

Updates and Fixes

  • Fixed DDI imports containing variable lists distributed across multiple files.
  • Improved IDNO extraction from multiple supported DDI/XML elements.
  • Fixed catalog variable search when filtering by collection.
  • Enhanced the resources table with resource_idno and resource_type.
  • Added automatic resource metadata synchronization when files are uploaded.
  • Improved the language and translation system.
  • Updated French, Spanish, and Arabic translations.
  • Removed Bootstrap and jQuery dependencies from widgets.
  • Added miscellaneous PHP 8.x compatibility fixes.
  • Moved email configuration to auth.local.php.
  • Added a SendGrid API email driver.
  • Added ISO 3-letter country codes to the countries list.
  • Moved authentication secrets to auth.local.php and added a sample configuration template.

Database Changes

Important

Run the database migrations from the command line before logging in or using the site:

php index.php cli/migrate latest

V5.5

Choose a tag to compare

@mah0001 mah0001 released this 18 Oct 02:12

Updates and fixes

  • Added driver-based email system supporting SMTP and SendGrid/API.
  • Catalog search API updated to accept user-defined filters and include DOI and optional country lists.
  • Support for replacing study IDNO via identifiers in metadata import.
  • Support for custom fields on the public request form.
  • Added tables API endpoint to download table data as CSV or JSON.
  • CSV export option added for the catalog admin page for licensed requests.
  • Site-wide CSRF protection enabled; CSRF tokens added for data deposit uploads.
  • Session regeneration on login to reduce session fixation risk.
  • CSP support added (disabled by default) — administrators can enable/configure as needed.
  • Forgot-password throttling (default limit 3 requests in 5 minutes) and increased DB column size for reset codes.
  • SQLSRV installation script updated
  • Fixed XML/DDI encoding (use htmlspecialchars with ENT_XML1, improved handling of quotes).
  • Fixed display and grouping of external resources.
  • Fixed study thumbnail upload failing with 400.
  • Fixed a number of admin UI issues (breadcrumb links, resources download links).

Database changes

ALTER TABLE `users` 
ADD COLUMN `forgot_request_ts` INT NULL,
ADD COLUMN `forgot_request_count` INT DEFAULT 0;


ALTER TABLE `public_requests` 
ADD COLUMN `title` VARCHAR(500) NULL AFTER `surveyid`;

V5.4.1

Choose a tag to compare

@mah0001 mah0001 released this 28 Feb 15:39

Fix issues with 5.4 release

  • Unable to create new user accounts via site administration
  • Study thumbnail shows a 400 error
  • Catalog administration page search does not work

Note: If upgrading from an older version of NADA, make sure to update the database:

CREATE TABLE `survey_data_api` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sid` int DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `description` varchar(500) DEFAULT NULL,
  `db_id` varchar(45) DEFAULT NULL,
  `table_id` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
)AUTO_INCREMENT=1;

ALTER TABLE `users` MODIFY COLUMN `forgotten_password_code` varchar(100) DEFAULT NULL;
ALTER TABLE `users` ADD COLUMN `forgotten_code_expiry` int DEFAULT NULL;

V5.4

Choose a tag to compare

@mah0001 mah0001 released this 11 Jan 16:45

What's Changed

  • Show citations using Datacite API for studies with DOIs
  • Export of citations to RIS and BibTeX formats using DataCite API
  • Translations updates for French, Spanish and Arabic
  • Fixed: Add checks for expiration date and for licensed data download
  • Fixed: Data deposit exported DDI missing IDNO #92
  • Fixed: Data deposit auto-fills fields #91
  • Added zip preview for external resources
  • Updated Scripts, Geospatial and Microdata Schema
  • For Microdata schema, country is no longer a required field
  • Updated study detail display with new template to show all Microdata/DDI fields

Critical security fixes

  • Enable CSRF tokens site-wide
  • Regenerate sessions on login
  • Expire page cache for admin pages
  • Fixed access control issues across site admin

Database changes

For upgrading from NADA 5.3, run these

CREATE TABLE `survey_data_api` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sid` int DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `description` varchar(500) DEFAULT NULL,
  `db_id` varchar(45) DEFAULT NULL,
  `table_id` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
)AUTO_INCREMENT=1;

ALTER TABLE `users` MODIFY COLUMN `forgotten_password_code` varchar(100) DEFAULT NULL;
ALTER TABLE `users` ADD COLUMN `forgotten_code_expiry` int DEFAULT NULL;

V5.3

Choose a tag to compare

@mah0001 mah0001 released this 09 Aug 19:50

Updated to support PHP 8.x