-
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
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
classes/security/authorization/internal/SubmissionFileBaseAccessPolicy.inc.php
Show resolved
Hide resolved
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
classes/services/queryBuilders/PKPSubmissionFileQueryBuilder.inc.php
Outdated
Show resolved
Hide resolved
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 19, 2020
asmecher
reviewed
Oct 20, 2020
asmecher
reviewed
Oct 20, 2020
asmecher
reviewed
Oct 20, 2020
asmecher
reviewed
Oct 20, 2020
asmecher
reviewed
Oct 20, 2020
asmecher
reviewed
Oct 20, 2020
NateWr
force-pushed
the
i6057_submission_uploads
branch
from
October 27, 2020 16:20
3735157
to
9b40bdb
Compare
NateWr
commented
Oct 28, 2020
plugins/importexport/native/filter/NativeXmlSubmissionFileFilter.inc.php
Show resolved
Hide resolved
NateWr
force-pushed
the
i6057_submission_uploads
branch
2 times, most recently
from
November 4, 2020 14:46
dc72542
to
93f6725
Compare
- 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
- 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
- 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.
- Use error logs during migrations - Use Flysystem's copy method instead of writeStream for simplicity - Don't prefix public method with _
…can be outside of files_dir
NateWr
force-pushed
the
i6057_submission_uploads
branch
from
November 12, 2020 17:54
6307601
to
7d181bb
Compare
ppv1979
added a commit
to ppv1979/pkp-lib
that referenced
this pull request
Nov 14, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactor how submission files are stored
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
Submission files under production stage are returning error for no privileges granted #5134 Clear assoc assignments when file is promoted
Prevent unwanted access to submission files #6257 Update submission file policies