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

sub_store: Add seperate types for api stream objects.

I refined types for Subscription objects and Stream objects which were
already present `sub_stor...

980c74e8da16722541ae95998ccbd2cd94b08f0b authored over 1 year ago
stream_data: Refactor `sub` objects when creating subs in stream data.

This commit refactors the `sub` object we were creating in
`create_sub_from_server_data` functio...

c3292660d69917eada8f96499aeecd1ce89699cd authored over 1 year ago
stream_data: Make new object instead of modifying `sub`.

We should make a new object called `attrs` instead of adding new fields
directly to `sub` in `po...

5dc599e07cc1a387c1d0d0da6fa21985ba029c4c authored over 1 year ago
ts: Migrate `bot_data.js` to TypeScript.

Add type annotations. Create custom types for Bot and Service.
Add zod data validation for incom...

71401493738e28ea90203a667b307816a5e4feed authored over 1 year ago
signup: Use `querySelector` instead of accessing document property.

Previous line written in that way assumes `email_form` will appear
in the `document`. A modernly...

113a791532747b89abd251631f825a486b66e58c authored over 1 year ago
dependencies: Install `@types/jquery.validation for type annotation.

`signup.js` uses `jquery-validation` plugin, which is a javascript
package shipped without type ...

4730cdab17854c831a7b556571ea1c3e3c7d3ad7 authored over 1 year ago
common: Fix parameter type of `autofocus` function.

Throughout the codebase there is currently one usage of `autofocus`
excepts in test files. The o...

c008ba11723c0f097a8fa4e230b8cb6e8fc1b1d1 authored over 1 year ago
ts: Convert `signup.js` to TypeScript.

Added type annotations for function parameters and return values.
Added non-null assertions or t...

208438634c1f177e5720288bd45500bda4d2882e authored over 1 year ago
docs: Fix link to "Uprading PostgreSQL" section.

ae3458a294f5e9182665a620ccc5763e9872c681 authored over 1 year ago
settings: Rename movable-profile-field-row.

So that we can reuse it for other movable rows in places like
.admin_linkifiers_table.

31b7003d610c9d2141c1281804deba605df0db6c authored over 1 year ago
linkifiers: Support dragging and reordering linkifiers.

This also removes sorting on the pattern and the URL template, because
it does not make sense an...

5301060954d39e5e6672518fb8ec103779bd2078 authored over 1 year ago
populate_db: Populate linkifiers.

The curl examples of reordering linkifiers require there to be some
linkifiers in the database t...

011b4c1f7a725952e611ae051b22fd1d0fb06fee authored over 1 year ago
linkifiers: Support multiple linkifiers in puppeteer tests.

Select the linkifier with `:nth-child` assuming the possibility of other
linkifiers in the realm...

112a6e445e167238b32374ab250d602c4dc8c579 authored over 1 year ago
linkifier: Support reordering linkifiers.

This adds API support to reorder linkifiers and makes sure that the
returned lists of linkifiers...

37660dd0e78d4888aa575f69176de848b8bd510f authored over 1 year ago
test_openapi: Extract test_openapi_arguments_for_endpoint.

6c9e89e6c554d4a43a4eedefc98c16553d13345b authored over 1 year ago
test_openapi: Use subtests for arguments test.

Each unittest subTest can fail without interrupting the other subTests.
By wrapping the test for...

aa5765ca640370f09d972cd8012720f2f48d8b3f authored over 1 year ago
topic: Set a max batch_size on bulk_upate call.

The number of affected objects may be quite high, and they are
selected by `id IN (...)` query, ...

570ff08fdedbf5d541c85915f9bef9201e85478e authored over 1 year ago
integrations-docs: Make use of consistent numbering for list.

2ba26467305b48c823c1aa88775f476be2c34044 authored over 1 year ago
integrations-docs: Make use of consistent spacing.

25cc0e40307ad341f52a091fe8bc12a87e96fa90 authored over 1 year ago
docs: Update .html links pointing to "Upgrade Zulip" or "Modify Zulip".

Follow-up to #24089.

d205850d54f73d648488bc1dbd37cca2dfdef272 authored over 1 year ago
stream settings: Warn users before locking them out of a stream.

Organization owners can make streams private even if they're not
subscribed to them, but cannot ...

4c2995c613508e2ed9cdb84e03be2a58003a6789 authored over 1 year ago
requests: Split out test_has_request_variables.

e8b7aad46231aff03b383e07ea8fb64212244c06 authored over 1 year ago
validators: Split out test_validators.

c9a299a8f856f5e7a4f79f6953783fe9a36cb48a authored over 1 year ago
app_components: Convert "overlay_message_controls" div to flexbox.

Previously, the icons were spaced by hardcoded values of margins
and would require changes every...

e4048de0a9f209832e54df4c48bd889628ebb311 authored over 1 year ago
drafts: Increase tippy delay for "Delete Drafts" icon.

Previously, the tippy delay was too short, resulting in
the tippy being flashed for an instant, ...

ee0d45d13ce89a14ee78454e40b47d2a069975ca authored over 1 year ago
drafts: Remove unused CSS styles.

b4be3f6266b1cbfd4514413bcdd1e3979094c27d authored over 1 year ago
drafts: Remove classes that had the same effect.

In commit 5edc8fc, abstract classes were added to the
drafts overlay, but the classes that were ...

0f0c52e09650d859756379817e0234c78a47a02d authored over 1 year ago
drafts: Rename class name to provide more context.

fe39f28497eca8e7f4c4e673c10d5a8255a469d7 authored over 1 year ago
drafts: Add functionality to bulk delete drafts.

Fixes #19360.

Co-authored-by: Satyam Bansal <[email protected]>

fed866449d70f4dbc8ea7a7bb95225b913893703 authored over 1 year ago
condense: Focus on the message after condensing/expanding it.

28ba839857ae2eedeef6fa7f8215917ca1ade387 authored over 1 year ago
dropdown-list-widget: Remove dropdown-list-body class and reference.

Removes the "dropdown-list-body" class and references as it is no
longer used in the new Dropdow...

225be0bb97fa0ccd17e4f20908915e36bfc79ed3 authored over 1 year ago
help: Add heading on linking to messages in "Writing messages" section.

We should have a clear reference in the "Writing messages" sidebar
section on linking to other c...

d24a689e9ec723f35fc28703ca52009838a49c16 authored over 1 year ago
docs: Add multiple-organizations.md to production section of TOC.

Adds the existing article about hosting multiple Zulip organizations
to the production section o...

3d997c4af26fe78a4dd163b2ba32dff7afc3de4b authored over 1 year ago
per-request caches: Add per_request_cache library.

We have historically cached two types of values
on a per-request basis inside of memory:

* ...

51db22c86cb0e2b14ba856254871173c793206c0 authored over 1 year ago
tests: Add assert_memcached_count.

We use a specific name to distinguish from other caches
like per-request caches.

549891266d750fdf37d40c9dd95980e7ad4fa90d authored over 1 year ago
tests: Flush per-request caches automatically for query counts.

751b8b5bb5bbbae3eb387918abf7abcbd95fc7cc authored over 1 year ago
tests: Improve linkifiers test.

We test at a higher level now.

730ae61ce5b45e344480859596fa5fa71e045e72 authored over 1 year ago
tests: Remove spurious nocoverage directive.

0eea42b48cbcd9f02da6b7baad3eb6a9ccdae33e authored over 1 year ago
caching docs: Tweak a few things.

Some claims seemed a little exaggerated or overly
precise.

031e3ae3f03f705d55afb5396b04dfb29f627271 authored over 1 year ago
tests: Fix a query count incorrect due to rebase.

0a181bca86764c3dbe978ea36b633c775691ce36 authored over 1 year ago
narrow urls: Avoid complicated optional types.

We no longer have to reason about the 12 possible
ways of invoking get_narrow_url. We also avoid...

257b32a4a44b91142ee4679e7fd1b76fd3f97afa authored over 1 year ago
tests: Test directly for stream name.

df068ae7a5e3f4ba9c88289313b01f9c5cfa6261 authored over 1 year ago
mypy: Improve type checks for user display recipients.

f8ec00b895cf3a528c3cd40ac673ece1c1b2fba8 authored over 1 year ago
tests: Simplify how we get active streams.

There's no need for the complexity and extra round
trips to call get_display_recipient in a test...

8295b0d46e8a6f3ed99470724dac5e1c77273328 authored over 1 year ago
email mirror: Avoid silly email lookup.

We can search by id, which is more resilient and still
hits a cache.

7c864db8f294ece2285a878808c052bd0013a4fa authored over 1 year ago
cache: Avoid cache spam for push notifications.

We don't need to call get_display_recipient for
non-stream messages.

I will rename display_reci...

6be2a08ed87f3ee70ccee1f6386702732b3bf7f4 authored over 1 year ago
tests: Avoid Union type to verify stream names.

There's also no need to fetch a full Stream object when
the thing being verified is just that th...

6ff7c17f826f69e61f360de64007764cea295623 authored over 1 year ago
tests: Mock Recipient.label.

We may eventually want to decouple how we send recipients
over the wire from how we represent th...

63c0ed303da7af2cd6ef188a18d4a301dae6f594 authored over 1 year ago
tests: Fix clumsy narrow test.

We now explicitly write messages to three different streams,
as well a DM, to make sure each nar...

538f4984471d87e2d5960f951ff596da29b1fa6d authored over 1 year ago
cache: Stringify stream recipients without the cache.

We generally want to avoid extra moving parts when we
stringify objects. We also want to phase o...

5b569ab865ce2e8fd0f63dab264f2a93fe31ebc2 authored over 1 year ago
tests: Add assert_message_stream_name

The get_display_recipient helper is a clumsy way to get
stream names, and it's not even represen...

a54760da0ea6bdf41aaac17019a05d9c1228ef6a authored over 1 year ago
push notifications: Go to the DB for streams.

We want to phase out the use of get_display_recipient
for streams, and this is the last place th...

1b7880fc2150fdefdd78b321166c135027f93ce1 authored over 1 year ago
push notifications: Rename variable.

233486f7b36e5f18b436072fb03ec0a914fcf070 authored over 1 year ago
notifications: Rename 'pm' to 'dm' in 'RecipientInfoResult' dataclass.

This commit renames the keyword 'pm' to 'dm' in the
'pm_mention_email_disabled_user_ids' and
'pm...

860eee94fde5725677fb323e2bd9f80258a48b04 authored over 1 year ago
push_notifications: Add the missing compatibility code.

This commit adds 'TODO/compatibility' code to support the
old notification trigger values in the...

3675a44471d919c7f6d2fb025dd97781154c8654 authored over 1 year ago
notification_trigger: Rename `private_message` to `direct_message`.

This commit renames the 'PRIVATE_MESSAGE' attribute of the
'NotificationTriggers' class to 'DIRE...

c4e4737cc6691d82467837e9d72655372b09d392 authored over 1 year ago
narrow: Directly access recipient_id from Stream object.

We previously used to access the whole recipient object
unnecessarily in NarrowBuilder.by_stream...

537ecbab45a24622daa403693930d990375e34b5 authored over 1 year ago
topic: Pass args to select_related call for Message objects.

This commit adds code to pass all the required arguments to
select_related call for Message obje...

7ff5423e2107fa3c5c461bcf0d301676812ef43c authored over 1 year ago
models: Remove get_huddle_recipient and use get_or_create_huddle.

This commit removes get_huddle_recipient function and we now use
get_or_create_huddle in get_rec...

91a58d026b7aa9b7d5be4090f8ffcb58355ccbd4 authored over 1 year ago
message: Pass args to select_related call for Message objects.

This commit adds code to pass all the required arguments to
select_related call for Message obje...

36f8aba7db5c58528d7abd840b4f3f039e5e4432 authored over 1 year ago
models: Fetch "recipient" object when along with "Huddle" object.

We now fetch recipient object when querying "Huddle" object in
get_or_create_huddle_backend as t...

2c28b496805000c78502ec0665e20d8ff25426f9 authored over 1 year ago
export: Pass "user_profile" as arg to select_related call for Subscription.

This commit adds code to pass all the required arguments to
select_related call for Subscription...

35559ae3249a900cbed17c1dbe9668697fd15400 authored over 1 year ago
openapi: Pass required arguments to select_related call.

This commit adds code to pass all the required arguments to
select_related call for Message obje...

a6df3776889badef312e9e7578c53e4be058d680 authored over 1 year ago
models: Pass args to select_related in get_stream_by_id_in_realm.

This commit updates the code to pass "realm" and "recipient" as
arguments to select_related call...

ab488010b38d09a67f91f922fe3cdbdfee682ff6 authored over 1 year ago
tests: Check query count for process_missed_message.

a3bb5207d262c6f9cca678ec9da155f3449a1b93 authored over 1 year ago
tests: Pass required args to select_related call for Message objects.

This commit adds code to pass all the required arguments to
select_related call for Message obje...

0e23280b4f1ef336c08ad9a12265df134797a649 authored over 1 year ago
email_mirror: Pass required args to select_related.

This commit adds code to pass all the required arguments to
select_related call for MissedMessag...

ebd91b152cb0ef61246ae4f8084f487f01f9bd32 authored over 1 year ago
drafts: Access recipient_id when creating or editing Draft objects.

We only need ID of the recipient and not the full object, so we
directly access ID using "stream...

ddee3007cba863edbbc4b8daf137cce8d0b91dfb authored over 1 year ago
docs: Fix get_user function in caching documentation.

This commit fixes the get_user function code to be same
as that of the original function in mode...

c843600d76121b2adfa66ad027489a73f0a70bde authored over 1 year ago
help: Update "View your starred messages" section.

- Adds instructions block and relative link to Starred messages.
- Adds "Toggle starred messages...

347c3dce5eb2fc91f0e149b5c88f912e6e003962 authored over 1 year ago
help: Document "Starred messages" mobile feature.

592d0e2794a19e80eed85cd91f5d5cb284608378 authored over 1 year ago
help: Update "Star a message" mobile instructions.

c74f607a6d00288130b06e75129029da86ec631f authored over 1 year ago
tests: Defer writing coverage report.

It's relatively rare that you want to read the coverage report
if the coverage tests pass. This ...

27b5b0dc267a05cdc47cccd48ec1b3555e6955aa authored over 1 year ago
api-docs: Fix feature level 199 changelog and add new field to examples.

Fixes formatting of link in feature level 199 changeog entry.

Updates stream object examples fo...

ec8531e55da70a22fdc774d912c6b2f5a3215025 authored over 1 year ago
api-docs: Add Changes notes for stream object fields added in 2.1.0.

2db715030d86819de8493afb879fb5c9c5e43139 authored over 1 year ago
api-docs: Update "Get all streams" endpoint documentation.

Makes a few updates to the text to match current API documentation
styles.

Updates the endpoint...

4d44a1b2772b82b92d9728745822bac12beb8195 authored over 1 year ago
api-docs: Add missing "date_created" field to stream object examples.

b7c9f778603fc101a7f08333002e00b6c57b7f98 authored over 1 year ago
api-docs: Add required fields to stream objects.

Adds documentation for which fields are required/expected to be
in stream objects that are check...

67ccd66ed5100045c632ec1e3ac8d9c5305a5ee6 authored over 1 year ago
generate_emoji_names: Fix use of stale aliases variable.

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

4fe93d2523cfada13545b601518defbc46196bba authored over 1 year ago
changelog: Fix incorrect documentation link.

125d7eab6cb22976525715a0b134c7774a3a4297 authored over 1 year ago
docs: Document printable conversations.

fd766c828c007cb4ede0e73aa2afbe2f70e94953 authored over 1 year ago
ci: Reorder tests to run unique tests first.

As discussed in the comment, it doesn't really make sense for our 4
jobs that we run in parallel...

396cedd0e83f8802ac1f16475a975f4b84dc84ad authored over 1 year ago
send_custom_email: Use a mutually-exclusive group for recipients.

6b25fab38c6ec36d128c1fb63eac355229ce6f78 authored over 1 year ago
send_custom_email: Only put the unsubscribe footer on marketing emails.

95b0ab31bed2b09e55892207d5c715d71366db7a authored over 1 year ago
tests: Split out missed_message email tests.

def6bf17ebbd089b01aa2256e5652439e8ef4f42 authored over 1 year ago
send_custom_email: Add a mode which reads data from JSON.

This allows us to not have to keep extending the tool for every
one-off use case and set of user...

292595afc4cc366e9735cca6cd9b89ffcfdcc955 authored over 1 year ago
send_custom_email: Add a way to change the Jinja context for each user.

fa41942f4a0c2d73698ecc905645ad4a21fc940c authored over 1 year ago
send_custom_email: Stop turning every user query into an id-based set.

The set of objects in the `users` object can be very large (in some
cases, literally every objec...

5a32ea52aeaeae7e98974c50d91a74f4405a107a authored over 1 year ago
test_email_notifications: These fixtures are markdown files, not HTML.

cb42a1b88dce92831e4ca27d7b0ecafcb0aa3a5b authored over 1 year ago
send_email: Substitute body directly, not via Jinja2.

Substituting the rendered body via Jinja2 means that it cannot
perform any interpolation itself....

ae51fbdda2630ee15c3ddcafcc0488b1c4f9c3ff authored over 1 year ago
copy_paste: Strip back tests to only test handler.

This gets us out of the brittle business of trying to mock a
complex event like "paste"--which m...

cd0fd49a83d9699e557d46ea4eaadc5f783ea83d authored over 1 year ago
compose: Allow URLs to be pasted onto selected text.

Fixes: #18692

da4e0c4073e4d0b6b4b95b63ed5c1ee0fbe629c5 authored over 1 year ago
print: Hide closing X on search bar.

96654c49c7a916e27b00bb9b799749f6bf3715fa authored over 1 year ago
tests: Disable flaky test_edit_bot_form test.

a73faf65793f0a1bd9c9a47e0ec7d7a70802904a authored over 1 year ago
stream_settings: Add 'Default stream' option in create stream UI.

In this commit, we introduce a new option in the stream creation
UI - a 'Default stream for new ...

63173ce1bc783be5eeb8416b2e5d10dadf669f82 authored over 1 year ago
stream_settings: Add 'Default stream' option in edit stream UI.

This commit adds a 'Default stream for new users' checkbox in
the stream editing UI to allow adm...

a81715786c5fdfb031d9372d822ecfa633051064 authored over 1 year ago
help: Document "Add video call" mobile feature.

d346b9bd1c5223c0cb2d5a3d7ec460affda14142 authored over 1 year ago
puppet: Fix includes for new name of zulip_ops::prometheus::tornado.

This fixes the `include` name for the file renamed in 740a494ba4d3.

c5cace36006460db823a0cef5b876430ef8f20cc authored over 1 year ago
message_feed: Fix collapsed messages for highlighted texts.

Fixes #26346.

d3c99682c3f312a6d81ad33a1231298e571ebf20 authored over 1 year ago
ts: Migrate `pm_conversations` module to typescript.

119f581470fad218fda5ee89a21548f64f3ecca5 authored over 1 year ago