Anders Kaseorg
a9b9ed6c5b
run-dev: Support extra MIME types from zerver.lib.mime_types.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-12-17 09:34:29 -08:00
Anders Kaseorg
a6f5d24dc6
run-dev: Move out-of-place import statement.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-12-17 09:34:29 -08:00
Anders Kaseorg
21a085e390
generate_emoji_names_table: Update SORTED_CATEGORIES.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-12-16 13:12:01 -08:00
Vector73
143ca5065e
api: Remove user object from reactions objects in the API.
...
Removes deprecated `user` object from reactions objects returned by
the API as it is redundant because of the presence of `user_id` field in
the API and is not used by any clients now.
2024-12-13 09:58:25 -08:00
Anders Kaseorg
26aa19db43
click_handlers: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-12-11 12:12:07 -08:00
Anders Kaseorg
d446b0d672
user_events: Convert module to TypeScript ( #32658 )
2024-12-11 09:18:52 -08:00
Anders Kaseorg
666ce4519d
hashchange: Convert module to TypeScript. ( #32670 )
2024-12-11 09:15:18 -08:00
Anders Kaseorg
cf1eed9c22
tools: Use top-level await.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-12-10 19:16:25 -08:00
Varun Singh
010e2b9867
user_group_edit: Convert module to TypeScript.
2024-12-10 12:07:46 -08:00
evykassirer
7bd4016254
message_events: Convert module to typescript.
2024-12-10 10:52:01 -08:00
Niloth P
e731fb9eba
integrations: Fix Jotform integration by accepting form-data payloads.
...
This does not add support for files.
Fixes part of #32460 .
Co-authored by: PieterCK <pieterceka123@gmail.com>
2024-12-02 18:08:58 -08:00
Niloth P
a0a1f55965
screenshot webhooks: Add support for multipart/form-data fixtures.
...
Add a common function for webhooks to convert multipart strings to dict.
This facilitates loading a multipart/form-data fixture as a file string,
and converting it.
This will allow testing integrations that use multipart/form-data,
and generating their example screenshots using a script.
Note that this only supports text fields, accommodation for binary files
is not included at the moment.
2024-12-02 18:08:58 -08:00
Anders Kaseorg
d78902fac3
e2e-tests: Move test credentials to a JSON file.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-12-01 22:14:35 -08:00
Anders Kaseorg
5fbb60a849
lint: Correct path to ESLint configuration.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-12-01 22:14:35 -08:00
Anders Kaseorg
fcba1f03c4
drafts_overlay_ui: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-30 18:41:42 -08:00
Anders Kaseorg
ee11d73c1f
user_card_popover: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 22:05:38 -08:00
Anders Kaseorg
d8d8e620e7
topic_popover: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 22:02:43 -08:00
Anders Kaseorg
9f4b4a0c8a
message_actions_popover: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 17:36:59 -08:00
Anders Kaseorg
49f2d08006
message_scroll: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 17:12:22 -08:00
Anders Kaseorg
93185dd7a6
stream_popover: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 16:55:00 -08:00
Anders Kaseorg
0048dfabd0
admin: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 16:46:35 -08:00
Anders Kaseorg
46f74cc39e
navigate: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 15:55:50 -08:00
Anders Kaseorg
550287b33c
navbar_menus: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 13:59:19 -08:00
Anders Kaseorg
19f5ea8832
css_variables: Convert module to TypeScript.
...
This is okay now due to #32327 .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 12:24:58 -08:00
Anders Kaseorg
cac3bca409
dependencies: Upgrade JavaScript dependencies.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 09:54:56 -08:00
Anders Kaseorg
bb174e9b64
gear_menu: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-27 09:34:49 -08:00
sujal shah
771d3b1434
invites: Enable adding users to user groups during invitations.
...
This commit allows users to be assigned to custom groups when
inviting them to join Zulip, similar to how channels are handled.
The implementation follows a similar pattern for adding pills,
ensuring consistency, as user groups and channels are parallel
in nature.
Fixes #24365 .
2024-11-26 11:26:34 -08:00
Anders Kaseorg
c1cd21d8d1
desktop_integration: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-26 09:17:03 -08:00
evykassirer
4ff7bc16bc
settings: Convert module to typescript.
2024-11-24 21:45:41 -08:00
evykassirer
4ee8175a25
settings_toggle: Convert module to typescript.
2024-11-24 18:45:25 -08:00
Prakhar Pratyush
c5b3d2e434
custom_check: Add rule to avoid creating savepoints.
...
This commit adds a custom rule to check python files
and raise lint error if they have transaction.atomic used
without any argument or savepoint=True is used.
It helps to avoid creating unintended savepoints in the future.
2024-11-21 14:55:15 -08:00
Sahil Batra
90ae342af2
stream-settings: Add info to can_remove_subscribers_group label.
...
Mention that admins can unsubscribe others from any channel
in the setting label.
2024-11-21 11:28:54 -08:00
Niloth P
02049fbbf3
tools/screenshots: Create integration bots using display_name.
...
Will be adding the updated screenshots of affected integrations as soon
as the PR with the new logos and example screenshots gets merged.
2024-11-21 11:10:12 -08:00
Niloth P
29ef4a05fe
tools/screenshots: Fix custom headers crash when using custom options.
2024-11-21 11:10:12 -08:00
Niloth P
d8d0b9c754
optimize-svg: Add an optional argument to optimize single files.
...
Do not call `generate_integration_bots_avatars.py` for single files.
2024-11-21 10:49:05 -08:00
Niloth P
ef3fbcf954
optimize-svg: The --check flag does not modify files anymore.
...
The `svgo` command needs to write to a file to process it.
So, create and use a mktemp path, and delete it after the svgo command.
2024-11-21 10:49:05 -08:00
Niloth P
5b3d2a9e59
optimize-svg: Use a constant FILE_PATH, remove path from echo output.
2024-11-21 10:49:05 -08:00
Niloth P
7ada56c8e2
optimize-svg: Invoke svgo only via PNPM.
2024-11-21 10:49:05 -08:00
evykassirer
60763763b2
stream_settings_ui: Convert module to typescript.
2024-11-19 14:01:10 -08:00
Anders Kaseorg
532aee926c
requirements: Upgrade Python requirements.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-19 11:09:34 -08:00
Anders Kaseorg
a3eae0b6f0
python-warnings: Remove python-binary-memcached exemption.
...
The fix was merged upstream in 0.31.3.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-19 11:09:34 -08:00
evykassirer
b066f58c54
stream_muting: Convert module to typescript.
2024-11-18 11:13:36 -08:00
evykassirer
a60beda676
settings_panel_menu: Convert module to typescript.
2024-11-18 11:13:10 -08:00
evykassirer
6093aa4b23
settings_sections: Convert module to typescript.
2024-11-18 10:35:21 -08:00
Anders Kaseorg
e172c717f7
webpack: Enable explicitPartialContext for handlebars-loader.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-15 20:41:59 -08:00
Anders Kaseorg
2de648df02
makemessages: Write with orjson.
...
Code scanning / CodeQL (push) Has been cancelled
Zulip production suite / Ubuntu 22.04 production build (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:bookworm, true, false, Debian 12 (Python 3.11, backend + documentation), bookworm) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:jammy, false, true, Ubuntu 22.04 (Python 3.10, backend + frontend), jammy) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:noble, false, false, Ubuntu 24.04 (Python 3.12, backend), noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm, --test-custom-db, Debian 12 production install with custom db name and user, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy, , Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble, , Ubuntu 24.04 production install, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-7.0, 7.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-8.0, 8.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy-6.0, 6.0 Version Upgrade, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-9.0, 9.0 Version Upgrade, noble) (push) Has been cancelled
orjson’s use of Unicode is more consistent with what we get from
Transifex. (We could alternatively use json’s ensure_ascii=False
flag.)
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-13 17:40:51 -08:00
Anders Kaseorg
e82b7641c6
giphy: Convert module to TypeScript.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-13 11:56:57 -08:00
Anders Kaseorg
01540b45b0
web: Set "type": "module" and convert various CJS files to ESM.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-13 09:18:56 -08:00
Anders Kaseorg
2c68ee08d2
eslint: Rename configuration to *.cjs.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-13 09:18:56 -08:00
Anders Kaseorg
687f1b1651
tests: Rename the Node tests to *.cjs.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-13 09:18:56 -08:00