summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-04util: Ask fortune where fortunes can be foundTimotej Lazar
2019-03-07write_default_config: allow specifying target user and directoryTimotej Lazar
2019-03-07kpov_util: support generating strings without digitsTimotej Lazar
2019-03-02Add task compile-runTimotej Lazar
Edit a file, compile it, write a script to run it and store stdout and stderr.
2019-03-02tasks.isc_dhcp_live_boot: add parameter encoding to pexpect callsTimotej Lazar
2019-03-02web: hide HOWTO linkTimotej Lazar
2019-03-02web: increase line width and heightTimotej Lazar
2019-03-02tasks.snmp_agent_uptime: fix scripts in howtoTimotej Lazar
2019-03-02Add build-essential to base disk imageTimotej Lazar
2019-03-02kpov_util: better random strings and filenamesTimotej Lazar
Do not use hard-to-distinguish characters, and use shorter names by default.
2019-03-02ssh_test: improve error reportingTimotej Lazar
2019-03-02ssh_test: fix newlines in command outputTimotej Lazar
2019-02-24License under AGPL3+Timotej Lazar
2019-02-24Move everything one level upTimotej Lazar
2019-02-21tasks/set_motd: update task to use new imagesTimotej Lazar
2019-02-21Add scripts to generate virtual images with DebianTimotej 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-21test_task: improve presentationTimotej 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-21test_task: simplify getting user loginTimotej Lazar
2019-02-21test_task: reorder helper functionsTimotej Lazar
2019-02-21test_task: check and display argparser help before loading the taskTimotej 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-21web.task_source: return the empty string for invalid taskTimotej Lazar
2019-02-21create_disk_images: create standalone VMDK imagesTimotej Lazar
They are useful in both VirtualBox and VMware. VDI is horrible and should die and also it is fat.
2019-02-21create_disk_images: modify image filenamesTimotej 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-20add_task: fix loading networks from task.pyTimotej Lazar
2019-02-20Update translationsTimotej Lazar
2019-02-20Fix instruction box in task_greetingTimotej Lazar
2019-02-20Fix and clean up token-based access to params and resultsTimotej Lazar
2019-02-19First try for token-based params and results requestsTimotej Lazar
2019-02-19Web: remove unused functionsTimotej Lazar
2019-02-19write_default_config: copy random_data directory to imageTimotej 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-19Support qcow2 formatTimotej Lazar
Exactly the same as vmdk.
2019-02-16Improve task_greeting.html templateTimotej Lazar
Fix semantics and improve style.
2019-02-16Create disk images in multiple formatsTimotej 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-12create_disk_images: add diskless computers to db.student_computersTimotej 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-13Fix two tasksTimotej Lazar
2018-10-13Merge branch 'improve-web'Timotej Lazar
Store instructions in HTML and render with jinja2. Add i18n with gettext / pybabel. Improve styling.
2018-10-13A couple of tweaksTimotej Lazar
2018-10-13Oops, don’t redefine prepare_disksTimotej Lazar
2018-10-13Update translationsTimotej Lazar
2018-10-13Add language links to task pageTimotej Lazar
2018-10-13Call write_default_config for arbiter in all KPOV 2018 tasksTimotej Lazar
2018-10-13Show results and parameters on task pageTimotej Lazar
2018-10-13add_task: fix returned hints in online task_checkTimotej Lazar
2018-10-13web.results_post: call task_check with defaultdict(str)Timotej Lazar
Many tasks barf on missing keys.
2018-10-13Fix urllib for Python 3Timotej Lazar
2018-10-13I18NTimotej Lazar
2018-10-13HTMLize instructions and use jinja2 to render themTimotej Lazar
Only fixed tasks for the kpov_2018 class for now.
2018-10-12Add .gitignoreTimotej Lazar
2018-10-12web: improve styleTimotej Lazar
2018-10-11web: remove duplicate functionTimotej Lazar