Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/zulip/zulip

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
https://github.com/zulip/zulip

digest: Switch loop to early-abort for clarity.

b9f72bdd68a4a62e6e0820429e1244b71f8a2855 authored over 1 year ago
digest: Filter out users who have joined recently in SQL.

524d4913b3d75b6c0a334cc1ad44509330c71632 authored over 1 year ago
digest: Remove unnecessary should_process_digest function.

584c202d36506bca812370ead4bda5d8db6be406 authored over 1 year ago
digest: Enqueue emails as we generate the contexts.

There is now no longer any reason to have the scheduled_email
enqueuing wait until all of the us...

39358f77dd4e850f9f650c0361d27350c014dc0e authored over 1 year ago
digest: Narrow the query by only fetching the sender full name.

d8668ab24212e3434464cc824f270dd90fa855e2 authored over 1 year ago
digest: Rewrite target-user algorithm as one query.

There is no reason to do this set manipulation in Python.

058a168bfe6eb88600846a3fb249b486fecd8633 authored over 1 year ago
notifications: Remove realm-default-sound-audio initialization.

This commit removes the code to initialize
"realm-default-notification-sound-audio" element from...

5a88e4f6cb276491507e2b97411211942f407533 authored over 1 year ago
default-user-settings: Fix play button not playing selected sound.

Fixes #26598.

f384eb67a91d3ce8b4b84eaaa94a6d877523e611 authored over 1 year ago
help: Update user management pages.

- Documents how to access the "Manage user" tab via a user's profile.

6505583b7e19f6e38bf65549003ad73ee3f54e3d authored over 1 year ago
puppeteer: Allow reruns in interactive mode when tests succeed.

We already allowed reruns for failing tests, and this adds
the ability to rerun tests that succe...

a0df603aa78acee9be84594373d864f916327c92 authored over 1 year ago
widgets: Add test for tokenizing widget type on newline.

Follow up to #26643, adds test case for the bug fix.

89739ba3c3d76aad9da62d395a2575c4be31f88a authored over 1 year ago
python: Elide unnecessary list wrappers.

Signed-off-by: Anders Kaseorg <[email protected]>

2665a3ce2b449ab3736f64f3b44f47f0ce2e867c authored over 1 year ago
emoji: Add unified_reactions.json to the sha1sum.

eff0a73925f8bd741f4f5384214267969ad85516 authored over 1 year ago
emoji_picker: Improve rendering time of emoji picker by ~30%.

Fixes #25744

By rendering the emojis after initializing the simplebar container,
the rendering ...

0723c562466dfea41e234e758c9b0510d3eb24d1 authored over 1 year ago
giphy: Fix giphy popover rendering on narrow screens.

We should render the giphy popover as a centered overlay for
mobile-sized screens.

2f1561e3b80a696fbd7a5120cfe9129be382f9f0 authored over 1 year ago
giphy: Refactor the giphy popover to use toggle_popover_menu.

This change is needed so we can use the `use_as_overlay` option on
mobile screens.

b7c2570933d9f25b7368ec83438efe2fc0c1e1c2 authored over 1 year ago
user_card_popover: Extract user card popover data into a new function.

The purpose of this change is to simplify the
`render_user_card_popover` function, so it has the...

e5da3d99003de90e10ba57f315138f66a64304f3 authored over 1 year ago
user_card_popover: Rename `show_*` functions to `toggle_*`.

This naming more accurately reflects the functionality of these types
of functions. They are not...

5b0e74c940a8e9a0baecf57c3a2288e797ecf313 authored over 1 year ago
popovers: Extract user info popovers into their own module.

The intent behind this commit is to tidy up how we handle user info
popovers. The first step is ...

c5f6c00a813f7bcaaa518dfceb25806aec83bebd authored over 1 year ago
popovers: Use a special function to check if the popover is open.

7bcb868f9a69f5d7fdac4b8f38451ecfc2b534ec authored over 1 year ago
popovers: Stop exporting `toggle_playground_link_popover` function.

This function is only used in the `popovers.js` module, so there's no
need to export it.

