Commit Graph

17431 Commits

Author SHA1 Message Date
Steve Howell 4871b491f3 Add Dict.is_empty(). 2017-04-21 21:59:22 -07:00
Steve Howell b27180a645 Have next_topic() return stream/topic objects.
We now use "map" to have our inner generator of topics be
mapped to objects with both the stream and topic.  Thanks to
Mahim Goyal for helping with this design.
2017-04-21 21:59:22 -07:00
Steve Howell d332df8cc6 Add topic_generator.map(). 2017-04-21 21:59:22 -07:00
Aditya Bansal bdcddd35d0 tests: Add wrapper for client.logout in ZulipTestCase.
In this commit we add a logout wrapper so as to enable developers
to just do self.logout instead of doing a post request at API
endpoint for logout. This is achieved by adding a wrapper function
for the Django's client.logout contained in TestCase. We add this
by extending ZulipTestCase to have a logout function.
2017-04-21 21:45:55 -07:00
hackerkid cf001876d4 Increment provision version to upgrade python dependencies. 2017-04-21 18:13:58 -07:00
hackerkid 0689954373 requirements: Upgrade zope.interface to 4.4.0. 2017-04-21 18:13:58 -07:00
hackerkid 7db87a452c requirements: Upgrade typing to 3.6.1. 2017-04-21 18:13:58 -07:00
hackerkid 60d3346369 requirements: Upgrade SQLAlchemy to 1.1.9. 2017-04-21 18:13:58 -07:00
hackerkid 8ca2ed1ce2 requirements: Upgrade Werkzeug to 0.12.1. 2017-04-21 18:13:58 -07:00
hackerkid 05a5a8bc40 requirements: Upgrade tornado to 4.5.1. 2017-04-21 18:13:58 -07:00
hackerkid 0707c8a58b requirements: Upgrade tblib to 1.3.2. 2017-04-21 18:13:58 -07:00
hackerkid 8d6ed0419c requirements: Upgrade sphinx-rtd-theme to 0.2.4. 2017-04-21 18:13:58 -07:00
hackerkid 12367a7580 requirements: Upgrade Sphinx to 1.5.5. 2017-04-21 18:13:58 -07:00
hackerkid 2f6d191ab8 requirements: Upgrade Scrapy to 1.3.3. 2017-04-21 18:13:58 -07:00
hackerkid c5de115a51 requirements: Upgrade regex to 2017.4.5. 2017-04-21 18:13:58 -07:00
hackerkid c9ee2b0c25 requirements: Upgrade pytz to 2017.2. 2017-04-21 18:13:58 -07:00
hackerkid 97563b4061 requirements: Upgrade pyOpenSSL to 17.0.0. 2017-04-21 18:13:58 -07:00
hackerkid 1ff9d6a600 requirements: Upgrade pylibmc to 1.5.2. 2017-04-21 18:13:58 -07:00
hackerkid d8965691a4 requirements: Upgrade PyJWT to 1.5.0. 2017-04-21 18:13:58 -07:00
hackerkid f68f898fc5 requirements: Upgrade prompt_toolkit to 1.0.14. 2017-04-21 18:13:58 -07:00
hackerkid 6b94cdc6f0 requirements: Upgrade Pillow to 4.1.0. 2017-04-21 18:13:58 -07:00
hackerkid a9af3df67f requirements: Upgrade pbr to 3.0.0. 2017-04-21 18:13:58 -07:00
hackerkid 2929c15953 requirements: Upgrade oauthlib to 2.0.2. 2017-04-21 18:13:57 -07:00
hackerkid 5972679a50 requirements: Upgrade MarkupSafe to 1.0. 2017-04-21 18:13:57 -07:00
hackerkid 8b126cbb22 requirements: Upgrade Jinja2 to 2.9.6. 2017-04-21 18:13:57 -07:00
hackerkid 1600337e4e requirements: Upgrade ipython-genutils to 0.2.0. 2017-04-21 18:13:57 -07:00
hackerkid b2db6f05fd requirements: Upgrade fonttools to 3.10.0. 2017-04-21 18:13:57 -07:00
hackerkid 28c704db01 requirements: Upgrade Flask to 0.12.1. 2017-04-21 18:13:57 -07:00
hackerkid cf6cd3a447 requirements: Upgrade django-pipeline to 1.6.12. 2017-04-21 18:13:57 -07:00
hackerkid 0999227648 requirements: Upgrade django-auth-ldap to 1.2.10. 2017-04-21 18:13:57 -07:00
hackerkid 72b1db5920 requirements: Upgrade cryptography to 1.8.1. 2017-04-21 18:13:57 -07:00
hackerkid afc835a91e requirements: Upgrade chardet to 3.0.2. 2017-04-21 18:13:57 -07:00
hackerkid 0915171868 requirements: Upgrade cffi to 1.10.0. 2017-04-21 18:13:57 -07:00
hackerkid 91011b74ef requirements: Upgrade certifi to 2017.4.17. 2017-04-21 18:13:57 -07:00
hackerkid 276ef60241 requirements: Upgrade cchardet to 2.0.0. 2017-04-21 18:13:57 -07:00
hackerkid 297964a0c1 requirements: Upgrade Babel to 2.4.0. 2017-04-21 18:13:57 -07:00
hackerkid fdbdd665eb requirements: Upgrade alabaster to 0.7.10. 2017-04-21 18:13:57 -07:00
Eeshan Garg 55e1154871 webhooks/beanstalk: Filter specific Git branches. 2017-04-21 22:06:11 -02:30
Eeshan Garg dded73ec6f webhooks: Stop overriding build_webhook_url for URL query parameters. 2017-04-21 22:06:11 -02:30
Eeshan Garg e68b957f3d webhooks/gogs: Filter specific Gogs branches. 2017-04-21 22:06:11 -02:30
Tommy Ip 680e39ff55 linter: Add custom gitlint rule to check for imperative mood. 2017-04-21 15:43:19 -07:00
Yago González 43bc4cd762 formatting help: Remove unnecessary space. 2017-04-21 14:59:57 -07:00
Yago González fac8d1a91d formatting help: Add documentation for TeX math. 2017-04-21 14:59:57 -07:00
Joshua Pan 64984f5bf4 Rename tools/lint-all to tools/lint.
Fixes #4574.
2017-04-21 14:57:47 -07:00
Tim Abbott f4a4c23380 KaTeX: Fix path to KaTeX bundle in production. 2017-04-21 14:56:19 -07:00
Tim Abbott 1883bff243 lint: Rename lint-commits to keep tab-complete fast. 2017-04-21 13:45:20 -07:00
Tommy Ip ec8e47192a lint: Add checks for commit messages using gitlint.
Fixes #1131.
2017-04-21 13:45:12 -07:00
Tim Abbott 7d8d9c1bf9 Fix message-edit animations being displayed after sending.
This fixes a regression in 3041480600
that would cause anything rendered on the backend differently than on
the frontend to experience this animation.

We actually only want to do the animation when the message content was
changed in a way that generates an edit history event, i.e. a
user-facing edit, not in cases where we're either transparently
swapping in post-backend-rendering content (e.g. with link previews)
or cases where there's a discrepancy between the exact HTML from the
frontend and backend markdown processes (e.g. mentions).
2017-04-21 11:46:35 -07:00
Tim Abbott e7974b3b65 git: Fix nondeterministic ordering of commit authors.
This should fix the nondeterministic test failures introduced by
e7455e276b.
2017-04-21 11:45:30 -07:00
Siddharth Mahapatra e7455e276b git integrations: Expand details in commit push notifications.
We now show a few new things:
(1) The number of commits pushed.
(2) Who authored the commits (just counts, not which specific ones, for brevity).

Add tests for case of multiple committers.

Part of #3968.
2017-04-21 11:07:44 -07:00