diff options
author | aditya | 2020-05-20 14:25:59 +0530 |
---|---|---|
committer | aditya | 2020-05-20 14:25:59 +0530 |
commit | dd908b21633156c37aff4b443fee0e73ccda5bec (patch) | |
tree | 783da6cf8575a9c566a9f2e534be66ffd05c7f8d | |
parent | 5c57dd3ab185d5d0ad39240180e98d4a3131daa5 (diff) | |
download | online_test-dd908b21633156c37aff4b443fee0e73ccda5bec.tar.gz online_test-dd908b21633156c37aff4b443fee0e73ccda5bec.tar.bz2 online_test-dd908b21633156c37aff4b443fee0e73ccda5bec.zip |
Release 0.2.0 related changes
-rw-r--r-- | CHANGELOG.txt | 13 | ||||
-rw-r--r-- | README_production.rst | 2 | ||||
-rw-r--r-- | online_test/__init__.py | 2 | ||||
-rw-r--r-- | requirements/requirements-production.txt | 2 | ||||
-rw-r--r-- | yaksh/migrations/0018_auto_20200408_1206.py | 25 | ||||
-rw-r--r-- | yaksh/migrations/0019_release_0_2_0.py | 70 |
6 files changed, 111 insertions, 3 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 68290e7..cd0c639 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,16 @@ +=== 0.2.0 (20-05-2020) === + +* Added a discussion forum feature +* Added a reject select button to reject mulitple students from a course +* Added a celery task to regrade the papers +* Merge monitor, grade user and regrade dashboard into a single consolidated dashboard +* Fixed pagination and other issues while searching courses, questions +* Added a search and a dropdown in grade user section +* Added more tests for start quiz view function +* Added a additional option "other" in language for a question which supports all types of question except the coding type +* Fixed search in discussion forum +* Added API for yaksh + === 0.14.0 (07-04-2020) === * Added search bar for searching course diff --git a/README_production.rst b/README_production.rst index b29fa4f..7f59e54 100644 --- a/README_production.rst +++ b/README_production.rst @@ -73,7 +73,7 @@ To install this app follow the steps below: :: - pip3 install -r requirements/requirements-py3.txt + pip3 install -r requirements/requirements-production.txt :: diff --git a/online_test/__init__.py b/online_test/__init__.py index 1506ef2..642bfd0 100644 --- a/online_test/__init__.py +++ b/online_test/__init__.py @@ -4,4 +4,4 @@ from online_test.celery import app as celery_app __all__ = ('celery_app',) -__version__ = '0.14.0' +__version__ = '0.2.0' diff --git a/requirements/requirements-production.txt b/requirements/requirements-production.txt index 3d13335..e7e76ed 100644 --- a/requirements/requirements-production.txt +++ b/requirements/requirements-production.txt @@ -1,2 +1,2 @@ -r requirements-common.txt -mysqlclient==1.3.9 +mysqlclient==1.4.6 diff --git a/yaksh/migrations/0018_auto_20200408_1206.py b/yaksh/migrations/0018_auto_20200408_1206.py new file mode 100644 index 0000000..18320b8 --- /dev/null +++ b/yaksh/migrations/0018_auto_20200408_1206.py @@ -0,0 +1,25 @@ +# Generated by Django 3.0.3 on 2020-04-08 06:36 + +import datetime +from django.db import migrations, models +from django.utils.timezone import utc + + +class Migration(migrations.Migration): + + dependencies = [ + ('yaksh', '0017_release_0_14_0'), + ] + + operations = [ + migrations.AlterField( + model_name='course', + name='end_enroll_time', + field=models.DateTimeField(default=datetime.datetime(2198, 12, 31, 18, 7, tzinfo=utc), null=True, verbose_name='End Date and Time for enrollment of course'), + ), + migrations.AlterField( + model_name='quiz', + name='end_date_time', + field=models.DateTimeField(default=datetime.datetime(2198, 12, 31, 18, 7, tzinfo=utc), null=True, verbose_name='End Date and Time of the quiz'), + ), + ] diff --git a/yaksh/migrations/0019_release_0_2_0.py b/yaksh/migrations/0019_release_0_2_0.py new file mode 100644 index 0000000..512228f --- /dev/null +++ b/yaksh/migrations/0019_release_0_2_0.py @@ -0,0 +1,70 @@ +# Generated by Django 3.0.3 on 2020-05-20 07:28 + +import datetime +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion +from django.utils.timezone import utc +import uuid +import yaksh.models + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('yaksh', '0018_auto_20200408_1206'), + ] + + operations = [ + migrations.CreateModel( + name='ForumBase', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('uid', models.UUIDField(default=uuid.uuid4, editable=False, unique=True)), + ('description', models.TextField()), + ('created_at', models.DateTimeField(auto_now_add=True)), + ('modified_at', models.DateTimeField(auto_now=True)), + ('image', models.ImageField(blank=True, null=True, upload_to=yaksh.models.get_image_dir, validators=[yaksh.models.validate_image])), + ('active', models.BooleanField(default=True)), + ('creator', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), + ], + ), + migrations.AddField( + model_name='question', + name='topic', + field=models.CharField(blank=True, max_length=50, null=True), + ), + migrations.AlterField( + model_name='course', + name='end_enroll_time', + field=models.DateTimeField(default=datetime.datetime(2199, 1, 1, 0, 0, tzinfo=utc), null=True, verbose_name='End Date and Time for enrollment of course'), + ), + migrations.AlterField( + model_name='question', + name='language', + field=models.CharField(choices=[('python', 'Python'), ('bash', 'Bash'), ('c', 'C Language'), ('cpp', 'C++ Language'), ('java', 'Java Language'), ('scilab', 'Scilab'), ('r', 'R'), ('other', 'Other')], max_length=24), + ), + migrations.AlterField( + model_name='quiz', + name='end_date_time', + field=models.DateTimeField(default=datetime.datetime(2199, 1, 1, 0, 0, tzinfo=utc), null=True, verbose_name='End Date and Time of the quiz'), + ), + migrations.CreateModel( + name='Post', + fields=[ + ('forumbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='yaksh.ForumBase')), + ('title', models.CharField(max_length=200)), + ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post', to='yaksh.Course')), + ], + bases=('yaksh.forumbase',), + ), + migrations.CreateModel( + name='Comment', + fields=[ + ('forumbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='yaksh.ForumBase')), + ('post_field', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comment', to='yaksh.Post')), + ], + bases=('yaksh.forumbase',), + ), + ] |