64f77b1dee94375e7fe99d600d97e436456cca14 authored over 1 year ago
popovers: Remove unused functions from `popovers.js` module.

523b5a08774bb0ad9d2761ad4c372b648a5ae5ab authored over 1 year ago
user_profile: Move event registration to the correct place.

The event callback that was moved is part of `user_info_popover` and
should be registered along ...

257c327f39af45cb08fc31d9ef7ed28e798d37e5 authored over 1 year ago
notifications: Extract notification title retrieval.

This commit aims to extract all logic related to obtaining
notification title from the `process_...

0a11a4b9830ddec61376f9644ca088e9cca51ce6 authored over 1 year ago
notifications: Extract sender name removal from recipients list.

8b8f95b6f5ca71cb9e3cef08cd7fca4524d4e6a7 authored over 1 year ago
notifications: Extract `notification_source` debugging logic.

This commit aims to extract all logic related to debugging the value
of `notification_source` fr...

fdac13ba24db0dd591bdf07f9d8a87492739bae9 authored over 1 year ago
notifications: Simplify if statement.

Since `pm_content_in_desktop_notifications` is a boolean, there's no
need to check if it's undef...

8d0a70b6b9a2606d378deade034511fe9392cb89 authored over 1 year ago
notifications: Extract notification key retrieval.

This commit aims to extract all logic related to obtaining
notification key from the `process_no...

53ef273665f47e9bb8a625eee460c9542baa6bf7 authored over 1 year ago
notifications: Extract notification content retrieval.

