Commit Graph

3144 Commits

Author SHA1 Message Date
evykassirer
017bca56e4 message_list_view: Refactor me message calculation for typescript.
We're going to need to be able to build the message list view
in pieces and put it all together in the end, instead of assigning
values directly to a half-formed object (which is hard to type).

This is part of the work towards that.
2024-08-26 08:14:57 -07:00
Anders Kaseorg
8c0b2d14aa mypy: Remove use of ValuesQuerySet and QuerySetAny.
This was made unnecessary in django-stubs 5.0.1 and mypy 1.10.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-08-24 17:30:41 -07:00
Tim Abbott
aaea645a49 docs: Clean up discussion of very old versions. 2024-08-20 11:53:24 -07:00
Mateusz Mandera
cde83e8818 saml: Add documentation about user role/custom profile fields sync.
With substantial rewriting by tabbott, including moving mostly
irrelevant references to very old Zulip versions.
2024-08-20 11:53:24 -07:00
Mateusz Mandera
833dce8a13 saml: Add support for syncing user role.
Replace the SOCIAL_AUTH_SYNC_CUSTOM_ATTRS_DICT with
SOCIAL_AUTH_SYNC_ATTRS_DICT, designed to support also regular user attrs
like role or full name (in the future).

Custom attributes can stay configured as they were and will get merged
into SOCIAL_AUTH_SYNC_ATTRS_DICT in computed_settings, or can be
specified in SOCIAL_AUTH_SYNC_ATTRS_DICT directly with "custom__"
prefix.

The role sync is plumbed through to user creation, so users can
immediately be created with their intended role as provided by the IdP
when they're creating their account, even when doing this flow without
an invitiation.
2024-08-20 11:53:24 -07:00
Kenneth Rodrigues
f27cee21e3 tutorial documentation: Add documentation for typed_endpoint. 2024-08-16 16:17:43 -07:00
Kenneth Rodrigues
748a56aae9 docs: Fix missing parenthesis in writing-views.md. 2024-08-16 16:17:43 -07:00
Alex Vandiver
dd5b03ea12 wal-g: Support setting the compression method. 2024-08-16 13:57:58 -07:00
Tim Abbott
60eb621477 help: Update documentation for new deletion feature. 2024-08-15 12:03:49 -07:00
Prakhar Pratyush
c0ac38fe8a docs: Update the stale links in "Set up Git" docs. 2024-08-15 09:46:31 -07:00
Tim Abbott
2144904cf5 docs: Explicitly discuss management commands in Zulip Cloud.
This already seems obvious to many users, but it seems appropriate to
spell out.
2024-08-14 14:04:46 -07:00
Lauryn Menard
96a3d78d86 docs: Update redirecting articles section to note zulip announcements.
When updating the codebase for URL redirects for help center article
renames, we note that the content for zulip update announcements
should keep the old URL/name for the article. It's preferable that
the source code accurately reflect what users received for these
announcments and the redirect will ensure that these links continue
to work.
2024-08-12 11:22:37 -07:00
Bedo Khaled
c5f9d27708 docs: Fix typo in sending-messages.md. 2024-08-12 09:32:25 -07:00
Tim Abbott
f4343f1b09 docs: Update changelog for Zulip Server 9.1 release. 2024-08-02 16:53:29 -07:00
evykassirer
6e47d851ec input_pill: Remove display_value in favor of module-specific values.
This commit is part of a bigger project to remove custom logic in
the input_pill module. This commit move us away from a world where
we have a `display_value` that's used as identifying information
for a pill as well as for what we display to the user. Now individual
widgets can configure how they come up with a display value based
on the data of that type of pill.

