zulip/zerver
Tim Abbott c598a84dd6 ldap: Check for deactivating owner role precisely.
Since the invariant we're trying to protect is that every realm has an
active owner, we should check precisely that.

The root bug here, which the parent commit failed to fix properly, is
that we were doing a "greater than" check when we clearly originally
meant a "less than" check -- lower role numbers have more permissions.
2021-05-06 10:13:29 -07:00
..
data_import models/realm: Add a model for storing realm playground information. 2021-04-07 08:20:53 +05:30
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib emails: Transform SMTPException into EmailNotDeliveredException. 2021-05-05 20:16:11 -07:00
management ldap: Check for deactivating owner role precisely. 2021-05-06 10:13:29 -07:00
migrations left-sidebar: Show starred message counts by default. 2021-05-01 07:27:08 -07:00
openapi user docs: Create separate "Code blocks" user documentation page. 2021-05-05 16:11:21 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests test_send_email: Shorten tests about build_email. 2021-05-05 20:16:11 -07:00
tornado middleware: Add client_version attribute to request. 2021-04-29 17:03:40 -07:00
views emails: Transform SMTPException into EmailNotDeliveredException. 2021-05-05 20:16:11 -07:00
webhooks mypy: Don’t use Iterable for values iterated multiple times. 2021-04-29 16:06:17 -07:00
worker emails: Transform SMTPException into EmailNotDeliveredException. 2021-05-05 20:16:11 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py UI: Add Zulip version in gear menu. 2021-04-30 17:58:08 -07:00
decorator.py middleware: Simplify logic for parsing user-agent. 2021-04-29 17:47:41 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
logging_handlers.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
middleware.py middleware: Simplify logic for parsing user-agent. 2021-04-29 17:47:41 -07:00
models.py settings: Add moderators option for wildcard_mention_policy. 2021-05-03 12:12:01 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00