-
Notifications
You must be signed in to change notification settings - Fork 11
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
Html import #189
base: master
Are you sure you want to change the base?
Html import #189
Commits on May 18, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 49fccef - Browse repository at this point
Copy the full SHA 49fccefView commit details -
Configuration menu - View commit details
-
Copy full SHA for c337b1b - Browse repository at this point
Copy the full SHA c337b1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dd839c - Browse repository at this point
Copy the full SHA 5dd839cView commit details
Commits on May 21, 2012
-
Made the parser more flexible in terms of how it accepts inputs, and …
…added a unit test for individual characters, as well as actual questions. The parser also identifies strings with non-ASCII characters and raises an exception.
Configuration menu - View commit details
-
Copy full SHA for 9770932 - Browse repository at this point
Copy the full SHA 9770932View commit details
Commits on May 22, 2012
-
Configuration menu - View commit details
-
Copy full SHA for b301335 - Browse repository at this point
Copy the full SHA b301335View commit details
Commits on May 23, 2012
-
Changed the parser so that it accepts almost any character that comes…
… through, and can deal with text written on more than one line. All of the tests in qti_parser_test run successfully.
Configuration menu - View commit details
-
Copy full SHA for f44b892 - Browse repository at this point
Copy the full SHA f44b892View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72af70b - Browse repository at this point
Copy the full SHA 72af70bView commit details
Commits on May 25, 2012
-
Fixed the parser(again). Now, the transformer will replace HTML itali…
…c tags with the correct format. Had to change the parser unit test to adjust for changes in output.
Configuration menu - View commit details
-
Copy full SHA for 8ad5b4c - Browse repository at this point
Copy the full SHA 8ad5b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f1c8f1 - Browse repository at this point
Copy the full SHA 3f1c8f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1300e7b - Browse repository at this point
Copy the full SHA 1300e7bView commit details
Commits on May 26, 2012
-
Still having problems with getting the parser to recognize images and…
… raise an exception. But, now it replaces italic tags, as well as bold and line break tags, with the correct formatting, regardless of the case.
Configuration menu - View commit details
-
Copy full SHA for 9219a81 - Browse repository at this point
Copy the full SHA 9219a81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 354d020 - Browse repository at this point
Copy the full SHA 354d020View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d5462b - Browse repository at this point
Copy the full SHA 5d5462bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37d9a8e - Browse repository at this point
Copy the full SHA 37d9a8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1334f13 - Browse repository at this point
Copy the full SHA 1334f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 404f959 - Browse repository at this point
Copy the full SHA 404f959View commit details -
Added replacements for greek letters, subscripts, superscripts, and c…
…urly fs to parser. Changed error message for image to just text stating that an image is missing.
Configuration menu - View commit details
-
Copy full SHA for c8d12a4 - Browse repository at this point
Copy the full SHA c8d12a4View commit details -
Created an import file that takes as inputs the filename and the type…
… of QTI content. It opens the files and creates a new project titled Import.
Configuration menu - View commit details
-
Copy full SHA for e41465e - Browse repository at this point
Copy the full SHA e41465eView commit details -
Now, the import class will also decided which parser and transformer …
…to use based on the content type specified by the user.
Configuration menu - View commit details
-
Copy full SHA for c1987ff - Browse repository at this point
Copy the full SHA c1987ffView commit details -
Import class can now grab just the relevant content, and can pick out…
… the question ids for each question (or will be able to).
Configuration menu - View commit details
-
Copy full SHA for 3b917eb - Browse repository at this point
Copy the full SHA 3b917ebView commit details
Commits on May 27, 2012
-
Ok, so this is the import class. It determines what parser and transf…
…ormer to use. It then creates one project, looks for the first question, and grabs the first answer choice to that question. Then, it looks for the points assigned to each answer choice and normalizes them. Then, it assigns the correct amount of points to the first answer choice. I'll work on iterating through answer choices next.
Configuration menu - View commit details
-
Copy full SHA for 703575f - Browse repository at this point
Copy the full SHA 703575fView commit details -
Ok, so now the import class can also go through the list of answer ch…
…oices and select only those for the question being imported.
Configuration menu - View commit details
-
Copy full SHA for 0c0d9c3 - Browse repository at this point
Copy the full SHA 0c0d9c3View commit details -
Now the import class can go through the list of relevant answer choic…
…es, parse and transform them, and add them to the question.
Configuration menu - View commit details
-
Copy full SHA for f10961a - Browse repository at this point
Copy the full SHA f10961aView commit details -
Redid the function for finding the points for each answer choice to s…
…earch based on the question id, just like the original function that finds the answer choices. This way, there shouldn't be any worries of answer choices and the corresponding points value not matching.
Configuration menu - View commit details
-
Copy full SHA for d58f9b6 - Browse repository at this point
Copy the full SHA d58f9b6View commit details -
Finished making the whole import class capable of handling any number…
… of questions with any number of answer choices. Also wrote a unit test, that I will run shortly.
Configuration menu - View commit details
-
Copy full SHA for 42db907 - Browse repository at this point
Copy the full SHA 42db907View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9620304 - Browse repository at this point
Copy the full SHA 9620304View commit details -
The import class is done. Everything works and the structure has been…
… set up so that it can easily be used by a controller.
Configuration menu - View commit details
-
Copy full SHA for 78796c6 - Browse repository at this point
Copy the full SHA 78796c6View commit details -
So, I've created a view that contains a form to enter the information…
… for importing an XML file with questions. Right now, it just has a drop-down menu to select the type of formatting the questions are in.
Configuration menu - View commit details
-
Copy full SHA for 961cb95 - Browse repository at this point
Copy the full SHA 961cb95View commit details
Commits on Jun 13, 2012
-
Configuration menu - View commit details
-
Copy full SHA for a2ad4f6 - Browse repository at this point
Copy the full SHA a2ad4f6View commit details -
All of the files associated with creating the form to upload files, c…
…hoose content, and import the questions.
Configuration menu - View commit details
-
Copy full SHA for 26e9bfe - Browse repository at this point
Copy the full SHA 26e9bfeView commit details
Commits on Jun 15, 2012
-
Configuration menu - View commit details
-
Copy full SHA for fbfbb34 - Browse repository at this point
Copy the full SHA fbfbb34View commit details -
Configuration menu - View commit details
-
Copy full SHA for c84ad43 - Browse repository at this point
Copy the full SHA c84ad43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6928c3f - Browse repository at this point
Copy the full SHA 6928c3fView commit details
Commits on Jun 21, 2012
-
Configuration menu - View commit details
-
Copy full SHA for ccd14e6 - Browse repository at this point
Copy the full SHA ccd14e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c07b91 - Browse repository at this point
Copy the full SHA 9c07b91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7abbf7b - Browse repository at this point
Copy the full SHA 7abbf7bView commit details
Commits on Jun 23, 2012
-
Configuration menu - View commit details
-
Copy full SHA for e1ca277 - Browse repository at this point
Copy the full SHA e1ca277View commit details
Commits on Jun 24, 2012
-
Optimized the import functions, so this feature should run faster now…
…. Will clean up and code and look for more HTML tags and formatting errors.
Configuration menu - View commit details
-
Copy full SHA for 47c7aaf - Browse repository at this point
Copy the full SHA 47c7aafView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0bacf0 - Browse repository at this point
Copy the full SHA b0bacf0View commit details
Commits on Jun 26, 2012
-
Made the import function a little bit faster and added more things to…
… the parser, including the ability to handle links embedded in questions.
Configuration menu - View commit details
-
Copy full SHA for 69a5ecc - Browse repository at this point
Copy the full SHA 69a5eccView commit details
Commits on Jun 27, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 3c61d4a - Browse repository at this point
Copy the full SHA 3c61d4aView commit details -
Added functionality to handle any problems with import. Also added a …
…link to import page on the write new questions view
Configuration menu - View commit details
-
Copy full SHA for 5b20127 - Browse repository at this point
Copy the full SHA 5b20127View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ecb0fb - Browse repository at this point
Copy the full SHA 8ecb0fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f57f9 - Browse repository at this point
Copy the full SHA 40f57f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf734e - Browse repository at this point
Copy the full SHA 6bf734eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 973acf1 - Browse repository at this point
Copy the full SHA 973acf1View commit details
Commits on Jul 18, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 55ed402 - Browse repository at this point
Copy the full SHA 55ed402View commit details -
Configuration menu - View commit details
-
Copy full SHA for 782bd6f - Browse repository at this point
Copy the full SHA 782bd6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d49bff - Browse repository at this point
Copy the full SHA 6d49bffView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcfbbda - Browse repository at this point
Copy the full SHA bcfbbdaView commit details -
Import function now looks for images attached to questions that are n…
…ot inline with the text
Configuration menu - View commit details
-
Copy full SHA for 5b95532 - Browse repository at this point
Copy the full SHA 5b95532View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c0b18f - Browse repository at this point
Copy the full SHA 3c0b18fView commit details -
Able to unzip zip files uploaded to import function. Still have troub…
…le returning the actual xml file as opposed to the filename.
Configuration menu - View commit details
-
Copy full SHA for 0039935 - Browse repository at this point
Copy the full SHA 0039935View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16b3982 - Browse repository at this point
Copy the full SHA 16b3982View commit details -
Import function now looks for images attached to questions that are n…
…ot inline with the text
Configuration menu - View commit details
-
Copy full SHA for 2cdfeaf - Browse repository at this point
Copy the full SHA 2cdfeafView commit details -
Configuration menu - View commit details
-
Copy full SHA for b295e14 - Browse repository at this point
Copy the full SHA b295e14View commit details -
Able to unzip zip files uploaded to import function. Still have troub…
…le returning the actual xml file as opposed to the filename.
Configuration menu - View commit details
-
Copy full SHA for 75dedfd - Browse repository at this point
Copy the full SHA 75dedfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68ea8cd - Browse repository at this point
Copy the full SHA 68ea8cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1eccfd - Browse repository at this point
Copy the full SHA f1eccfdView commit details -
Merge remote-tracking branch 'upstream/master' into temp3
Conflicts: app/models/question.rb
Configuration menu - View commit details
-
Copy full SHA for 7d22d9c - Browse repository at this point
Copy the full SHA 7d22d9cView commit details -
Import function now unzips a file,and successfully finds the xml docu…
…ment and the directory containing the images.
Configuration menu - View commit details
-
Copy full SHA for 899ec3a - Browse repository at this point
Copy the full SHA 899ec3aView commit details -
Now import function takes a directory containing subfolders of images…
…, and returns a hash with key-value pairs of referenced image paths and files.
Configuration menu - View commit details
-
Copy full SHA for 4332e8e - Browse repository at this point
Copy the full SHA 4332e8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c82499b - Browse repository at this point
Copy the full SHA c82499bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03adfa2 - Browse repository at this point
Copy the full SHA 03adfa2View commit details -
Able to add attached images as assets. Now working on saving them as …
…attachable assets to questions.
Configuration menu - View commit details
-
Copy full SHA for 79baf64 - Browse repository at this point
Copy the full SHA 79baf64View commit details
Commits on Jul 19, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 887d9e8 - Browse repository at this point
Copy the full SHA 887d9e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a343cfd - Browse repository at this point
Copy the full SHA a343cfdView commit details
Commits on Jul 21, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 932af42 - Browse repository at this point
Copy the full SHA 932af42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5426a69 - Browse repository at this point
Copy the full SHA 5426a69View commit details