-
Notifications
You must be signed in to change notification settings - Fork 209
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
Allow upload of only image file types in import-image module #440
Conversation
@Rishabh570 @aashna27 @vikul1234 please review |
@thesparks great work! but there are still some conflicts, also the 3 image file types you mentioned aren't the only image types. |
@aashna27 what types of image you need? All image/* mime types? |
Task has only tag html. Maybe js check is not needed at all? |
@thesparks Yep, the task has HTML tag only...you don't need to worry about server-side validation of the file uploaded for this task...just |
Yeah! true js won't be needed. 😅 |
@Rishabh570 , @aashna27 fixed) please confirm CGI task |
@thesparks One more thing, make sure your commits are related to this PR only...I see a commit containing GIF related code...and you should squash your changes into a single commit (for PR containing small changes) to make the commit history as clean as possible... |
image/* didn't work on Linux, so i added js, my mistake
@Rishabh570, Sorry, I thought I could merge commits after sending |
The "image/* " would work, see while uploading file , the file manager would no longer show "All files." |
Okay, i ll look into it. Till then you can work on other issues. |
You need to squash the multiple commits that have been made into 1. |
@aashna27, but i cant get new CGI task until pass the last |
@thesparks as i mentioned please squash your commits its difficult to review multiple commits, can't keep track. https://help.github.com/articles/about-git-rebase/ this would help you learn the commands to merge the commits. 😄 |
i dont understand how it works... |
@thesparks do Here I did Hope this helps, ask if you still have queries...!!! |
You need to provide a commit hash, eg. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thesparks @aashna27 @Rishabh570 Is something wrong here, I don't see any code changes, just elimination of blank lines?
Also don't worry about squashing commits, we would be merging all the changes done in one pull request as one commit only. |
@tech4GT I tried to merge commits, and made two extra commits and something went wrong :/
to
Also I added a validation with js, but it was redundant and I deleted it. |
Hmm, I see... |
Hmm @thesparks I figured out what happened here, nothing went wrong, you merged the branches correctly but the line you added is already present in the code, you did not see it because you did not pull the latest changes. |
@tech4GT, yes its gci task |
Since this one is already fixed in the code but you made the right efforts for it, you can move on to the next task and I'll make sure you get the credit for this one. Thanks! 😄 |
strange i did everything through githab.com (1935967) |
These things happen sometimes, don't worry about it. Thanks a lot for your patience😊 |
Fixes #429