Commit Graph

18599 Commits

Author SHA1 Message Date
Vishnu Ks
4bf2ca25d6 requirements: Upgrade Pillow to 4.1.1 and remove olefile. 2017-06-19 06:40:18 -04:00
Vishnu Ks
dc245dfcd1 requirements: Upgrade pbr to 3.0.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks
76afa8b493 requirements: Upgrade pathlib2 to 2.3.0.. 2017-06-19 06:40:18 -04:00
Vishnu Ks
deac266185 requirements: Upgrade parsel to 1.2.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
598c1bd5cf requirements: Upgrade lxml to 3.8.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks
f5b6f972fb requirements: Upgrade django-bitfield to 1.9.3. 2017-06-19 06:40:18 -04:00
Vishnu Ks
fe09421718 requirements: Upgrade django-pipeline to 1.6.13. 2017-06-19 06:40:18 -04:00
Vishnu Ks
6da5d71461 requirements: Upgrade oauth2client to 4.1.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks
40c4abdefe requirements: Upgrade ipython to 5.4.1. 2017-06-19 06:40:18 -04:00
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