zulip/zerver/actions
Prakhar Pratyush ded6bfd3f2 add_new_user_history: Remove the RECENT_MESSAGES_TIMEDELTA limit.
We give the new users some messages in their feed.

Earlier, we were including upto 1000 messages which were sent
within the last 12 weeks.

For realms with low-traffic it results in very few messages
being included in the new user's feed.

This commit removes the 12 week limit.
Now, we simply include upto 1000 recent messages.
2024-11-22 10:41:27 -08:00
..
__init__.py
alert_words.py actions: Use 'durable=True' in outermost transaction.atomic block. 2024-09-03 09:17:38 -07:00
bots.py audit-log: Move user event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
create_realm.py settings: Add `can_invite_users_group` realm setting. 2024-11-20 13:35:05 -08:00
create_user.py add_new_user_history: Remove the RECENT_MESSAGES_TIMEDELTA limit. 2024-11-22 10:41:27 -08:00
custom_profile_fields.py custom_profile_fields: Make transaction no longer durable. 2024-10-14 16:30:46 -07:00
default_streams.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
invites.py transaction: Add durable=True to outermost transaction.atomic decorator. 2024-11-01 16:41:15 -07:00
message_delete.py delete_message: Fix recipients of "delete_message" event. 2024-10-07 11:35:06 -07:00
message_edit.py attachments: Return a list of removed attachments while editing. 2024-09-06 11:40:51 -07:00
message_flags.py django_api: Rename 'send_event' to 'send_event_rollback_unsafe'. 2024-09-20 15:20:18 -07:00
message_send.py do_deactivate_stream: Remove unnecessary mutations. 2024-10-25 16:06:42 -07:00
muted_users.py audit-log: Move user muted event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
onboarding_steps.py onboarding_steps: Send event on commit in mark onboarding_step as read. 2024-08-12 12:16:14 -07:00
presence.py django_api: Rename 'send_event' to 'send_event_rollback_unsafe'. 2024-09-20 15:20:18 -07:00
reactions.py reaction: Use the generic 'event_recipient_ids_for_action_on_messages'. 2024-10-07 11:35:06 -07:00
realm_domains.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_emoji.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_export.py realm_export: Add a RealmAuditLog entry for delete operation. 2024-10-04 14:17:20 -07:00
realm_icon.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_linkifiers.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_logo.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_playgrounds.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
realm_settings.py user_groups: Define AnonymousSettingGroupDict in types.py. 2024-11-15 16:36:37 -08:00
saved_snippets.py saved_snippets: Add backend for saved snippets. 2024-09-24 15:27:58 -07:00
scheduled_messages.py scheduled_messages: Remove separate logfile. 2024-10-04 14:22:37 -07:00
streams.py streams: Add 'ChannelEmailAddress' model. 2024-11-21 14:53:28 -08:00
submessage.py submessage: Fix recipients of "submessage" event. 2024-10-07 11:35:06 -07:00
typing.py django_api: Rename 'send_event' to 'send_event_rollback_unsafe'. 2024-09-20 15:20:18 -07:00
uploads.py upload: Explicitly return a bool and the Attachment object. 2024-09-09 12:40:17 -07:00
user_activity.py queue_processors: Process user_activity in one query. 2024-01-22 16:25:13 -08:00
user_groups.py user_groups: Define AnonymousSettingGroupDict in types.py. 2024-11-15 16:36:37 -08:00
user_settings.py realm_export: Add realm_export_consent feature to API. 2024-10-18 14:08:20 -07:00
user_status.py actions: Use 'durable=True' in outermost transaction.atomic block. 2024-09-03 09:17:38 -07:00
user_topics.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
users.py streams: Optimize code for computing stream objects. 2024-11-18 11:55:19 -08:00
video_calls.py video_calls: Update do_set_zoom_token to send event on commit. 2024-08-12 12:16:14 -07:00