This commit aims to extract all logic related to obtaining
notification content from the `proces...

a11dedd39350c493dc91ac0642b14fbea104f446 authored over 1 year ago
notifications: Refactor `process_notification` function.

Turned multiple if statements into a switch/case and rearranged
variable declarations.

fe5d680f27ab5b7b3f07b46c7462425c81c354c0 authored over 1 year ago
popovers: Use `media_breakpoint_num` instead of a constant value.

71de1c2a663da78e99bdebd4b8ad33b876a07821 authored over 1 year ago
stream_popover: Migrate from Bootstrap to Tippy.

08aec5ac415e353057a48f28acbd629c1dc44873 authored over 1 year ago
stream_popover: Inline register_stream_handlers.

Also register these click handlers just on the popover itself directly
in the onMount helper, li...

ba22433dd9a71ee1b5026bdaafeaab6b76847dab authored over 1 year ago
stream_popover: Rename stream_popped to is_open.

stream_popover.is_open() much more accurately describes what this
does, and in particular the fa...

f2f0462e092c76167fc2996f4d2865c277251fd4 authored over 1 year ago
stream_popover: Update the comment that describes the module.

e0f72de75c8d38daa86e2f55a3103dac254002d3 authored over 1 year ago
stream_popover: Use currentTarget as reference to the stream popover.

Using currentTarget as a reference element guarantees us that the
relative placement will be the...

35d97160bcfc2adc1b5165cd965cb48422183dc5 authored over 1 year ago
thirdparty: Add period after Twitter, Inc.

This makes all shortened forms of "incorporated" uniform across
the file, and matches how "Twitt...

d870f2af2452191ffc967fec3583587a93fe2344 authored over 1 year ago
thirdparty: Alphabetize entries by path.

35730f02910fdf3fe03dfb42e7ecb4705dc7f5fc authored over 1 year ago
thirdparty: Use hyphen in date ranges.

While an en dash--as replaced here with a hyphen--is sounder
typographically, the other ranges i...

b5bd43976944cd5da8ba77897595a7efddaca374 authored over 1 year ago
thirdparty: Update current year on Kandra copyright.

0c9701b921cb021b4e763175cc584ee4b697dcab authored over 1 year ago
thirdparty: Add Feather Icon credits.

All of these files were introduced in #26283.

f4fdc5c97ccc99555696aed3bea3e3b9c0936772 authored over 1 year ago
thirdparty: Add missing comma after Kandra Labs.

8c0c2c7da6816ccaa75dd3b01a018895b271463e authored over 1 year ago
thirdparty: Uniformly present copyright years without commas.

While the spec permits forms both with and without a comma,
https://www.debian.org/doc/packaging...

0d3f475a9147dd0ba8a756016f41834e314d7105 authored over 1 year ago
typed_endpoint: Add missing tuple comma for OptionalTopic aliases.

Signed-off-by: Anders Kaseorg <[email protected]>

8efa4182058a87ac2f98ac9fd12bf56e9eab2233 authored over 1 year ago
docs: Use MyST syntax for Sphinx metadata.

https://myst-parser.readthedocs.io/en/latest/faq/index.html#sphinx-specific-page-front-matter

S...

9abb850cd9054a4f408733fabe99cdec41616095 authored over 1 year ago
nginx: Suppress proxy warnings when the proxy itself sent the request.

This is common in cases where the reverse proxy itself is making
health-check requests to the Zu...

135acfea93687aa82f430736009e6ebcf78f755e authored over 1 year ago
inbox: Add support for vim keys.

a8e1c22687e378749a55433585c1e5fbded37ff7 authored over 1 year ago
inbox: Show focus underline for non-dm rows.

6c179bcc48ff516727d7b3834913fde7d2ac2fe9 authored over 1 year ago
inbox: Sort pinned streams at the top.

f12fe219d928f5807d10be4363890e85294b54ee authored over 1 year ago
inbox: Add new narrow.

6ef0753a5134ed9cec682142cd4c2b58e6db0184 authored over 1 year ago
inbox: Save collapsed state of streams in localstorage.

4559a9fbf3ed81dbb5cc409dfc8001c672ad32f8 authored over 1 year ago
css: Assign a variable to focus underline color of recent view.

58c5701e5e5fd13983af71d0b1ed4d65b69020c2 authored over 1 year ago
browser_history: Delay user_settings.default_view evaluation.

Commit 61f7ede43ccac3c998ba50c0b28d4a211409bdb4 (#25759) introduced a
bug: browser_history tried...

4650b789ce3a2a8c29d464e62a13f6692ee4ab12 authored over 1 year ago
web: Avoid several unchecked TypeScript casts.

Signed-off-by: Anders Kaseorg <[email protected]>

3d7b9e622d65d617a85aa6b69234b4017575a9da authored over 1 year ago
ruff: Enable B023 Function definition does not bind loop variable.

Python’s loop scoping is misdesigned, resulting in a very common
gotcha for functions that close...

6988622fe88038d428daea3c3f56f6f9ef52c9fe authored over 1 year ago
python: Replace functools.partial with type-safe returns.curry.partial.

The type annotation for functools.partial uses unchecked Any for all
the function parameters (bo...

cf4791264c30cf12d0b9a87310be00a479f77144 authored over 1 year ago
postgres_exporter: Rebase the per-index stats branch.

The branch from the PR is somewhat stale, and is missing important bugfixes.

ccbd834a86cb3df5747d25b55a38739b78e6a2c0 authored over 1 year ago
topic_list: Update the order of "Followed" topics in the muted stream.

For sorting topics in the left sidebar topics list, the "Followed"
topics are treated the same a...

20886b80d958c38116caacd832c26e6b54ac1059 authored over 1 year ago
topic_list: Add an icon and update the color for "Followed" topics.

This commit adds the follow icon to the right end
(before the three-dot menu icon) of the topic ...

5d069b7d7aa0d8ce61b79ff730fd4e7021096853 authored over 1 year ago
topic_list: Add a CSS variable for the unmuted topic's color.

This commit adds the CSS variable '--color-unmuted-topic-list-item'
for the unmuted topic's colo...

07fd2aa344d178375831d70d77cba17051904adf authored over 1 year ago
messages: Switch limits from sender__realm to realm.

We now have a `realm_id` on Message; use it, rather than having to
check the sender's realm. Th...

710524465aa65d1c9e9fe557e70d15be7a5e34b2 authored over 1 year ago
analytics: Only join through messages once.

Using `COUNT(*) FILTER (WHERE ...)` allows getting counts of different
subsets with only one gia...

4d72f812579387657c1243fbe61795e0eddf3664 authored over 1 year ago
users: Refactor and optimize max_message_id_for_user by removing a join.

This algorithm existed in multiple places, with different queries.
Since we only access properti...

631868a05b044bcc2af35d7dffb7d0c0f33265bf authored over 1 year ago
coverage: Skip zerver.lib.migrate coverage.

It is only covered when we run migration tests, which we are not
guaranteed to always be able to...

067de6f948fba66a61a56ff1d151c98e281dc006 authored over 1 year ago
django: Use .exists() instead of .count() when possible.

d6745209f2cab81efd818c75967111f6d9f25d7a authored over 1 year ago
migrations: Remove indexes on Message without realm_id.

These indexes should no longer be necessary after the changes in the
previous commit.

5874c6542fb28e528b947a0042e06044b0d151ec authored over 1 year ago
migrations: Add indexes with realm_id.

This is designed to help PostgreSQL have better specificity and
locality in its indexes. Subseq...

3518d317972ed437a44dcf7d548223e136892a4b authored over 1 year ago
messages: Limit to "id" column for max-message-id computation.

This lets PostgreSQL use an "Index Only Scan" which is slightly faster
than an "Index scan".

5a0f4a1a22a170fcbf387a68b8a1e519e57ae32a authored over 1 year ago
models: Always search Messages with a realm_id or id limit.

Unless there is a limit on `id`, always provide a `realm_id` limit as
well. We also notate whic...

b94402152ddc419412638bcaeb403bb4f19db667 authored over 1 year ago
message_send: Inline single use of filter_by_exact_message_topic.

Matching the topic exactly, as opposed to case-insensitively, is not a
common operation, and one...

9d3d57e7869ceb96f3252d1e53c1bfc42e3452da authored over 1 year ago
narrow: Set a realm_id limit on messages in user searches.

f9dd2549ebde772d071a950967900554062f5728 authored over 1 year ago
postgres_exporter: Build from source for per-index stats.

This builds prometheus-community/postgres_exporter#843 to track
per-index statistics.

0c88cfca63f69f42497ce18c836c0d15a1c1bf1b authored over 1 year ago
user_topics: Pop `user_topics` from `page_params`.

This avoids accessing the global page_params directly.

d82b3625f1c894019f3704514df514bca7f7d0fc authored over 1 year ago
fold_dict: Use `IterableIterator` instead of `Iterator`.

The type `Iterator` does not allow us to loop over the iterator in a `for`
loop. but `IterableIt...

