zulip/static/js/portico
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
..
confirm-preregistrationuser.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
desktop-login.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
desktop-redirect.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
dev-login.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
email_log.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
google-analytics.js js: Remove inner spacing from object literals. 2020-07-17 14:31:25 -07:00
header.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
help.js js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -07:00
integrations.js eslint: Forbid unnecessary path segments in imports. 2020-09-01 16:43:02 -07:00
integrations_dev_panel.js urls: Migrate re_path routes to path. 2020-09-12 14:29:26 -07:00
landing-page.js js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -07:00
signup.js portico: Improve error messages display on registration page. 2020-08-31 22:12:03 -07:00
tabbed-instructions.js js: Convert a.indexOf(…) !== -1 to a.includes(…). 2020-02-10 14:08:12 -08:00
team.js js: Replace underscore with lodash and remove it from globals. 2020-07-26 16:12:06 -07:00