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

custom_profile_fields: Sort array numerically.

Javascript's `sort()` function sorts the array lexicographically.

e9931406608586287478abe598ceb7cd1d536c3d authored over 1 year ago
dropdown_list_widget: Pass the event object to the `update` function.

e38d4cb7dd210eb1cafabee0f8162ac215201177 authored over 1 year ago
default_streams: Convert inline form to modal.

Fixes #20838.

fff9b334fffdde72a5e2dd43175ebfd675b7a69c authored over 1 year ago
poll_data: Move `handler` class property inside the constructor.

Declares the `handler` property inside the class constructor and not
after the constructor to av...

3fb27c9b1c67cc5cadf0ab3f607cba8ad9aa118f authored over 1 year ago
ts: Convert `poll_data` to typescript.

Used zod schemas to validate inbound data types and removed some over
defensive code.

ae6063807b64484a1162def4750037e341c75820 authored over 1 year ago
portico: Polish UI for portico pages copy-codeblock button.

* Add a Copy code tooltip.
* Add cursor pointer.
* Add a hover effect.
* Move variables to sn...

b80a205dbe8fd6a226c5b461dd898d70cf3dc771 authored over 1 year ago
changelog: Retitle sections, to allow section anchors.

9bd340957ff82e8703a596c1fcb6e0368aec8891 authored over 1 year ago
release: Release 8.0-prereleases from `main`.

23fd05494d1dfcbfb55b3aabbef7745845aff6b7 authored over 1 year ago
release: Link to the changelog in the Github Release.

Release notes in GitHub have significant-newlines, which makes our
canonical `changelog.md` cont...

c1008b5b12cbf1b44b23883bfec19ba0afd5bc30 authored over 1 year ago
upload_banner: Add a cancel button.

This commit adds a cancel button to the upload banner, replacing
the previous close icon. Now, t...

624fea2e8e7c7165958e788ac7cc8e91b6c2f17d authored over 1 year ago
upload: Rename the switch case of close button to hide button.

With the previous commit, we now have two buttons. One button cancels
the upload, while the othe...

4ce720f0daedb3e67557632cacbc36ed2eec9987 authored over 1 year ago
streams: Warn when archiving a notification stream.

Archiving a user/stream notification stream disables
user/stream notifications.This commit adds ...

a45853d313ea00661ed770b1051e7da183fd98d5 authored over 1 year ago
test_classes: Do not necessary wrap test cases in a transaction.

By relocating helper methods into a mixin class, we can be more flexible
with managing transacti...

eebe46ad1c47c31e12c06617922bbd6740af9020 authored over 1 year ago
popovers: Fix giphy being mocked but not used.

While running test for `popovers.js` we get warning that `giphy` is
mocked but never used.
This ...

3b270ed159a9ecee78e41e673f6aa4cb8183e306 authored over 1 year ago
uploads: Improve file not found message.

It replaces the "File not found." text with:
"This file does not exist or has been deleted."

At...

1808cdec90064b08d9b3b65076340d5365b547e6 authored over 1 year ago
stream_ui_updates: Check if sub/unsub button is rendered.

It might be possible that an event can come while we are in the
middle of rendering the stream s...

fa9fa9f7f2fad468a8a97dd213edbb5bc5a0f7c6 authored over 1 year ago
tools: Copy "assets" subdirectory of bots to "static/generated/bots/".

Previously, the "assets" subdirectory of various bots was not
being copied to the "static/genera...

605e9065a2f307609a6506f0480ca743f11b6a89 authored over 1 year ago
docs: Reference PostgreSQL version in "Restoring backups" section.

This extends 8ede54fb1b7c, in the specific backups section, rather
than just in the overview.

e18d0e33317f6b1290b227779863830f525305a4 authored over 1 year ago
giphy: Migrate Giphy popover to Tippy.

9c675ce62da37debae233722300b1f384a666a26 authored over 1 year ago
compose: Remove unused `hide` styles for `compose_control_button`.

We use the styles from `app_components.css`.

37b9e9679048bc491ea7d0d4a6eb716214e8af45 authored over 1 year ago
compose: Remove unused styles for `compose_gif_icon`.

4976655dda53128a639d4f365373efb71382771f authored over 1 year ago
docs: Update SCIM doc to not mention add_scim_client.

