-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkp/pkp-lib#6057 Refactor submission files #6292
Commits on Nov 12, 2020
-
pkp#6057 Refactor submission files
- Refactor how submission files are stored - New PKPFileService that uses Flysystem 1.x - Replace FileId/Revision with revision tracking in separate table - Remove file system data such as mimetype from database - Change to filenames stored on system - Change downloaded filenames to use name property and anonymise filenames for anonymous reviews. - Add SubmissionFile schema and service class - Add API endpoints for submission files - Replace file upload during submission with new Vue.js component - Move locale property from Publication to Submission - Change language for file genre settings - Change submission file grids to use new SubmissionFileService - Remove ArtworkFile and SupplementaryFile classes - Add cli tool to get constant from its value - pkp#5134 Clear assoc assignments when file is promoted - pkp#6257 Update submission file policies
Configuration menu - View commit details
-
Copy full SHA for 5f383f8 - Browse repository at this point
Copy the full SHA 5f383f8View commit details -
pkp#6057 Fix OMP compatibility in submission file refactor
- Fix invalid database value for empty published date - Fix author access to internal revision files - Fix submission file grids to support internal review files - Fix submission file metadata tab - Fix remaining references to old submission file table column names - Fix missing locale key when logged in as - Fix embedded CSS files in HTML galleys - Fix tests to support multiple submission files and genres - Move app-specific migration code to apps
Configuration menu - View commit details
-
Copy full SHA for 8d03181 - Browse repository at this point
Copy the full SHA 8d03181View commit details -
pkp#6057 Address code review for submission files
- Update DataObject::setAllData() to not use a reference - Use setAllData() when creating new objects in the API - Get submission file locale in fetch query instead of separate query - Use flysystem stream when downloading files - Don't allow a submission file's createdAt property to be edited - Restore deprecated log constants to preserve historical data - Add missing locale keys - Add references to several hooks - Update license to GNU GPL v3 where it was still v2.
Configuration menu - View commit details
-
Copy full SHA for 74b21f6 - Browse repository at this point
Copy the full SHA 74b21f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c98ac5 - Browse repository at this point
Copy the full SHA 5c98ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 543260f - Browse repository at this point
Copy the full SHA 543260fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c750506 - Browse repository at this point
Copy the full SHA c750506View commit details -
Configuration menu - View commit details
-
Copy full SHA for 391d855 - Browse repository at this point
Copy the full SHA 391d855View commit details -
Configuration menu - View commit details
-
Copy full SHA for 996151f - Browse repository at this point
Copy the full SHA 996151fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7be90dc - Browse repository at this point
Copy the full SHA 7be90dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 762e7f4 - Browse repository at this point
Copy the full SHA 762e7f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2512498 - Browse repository at this point
Copy the full SHA 2512498View commit details -
Configuration menu - View commit details
-
Copy full SHA for c44f406 - Browse repository at this point
Copy the full SHA c44f406View commit details -
pkp#6057 Fixes to address code review
- Use error logs during migrations - Use Flysystem's copy method instead of writeStream for simplicity - Don't prefix public method with _
Configuration menu - View commit details
-
Copy full SHA for 5e113b9 - Browse repository at this point
Copy the full SHA 5e113b9View commit details -
pkp#6057 Revert changes to FileService::add so that source directory …
…can be outside of files_dir
Configuration menu - View commit details
-
Copy full SHA for 0404a15 - Browse repository at this point
Copy the full SHA 0404a15View commit details -
Configuration menu - View commit details
-
Copy full SHA for c26da9d - Browse repository at this point
Copy the full SHA c26da9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbfd970 - Browse repository at this point
Copy the full SHA fbfd970View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d181bb - Browse repository at this point
Copy the full SHA 7d181bbView commit details