From 5821ecc5023032e48da38e4f6f7e2c50a50a1dc9 Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 2 Jul 2020 14:22:21 +0530 Subject: Release 0.21 related changes --- CHANGELOG.txt | 4 ++++ README.rst | 40 +++++++++++++++++++++++++++------ yaksh/migrations/0020_release_0_21_0.py | 28 +++++++++++++++++++++++ 3 files changed, 65 insertions(+), 7 deletions(-) create mode 100644 yaksh/migrations/0020_release_0_21_0.py diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e50ecd3..d37f7c7 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,7 @@ +== 0.21.0 (02-07-2020) === + +* Added support for hiding test cases for code questions + == 0.20.2 (02-06-2020) === * Added a custom filter to convert str objects to int in templates diff --git a/README.rst b/README.rst index c730fdf..def052d 100644 --- a/README.rst +++ b/README.rst @@ -9,23 +9,26 @@ To get an overview of the Yaksh interface please refer to the user documentation This is a Quickstart guide to help users setup a trial instance. If you wish to deploy Yaksh in a production environment here is a `Production Deployment Guide `_ Introduction -^^^^^^^^^^^^ +============ This project provides an "exam" app that lets users take an online programming quiz. Features -^^^^^^^^ +======== - Define fairly complicated programming problems and have users solve the problem. - Immediate verification of code solution. -- Supports pretty much arbitrary coding questions in Python, C, C++ and - simple Bash and uses "test cases" to test the implementations of the - students. -- Supports simple multiple choice questions and File uploads. -- Since it runs on your Python, you could technically test any Python +- Supports pretty much arbitrary coding questions in Python, C, C++, Java, R, Scilab and + Bash. +- Supports Multiple choice, Fill in the blanks, Arrange options and File upload based questions. +- Since it runs on Python, you could technically test any Python based library. +- Create course with lessons and quiz for online learning. +- Almost real-time monitoring for quiz. +- Supports automatic and manual grading, regrading of quiz. +- Add grading system to the course. - Scales to over 500+ simultaneous users. - Distributed under the BSD license. @@ -36,6 +39,7 @@ Python 3.6, 3.7, 3.8 Django 3.0.3 +Celery 4.4.2 Installation ============ @@ -55,6 +59,28 @@ miniconda. Download miniconda with Python 3.6 and above. **Pre-Requisite** +* Install redis server + + Redis is required for celery. Celery runs in background for regrading the papers. + + :: + + sudo apt install redis-server (Debian/Ubuntu) + + yum install redis (Centos) + +* Start redis server + + :: + + systemctl start redis + +* Check redis server status + + :: + + systemctl status redis + * Ensure `pip `_ is installed **Installing Yaksh** diff --git a/yaksh/migrations/0020_release_0_21_0.py b/yaksh/migrations/0020_release_0_21_0.py new file mode 100644 index 0000000..ac88eda --- /dev/null +++ b/yaksh/migrations/0020_release_0_21_0.py @@ -0,0 +1,28 @@ +# Generated by Django 3.0.3 on 2020-07-02 08:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('yaksh', '0019_release_0_20_0'), + ] + + operations = [ + migrations.AddField( + model_name='hooktestcase', + name='hidden', + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='standardtestcase', + name='hidden', + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='stdiobasedtestcase', + name='hidden', + field=models.BooleanField(default=False), + ), + ] -- cgit From 9c153a086bfb220f07e20fe0712768ce0f7fc343 Mon Sep 17 00:00:00 2001 From: Palaparthy Adityachandra Date: Thu, 2 Jul 2020 14:28:24 +0530 Subject: Update README.rst --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index def052d..b030e55 100644 --- a/README.rst +++ b/README.rst @@ -59,7 +59,7 @@ miniconda. Download miniconda with Python 3.6 and above. **Pre-Requisite** -* Install redis server +* **Install redis server** Redis is required for celery. Celery runs in background for regrading the papers. @@ -69,13 +69,13 @@ miniconda. Download miniconda with Python 3.6 and above. yum install redis (Centos) -* Start redis server +* **Start redis server** :: systemctl start redis -* Check redis server status +* **Check redis server status** :: @@ -207,4 +207,4 @@ Copyright (c) 2011-2017 `FOSSEE `_ .. |Version Status| image:: https://badge.fury.io/gh/fossee%2Fonline_test.svg :target: https://badge.fury.io/gh/fossee%2Fonline_test .. |Coverage Status| image:: https://codecov.io/gh/fossee/online_test/branch/master/graph/badge.svg - :target: https://codecov.io/gh/fossee/online_test \ No newline at end of file + :target: https://codecov.io/gh/fossee/online_test -- cgit From 84de7d4a0594a9f92ae0c1694b65dd9c822e32fd Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 2 Jul 2020 14:46:41 +0530 Subject: Change multiple files - Add version in init - Add demo website information in readme - Update django version in requirements --- README.rst | 20 +++++++++++++++++++- online_test/__init__.py | 2 +- requirements/requirements-common.txt | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index b030e55..3c5f3df 100644 --- a/README.rst +++ b/README.rst @@ -32,6 +32,18 @@ Features - Scales to over 500+ simultaneous users. - Distributed under the BSD license. +To get a glimpse of all the available features check our demo website https://yaksh-demo.fossee.in. It has 50 teacher and student login. + +**Sample teacher login** + +Username:- teacher1 +Password:- teacher1 + +**Sample student login** + +Username:- student1 +Password:- student1 + Requirements ============ @@ -61,7 +73,7 @@ miniconda. Download miniconda with Python 3.6 and above. * **Install redis server** - Redis is required for celery. Celery runs in background for regrading the papers. + Redis is required for celery. Celery runs a background task to re-evaluate the submissions. :: @@ -81,6 +93,12 @@ miniconda. Download miniconda with Python 3.6 and above. systemctl status redis +* **Run celery worker** + + :: + + celery -A online_test worker -B + * Ensure `pip `_ is installed **Installing Yaksh** diff --git a/online_test/__init__.py b/online_test/__init__.py index dcc123e..63a9920 100644 --- a/online_test/__init__.py +++ b/online_test/__init__.py @@ -4,4 +4,4 @@ from online_test.celery_settings import app as celery_app __all__ = ('celery_app',) -__version__ = '0.20.2' +__version__ = '0.21.0' diff --git a/requirements/requirements-common.txt b/requirements/requirements-common.txt index db5de43..b9901ae 100644 --- a/requirements/requirements-common.txt +++ b/requirements/requirements-common.txt @@ -1,6 +1,6 @@ -r requirements-codeserver.txt invoke==0.21.0 -django==3.0.3 +django==3.0.7 django-taggit==1.2.0 pytz==2019.3 requests-oauthlib>=0.6.1 -- cgit