Go to file
Yashashvi Dave d72280f1c7 invite user: Fix click handler called multiple time on submit.
This commit fixes multiple invite-user-email sent to user.

In invite-user-form, submit-form click handler is getting
called multiple times on submit-invite-user-form event, which
results in multiple invitation mail to user.
Because, we registered same submit click handler multiple times.
Submit form click handler is registered when user opens invite-user
modal. If user opens modal multiple times, click handler get
registered multiple times.

We should register this click handler on `exports.initialize`
function instead of `exports.launch` function. This modal is unlike
other modal, where we append html when user opens modal. In this
case, we append modal on initialization. We only show modal when
user opens. So on initialization, modal element already exists,
register click handler on submit-btn element, on intialization
not when user open modal.

Fixes #10354.
2018-08-26 22:15:50 -07:00
.circleci circleci: Add support for Ubuntu Bionic. 2018-06-01 18:02:50 -07:00
.github github: Suggest GIFs too in PR template. 2018-02-16 09:59:22 -08:00
.tx tx config: Update slug for mobile. 2018-06-17 17:32:25 -07:00
analytics activity: Show plan_type in activity page. 2018-08-21 18:15:14 -07:00
confirmation confirmation: Removed unused send_email import. 2018-06-16 05:27:04 -07:00
corporate corporate: Remove unused imports (F401). 2017-11-07 16:37:04 -08:00
docs docs: Add fake LDAP auth to subsystems/auth.md. 2018-08-21 12:56:05 -07:00
frontend_tests tests: Test left arrow for pill input. 2018-08-25 06:51:15 -04:00
pgroonga pgroonga: Upgrade to PGroonga 2 API. 2018-05-31 13:00:34 -07:00
puppet nginx: Update configuration for using certbot certs everywhere. 2018-08-22 11:59:15 -07:00
requirements pypi: Upgrade to release 0.5.3. 2018-08-18 08:00:56 -07:00
scripts postgres-init-db: Throw an error if not run as root. 2018-08-21 11:36:50 -07:00
static invite user: Fix click handler called multiple time on submit. 2018-08-26 22:15:50 -07:00
stubs billing: Add coupons. 2018-08-24 17:27:26 -07:00
templates emails/password_reset: Change text for listing other active accounts. 2018-08-22 17:49:40 -07:00
tools tests: Test how we handle extra data for zform messages. 2018-08-24 10:00:25 -07:00
zerver tests: Test how we handle extra data for zform messages. 2018-08-24 10:00:25 -07:00
zilencer billing: Add coupons. 2018-08-24 17:27:26 -07:00
zproject models: Add plan_type to Realm. 2018-08-21 12:39:06 -07:00
zthumbor thumbor: Make local_file_path logic more obvious. 2018-08-10 17:20:43 -07:00
.codecov.yml Try to avoid codecov spam. 2017-12-29 07:23:26 -05:00
.editorconfig editorconfig: Declare max line lengths for JS/Python code. 2018-08-08 09:48:17 -07:00
.eslintignore zulip_ops: Delete the long-disused `stats1.zulip.net` config and its dependencies. 2017-08-15 17:30:31 -07:00
.eslintrc.json frontend: Create data structure for starred messages. 2018-08-21 13:42:23 -07:00
.gitattributes gitattributes: Treat .ogg files as binary. 2018-04-27 09:59:19 -07:00
.gitignore mypy: Add basic support for invoking dmypy to run-mypy. 2018-05-21 22:41:08 -07:00
.gitlint lint: Allow revert commit messages in gitlint. 2018-02-13 09:21:01 -08:00
.isort.cfg tornado: Fix logging of tornado activity level. 2018-04-17 15:59:01 -07:00
.npmignore
.stylelintrc stylelint: Add more stylistic rules to lock down CSS a bit tighter. 2018-07-27 00:15:58 -07:00
.travis.yml travis: Disable most suites in favor of CircleCI! 2018-01-31 11:10:03 -08:00
CODE_OF_CONDUCT.md repository: Add CODE_OF_CONDUCT.md. 2017-06-14 18:43:08 -07:00
CONTRIBUTING.md docs: Add clarification for help wanted and good first issue labels. 2018-08-20 19:17:47 -07:00
Dockerfile-dev Move Dockerfile to Dockerfile-dev. 2017-09-25 12:32:33 -07:00
Dockerfile-postgresql docker: Add PGroonga support to Postgresql Dockerfile. 2018-05-23 11:53:32 -07:00
LICENSE docs: Move license declaration from README.md to LICENSE. 2017-11-14 16:04:23 -08:00
README.md README: Document support for Debian and Bionic. 2018-07-01 01:47:03 -07:00
Vagrantfile Vagrantfile: Fix typo in spelling of problems. 2018-06-01 11:58:09 -07:00
manage.py manage.py: Catch issue with users running manage.py as the wrong user. 2018-07-30 12:34:48 -07:00
mypy.ini mypy: Switch back to a blanket `ignore_missing_imports = True`. 2018-08-06 12:14:36 -07:00
package.json emoji: Don't generate emoji farms corresponding to now banned emojisets. 2018-08-13 12:09:06 -07:00
version.py emails/password_reset: Change text for listing other active accounts. 2018-08-22 17:49:40 -07:00
yarn.lock emoji: Don't generate emoji farms corresponding to now banned emojisets. 2018-08-13 12:09:06 -07:00

README.md

Zulip overview

Zulip is a powerful, open source group chat application that combines the immediacy of real-time chat with the productivity benefits of threaded conversations. Zulip is used by open source projects, Fortune 500 companies, large standards bodies, and others who need a real-time chat system that allows users to easily process hundreds or thousands of messages a day. With over 300 contributors merging over 500 commits a month, Zulip is also the largest and fastest growing open source group chat project.

CircleCI Build Status Travis Build Status Coverage Status Mypy coverage docs Zulip chat Twitter

Getting started

Click on the appropriate link below. If nothing seems to apply, join us on the Zulip community server and tell us what's up!

You might be interested in:

You may also be interested in reading our blog or following us on twitter. Zulip is distributed under the Apache 2.0 license.