Skip to content
Snippets Groups Projects
Commit d209fdad authored by Edward Betts's avatar Edward Betts
Browse files

Correct spelling mistakes

parent e13cc5ee
No related branches found
No related tags found
1 merge request!1033Correct spelling mistakes
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="card-content white-text"> <div class="card-content white-text">
<i class="material-icons iconify small left" data-icon="mdi:alert-octagon-outline"></i> <i class="material-icons iconify small left" data-icon="mdi:alert-octagon-outline"></i>
<span class="card-title">{% trans "Error" %} (500): {% blocktrans %}An unexpected error has <span class="card-title">{% trans "Error" %} (500): {% blocktrans %}An unexpected error has
occured.{% endblocktrans %}</span> occurred.{% endblocktrans %}</span>
<p> <p>
{% blocktrans %} {% blocktrans %}
Your site administrators will automatically be notified about this Your site administrators will automatically be notified about this
......
...@@ -23,8 +23,8 @@ from cachalot.signals import post_invalidation ...@@ -23,8 +23,8 @@ from cachalot.signals import post_invalidation
from cache_memoize import cache_memoize from cache_memoize import cache_memoize
def copyright_years(years: Sequence[int], seperator: str = ", ", joiner: str = "") -> str: def copyright_years(years: Sequence[int], separator: str = ", ", joiner: str = "") -> str:
"""Take a sequence of integegers and produces a string with ranges. """Take a sequence of integers and produces a string with ranges.
>>> copyright_years([1999, 2000, 2001, 2005, 2007, 2008, 2009]) >>> copyright_years([1999, 2000, 2001, 2005, 2007, 2008, 2009])
'1999–2001, 2005, 2007–2009' '1999–2001, 2005, 2007–2009'
...@@ -38,11 +38,11 @@ def copyright_years(years: Sequence[int], seperator: str = ", ", joiner: str = " ...@@ -38,11 +38,11 @@ def copyright_years(years: Sequence[int], seperator: str = ", ", joiner: str = "
for range_ in ranges for range_ in ranges
] ]
return seperator.join(years_strs) return separator.join(years_strs)
def dt_show_toolbar(request: HttpRequest) -> bool: def dt_show_toolbar(request: HttpRequest) -> bool:
"""Add a helper to determin if Django debug toolbar should be displayed. """Add a helper to determine if Django debug toolbar should be displayed.
Extends the default behaviour by enabling DJDT for superusers independent Extends the default behaviour by enabling DJDT for superusers independent
of source IP. of source IP.
......
...@@ -93,7 +93,7 @@ In contrast to persons, groups are supposed to be **linked to school ...@@ -93,7 +93,7 @@ In contrast to persons, groups are supposed to be **linked to school
terms** (but they don’t have to be). For example, the composition of a terms** (but they don’t have to be). For example, the composition of a
class or a course varies from school term to school term. In order to class or a course varies from school term to school term. In order to
archive historical data according to local laws, these groups have to be archive historical data according to local laws, these groups have to be
separeted which is solved by linking them to a school term. separated which is solved by linking them to a school term.
Manage groups Manage groups
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
......
...@@ -13,7 +13,7 @@ the AlekSIS system (see below). ...@@ -13,7 +13,7 @@ the AlekSIS system (see below).
Installing packages for LDAP support Installing packages for LDAP support
------------------------------------ ------------------------------------
Installing the necessary librairies for LDAP support unfortunately is not Installing the necessary libraries for LDAP support unfortunately is not
very straightforward under all circumstances. On Debian, install these packages:: very straightforward under all circumstances. On Debian, install these packages::
sudo apt install python3-ldap libldap2-dev libssl-dev libsasl2-dev python3-dev sudo apt install python3-ldap libldap2-dev libssl-dev libsasl2-dev python3-dev
......
...@@ -4,7 +4,7 @@ Registration and user invitations ...@@ -4,7 +4,7 @@ Registration and user invitations
In addition to central management of user accounts, AlekSIS allows self-registration In addition to central management of user accounts, AlekSIS allows self-registration
by users. Registration can be either fully open, or based on personal invitations. by users. Registration can be either fully open, or based on personal invitations.
In a system handling ciritcal data, access control should be as tight as possible. In a system handling critical data, access control should be as tight as possible.
However, there are scenarios where central account creation is not feasible, e.g. However, there are scenarios where central account creation is not feasible, e.g.
for optional guardian accounts. In such a scenario, the invitation system allows for optional guardian accounts. In such a scenario, the invitation system allows
for processes like handing out invitation codes as a letter or through e-mail for processes like handing out invitation codes as a letter or through e-mail
......
...@@ -58,7 +58,7 @@ Monitoring with Icinga2 ...@@ -58,7 +58,7 @@ Monitoring with Icinga2
As already mentioned, there is a JSON endpoint at As already mentioned, there is a JSON endpoint at
https://aleksis.example.com/health/. You can use an json check plugin to https://aleksis.example.com/health/. You can use an json check plugin to
check seperate health checks or just use a HTTP check to check if the check separate health checks or just use a HTTP check to check if the
site returns HTTP 200. site returns HTTP 200.
Performance monitoring with Prometheus Performance monitoring with Prometheus
......
...@@ -2,7 +2,7 @@ Setting up the development environment ...@@ -2,7 +2,7 @@ Setting up the development environment
====================================== ======================================
AlekSIS and all official apps use `Poetry`_ to manage virtualenvs and AlekSIS and all official apps use `Poetry`_ to manage virtualenvs and
dependencies. You should make yourself a bit confortable with poetry dependencies. You should make yourself a bit comfortable with poetry
by reading its documentation. by reading its documentation.
Poetry makes a lot of stuff very easy, especially managing a virtual Poetry makes a lot of stuff very easy, especially managing a virtual
......
...@@ -29,7 +29,7 @@ setting certain environment variables: ...@@ -29,7 +29,7 @@ setting certain environment variables:
Selenium tests are enabled if `TEST_SELENIUM_BROWSERS` is non-empty. Selenium tests are enabled if `TEST_SELENIUM_BROWSERS` is non-empty.
To set variables, use env to wrap the tox ommand:: To set variables, use env to wrap the tox command::
TEST_SELENIUM_BROWSERS=chrome,firefox tox TEST_SELENIUM_BROWSERS=chrome,firefox tox
...@@ -69,5 +69,5 @@ look like they should or for documentation purposes. ...@@ -69,5 +69,5 @@ look like they should or for documentation purposes.
To enable screenshots, add the `TEST_SCREENSHOT_PATH` environment variable To enable screenshots, add the `TEST_SCREENSHOT_PATH` environment variable
when running the tests. when running the tests.
If runnin multiple browsers, screenshots are placed in separate directories If running multiple browsers, screenshots are placed in separate directories
per browser. per browser.
...@@ -15,7 +15,7 @@ AlekSIS account. ...@@ -15,7 +15,7 @@ AlekSIS account.
:alt: Signup formular :alt: Signup formular
If enabled, you have to verify your email address after signup. To do so, click If enabled, you have to verify your email address after signup. To do so, click
on the link you recieved on the email address you entered in the signup form. on the link you received on the email address you entered in the signup form.
.. note:: .. note::
Normally, AlekSIS does not allow public registratio, and all accounts are Normally, AlekSIS does not allow public registratio, and all accounts are
...@@ -32,5 +32,5 @@ enter it. You will be redirected to the signup form. ...@@ -32,5 +32,5 @@ enter it. You will be redirected to the signup form.
:width: 100% :width: 100%
:alt: Accept invitation :alt: Accept invitation
If you've recieved an invitation link (e.g. via email), clicking the link If you've received an invitation link (e.g. via email), clicking the link
will redirect you to the signup form automatically. will redirect you to the signup form automatically.
...@@ -90,6 +90,6 @@ Authorized applications ...@@ -90,6 +90,6 @@ Authorized applications
----------------------- -----------------------
On the page ``Account → Authorized applications`` you can see all On the page ``Account → Authorized applications`` you can see all
external applications you authorized to retreive data about you from external applications you authorized to retrieve data about you from
AlekSIS. That can be services provided by your local institution like a AlekSIS. That can be services provided by your local institution like a
chat platform, for example. chat platform, for example.
...@@ -35,7 +35,7 @@ Firefox Desktop which nevertheless supports the other features. ...@@ -35,7 +35,7 @@ Firefox Desktop which nevertheless supports the other features.
- Chromium-based browsers (e.g. Chromium, Google Chrome, Microsoft - Chromium-based browsers (e.g. Chromium, Google Chrome, Microsoft
Edge) will usually prompt you to install the PWA by a popup on both Edge) will usually prompt you to install the PWA by a popup on both
mobile and desktop devices; for the former using a banner and for the mobile and desktop devices; for the former using a banner and for the
latter using an appearing button in the adress bar. In both cases, a latter using an appearing button in the address bar. In both cases, a
click on the notification is enough to start the installation click on the notification is enough to start the installation
process. process.
- Firefox Mobile will also probably prompt you using a dot near the - Firefox Mobile will also probably prompt you using a dot near the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment