summaryrefslogtreecommitdiff
path: root/yaksh/file_utils.py
AgeCommit message (Collapse)Author
2018-07-13Fix import changes for file_utilsmaheshgudi
2018-07-12Merge pull request #496 from maheshgudi/questions_yamlKing
Question upload can take yaml and zip files
2018-07-11Support for multiple yaml filesmaheshgudi
2018-07-10Change in file_utils, forms, models, lesson.css, add_lesson.html, viewsadityacp
- Add new function in the file_utils to render template - Add webm as supported video format in forms - Add help text in video_file field - Add lesson.css file for adding custom styling for lessons - Add static_files dict in download_course views function
2018-07-10Changes in file_utils.py, courses.html, index.html, module.html, unit.html, ↵adityacp
offline.css - Remove unnecessary list from write_templates_to_zip function in file_utils - Remove styling from index.html, module.html, unit.html - Add offline.css for styling in index.html, module.html, unit.html
2018-06-26Fix course download to support Python 2 and 3adityacp
2018-06-26Changes in views, models, forms, urls, file_utilsadityacp
- Add new view function to download course content - Add new attribute to Lesson model - Add new model methods to add course, module and lesson content - Add validation in forms to check for lesson video file format - Add functions in file_utils to add static files and templates to the zip file
2018-06-07Pep8 changesadityacp
2017-11-14Added ',' as the specific delimiter for the csv uploadprathamesh
2017-11-13csv can now take extra fields related to profile.prathamesh
Updates if the username is same. Additional csv header "remove" added, to remove user from the course.
2017-11-10Optimised the code and added dialect while reading to handle differentprathamesh
delimiters
2017-11-07Need nested try..except in is_csvprathamesh
2017-11-07Removed nested try..exceptprathamesh
2017-11-06Added info for uploadprathamesh
converted list to set as dict.keys() returns list in python 2.7
2017-11-06Upload user to the course via csv.prathamesh
The csv takes firstname, lastname and email. User and Profile are created with username and password been same as email. Following cases are handled for csv upload: - wrong csv headders - missing csv values - already existing users - invalid csv
2016-10-17changes in evaluator and file utilsadityacp
2016-10-17extract uploaded questions zip in tempadityacp
2016-08-30removed extract_files and read_json files from viewsadityacp
2016-07-28added validation to check zip fileadityacp
2016-07-28changed module name from copy_delete_files to file_utilsadityacp