Commit Graph

14878 Commits

Author SHA1 Message Date
Rohith Asrk 92ed9dd930 deliver_email.py: Migrate to send_mail from EmailMultiAlternatives. 2017-01-19 16:26:24 -08:00
Tim Abbott d091691b3d lint: Require access_message to access Message objects. 2017-01-19 15:59:06 -08:00
Steve Howell 477b4af39d Direct new users to the "new members" stream.
If a new user is auto-subscribed to a stream called "new
members", we will automatically narrow them to that stream
after the tutorial.  Otherwise, we fall back to the code's
previous behavior, which is to direct them to the notifications
stream (often called "announce").

This is somewhat experimental.  If we try this concept out on
the public Zulip realm and it works well, we will create a nice
realm setting for the "new members" stream.
2017-01-19 14:58:31 -08:00
Steve Howell 0ff2c5881e provision: Simplify messaging in tools/provision.
The script now outputs bullet points to the user when
it fails, and there are some basic comments at the top
of the file.  I also fixed the path of the log file.

Fixes #3230
2017-01-19 14:55:22 -08:00
Steve Howell cd6115c24d Make nicer slugs for "sender" narrows.
Slugs are now like our "pm-with" slugs:

    narrow/sender/3-cordelia
2017-01-19 14:54:50 -08:00
Steve Howell 1ae3feac3e Use blueslip.warn, not error, for unknown emails.
In people.emails_strings_to_user_ids_string, we just warn
for bad emails going forward.

Users can enter bad emails into the search location bar,
for example, and that causes us to compute a browser hash,
which in turn uses this function.

(It's possible that we should adjust the search code not
to compute hashes for narrowing when the narrow doesn't
make sense, but that could be a non-trivial fix.)
2017-01-19 14:54:50 -08:00
Tim Abbott 286f640194 minify: Clean up unnecessary tuple/list complexity. 2017-01-19 14:51:16 -08:00
Tommy Ip 23a7685fa5 deps: Add option to skip minifying Javascript files.
Plotly.js take around 20 seconds to minify with the Closure
compiler so it is taken out.

Fixes #3076.
2017-01-19 14:31:38 -08:00
Brock Whittaker 2ed598c619 Change actually_filter_streams to only run if subs overlay is open.
This change makes it such that the stream filtering operation will only
run if the subscription overlay is visible, preventing any issues with
the lack of existence of elements or processing something that users
won’t be able to see.

