zulip/zerver/views
Shubham Padia feb2cdf378 onboarding: Change logic for preventing new login emails for a new user.
Issue: When you created a new organization with /new, the "new login"
emails were emailed. We previously had a hack of adding the
.just_registered property to the user Python object to attempt to
prevent the emails, and checking that in zerver/signals.py. This
commit gets rid of the .just_registered check.
Instead of the .just_registered check, this checks if the user has
joined more than a minute before.
A test test_dont_send_login_emails_for_new_user_registration_logins
already exists.

Tweaked by tabbott to introduce the constant JUST_CREATED_THRESHOLD.

Fixes #10179.
2018-08-13 10:16:41 -07:00
..
__init__.py
alert_words.py alert words: Return the updated list when adding/removing words. 2018-07-13 01:01:00 +05:30
archive.py archives: Add endpoint to fetch topic history of web public streams. 2018-07-14 09:51:37 +05:30
attachments.py
auth.py mobile: Make otp_encrypt_api_key accept API keys. 2018-08-08 16:45:40 -07:00
compatibility.py
custom_profile_fields.py
email_log.py email_log: Only import Django test client when using it. 2018-08-08 14:19:42 -07:00
email_mirror.py
events_register.py
home.py do_update_pointer: Pass client object from callers. 2018-08-01 16:40:15 -07:00
hotspots.py
integrations.py
invite.py
messages.py Extract a zephyr.py library. 2018-08-11 14:51:26 -07:00
muting.py
pointer.py do_update_pointer: Pass client object from callers. 2018-08-01 16:40:15 -07:00
presence.py tornado: Split get_events_backend into two functions. 2018-07-30 12:28:31 -07:00
push_notifications.py
reactions.py reactions: Allow using emoji_name for removing reactions. 2018-07-11 19:41:43 +05:30
realm.py models: Rename Realm.restricted_to_domain field. 2018-07-31 09:28:33 -07:00
realm_domains.py
realm_emoji.py emoji: Show emoji names with spaces on front-end. 2018-08-04 09:40:52 -07:00
realm_filters.py
realm_icon.py
registration.py onboarding: Change logic for preventing new login emails for a new user. 2018-08-13 10:16:41 -07:00
report.py
storage.py
streams.py i18n: Fix hard-to-translate notification bot string. 2018-08-09 08:37:23 -07:00
submessage.py
thumbnail.py docs: Add some basic subsystem documentation for thumbnailing. 2018-07-30 13:20:54 -07:00
tutorial.py
typing.py
unsubscribe.py
upload.py upload: Remove unnecessary use of has_request_variables. 2018-07-01 01:47:03 -07:00
user_groups.py guest: Restrict guest access to user group creation and updation. 2018-06-19 11:04:14 -07:00
user_settings.py
users.py utils: Move random API key generator as generate_api_key. 2018-08-08 16:45:25 -07:00
zephyr.py users: Get all API keys via wrapper method. 2018-08-08 16:35:17 -07:00