dc142ab1d13eb40e9f0b33c680f3ae2836730225 authored over 1 year ago
ts: Migrate `user_topics.js` to typescript.

5f74b9051eff4973067e8da074cca9b94576312e authored over 1 year ago
emoji_picker: Move module event registration to initialization.

a2b4db07f6ab23b6a289405fce95a44c177316e2 authored over 1 year ago
user_profile: Add tippy tooltips to edit pencil button.

This commit adds Tippy tooltips to the edit pencil button
in the user profile. Now, when a user ...

db47f675f087b2dc644b6cea5d589ce70006ec5f authored over 1 year ago
settings_bots: Migrate manage bot to user profile modal.

This commit migrates the "Manage Bot" modal to the user profile modal,
with the same explanation...

61948d273b56153b3778b2320f1ad4b0a6b8ad48 authored over 1 year ago
settings_users: Make element variable name more descriptive.

5d8e6b5f92ea3e5ce091530ea05682a971e123ba authored over 1 year ago
user_profile: Replace the id with class for pencil button.

This commit replaces the id attribute with class attribute for the
edit pencil button in user pr...

1c049ab5f4b1bc15412a87b6f1212087a276abd7 authored over 1 year ago
user_profile: Fix inconsistent height of user profile switching tabs.

This commit fixes the inconsistent height of the user profile when
switching tabs. We now have f...

c2f878638b5b94d9a1798190172191ce58274909 authored over 1 year ago
user_profile: Align the title header of the modal and fix edit button.

