Go to file
Anders Kaseorg 9f7c0b7e65 postgres_master.pp: Fix wacky su command line.
The construction `su postgres -c -- bash -c 'psql …'` didn’t behave the
way it reads, and only worked by accident:

1. `-c --` sets the command to `--`.
2. `bash` sets the first argument to `bash`.
3. `-c 'psql …'` replaces the command with `psql …`.

Thus, `su` ended up executing `<shell> -c 'psql …' bash`, where
`<shell>` is the `postgres` user’s login shell, usually also `bash`,
which then executed 'psql …' and ignored the extra `bash`.

Unconfuse this construction.

Note from tabbott: The old code didn't even work by accident, it was
just broken.  The right fix is to move the quoting around properly.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-04-12 17:27:23 -07:00
.circleci circleci: Downgrade to 2.0. 2019-04-10 10:22:54 -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: Create interface for doing support operations. 2019-03-11 12:01:11 -07:00
confirmation analytics/zilencer/zproject: Remove unused imports. 2019-02-02 17:31:45 -08:00
corporate billing: Add backend support for downgrading. 2019-04-11 23:27:42 -07:00
docs docs: Add ".ts" support in docs and configuration. 2019-04-12 11:26:17 -07:00
frontend_tests pm list: Remove "(more conversations)" feature. 2019-04-11 16:26:54 -07:00
pgroonga migrations: Remove unused imports. 2019-02-02 17:01:04 -08:00
puppet postgres_master.pp: Fix wacky su command line. 2019-04-12 17:27:23 -07:00
requirements python-zulip-api: Upgrade to release 0.6.0. 2019-03-19 20:07:53 -02:30
scripts terminate-psql-sessions: Allow running as postgres user. 2019-04-12 17:27:23 -07:00
static Revert "user-profiles: Lazy load profile pictures when in view." 2019-04-12 16:50:37 -07:00
stubs billing: Try paying invoices when user puts a new card on file. 2019-04-05 13:36:03 -07:00
templates left sidebar: Fix hover title for "STREAMS". 2019-04-11 10:59:53 -07:00
tools scripts: Rename DEFAULT_USER to POSTGRES_USER. 2019-04-12 17:27:23 -07:00
zerver backup: Use tar --transform to arrange the tarball instead of symlinks. 2019-04-12 16:48:34 -07:00
zilencer refactoring: Move set_default_streams into do_create_realm. 2019-03-21 12:33:19 -07:00
zproject settings: Set a default for SSO_APPEND_DOMAIN. 2019-04-12 10:48:05 -07:00
zthumbor analytics/zilencer/zproject: Remove unused imports. 2019-02-02 17:31:45 -08:00
.codecov.yml Try to avoid codecov spam. 2017-12-29 07:23:26 -05:00
.editorconfig docs: Add ".ts" support in docs and configuration. 2019-04-12 11:26: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 settings: Add support for uploading logo for night mode. 2019-02-18 15:15:57 -08: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 Add proxy notes to new README.dev.md troubleshooting section. 2016-03-29 21:54:05 -07:00
.stylelintrc lint: Ban color names in CSS. 2019-01-22 15:33:18 -08:00
.travis.yml .travis.yml: Use /nonexistent instead of /tmp/nowhere. 2019-01-15 16:00:48 -08:00
CODE_OF_CONDUCT.md docs: Add clarifying comma in CODE_OF_CONDUCT.md. 2019-04-05 18:01:37 -07:00
CONTRIBUTING.md docs: Add ".ts" support in docs and configuration. 2019-04-12 11:26:17 -07:00
Dockerfile-dev provision: Fix Docker development environment unicode issues. 2019-01-28 22:08:19 -08:00
Dockerfile-postgresql docker: Add PGroonga support to Postgresql Dockerfile. 2018-05-23 11:53:32 -07:00
LICENSE license: Move license application notice from LICENSE to NOTICE. 2018-10-02 12:04:44 -07:00
NOTICE license: Move license application notice from LICENSE to NOTICE. 2018-10-02 12:04:44 -07:00
README.md README: Normalize CircleCI badge styling. 2018-11-18 18:49:22 -08:00
Vagrantfile vagrant: Add option to specify system settings. 2019-04-11 12:28:12 -07:00
manage.py manage.py: Revert sabotaging pika.adapters.twisted_connection import. 2019-01-31 10:04:28 -08:00
mypy.ini docs: Add a warning about editing mypy stubs and the daemon. 2018-12-17 10:28:18 -08:00
package.json dependencies: Add lazysizes npm package. 2019-04-05 15:51:02 -07:00
version.py dependencies: Add lazysizes npm package. 2019-04-05 15:51:02 -07:00
yarn.lock dependencies: Add lazysizes npm package. 2019-04-05 15:51:02 -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 branch Travis Build Status Coverage Status Mypy coverage GitHub release 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.