summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormahesh2017-05-15 15:00:57 +0530
committermahesh2017-05-15 15:00:57 +0530
commitcb1655ea467cf6ed673ed422719c87f2c861723a (patch)
tree1a11405075173598461201d2bd93df66acc110de
parent3bbaa1e17778fb3790a9546d365444c38df31e1a (diff)
parent7baaa70c0e7f660ad7482c3c3950eab171b27cd3 (diff)
downloadonline_test-cb1655ea467cf6ed673ed422719c87f2c861723a.tar.gz
online_test-cb1655ea467cf6ed673ed422719c87f2c861723a.tar.bz2
online_test-cb1655ea467cf6ed673ed422719c87f2c861723a.zip
Merge branch 'master' of https://github.com/fossee/online_test into difflib
-rw-r--r--CHANGELOG.txt27
-rw-r--r--online_test/__init__.py2
-rw-r--r--online_test/settings.py4
-rw-r--r--yaksh/migrations/0006_release_0_6_0.py45
-rw-r--r--yaksh/send_emails.py8
5 files changed, 81 insertions, 5 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
new file mode 100644
index 0000000..6812c34
--- /dev/null
+++ b/CHANGELOG.txt
@@ -0,0 +1,27 @@
+=== 0.6.0 (11-05-2017) ===
+
+* Added a course code field that can be used to search a course.
+* Updated the documentation to describe the course code feature
+* Fixed a bug that prevented redirection based on 'next' parameter after login.
+* Fixed a bug that littered residual system processes created by code evaluators.
+* Added the facility to allow moderators to see and download uploaded assignments.
+* Fixed a bug that prevented teachers of a course from editing Question papers.
+* Added a start time and end time for enrollment of a course.
+* Added the facility to allow moderators to edit the details of a course.
+* Added a test_settings.py file to avoid using the committed migrations and rebuild database from scratch while running tests.
+
+=== 0.5.0 (22-03-2017) ===
+
+* Fixed a bug that prevented question tags from being saved when saving questions.
+* Added new question types: 'String Type', 'Integer Type' and 'Float Type'.
+* Fixed a bug that prevented questions from appearing in the same order as they had been added.
+* Added the feature to allow moderators to check uploaded assignments using code hooks.
+* Added error handling for question json upload.
+* Added mathjax rendering to text boxes.
+* Added migration commands to the script.
+* Added migrations folder to the yaksh app.
+* Removed a function call to datetime.now() to set defaults for quiz start time.
+* Fixed a bug that displayed the elements of stdout testcase output as unicode.
+* Fixed a bug that prevented users from logging in using Google OAuth.
+* Added coverage reports to travis.yml.
+
diff --git a/online_test/__init__.py b/online_test/__init__.py
index 2b8877c..ef7eb44 100644
--- a/online_test/__init__.py
+++ b/online_test/__init__.py
@@ -1 +1 @@
-__version__ = '0.5.0'
+__version__ = '0.6.0'
diff --git a/online_test/settings.py b/online_test/settings.py
index 26449d4..4ca2967 100644
--- a/online_test/settings.py
+++ b/online_test/settings.py
@@ -113,7 +113,6 @@ EMAIL_HOST_USER = 'email_host_user'
EMAIL_HOST_PASSWORD = 'email_host_password'
-
# Set EMAIL_BACKEND to 'django.core.mail.backends.smtp.EmailBackend' in production
EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
@@ -124,6 +123,9 @@ EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
# For example no_reply@<your_organization>.in can be used.
SENDER_EMAIL = 'your_email'
+# Organisation/Indivudual Name.
+SENDER_NAME = 'your_name'
+
# This email id will be used by users to send their queries
# For example queries@<your_organization>.in can be used.
REPLY_EMAIL = 'your_reply_email'
diff --git a/yaksh/migrations/0006_release_0_6_0.py b/yaksh/migrations/0006_release_0_6_0.py
new file mode 100644
index 0000000..335ac23
--- /dev/null
+++ b/yaksh/migrations/0006_release_0_6_0.py
@@ -0,0 +1,45 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.5 on 2017-05-11 09:59
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('yaksh', '0005_auto_20170410_1024'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='course',
+ name='code',
+ field=models.CharField(blank=True, max_length=128, null=True),
+ ),
+ migrations.AddField(
+ model_name='course',
+ name='hidden',
+ field=models.BooleanField(default=False),
+ ),
+ migrations.AddField(
+ model_name='profile',
+ name='activation_key',
+ field=models.CharField(blank=True, max_length=40, null=True),
+ ),
+ migrations.AddField(
+ model_name='profile',
+ name='is_email_verified',
+ field=models.BooleanField(default=False),
+ ),
+ migrations.AddField(
+ model_name='profile',
+ name='key_expiry_time',
+ field=models.DateTimeField(blank=True, null=True),
+ ),
+ migrations.AlterField(
+ model_name='course',
+ name='enrollment',
+ field=models.CharField(choices=[('default', 'Enroll Request'), ('open', 'Open Enrollment')], max_length=32),
+ ),
+ ]
diff --git a/yaksh/send_emails.py b/yaksh/send_emails.py
index 37736d5..8983024 100644
--- a/yaksh/send_emails.py
+++ b/yaksh/send_emails.py
@@ -38,9 +38,11 @@ def send_user_mail(user_mail, key):
copy and paste the URL in a new browser window instead.
For any issue, please write us on {2}
- Regards
- Yaksh Team
- """.format(settings.PRODUCTION_URL, key, settings.REPLY_EMAIL)
+ Regards,
+ {3}
+ """.format(settings.PRODUCTION_URL, key, settings.REPLY_EMAIL,
+ settings.SENDER_NAME
+ )
)
send_mail(subject, message, settings.SENDER_EMAIL, [to])