V5.4
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;