Vishnu Ks
c51ed4c2ab
requirements: Upgrade incremental to 17.5.0.
2017-06-19 06:40:18 -04:00
Vishnu Ks
c04f21c4fa
requirements: Upgrade fonttools to 1.13.1.
2017-06-19 06:40:18 -04:00
Vishnu Ks
7c29045cd0
requirements: Upgrade Flask to 0.12.2.
2017-06-19 06:40:18 -04:00
Vishnu Ks
0323c772df
requirements: Upgrade django-auth-ldap to 1.2.12.
2017-06-19 06:40:18 -04:00
Vishnu Ks
45cf49800a
requirements: Upgrade cryptography to 1.9.
2017-06-19 06:40:18 -04:00
Vishnu Ks
b0d6142793
requirements: Upgrade coverage to 4.4.1.
2017-06-19 06:40:18 -04:00
Vishnu Ks
6d792eaa89
requirements: Upgrade chardet to 3.0.4.
2017-06-19 06:40:18 -04:00
Vishnu Ks
70a206d36e
requirements: Upgrade cchardet to 2.1.0.
2017-06-19 06:40:18 -04:00
Vishnu Ks
5264855b7e
requirements: Upgrade boto to 2.47.0.
2017-06-19 06:40:18 -04:00
Vishnu Ks
f9bde4bd04
requirements: Upgrade beautifulsoup4 to 4.6.0.
2017-06-19 06:40:18 -04:00
Vishnu Ks
0c92495335
requirements: Upgrade attrs to 17.2.0.
2017-06-19 06:40:18 -04:00
Umair Khan
232acce3bc
coverage: Shift to codecov in Travis CI.
2017-06-19 06:37:49 -04:00
Steve Howell
7e99262331
Add tests to settings_org.js.
...
This gets about 80% line coverage.
2017-06-16 18:57:07 -04:00
Steve Howell
e0d79acac0
zjquery: Add attr() method.
2017-06-16 14:58:27 -04:00
Steve Howell
f91dc2fec9
zjquery: Add prop() function.
2017-06-16 08:47:54 -04:00
Steve Howell
d7c0a7e1cb
Clean up settings_org.render_notifications_stream_ui.
...
The code now handles undefined stream_ids for realms that
don't have a notifications stream. It also removes unneeded
translation code on the stream name.
2017-06-16 08:47:42 -04:00
Steve Howell
081e0405dc
Avoid error in closest_id().
...
If we get a potential_idx that is not in items, we now just
warn about it instead of letting a type error happen.
2017-06-15 18:33:26 -04:00
vaibhav
42af09663d
validators: Add check_url validator.
...
This just uses Django's existing validator, and reformats its
interface to work with has_request_variables.
2017-06-15 15:03:26 -07:00
Steve Howell
a9622b0e4f
Fix lint error from recent commit (error_data).
2017-06-15 17:47:44 -04:00
Tim Abbott
1fead9006e
Bump PROVISION_VERSION for recent package upgrades.
2017-06-15 14:45:36 -07:00
Tim Abbott
f24df26862
requirements: Upgrade python-social-auth.
...
This fixes some warnings on Django 1.11.
2017-06-15 14:44:38 -07:00
Umair Khan
eeabc0f6a3
Django 1.11: Bump Django version to 1.11.
...
This commit also makes the following changes:
* Bumps the version of Django to 1.11.2.
* Fixes the HTTP response headers. Now CommonMiddleware sets Content-Length
header for non-streaming response, see
https://docs.djangoproject.com/en/1.11/ref/middleware/#module-django.middleware.common .
Due to this, 'Transfer-Encoding: chunked' header is removed, which signifies
a streaming response.
2017-06-15 14:44:38 -07:00
Steve Howell
1f34077fa1
minor: Add closest_id to blueslip error data.
2017-06-15 16:33:38 -04:00
Steve Howell
fe9020972a
Avoid type errors for bad PM narrows.
...
If somebody narrows to pm-with:bad_email@example.com, we no longer
generate a type error by trying to call addClass on undefined.
2017-06-15 15:52:42 -04:00
Yago González
1d0b7e07cc
css: Make avatar corners round.
...
Set a border radius of 4 pixels for user avatars displayed in the message
list view.
2017-06-15 12:36:59 -07:00
Tim Abbott
0904d61e96
integrations: Remove compatibility code for HTML format docs.
...
This fixes a coverage error in Travis CI caused by this code no longer
being used.
2017-06-15 12:34:46 -07:00
Akhil
b6b22fbb47
message-edit: Trigger mouseleave on row when hiding message_edit div.
...
For the pencil icon to appear, message_unhover has to be called before
message_hover (both in ui_init.js). This happens when the mouseleave
event is triggered on a row. But, when clicking the save button and
the edit box is hidden, the mouseleave event is not triggered and
hence message_unhover not called.
Fix this with a manual mouseleave event.
Fixes : #4287 .
2017-06-15 12:24:40 -07:00
Steve Howell
34f26f14aa
narrow: Remove redundant from_reload option.
...
The narrowing option from_reload was only used in
conjunction with use_initial_narrow_pointer, but the
latter option already takes into account whether a
reload happened.
2017-06-15 12:16:27 -07:00
Steve Howell
961d54692e
narrow: Rename var to use_initial_narrow_pointer.
2017-06-15 12:16:25 -07:00
Tim Abbott
d98c0d3178
docs: Add a brief architecture overview section on frontend.
2017-06-15 11:55:39 -07:00
Tim Abbott
3d1d09b3d3
docs: Remove discussion of old Django templating engine.
...
This was unnecessary complexity for users, and in fact, we removed the
code a couple months ago.
2017-06-15 11:55:39 -07:00
Tim Abbott
2c76f2b1e3
docs: Document file uploads in nginx section of overview.
2017-06-15 11:54:18 -07:00
Tim Abbott
115bd3ea3c
docs: Fix broken link.
2017-06-15 11:52:33 -07:00
Tim Abbott
c68484dfd7
docs: Attempt to clarify a bit more the new GitHub step.
2017-06-15 11:33:33 -07:00
Tim Abbott
7668908903
docs: Improve Git guide discussion of names.
2017-06-15 11:33:32 -07:00
Vaida Plankyte
47b450de8c
docs: Add links towards GitHub guide in installation instructions.
...
This adds two extra links to
http://zulip.readthedocs.io/en/latest/git-guide.html#set-up-git : in
the overall requirements, and once before Step 2: Get Zulip Code.
Fixes #2985 .
2017-06-15 11:30:55 -07:00
Rohitt Vashishtha
c802967808
webhooks/travis: Fix typos in docs.
2017-06-15 11:11:56 -07:00
Rohitt Vashishtha
d671dea29f
webhooks/yo: Migrate docs to markdown.
2017-06-15 11:10:44 -07:00
Rohitt Vashishtha
1fe58eb325
webhooks/slack: Migrate docs to markdown.
2017-06-15 11:10:44 -07:00
Tim Abbott
93ea4128ac
auth: Require the realm_name field in RegistrationForm.
...
Previously, the only required field in RegistrationForm was the full
name (and possibly ToS, depending on settings). This meant that if
LDAP was configured, realm creation would break, because the form
would be valid the first time one landed on it, before the user even
filled it out!
The correct fix is to make the extra fields required in
RegistrationForm in the event that we're doing realm creation.
It's possible that a cleaner fix would be to use a subclass.
With a test from Umair Waheed Khan.
Fixes #5387 .
2017-06-15 11:04:25 -07:00
Tim Abbott
57d26c1a66
auth: Add realm_creation parameter to RegistrationForm.
2017-06-15 11:04:25 -07:00
Umair Khan
2e1ccabb88
forms.py: Add the dynamic field in __init__
...
If we add the field like this, we can control its existence in tests.
In other case, since classes are compiled once, even if we set
TERMS_OF_SERVICE to False in tests, terms field would still continue
to exist in the form class.
2017-06-15 10:14:55 -07:00
Abhijeet Kaur
af7e08acb0
bots: Add UI to view bot types of existing bots in "Your bots".
...
Tweaked by tabbott for more standard internationalization.
2017-06-15 10:08:31 -07:00
Vaida Plankyte
4e5ae83fb0
docs: Emphasise running Git BASH as admin under Win10.
2017-06-15 09:58:19 -07:00
Steve Howell
8aad3ecb5c
Add error checking to get_users_typing_for_narrow().
2017-06-15 11:32:13 -04:00
Steve Howell
fd62edde39
Add debugging code for overlays.
2017-06-15 11:03:29 -04:00
Steve Howell
d2b710b307
Add maybe_show_keyboard_shortcuts().
...
This prevents some strange UI experiences and some blueslip
errors by not opening keyboard help when other overlays or
popovers are open.
2017-06-15 10:15:29 -04:00
Yago González
1d47a7b505
node tests: Replace stub jQuery with zjquery.
2017-06-15 09:08:40 -04:00
Yago González
98e74db6e8
node tests: Remove unnecessary dependency (hashchange).
2017-06-15 09:08:40 -04:00
Yago González
31d81e2c9b
node tests: Add coverage for unexpected exceptions in handleTex.
2017-06-15 09:08:40 -04:00