-
-
Notifications
You must be signed in to change notification settings - Fork 840
Add attachment management functionality #1423
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
base: main
Are you sure you want to change the base?
Add attachment management functionality #1423
Conversation
|
@mgogoulos, Do i need to add you as reviewer after i'm done? If yes, how? |
# Conflicts: # files/frontend_translations/ar.py # files/frontend_translations/bn.py # files/frontend_translations/da.py # files/frontend_translations/de.py # files/frontend_translations/el.py # files/frontend_translations/en.py # files/frontend_translations/es.py # files/frontend_translations/fr.py # files/frontend_translations/he.py # files/frontend_translations/hi.py # files/frontend_translations/id.py # files/frontend_translations/it.py # files/frontend_translations/ja.py # files/frontend_translations/ko.py # files/frontend_translations/nl.py # files/frontend_translations/pt.py # files/frontend_translations/ru.py # files/frontend_translations/sl.py # files/frontend_translations/tr.py # files/frontend_translations/ur.py # files/frontend_translations/zh_hans.py # frontend/yarn.lock # static/css/media.css # static/js/_commons.js # static/js/categories.js # static/js/embed.js # static/js/featured.js # static/js/history.js # static/js/index.js # static/js/latest.js # static/js/liked.js # static/js/manage-comments.js # static/js/media.js # static/js/members.js # static/js/profile-about.js # static/js/profile-media.js # static/js/profile-playlists.js # static/js/recommended.js # static/js/search.js # static/js/tags.js
|
Hi @christophe195 , thanks for submitting this PR. This looks good. One thing I'd like to mention is that this is a very custom feature, so we don't want to have it there by default for all use cases. Usually we make a configuration for this type of features, that is disabled by default, but you can easily enable it through the setting. Eg that could be a setting ATTACHMENTS_FUNCTIONALITY (or something better!) that is False by default and this check takes place in all areas where a user can see this (like the media page, or the edit media tab) but also in the code. Hope this makes sense! |
|
Sure, will do. |
7404ebf to
a52bf22
Compare
|
@mgogoulos , option is added |
This is my first public PR.
Description
This PR adds the ability to add attachments to a video.
After uploading, you will find an “attachment” button in the navigation bar when managing the video. Here you can add attachments, name them, and delete them.
Once you have done this, a button will appear next to Download for the attachments.
Please be sure to check the code in terms of security; I am not very familiar with the project.
I did use AI for the translations