Skip to content
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

Per-file upload directory/uploader information in File Manager #98

Closed
PaulBaileyAtChan opened this issue Jan 18, 2019 · 0 comments · Fixed by #2342
Closed

Per-file upload directory/uploader information in File Manager #98

PaulBaileyAtChan opened this issue Jan 18, 2019 · 0 comments · Fixed by #2342
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@PaulBaileyAtChan
Copy link

Is your feature request related to a problem? Please describe.
In a set-up with multiple file upload directories, and where multiple members can upload files, it's often useful to know, per-file, the uploader and upload directory. This information is not currently easy to obtain in the CP File Manager. For example, when listing files by recency, or searching by keyword, it's not possible to see uploader and upload directory information.

Example usage: auditing recent file uploads to make sure file upload directories are sensible; identifying the uploader of a recent file upload where there's a problem that needs to be addressed.

Related to this, it's surprisingly hard to obtain, in the CP, a mapping from the name of a file upload directory to/from its ID. This information is readily available for channels in the (Developer) Channel Manager, but not present in the File Manager. This might be because IDs are considered to be information for developers, not users. But since the File Manager has no presence in Developer, there's nowhere for file upload directory IDs to live in the CP.

Example usage: I see an image in entry content, which has been uploaded to {filedir_X}, and I want to manage that image somehow. How do I know which file upload directory it's in? I might search for the filename, but filenames are not necessarily unique across all directories.

Describe the solution you'd like
The obvious analogy is with the Entry Manager, which displays, per-entry:

— by: [Member Name], in: [Channel Name]

Suggested form for the File Manager would be something like:

— uploaded by: [Member Name], in: [File Upload Directory name | ID]

Both uploaded_by_member_id and upload_location_id are available in each row of exp_files table.

An alternative to providing the file upload directory ID with each file would be including IDs with upload directory names in the File Manager side-menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants