Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-21 | test_task: check and display argparser help before loading the task | Timotej Lazar | |
Before --help was weirldy broken, apparently due to some bytes/str issue in the Python 2→3 conversion. Parameters are printed anyway after loading a task without -q. | |||
2019-02-21 | web.task_source: return the empty string for invalid task | Timotej Lazar | |
2019-02-21 | create_disk_images: create standalone VMDK images | Timotej Lazar | |
They are useful in both VirtualBox and VMware. VDI is horrible and should die and also it is fat. | |||
2019-02-21 | create_disk_images: modify image filenames | Timotej Lazar | |
Include computer name in filename for each disk and use a shorter hash placed immediately after task name. The hash is now based only on student ID and class_name, so it is always the same for each student. This should make images easier to locate in a large directory. | |||
2019-02-20 | add_task: fix loading networks from task.py | Timotej Lazar | |
2019-02-20 | Update translations | Timotej Lazar | |
2019-02-20 | Fix instruction box in task_greeting | Timotej Lazar | |
2019-02-20 | Fix and clean up token-based access to params and results | Timotej Lazar | |
2019-02-19 | First try for token-based params and results requests | Timotej Lazar | |
2019-02-19 | Web: remove unused functions | Timotej Lazar | |
2019-02-19 | write_default_config: copy random_data directory to image | Timotej Lazar | |
Images are now generated without random_data directory (commit pending). Instead copy this directory when setting up the disks for each student. | |||
2019-02-19 | Support qcow2 format | Timotej Lazar | |
Exactly the same as vmdk. | |||
2019-02-16 | Improve task_greeting.html template | Timotej Lazar | |
Fix semantics and improve style. | |||
2019-02-16 | Create disk images in multiple formats | Timotej Lazar | |
Refactor some code in create_disk_images.oy into a »prepare_disks« function that creates disk images in the given format for one task. Store paths to images in multiple formats in the database and update the front-end. | |||
2019-02-12 | create_disk_images: add diskless computers to db.student_computers | Timotej Lazar | |
Using defaultdict for all_disks resulted in diskless computers missing from DB. By iterating over keys in computers instead of all_disks computers with no disk are also added (and later shown on task page). | |||
2018-10-13 | Fix two tasks | Timotej Lazar | |
2018-10-13 | Merge branch 'improve-web' | Timotej Lazar | |
Store instructions in HTML and render with jinja2. Add i18n with gettext / pybabel. Improve styling. | |||
2018-10-13 | A couple of tweaks | Timotej Lazar | |
2018-10-13 | Oops, don’t redefine prepare_disks | Timotej Lazar | |
2018-10-13 | Update translations | Timotej Lazar | |
2018-10-13 | Add language links to task page | Timotej Lazar | |
2018-10-13 | Call write_default_config for arbiter in all KPOV 2018 tasks | Timotej Lazar | |
2018-10-13 | Show results and parameters on task page | Timotej Lazar | |
2018-10-13 | add_task: fix returned hints in online task_check | Timotej Lazar | |
2018-10-13 | web.results_post: call task_check with defaultdict(str) | Timotej Lazar | |
Many tasks barf on missing keys. | |||
2018-10-13 | Fix urllib for Python 3 | Timotej Lazar | |
2018-10-13 | I18N | Timotej Lazar | |
2018-10-13 | HTMLize instructions and use jinja2 to render them | Timotej Lazar | |
Only fixed tasks for the kpov_2018 class for now. | |||
2018-10-12 | Add .gitignore | Timotej Lazar | |
2018-10-12 | web: improve style | Timotej Lazar | |
2018-10-11 | web: remove duplicate function | Timotej Lazar | |
2018-10-11 | Improve style in task_greeting.html template | Timotej Lazar | |
2018-10-11 | add_task: read images as bytes, not str | Timotej Lazar | |
2018-10-11 | Remove unused imports | Timotej Lazar | |
2018-10-11 | Use backing files in created disk images | Timotej Lazar | |
2018-10-11 | Write kpov_util.py to disk template in default config | Timotej Lazar | |
2018-10-11 | kpov_util: better error reporting for SSH connections | Timotej Lazar | |
2018-10-11 | test_task: pre-fill prompts with existing data | Timotej Lazar | |
Also some cleanups. | |||
2018-10-10 | add_task: fix reference to instructions | Timotej Lazar | |
Python 3’s exec does not import symbols into the current namespace. | |||
2018-10-10 | Use a single parameter for DB connection | Timotej Lazar | |
Could not get pymongo to work otherwise. | |||
2018-10-09 | Oops, missed a link to kpov_random_helpers | Timotej Lazar | |
2018-10-07 | Merge branch 'fix-tasks' | Timotej Lazar | |
Fixes pexpect usage in most tasks. Several other cleanups and minor refactoring. | |||
2018-10-07 | Fix or remove hashbangs | Timotej Lazar | |
2018-10-07 | Run dos2unix on deviant files | Timotej Lazar | |
2018-10-07 | Remove coding: lines | Timotej Lazar | |
Python 3 source is utf-8 by default. | |||
2018-10-07 | Refactor SSH testing code out of individual tasks | Timotej Lazar | |
Catch SSH errors and report failures as hints. Also some cleanups and 2to3 fixes. | |||
2018-10-07 | test_task: store params in OrderedDict for Python≤3.5 | Timotej Lazar | |
2018-10-07 | util: add another path to search for fortunes | Timotej Lazar | |
2018-10-07 | Rename kpov_random_helpers to kpov_util | Timotej Lazar | |
2018-10-07 | Improve ssh error reporting in some tasks | Timotej Lazar | |