David Roe
5b7f3466ba
Add feature where only admins can invite new users.
...
This is controlled through the admin tab and a new field in the Realms table.
(imported from commit e78a6f48160e2a1bbc68d278beb726fe31515266)
2015-08-20 15:29:46 -07:00
David Roe
809efc4f2b
Add realm option to show or not show digest e-mail.
...
(imported from commit e9cfe519aa9f2857a1dcc7c75f5e1889834fcb86)
2015-08-20 15:29:45 -07:00
David Roe
e5cb2a468f
Enable Lab features for all users
...
(imported from commit 4e2658d28a5e02067ad472fec76c66f46592d520)
2015-08-20 15:29:45 -07:00
David Roe
90e2f5053f
Add mandatory topics as a realm option.
...
(imported from commit 929a884b8610669aa24a167367b899683e33a045)
2015-08-20 15:29:45 -07:00
Yoyo Zhou
6a63303736
Add dependencies for test-js-with-node and test-js-with-casper to provision.py.
...
Create a .bash_profile in the VM that activates the python venv on each login.
Node dependencies include some npm packages that haven't been backported to trusty yet.
(imported from commit 8307740004a05b0c9d6ea26f97c2e80b9d1bbaf4)
2015-08-20 14:29:45 -07:00
Yoyo Zhou
f78abd2dcc
Update schema changes content and formatting.
...
(imported from commit 46f3d43bfe62883d490ea870b2d29f7a45397c08)
2015-08-20 14:24:59 -07:00
Yoyo Zhou
4a6e132a44
Add "Schema changes", rST generated via pandoc -r mediawiki -w rst
...
(imported from commit f3c5621a8b612217986c879d3d15b85c9098ccca)
2015-08-20 14:24:59 -07:00
Yoyo Zhou
1e3249c94e
Add note that provision.py sets up postgres test db for you
...
(imported from commit 87d31b04db15b8ea994f40362ab910ccc028c91a)
2015-08-20 14:21:55 -07:00
Yoyo Zhou
a1237aa2b2
Update testing notes formatting and content.
...
(imported from commit 44cc34888f14d101c29bcd1c8d63cc082b4ffe09)
2015-08-20 14:21:55 -07:00
Yoyo Zhou
bb45f8d8e3
Copy "Testing the app" from the wiki, via pandoc -r mediawiki -o rst
...
(imported from commit 7150179ff1008ffa6849b983fb579a36fffc9c06)
2015-08-20 14:21:55 -07:00
Reid Barton
5a747ab690
Make the CasperJS frontend tests work again
...
(At least when PhantomJS doesn't crash...)
(imported from commit 62936b12883e4c6bbd3701da80783b4bffe46025)
2015-08-20 13:33:07 -07:00
Anders Kaseorg
dfb1601aed
Turn on cleanup_before_reload for everyone
...
(imported from commit 724a7b2bb5a0679b58eac62eaaf41d8397726c38)
2015-08-20 11:10:39 -07:00
Anders Kaseorg
62973fce0f
Remove unused zulip_mit_emails, is_zulip_mit_user
...
(imported from commit 8d49bd9a490a367c58befa09e0922f66e7923e77)
2015-08-20 11:10:39 -07:00
Anders Kaseorg
3043859700
Remove CUSTOMER3 advertisements
...
(imported from commit c48b478cbb7b682f1c76af027b487af73893c2be)
2015-08-20 11:10:39 -07:00
Anders Kaseorg
7cd1d9665d
test_settings: set CAMO_KEY = 'dummy' to make tests pass
...
(imported from commit d8705d8bbcad365b6b94a456d1942a8afc1a32d4)
2015-08-20 11:07:52 -07:00
Cat Miller
0a20f168a7
Auto-generate dev-secrets file.
...
Source LOCAL_DATABASE_PASSWORD and INITIAL_PASSWORD_SALT from the secrets file.
Fix the creation of pgpass file.
Tim's note: This will definitely break the original purpose of the
tool but it should be pretty easy to add that back as an option.
(imported from commit 8ab31ea2b7cbc80a4ad2e843a2529313fad8f5cf)
2015-08-20 00:20:44 -07:00
Tim Abbott
86278804c9
Use the EmailAuthBackend for the test suite.
...
(imported from commit 2f7bf9864991358e9dabacbd2b0f652a9f69230c)
2015-08-19 23:34:30 -07:00
Tim Abbott
dc5a5ce1de
Fix lint error.
...
(imported from commit 4c0897d109ddb229989afd8e4b4db270569e558a)
2015-08-19 23:24:56 -07:00
David Roe
4bd93325de
Don't create the MIT realm in the Dev VM.
...
(imported from commit 2e8122cfca87ace24f5048a6ecc57c8c5b3d101c)
2015-08-19 22:24:53 -07:00
David Roe
a9023935e4
Make the default Dev VM user Iago a Zulip admin.
...
(imported from commit ebec7b44c1d7fdbd270ee534f2c5453a21ae3884)
2015-08-19 22:24:53 -07:00
David Roe
dedc83e5dd
Switch links on login page to the register page in Dev VM.
...
(imported from commit 16e285b2d8f3c5124eaef0b20aa1097d4a1934d0)
2015-08-19 22:24:53 -07:00
David Roe
472898cfc6
Allow adding users to realms more easily in Dev VM.
...
Include new field on Realm to control whether e-mail invitations are required
separately from whether the e-mail domain must match.
Allow control of these fields from admin panel.
Update logic in registration page to use these fields.
(imported from commit edc7f0a4c43b57361d9349e258ad4f217b426f88)
2015-08-19 22:24:53 -07:00
David Roe
32783ebbfb
Admin users in red, at beginning, in dev login view
...
(imported from commit 530f0a5d26d5c2b637834281e45adb399852ae0a)
2015-08-19 22:24:53 -07:00
Tim Abbott
902edf5200
Fix comment typo in provision.py.
...
(imported from commit d8fcfb6d2ab5820f0d6032ae66bda16cf92132f0)
2015-08-19 21:41:44 -07:00
Jonathan Dahan
580cdb55be
Install git pre-commit hooks in the vm as part of provisioning.
...
(imported from commit b3aa3b44de198abea49f5b43e2403f466f30f66c)
2015-08-19 21:41:04 -07:00
Jonathan Dahan
795f191fb3
Remove git commit domain restrictions.
...
(imported from commit a756428d0b95db95fb093e78a182ad8873914f54)
2015-08-19 21:40:04 -07:00
Luke Faraone
1e7d7c0b71
Install a supervisor job for run-dev.
...
The development server will automatically start after provisioning finishes.
(imported from commit 6be3d954d9049acd0360189b07b1481756b69eef)
2015-08-19 21:07:23 -07:00
Luke Faraone
7e78dc4ca1
Clean up, comment more in provision.py.
...
Also remove unused import.
(imported from commit 8ba0020758ad842085b4f7dae7bfa3560281bd3a)
2015-08-19 21:07:23 -07:00
Luke Faraone
75d0146d33
Don't assume the user's OS in provision.py
...
We still need to put in the work to support other platforms, but now at least
we'll error out if you're not on 64-bit Ubuntu 14.04.
(imported from commit 3a35953206906044947e3447c7ab8fca78a76e1e)
2015-08-19 21:07:22 -07:00
Luke Faraone
0d7f749ad8
Run provision.py as a provisioner.
...
This way, vagrant up for the first time will set up the developer's VM
correctly
(imported from commit cee17b15e2f53a1b6de1f1ee16dbad00071ba55c)
2015-08-19 21:07:22 -07:00
Luke Faraone
e2d416ad8b
Clean up additional comments in the Vagrantfile.
...
I'll fixup this before publication.
(imported from commit a57cc240c6b57da4423749c13aa72fa63e4812c5)
2015-08-19 21:07:22 -07:00
Luke Faraone
04d3eb33b1
run-dev.py: Reword --interface help text.
...
The old language was confusing because "the interface" could refer to something
like eth0, but in actuality refers to the IP/hostname to listen on.
(imported from commit 4f77d72a4dfcdbe7e7747c6228975aa68dfbe6ac)
2015-08-19 21:07:22 -07:00
Jonathan Dahan
6f77e68622
Add GET /export endpoint, which dumps important tables in json.
...
Meant to be used in tandem with the manage.py import command.
The following sensitive data is scrubbed:
* user api keys
* user password hashes
* stream email keys
* invite-only streams
* messages from invite-only streams
* messages from users from other domains
(imported from commit 8e58dcdcb80ef1c7127d3ab15accf40c6187633f)
2015-08-19 15:31:08 -07:00
Jonathan Dahan
be23e6d189
Ignore generated event_queues.json and .vagrant directory.
...
(imported from commit c499a500cbc9e1354b84ab1a6b7fe859f2509db1)
2015-08-19 13:36:44 -07:00
Yoyo Zhou
6e55b4df8a
Update directory-structure.rst content to fix internal references
...
- Delete references to zilencer
- Replace "local server" references
- Add directories for message views, frontend templates/tests, and docs
(imported from commit 7295835434c17609595399e3aec7f9d565fd6b3d)
2015-08-19 11:52:49 -07:00
Yoyo Zhou
1629e77174
Directory structure generated from pandoc, with formatting fixes
...
(imported from commit d54bb062b641bac0520494f0a2cb151d69018d61)
2015-08-19 11:52:49 -07:00
Yoyo Zhou
127cdf63c6
Add CSS style override for RTD to make tables use word wrapping
...
(imported from commit 29007c052dd7048eaf86388a6a9715fc13f102b5)
2015-08-19 11:52:49 -07:00
Yoyo Zhou
5f74e6e76d
Fix a lint warning in notifications.py caught by newer pyflakes (0.9.1)
...
zerver/lib/notifications.py:353: list comprehension redefines 'msg' from line 336
(imported from commit 094a21616f8fe7ffe05719c6de6449ade5c43517)
2015-08-19 11:43:49 -07:00
Reid Barton
54adbb1737
Create vagrant postgres user and grant it rights to zulip{,_test}
...
(imported from commit bb57a3f5ef8bc48553f1eff95c47894aed4ef975)
2015-08-18 22:41:31 -07:00
Tim Abbott
7cffb41e13
Reorganize and document settings.py.
...
(imported from commit e2694979d5aee95c22b83b7aa84d80b56ffae1d6)
2015-08-18 20:57:35 -07:00
Tim Abbott
5b8894cd25
Rename USING_SSO to something more clear.
...
(imported from commit 94e8ae84b01419783872a5d09bafe5c2eb933c18)
2015-08-18 20:48:15 -07:00
Tim Abbott
05b0cbb36a
Zulip doesn't use MEDIA_URL.
...
(imported from commit ebc370d9c5cf2d7e7d366cbb25fe721c817f212e)
2015-08-18 20:48:15 -07:00
Tim Abbott
dcc3b3fe37
Don't create Zulip employee accounts automatically in Dev VM.
...
(imported from commit 378f12d3f2ac4c131919c0efbd049b9eaa961694)
2015-08-18 20:46:35 -07:00
Tim Abbott
2de3e2ebdd
Move several secrets to using the get_secret function in settings.py.
...
(imported from commit 08fb828265c4a9e35294a51c0901bd5ad3990344)
2015-08-18 20:17:48 -07:00
Tim Abbott
8c88746912
Move iOS App IDs to settings.py since it's needed to run the app.
...
(imported from commit 891e32ffa82430487fc333fa549ee465f0d018c0)
2015-08-18 20:17:48 -07:00
Tim Abbott
43c7ff64d1
Remove unused FULL_NAVBAR configuration setting.
...
(imported from commit 47c3be669f7ba44426301a46e3f54054f3e2440b)
2015-08-18 20:17:48 -07:00
Tim Abbott
0dae10eab4
Remove unused secret HASH_SALT.
...
(imported from commit 831c4cb7680b7bf8dadbd930195175e9a4186356)
2015-08-18 20:17:48 -07:00
David Roe
e61de3e052
Fix invitation e-mail to use http:// in non-deployed case.
...
(imported from commit af68962c078036ce0fe4f37feaec6b43766b3059)
2015-08-18 20:17:48 -07:00
David Roe
2ffd022a5f
Include defaults for AUTHENTICATION_BACKENDS
...
(imported from commit cdfffacc45f30e6959085ba8bc5aed72ae3527cf)
2015-08-18 20:17:47 -07:00
David Roe
78f32dcbd8
Fix bug in dev login which showed email/password prompts on logins after the first.
...
(imported from commit 626684ef1da8feb53aca05c9225ee628156f9810)
2015-08-18 20:17:47 -07:00