-
Notifications
You must be signed in to change notification settings - Fork 182
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
File submission 403 #559
File submission 403 #559
Conversation
The pull request should just contain the code it deals with. And it needs to be rebased against the latest MOODLE_401_STABLE. And, what exactly does this address? |
Hi Mike, The code contains the new question type "file upload". We wanted/needed this feature. However, this is not yet part of the official release. The original work has been done by Laurent David, but when we tried out the code, we noticed a lot of issues. That's why I did changes based on his work. Apart from this, Luca maily wrote Behat tests to cover the new feature. Best regards, Stephan |
Okay. Then you need to change this PR. PR's should only be for the feature they deal with. Otherwise it is too complicated to deal with. The commits that were for general unrelated fixes (such as Luca's CI and 4.3 fixes) should not be part of this. |
Hi Mike, The problem that I see here is that the original pull request #471 which we used and discovered that it was not correctly working. I myself have no knowledge of how I could extend this original pull request, therefore I took the changes, applied my fixes and created a new pull request. Sorry for the hazzle. Best regards, Stephan |
a30fd38
to
570275e
Compare
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.
Sorry for the long delay. This needs to be split up into multiple pull requests. Note that one of the PR's you reference from Luca has already been merged. I would suggest that you do a new PR off of the current MOODLE_401_STABLE branch that deals only with the File submission feature. Any other features/fixes need to likewise be in new PR's.
* Fix file cs issues * Fix behat test for file
- Adjust siganture of methods to their parent - Limit the files to upload to one for each question - Use questionaire id for file draft area instead of question id in the questionaire.
- allow upload of one file only. - new submit does not load previously existing files.
570275e
to
498f149
Compare
6253d1a
to
3309603
Compare
I may have broken your rebase. Can you do it one more time? |
I have finished my work, and will create a new pull request. |
This pull request combines: