Anders Kaseorg
e96ede0ef6
page_params: Split out state data for current user.
...
For spectators, the chunk of page_params that originates from
do_events_register isn’t assigned until ui_init.js. That means the
TypeScript type of page_params is mostly a lie during module load
time: reading a parameter too early silently results in undefined
rather than the declared type, with unpredictable results later on.
We want to make such an early read into an immediate runtime error,
for both users and spectators consistently, and pave the way for
runtime validation of the page_params type. As a first step, split
out the subset of fields that pertain to the current user.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-15 10:22:52 -08:00
Varun Singh
3fa308369d
playground_links_popover: Convert module to TypeScript.
2024-02-13 11:44:01 -08:00
Varun Singh
5f9b6d82a4
typing_events: Convert module to TypeScript.
2024-02-12 09:49:54 -08:00
evykassirer
49d79730b8
resize: Convert module to typescript.
2024-02-09 21:17:16 -08:00
Joydeep Bhattacharjee
264a9a1057
compose_ui: Convert module to typescript.
2024-02-09 15:11:17 -08:00
Alex Vandiver
3d63a87384
kandra: Puppet github.com keys to both root and zulip users.
...
We update to add the ecdsa-sha2-nistp256 key as well.
2024-02-07 10:42:12 -08:00
Alex Vandiver
b1f899512a
pack-local-script: Match mode of file outside of packing.
2024-02-07 10:42:12 -08:00
Varun Singh
e213d9505b
typing: Convert module to TypeScript.
2024-02-07 09:12:49 -08:00
Varun Singh
94558478df
scheduled_messages_feed_ui: Convert module to TypeScript.
2024-02-06 22:25:55 -08:00
Alex Vandiver
b23d90ed62
puppet: Rename puppet/zulip_ops to puppet/kandra.
...
This makes for easier tab-completion, and also is a bit more explicit
about the expected consumer.
2024-02-06 17:56:27 -08:00
Alex Vandiver
0bd1e2b434
puppet: Rename and limit production key distribution.
2024-02-02 17:24:12 -08:00
Anders Kaseorg
70f491eae2
push-to-pull-request: Accept intermixed options and arguments again.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-01 17:08:44 -08:00
Anders Kaseorg
474703a963
push-to-pull-request: Use getopts for macOS compatibility.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-02-01 09:29:32 -08:00
Alex Vandiver
ff00c01538
bootstrap-aws-installer: Pull all keys from secretsmanager.
2024-01-31 16:41:04 -08:00
Alex Vandiver
6902d5db47
install-aws-cli: Also install and keep up to date using Puppet.
...
We previously only did this install on the developer machine and on
initial boot. Also run it from puppet to make sure we keep the binary
up-to-date.
2024-01-31 16:41:04 -08:00
Alex Vandiver
bd87f53c86
install-aws-server: Build a tool to smuggle scripts inline in the bootdata.
2024-01-31 16:41:04 -08:00
Alex Vandiver
333cc902fb
install-aws-server: chdir to the repo root first.
2024-01-31 16:41:04 -08:00
Alex Vandiver
38bf1c5d22
install-aws-cli: Move into puppet files.
2024-01-31 16:41:04 -08:00
Alex Vandiver
21237f42ba
install-aws-server: Enable instance metadata tags.
...
These are shown in the Teleport UI.
2024-01-31 16:41:04 -08:00
Alex Vandiver
1acfe59fe5
install-aws-server: Pull latest 22.04 AMI by default.
2024-01-31 16:41:04 -08:00
Lauryn Menard
12ec133224
templates: Move billing templates to /templates/corporate/billing.
2024-01-30 10:06:48 -08:00
Lauryn Menard
916892e437
templates: Move support templates to /templates/corporate/support.
...
Also, makes small updates to `next_plan_forms_support.html`.
Removes unneeded "btn" and "btn-default" classes, and updates
the placeholder text for the input as not marked for translation.
2024-01-30 10:06:48 -08:00
Lauryn Menard
efd0d689fc
templates: Move activity templates to /templates/corporate/activity.
...
Also, renames `ad_hoc_query.html` to `activity_table.html`,
`realm_summary_table.html` to `installation_activity_table.html`,
and `activity_details_template.html` to `activity.html`.
Removes the style attribute in the installation activity template
and uses a CSS class, "installation-activity-header", to center the
h3 and p tags instead. This removes an exception from the custom
lint check.
2024-01-30 10:06:48 -08:00
Lauryn Menard
df2f4b6469
corporate: Move support and activity views to /corporate.
...
View functions in `analytics/views/support.py` are moved to
`corporate/views/support.py`.
Shared activity functions in `analytics/views/activity_common.py`
are moved to `corporate/lib/activity.py`, which was also renamed
from `corporate/lib/analytics.py`.
2024-01-30 10:06:48 -08:00
Anders Kaseorg
1a9441ec70
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 16:14:26 -08:00
Anders Kaseorg
93198a19ed
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-01-29 10:41:54 -08:00
evykassirer
ea04f7d27d
topic list: Convert module to typescript.
2024-01-29 10:22:35 -08:00
Mateusz Mandera
4a245a3f62
register_remote_server: Add more validation of contact_email.
2024-01-26 09:09:31 -08:00
nimishmedatwal
5e2d620d9f
help: Add installation through Flathub.
...
Fixes #28508
2024-01-26 09:07:38 -08:00
Lalit
6f6795f607
ts: Migrate `message_viewport` to typescript.
...
Used function overloading for methods - `make_dimen_wrapper`
and `scrollTop`.
2024-01-22 16:29:23 -08:00
Varun Singh
c0a0c0e834
scheduled_messages: Convert module to TypeScript.
2024-01-21 08:54:20 -08:00
Gyan Dev
59996ff353
postgresql-init-dev-db: Fix string quotes.
...
The previous version of the script did not quote VAGRANTUSERNAME, which caused
an error when running the script if the username contained `-` or other characters
that affect the Postgres syntax. Fix this using double-quotes.
2024-01-19 09:32:14 -08:00
swayam0322
684101353f
find_account: Add button to send another email.
...
The result page didn't have any resend button a button was
added to redirect to the form where the user can find their
account
Fixes part of #3128
2024-01-19 09:02:03 -08:00
Aman Agrawal
633f64a79e
narrow: Use message list id to track message lists in DOM.
...
This removes use of zfilt and zhome from codebase.
2024-01-18 08:31:48 -08:00
Tim Abbott
ef3f990324
tools: Add a tool for backporting PRs.
2024-01-15 17:27:37 -08:00
Tim Abbott
bafa476fd3
presence: Avoid having incomplete missing test coverage.
...
Rename and restructure these comparison variables such that we don't
have a possibly impossible case for presence.last_connected_time being
None.
Fixes #25498 .
2024-01-14 18:32:01 -08:00
Aditya Kumar Kasaudhan
49a9954413
settings: Rename settings_display to settings_preferences.
...
This commit renames "settings_display.js" file to
"settings_preferences.js".
Fixes part of #26874 .
2024-01-12 15:33:16 -08:00
Sahil Batra
dcac272afc
user_group_popover: Convert module to typescript.
2024-01-09 16:47:37 -08:00
Alex Vandiver
ee2baa30e0
fetch-contributor-data: Add zulip-flutter repo.
2024-01-05 12:15:39 -08:00
Alex Vandiver
ffda5fb428
fetch-contributor-data: Sort repo names.
2024-01-05 12:15:39 -08:00
Varun Singh
af3b15ef10
read_receipts: Convert module to TypeScript.
2024-01-05 11:52:59 -08:00
Varun Singh
4b04716237
settings_realm_domains: Convert module to TypeScript.
2024-01-05 10:50:08 -08:00
evykassirer
979ace1cea
message_util: Convert module to typescript.
2024-01-05 10:47:12 -08:00
evykassirer
4e66e8742f
rows: Convert module to typescript.
2024-01-04 12:45:42 -08:00
evykassirer
434b67caf5
message_feed_top_notices: Convert module to typescript.
2024-01-03 14:39:26 -08:00
sayyedarib
b430ba2bd5
navbar_help_menu: Migrate module to typescript.
...
Signed-off-by: sayyedarib <sayyedaribhussain4321@gmail.com>
2023-12-29 12:15:08 -08:00
evykassirer
1f21510dd4
compose_notifications: Convert module to typescript.
2023-12-28 16:53:46 -08:00
Varun Singh
62a636068e
subscriber_api: Convert module to TypeScript.
2023-12-28 15:05:16 -08:00
evykassirer
6157d83d3a
unread_ui: Convert module to typescript.
2023-12-28 11:26:37 -08:00
evykassirer
5f5e77afd5
local_message: Convert module to typescript.
2023-12-27 23:23:36 -08:00