Fixes #3388.
2017-01-19 14:26:36 -08:00
Brock Whittaker eccca8fc61 Unify subs modal closing with subs.close().
The new subs.close() function should unify all closing events of the
subscriptions overlay. The function also now tracks whether the
subscription overlay is in a closed or open state.
2017-01-19 14:23:25 -08:00
hackerkid f6c8a005b4 Increment provision version for upgradation of python dependencies. 2017-01-19 14:18:39 -08:00
hackerkid dbf17064c2 requirements: Upgrade pathlib2 to 2.2.1 2017-01-19 14:18:39 -08:00
hackerkid 57e4c925bc requirements: Add scandir package to ipython.txt.
Needed for pathlib2==2.2.1.
2017-01-19 14:18:39 -08:00
hackerkid 071ab7bf70 requirements: Upgrade Typing to 3.5.3.0. 2017-01-19 14:18:39 -08:00
hackerkid dc5e09f5e1 requirements: Upgrade Jinja2 to 2.9.4. 2017-01-19 14:18:39 -08:00
hackerkid 9f5108ded2 requirements: Upgrade Pillow to 4.0.0. 2017-01-19 14:18:39 -08:00
hackerkid 7a20dc64d7 requirements: Add olefile package to common.txt.
Olefile is needed for running Pillow==4.0.0.
2017-01-19 14:18:39 -08:00
hackerkid b5de4e06f1 requirements: Upgrade backports-abc to 0.5. 2017-01-19 14:18:39 -08:00
hackerkid aeb9c4b485 requirements: Upgrade boto to 2.45.0. 2017-01-19 14:18:39 -08:00
hackerkid 11b15d1cc8 requirements: Upgrade sphinx to 1.5.1. 2017-01-19 14:18:39 -08:00
hackerkid 4dd0de33db requirements: Upgrade requests to 2.12.5. 2017-01-19 14:18:39 -08:00
hackerkid 1783e88531 requirements: Upgrade attrs to 16.3.0. 2017-01-19 14:18:39 -08:00
hackerkid e1da6140eb requirements: Upgrade zope.interface to 4.3.3. 2017-01-19 14:18:39 -08:00
hackerkid 8c323e05ac requirements: Upgrade Twisted to 16.6.0. 2017-01-19 14:18:39 -08:00
hackerkid a142b9801f requirements: Upgrade w3lib to 1.16.0. 2017-01-19 14:18:39 -08:00
hackerkid 0d000ec13c requirements: Upgrade cryptography to 1.7.1. 2017-01-19 14:18:39 -08:00
hackerkid 7a5d605ae4 requirements: Upgrade Scrapy to 1.3.0. 2017-01-19 14:18:39 -08:00
hackerkid 77e0fe012c requirements: Upgrade python-ldap to 2.4.28. 2017-01-19 14:18:38 -08:00
hackerkid b4e979a23f requirements: Upgrade Werkzeug to 0.11.15 and click to 6.7. 2017-01-19 14:18:31 -08:00
hackerkid bec790f4ca requirements: Upgrade Flask to 0.12. 2017-01-19 14:11:07 -08:00
hackerkid a36b524e61 requirements: Upgrade prompt_toolkit to 1.0.9. 2017-01-19 14:11:07 -08:00
hackerkid e82180a5c0 requirements: Upgrade urllib3 to 1.20. 2017-01-19 14:11:07 -08:00
hackerkid 94410c920f requirements: Upgrade decorator to 4.0.11. 2017-01-19 14:11:07 -08:00
hackerkid 65f7514a69 requirements: Upgrade regex to 2017.1.17. 2017-01-19 14:11:07 -08:00
hackerkid 3b1f6a4154 requirements: Upgrade lxml to 3.7.2. 2017-01-19 14:11:07 -08:00
hackerkid 76bf3982a6 requirements: Upgrade cssselect to 1.0.1. 2017-01-19 14:11:07 -08:00
hackerkid 5f56b9af97 requirements: Upgrade cchardet to 1.1.2. 2017-01-19 14:11:07 -08:00
hackerkid 4116da22a9 requirements: Upgrade pyflakes to 1.5.0. 2017-01-19 14:11:07 -08:00
hackerkid 8b45f5c8a3 requirements: Upgrade coverage to 4.3.4. 2017-01-19 14:11:07 -08:00
hackerkid ae1bd2b0bc requirements: Upgrade beautifulsoup4 to 4.5.3. 2017-01-19 14:11:07 -08:00
hackerkid 43c4d7f39e requirements: Upgrade pcodestyle to 2.2.0. 2017-01-19 14:11:07 -08:00
hackerkid 6571d7c568 requirements: Upgrade polib to 1.0.8. 2017-01-19 14:11:07 -08:00
hackerkid c29cd84ce9 requirements: Upgrade django-pipeline to 1.6.11. 2017-01-19 14:11:07 -08:00
hackerkid 60fbe093c1 requirements: Upgrade sourcemap to 0.2.0. 2017-01-19 14:11:07 -08:00
hackerkid 24426d4684 requirements: Upgrade simplejson to 3.10.0. 2017-01-19 14:11:07 -08:00
hackerkid 22c2c0144c requirements: Upgrade pytz to 2016.10. 2017-01-19 14:11:07 -08:00
hackerkid f1c2156aae requirements: Upgrade oauthlib to 2.0.1. 2017-01-19 14:11:07 -08:00
hackerkid 82d8ef12cd requirements: Upgrade oauth2client to 4.0.0. 2017-01-19 14:11:07 -08:00
hackerkid 9d999dd524 requirements: Upgrade google-api-python-client to 1.6.1. 2017-01-19 14:11:07 -08:00
hackerkid 33e8be51e2 requirements: Upgrade fonttools to 3.5.0. 2017-01-19 14:11:07 -08:00