zulip/static
Anders Kaseorg 463929f349 urls: Migrate re_path routes to path.
Django treats path("<name>") like re_path(r"(?P<name>[^/]+)") and
path("<path:name>") like re_path(r"(?P<name>.+)").

This is more readable and consistent than the mix of slightly
different regexes we had before, and fixes various bugs:

• The r'apps/(.*)$' regex was missing a start anchor ^, so it
  incorrectly matched all URLs that included apps/ as a substring
  anywhere.
• The r'accounts/login/(google)/$' regex was missing a start anchor ^,
  so it incorrectly matched all URLs that ended with
  accounts/login/google/.
• The type annotation of zerver.views.realm_export.delete_realm_export
  takes export_id as an int, but it was previously passed as a string.
• The type annotation of zerver.views.users.avatar takes medium as a
  bool, but it was previously passed as a string.
• The [0-9A-Za-z]+ pattern for uidb64 was missing the - and _
  characters that can validly be part of a base64url encoded
  string (although I think the id is actually a decimal integer here,
  in which case only 012345ADEIMNOQTUYcgjkwxyz are present in its
  base64url encoding).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-09-12 14:29:26 -07:00
..
assets js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
audio
generated
html logo: Update Zulip logo. 2020-07-16 01:37:08 -07:00
images integrations: Re-add Canarytoken integration. 2020-07-20 15:34:40 -07:00
js urls: Migrate re_path routes to path. 2020-09-12 14:29:26 -07:00
shared shared: Bump version to 0.0.3. 2020-08-26 22:34:06 -07:00
styles landing-page: Fix carousel indicators alignment. 2020-09-02 10:59:22 -07:00
templates invite: Fix compose box focus on clicking (Un)check All in invite window. 2020-09-04 12:58:11 -07:00
third tooltip: Fix arrow position. 2020-09-04 10:36:02 -07:00
.gitignore team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00