summaryrefslogtreecommitdiff
path: root/kpov_judge/test_task.py
AgeCommit message (Collapse)Author
2019-02-24Move everything one level upTimotej Lazar
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-20Fix and clean up token-based access to params and resultsTimotej Lazar
2019-02-19First try for token-based params and results requestsTimotej Lazar
2018-10-11Remove unused importsTimotej Lazar
2018-10-11test_task: pre-fill prompts with existing dataTimotej Lazar
Also some cleanups.
2018-10-07Fix or remove hashbangsTimotej Lazar
2018-10-07Remove coding: linesTimotej Lazar
Python 3 source is utf-8 by default.
2018-10-07test_task: store params in OrderedDict for Python≤3.5Timotej Lazar
2018-10-07Rename kpov_random_helpers to kpov_utilTimotej 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.
2016-09-29updated test_task.py for the newer versions of python-dialoggasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@349 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2015-04-01added hints to task resultsgasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@296 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2015-03-27Fixed test_task so it now works over the webgasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@292 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2015-02-01task_check for subtask 1 (rename files containing slashes) finished.gasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@261 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2015-01-28Fixed set_ip_static_dhcpgasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@248 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2015-01-28Fixed, tested set_motd task(), task_check()gasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@247 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2015-01-28Fixed kpov_random_helpersgasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@245 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2015-01-20fixed indent in radius_mysql_pam/task.pygasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@214 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-12-22Renamed a variable to make the error message when task() crashes easier to ↵gasperfele@fri1.uni-lj.si
understand. git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@119 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-12-22Re-added random to the imports in test_task.pygasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@117 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-12-22v gen_parameters je potrebno v slovar shranjevat stevilke kot stringe !af7140@student.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@115 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-12-22gen_params ne deluje pravilnoaf7140@student.uni-lj.si
zaganjanje test_task.py -g git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@114 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-11-24Started work on updating add_task to make the web interface functional after ↵gasperfele@fri1.uni-lj.si
the test_task.py rewrite git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@12 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-11-24Fixed references to kpov_random_helpersgasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@10 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-11-24The first working version of test_task.pygasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@9 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-11-21Updated the instructions on how to use the systemgasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@8 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
2014-10-21Separated tasks from lecturesgasperfele@fri1.uni-lj.si
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@2 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414