add_scim_client was removed in 55342efd33cc482daecdf9d0f560b4f32122540f.

8c530f30e32828546d89e3241b3d2bdc86099606 authored over 1 year ago
dialog_widget: Prevent default action when submitting the form.

We should prevent the default html behavior when submitting the forms
in the dialog_widgets to a...

d14caa8400cb0d35d7295961a376b9d8c19b2401 authored over 1 year ago
dialog_widget: Remove redundant `preventDefault` calls.

Removes redundant `preventDefault` and `stopPropagation` calls for the
users of `dialog_widget.t...

d44f7da1e1e8d16f1cfd93232987f0df44ef7b43 authored over 1 year ago
version: Update version and changelog after 7.2 release.

76b767b154ff257de35d4ec1ebe0676c033add70 authored over 1 year ago
unread_banner: Update all unread banners to an info/notice banner.

Previously, some unread banners were warning banners, but it made more sense
for all the unread ...

086d6be8e255c868db8cb5d58a4506d7970da5d7 authored over 1 year ago
mention: Replace 'wildcards' with 'stream_wildcards'.

This prep commit replaces the 'wildcard' keyword in the codebase
with 'stream_wildcard' at some ...

179d5cb37d2198a2a50e9903ffd74e436ca1820c authored over 1 year ago
notifications: Fix 'get_gcm_alert' and 'get_apns_alert_subtitle'.

The 'get_gcm_alert' and 'get_apns_alert_subtitle' functions
don't include the case when the trig...

0bf6eb67860015a68425e539d9b6d03002bba1fb authored over 1 year ago
notifications: Fix the if/elif order in the manage_preferences block.

The emails sent for missed messages have a text at the bottom
explaining the reason why the emai...

5f6dd83696ea198203b17c4928fdc356db47af23 authored over 1 year ago
notification_triggers: Reduce loose string usage.

This commit uses 'NotificationTriggers' class attributes
instead of directly using loose strings...

e12cd9862a8f98ffa7b23f7268c03b01d0fa8343 authored over 1 year ago
notifications: Eliminate the stale context variable 'mention_count'.

This commit removes the context variable 'mention_count',
which is not being used anywhere.

bf673546cb60cedd8344e95261322e06dbd872e5 authored over 1 year ago
tests: Add the missing tests.

This commit adds the missing tests for
'followed_topic_wildcard_mention'.

These tests should ha...

d80779435a669952ed1c1b53cb640baafd3dd986 authored over 1 year ago
notifications: Fix the 'senders' list.

This commit fixes the incorrect calculation of the
'senders' list.

The effect of 'followed_topi...

f7e41499fe54541e50afa297e3c4a9df24652a31 authored over 1 year ago
upload: Provide a default upload file name, rather than 500.

e2847790b6f58c2317d727c9ae4318a76c34f5f8 authored over 1 year ago
message_edit: Suppress message controls popover in edit views.

b98bae948c3bd63a351f2dafea4fc3561870b526 authored over 1 year ago
blueslip: Simplify expectOne error message.

This error is logged if there are 0 or 2+ elements, so the generic
language here is meant to cov...

2508081a643f1955808522886edf9ea62986f981 authored over 1 year ago
portico: Define variable for modal background color.

The CSS for modals uses "--color-background-color" to set
background color of modal. But the var...

e4dad94cba6885866c1e1263baa2e2ee16426ec4 authored over 1 year ago
compose_pm_pill: Fix `compose_recipient` being mocked but not used.

While running test for `compose_pm_pill` we get warning that
`compose_recipient` is mocked but n...

7b6d54960497b0561762ddcdcef0ff179d4e24a7 authored over 1 year ago
theme: Change recipient bar color and theme in the same paint.

`update_recipient_bar_background_color` changes in a paint
after change in theme without using `...

d547b838ac7c057b7e31bc53bf23da1fa445b991 authored over 1 year ago
people: Extract `get_involved_people` function.

Also removed the `user_id` field in case of `stream` type messages in favor
of `id` field becaus...

21ec6ff97fbdd63818cfc706f974d82c6781e300 authored over 1 year ago
people: Add `make_user` helper function.

Made this function to avoid having incomplete `people` objects floating
around resulting in bett...

9b0e7a3eaea25591c3f38abb23c28799fc3212f9 authored over 1 year ago
people: Use `location.origin` instead of just `location`.

