Alex Vandiver
9e42cf435b
tail-ses: Add a tool to tail SES delivery/bounce/complaint queues.
2022-05-06 17:49:00 -07:00
Ganesh Pawar
59e810790f
user_groups: Convert inline form to modal.
...
Fixes part of #21298 .
2022-05-04 17:46:30 -07:00
Raghav Luthra
fb89c14f34
lint: Improve data-tippy-allowHTML error message.
...
The error message a user gets from the linter when using the
data-tippy-allowHTML attribute now conveys the fact that the
<template> tag is supposed to hold the tooltip content. This
might make understanding the correct workflow easier for
someone who encounters this error.
2022-05-04 17:38:30 -07:00
Adam Sah
a9ce02348b
testing: Improve backend code coverage for semaphore webhook.
2022-05-04 16:13:24 -07:00
Alex Vandiver
bf562f8fff
ci: Update upgrade test to 5.2, from 5.1.
2022-05-04 11:37:15 -07:00
Tim Abbott
25999b7056
lint: Ban Help Center relative links without leading /.
...
Such links would likely end up broken if we change our URL scheme to
no longer be based around URL fragments.
2022-05-04 11:18:27 -07:00
patricklauer
d86b7c4ef7
provision: Add missing ENDC to avoid colouring all output.
2022-05-03 12:41:43 -07:00
Anders Kaseorg
e952641013
install: Resupport Ubuntu 22.04.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-05-03 09:41:08 -07:00
Anders Kaseorg
7acb642fa5
requirements: Upgrade to Tornado 6.
...
Fixes #8913 .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-05-02 17:41:49 -07:00
Anders Kaseorg
f23bfe91c0
run-dev: Fix types.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-05-02 17:41:49 -07:00
Anders Kaseorg
c9faefd50e
cache: Instantiate only one BMemcached cache backend.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-05-02 17:41:49 -07:00
Anders Kaseorg
0ef9309e92
run-dev: Switch to asyncio event loop.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-05-02 17:41:49 -07:00
Anders Kaseorg
bded7180f7
tornado: Unfork tornado.autoreload.
...
We previously forked tornado.autoreload to work around a problem where
it would crash if you introduce a syntax error and not recover if you
fix it (https://github.com/tornadoweb/tornado/issues/2398 ).
A much more maintainable workaround for that issue, at least in
current Tornado, is to use tornado.autoreload as the main module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-05-02 17:41:49 -07:00
Anders Kaseorg
1c7954b452
run-dev: Avoid deprecated tornado.gen.engine.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-05-02 17:41:49 -07:00
Anders Kaseorg
080a806d60
build-pgroonga: Update PGroonga to 2.3.6.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-29 16:02:45 -07:00
Tim Abbott
cd011b1a94
ci: Verify production servers using /api/v1/server_settings.
...
The previous commit changed our response for the root domain on a
self-hosted Zulip server containing no realms to be a 404.
This made the HTTP headers verification done here less robust than
would be ideal, in that one could imagine a bug that makes every URL
404 passing that test.
So we instead change the check to verify the /server_settings API,
which doesn't have that problem.
2022-04-28 12:34:59 -07:00
Aman Agrawal
4e08c737ca
home: For web public realms, skip login for spectators.
...
To provide a smoother experience of accessing a web public stream,
we don't ask user to login unless user directly requests a
`/login` URL.
Fixes #21690 .
2022-04-28 12:34:29 -07:00
Alex Vandiver
4325bf0fc9
droplets: Add a tool to clean up old hostnames in DNS.
2022-04-28 11:30:47 -07:00
Alex Vandiver
b5bcc5f1b4
droplets: Switch to Ubuntu 20.04 base image.
2022-04-28 11:30:47 -07:00
Alex Vandiver
702807829f
droplets: Add IPv6 addresses to droplets.
2022-04-28 11:30:47 -07:00
Alex Vandiver
738d21f24b
droplets: Allow specifying the region for the droplet.
2022-04-28 11:30:47 -07:00
Alex Vandiver
b18b9d25e1
droplets: Add a script to do the provisioning.
2022-04-28 11:30:47 -07:00
Aman Agrawal
44efc8eb37
web_public_view: Redirect to current narrow after login.
...
Add current hash as `next` URL to all login buttons
a spectator can access while in app.
2022-04-28 10:47:49 -07:00
Anders Kaseorg
a2825e5984
python: Use Python 3.8 typing.{Protocol,TypedDict}.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-27 12:57:49 -07:00
Anders Kaseorg
098a514599
python: Use Python 3.8 shlex.join function.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-27 12:57:49 -07:00
Anders Kaseorg
bd072d79a4
test-backend: Respect --parallel=N when running specific tests.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-26 18:34:14 -07:00
Anders Kaseorg
a543dcc8e3
Remove Debian 10 support.
...
As a consequence:
• Bump minimum supported Python version to 3.8.
• Move Vagrant environment to Ubuntu 20.04, which has Python 3.8.
• Move CI frontend tests to Ubuntu 20.04.
• Move production build test to Ubuntu 20.04.
• Move 3.4 upgrade test to Ubuntu 20.04.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-26 16:32:02 -07:00
Anders Kaseorg
63a1ef0e91
configure-rabbitmq: Remove use of sudo.
...
It already runs as root everywhere except in provision_inner, so move
the sudo there.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-19 12:36:31 -07:00
Anders Kaseorg
cc30ed8ec7
actions: Delete zerver.lib.actions.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:38 -07:00
Anders Kaseorg
59f6b090c7
actions: Split out zerver.actions.realm_settings.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:37 -07:00
Anders Kaseorg
ec174dfb47
actions: Split out zerver.actions.bots.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:36 -07:00
Anders Kaseorg
cbad5739ab
actions: Split out zerver.actions.create_user.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:35 -07:00
Anders Kaseorg
5fcbc412cf
actions: Split out zerver.actions.streams.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:35 -07:00
Anders Kaseorg
975066e3f0
actions: Split out zerver.actions.message_send.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:34 -07:00
Anders Kaseorg
ec6355389a
actions: Split out zerver.actions.user_settings.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:34 -07:00
Anders Kaseorg
d7981dad62
actions: Split out zerver.actions.users.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:34 -07:00
Anders Kaseorg
a29f1b39da
actions: Move part into zerver.lib.streams.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 17:14:32 -07:00
Anders Kaseorg
dd8b1aaba6
actions: Add zerver/actions directory.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-14 13:48:35 -07:00
Anders Kaseorg
a682530fd4
node_tests: Enforce 100% coverage for test files.
...
This makes it easier to find obsolete parts of the tests that should
be cleaned up.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-04-10 19:31:56 -04:00
Alex Vandiver
e2a3fe0930
ci: Test upgrades from 3.x, 4.x and 5.x.
2022-04-08 17:10:03 -07:00
Alex Vandiver
e6e4b7b3ef
timeout: Add test coverage.
2022-04-07 17:26:01 -07:00
Alex Vandiver
35e27aef4a
migrations: Remove the possibly-duplicated emoji re-uploading.
...
In 85e531e377
, we duplicated this block
of migration code to fix a bug, but moving it (aka deleting the
original copy) is a cleaner solution.
2022-04-01 17:51:00 -07:00
Tim Abbott
85e531e377
migrations: Repeat part of migration 0376.
...
The blockquote explains the motivation for this change in detail.
Fixes #21608 .
2022-04-01 15:20:43 -07:00
Tim Abbott
d9bf8baca1
tools: Add per-repository commit counts in contributions tool.
...
This makes the output nice enough to include in the blog post.
2022-03-29 14:13:17 -07:00
Tim Abbott
13da2c2fb7
total-contributions: Clone repositories if already available.
...
This makes it more convenient to manage.
2022-03-28 23:01:58 -07:00
Tim Abbott
a7f13ba723
total-contributions: Support all repositories and improve output.
2022-03-28 23:01:58 -07:00
Tim Abbott
7cbe9665b6
total-contributions: Exclude dependabot commits.
2022-03-28 23:01:58 -07:00
Tim Abbott
a234fe9c4c
total-contributions: Use commits by date, not by release.
2022-03-28 23:01:58 -07:00
Tim Abbott
6b5ce3579c
total-contributions: Do a fetch for zulip/zulip as well.
...
This avoids producing stale output by having a consistent algorithm
for all repositories.
2022-03-28 23:01:58 -07:00
Anders Kaseorg
2762121162
python: Convert last type comments to annotations.
...
We had skipped these in #14693 so we could keep generating a friendly
error on Python 3.5, but we gave that up in #19801 .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-03-24 20:32:39 -07:00