Note: The change in the stream pill test for setting subscribers
for denmark is fixing an issue that wasn't discoverable before.
There always should have been three subscribers.
2024-08-01 17:31:59 -07:00
Alex Vandiver
cf5accfa7f docs: Note required OS upgrade in upgrade notes. 2024-08-01 16:27:31 -07:00
Tim Abbott
5b22f03509 version: Add changelog entry for Zulip Server 8.5. 2024-07-31 21:53:50 -07:00
Mateusz Mandera
aaca394813 presence: Remove the queue worker. 2024-07-31 16:46:42 -07:00
Alya Abbott
01d6126681 docs: Tweak server roadmap documentation. 2024-07-31 13:49:57 -07:00
Alex Vandiver
604e328038 docs: Add OS upgrade instructions for 22.04 to 24.04. 2024-07-31 11:56:06 -07:00
Alex Vandiver
5df48dd4d0 docs: Remove an "e.g." when we have explicit steps. 2024-07-31 11:56:06 -07:00
Alex Vandiver
7594d2eecf docs: Document the dialogs shown by needrestart in 22.04. 2024-07-31 11:56:06 -07:00
Alex Vandiver
49a9405aad docs: Document when to restart the server. 2024-07-31 11:56:06 -07:00
Alex Vandiver
5e5478307a docs: Swap upgrade-postgresql steps with rebuilding the venv.
As of 1f68726cb8, the upgrade-postgresql tool uses Python to connect
to the database used by Django, and thus requires a working venv.
There is no reason we cannot reinstall the venv with the old version
of PostgreSQL; swap the steps.
2024-07-31 11:56:06 -07:00
Alex Vandiver
e77a425a2b docs: Document supported PostgreSQL versions in 9.x series. 2024-07-31 11:56:06 -07:00
Alex Vandiver
c88e1291f0 docs: Fix up some paths and references in architecture-overview.md. 2024-07-30 09:46:24 -07:00
Tim Abbott
c95f048aaa version: Update version after 9.0 release. 2024-07-25 14:35:16 -07:00
Tim Abbott
a8368ca3c3 Release Zulip Server 9.0. 2024-07-25 13:25:21 -07:00
Alya Abbott
6f4d4eebe8 docs: Tweak 9.0 release highlights to better match blog post wording. 2024-07-25 12:37:26 -07:00
Tim Abbott
169e953e73 docs: Update changelog with changes and upgrade notes. 2024-07-25 11:59:18 -07:00
Tim Abbott
54c2c02011 thumbnail: Add support for multiple queue workers.
There's no need for sharding, but this allows one to spend a bit of
extra memory to reduce image-processing latency when bursts of images
are uploaded at once.
2024-07-21 19:15:43 -07:00
Tim Abbott
be19d33d85 Release Zulip Server 9.0-beta1. 2024-07-18 13:08:42 -07:00
Alya Abbott
c5d95d4552 docs: Improve mobile push notifications documentation. 2024-07-18 10:15:57 -07:00
Mateusz Mandera
e833cd10be docs: Fix bug in upgrades notes for the push notifs settings transition.
The behavior added in #30748 is opposite to what was stated in this
sentence.
2024-07-18 10:15:57 -07:00
Mateusz Mandera
5977d39a8c docs: Fix some entries about user inivitations in changelog.
This item was not accurate.
2024-07-18 10:01:41 -07:00
Anders Kaseorg
e0208784ea docs: Update Black and isort references to Ruff.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-07-17 18:33:21 -07:00
Mateusz Mandera
4a93149435 settings: Rework how push notifications service is configured.
Instead of the PUSH_NOTIFICATIONS_BOUNCER_URL and
SUBMIT_USAGE_STATISTICS settings, we want servers to configure
individual ZULIP_SERVICE_* settings, while maintaining backward
compatibility with the old settings. Thus, if all the new
ZULIP_SERVICE_* are at their default False value, but the legacy
settings are activated, they need to be translated in computed_settings
to the modern way.
2024-07-17 17:14:06 -07:00
Shubham Padia
a696294355 user_card_popover: Change icon for Send direct message.
Fixes #30918.
This commit also adds a paper plane icon under `send-dm.svg`. `dm` is
used instead of `direct-message` to opt for brevity when using the
icons.
2024-07-17 12:08:07 -07:00
Tim Abbott
908cf620e8 docs: Update changelog with most 9.0-beta1 changes. 2024-07-15 15:21:48 -07:00
Alex Vandiver
bf9539386a katex: Default the server on.
The memory costs are low (~60MB), and likely worth the stability.
2024-07-15 13:16:31 -07:00
Tim Abbott
e64b67525f docs: Update changelog with recently merged changes.
I also did a sweep for references to "streams" in the 9.0 release
notes.
2024-07-10 17:49:35 -07:00
Greg Price
5e75776f27 docs: Mobile UI design is discussed in #mobile, not #mobile-team. 2024-07-09 18:35:23 -07:00
Lauryn Menard
04e2728cb0 documentation: Revise uses of "e.g.," followed by a colon. 2024-07-09 13:41:44 -07:00
Lauryn Menard
32b2eb5f47 documentation: Modify cases of "[a-zA-Z] e\.g\.," for readability. 2024-07-09 13:41:44 -07:00
Lauryn Menard
7e7e6b7ba9 integration-docs: Clarify use of event-filtering-additional-feature.
Using an if block when {!event-filtering-additional-feature.md!}
is used implied that we plan to have this in all webhook doc .md
files.

But, it actually makes sense to only use this macro when the
webhook integration actually supports event filtering.
2024-07-08 13:51:50 -07:00
Lauryn Menard
62d452f983 docs: Add comma to all uses of "e.g." in contributor docs. 2024-07-05 15:36:24 -07:00
Tim Abbott
a3feecac62 docs: Add mock_template documentation to docs.
Previously, this content was only available in an error message, and
provided less context.
2024-06-27 11:58:59 -07:00
Prakhar Pratyush
c10ef38b32 docs: Add subsystem doc for 'Onboarding Steps'.
Fixes part of #30043.
2024-06-18 09:39:50 -07:00
Prakhar Pratyush
0d59ff8c96 docs: Remove 'Hotspots' subsystem doc.
We no longer have 'Hotspots' to introduce users
to important UI elements.

We now use one time banners for it.
2024-06-18 09:39:50 -07:00
Sayam Samal
dc7c514960 docs: Update #narrow links from stream->channel in hashchange-system.md. 2024-06-11 10:44:31 -07:00