Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-02 | Add build-essential to base disk image | Timotej Lazar | |
2019-03-02 | kpov_util: better random strings and filenames | Timotej Lazar | |
Do not use hard-to-distinguish characters, and use shorter names by default. | |||
2019-03-02 | ssh_test: improve error reporting | Timotej Lazar | |
2019-03-02 | ssh_test: fix newlines in command output | Timotej Lazar | |
2019-02-24 | License under AGPL3+ | Timotej Lazar | |
2019-02-24 | Move everything one level up | Timotej Lazar | |
2019-02-21 | tasks/set_motd: update task to use new images | Timotej Lazar | |
2019-02-21 | Add scripts to generate virtual images with Debian | Timotej Lazar | |
The script make-base downloads and installs Debian Buster in a backing image which is then used by make-arbiter and make-student to create derived images with specific configurations. | |||
2019-02-21 | test_task: improve presentation | Timotej Lazar | |
Print all non-writable task parameters first and only query for the writable ones. Add headers to and clean up the output. | |||
2019-02-21 | test_task: simplify getting user login | Timotej Lazar | |
2019-02-21 | test_task: reorder helper functions | Timotej Lazar | |
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. |