This commit unsets the padding of the bot icon and, as the anchor
tag has been replaced with the...

135518435a4d0e12ddf7c74fbcc02329365fe335 authored over 1 year ago
settings_users: Combine "handle_human_form" and "handle_bot_form".

To remove duplicated code this commit will combine two functions.

66bf87062e0cc7b08e11b5dd769bf2723a721d23 authored over 1 year ago
user_profile: Move bot icon to the left of the name.

This commit moves the bot icon to the left of the name in the user
profile and adds a margin-lef...

f9dd2db3e4c7988585e9ec81ff9fb4a935273c1c authored over 1 year ago
user_profile: Redirect edit pencil to manage user tab.

This commit redirects the edit pencil in the user profile modal to
the 'manage user' tab wheneve...

c6bb7b91694295e939769c25bb057e4d40707b32 authored over 1 year ago
user_profile: Fix the gap between labels and input.

This commit increases the gap between the labels and input/select
of the user profile manage use...

e1322faae0777697ed23a05de4919828ae4dd835 authored over 1 year ago
settings_users: Migrate manage user modal to full profile modal.

This commit migrates the "manage user" modal to the "Full Profile"
modal. Refactored the show_ed...

61cca84b17916b5eda0851590f26446caaa009ae authored over 1 year ago
settings: Navigate to profile to edit self in users panel.

We don't have a "Manage user" tab in your own profile, so it would
throw an exception to do the ...

b0007bf5cae5654add5dcf197f07525a68eb2a2c authored over 1 year ago
user_profile: Centralize footer logic.

0174902b73362972a33153bfc37923d000737bff authored over 1 year ago
user_profile: Disable deactivate user button if the admin is only user.

This commit disables the "Deactivate User" button inside the
"manage user" tab in the user profi...

6323bb1e39ed494d39198ff3d0ac4a1a4d89cb3c authored over 1 year ago
profile_modal: Migrate manage user footer buttons to user profile.

This commit migrates the "Manage User" footer buttons to the user
profile modal. We made this ch...

218bde443a3e20ea29ab695ccbf961ba14ffbaf3 authored over 1 year ago
user_group_popover: Refactor and rename helper functions.

Rearranged some code to align with our current patterns and improve
readability. Renamed `show_u...

a3906009aef2b7942b88aea33e0c88bb38e64c3d authored over 1 year ago
user_group_popover: Remove unused template parameter.

a844be8825b5b870fb12cc1b74a0ff061995dd39 authored over 1 year ago
popovers: Extract `user_group_popover` into separate module.

This is a preparatory commit before we migrate `user_group_popover`
from Bootstrap to Tippy libr...

7777c55b223fe224c13616ff2c7888f51bfb24db authored over 1 year ago
user_profile: #user-profile-modal is a singleton.

The closest($stream_row) logic is unnecessary, and worth cleaning up
because we'll be adding oth...

d494f5bdaab7a0e51867e819167eebefda2172fc authored over 1 year ago
dropdown_widget: Show empty list text without initiating search.

Fixes #26649

If there are no items for dropdown widget to display, show empty
search result text.

6321ab54ce3b5e9d82c8837159e99b7dd8cddcb0 authored over 1 year ago
user_profile: Add tippy tooltip to subscribe button.

This commit adds a tippy tooltip to the subscribe button in
the user profile. We show this toolt...

daf3d9ee748256192ca3b2accc77e6a8fa0dc9ca authored over 1 year ago
user_profile: Adjust the stream tab headings to look good.

With the previous commits, we have now implemented the subscribe
widget with a separate heading....

1765ce23b0591e41c8a65fd92233da38b8972622 authored over 1 year ago
user_profile: Add a reset subscribe widget function.

This commit adds a reset function for the subscribe widget so that
whenever someone subscribes t...

656494d73b089bd50872bcb34d07e8f9769c1a0d authored over 1 year ago
user_profile: Add the subscribe widget to user profile.

This commit adds a subscription widget to the user profile,
including the logic to prevent non-a...

4e786293aefad3ac10028d4ad71deb9acbd31c8e authored over 1 year ago