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
Tim Abbott
f792b67098
Fix send_to_prod redirect to not run on the Dev VM.
...
(imported from commit 6006c71348706d39740b0d6302df0a548e65b65e)
2015-08-18 20:17:47 -07:00
David Roe
46e224997e
Add a new dev login page for logging in without a password on the dev VM.
...
(imported from commit ac8f2504771c9907b7e92dc91cec5f7220ce951b)
2015-08-18 20:17:47 -07:00
Yoyo Zhou
ef50e74873
Fix up rST formatting in code-style.rst.
...
- Make all code blocks look like code blocks.
- Eliminate nested inline formatting (rST doesn't support it:
http://docutils.sourceforge.net/FAQ.html#is-nested-inline-markup-possible ).
- Punctuation nits.
(imported from commit cd0d780d843b72065678e0f032a2a47d44836adc)
2015-08-18 20:17:47 -07:00
Yoyo Zhou
7b9e027e77
Expand the Lint section to replace the Python and JS subsections; remove obsolete comment from Secrets.
...
(imported from commit a6945617913700d4e18c398a68022ed90f56039e)
2015-08-18 20:17:47 -07:00
Yoyo Zhou
8461048a11
Add 'Code style', generated via pandoc -r mediawiki -w rst and html_unescape.py
...
With a basic README.md
(imported from commit 91728b2c591bc88b7bee520669cb0b3f53426cd8)
2015-08-18 17:34:02 -07:00
Yoyo Zhou
c25d9679a5
Utility for unescaping HTML entities leftover from MediaWiki->rST conversion
...
(imported from commit 2f2507f299c3d09c67bfd26d6c11fab47431d935)
2015-08-18 17:31:33 -07:00
Yoyo Zhou
16e462d9d2
Use sphinx_rtd_theme when not on ReadTheDocs
...
(imported from commit ba97a475f85251f694e4c88d1dd25eaf69078fc4)
2015-08-18 17:31:32 -07:00
Yoyo Zhou
ac63d942ce
Initial sphinx setup from sphinx-quickstart
...
(imported from commit b9fc7a8f2f9352129c104f5dc9305203f2efc63d)
2015-08-18 17:31:32 -07:00
Tim Abbott
29ed28af00
Fix ZulipRemoteUserBackend for activating mirror dummies.
...
If you're using e.g. our Jabber<=>Zulip mirroring capability along
with the RemoteUser SSO integration, previously it would fail if a
user with a corresponding dummy user tried to login/signup (since they
didn't have an account but one wouldn't be created because
ZulipRemoteUserBackend was reporting that an account already existed).
(imported from commit 006eaa9afa8feedddd860c2bef41e604285228a7)
2015-08-18 11:28:36 -07:00
David Roe
81d0f7c172
Switch copyright clause on signup page to link to /hello.
...
(imported from commit 77b711acf017a3b17da8fe4e167f2f9263e6cf19)
2015-08-18 10:52:28 -07:00
David Roe
147304c676
Remove +Dropbox from login logo
...
(imported from commit f4f811ae33122d5fd2f226ec45f2ca7bd759a148)
2015-08-18 10:52:09 -07:00
Reid Barton
9c310c6cdd
Update review email address
...
(imported from commit 2642b9fb91ab4ca0445063bccc0d46738adb64eb)
2015-08-17 15:24:33 -07:00
Luke Faraone
c6ca60d6dc
quick fixes to provision.py
...
(imported from commit c2726fee7634498b627dae99a7a87f76f5bc83fd)
2015-08-17 11:15:21 -07:00
Luke Faraone
01d3c0c6aa
Update docs for OS X
...
(imported from commit 1fb3219f6531a18bf8f8a1ad93568a2c1689854a)
2015-08-17 11:15:03 -07:00
Luke Faraone
f38aa4ca39
Increase memory for VM
...
(imported from commit 1f3976bff1526483c5f7f791fbe66ee3dcbb7980)
2015-08-17 11:14:52 -07:00
Luke Faraone
dd71771a82
Fix syntax error in Vagrantfile
...
(imported from commit 68366c2be0a0d08e332934100ef03570e9e20df4)
2015-08-17 10:18:40 -07:00
Luke Faraone
e8ea761fbe
Initial attempt at Vagrantization
...
This is slightly hacky; it doesn't support as many arches as I'd like, but it works.
(imported from commit 5993014b0518d6d6dd2856fbf73180830e934b5f)
2015-08-17 09:45:51 -07:00
Luke Faraone
4702d8e9b3
Fix broken shebang in postgres-init-test-db
...
This was causing failures when execing outside of a shell
(imported from commit b63f8269d121b2bb8be5bcd84b3f868c9bedc9cd)
2015-08-16 21:36:36 -07:00
Luke Faraone
f5089e535d
Add dummy secrets for use in development.
...
We also reference these secrets from zproject/local_settings.py, keying
off IS_DEPLOYED.
(imported from commit eb83310e219616ed1c6c253f0d6893134bbe3517)
2015-08-16 21:35:34 -07:00