Used `location.origin` instead of plain `location` because even though
passing just `location` i...

5140b76f716599335d6fa89b7260ec066afb833e authored over 1 year ago
people: Make `get_by_user_id` type-safe.

We should make `get_by_user_id` type-safe in the sense that it's caller
should not expect undefi...

1c8bf4f050475073d641f6f4b5f27b143e8b1dd6 authored over 1 year ago
zproject: Prevent having exactly 17/18 middlewares, for Python 3.11 bug.

Having exactly 17 or 18 middlewares, on Python 3.11.0 and above,
causes python to segfault when ...

cf0b803d505047452d9f7b502ac64ade3d531214 authored over 1 year ago
middleware: Detect reverse proxy misconfigurations.

Combine nginx and Django middlware to stop putting misleading warnings
about `CSRF_TRUSTED_ORIGI...

8a77cca341e4c0e6b0e0fbc3c50d32edaeadda23 authored over 1 year ago
puppet: Remove loadbalancer configurations when they are unset.

671b708c4bf84c16f94c8990926335c067233e35 authored over 1 year ago
test-backend: Enable single-threaded profiling when thread count is unspecified.

If the number of threads is not specified
while profiling then use a single thread. This is
beca...

e7f4700d7669f6b8317dbc728f0599638532e7f5 authored over 1 year ago
doc tests: Rename test for integration 404s.

The prior name was just strange. This test could really
use a better comment explaining its pur...

63f561d44819f1d660d56ad27c3cd7632243f42e authored over 1 year ago
doc tests: Create dedicated zephyr test.

This did not speed up the tests as much as I expected,
but it certainly makes the code easier to...

c5ea79b9a469d797f27f16b052c5a0f0a46a3973 authored over 1 year ago
url tests: Split out expensive test for help pages.

It takes about 31ms per page on my box, but 191
help pages adds up quickly. I am not sure how to...

c94bbfbc7a8ad26bd8c64170aa056fd732f4ed8d authored over 1 year ago
doc tests: Handle expected strings more nicely.

This shaves a few seconds off the running time,
since we now consolidate content checks in one
o...

447d9ebd1d053c2835e3d45da2301873fd5b7eed authored over 1 year ago
doc tests: Introoduce _is_landing_page helper.

This makes us correctly run landing page logic where we
didn't before, and, more importantly, le...

018634bbfd48043046ea64a01467c5ddb17a5a42 authored over 1 year ago
doc tests: Clean up code related to robots.

This removes some confusing default boolean flags, and
it checks both sides of the do-you-want-t...

9890f631534bdfcbc0e52698688ec3e51f1a9747 authored over 1 year ago
url tests: Mock out html_to_text.

This makes the test about 3s faster, and we actually do
more meaningful checking than before.

f7614e7109d9339821808932d6ecfc212077e41c authored over 1 year ago
doc tests: Remove landing_missing_strings.

dbe930394f7586c79808d6d60568fd2ef434957d changed the
"missing string" from "Log in" to "xyz" for...

ae9303ab3f9697501777a6c464d38a7d9344d84e authored over 1 year ago
doc tests: Mock html_to_text.

This shaves a couple seconds off an expensive test.

af11ddb3cf2d0bf69de982963aef3d369a1c9141 authored over 1 year ago
eslint: Expand no-unused-vars check to all function parameters.

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

407c16fc77a346dbb87d11f7993cb7792daf081a authored over 1 year ago
templates: Improve email confirmation page.

This commit updates the text on email confirmation page to
make it more clear what's going on an...

95f8ab16262903956948d4af42fc4b53906f4a10 authored over 1 year ago
message_feed: Fix edited notice to appear for disabled edit_history.

This commit fixes the bug where the edited notice is not displayed
for edited/moved messages whe...

987bbb641fd5e2222a7c1e332a32fca19882d9cb authored over 1 year ago
user_groups: Add can_mention_group_id field to user_group objects.

This commit adds can_mention_group_id field to user_group objects
in webapp.

Fixes a part of #2...

767c2ebbe4421439166072bf9c0e522d6e3dc30f authored over 1 year ago
composebox_typeahead: Hide user groups from mention typeahead.

This commit adds code to hide the user groups which a user is
not allowed to mention from the me...

632191b8c41f9e6fe981206cf58349e7eeaf2314 authored over 1 year ago
user_groups: Add support to update can_mention_group setting.

This commit adds API support to update can_mention_group setting
of a user group.

Fixes a part ...

6b2ca03174653edfc0c7e25caa47fec7642add43 authored over 1 year ago
message_edit: Check group mention permission when editing message.

This commit adds backend code to check whether a user is allowed
to mention a user group while e...

7aaf34fd7e13d8cd78de54a5067fedd98b97e766 authored over 1 year ago
user_groups: Add can_mention_group_id field to UserGroup objects.

This commit adds code to include can_mention_group_id field to
UserGroup objects passed with res...

e6accb0ad9a6accc4dfe5890e62e26e6452c9daa authored over 1 year ago
user_groups: Add can_mention_group setting.

This commit adds a new can_mention_group setting which will be
used to determine who can mention...

2763f9b575f85e97b3f8b36a2fcfdfa2340c726a authored over 1 year ago
message_send: Check group mention permission when sending message.

This commit adds backend code to check whether user has permission
to mention a group while send...

1fdffaec732f25399a8108b9edb09726e9b78902 authored over 1 year ago
user_groups: Add support to set can_mention_group during creation.

This commit adds API support to set can_mention_group while
creating a user group.

Fixes a part...

4bea6ffaa83b7ccbc8445873299393d7ee12fb88 authored over 1 year ago
search: Fix bug where textarea placeholder text didn't update for DMs.

When c0e9e463fbd189ec4c35fc400bef270f044fad1c was merged, the
placeholder text started updating ...

9265954fd22c63eac4f387802e4e0266c23a6c4d authored over 1 year ago
search: Stop disabling and enabling the search close button.

This is logic from 10 years ago (dbc4798594c4aa859013e46fcbe94977fd43cdf4)
that is no longer rel...

367030ebfe1e5809901495eee494047144559c5a authored over 1 year ago
narrow (mypy): Add NarrowPredicate protocol.

(The next commit will fix some related naming things.)

6a2b560b7ff645b5b30890d9c92d1f1ab69f0c44 authored over 1 year ago
narrow: Pass modern narrow to do_events_register.

We now upstream the conversion of legacy tuples
into the callers of do_events_register. For the
...

6d57340d48acc439803d8bc6b487e229f029640a authored over 1 year ago
narrow: Split out narrow_helpers.

This will make more sense as I get deeper into modernizing
how we accept narrows from users via ...

c4d8f501d68f0946836e228999c7eba1bc368161 authored over 1 year ago
event tests: Make sure legacy narrow is passed along.

c501621bb263cee05fb5b378da45a2bc0579ef68 authored over 1 year ago
narrow: Rename *narrow_filter to *narrow_predicate.

This is consistent with how we name similar functions on
the frontend, and "filter" is misleadin...

c38b72c0149f9f77fb58ab40f25898d5cf4c4630 authored over 1 year ago
narrow: Rename function to check_narrow_for_events.

`supported` is kind of implied, and `filter` is not
really precise.

7cb4c0bdfef66f9413a1b19c02e115fa2388acc8 authored over 1 year ago
recent_topics_data: Simplify .entries() loop to .values().

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

a07bdb3fdbde5d7f95aad6275877bdf492299f51 authored over 1 year ago
integrations: Remove label URL from GitHub issue labeled notifications.

The URL is not the correct one and redirects to an API page.

8e63c0e42c8b948b64b00bfbf7e711b1c41814d8 authored over 1 year ago
narrow: Remove NamedArg usage.

mypy_extensions is not a production dependency, so this broke the
production build.

b47ba02b02cce834fbb5890be174912250893d62 authored over 1 year ago
search: Adjust text in has: message suggestions.

7f4fe7282f5c39eb567e8f0cff0766dc5c19b0b7 authored over 1 year ago
doc tests: Test endpoints in sorted order.

I also distinguish between endpoints and urls a little
better.

b196d5a2f0566754406b1735e543b9d8ce3e1dfd authored over 1 year ago
doc tests: Reduce work for test_api_doc_endpoints.

We eliminate 220 zephyr-related checks that are all fairly
expensive.

On my machine this test w...

6c23e4769d2899a3efa0d61068c475555f48a1db authored over 1 year ago
doc tests: Split out zephyr helper.

(All the same code gets executed here, but in a slightly
different order.)

There is some code d...

66a5c7cf4a76253fba39e90683363fdf68a2f490 authored over 1 year ago
doc tests: Split out a couple tests.

There was no reason for this already extremely expensive
test to have two extra responsibilities.

20583ec1d19fb88b15219ce73069ad892d7c10cd authored over 1 year ago
doc tests: Improve check for number of /api endpoints.

I also add a better comment.

bee7166a861046f2409360a2eef9b05b2c0a469d authored over 1 year ago
doc tests: Eliminate redundant test.

We now check content for /api endpoints in the big test
that loops over every endpoint.

0163da66eb66d320d6f7d96e41f297622146da64 authored over 1 year ago
tests: Eliminate narrow.json fixture.

In 2484d870b41e2a385919bcd2c359d7a5baf9d7 I created tests
using a fixture called narrow.json. I...

d64d1c81a48a4cefeec11897093d13a4e29e9dd6 authored over 1 year ago
narrow_filter: Pass message/flags to narrow_filter.

We no longer pass in a big opaque event to narrow_filter
(which is inside build_narrow_filter). ...

8ea0c5bbad824f7f320a20195c161dd1fdbbb975 authored over 1 year ago
narrows: Use dataclasses in a couple internal functions.

This is a first step toward two goals:
* support dictionary-like narrows when registering ev...

cea5e67262a4b64399a7deddd6808bee06664519 authored over 1 year ago
stream_settings: Fix scroll at max-height.

Simplebar seems unaware of the `max-height: 1000px` on
`.subscriptions-container`, and therefore...

0c55fb7e895e731c82793e6ac5e7ecbc2a029d2e authored over 1 year ago
settings_emoji: Fix file upload bug in upload emoji modal.

Before this commit if a user pressed enter to submit the add emoji form
the uploaded emoji was g...

1676d0b638d91680badc474190a08a52c8dc7a36 authored over 1 year ago
attachments: Refactor code for flushing used_upload_space cache.

Subsequent commits will add "on_delete=models.RESTRICT"
relationships, which will result in the ...

f7346f36fcbf21b256bd615f7558c22efa2dfafc authored over 1 year ago
realm_emoji: Refactor code for flushing realm_emoji cache.

Subsequent commits will add "on_delete=models.RESTRICT"
relationships, which will result in the ...

fd0434a05265fe31d421d00857af9a8f2277a6bd authored over 1 year ago
alert_words: Refactor the code to flush alert_words cache.

Subsequent commits will add "on_delete=models.RESTRICT"
relationships, which will result in the ...

a361c23aac7d5539212bf6171a4588d8a6e6652b authored over 1 year ago
import_realm: Create Stream, UserGroup and Realm in a transaction.

Make the import of `Realm`, `Stream` and `UserGroup` objects be
done in single transaction, to m...

1be30d85ce506372d6c699fc0dcbeb4ef53ee602 authored over 1 year ago
types: Add default_group_name field to GroupPermissionSetting type.

This commit adds default_group_name field to GroupPermissionSetting
type which will be used to s...

138a67d97e71aec0b961e4d17882db989751a6cc authored over 1 year ago
tests: Use check_add_user_group to create groups.

This commit changes the code in test_user_groups.py to use
check_add_user_group function to crea...

74af803ec34b44be936e0ed6b8317edbd62aeb08 authored over 1 year ago
bots: Refactor code for flushing bots cache.

Subsequent commits will add "on_delete=models.RESTRICT"
relationships, which will result in the ...

535a088d0ba790dcd090d48bc6421a3ea1dfb2ee authored over 1 year ago
queue_processors: Avoid queue worker timeouts in tests.

For tests that use the dev server, like test-api, test-js-with-puppeteer,
we don't have the cons...

b6d1e56cac724b028e03a46b2f1b057d7d246679 authored over 1 year ago
docs: Add documentation for delete emoji endpoint.

This endpoint was previously marked as `intentionally_undocumented`
but that was mistake.

Remov...

a686c0cc0276e1547029ca333e96707c28afbbf8 authored over 1 year ago
server-events: Remove unused home_view_loaded.zulip event trigger.

In commit 92ad98814429c8, we removed the local echo code that tried
to re-render locally echoed ...

0d1c43d1d9b6c56687c688459671ce2137fcdd94 authored over 1 year ago