diff --git a/UPGRADING.rst b/UPGRADING.rst
index 7bb33f39d..ad687981e 100644
--- a/UPGRADING.rst
+++ b/UPGRADING.rst
@@ -347,7 +347,7 @@ List of changes since the *CONFIG_VERSION* numbering was introduced:
# directory in which necessary files will be stored.
#FILETRACKER_CACHE_ROOT = '__DIR__/cache'
- # When using a remote storage it's recommended to enable a cache cleaner deamon
+ # When using a remote storage it's recommended to enable a cache cleaner daemon
# which will periodically scan cache directory and remove files what aren't
# used. For a detailed description of each option, please read a cache cleaner
# configuration section in the sioworkersd documentation.
@@ -439,7 +439,7 @@ List of changes since the *CONFIG_VERSION* numbering was introduced:
-# Filetracker server settings.
-#
- -# Determines which filetracker database use, availible options are:
+ -# Determines which filetracker database use, available options are:
-# - 'oioioi.filetracker.client.media_root_factory' (the default)
-# Stores files on local filesystem under MEDIA_ROOT, optionally
-# exposing them with a filetracker server (see section below).
@@ -588,7 +588,7 @@ List of changes since the *CONFIG_VERSION* numbering was introduced:
# 'oioioi.usergroups',
-#. * Introduced `DEFAULT_COMPILERS` to settings, which should be set for every language supoorted::
+#. * Introduced `DEFAULT_COMPILERS` to settings, which should be set for every language supported::
--- a/oioioi/default_settings.py
+++ b/oioioi/default_settings.py
@@ -896,7 +896,7 @@ List of changes since the *CONFIG_VERSION* numbering was introduced:
+# The server to be run. Options are:
+# 'django' - django's http server
+# 'uwsgi' - uwsgi daemon
- +# 'uwsgi-http' - uwsgi deamon with built-in http server
+ +# 'uwsgi-http' - uwsgi daemon with built-in http server
+# None - nothing will be run
+SERVER = 'django'
diff --git a/extra/sample-configs/runnable-test-settings.py b/extra/sample-configs/runnable-test-settings.py
index 42d00dd72..b85791899 100644
--- a/extra/sample-configs/runnable-test-settings.py
+++ b/extra/sample-configs/runnable-test-settings.py
@@ -37,7 +37,7 @@
#
#
-# To workarund a bug, where sioworkers is not passed
+# To workaround a bug, where sioworkers is not passed
# FILETRACKER_CACHE_ROOT, use this to start the website:
#
# FILETRACKER_URL=/tmp/oioioi-filetracker-cache ./manage.py runserver
diff --git a/oioioi/base/templates/registration/delete_account_done.html b/oioioi/base/templates/registration/delete_account_done.html
index d29355c14..0c126a8bb 100644
--- a/oioioi/base/templates/registration/delete_account_done.html
+++ b/oioioi/base/templates/registration/delete_account_done.html
@@ -1,11 +1,11 @@
{% extends "simple-centered.html" %}
{% load i18n %}
-{% block title %}{% trans "Account succesfully deleted" %}{% endblock %}
+{% block title %}{% trans "Account successfully deleted" %}{% endblock %}
{% block content %}
-
{% trans "Account succesfully deleted" %}
-
{% trans "Your account has been succesfully deleted" %}
+
{% trans "Account successfully deleted" %}
+
{% trans "Your account has been successfully deleted" %}
{% endblock %}
diff --git a/oioioi/base/utils/pdf.py b/oioioi/base/utils/pdf.py
index 62cd69504..d9f539f6f 100644
--- a/oioioi/base/utils/pdf.py
+++ b/oioioi/base/utils/pdf.py
@@ -41,7 +41,7 @@ def generate_pdf(tex_code, filename, extra_args=None, num_passes=3):
def extract_text_from_pdf(pdf_file):
- # pdf_file must be a a file-like object
+ # pdf_file must be a file-like object
# returns a list of strings, each string containing text from one page
# the char_margin is needed because pdfminer.six has a problem
diff --git a/oioioi/contests/middleware.py b/oioioi/contests/middleware.py
index 99ec9fcc9..eab2d8bce 100644
--- a/oioioi/contests/middleware.py
+++ b/oioioi/contests/middleware.py
@@ -59,7 +59,7 @@ class CurrentContestMiddleware:
Then, if there is no contest ID in a request's URL, but the URL
also comes with a contest-specific version and a contest exists,
a redirection is performed to one of the existing contests. Which one
- it is is determined by the following algorithm:
+ it is determined by the following algorithm:
#. If last contest is saved in session, this value is used.
#. If the session value is not available or invalid,
diff --git a/oioioi/default_settings.py b/oioioi/default_settings.py
index 3cb2be490..5a9173f6c 100755
--- a/oioioi/default_settings.py
+++ b/oioioi/default_settings.py
@@ -39,7 +39,7 @@
# The server to be run. Options are:
# 'django' - django's http server
# 'uwsgi' - uwsgi daemon
-# 'uwsgi-http' - uwsgi deamon with built-in http server
+# 'uwsgi-http' - uwsgi daemon with built-in http server
# 'none' - nothing will be ran
SERVER = os.getenv('OIOIOI_SERVER_MODE', 'none')
@@ -368,7 +368,7 @@
# this also defines the filetracker server oioioi should connect to.
FILETRACKER_URL = os.getenv('FILETRACKER_URL', 'http://127.0.0.1:9999')
-# When using a remote storage it's recommended to enable a cache cleaner deamon
+# When using a remote storage it's recommended to enable a cache cleaner daemon
# which will periodically scan cache directory and remove files what aren't
# used. For a detailed description of each option, please read a cache cleaner
# configuration section in the sioworkersd documentation. Please note that
diff --git a/oioioi/deployment/settings.py.template b/oioioi/deployment/settings.py.template
index 83e04118a..d53d0322a 100755
--- a/oioioi/deployment/settings.py.template
+++ b/oioioi/deployment/settings.py.template
@@ -38,7 +38,7 @@ ALLOWED_HOSTS = ['oioioi', '127.0.0.1', 'localhost', 'web']
# The server to be run. Options are:
# 'django' - django's http server
# 'uwsgi' - uwsgi daemon
-# 'uwsgi-http' - uwsgi deamon with built-in http server
+# 'uwsgi-http' - uwsgi daemon with built-in http server
# 'none' - nothing will be ran
# SERVER = 'none'
@@ -257,7 +257,7 @@ AUTHENTICATION_BACKENDS += (
# in which the necessary files will be stored.
FILETRACKER_CACHE_ROOT = '__DIR__/cache'
-# When using a remote storage it's recommended to enable a cache cleaner deamon
+# When using a remote storage it's recommended to enable a cache cleaner daemon
# which will periodically scan cache directory and remove files what aren't
# used. For a detailed description of each option, please read a cache cleaner
# configuration section in the sioworkersd documentation. Please note that
diff --git a/oioioi/evalmgr/tasks.py b/oioioi/evalmgr/tasks.py
index a43c7b28c..289aea750 100644
--- a/oioioi/evalmgr/tasks.py
+++ b/oioioi/evalmgr/tasks.py
@@ -222,13 +222,13 @@ def _run_error_handlers(env, exc_info):
# pylint: disable=broad-except
except Exception:
logger.error(
- "Exception occured in job's error handlers:\n%s",
+ "Exception occurred in job's error handlers:\n%s",
pprint.pformat(env, indent=4),
exc_info=True,
)
if not env.get("ignore_errors"):
logger.error(
- "Exception occured in job:\n%s",
+ "Exception occurred in job:\n%s",
pprint.pformat(env, indent=4),
exc_info=exc_info,
)
diff --git a/oioioi/maintenancemode/middleware.py b/oioioi/maintenancemode/middleware.py
index 683945ec9..1493da7ed 100644
--- a/oioioi/maintenancemode/middleware.py
+++ b/oioioi/maintenancemode/middleware.py
@@ -28,7 +28,7 @@ def _process_request(self, request):
return None
# If admin logged in as another user, the information who
- # the real user is is stored in real_user
+ # the real user is stored in real_user
if hasattr(request, "real_user"):
if request.real_user.is_superuser:
return None
diff --git a/oioioi/notifications/static/common/notifications.js b/oioioi/notifications/static/common/notifications.js
index c482e2e49..ba9b5a6f4 100644
--- a/oioioi/notifications/static/common/notifications.js
+++ b/oioioi/notifications/static/common/notifications.js
@@ -162,7 +162,7 @@ NotificationsClient.prototype.renderMessages = function () {
this.dropdownLoading = false;
this.HEADER_REFRESH_SPINNER.removeClass("spinner");
this.setErrorState();
- let text = gettext("A network error occured. Recent submissions list could not be loaded");
+ let text = gettext("A network error occurred. Recent submissions list could not be loaded");
this.TABLE_NOTIFICATIONS.html(
$("