Alex Vandiver
7613928e8a
apps: Fix redirect from /apps -> https://zulip.com/apps/ .
...
When this code was moved from being in zerver in 21a2fd482e , it kept
the `if ZILENCER_ENABLED` blocks. Since ZILENCER and CORPORATE are
generally either both on or both off, the if statement became
mostly-unnecessary.
However, because tests cannot easily remove elements from
INSTALLED_APPS and re-determine URL resolution, we switch to checking
`if CORPORATE_ENABLED` as a guard, and leave these in-place.
The other side effect of this is that with e54ded49c4 , most Zulip
deployments started to 404 requests for `/apps` instead of redirecting
them to `https://zulip.com/apps/ ` since they no longer had any path
configured for `/apps`. Unfortunately, this URL is in widespread use
in the app (e.g. in links from the Welcome Bot), so we should ensure
that it does successfully redirect.
Add the `/apps` path to `zerver`, but only if not CORPORATE_ENABLED,
so the URLs do not overlap.
2022-12-30 17:47:16 -08:00
..
2022-10-31 14:36:54 -07:00
2022-06-06 23:06:00 -07:00
2022-06-06 23:06:00 -07:00
2022-09-28 11:47:40 -07:00
2022-11-17 16:52:00 -08:00
2022-10-17 11:32:52 -07:00
2022-11-17 16:52:00 -08:00
2022-11-04 14:31:18 -07:00
2022-06-06 23:06:00 -07:00
2022-11-08 11:08:14 -08:00
2022-11-17 16:52:00 -08:00
2022-10-17 11:32:52 -07:00
2022-12-30 17:47:16 -08:00
2022-07-26 18:00:24 -07:00
2022-12-13 16:29:10 -08:00
2022-07-21 15:25:11 -07:00
2022-09-16 18:07:28 -07:00
2022-12-15 23:56:48 -08:00
2022-11-17 16:52:00 -08:00
2022-12-13 14:58:58 -08:00
2022-11-10 16:21:04 -08:00
2022-12-13 23:11:50 -08:00
2022-10-17 11:32:52 -07:00
2022-11-17 16:52:00 -08:00
2022-11-17 16:52:00 -08:00
2022-11-03 12:10:15 -07:00
2022-10-17 11:32:52 -07:00
2022-06-08 11:25:03 -07:00
2022-11-03 12:10:15 -07:00
2022-06-23 19:23:08 -07:00
2022-11-03 12:10:15 -07:00
2022-09-13 11:05:37 -07:00
2022-10-10 08:40:28 -07:00
2022-10-10 08:40:28 -07:00
2022-10-31 17:35:06 -07:00
2022-12-13 15:16:20 -08:00
2022-10-17 11:32:52 -07:00
2022-12-15 23:56:48 -08:00
2022-11-17 16:52:00 -08:00
2022-11-17 16:52:00 -08:00
2022-11-17 16:52:00 -08:00
2022-11-17 16:52:00 -08:00
2022-09-27 11:13:55 -07:00
2022-10-07 10:09:38 -07:00
2022-11-17 16:52:00 -08:00
2022-09-27 17:18:48 -07:00
2022-06-06 23:06:00 -07:00
2022-10-24 14:52:49 -07:00
2022-12-13 14:58:58 -08:00
2022-11-16 21:13:44 -08:00
2022-06-01 16:01:54 -07:00
2022-11-04 14:46:17 -07:00
2022-09-23 12:27:54 -07:00
2022-12-13 14:58:58 -08:00
2022-11-17 16:52:00 -08:00
2022-08-10 16:30:39 -07:00
2022-09-13 11:05:37 -07:00
2022-11-08 08:50:17 -08:00
2022-09-16 15:27:52 -07:00
2022-08-09 14:44:28 -07:00
2022-09-16 14:54:45 -07:00
2022-06-06 23:06:00 -07:00
2022-11-04 14:44:07 -07:00
2022-12-13 23:11:50 -08:00
2022-06-23 22:05:12 -07:00
2022-11-03 12:10:15 -07:00
2022-12-27 10:34:30 -08:00
2022-11-05 15:13:46 -07:00
2022-11-17 16:52:00 -08:00
2022-08-25 12:13:03 -07:00
2022-11-17 16:52:00 -08:00
2022-09-09 16:30:54 -07:00
2022-11-17 16:52:00 -08:00
2022-10-07 10:10:01 -07:00
2022-10-17 11:32:52 -07:00
2022-12-13 14:58:58 -08:00
2022-11-17 16:52:00 -08:00
2022-05-30 11:59:47 -07:00
2022-11-17 16:52:00 -08:00
2022-11-17 16:52:00 -08:00
2022-07-13 16:07:17 -07:00
2022-07-05 17:54:17 -07:00
2022-09-30 11:19:39 -07:00
2022-10-25 11:03:44 -07:00
2022-10-17 11:32:52 -07:00
2022-10-17 11:32:52 -07:00
2022-09-06 14:57:06 -07:00
2022-12-13 14:58:58 -08:00
2022-09-23 12:27:54 -07:00
2022-11-17 16:52:00 -08:00
2022-11-17 16:52:00 -08:00
2022-09-13 11:05:37 -07:00
2022-06-06 23:06:00 -07:00
2022-08-12 17:08:04 -07:00