diff --git a/aleksis/core/filters.py b/aleksis/core/filters.py index 12265c33c6b9e0d94a9dfb5e87d9111c721fc4ad..c0159567101fe2620deb0f116019ca68e4cf9652 100644 --- a/aleksis/core/filters.py +++ b/aleksis/core/filters.py @@ -9,3 +9,12 @@ class GroupFilter(FilterSet): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.form.layout = Layout(Row("name", "short_name")) + + +class PersonFilter(FilterSet): + first_name = CharFilter(lookup_expr="icontains") + last_name = CharFilter(lookup_expr="icontains") + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.form.layout = Layout(Row("first_name", "last_name")) diff --git a/aleksis/core/mixins.py b/aleksis/core/mixins.py index 8bff9408655273aaad6b05901f8f1dd3e38706c1..d196b044c610ae9ad94627e2f65d34c8d57da1a7 100644 --- a/aleksis/core/mixins.py +++ b/aleksis/core/mixins.py @@ -21,7 +21,7 @@ from django.views.generic.edit import ModelFormMixin import reversion from easyaudit.models import CRUDEvent from guardian.admin import GuardedModelAdmin -from jsonstore.fields import JSONField, JSONFieldMixin +from jsonstore.fields import IntegerField, JSONField, JSONFieldMixin from material.base import Layout, LayoutNode from rules.contrib.admin import ObjectPermissionsModelAdmin @@ -43,6 +43,8 @@ class _ExtensibleModelBase(models.base.ModelBase): # Register all non-abstract models with django-reversion mcls = reversion.register(mcls) + mcls.extra_permissions = [] + return mcls @@ -100,6 +102,8 @@ class ExtensibleModel(models.Model, metaclass=_ExtensibleModelBase): objects = CurrentSiteManager() objects_all_sites = models.Manager() + extra_permissions = [] + def get_absolute_url(self) -> str: """Get the URL o a view representing this model instance.""" pass @@ -205,6 +209,66 @@ class ExtensibleModel(models.Model, metaclass=_ExtensibleModelBase): cls._safe_add(field, name) + @classmethod + def foreign_key( + cls, + field_name: str, + to: models.Model, + to_field: str = "pk", + to_field_type: JSONFieldMixin = IntegerField, + related_name: Optional[str] = None, + ) -> None: + """Add a virtual ForeignKey. + + This works by storing the primary key (or any field passed in the to_field argument) + and adding a property that queries the desired model. + + If the foreign model also is an ExtensibleModel, a reverse mapping is also added under + the related_name passed as argument, or this model's default related name. + """ + + id_field_name = f"{field_name}_id" + if related_name is None: + related_name = cls.Meta.default_related_name + + # Add field to hold key to foreign model + id_field = to_field_type() + cls.field(**{id_field_name: id_field}) + + @property + def _virtual_fk(self) -> Optional[models.Model]: + id_field_val = getattr(self, id_field_name) + if id_field_val: + try: + return to.objects.get(**{to_field: id_field_val}) + except to.DoesNotExist: + # We found a stale foreign key + setattr(self, id_field_name, None) + self.save() + return None + else: + return None + + @_virtual_fk.setter + def _virtual_fk(self, value: Optional[models.Model] = None) -> None: + if value is None: + id_field_val = None + else: + id_field_val = getattr(value, to_field) + setattr(self, id_field_name, id_field_val) + + # Add property to wrap get/set on foreign model instance + cls._safe_add(_virtual_fk, field_name) + + # Add related property on foreign model instance if it provides such an interface + if hasattr(to, "_safe_add"): + + def _virtual_related(self) -> models.QuerySet: + id_field_val = getattr(self, to_field) + return cls.objects.filter(**{id_field_name: id_field_val}) + + to.property_(_virtual_related, related_name) + @classmethod def syncable_fields(cls) -> List[models.Field]: """Collect all fields that can be synced on a model.""" @@ -226,6 +290,11 @@ class ExtensibleModel(models.Model, metaclass=_ExtensibleModelBase): """Collect all fields that can be synced on a model.""" return lazy(cls.syncable_fields_choices, tuple) + @classmethod + def add_permission(cls, name: str, verbose_name: str): + """Dynamically add a new permission to a model.""" + cls.extra_permissions.append((name, verbose_name)) + class Meta: abstract = True diff --git a/aleksis/core/models.py b/aleksis/core/models.py index e703a1309aad2d9055bff1991d871ffb36cce0b0..7fe1e55f78ec3407ad451d1d35c6909e3c3c38da 100644 --- a/aleksis/core/models.py +++ b/aleksis/core/models.py @@ -300,6 +300,9 @@ class AdditionalField(ExtensibleModel): verbose_name=_("Type of field"), choices=FIELD_CHOICES, max_length=50 ) + def __str__(self) -> str: + return self.title + class Meta: verbose_name = _("Addtitional field for groups") verbose_name_plural = _("Addtitional fields for groups") @@ -718,6 +721,9 @@ class GroupType(ExtensibleModel): name = models.CharField(verbose_name=_("Title of type"), max_length=50) description = models.CharField(verbose_name=_("Description"), max_length=500) + def __str__(self) -> str: + return self.name + class Meta: verbose_name = _("Group type") verbose_name_plural = _("Group types") diff --git a/aleksis/core/rules.py b/aleksis/core/rules.py index e854c3077dd60e2cf7bd22e02dcd0240689876b3..35b00f23770f80e3a5ca821393af3bf0956833f8 100644 --- a/aleksis/core/rules.py +++ b/aleksis/core/rules.py @@ -66,6 +66,12 @@ edit_person_predicate = has_person & ( ) add_perm("core.edit_person", edit_person_predicate) +# Delete person +delete_person_predicate = has_person & ( + has_global_perm("core.delete_person") | has_object_perm("core.delete_person") +) +add_perm("core.delete_person", delete_person_predicate) + # Link persons with accounts link_persons_accounts_predicate = has_person & has_global_perm("core.link_persons_accounts") add_perm("core.link_persons_accounts", link_persons_accounts_predicate) @@ -88,6 +94,12 @@ edit_group_predicate = has_person & ( ) add_perm("core.edit_group", edit_group_predicate) +# Delete group +delete_group_predicate = has_person & ( + has_global_perm("core.delete_group") | has_object_perm("core.delete_group") +) +add_perm("core.delete_group", delete_group_predicate) + # Assign child groups to groups assign_child_groups_to_groups_predicate = has_person & has_global_perm( "core.assign_child_groups_to_groups" @@ -229,6 +241,18 @@ view_group_type_predicate = has_person & ( ) add_perm("core.view_grouptype", view_group_type_predicate) +# Create person +create_person_predicate = has_person & ( + has_global_perm("core.create_person") | has_object_perm("core.create_person") +) +add_perm("core.create_person", create_person_predicate) + +# Create group +create_group_predicate = has_person & ( + has_global_perm("core.create_group") | has_object_perm("core.create_group") +) +add_perm("core.create_group", create_group_predicate) + # School years view_school_term_predicate = has_person & has_global_perm("core.view_schoolterm") add_perm("core.view_schoolterm", view_school_term_predicate) diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index d8b50c49522a3309f9501679d1148cb8bf286e6e..ad5d7077eba8bccb0981f70b2ea7fffce7c9474c 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -85,6 +85,11 @@ INSTALLED_APPS = [ "django_otp", "otp_yubikey", "aleksis.core", + "health_check", + "health_check.db", + "health_check.cache", + "health_check.storage", + "health_check.contrib.psutil", "dynamic_preferences", "dynamic_preferences.users.apps.UserPreferencesConfig", "impersonate", @@ -204,6 +209,7 @@ if _settings.get("ldap.uri", None): import ldap # noqa from django_auth_ldap.config import ( LDAPSearch, + LDAPSearchUnion, NestedGroupOfNamesType, NestedGroupOfUniqueNamesType, PosixGroupType, @@ -219,27 +225,44 @@ if _settings.get("ldap.uri", None): AUTH_LDAP_BIND_DN = _settings.get("ldap.bind.dn") AUTH_LDAP_BIND_PASSWORD = _settings.get("ldap.bind.password") + # The TOML config might contain either one table or an array of tables + _AUTH_LDAP_USER_SETTINGS = _settings.get("ldap.users.search") + if not isinstance(_AUTH_LDAP_USER_SETTINGS, list): + _AUTH_LDAP_USER_SETTINGS = [_AUTH_LDAP_USER_SETTINGS] + # Search attributes to find users by username - AUTH_LDAP_USER_SEARCH = LDAPSearch( - _settings.get("ldap.users.base"), - ldap.SCOPE_SUBTREE, - _settings.get("ldap.users.filter", "(uid=%(user)s)"), + AUTH_LDAP_USER_SEARCH = LDAPSearchUnion( + *[ + LDAPSearch(entry["base"], ldap.SCOPE_SUBTREE, entry.get("filter", "(uid=%(user)s)"),) + for entry in _AUTH_LDAP_USER_SETTINGS + ] ) # Mapping of LDAP attributes to Django model fields AUTH_LDAP_USER_ATTR_MAP = { - "first_name": _settings.get("ldap.map.first_name", "givenName"), - "last_name": _settings.get("ldap.map.last_name", "sn"), - "email": _settings.get("ldap.map.email", "mail"), + "first_name": _settings.get("ldap.users.map.first_name", "givenName"), + "last_name": _settings.get("ldap.users.map.last_name", "sn"), + "email": _settings.get("ldap.users.map.email", "mail"), } # Discover flags by LDAP groups - if _settings.get("ldap.groups.base", None): + if _settings.get("ldap.groups.search", None): group_type = _settings.get("ldap.groups.type", "groupOfNames") - AUTH_LDAP_GROUP_SEARCH = LDAPSearch( - _settings.get("ldap.groups.base"), - ldap.SCOPE_SUBTREE, - _settings.get("ldap.groups.filter", f"(objectClass={group_type})"), + + # The TOML config might contain either one table or an array of tables + _AUTH_LDAP_GROUP_SETTINGS = _settings.get("ldap.groups.search") + if not isinstance(_AUTH_LDAP_GROUP_SETTINGS, list): + _AUTH_LDAP_GROUP_SETTINGS = [_AUTH_LDAP_GROUP_SETTINGS] + + AUTH_LDAP_GROUP_SEARCH = LDAPSearchUnion( + *[ + LDAPSearch( + entry["base"], + ldap.SCOPE_SUBTREE, + entry.get("filter", f"(objectClass={group_type})"), + ) + for entry in _AUTH_LDAP_GROUP_SETTINGS + ] ) _group_type = _settings.get("ldap.groups.type", "groupOfNames").lower() @@ -419,7 +442,12 @@ if _settings.get("twilio.sid", None): TWILIO_CALLER_ID = _settings.get("twilio.callerid") if _settings.get("celery.enabled", False): - INSTALLED_APPS += ("django_celery_beat", "django_celery_results", "celery_progress") + INSTALLED_APPS += ( + "django_celery_beat", + "django_celery_results", + "celery_progress", + "health_check.contrib.celery", + ) CELERY_BROKER_URL = _settings.get("celery.broker", "redis://localhost") CELERY_RESULT_BACKEND = "django-db" CELERY_CACHE_BACKEND = "django-cache" @@ -656,3 +684,8 @@ else: HAYSTACK_SEARCH_RESULTS_PER_PAGE = 10 DJANGO_EASY_AUDIT_WATCH_REQUEST_EVENTS = False + +HEALTH_CHECK = { + "DISK_USAGE_MAX": _settings.get("health.disk_usage_max_percent", 90), + "MEMORY_MIN": _settings.get("health.memory_min_mb", 500), +} diff --git a/aleksis/core/static/print.css b/aleksis/core/static/print.css index 4c511a1aec0e871778890bbee305e48130d65d36..0e2389e1dfb308f2b763fae85887f8a682fd1ad7 100644 --- a/aleksis/core/static/print.css +++ b/aleksis/core/static/print.css @@ -38,7 +38,13 @@ header, main, footer { height: 0; } -.print-layout-table td { +.print-layout-table, .print-layout-td { + width: 190mm; + max-width: 190mm; + min-width: 190mm; +} + +.print-layout-td { padding: 0; } @@ -65,6 +71,18 @@ header .row, header .col { width: auto; } +.page-break { + display: block; + text-align: center; + margin: auto; + margin-top: 20px; + margin-bottom: 20px; + width: 200px; + border-top: 1px dashed; + color: darkgrey; + page-break-after: always; +} + @media print { .header-space { height: 35mm; @@ -87,4 +105,8 @@ header .row, header .col { position: fixed; bottom: 0; } + + .page-break { + border: white; + } } diff --git a/aleksis/core/templates/403.html b/aleksis/core/templates/403.html index 00da4145121cafa2319c806884bb5637ad09a798..cbc962a93da9f8e8efd91d1af1b493c254834281 100644 --- a/aleksis/core/templates/403.html +++ b/aleksis/core/templates/403.html @@ -5,10 +5,16 @@ {% block content %} <div class="container"> <div class="card red"> - <div class="card white-text"> - <i class="material-icons small">error_outline</i> - <span class="card-title">{% trans "Error" %} (403): {% blocktrans %}You are not allowed to access the requested page or - object.{% endblocktrans %}</span> + <div class="card-content white-text"> + <i class="material-icons small left">error_outline</i> + <span class="card-title"> + {% if exception %} + {{ exception }} + {% else %} + {% trans "Error" %} (403): {% blocktrans %}You are not allowed to access the requested page or + object.{% endblocktrans %} + {% endif %} + </span> <p> {% blocktrans %} If you think this is an error in AlekSIS, please contact your site diff --git a/aleksis/core/templates/500.html b/aleksis/core/templates/500.html index 0759bfdd070f339fe0eec4f3d5806485e34e4664..a084d76f804f9fa1089c225ac4a16db7bf360f69 100644 --- a/aleksis/core/templates/500.html +++ b/aleksis/core/templates/500.html @@ -6,7 +6,7 @@ <div class="container"> <div class="card red"> <div class="card-content white-text"> - <div class="material-icons small">error_outline</div> + <div class="material-icons small left">error_outline</div> <span class="card-title">{% trans "Error" %} (500): {% blocktrans %}An unexpected error has occured.{% endblocktrans %}</span> <p> diff --git a/aleksis/core/templates/503.html b/aleksis/core/templates/503.html index ac1dc4c3dea129f0798f18fd61dfdaaa5f291d17..dd65828745eb846ee1f6b934043996ffa06759e1 100644 --- a/aleksis/core/templates/503.html +++ b/aleksis/core/templates/503.html @@ -6,7 +6,7 @@ <div class="container"> <div class="card red"> <div class="card-content white-text"> - <div class="material-icons small">error_outline</div> + <div class="material-icons small left">error_outline</div> <span class="card-title">{% blocktrans %}The maintenance mode is currently enabled. Please try again later.{% endblocktrans %}</span> <p> diff --git a/aleksis/core/templates/core/additional_field/edit.html b/aleksis/core/templates/core/additional_field/edit.html index b1487eb259b44f1425c950574f7df845d4e22129..cbfbdfffb0db5932710697a3e20eb5776f8a2e8b 100644 --- a/aleksis/core/templates/core/additional_field/edit.html +++ b/aleksis/core/templates/core/additional_field/edit.html @@ -11,7 +11,7 @@ <form method="post"> {% csrf_token %} {% form form=edit_additional_field_form %}{% endform %} - {% include "core/save_button.html" %} + {% include "core/partials/save_button.html" %} </form> {% endblock %} diff --git a/aleksis/core/templates/core/base_print.html b/aleksis/core/templates/core/base_print.html index b0739d3a2e7e0ceb6d81d21ce575d6ef967d810f..a229d723ed2afa4ec8ad1e7fa0e775889c9d9990 100644 --- a/aleksis/core/templates/core/base_print.html +++ b/aleksis/core/templates/core/base_print.html @@ -29,7 +29,7 @@ <table class="print-layout-table"> <thead> <tr class="no-border"> - <td> + <td class="print-layout-td"> <div class="header-space"> </div> </td> </tr> @@ -37,12 +37,14 @@ <tbody> <tr class="no-border"> - <td> + <td class="print-layout-td"> <div class="content"> <header> <div id="print-header" class="row"> <div class="col s6 logo"> - <img src="{{ request.site.preferences.theme__logo.url }}" alt="Logo" id="print-logo"/> + {% static "img/aleksis-banner.svg" as aleksis_banner %} + <img src="{% firstof request.site.preferences.theme__logo.url aleksis_banner %}" alt="Logo" + id="print-logo"/> </div> <div class="col s6 right-align"> <h5>{% block page_title %}{% endblock %}</h5> @@ -55,7 +57,7 @@ <footer> <div class="left"> - {{ SCHOOL.name }} + {{ request.site.preferences.school__name }} </div> <div class="right"> @@ -69,7 +71,7 @@ <tfoot> <tr class="no-border"> - <td> + <td class="print-layout-td"> <div class="footer-space"> </div> </td> </tr> diff --git a/aleksis/core/templates/core/group/full.html b/aleksis/core/templates/core/group/full.html index 2c778f837a785d431300ea57a1a283a05b6bd367..16d8bf22c3ccc4e2e738099dded4b445ff1dd417 100644 --- a/aleksis/core/templates/core/group/full.html +++ b/aleksis/core/templates/core/group/full.html @@ -3,7 +3,7 @@ {% extends "core/base.html" %} {% load rules %} -{% load i18n static %} +{% load i18n static material_form %} {% load render_table from django_tables2 %} {% block browser_title %}{{ group.name }}{% endblock %} @@ -13,8 +13,9 @@ {% has_perm 'core.edit_group' user group as can_change_group %} {% has_perm 'core.change_group_preferences' user group as can_change_group_preferences %} + {% has_perm 'core.delete_group' user group as can_delete_group %} - {% if can_change_group or can_change_group_preferences %} + {% if can_change_group or can_change_group_preferences or can_delete_group %} <p> {% if can_change_group %} <a href="{% url 'edit_group_by_id' group.id %}" class="btn waves-effect waves-light"> @@ -22,6 +23,14 @@ {% trans "Edit" %} </a> {% endif %} + + {% if can_delete_group %} + <a href="{% url 'delete_group_by_id' group.id %}" class="btn waves-effect waves-light red"> + <i class="material-icons left">delete</i> + {% trans "Delete" %} + </a> + {% endif %} + {% if can_change_group_preferences %} <a href="{% url "preferences_group" group.id %}" class="btn waves-effect waves-light"> <i class="material-icons left">settings</i> @@ -51,9 +60,19 @@ </table> <h5>{% blocktrans %}Owners{% endblocktrans %}</h5> + <form method="get"> + {% form form=owners_filter.form %}{% endform %} + {% trans "Search" as caption %} + {% include "core/partials/save_button.html" with caption=caption icon="search" %} + </form> {% render_table owners_table %} <h5>{% blocktrans %}Members{% endblocktrans %}</h5> + <form method="get"> + {% form form=members_filter.form %}{% endform %} + {% trans "Search" as caption %} + {% include "core/partials/save_button.html" with caption=caption icon="search" %} + </form> {% render_table members_table %} {% endblock %} diff --git a/aleksis/core/templates/core/group/list.html b/aleksis/core/templates/core/group/list.html index fab23516a458f55347ebcc152ee6ffac20e004d5..5dff8c86ade16e1b9f77aee7e2494fddb7ea0ba3 100644 --- a/aleksis/core/templates/core/group/list.html +++ b/aleksis/core/templates/core/group/list.html @@ -2,7 +2,7 @@ {% extends "core/base.html" %} -{% load i18n %} +{% load i18n material_form %} {% load render_table from django_tables2 %} {% block browser_title %}{% blocktrans %}Groups{% endblocktrans %}{% endblock %} @@ -14,5 +14,11 @@ {% trans "Create group" %} </a> + <form method="get"> + {% form form=groups_filter.form %}{% endform %} + {% trans "Search" as caption %} + {% include "core/partials/save_button.html" with caption=caption icon="search" %} + </form> + {% render_table groups_table %} {% endblock %} diff --git a/aleksis/core/templates/core/pages/system_status.html b/aleksis/core/templates/core/pages/system_status.html index a62d024cf9ff5875ce61c8305b84834e47393726..89c6ed65e3982a0318838a66ef7f6716935d0af3 100644 --- a/aleksis/core/templates/core/pages/system_status.html +++ b/aleksis/core/templates/core/pages/system_status.html @@ -63,6 +63,43 @@ </div> </div> + {# Health checks #} + <div class="card"> + <div class="card-content"> + <span class="card-title"> {% blocktrans %}System health checks{% endblocktrans %}</span> + + <table> + <thead> + <tr> + + <th colspan="2">{% trans "Service" %}</th> + <th>{% trans "Status" %}</th> + <th>{% trans "Time taken" %}</th> + </tr> + </thead> + <tbody> + {% for plugin in plugins %} + <tr> + <td> + <a class="tooltipped" data-position="top" data-tooltip="{{ plugin.pretty_status }}"> + {% if plugin.status %} + <i class="material-icons green-text" aria-hidden="true" title="{{ plugin.pretty_status }}">check</i> + {% else %} + <i class="material-icons red-text" aria-hidden="true" title="{{ plugin.pretty_status }}">warning</i> + {% endif %} + </a> + </td> + <td>{{ plugin.identifier }}</td> + <td> + {{ plugin.pretty_status }} + </td> + <td>{{ plugin.time_taken|floatformat:4 }} {% trans "seconds" %}</td> + </tr> + {% endfor %} + </tbody> + </table> + </div> + </div> {% if tasks %} <div class="card"> diff --git a/aleksis/core/templates/core/person/full.html b/aleksis/core/templates/core/person/full.html index 68119a4b641ecfa67b14befaf0749069d7dd3e4f..bc7b66d8ea52cce7c4e64a9e0b3e443c5b18c37b 100644 --- a/aleksis/core/templates/core/person/full.html +++ b/aleksis/core/templates/core/person/full.html @@ -2,7 +2,7 @@ {% extends "core/base.html" %} -{% load i18n static cropping rules %} +{% load i18n static cropping rules material_form %} {% load render_table from django_tables2 %} {% block browser_title %}{{ person.first_name }} {{ person.last_name }}{% endblock %} @@ -12,8 +12,9 @@ {% has_perm 'core.edit_person' user person as can_change_person %} {% has_perm 'core.change_person_preferences' user person as can_change_person_preferences %} + {% has_perm 'core.delete_person' user person as can_delete_person %} - {% if can_change_person or can_change_person_preferences %} + {% if can_change_person or can_change_person_preferences or can_delete_person %} <p> {% if can_change_person %} <a href="{% url 'edit_person_by_id' person.id %}" class="btn waves-effect waves-light"> @@ -22,6 +23,13 @@ </a> {% endif %} + {% if can_delete_person %} + <a href="{% url 'delete_person_by_id' person.id %}" class="btn waves-effect waves-light red"> + <i class="material-icons left">delete</i> + {% trans "Delete" %} + </a> + {% endif %} + {% if can_change_person_preferences %} <a href="{% url "preferences_person" person.id %}" class="btn waves-effect waves-light"> <i class="material-icons left">settings</i> @@ -126,6 +134,11 @@ {% has_perm 'core.view_person_groups' user person as can_view_groups %} {% if can_view_groups %} <h5>{% blocktrans %}Groups{% endblocktrans %}</h5> + <form method="get"> + {% form form=groups_filter.form %}{% endform %} + {% trans "Search" as caption %} + {% include "core/partials/save_button.html" with caption=caption icon="search" %} + </form> {% render_table groups_table %} {% endif %} {% endblock %} diff --git a/aleksis/core/templates/core/person/list.html b/aleksis/core/templates/core/person/list.html index dfecfb7c52b64cbdf49e70d06d1148e82128577f..816e7254b8bc58d8a6a155afdd97d17310042509 100644 --- a/aleksis/core/templates/core/person/list.html +++ b/aleksis/core/templates/core/person/list.html @@ -2,12 +2,27 @@ {% extends "core/base.html" %} -{% load i18n %} +{% load i18n rules material_form %} {% load render_table from django_tables2 %} {% block browser_title %}{% blocktrans %}Persons{% endblocktrans %}{% endblock %} {% block page_title %}{% blocktrans %}Persons{% endblocktrans %}{% endblock %} {% block content %} + {% has_perm 'core.create_person' user person as can_create_person %} + + {% if can_create_person %} + <a class="btn green waves-effect waves-light" href="{% url 'create_person' %}"> + <i class="material-icons left">add</i> + {% trans "Create person" %} + </a> + {% endif %} + + <form method="get"> + {% form form=persons_filter.form %}{% endform %} + {% trans "Search" as caption %} + {% include "core/partials/save_button.html" with caption=caption icon="search" %} + </form> + {% render_table persons_table %} {% endblock %} diff --git a/aleksis/core/templates/core/school_term/create.html b/aleksis/core/templates/core/school_term/create.html index 06fea51ec6d3196d881e97a61c2a9f2579c8a3c7..a3e049112caeaf84095dde68c7fd8d7a32f75602 100644 --- a/aleksis/core/templates/core/school_term/create.html +++ b/aleksis/core/templates/core/school_term/create.html @@ -11,7 +11,7 @@ <form method="post"> {% csrf_token %} {% form form=form %}{% endform %} - {% include "core/save_button.html" %} + {% include "core/partials/save_button.html" %} </form> {% endblock %} diff --git a/aleksis/core/templates/core/school_term/edit.html b/aleksis/core/templates/core/school_term/edit.html index ea0d0d379a9be4f9a341ced494cc89a8d7382b4a..aa1b1dcf5015e876d0b9aa316d25da31673f0a3f 100644 --- a/aleksis/core/templates/core/school_term/edit.html +++ b/aleksis/core/templates/core/school_term/edit.html @@ -11,7 +11,7 @@ <form method="post"> {% csrf_token %} {% form form=form %}{% endform %} - {% include "core/save_button.html" %} + {% include "core/partials/save_button.html" %} </form> {% endblock %} diff --git a/aleksis/core/urls.py b/aleksis/core/urls.py index 32082e2703c6f757c2c9ce38637c0113dfb147c7..51048e5c83bdb6c540254a36754f32cdc3059591 100644 --- a/aleksis/core/urls.py +++ b/aleksis/core/urls.py @@ -9,6 +9,7 @@ from django.views.i18n import JavaScriptCatalog import calendarweek.django import debug_toolbar from django_js_reverse.views import urls_js +from health_check.urls import urlpatterns as health_urls from two_factor.urls import urlpatterns as tf_urls from . import views @@ -19,7 +20,7 @@ urlpatterns = [ path("about/", views.about, name="about_aleksis"), path("admin/", admin.site.urls), path("data_management/", views.data_management, name="data_management"), - path("status/", views.system_status, name="system_status"), + path("status/", views.SystemStatus.as_view(), name="system_status"), path("", include(tf_urls)), path("accounts/logout/", auth_views.LogoutView.as_view(), name="logout"), path("school_terms/", views.SchoolTermListView.as_view(), name="school_terms"), @@ -28,8 +29,10 @@ urlpatterns = [ path("persons", views.persons, name="persons"), path("persons/accounts", views.persons_accounts, name="persons_accounts"), path("person", views.person, name="person"), + path("person/create", views.edit_person, name="create_person"), path("person/<int:id_>", views.person, name="person_by_id"), path("person/<int:id_>/edit", views.edit_person, name="edit_person_by_id"), + path("person/<int:id_>/delete", views.delete_person, name="delete_person_by_id"), path("groups", views.groups, name="groups"), path("groups/additional_fields", views.additional_fields, name="additional_fields"), path("groups/child_groups/", views.groups_child_groups, name="groups_child_groups"), @@ -51,6 +54,7 @@ urlpatterns = [ path("group/create", views.edit_group, name="create_group"), path("group/<int:id_>", views.group, name="group_by_id"), path("group/<int:id_>/edit", views.edit_group, name="edit_group_by_id"), + path("group/<int:id_>/delete", views.delete_group, name="delete_group_by_id"), path("", views.index, name="index"), path( "notifications/mark-read/<int:id_>", @@ -147,6 +151,7 @@ urlpatterns = [ {"registry_name": "group"}, name="preferences_group", ), + path("health/", include(health_urls)), ] # Serve static files from STATIC_ROOT to make it work with runserver diff --git a/aleksis/core/util/apps.py b/aleksis/core/util/apps.py index d263feb9a2ba0c9e36d821a56e12f77726a7a672..72e0a2fcd0c46c7ca8bae47dd79e79b70ec9d432 100644 --- a/aleksis/core/util/apps.py +++ b/aleksis/core/util/apps.py @@ -189,6 +189,9 @@ class AppConfig(django.apps.AppConfig): pass def _maintain_default_data(self): + from django.contrib.auth.models import Permission + from django.contrib.contenttypes.models import ContentType + if not self.models_module: # This app does not have any models, so bail out early return @@ -197,3 +200,11 @@ class AppConfig(django.apps.AppConfig): if hasattr(model, "maintain_default_data"): # Method implemented by each model object; can be left out model.maintain_default_data() + if hasattr(model, "extra_permissions"): + ct = ContentType.objects.get_for_model(model) + for perm, verbose_name in model.extra_permissions: + Permission.objects.get_or_create( + codename=perm, + content_type=ct, + defaults={"name": verbose_name}, + ) diff --git a/aleksis/core/views.py b/aleksis/core/views.py index 4f166c18bca4eafe50bb9af273e013e2e14c1f44..2a7cbdfcdec3497c9b97cf8da0c024b6bda43205 100644 --- a/aleksis/core/views.py +++ b/aleksis/core/views.py @@ -9,15 +9,17 @@ from django.shortcuts import get_object_or_404, redirect, render from django.urls import reverse_lazy from django.utils.translation import gettext_lazy as _ +import reversion from django_tables2 import RequestConfig, SingleTableView from dynamic_preferences.forms import preference_form_builder from guardian.shortcuts import get_objects_for_user from haystack.inputs import AutoQuery from haystack.query import SearchQuerySet from haystack.views import SearchView +from health_check.views import MainView from rules.contrib.views import PermissionRequiredMixin, permission_required -from .filters import GroupFilter +from .filters import GroupFilter, PersonFilter from .forms import ( AnnouncementForm, ChildGroupsForm, @@ -141,8 +143,12 @@ def persons(request: HttpRequest) -> HttpResponse: request.user, "core.view_person", Person.objects.filter(is_active=True) ) + # Get filter + persons_filter = PersonFilter(request.GET, queryset=persons) + context["persons_filter"] = persons_filter + # Build table - persons_table = PersonsTable(persons) + persons_table = PersonsTable(persons_filter.qs) RequestConfig(request).configure(persons_table) context["persons_table"] = persons_table @@ -162,8 +168,12 @@ def person(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse: # Get groups where person is member of groups = Group.objects.filter(members=person) + # Get filter + groups_filter = GroupFilter(request.GET, queryset=groups) + context["groups_filter"] = groups_filter + # Build table - groups_table = GroupsTable(groups) + groups_table = GroupsTable(groups_filter.qs) RequestConfig(request).configure(groups_table) context["groups_table"] = groups_table @@ -184,16 +194,24 @@ def group(request: HttpRequest, id_: int) -> HttpResponse: # Get members members = group.members.filter(is_active=True) + # Get filter + members_filter = PersonFilter(request.GET, queryset=members) + context["members_filter"] = members_filter + # Build table - members_table = PersonsTable(members) + members_table = PersonsTable(members_filter.qs) RequestConfig(request).configure(members_table) context["members_table"] = members_table # Get owners owners = group.owners.filter(is_active=True) + # Get filter + owners_filter = PersonFilter(request.GET, queryset=owners) + context["owners_filter"] = owners_filter + # Build table - owners_table = PersonsTable(owners) + owners_table = PersonsTable(owners_filter.qs) RequestConfig(request).configure(owners_table) context["owners_table"] = owners_table @@ -208,8 +226,12 @@ def groups(request: HttpRequest) -> HttpResponse: # Get all groups groups = get_objects_for_user(request.user, "core.view_group", Group) + # Get filter + groups_filter = GroupFilter(request.GET, queryset=groups) + context["groups_filter"] = groups_filter + # Build table - groups_table = GroupsTable(groups) + groups_table = GroupsTable(group_filter.qs) RequestConfig(request).configure(groups_table) context["groups_table"] = groups_table @@ -273,21 +295,28 @@ def groups_child_groups(request: HttpRequest) -> HttpResponse: return render(request, "core/group/child_groups.html", context) -@permission_required( - "core.edit_person", fn=objectgetter_optional(Person, "request.user.person", True) -) +@permission_required("core.edit_person", fn=objectgetter_optional(Person)) def edit_person(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse: """Edit view for a single person, defaulting to logged-in person.""" context = {} - person = objectgetter_optional(Person, "request.user.person", True)(request, id_) + person = objectgetter_optional(Person)(request, id_) context["person"] = person - edit_person_form = EditPersonForm(request.POST or None, request.FILES or None, instance=person) + if id_: + # Edit form for existing group + edit_person_form = EditPersonForm(request.POST or None, instance=person) + else: + # Empty form to create a new group + if request.user.has_perm("core.create_person"): + edit_person_form = EditPersonForm(request.POST or None) + else: + raise PermissionDenied() if request.method == "POST": if edit_person_form.is_valid(): - edit_person_form.save(commit=True) + with reversion.create_revision(): + edit_person_form.save(commit=True) messages.success(request, _("The person has been saved.")) # Redirect to self to ensure post-processed data is displayed @@ -318,11 +347,15 @@ def edit_group(request: HttpRequest, id_: Optional[int] = None) -> HttpResponse: edit_group_form = EditGroupForm(request.POST or None, instance=group) else: # Empty form to create a new group - edit_group_form = EditGroupForm(request.POST or None) + if request.user.has_perm("core.create_group"): + edit_group_form = EditGroupForm(request.POST or None) + else: + raise PermissionDenied() if request.method == "POST": if edit_group_form.is_valid(): - group = edit_group_form.save(commit=True) + with reversion.create_revision(): + group = edit_group_form.save(commit=True) messages.success(request, _("The group has been saved.")) @@ -340,22 +373,28 @@ def data_management(request: HttpRequest) -> HttpResponse: return render(request, "core/management/data_management.html", context) -@permission_required("core.view_system_status") -def system_status(request: HttpRequest) -> HttpResponse: +class SystemStatus(MainView, PermissionRequiredMixin): """View giving information about the system status.""" + + template_name = "core/pages/system_status.html" + permission_required = "core.view_system_status" context = {} - if "django_celery_results" in settings.INSTALLED_APPS: - from django_celery_results.models import TaskResult # noqa - from celery.task.control import inspect # noqa - if inspect().registered_tasks(): - job_list = list(inspect().registered_tasks().values())[0] - results = [] - for job in job_list: - results.append(TaskResult.objects.filter(task_name=job).last()) - context["tasks"] = results + def get(self, request, *args, **kwargs): + status_code = 500 if self.errors else 200 + + if "django_celery_results" in settings.INSTALLED_APPS: + from django_celery_results.models import TaskResult # noqa + from celery.task.control import inspect # noqa - return render(request, "core/pages/system_status.html", context) + if inspect().registered_tasks(): + job_list = list(inspect().registered_tasks().values())[0] + results = [] + for job in job_list: + results.append(TaskResult.objects.filter(task_name=job).last()) + + context = {"plugins": self.plugins, "status_code": status_code} + return self.render_to_response(context, status=status_code) @permission_required( @@ -507,6 +546,33 @@ def preferences( return render(request, "dynamic_preferences/form.html", context) +@permission_required("core.delete_person", fn=objectgetter_optional(Person)) +def delete_person(request: HttpRequest, id_: int) -> HttpResponse: + """View to delete an person.""" + person = objectgetter_optional(Person)(request, id_) + + with reversion.create_revision(): + person.save() + + person.delete() + messages.success(request, _("The person has been deleted.")) + + return redirect("persons") + + +@permission_required("core.delete_group", fn=objectgetter_optional(Group)) +def delete_group(request: HttpRequest, id_: int) -> HttpResponse: + """View to delete an group.""" + group = objectgetter_optional(Group)(request, id_) + with reversion.create_revision(): + group.save() + + group.delete() + messages.success(request, _("The group has been deleted.")) + + return redirect("groups") + + @permission_required( "core.change_additionalfield", fn=objectgetter_optional(AdditionalField, None, False) ) diff --git a/apps/official/AlekSIS-App-Chronos b/apps/official/AlekSIS-App-Chronos index 9c747d3737c3ac31fce2eafcf8a977bb926feeb9..b081e4d32922d38e4f6229f33e7cecf5a1b408e0 160000 --- a/apps/official/AlekSIS-App-Chronos +++ b/apps/official/AlekSIS-App-Chronos @@ -1 +1 @@ -Subproject commit 9c747d3737c3ac31fce2eafcf8a977bb926feeb9 +Subproject commit b081e4d32922d38e4f6229f33e7cecf5a1b408e0 diff --git a/apps/official/AlekSIS-App-DashboardFeeds b/apps/official/AlekSIS-App-DashboardFeeds index a921629be8c775720d4c81fc078114bddcd9e7d1..85814a4f6c4fc1d94a853b46be8544c11b5767ee 160000 --- a/apps/official/AlekSIS-App-DashboardFeeds +++ b/apps/official/AlekSIS-App-DashboardFeeds @@ -1 +1 @@ -Subproject commit a921629be8c775720d4c81fc078114bddcd9e7d1 +Subproject commit 85814a4f6c4fc1d94a853b46be8544c11b5767ee diff --git a/apps/official/AlekSIS-App-Hjelp b/apps/official/AlekSIS-App-Hjelp index 6a2e35f4756260a2a044f500295b29a357069ea0..31500a0580b6839122df35f114e471334903d26e 160000 --- a/apps/official/AlekSIS-App-Hjelp +++ b/apps/official/AlekSIS-App-Hjelp @@ -1 +1 @@ -Subproject commit 6a2e35f4756260a2a044f500295b29a357069ea0 +Subproject commit 31500a0580b6839122df35f114e471334903d26e diff --git a/apps/official/AlekSIS-App-LDAP b/apps/official/AlekSIS-App-LDAP index 0433fc61f75ef55d65f3f3fa44855992667bf791..9ae61f5d2a751ed89eaa70e6cb9d77c1528e0cd8 160000 --- a/apps/official/AlekSIS-App-LDAP +++ b/apps/official/AlekSIS-App-LDAP @@ -1 +1 @@ -Subproject commit 0433fc61f75ef55d65f3f3fa44855992667bf791 +Subproject commit 9ae61f5d2a751ed89eaa70e6cb9d77c1528e0cd8 diff --git a/apps/official/AlekSIS-App-Untis b/apps/official/AlekSIS-App-Untis index 95cdb833b1eb8f235d73028a2c96390fd024e8b3..0b417dfef095fb7a52f03301abb66066a841b467 160000 --- a/apps/official/AlekSIS-App-Untis +++ b/apps/official/AlekSIS-App-Untis @@ -1 +1 @@ -Subproject commit 95cdb833b1eb8f235d73028a2c96390fd024e8b3 +Subproject commit 0b417dfef095fb7a52f03301abb66066a841b467 diff --git a/docs/admin/02_ldap.rst b/docs/admin/02_ldap.rst index e9c4745fcbf5767c6e6edc2c21f9b4ba0f64742e..1239d43e1b45d255100b249c417b44bd5de67b51 100644 --- a/docs/admin/02_ldap.rst +++ b/docs/admin/02_ldap.rst @@ -28,5 +28,7 @@ existing file or add a new one):: [default.ldap] uri = "ldaps://ldap.myschool.edu" bind = { dn = "cn=reader,dc=myschool,dc=edu", password = "secret" } - users = { base = "ou=people,dc=myschool,dc=edu", filter = "(uid=%(user)s)" } + + [default.ldap.users] + search = { base = "ou=people,dc=myschool,dc=edu", filter = "(uid=%(user)s)" } map = { first_name = "givenName", last_name = "sn", email = "mail" } diff --git a/poetry.lock b/poetry.lock index 13665dd7175d1645822a70e746497bc27bc0e066..cc0f45102b25299110e3d77f897bc120b8c8b49a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -31,10 +31,10 @@ description = "ASGI specs, helper code, and adapters" name = "asgiref" optional = false python-versions = ">=3.5" -version = "3.2.7" +version = "3.2.10" [package.extras] -tests = ["pytest (>=4.3.0,<4.4.0)", "pytest-asyncio (>=0.10.0,<0.11.0)"] +tests = ["pytest", "pytest-asyncio"] [[package]] category = "dev" @@ -147,7 +147,7 @@ description = "Define boolean algebras, create and parse boolean expressions and name = "boolean.py" optional = false python-versions = "*" -version = "3.7" +version = "3.8" [[package]] category = "main" @@ -166,10 +166,11 @@ description = "Distributed Task Queue." name = "celery" optional = true python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -version = "4.4.4" +version = "4.4.6" [package.dependencies] billiard = ">=3.6.3.0,<4.0" +future = ">=0.18.0" kombu = ">=4.6.10,<4.7" pytz = ">0.0-dev" vine = "1.3.0" @@ -246,7 +247,7 @@ description = "Python package for providing Mozilla's CA Bundle." name = "certifi" optional = false python-versions = "*" -version = "2020.4.5.1" +version = "2020.6.20" [[package]] category = "main" @@ -454,7 +455,7 @@ description = "simple color field for your models with a nice color-picker in th name = "django-colorfield" optional = false python-versions = "*" -version = "0.3.0" +version = "0.3.1" [[package]] category = "main" @@ -500,7 +501,7 @@ description = "Yet another Django audit log app, hopefully the simplest one." name = "django-easy-audit" optional = false python-versions = "*" -version = "1.2.3a4" +version = "1.2.3a5" [package.dependencies] beautifulsoup4 = "*" @@ -522,11 +523,11 @@ category = "main" description = "Django-filter is a reusable Django application for allowing users to filter querysets dynamically." name = "django-filter" optional = false -python-versions = ">=3.4" -version = "2.2.0" +python-versions = ">=3.5" +version = "2.3.0" [package.dependencies] -Django = ">=1.11" +Django = ">=2.2" [[package]] category = "main" @@ -545,10 +546,10 @@ description = "Implementation of per object permissions for Django." name = "django-guardian" optional = false python-versions = ">=3.5" -version = "2.2.0" +version = "2.3.0" [package.dependencies] -Django = ">=2.1" +Django = ">=2.2" [[package]] category = "main" @@ -576,6 +577,17 @@ version = "3.0b1" [package.dependencies] Django = ">=2.2" +[[package]] +category = "main" +description = "Run checks on services like databases, queue servers, celery processes, etc." +name = "django-health-check" +optional = false +python-versions = "*" +version = "3.12.1" + +[package.dependencies] +django = ">=1.11" + [[package]] category = "main" description = "A reusable app for cropping images easily and non-destructively in Django" @@ -593,7 +605,7 @@ description = "Django app to allow superusers to impersonate other users." name = "django-impersonate" optional = false python-versions = "*" -version = "1.5" +version = "1.5.1" [[package]] category = "main" @@ -678,7 +690,7 @@ description = "A pluggable framework for adding two-factor authentication to Dja name = "django-otp" optional = false python-versions = "*" -version = "0.9.1" +version = "0.9.3" [package.dependencies] django = ">=1.11" @@ -972,7 +984,7 @@ description = "Faker is a Python package that generates fake data for you." name = "faker" optional = false python-versions = ">=3.4" -version = "4.1.0" +version = "4.1.1" [package.dependencies] python-dateutil = ">=2.4" @@ -984,7 +996,7 @@ description = "the modular source code checker: pep8 pyflakes and co" name = "flake8" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" -version = "3.8.2" +version = "3.8.3" [package.dependencies] mccabe = ">=0.6.0,<0.7.0" @@ -1121,6 +1133,14 @@ version = "0.0.13" flake8 = ">=3.0.0" restructuredtext_lint = "*" +[[package]] +category = "main" +description = "Clean single-source support for Python 3 and 2" +name = "future" +optional = true +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +version = "0.18.2" + [[package]] category = "dev" description = "Git Object Database" @@ -1174,14 +1194,14 @@ marker = "python_version < \"3.8\"" name = "importlib-metadata" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" -version = "1.6.0" +version = "1.7.0" [package.dependencies] zipp = ">=0.5" [package.extras] docs = ["sphinx", "rst.linker"] -testing = ["packaging", "importlib-resources"] +testing = ["packaging", "pep517", "importlib-resources (>=1.3)"] [[package]] category = "dev" @@ -1217,7 +1237,7 @@ description = "Messaging library for Python." name = "kombu" optional = true python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -version = "4.6.10" +version = "4.6.11" [package.dependencies] amqp = ">=2.6.0,<2.7" @@ -1286,7 +1306,7 @@ description = "More routines for operating on iterables, beyond itertools" name = "more-itertools" optional = false python-versions = ">=3.5" -version = "8.3.0" +version = "8.4.0" [[package]] category = "dev" @@ -1354,10 +1374,10 @@ description = "PostgreSQL interface library" name = "pg8000" optional = false python-versions = ">=3.5" -version = "1.15.2" +version = "1.15.3" [package.dependencies] -scramp = "1.1.1" +scramp = "1.2.0" [[package]] category = "main" @@ -1365,7 +1385,7 @@ description = "Python version of Google's common library for parsing, formatting name = "phonenumbers" optional = false python-versions = "*" -version = "8.12.4" +version = "8.12.6" [[package]] category = "main" @@ -1391,6 +1411,17 @@ version = ">=0.12" [package.extras] dev = ["pre-commit", "tox"] +[[package]] +category = "main" +description = "Cross-platform lib for process and system monitoring in Python." +name = "psutil" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +version = "5.7.0" + +[package.extras] +enum = ["enum34"] + [[package]] category = "main" description = "psycopg2 - Python-PostgreSQL Database Adapter" @@ -1405,7 +1436,7 @@ description = "library with cross-python path, ini-parsing, io, code, log facili name = "py" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -version = "1.8.1" +version = "1.9.0" [[package]] category = "main" @@ -1440,7 +1471,7 @@ description = "Cryptographic library for Python" name = "pycryptodome" optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -version = "3.9.7" +version = "3.9.8" [[package]] category = "dev" @@ -1522,11 +1553,11 @@ description = "Pytest plugin for measuring coverage." name = "pytest-cov" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -version = "2.9.0" +version = "2.10.0" [package.dependencies] coverage = ">=4.4" -pytest = ">=3.6" +pytest = ">=4.6" [package.extras] testing = ["fields", "hunter", "process-tests (2.0.2)", "six", "pytest-xdist", "virtualenv"] @@ -1625,7 +1656,7 @@ description = "Python modules for implementing LDAP clients" name = "python-ldap" optional = true python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*" -version = "3.2.0" +version = "3.3.0" [package.dependencies] pyasn1 = ">=0.3.7" @@ -1693,7 +1724,7 @@ description = "Alternative regular expression module, to replace re." name = "regex" optional = false python-versions = "*" -version = "2020.5.14" +version = "2020.6.8" [[package]] category = "main" @@ -1701,7 +1732,7 @@ description = "Python HTTP for Humans." name = "requests" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -version = "2.23.0" +version = "2.24.0" [package.dependencies] certifi = ">=2017.4.17" @@ -1753,7 +1784,7 @@ description = "An implementation of the SCRAM protocol." name = "scramp" optional = false python-versions = ">=3.5" -version = "1.1.1" +version = "1.2.0" [[package]] category = "dev" @@ -1812,7 +1843,7 @@ description = "Python documentation generator" name = "sphinx" optional = false python-versions = ">=3.5" -version = "3.0.4" +version = "3.1.1" [package.dependencies] Jinja2 = ">=2.3" @@ -1835,7 +1866,7 @@ sphinxcontrib-serializinghtml = "*" [package.extras] docs = ["sphinxcontrib-websupport"] -lint = ["flake8 (>=3.5.0)", "flake8-import-order", "mypy (>=0.770)", "docutils-stubs"] +lint = ["flake8 (>=3.5.0)", "flake8-import-order", "mypy (>=0.780)", "docutils-stubs"] test = ["pytest", "pytest-cov", "html5lib", "typed-ast", "cython"] [[package]] @@ -1844,10 +1875,10 @@ description = "Type hints (PEP 484) support for the Sphinx autodoc extension" name = "sphinx-autodoc-typehints" optional = false python-versions = ">=3.5.2" -version = "1.10.3" +version = "1.11.0" [package.dependencies] -Sphinx = ">=2.1" +Sphinx = ">=3.0" [package.extras] test = ["pytest (>=3.1.0)", "typing-extensions (>=3.5)", "sphobjinv (>=2.0)", "dataclasses"] @@ -1945,12 +1976,11 @@ category = "dev" description = "Manage dynamic plugins for Python applications" name = "stevedore" optional = false -python-versions = "*" -version = "1.32.0" +python-versions = ">=3.6" +version = "2.0.1" [package.dependencies] pbr = ">=2.0.0,<2.1.0 || >2.1.0" -six = ">=1.10.0" [[package]] category = "dev" @@ -2032,7 +2062,7 @@ description = "Twilio API client and TwiML generator" name = "twilio" optional = false python-versions = "*" -version = "6.41.0" +version = "6.43.0" [package.dependencies] PyJWT = ">=1.4.2" @@ -2086,7 +2116,7 @@ description = "Measures the displayed width of unicode strings in a terminal" name = "wcwidth" optional = false python-versions = "*" -version = "0.2.3" +version = "0.2.5" [[package]] category = "main" @@ -2126,7 +2156,7 @@ celery = ["Celery", "django-celery-results", "django-celery-beat", "django-celer ldap = ["django-auth-ldap"] [metadata] -content-hash = "fdfd0718f4783fd1fc46e9cf0523af67c03a67ca133224a27fdbdad251d9eaa3" +content-hash = "ab4755861d9926350d3e669b36d26ec7c31aa5b68004bb69ecb49eb13419b216" python-versions = "^3.7" [metadata.files] @@ -2143,8 +2173,8 @@ appdirs = [ {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, ] asgiref = [ - {file = "asgiref-3.2.7-py2.py3-none-any.whl", hash = "sha256:9ca8b952a0a9afa61d30aa6d3d9b570bb3fd6bafcf7ec9e6bed43b936133db1c"}, - {file = "asgiref-3.2.7.tar.gz", hash = "sha256:8036f90603c54e93521e5777b2b9a39ba1bad05773fcf2d208f0299d1df58ce5"}, + {file = "asgiref-3.2.10-py3-none-any.whl", hash = "sha256:9fc6fb5d39b8af147ba40765234fa822b39818b12cc80b35ad9b0cef3a476aed"}, + {file = "asgiref-3.2.10.tar.gz", hash = "sha256:7e51911ee147dd685c3c8b805c0ad0cb58d360987b56953878f8c06d2d1c6f1a"}, ] atomicwrites = [ {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, @@ -2180,16 +2210,16 @@ bleach = [ {file = "bleach-3.1.5.tar.gz", hash = "sha256:3c4c520fdb9db59ef139915a5db79f8b51bc2a7257ea0389f30c846883430a4b"}, ] "boolean.py" = [ - {file = "boolean.py-3.7-py2.py3-none-any.whl", hash = "sha256:82ae181f9c85cb5c893a5a4daba9f24d60b538a7dd27fd0c6752a77eba4fbeff"}, - {file = "boolean.py-3.7.tar.gz", hash = "sha256:bd19b412435611ecc712603d0fd7d0e280e24698e7a6e3d5f610473870c5dd1e"}, + {file = "boolean.py-3.8-py2.py3-none-any.whl", hash = "sha256:d75da0fd0354425fa64f6bbc6cec6ae1485d0eec3447b73187ff8cbf9b572e26"}, + {file = "boolean.py-3.8.tar.gz", hash = "sha256:cc24e20f985d60cd4a3a5a1c0956dd12611159d32a75081dabd0c9ab981acaa4"}, ] calendarweek = [ {file = "calendarweek-0.4.5-py3-none-any.whl", hash = "sha256:b35fcc087073969d017cede62a7295bcd714a1304bcb4c4e2b0f23acb0265fb1"}, {file = "calendarweek-0.4.5.tar.gz", hash = "sha256:5b1788ca435022f9348fc81a718974e51dd85d080f9aa3dad717df70a1bc6e1f"}, ] celery = [ - {file = "celery-4.4.4-py2.py3-none-any.whl", hash = "sha256:9ae2e73b93cc7d6b48b56aaf49a68c91752d0ffd7dfdcc47f842ca79a6f13eae"}, - {file = "celery-4.4.4.tar.gz", hash = "sha256:c2037b6a8463da43b19969a0fc13f9023ceca6352b4dd51be01c66fbbb13647e"}, + {file = "celery-4.4.6-py2.py3-none-any.whl", hash = "sha256:ef17d7dffde7fc73ecab3a3b6389d93d3213bac53fa7f28e68e33647ad50b916"}, + {file = "celery-4.4.6.tar.gz", hash = "sha256:fd77e4248bb1b7af5f7922dd8e81156f540306e3a5c4b1c24167c1f5f06025da"}, ] celery-haystack = [ {file = "celery-haystack-0.10.tar.gz", hash = "sha256:b6e2a3c70071bef0838ca1a7d9f14fae6c2ecf385704092e59b82147a1ee552e"}, @@ -2200,8 +2230,8 @@ celery-progress = [ {file = "celery_progress-0.0.10-py3-none-any.whl", hash = "sha256:90941bf3aaeac9333d554a2191fa6cd81ef323472329ace0dd77344ac6aab092"}, ] certifi = [ - {file = "certifi-2020.4.5.1-py2.py3-none-any.whl", hash = "sha256:1d987a998c75633c40847cc966fcf5904906c920a7f17ef374f5aa4282abd304"}, - {file = "certifi-2020.4.5.1.tar.gz", hash = "sha256:51fcb31174be6e6664c5f69e3e1691a2d72a1a12e90f872cbdb1567eb47b6519"}, + {file = "certifi-2020.6.20-py2.py3-none-any.whl", hash = "sha256:8fc0819f1f30ba15bdb34cceffb9ef04d99f420f68eb75d901e9560b8749fc41"}, + {file = "certifi-2020.6.20.tar.gz", hash = "sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3"}, ] chardet = [ {file = "chardet-3.0.4-py2.py3-none-any.whl", hash = "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"}, @@ -2303,8 +2333,8 @@ django-ckeditor = [ {file = "django_ckeditor-5.9.0-py2.py3-none-any.whl", hash = "sha256:71c3c7bb46b0cbfb9712ef64af0d2a406eab233f44ecd7c42c24bdfa39ae3bde"}, ] django-colorfield = [ - {file = "django-colorfield-0.3.0.tar.gz", hash = "sha256:808fd1783be0331dc15f0d4e98d18e3b31257b4837ac89594b94f87170d6c6ce"}, - {file = "django_colorfield-0.3.0-py2-none-any.whl", hash = "sha256:7bec0c7a8b3b170bf232f78ed23d2545ddc9c43cb2f45704ccdd57b948b29d8c"}, + {file = "django-colorfield-0.3.1.tar.gz", hash = "sha256:5e3a720fd8dd46878b62d8d06b9ec81927d5ba8d2bc828ebaba49e7775f8393f"}, + {file = "django_colorfield-0.3.1-py2-none-any.whl", hash = "sha256:5830fcc4b1ab3111e2e6c8a2d75e25c09e404cea80d9f50002b09f068c8854df"}, ] django-dbbackup = [ {file = "django-dbbackup-3.3.0.tar.gz", hash = "sha256:bb109735cae98b64ad084e5b461b7aca2d7b39992f10c9ed9435e3ebb6fb76c8"}, @@ -2318,24 +2348,24 @@ django-dynamic-preferences = [ {file = "django_dynamic_preferences-1.9-py2.py3-none-any.whl", hash = "sha256:a3c84696f0459d8d6d9c43374ff3db7daa59b46670b461bb954057d08af607e1"}, ] django-easy-audit = [ - {file = "django-easy-audit-1.2.3a4.tar.gz", hash = "sha256:55a6512c012fcffc47bca38376d775d15d44d24e823682ea59418c4edabe8f54"}, - {file = "django_easy_audit-1.2.3a4-py3-none-any.whl", hash = "sha256:37c90a273559ba003d691fa0c30ee5ff792b7739d13953f7e8923c954480240f"}, + {file = "django-easy-audit-1.2.3a5.tar.gz", hash = "sha256:48fc3042760485eb9baae232c4ce21fb96476246e341ee7656a09db3ab3df047"}, + {file = "django_easy_audit-1.2.3a5-py3-none-any.whl", hash = "sha256:32a60f1278f8b34aeda7c6f16a8f04bfab777584a38829e28e468ce0d5a45313"}, ] django-favicon-plus-reloaded = [ {file = "django-favicon-plus-reloaded-1.0.4.tar.gz", hash = "sha256:90c761c636a338e6e9fb1d086649d82095085f92cff816c9cf074607f28c85a5"}, {file = "django_favicon_plus_reloaded-1.0.4-py3-none-any.whl", hash = "sha256:26e4316d41328a61ced52c7fc0ead795f0eb194d6a30311c34a9833c6fe30a7c"}, ] django-filter = [ - {file = "django-filter-2.2.0.tar.gz", hash = "sha256:c3deb57f0dd7ff94d7dce52a047516822013e2b441bed472b722a317658cfd14"}, - {file = "django_filter-2.2.0-py3-none-any.whl", hash = "sha256:558c727bce3ffa89c4a7a0b13bc8976745d63e5fd576b3a9a851650ef11c401b"}, + {file = "django-filter-2.3.0.tar.gz", hash = "sha256:11e63dd759835d9ba7a763926ffb2662cf8a6dcb4c7971a95064de34dbc7e5af"}, + {file = "django_filter-2.3.0-py3-none-any.whl", hash = "sha256:616848eab6fc50193a1b3730140c49b60c57a3eda1f7fc57fa8505ac156c6c75"}, ] django-formtools = [ {file = "django-formtools-2.2.tar.gz", hash = "sha256:c5272c03c1cd51b2375abf7397a199a3148a9fbbf2f100e186467a84025d13b2"}, {file = "django_formtools-2.2-py2.py3-none-any.whl", hash = "sha256:304fa777b8ef9e0693ce7833f885cb89ba46b0e46fc23b01176900a93f46742f"}, ] django-guardian = [ - {file = "django-guardian-2.2.0.tar.gz", hash = "sha256:8cacf49ebcc1e545f0a8997971eec0fe109f5ed31fc2a569a7bf5615453696e2"}, - {file = "django_guardian-2.2.0-py3-none-any.whl", hash = "sha256:ac81e88372fdf1795d84ba065550e739b42e9c6d07cdf201cf5bbf9efa7f396c"}, + {file = "django-guardian-2.3.0.tar.gz", hash = "sha256:ed2de26e4defb800919c5749fb1bbe370d72829fbd72895b6cf4f7f1a7607e1b"}, + {file = "django_guardian-2.3.0-py3-none-any.whl", hash = "sha256:0e70706c6cda88ddaf8849bddb525b8df49de05ba0798d4b3506049f0d95cbc8"}, ] django-hattori = [ {file = "django-hattori-0.2.1.tar.gz", hash = "sha256:6953d40881317252f19f62c4e7fe8058924b852c7498bc42beb7bc4d268c252c"}, @@ -2345,12 +2375,16 @@ django-haystack = [ {file = "django-haystack-3.0b1.tar.gz", hash = "sha256:9dba64f5c76cf147ac382d4a4a270f30d30a45a3a7a1738a9d05c96d18777c07"}, {file = "django_haystack-3.0b1-py3-none-any.whl", hash = "sha256:b83705e1cf8141cd1755fc6683ac65fea4e1281f4b4306bc9224af96495b0df3"}, ] +django-health-check = [ + {file = "django-health-check-3.12.1.tar.gz", hash = "sha256:0563827e003d25fd4d9ebbd7467dea5f390435628d645aaa63f8889deaded73a"}, + {file = "django_health_check-3.12.1-py2.py3-none-any.whl", hash = "sha256:9e6b7d93d4902901474efd4e25d31b5aaea7563b570c0260adce52cd3c3a9e36"}, +] django-image-cropping = [ {file = "django-image-cropping-1.4.0.tar.gz", hash = "sha256:6cc4a6bd8901e69b710caceea29b942fdb202da26626313cd9271ae989a83a52"}, {file = "django_image_cropping-1.4.0-py3-none-any.whl", hash = "sha256:fe6a139c6d5dfc480f2a1d4e7e3e928d5edaefc898e17be66bc5f73140762ad9"}, ] django-impersonate = [ - {file = "django-impersonate-1.5.tar.gz", hash = "sha256:2c10bcb1c42fe6495d915f4cc4cfd7c5f8375ba39a06b0f062ce6f1e2ff76585"}, + {file = "django-impersonate-1.5.1.tar.gz", hash = "sha256:7c786ffaa7a5dd430f9277b53a64676c470b684eee5aa52c3b483298860d09b4"}, ] django-ipware = [ {file = "django-ipware-2.1.0.tar.gz", hash = "sha256:a7c7a8fd019dbdc9c357e6e582f65034e897572fc79a7e467674efa8aef9d00b"}, @@ -2381,8 +2415,8 @@ django-middleware-global-request = [ {file = "django-middleware-global-request-0.1.2.tar.gz", hash = "sha256:f6490759bc9f7dbde4001709554e29ca715daf847f2222914b4e47117dca9313"}, ] django-otp = [ - {file = "django-otp-0.9.1.tar.gz", hash = "sha256:f456639addace8b6d1eb77f9edaada1a53dbb4d6f3c19f17c476c4e3e4beb73f"}, - {file = "django_otp-0.9.1-py3-none-any.whl", hash = "sha256:0c67cf6f4bd6fca84027879ace9049309213b6ac81f88e954376a6b5535d96c4"}, + {file = "django-otp-0.9.3.tar.gz", hash = "sha256:d2390e61794bc10dea2fd949cbcfb7946e9ae4fb248df5494ccc4ef9ac50427e"}, + {file = "django_otp-0.9.3-py3-none-any.whl", hash = "sha256:97849f7bf1b50c4c36a5845ab4d2e11dd472fa8e6bcc34fe18b6d3af6e4aa449"}, ] django-otp-yubikey = [ {file = "django-otp-yubikey-0.5.2.tar.gz", hash = "sha256:f0b1881562fb42ee9f12c28d284cbdb90d1f0383f2d53a595373b080a19bc261"}, @@ -2459,12 +2493,12 @@ easy-thumbnails = [ {file = "easy-thumbnails-2.7.tar.gz", hash = "sha256:e4e7a0dd4001f56bfd4058428f2c91eafe27d33ef3b8b33ac4e013b159b9ff91"}, ] faker = [ - {file = "Faker-4.1.0-py3-none-any.whl", hash = "sha256:34ae397aef03a0a17910452f1e8430d57fa59e2d67b20e9b637218e8f7dd22b3"}, - {file = "Faker-4.1.0.tar.gz", hash = "sha256:103c46b9701a151299c5bffe6fefcd4fb5fb04c3b5d06bee4952d36255d44ea2"}, + {file = "Faker-4.1.1-py3-none-any.whl", hash = "sha256:1290f589648bc470b8d98fff1fdff773fe3f46b4ca2cac73ac74668b12cf008e"}, + {file = "Faker-4.1.1.tar.gz", hash = "sha256:c006b3664c270a2cfd4785c5e41ff263d48101c4e920b5961cf9c237131d8418"}, ] flake8 = [ - {file = "flake8-3.8.2-py2.py3-none-any.whl", hash = "sha256:ccaa799ef9893cebe69fdfefed76865aeaefbb94cb8545617b2298786a4de9a5"}, - {file = "flake8-3.8.2.tar.gz", hash = "sha256:c69ac1668e434d37a2d2880b3ca9aafd54b3a10a3ac1ab101d22f29e29cf8634"}, + {file = "flake8-3.8.3-py2.py3-none-any.whl", hash = "sha256:15e351d19611c887e482fb960eae4d44845013cc142d42896e9862f775d8cf5c"}, + {file = "flake8-3.8.3.tar.gz", hash = "sha256:f04b9fcbac03b0a3e58c0ab3a0ecc462e023a9faf046d57794184028123aa208"}, ] flake8-bandit = [ {file = "flake8_bandit-2.1.2.tar.gz", hash = "sha256:687fc8da2e4a239b206af2e54a90093572a60d0954f3054e23690739b0b0de3b"}, @@ -2503,6 +2537,9 @@ flake8-polyfill = [ flake8-rst-docstrings = [ {file = "flake8-rst-docstrings-0.0.13.tar.gz", hash = "sha256:b1b619d81d879b874533973ac04ee5d823fdbe8c9f3701bfe802bb41813997b4"}, ] +future = [ + {file = "future-0.18.2.tar.gz", hash = "sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d"}, +] gitdb = [ {file = "gitdb-4.0.5-py3-none-any.whl", hash = "sha256:91f36bfb1ab7949b3b40e23736db18231bf7593edada2ba5c3a174a7b23657ac"}, {file = "gitdb-4.0.5.tar.gz", hash = "sha256:c9e1f2d0db7ddb9a704c2a0217be31214e91a4fe1dea1efad19ae42ba0c285c9"}, @@ -2524,8 +2561,8 @@ imagesize = [ {file = "imagesize-1.2.0.tar.gz", hash = "sha256:b1f6b5a4eab1f73479a50fb79fcf729514a900c341d8503d62a62dbc4127a2b1"}, ] importlib-metadata = [ - {file = "importlib_metadata-1.6.0-py2.py3-none-any.whl", hash = "sha256:2a688cbaa90e0cc587f1df48bdc97a6eadccdcd9c35fb3f976a09e3b5016d90f"}, - {file = "importlib_metadata-1.6.0.tar.gz", hash = "sha256:34513a8a0c4962bc66d35b359558fd8a5e10cd472d37aec5f66858addef32c1e"}, + {file = "importlib_metadata-1.7.0-py2.py3-none-any.whl", hash = "sha256:dc15b2969b4ce36305c51eebe62d418ac7791e9a157911d58bfb1f9ccd8e2070"}, + {file = "importlib_metadata-1.7.0.tar.gz", hash = "sha256:90bb658cdbbf6d1735b6341ce708fc7024a3e14e99ffdc5783edea9f9b077f83"}, ] isort = [ {file = "isort-4.3.21-py2.py3-none-any.whl", hash = "sha256:6e811fcb295968434526407adb8796944f1988c5b65e8139058f2014cbe100fd"}, @@ -2536,16 +2573,18 @@ jinja2 = [ {file = "Jinja2-2.11.2.tar.gz", hash = "sha256:89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0"}, ] kombu = [ - {file = "kombu-4.6.10-py2.py3-none-any.whl", hash = "sha256:dc282bb277197d723bccda1a9ba30a27a28c9672d0ab93e9e51bb05a37bd29c3"}, - {file = "kombu-4.6.10.tar.gz", hash = "sha256:437b9cdea193cc2ed0b8044c85fd0f126bb3615ca2f4d4a35b39de7cacfa3c1a"}, + {file = "kombu-4.6.11-py2.py3-none-any.whl", hash = "sha256:be48cdffb54a2194d93ad6533d73f69408486483d189fe9f5990ee24255b0e0a"}, + {file = "kombu-4.6.11.tar.gz", hash = "sha256:ca1b45faac8c0b18493d02a8571792f3c40291cf2bcf1f55afed3d8f3aa7ba74"}, ] libsass = [ + {file = "libsass-0.20.0-cp27-cp27m-macosx_10_14_intel.whl", hash = "sha256:107c409524c6a4ed14410fa9dafa9ee59c6bd3ecae75d73af749ab2b75685726"}, {file = "libsass-0.20.0-cp27-cp27m-win32.whl", hash = "sha256:98f6dee9850b29e62977a963e3beb3cfeb98b128a267d59d2c3d675e298c8d57"}, {file = "libsass-0.20.0-cp27-cp27m-win_amd64.whl", hash = "sha256:b077261a04ba1c213e932943208471972c5230222acb7fa97373e55a40872cbb"}, {file = "libsass-0.20.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:e6a547c0aa731dcb4ed71f198e814bee0400ce04d553f3f12a53bc3a17f2a481"}, {file = "libsass-0.20.0-cp36-abi3-manylinux1_x86_64.whl", hash = "sha256:74f6fb8da58179b5d86586bc045c16d93d55074bc7bb48b6354a4da7ac9f9dfd"}, {file = "libsass-0.20.0-cp36-cp36m-win32.whl", hash = "sha256:a43f3830d83ad9a7f5013c05ce239ca71744d0780dad906587302ac5257bce60"}, {file = "libsass-0.20.0-cp36-cp36m-win_amd64.whl", hash = "sha256:fd19c8f73f70ffc6cbcca8139da08ea9a71fc48e7dfc4bb236ad88ab2d6558f1"}, + {file = "libsass-0.20.0-cp37-abi3-macosx_10_14_x86_64.whl", hash = "sha256:8cf72552b39e78a1852132e16b706406bc76029fe3001583284ece8d8752a60a"}, {file = "libsass-0.20.0-cp37-cp37m-win32.whl", hash = "sha256:7555d9b24e79943cfafac44dbb4ca7e62105c038de7c6b999838c9ff7b88645d"}, {file = "libsass-0.20.0-cp37-cp37m-win_amd64.whl", hash = "sha256:794f4f4661667263e7feafe5cc866e3746c7c8a9192b2aa9afffdadcbc91c687"}, {file = "libsass-0.20.0-cp38-cp38-win32.whl", hash = "sha256:3bc0d68778b30b5fa83199e18795314f64b26ca5871e026343e63934f616f7f7"}, @@ -2596,8 +2635,8 @@ mccabe = [ {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, ] more-itertools = [ - {file = "more-itertools-8.3.0.tar.gz", hash = "sha256:558bb897a2232f5e4f8e2399089e35aecb746e1f9191b6584a151647e89267be"}, - {file = "more_itertools-8.3.0-py3-none-any.whl", hash = "sha256:7818f596b1e87be009031c7653d01acc46ed422e6656b394b0f765ce66ed4982"}, + {file = "more-itertools-8.4.0.tar.gz", hash = "sha256:68c70cc7167bdf5c7c9d8f6954a7837089c6a36bf565383919bb595efb8a17e5"}, + {file = "more_itertools-8.4.0-py3-none-any.whl", hash = "sha256:b78134b2063dd214000685165d81c154522c3ee0a1c0d4d113c80361c234c5a2"}, ] mypy = [ {file = "mypy-0.770-cp35-cp35m-macosx_10_6_x86_64.whl", hash = "sha256:a34b577cdf6313bf24755f7a0e3f3c326d5c1f4fe7422d1d06498eb25ad0c600"}, @@ -2635,12 +2674,12 @@ persisting-theory = [ {file = "persisting-theory-0.2.1.tar.gz", hash = "sha256:00ff7dcc8f481ff75c770ca5797d968e8725b6df1f77fe0cf7d20fa1e5790c0a"}, ] pg8000 = [ - {file = "pg8000-1.15.2-py3-none-any.whl", hash = "sha256:2bfdd03c2623302af655ef089a958ff329b2035c9d9aea406b5e4dac9c007524"}, - {file = "pg8000-1.15.2.tar.gz", hash = "sha256:eb42ba62fbc048c91d5cf1ac729e0ea4ee329cc526bddafed4e7a8aa6b57fbbb"}, + {file = "pg8000-1.15.3-py3-none-any.whl", hash = "sha256:79d2e761343e582dec6698cf7c06d49c33255cbafba29ff298dd4690fffb7d80"}, + {file = "pg8000-1.15.3.tar.gz", hash = "sha256:af97353076b8e5d271d91c64c8ca806e2157d11b7862c90ff6f0e23be0fc217d"}, ] phonenumbers = [ - {file = "phonenumbers-8.12.4-py2.py3-none-any.whl", hash = "sha256:c6c43d6459aac85b646d6b7a7ab79b3b629eb168f0e9b851b331e2e5872bbd01"}, - {file = "phonenumbers-8.12.4.tar.gz", hash = "sha256:46c5997fe076026aa2d4b66d0c53eea4babae2e808e8a5f39c09e2dfa6612d08"}, + {file = "phonenumbers-8.12.6-py2.py3-none-any.whl", hash = "sha256:e49b8e21c557f0dafee966ddd55fb2bd3d6db155451999b75fb1b012e8d2016c"}, + {file = "phonenumbers-8.12.6.tar.gz", hash = "sha256:d332078fe71c6153b5a263ac87283618b2afe514a248a14f06a0d39ce1f5ce0b"}, ] pillow = [ {file = "Pillow-7.1.2-cp35-cp35m-macosx_10_10_intel.whl", hash = "sha256:ae2b270f9a0b8822b98655cb3a59cdb1bd54a34807c6c56b76dd2e786c3b7db3"}, @@ -2671,6 +2710,19 @@ pluggy = [ {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"}, ] +psutil = [ + {file = "psutil-5.7.0-cp27-none-win32.whl", hash = "sha256:298af2f14b635c3c7118fd9183843f4e73e681bb6f01e12284d4d70d48a60953"}, + {file = "psutil-5.7.0-cp27-none-win_amd64.whl", hash = "sha256:75e22717d4dbc7ca529ec5063000b2b294fc9a367f9c9ede1f65846c7955fd38"}, + {file = "psutil-5.7.0-cp35-cp35m-win32.whl", hash = "sha256:f344ca230dd8e8d5eee16827596f1c22ec0876127c28e800d7ae20ed44c4b310"}, + {file = "psutil-5.7.0-cp35-cp35m-win_amd64.whl", hash = "sha256:e2d0c5b07c6fe5a87fa27b7855017edb0d52ee73b71e6ee368fae268605cc3f5"}, + {file = "psutil-5.7.0-cp36-cp36m-win32.whl", hash = "sha256:a02f4ac50d4a23253b68233b07e7cdb567bd025b982d5cf0ee78296990c22d9e"}, + {file = "psutil-5.7.0-cp36-cp36m-win_amd64.whl", hash = "sha256:1413f4158eb50e110777c4f15d7c759521703bd6beb58926f1d562da40180058"}, + {file = "psutil-5.7.0-cp37-cp37m-win32.whl", hash = "sha256:d008ddc00c6906ec80040d26dc2d3e3962109e40ad07fd8a12d0284ce5e0e4f8"}, + {file = "psutil-5.7.0-cp37-cp37m-win_amd64.whl", hash = "sha256:73f35ab66c6c7a9ce82ba44b1e9b1050be2a80cd4dcc3352cc108656b115c74f"}, + {file = "psutil-5.7.0-cp38-cp38-win32.whl", hash = "sha256:60b86f327c198561f101a92be1995f9ae0399736b6eced8f24af41ec64fb88d4"}, + {file = "psutil-5.7.0-cp38-cp38-win_amd64.whl", hash = "sha256:d84029b190c8a66a946e28b4d3934d2ca1528ec94764b180f7d6ea57b0e75e26"}, + {file = "psutil-5.7.0.tar.gz", hash = "sha256:685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e"}, +] psycopg2 = [ {file = "psycopg2-2.8.5-cp27-cp27m-win32.whl", hash = "sha256:a0984ff49e176062fcdc8a5a2a670c9bb1704a2f69548bce8f8a7bad41c661bf"}, {file = "psycopg2-2.8.5-cp27-cp27m-win_amd64.whl", hash = "sha256:acf56d564e443e3dea152efe972b1434058244298a94348fc518d6dd6a9fb0bb"}, @@ -2687,8 +2739,8 @@ psycopg2 = [ {file = "psycopg2-2.8.5.tar.gz", hash = "sha256:f7d46240f7a1ae1dd95aab38bd74f7428d46531f69219954266d669da60c0818"}, ] py = [ - {file = "py-1.8.1-py2.py3-none-any.whl", hash = "sha256:c20fdd83a5dbc0af9efd622bee9a5564e278f6380fffcacc43ba6f43db2813b0"}, - {file = "py-1.8.1.tar.gz", hash = "sha256:5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa"}, + {file = "py-1.9.0-py2.py3-none-any.whl", hash = "sha256:366389d1db726cd2fcfc79732e75410e5fe4d31db13692115529d34069a043c2"}, + {file = "py-1.9.0.tar.gz", hash = "sha256:9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342"}, ] pyasn1 = [ {file = "pyasn1-0.4.8-py2.4.egg", hash = "sha256:fec3e9d8e36808a28efb59b489e4528c10ad0f480e57dcc32b4de5c9d8c9fdf3"}, @@ -2725,36 +2777,36 @@ pycodestyle = [ {file = "pycodestyle-2.6.0.tar.gz", hash = "sha256:c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e"}, ] pycryptodome = [ - {file = "pycryptodome-3.9.7-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:0e10f352ccbbcb5bb2dc4ecaf106564e65702a717d72ab260f9ac4c19753cfc2"}, - {file = "pycryptodome-3.9.7-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:9c739b7795ccf2ef1fdad8d44e539a39ad300ee6786e804ea7f0c6a786eb5343"}, - {file = "pycryptodome-3.9.7-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:9977086e0f93adb326379897437373871b80501e1d176fec63c7f46fb300c862"}, - {file = "pycryptodome-3.9.7-cp27-cp27m-win32.whl", hash = "sha256:83295a3fb5cf50c48631eb5b440cb5e9832d8c14d81d1d45f4497b67a9987de8"}, - {file = "pycryptodome-3.9.7-cp27-cp27m-win_amd64.whl", hash = "sha256:b1e332587b3b195542e77681389c296e1837ca01240399d88803a075447d3557"}, - {file = "pycryptodome-3.9.7-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:9378c309aec1f8cd8bad361ed0816a440151b97a2a3f6ffdaba1d1a1fb76873a"}, - {file = "pycryptodome-3.9.7-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:d4f94368ce2d65873a87ad867eb3bf63f4ba81eb97a9ee66d38c2b71ce5a7439"}, - {file = "pycryptodome-3.9.7-cp34-cp34m-manylinux1_i686.whl", hash = "sha256:f655addaaaa9974108d4808f4150652589cada96074c87115c52e575bfcd87d5"}, - {file = "pycryptodome-3.9.7-cp34-cp34m-manylinux1_x86_64.whl", hash = "sha256:9a94fca11fdc161460bd8659c15b6adef45c1b20da86402256eaf3addfaab324"}, - {file = "pycryptodome-3.9.7-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:ea83bcd9d6c03248ebd46e71ac313858e0afd5aa2fa81478c0e653242f3eb476"}, - {file = "pycryptodome-3.9.7-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:07024fc364869eae8d6ac0d316e089956e6aeffe42dbdcf44fe1320d96becf7f"}, - {file = "pycryptodome-3.9.7-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:426c188c83c10df71f053e04b4003b1437bae5cb37606440e498b00f160d71d0"}, - {file = "pycryptodome-3.9.7-cp35-cp35m-win32.whl", hash = "sha256:d61b012baa8c2b659e9890011358455c0019a4108536b811602d2f638c40802a"}, - {file = "pycryptodome-3.9.7-cp35-cp35m-win_amd64.whl", hash = "sha256:1f4752186298caf2e9ff5354f2e694d607ca7342aa313a62005235d46e28cf04"}, - {file = "pycryptodome-3.9.7-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:767ad0fb5d23efc36a4d5c2fc608ac603f3de028909bcf59abc943e0d0bc5a36"}, - {file = "pycryptodome-3.9.7-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:2fbc472e0b567318fe2052281d5a8c0ae70099b446679815f655e9fbc18c3a65"}, - {file = "pycryptodome-3.9.7-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:9230fcb5d948c3fb40049bace4d33c5d254f8232c2c0bba05d2570aea3ba4520"}, - {file = "pycryptodome-3.9.7-cp36-cp36m-win32.whl", hash = "sha256:8f06556a8f7ea7b1e42eff39726bb0dca1c251205debae64e6eebea3cd7b438a"}, - {file = "pycryptodome-3.9.7-cp36-cp36m-win_amd64.whl", hash = "sha256:d6e1bc5c94873bec742afe2dfadce0d20445b18e75c47afc0c115b19e5dd38dd"}, - {file = "pycryptodome-3.9.7-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:3ec3dc2f80f71fd0c955ce48b81bfaf8914c6f63a41a738f28885a1c4892968a"}, - {file = "pycryptodome-3.9.7-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:cff31f5a8977534f255f729d5d2467526f2b10563a30bbdade92223e0bf264bd"}, - {file = "pycryptodome-3.9.7-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:ed5761b37615a1f222c5345bbf45272ae2cf8c7dff88a4f53a1e9f977cbb6d95"}, - {file = "pycryptodome-3.9.7-cp37-cp37m-win32.whl", hash = "sha256:f011cd0062e54658b7086a76f8cf0f4222812acc66e219e196ea2d0a8849d0ed"}, - {file = "pycryptodome-3.9.7-cp37-cp37m-win_amd64.whl", hash = "sha256:626c0a1d4d83ec6303f970a17158114f75c3ba1736f7f2983f7b40a265861bd8"}, - {file = "pycryptodome-3.9.7-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8be56bde3312e022d9d1d6afa124556460ad5c844c2fc63642f6af723c098d35"}, - {file = "pycryptodome-3.9.7-cp38-cp38-manylinux1_i686.whl", hash = "sha256:c818dc1f3eace93ee50c2b6b5c2becf7c418fa5dd1ba6fc0ef7db279ea21d5e4"}, - {file = "pycryptodome-3.9.7-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:09b6d6bcc01a4eb1a2b4deeff5aa602a108ec5aed8ac75ae554f97d1d7f0a5ad"}, - {file = "pycryptodome-3.9.7-cp38-cp38-win32.whl", hash = "sha256:7ac729d9091ed5478af2b4a4f44f5335a98febbc008af619e4569a59fe503e40"}, - {file = "pycryptodome-3.9.7-cp38-cp38-win_amd64.whl", hash = "sha256:c109a26a21f21f695d369ff9b87f5d43e0d6c768d8384e10bc74142bed2e092e"}, - {file = "pycryptodome-3.9.7.tar.gz", hash = "sha256:f1add21b6d179179b3c177c33d18a2186a09cc0d3af41ff5ed3f377360b869f2"}, + {file = "pycryptodome-3.9.8-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:50348edd283afdccddc0938cdc674484533912ba8a99a27c7bfebb75030aa856"}, + {file = "pycryptodome-3.9.8-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:80d57177a0b7c14d4594c62bbb47fe2f6309ad3b0a34348a291d570925c97a82"}, + {file = "pycryptodome-3.9.8-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:fbe65d5cfe04ff2f7684160d50f5118bdefb01e3af4718eeb618bfed40f19d94"}, + {file = "pycryptodome-3.9.8-cp27-cp27m-win32.whl", hash = "sha256:bcd5b8416e73e4b0d48afba3704d8c826414764dafaed7a1a93c442188d90ccc"}, + {file = "pycryptodome-3.9.8-cp27-cp27m-win_amd64.whl", hash = "sha256:360955eece2cd0fa694a708d10303c6abd7b39614fa2547b6bd245da76198beb"}, + {file = "pycryptodome-3.9.8-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:1e655746f539421d923fd48df8f6f40b3443d80b75532501c0085b64afed9df5"}, + {file = "pycryptodome-3.9.8-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:709b9f144d23e290b9863121d1ace14a72e01f66ea9c903fbdc690520dfdfcf0"}, + {file = "pycryptodome-3.9.8-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:6276478ada411aca97c0d5104916354b3d740d368407912722bd4d11aa9ee4c2"}, + {file = "pycryptodome-3.9.8-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:54bdedd28476dea8a3cd86cb67c0df1f0e3d71cae8022354b0f879c41a3d27b2"}, + {file = "pycryptodome-3.9.8-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:f521178e5a991ffd04182ed08f552daca1affcb826aeda0e1945cd989a9d4345"}, + {file = "pycryptodome-3.9.8-cp35-cp35m-win32.whl", hash = "sha256:a207231a52426de3ff20f5608f0687261a3329d97a036c51f7d4c606a6f30c23"}, + {file = "pycryptodome-3.9.8-cp35-cp35m-win_amd64.whl", hash = "sha256:2b998dc45ef5f4e5cf5248a6edfcd8d8e9fb5e35df8e4259b13a1b10eda7b16b"}, + {file = "pycryptodome-3.9.8-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:03d5cca8618620f45fd40f827423f82b86b3a202c8d44108601b0f5f56b04299"}, + {file = "pycryptodome-3.9.8-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:f78a68c2c820e4731e510a2df3eef0322f24fde1781ced970bf497b6c7d92982"}, + {file = "pycryptodome-3.9.8-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:132a56abba24e2e06a479d8e5db7a48271a73a215f605017bbd476d31f8e71c1"}, + {file = "pycryptodome-3.9.8-cp36-cp36m-win32.whl", hash = "sha256:67dcad1b8b201308586a8ca2ffe89df1e4f731d5a4cdd0610cc4ea790351c739"}, + {file = "pycryptodome-3.9.8-cp36-cp36m-win_amd64.whl", hash = "sha256:b56638d58a3a4be13229c6a815cd448f9e3ce40c00880a5398471b42ee86f50e"}, + {file = "pycryptodome-3.9.8-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:bec2bcdf7c9ce7f04d718e51887f3b05dc5c1cfaf5d2c2e9065ecddd1b2f6c9a"}, + {file = "pycryptodome-3.9.8-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:abc2e126c9490e58a36a0f83516479e781d83adfb134576a5cbe5c6af2a3e93c"}, + {file = "pycryptodome-3.9.8-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:ef39c98d9b8c0736d91937d193653e47c3b19ddf4fc3bccdc5e09aaa4b0c5d21"}, + {file = "pycryptodome-3.9.8-cp37-cp37m-win32.whl", hash = "sha256:4350a42028240c344ee855f032c7d4ad6ff4f813bfbe7121547b7dc579ecc876"}, + {file = "pycryptodome-3.9.8-cp37-cp37m-win_amd64.whl", hash = "sha256:c8bf40cf6e281a4378e25846924327e728a887e8bf0ee83b2604a0f4b61692e8"}, + {file = "pycryptodome-3.9.8-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:d8074c8448cfd0705dfa71ca333277fce9786d0b9cac75d120545de6253f996a"}, + {file = "pycryptodome-3.9.8-cp38-cp38-manylinux1_i686.whl", hash = "sha256:8063a712fba642f78d3c506b0896846601b6de7f5c3d534e388ad0cc07f5a149"}, + {file = "pycryptodome-3.9.8-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:dd302b6ae3965afeb5ef1b0d92486f986c0e65183cd7835973f0b593800590e6"}, + {file = "pycryptodome-3.9.8-cp38-cp38-win32.whl", hash = "sha256:02e51e1d5828d58f154896ddfd003e2e7584869c275e5acbe290443575370fba"}, + {file = "pycryptodome-3.9.8-cp38-cp38-win_amd64.whl", hash = "sha256:55eb61aca2c883db770999f50d091ff7c14016f2769ad7bca3d9b75d1d7c1b68"}, + {file = "pycryptodome-3.9.8-cp39-cp39-manylinux1_i686.whl", hash = "sha256:39ef9fb52d6ec7728fce1f1693cb99d60ce302aeebd59bcedea70ca3203fda60"}, + {file = "pycryptodome-3.9.8-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:de6e1cd75677423ff64712c337521e62e3a7a4fc84caabbd93207752e831a85a"}, + {file = "pycryptodome-3.9.8.tar.gz", hash = "sha256:0e24171cf01021bc5dc17d6a9d4f33a048f09d62cc3f62541e95ef104588bda4"}, ] pydocstyle = [ {file = "pydocstyle-5.0.2-py3-none-any.whl", hash = "sha256:da7831660b7355307b32778c4a0dbfb137d89254ef31a2b2978f50fc0b4d7586"}, @@ -2781,8 +2833,8 @@ pytest = [ {file = "pytest-5.4.3.tar.gz", hash = "sha256:7979331bfcba207414f5e1263b5a0f8f521d0f457318836a7355531ed1a4c7d8"}, ] pytest-cov = [ - {file = "pytest-cov-2.9.0.tar.gz", hash = "sha256:b6a814b8ed6247bd81ff47f038511b57fe1ce7f4cc25b9106f1a4b106f1d9322"}, - {file = "pytest_cov-2.9.0-py2.py3-none-any.whl", hash = "sha256:c87dfd8465d865655a8213859f1b4749b43448b5fae465cb981e16d52a811424"}, + {file = "pytest-cov-2.10.0.tar.gz", hash = "sha256:1a629dc9f48e53512fcbfda6b07de490c374b0c83c55ff7a1720b3fccff0ac87"}, + {file = "pytest_cov-2.10.0-py2.py3-none-any.whl", hash = "sha256:6e6d18092dce6fad667cd7020deed816f858ad3b49d5b5e2b1cc1c97a4dba65c"}, ] pytest-django = [ {file = "pytest-django-3.9.0.tar.gz", hash = "sha256:664e5f42242e5e182519388f01b9f25d824a9feb7cd17d8f863c8d776f38baf9"}, @@ -2811,7 +2863,7 @@ python-dotenv = [ {file = "python_dotenv-0.13.0-py2.py3-none-any.whl", hash = "sha256:25c0ff1a3e12f4bde8d592cc254ab075cfe734fc5dd989036716fd17ee7e5ec7"}, ] python-ldap = [ - {file = "python-ldap-3.2.0.tar.gz", hash = "sha256:7d1c4b15375a533564aad3d3deade789221e450052b21ebb9720fb822eccdb8e"}, + {file = "python-ldap-3.3.0.tar.gz", hash = "sha256:de04939485b53ee5d9a6855562d415b73060c52e681644386de4d5bd18e3f540"}, ] python-memcached = [ {file = "python-memcached-1.59.tar.gz", hash = "sha256:a2e28637be13ee0bf1a8b6843e7490f9456fd3f2a4cb60471733c7b5d5557e4f"}, @@ -2843,31 +2895,31 @@ redis = [ {file = "redis-3.5.3.tar.gz", hash = "sha256:0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2"}, ] regex = [ - {file = "regex-2020.5.14-cp27-cp27m-win32.whl", hash = "sha256:e565569fc28e3ba3e475ec344d87ed3cd8ba2d575335359749298a0899fe122e"}, - {file = "regex-2020.5.14-cp27-cp27m-win_amd64.whl", hash = "sha256:d466967ac8e45244b9dfe302bbe5e3337f8dc4dec8d7d10f5e950d83b140d33a"}, - {file = "regex-2020.5.14-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:27ff7325b297fb6e5ebb70d10437592433601c423f5acf86e5bc1ee2919b9561"}, - {file = "regex-2020.5.14-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ea55b80eb0d1c3f1d8d784264a6764f931e172480a2f1868f2536444c5f01e01"}, - {file = "regex-2020.5.14-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:c9bce6e006fbe771a02bda468ec40ffccbf954803b470a0345ad39c603402577"}, - {file = "regex-2020.5.14-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:d881c2e657c51d89f02ae4c21d9adbef76b8325fe4d5cf0e9ad62f850f3a98fd"}, - {file = "regex-2020.5.14-cp36-cp36m-win32.whl", hash = "sha256:99568f00f7bf820c620f01721485cad230f3fb28f57d8fbf4a7967ec2e446994"}, - {file = "regex-2020.5.14-cp36-cp36m-win_amd64.whl", hash = "sha256:70c14743320a68c5dac7fc5a0f685be63bc2024b062fe2aaccc4acc3d01b14a1"}, - {file = "regex-2020.5.14-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:a7c37f048ec3920783abab99f8f4036561a174f1314302ccfa4e9ad31cb00eb4"}, - {file = "regex-2020.5.14-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:89d76ce33d3266173f5be80bd4efcbd5196cafc34100fdab814f9b228dee0fa4"}, - {file = "regex-2020.5.14-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:51f17abbe973c7673a61863516bdc9c0ef467407a940f39501e786a07406699c"}, - {file = "regex-2020.5.14-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:ce5cc53aa9fbbf6712e92c7cf268274eaff30f6bd12a0754e8133d85a8fb0f5f"}, - {file = "regex-2020.5.14-cp37-cp37m-win32.whl", hash = "sha256:8044d1c085d49673aadb3d7dc20ef5cb5b030c7a4fa253a593dda2eab3059929"}, - {file = "regex-2020.5.14-cp37-cp37m-win_amd64.whl", hash = "sha256:c2062c7d470751b648f1cacc3f54460aebfc261285f14bc6da49c6943bd48bdd"}, - {file = "regex-2020.5.14-cp38-cp38-manylinux1_i686.whl", hash = "sha256:329ba35d711e3428db6b45a53b1b13a0a8ba07cbbcf10bbed291a7da45f106c3"}, - {file = "regex-2020.5.14-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:579ea215c81d18da550b62ff97ee187b99f1b135fd894a13451e00986a080cad"}, - {file = "regex-2020.5.14-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:3a9394197664e35566242686d84dfd264c07b20f93514e2e09d3c2b3ffdf78fe"}, - {file = "regex-2020.5.14-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:ce367d21f33e23a84fb83a641b3834dd7dd8e9318ad8ff677fbfae5915a239f7"}, - {file = "regex-2020.5.14-cp38-cp38-win32.whl", hash = "sha256:1386e75c9d1574f6aa2e4eb5355374c8e55f9aac97e224a8a5a6abded0f9c927"}, - {file = "regex-2020.5.14-cp38-cp38-win_amd64.whl", hash = "sha256:7e61be8a2900897803c293247ef87366d5df86bf701083b6c43119c7c6c99108"}, - {file = "regex-2020.5.14.tar.gz", hash = "sha256:ce450ffbfec93821ab1fea94779a8440e10cf63819be6e176eb1973a6017aff5"}, + {file = "regex-2020.6.8-cp27-cp27m-win32.whl", hash = "sha256:fbff901c54c22425a5b809b914a3bfaf4b9570eee0e5ce8186ac71eb2025191c"}, + {file = "regex-2020.6.8-cp27-cp27m-win_amd64.whl", hash = "sha256:112e34adf95e45158c597feea65d06a8124898bdeac975c9087fe71b572bd938"}, + {file = "regex-2020.6.8-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:92d8a043a4241a710c1cf7593f5577fbb832cf6c3a00ff3fc1ff2052aff5dd89"}, + {file = "regex-2020.6.8-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:bae83f2a56ab30d5353b47f9b2a33e4aac4de9401fb582b55c42b132a8ac3868"}, + {file = "regex-2020.6.8-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:b2ba0f78b3ef375114856cbdaa30559914d081c416b431f2437f83ce4f8b7f2f"}, + {file = "regex-2020.6.8-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:95fa7726d073c87141f7bbfb04c284901f8328e2d430eeb71b8ffdd5742a5ded"}, + {file = "regex-2020.6.8-cp36-cp36m-win32.whl", hash = "sha256:e3cdc9423808f7e1bb9c2e0bdb1c9dc37b0607b30d646ff6faf0d4e41ee8fee3"}, + {file = "regex-2020.6.8-cp36-cp36m-win_amd64.whl", hash = "sha256:c78e66a922de1c95a208e4ec02e2e5cf0bb83a36ceececc10a72841e53fbf2bd"}, + {file = "regex-2020.6.8-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:08997a37b221a3e27d68ffb601e45abfb0093d39ee770e4257bd2f5115e8cb0a"}, + {file = "regex-2020.6.8-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:2f6f211633ee8d3f7706953e9d3edc7ce63a1d6aad0be5dcee1ece127eea13ae"}, + {file = "regex-2020.6.8-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:55b4c25cbb3b29f8d5e63aeed27b49fa0f8476b0d4e1b3171d85db891938cc3a"}, + {file = "regex-2020.6.8-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:89cda1a5d3e33ec9e231ece7307afc101b5217523d55ef4dc7fb2abd6de71ba3"}, + {file = "regex-2020.6.8-cp37-cp37m-win32.whl", hash = "sha256:690f858d9a94d903cf5cada62ce069b5d93b313d7d05456dbcd99420856562d9"}, + {file = "regex-2020.6.8-cp37-cp37m-win_amd64.whl", hash = "sha256:1700419d8a18c26ff396b3b06ace315b5f2a6e780dad387e4c48717a12a22c29"}, + {file = "regex-2020.6.8-cp38-cp38-manylinux1_i686.whl", hash = "sha256:654cb773b2792e50151f0e22be0f2b6e1c3a04c5328ff1d9d59c0398d37ef610"}, + {file = "regex-2020.6.8-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:52e1b4bef02f4040b2fd547357a170fc1146e60ab310cdbdd098db86e929b387"}, + {file = "regex-2020.6.8-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:cf59bbf282b627130f5ba68b7fa3abdb96372b24b66bdf72a4920e8153fc7910"}, + {file = "regex-2020.6.8-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:5aaa5928b039ae440d775acea11d01e42ff26e1561c0ffcd3d805750973c6baf"}, + {file = "regex-2020.6.8-cp38-cp38-win32.whl", hash = "sha256:97712e0d0af05febd8ab63d2ef0ab2d0cd9deddf4476f7aa153f76feef4b2754"}, + {file = "regex-2020.6.8-cp38-cp38-win_amd64.whl", hash = "sha256:6ad8663c17db4c5ef438141f99e291c4d4edfeaacc0ce28b5bba2b0bf273d9b5"}, + {file = "regex-2020.6.8.tar.gz", hash = "sha256:e9b64e609d37438f7d6e68c2546d2cb8062f3adb27e6336bc129b51be20773ac"}, ] requests = [ - {file = "requests-2.23.0-py2.py3-none-any.whl", hash = "sha256:43999036bfa82904b6af1d99e4882b560e5e2c68e5c4b0aa03b655f3d7d73fee"}, - {file = "requests-2.23.0.tar.gz", hash = "sha256:b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6"}, + {file = "requests-2.24.0-py2.py3-none-any.whl", hash = "sha256:fe75cc94a9443b9246fc7049224f75604b113c36acb93f87b80ed42c44cbb898"}, + {file = "requests-2.24.0.tar.gz", hash = "sha256:b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b"}, ] restructuredtext-lint = [ {file = "restructuredtext_lint-1.3.1.tar.gz", hash = "sha256:470e53b64817211a42805c3a104d2216f6f5834b22fe7adb637d1de4d6501fb8"}, @@ -2880,8 +2932,8 @@ safety = [ {file = "safety-1.9.0.tar.gz", hash = "sha256:23bf20690d4400edc795836b0c983c2b4cbbb922233108ff925b7dd7750f00c9"}, ] scramp = [ - {file = "scramp-1.1.1-py3-none-any.whl", hash = "sha256:a2c740624642de84f77327da8f56b2f030c5afd10deccaedbb8eb6108a66dfc1"}, - {file = "scramp-1.1.1.tar.gz", hash = "sha256:b57eb0ae2f9240b15b5d0dab2ea8e40b43eef13ac66d3f627a79ef85a6da0927"}, + {file = "scramp-1.2.0-py3-none-any.whl", hash = "sha256:74815c25aad1fe0b5fb994e96c3de63e8695164358a80138352aaadfa4760350"}, + {file = "scramp-1.2.0.tar.gz", hash = "sha256:d6865ed1d135ddb124a619d7cd3a5b505f69a7c92e248024dd7e48bc77752af5"}, ] selenium = [ {file = "selenium-3.141.0-py2.py3-none-any.whl", hash = "sha256:2d7131d7bc5a5b99a2d9b04aaf2612c411b03b8ca1b1ee8d3de5845a9be2cb3c"}, @@ -2908,12 +2960,12 @@ spdx-license-list = [ {file = "spdx_license_list-0.5.0.tar.gz", hash = "sha256:40cd53ff16401bab7059e6d1ef61839196b12079929a2763a50145d3b6949bc1"}, ] sphinx = [ - {file = "Sphinx-3.0.4-py3-none-any.whl", hash = "sha256:779a519adbd3a70fc7c468af08c5e74829868b0a5b34587b33340e010291856c"}, - {file = "Sphinx-3.0.4.tar.gz", hash = "sha256:ea64df287958ee5aac46be7ac2b7277305b0381d213728c3a49d8bb9b8415807"}, + {file = "Sphinx-3.1.1-py3-none-any.whl", hash = "sha256:97c9e3bcce2f61d9f5edf131299ee9d1219630598d9f9a8791459a4d9e815be5"}, + {file = "Sphinx-3.1.1.tar.gz", hash = "sha256:74fbead182a611ce1444f50218a1c5fc70b6cc547f64948f5182fb30a2a20258"}, ] sphinx-autodoc-typehints = [ - {file = "sphinx-autodoc-typehints-1.10.3.tar.gz", hash = "sha256:a6b3180167479aca2c4d1ed3b5cb044a70a76cccd6b38662d39288ebd9f0dff0"}, - {file = "sphinx_autodoc_typehints-1.10.3-py3-none-any.whl", hash = "sha256:27c9e6ef4f4451766ab8d08b2d8520933b97beb21c913f3df9ab2e59b56e6c6c"}, + {file = "sphinx-autodoc-typehints-1.11.0.tar.gz", hash = "sha256:bbf0b203f1019b0f9843ee8eef0cff856dc04b341f6dbe1113e37f2ebf243e11"}, + {file = "sphinx_autodoc_typehints-1.11.0-py3-none-any.whl", hash = "sha256:89e19370a55db4aef1be2094d8fb1fb500ca455c55b3fcc8d2600ff805227e04"}, ] sphinxcontrib-applehelp = [ {file = "sphinxcontrib-applehelp-1.0.2.tar.gz", hash = "sha256:a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58"}, @@ -2948,8 +3000,8 @@ sqlparse = [ {file = "sqlparse-0.3.1.tar.gz", hash = "sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548"}, ] stevedore = [ - {file = "stevedore-1.32.0-py2.py3-none-any.whl", hash = "sha256:a4e7dc759fb0f2e3e2f7d8ffe2358c19d45b9b8297f393ef1256858d82f69c9b"}, - {file = "stevedore-1.32.0.tar.gz", hash = "sha256:18afaf1d623af5950cc0f7e75e70f917784c73b652a34a12d90b309451b5500b"}, + {file = "stevedore-2.0.1-py3-none-any.whl", hash = "sha256:c4724f8d7b8f6be42130663855d01a9c2414d6046055b5a65ab58a0e38637688"}, + {file = "stevedore-2.0.1.tar.gz", hash = "sha256:609912b87df5ad338ff8e44d13eaad4f4170a65b79ae9cb0aa5632598994a1b7"}, ] termcolor = [ {file = "termcolor-1.1.0.tar.gz", hash = "sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"}, @@ -2979,7 +3031,7 @@ tqdm = [ {file = "tqdm-4.46.1.tar.gz", hash = "sha256:cd140979c2bebd2311dfb14781d8f19bd5a9debb92dcab9f6ef899c987fcf71f"}, ] twilio = [ - {file = "twilio-6.41.0.tar.gz", hash = "sha256:7c6329118583852bb06a2065dd2987a012310e5dfd834ef821d736b059bd1c74"}, + {file = "twilio-6.43.0.tar.gz", hash = "sha256:1ff3b66992ebb59411794f669eab7f11bcfaacc5549eec1afb47af1c755872ac"}, ] typed-ast = [ {file = "typed_ast-1.4.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:73d785a950fc82dd2a25897d525d003f6378d1cb23ab305578394694202a58c3"}, @@ -3018,8 +3070,8 @@ vine = [ {file = "vine-1.3.0.tar.gz", hash = "sha256:133ee6d7a9016f177ddeaf191c1f58421a1dcc6ee9a42c58b34bed40e1d2cd87"}, ] wcwidth = [ - {file = "wcwidth-0.2.3-py2.py3-none-any.whl", hash = "sha256:980fbf4f3c196c0f329cdcd1e84c554d6a211f18e252e525a0cf4223154a41d6"}, - {file = "wcwidth-0.2.3.tar.gz", hash = "sha256:edbc2b718b4db6cdf393eefe3a420183947d6aa312505ce6754516f458ff8830"}, + {file = "wcwidth-0.2.5-py2.py3-none-any.whl", hash = "sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784"}, + {file = "wcwidth-0.2.5.tar.gz", hash = "sha256:c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83"}, ] webencodings = [ {file = "webencodings-0.5.1-py2.py3-none-any.whl", hash = "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78"}, diff --git a/pyproject.toml b/pyproject.toml index 809913488680c493d026b4f438f6829e927a42b2..f040f25c445107b92ab98dfa63885c0bbde7ddea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ libsass = "^0.20.0" colour = "^0.1.5" dynaconf = {version = "^2.0", extras = ["yaml", "toml", "ini"]} django-settings-context-processor = "^0.2" -django-auth-ldap = { version = "^2.0", optional = true } +django-auth-ldap = { version = "^2.2", optional = true } django-maintenance-mode = "^0.14.0" django-ipware = "^2.1" easy-thumbnails = "^2.6" @@ -72,7 +72,7 @@ django-celery-beat = {version="^2.0.0", optional=true} django-celery-email = {version="^3.0.0", optional=true} django-jsonstore = "^0.4.1" django-polymorphic = "^2.1.2" -django-otp = "0.9.1" +django-otp = "0.9.3" django-colorfield = "^0.3.0" django-bleach = "^0.6.1" django-guardian = "^2.2.0" @@ -85,6 +85,8 @@ spdx-license-list = "^0.5.0" license-expression = "^1.2" django-reversion = "^3.0.7" django-favicon-plus-reloaded = "^1.0.4" +django-health-check = "^3.12.1" +psutil = "^5.7.0" celery-progress = "^0.0.10" [tool.poetry.extras]