summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-10-11Improve style in task_greeting.html templateTimotej Lazar
2018-10-11add_task: read images as bytes, not strTimotej Lazar
2018-10-11Remove unused importsTimotej Lazar
2018-10-11Use backing files in created disk imagesTimotej Lazar
2018-10-11Write kpov_util.py to disk template in default configTimotej Lazar
2018-10-11kpov_util: better error reporting for SSH connectionsTimotej Lazar
2018-10-11test_task: pre-fill prompts with existing dataTimotej Lazar
Also some cleanups.
2018-10-10add_task: fix reference to instructionsTimotej Lazar
Python 3’s exec does not import symbols into the current namespace.
2018-10-10Use a single parameter for DB connectionTimotej Lazar
Could not get pymongo to work otherwise.
2018-10-09Oops, missed a link to kpov_random_helpersTimotej Lazar
2018-10-07Merge branch 'fix-tasks'Timotej Lazar
Fixes pexpect usage in most tasks. Several other cleanups and minor refactoring.
2018-10-07Fix or remove hashbangsTimotej Lazar
2018-10-07Run dos2unix on deviant filesTimotej Lazar
2018-10-07Remove coding: linesTimotej Lazar
Python 3 source is utf-8 by default.
2018-10-07Refactor SSH testing code out of individual tasksTimotej Lazar
Catch SSH errors and report failures as hints. Also some cleanups and 2to3 fixes.
2018-10-07test_task: store params in OrderedDict for Python≤3.5Timotej Lazar
2018-10-07util: add another path to search for fortunesTimotej Lazar
2018-10-07Rename kpov_random_helpers to kpov_utilTimotej Lazar
2018-10-07Improve ssh error reporting in some tasksTimotej Lazar
2018-10-07test_prepare_disks: use mkdir -p to create directoriesTimotej Lazar
Because sftp method barfed on existing paths.
2018-10-05Web: reorder functionsTimotej Lazar
2018-10-05Templates: s/iteritems/itemsTimotej Lazar
2018-10-05Pass globals() to exec callsTimotej Lazar
2018-10-02test_task.py: simplify load_{params,task} functionsTimotej Lazar
2018-10-02test_task.py: simplify argparser codeTimotej Lazar
2018-10-02Use ordinary prompts instead of dialog to get parametersTimotej Lazar
With path completion and masked password input.
2018-10-02test_task.py: fix loading parameters from web for older PythonsTimotej Lazar
2018-10-02Improve reporting in test scriptsTimotej Lazar
2018-09-27Clear screen after showing dialogTimotej Lazar
2018-09-27Fix exec() for Python 3Timotej Lazar
2018-09-26Run 2to3Timotej Lazar
Some stuff is broken now.
2018-09-09Fix character encodingTimotej Lazar
2018-06-19Fix hints for the VLC assignmentgasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@425 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414