Rishi Gupta
6c6f70dd96
Change checked=yes/true to checked=checked in handlebars files.
...
Only checked="checked" is actually valid according to w3c standards.
2016-06-24 21:16:20 -07:00
Vishnu Ks
20adcbc64b
Make send_registration_completion_email return the Confirmation object.
2016-06-24 17:47:56 -07:00
Vishnu Ks
420ee968f7
Renumber the casper tests to make space for realm-creation test.
...
And also fix the mysterious gaps at 6 and 8.
2016-06-24 17:47:56 -07:00
Vishnu Ks
8350b89798
Add support for custom error message in realm-creation-failed template.
2016-06-24 17:47:56 -07:00
Tim Abbott
6d71c25a0f
accounts_register: Stop using _ as dummy variable.
...
This conflicts with internationalization.
2016-06-24 17:47:31 -07:00
Preston Hansen
57dec15c6c
Update alert word UI to match the style of bots.
...
Resolves #1075 .
2016-06-24 16:43:19 -07:00
Taranjeet
122fb8eb62
Requirements: Add comments in dev.txt.
2016-06-24 16:25:09 -07:00
Taranjeet
c52049a85b
Requirements: Add comments in docs.txt.
2016-06-24 16:25:08 -07:00
Taranjeet
c5ceac9739
Requirements: Add comments in ipython.txt.
2016-06-24 16:24:05 -07:00
Taranjeet
c9720f9b74
Requirements: Add comments in moto.txt.
2016-06-24 16:24:03 -07:00
Akash Nimare
8c06c234d3
Improve reset email password link formatting.
2016-06-24 16:22:04 -07:00
acrefoot
e4ed9195dc
Remove rest_dispatch hack and optimize imports.
...
For a long time, rest_dispatch has had this hack where we have to
create a copy of it in each views file using it, in order to directly
access the globals list in that file. This removes that hack, instead
making rest_dispatch just use Django's import_string to access the
target method to use.
[tweaked and reorganized from acrefoot's original branch in various
ways by tabbott]
2016-06-24 16:11:03 -07:00
Tim Abbott
aebd84cb1b
urls: Clarify comment on mobile device credentials.
2016-06-24 16:04:14 -07:00
Tim Abbott
6f06101b73
urls: Add comments on sections of REST URLs.
2016-06-24 16:01:35 -07:00
Tim Abbott
71313fbbdf
urls: Move users/me urls further down.
2016-06-24 16:00:32 -07:00
acrefoot
788853a632
urls: Fix over-broad /users/email regexs in urls.py.
...
/users/me could get captured as an email--our urls shouldn't be so
sentitive to ordering.
2016-06-24 15:53:12 -07:00
Tim Abbott
5235ad5416
urls: Rearrange a few REST URL entries.
2016-06-24 15:51:54 -07:00
Tim Abbott
810d392947
urls: Fix mis-indented URLs entries.
2016-06-24 15:45:26 -07:00
Tim Abbott
16d260d36a
urls: Cleanup unnecessary use of 'patterns` calls.
2016-06-24 15:42:04 -07:00
Tim Abbott
aa228c9719
urls: Update some comments.
2016-06-24 15:39:14 -07:00
Tim Abbott
6dc416b6c3
urls: Wrap some comments better.
2016-06-24 15:39:14 -07:00
Tim Abbott
92f5e38171
urls: Move the dual-use patterns config up.
2016-06-24 15:39:14 -07:00
Tim Abbott
169810b874
urls: Move development avatars config further down.
2016-06-24 15:39:09 -07:00
acrefoot
0c799dc6b8
Add comments to label important sections of urls.py.
2016-06-24 15:21:36 -07:00
acrefoot
b36bc051af
Move old-style API endpoints to legacy_urls.py.
2016-06-24 15:14:03 -07:00
acrefoot
5a49c5e280
Denormalize urls in routes file.
...
Currently we use the deprecated django pattern() prefix pattern.
This make it hard to read the router logic in zproject/urls.py
This commit denormalizes the urls so that they can be read
more easily, at the expense of some verbosity. This also makes it
easier to reorganize urls in that file.
We skip denomalizing rest_dispatch due to its unique complications.
2016-06-24 15:12:51 -07:00
acrefoot
5d21fb0681
Remove unused imports from tornadoviews.py.
2016-06-24 14:53:13 -07:00
acrefoot
bca5613551
Add PyCharm files to .gitignore.
2016-06-24 14:53:11 -07:00
acrefoot
be484b25c6
Add comments on how rest_dispatch authenticates.
2016-06-24 14:52:22 -07:00
Tomasz Kolek
e6861636c8
Fix editing messages by adding or removing leading /me.
...
Previously, this did not correctly rerender the message to be (or not
to be) rendered as a /me style message.
Fixes : #835 .
2016-06-24 11:18:29 -07:00
Tim Abbott
dfd8fede4a
setup_venv: Add missing build essential dependencies.
...
Apparently, c74a74dc74
introduced a bug
where we are no longer correctly depending on build-essential as part
of the Zulip development environment installation process.
Fixes #1111 .
2016-06-24 09:11:10 -07:00
rahuldeve
8cecb37743
Modify Attachment model to track file access permissions.
2016-06-23 17:46:16 -07:00
Michael Cordover
a51ec44005
Search streams from left sidebar ( resolves #565 ).
...
Assigns hotkey 'w' to search streams.
Only show search box when active. Activate with hotkey or by clicking
STREAMS.
Filter matches at the beginning of words in stream name.
Behaviour is otherwise almost identical to user search.
Casper tests.
2016-06-23 17:21:57 -07:00
Vishnu Ks
574a304b12
Mention invite emails are printed in console in dev.
...
This is part 2 of #1046 .
2016-06-23 17:07:11 -07:00
Umair Khan
a70d5041d2
Don't allow literal strings in report_error.
2016-06-23 16:23:01 -07:00
Umair Khan
939ebbbc98
Mark report_error arguments translatable.
2016-06-23 16:23:01 -07:00
Umair Khan
b7bb49c6f5
Don't allow literal string in report_success.
2016-06-23 16:23:01 -07:00
Umair Khan
4da1a3ecd6
Mark report_success arguments translatable.
2016-06-23 16:23:01 -07:00
krtkmj
734ab8d5e3
Correctly narrow to stream using search box from subscription page.
...
Fixes #1012 .
2016-06-23 15:20:57 -07:00
Eklavya Sharma
9482cdccf4
scripts/lib/setup-venv.py: Accept None as target_venv_path.
...
If target_venv_path in setup_virtualenv is None, create a virtualenv
named 'venv' but don't make a symlink to it. Also return
cached_venv_path.
2016-06-23 14:17:17 -07:00
Eklavya Sharma
0365a4a9f2
Factor out apt dependencies for setting up virtualenv.
...
Move apt dependencies for creating a virtualenv from provision.py
to scripts/lib/setup_venv.py.
2016-06-23 14:17:17 -07:00
Taranjeet
3ca76b63c9
Remove use of $(document).data('events') to enable jQuery 1.8 upgrade.
...
jQuery renamed this (not supported) API in jQuery 1.8.
Fixes #1034 .
2016-06-23 14:06:47 -07:00
Tim Abbott
85798e2b2c
Dramatically expand directory structure docs.
2016-06-23 14:01:54 -07:00
Tim Abbott
c8a1c3a86b
docs: Reorder directory structure doc.
2016-06-23 13:58:41 -07:00
Tim Abbott
b0e1ae4245
docs: Make directory structure headings linkable.
2016-06-23 13:58:41 -07:00
Tim Abbott
5a1a540377
Expand directory structure details on scripts.
2016-06-23 13:58:41 -07:00
Tim Abbott
2080038e7c
Fix Jinja2 conversion bug in placeholder email value.
...
The `email` parameter to this template is only set if the user is
redirected to the login form after attempting to register for a new
account with an email address that already has an account.
2016-06-22 17:07:02 -07:00
James Porter
25a13cb09b
Defer loading zxcvbn in main webapp until necessary.
...
We only use zxcvbn in the main webapp for checking the user's password
in the change password form. Since zxcvbn is a very large javascript
library (~700KB), loading it asynchronously only when a user is trying
to change their password results in a significant performance
improvement for loading the Zulip webapp on a slow network.
Fixes #263 .
2016-06-22 17:06:37 -07:00
Tim Abbott
039c175d68
production-helper: Hold tons of packages.
...
This saves almost a minute doing apt upgrades in the production test
suite.
2016-06-22 10:41:09 -07:00
Tim Abbott
9b436c7190
setup-production: Remove more irrelevant postgres packages.
2016-06-22 10:41:09 -07:00