Commit Graph

433 Commits

Author SHA1 Message Date
Yago González d2b3a52812 requirements: Fix dependencies for cryptography.
Apparently the module "cryptography" (used by service_identity) has some
dependencies that weren't initially included in requirements/scrapy.txt.

Python 2 and 3: six, cffi, asn1crypto, idna
Python 2 only: enum34, ipaddress

Out of these modules, the ones that were already included in
requirements/common.txt have been removed, resulting in:

Python 2 and 3: asn1crypto
Python 2 only: ipaddress

Credits as well to @adnrs96, whose help was essential to catch this issue.
2017-06-20 10:18:00 -04:00
sinwar e9ec59c45d requirements: Upgrade requests to latest version.
Fixes #5455
2017-06-20 06:59:18 -04:00
Aditya Bansal cf503017d2 Use requirements file for pip/setuptools/wheels in venv setup.
Fixes: #5158.
2017-06-19 16:37:50 -04:00
Vishnu Ks 61e74be61d requirements: Add service_identity to scrapy.txt. 2017-06-19 13:01:41 -04:00
Vishnu Ks 3c5cb48825 requirements: Remove glue from common.txt. 2017-06-19 06:40:18 -04:00
Vishnu Ks 4932789759 requirements: Upgrade zope.interface to 4.4.2. 2017-06-19 06:40:18 -04:00
Vishnu Ks 3d3a507282 requirements: Upgrade xmltodict to 0.11.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks 2802787a07 requirements: Upgrade Werkzeug to 0.12.2. 2017-06-19 06:40:18 -04:00
Vishnu Ks da858e6e41 requirements: Upgrade urllib3 to 1.21.1. 2017-06-19 06:40:18 -04:00
Vishnu Ks ff3329fb2b requirements: Upgrade Twisted to 17.5.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks f15875c1fe requirements: Upgrade SQLAlchemy to 1.1.10. 2017-06-19 06:40:18 -04:00
Vishnu Ks 0a06624186 requirements: Upgrade Sphinx to 1.6.2. 2017-06-19 06:40:18 -04:00
Vishnu Ks 5fa8507deb requirements: Upgrade sh to .12.14. 2017-06-19 06:40:18 -04:00
Vishnu Ks 797d68da12 requirements: Upgrade service-identity to 17.0.0. 2017-06-19 06:40:18 -04:00
Vishnu Ks 7149b84ef1 requirements: Upgrade regex to 2017.6.7. 2017-06-19 06:40:18 -04:00
Vishnu Ks 59ee952c9a requirements: Upgrade python-twitter to 3.3 and remove pytest-runner. 2017-06-19 06:40:18 -04:00
Vishnu Ks 4ff3a0890f requirements: Upgrade python-ldap to 2.4.39. 2017-06-19 06:40:18 -04:00
Vishnu Ks c5bc4bd027 requirements: Upgrade pyasn1-modules to 0.0.9. 2017-06-19 06:40:18 -04:00
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
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
Mehanig 3f5d0e69fb Build and handle jsfiles using webpack instead of django-pipeline.
Also renames bundle.js to translations.js.
2017-05-24 18:38:03 -07:00
Eklavya Sharma bda5517b5c mypy: Upgrade to latest version of mypy. 2017-05-23 10:42:44 -07:00
Tim Abbott 7bee733565 requirements: Upgrade to the latest Django release. 2017-05-16 15:56:16 -07:00
Tim Abbott 3fd1943eb6 requirements: Move api dependency out of common.txt.
This is preparation for using `pip compile` to help automate our
requirements files; `pip compile` does not support relative paths.
2017-05-13 22:13:00 -07:00
Tim Abbott 864bc99aeb requirements: Move common includes to py2/py3, not dev/prod.
This is a nonfunctional refactor of how the common.txt requirements
are included.  It is preparation for a new model for freezing our
recursive dependencies based on `pip compile`.
2017-05-13 22:09:42 -07:00
rht 7ad6a66340 requirements: Remove redundant library list.
The line `-r common.txt` can be found in dev.txt and prod.txt

This should speed up the build process by 2-3s, in addition to the speed
up from not having to prepare a python2 venv.
2017-05-11 08:52:42 -07:00
Rishi Gupta e46cbaffa2 email: Remove Mandrill pathways and dependency.
Everything it was doing (send_future_email) can now be done using
ScheduledJob.
2017-05-05 14:38:23 -07:00
Tommy Ip 19adf2e327 requirements: Upgrade gitlint to 0.8.2.
As of Gitlint v0.8.2, the --extra-path option now accepts both
directories and standalone python modules.
2017-05-05 09:59:39 -07:00
rahuldeve 023730447e Outgoing Webhook System: Add ndg-httpsclient requirement. 2017-05-02 08:24:28 -07:00
sinwar 2e0c03ae2d requirements: Update psycopg2 to latest version.
Fixes #4580.
2017-05-01 23:43:28 -07:00
hackerkid a768c94f9d requirements: Upgrade django-bitfield to 1.9.2. 2017-04-21 22:25:50 -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
Tommy Ip ec8e47192a lint: Add checks for commit messages using gitlint.
Fixes #1131.
2017-04-21 13:45:12 -07:00
sinwar 22b36ff2dc requirements: Upgrade python-twitter to latest version.
We no longer need a forked version, since our patches were merged into
master several months ago.

Fixes #3407.
2017-04-05 16:41:09 -07:00
Tim Abbott 35f3070927 requirements: Move incorrectly filed dependencies.
These are only used in development, and should never have been added
to common.txt.
2017-03-23 18:14:20 -07:00
Tim Abbott ce2c3fbb06 requirements: Install api bindings in production. 2017-03-22 19:33:51 -07:00
Umair Khan a2aeddba6b testing: Add infrastructure for running backend tests in parallel.
This doesn't yet provide an option to actually run the backend tests
parallelized yet.
2017-03-21 10:59:12 -07:00
sinwar d8ff09cb42 requirements: Upgrade pycodestyle to latest version.
Fixes #3927.
2017-03-05 16:17:04 -08:00
Raghav Jajodia 4ef4026e6a requirements: Upgrade mypy to version 0.501. 2017-03-04 15:41:11 -08:00
hackerkid 8a2b7751a5 requirements: Move PyJWT to common.txt. 2017-02-27 16:04:49 -08:00
hackerkid ea55b372ac requirements: Remove JWT.
We are using PyJWT, not JWT.
2017-02-27 16:04:49 -08:00
Tim Abbott 4090d409a4 requirements: Install cffi and pycparser in production.
It's needed for the argon2 password hasher.
2017-02-26 16:12:31 -08:00
hackerkid 9e6a7f0112 requirements: Upgrade cchardet to 1.1.3. 2017-02-26 15:59:23 -08:00
hackerkid 2bb4144e1c requirements: Upgrade pyasn1 to 0.2.3. 2017-02-26 15:59:23 -08:00
hackerkid d1e85a654c requirements: Upgrade sphinx to 1.5.3. 2017-02-26 15:59:23 -08:00
hackerkid e09093608b requirements: Upgrade boto to 2.46.1. 2017-02-26 15:59:23 -08:00
hackerkid 1119f75ba6 requirements: Upgrade w3lib to 1.17.0. 2017-02-26 15:59:23 -08:00
hackerkid 0a008def24 requirements: Upgrade Twisted to 17.1.0. 2017-02-26 15:59:23 -08:00
hackerkid 18b9c201ed requirements: Upgrade transifex-client to 0.12.4. 2017-02-26 15:59:23 -08:00
hackerkid bcd8fca8ee requirements: Upgrade traitlets to 4.3.2. 2017-02-26 15:59:23 -08:00
hackerkid c4fd148b42 requirements: Upgrade social-auth-core to 1.2.0. 2017-02-26 15:59:23 -08:00
hackerkid 5f49da7f50 requirements: Upgrade social-auth-app-django to 1.1.0. 2017-02-26 15:59:23 -08:00
hackerkid 7d895ae998 requirements: Upgrade Scrapy to 1.3.2. 2017-02-26 15:59:23 -08:00
hackerkid cab584f803 requirements: Upgrade scandir to 1.5. 2017-02-26 15:59:23 -08:00
hackerkid 89c23834cb requirements: Upgrade requests_oauthlb to 0.8.0. 2017-02-26 15:59:23 -08:00
hackerkid 9d01b9f4a9 requirements: Upgrade requests to 2.13.0. 2017-02-26 15:59:23 -08:00
hackerkid 672245f72e requirements: Upgrade regex to 2017.2.8. 2017-02-26 15:59:23 -08:00
hackerkid ea56d87f72 requirements: Upgrade python-ldap to 2.4.32. 2017-02-26 15:59:23 -08:00
hackerkid 77c9d3e382 requirements: Upgrade pytest-runner to 2.11.1. 2017-02-26 15:59:23 -08:00
hackerkid 0b3d21964a requirements: Upgrade Pygments to 2.2.0. 2017-02-26 15:59:23 -08:00
hackerkid 66817cd118 requirements: Upgrade prompt-toolkit to 1.0.13. 2017-02-26 15:59:23 -08:00
hackerkid b4f4784764 requirements: Upgrade Markdown to 2.6.8. 2017-02-26 15:59:23 -08:00
hackerkid 34c55ce461 requirements: Upgrade lxml to 3.7.3. 2017-02-26 15:59:23 -08:00
hackerkid b6a595c5a3 requirements: Upgrade Jinja2 to 2.9.5. 2017-02-26 15:59:23 -08:00
hackerkid 2a2328b725 requirements: Upgrade ipython to 5.3.0. 2017-02-26 15:59:23 -08:00
hackerkid 3810f5ffea requirements: Upgrade httplib2 to 0.10.3. 2017-02-26 15:59:23 -08:00
hackerkid 767f21c397 requirements: Upgrade google-api-python-client to 1.6.2. 2017-02-26 15:59:23 -08:00
hackerkid f61bfb0186 requirements: Upgrade fonttools to 3.7.2. 2017-02-26 15:59:23 -08:00
hackerkid 6b672ea992 requirements: Upgrade django-auth-ldap to 1.2.9. 2017-02-26 15:59:23 -08:00
hackerkid e5a1ccbed6 requirements: Upgrade defusedxml to 0.5.0. 2017-02-26 15:59:23 -08:00
hackerkid d50efc6c4e requirements: Upgrade cryptography to 1.7.2. 2017-02-26 15:59:23 -08:00
hackerkid 903611c4f5 requirements: Upgrade certifi to 2017.1.23. 2017-02-26 15:59:23 -08:00
sinwar 483a351d44 Upgrade to argon password hasher.
The Argon2 password hasher is the currently recommended password
hasher for Django.

Fixes #3362.
2017-02-22 23:29:12 -08:00
Tim Abbott bb5d81281c mypy: Upgrade to new package name and version 0.571.
Fixes #3448.
2017-02-10 23:53:44 -08:00
hackerkid 1d1dcab2b3 requirements: Add comment explaining why CommonMark can't be upgraded.
Fixes #3398.
2017-01-24 14:22:06 -08:00
Tim Abbott 8a8e0ea48b requirements: Upgrade moto and dateutil to latest version. 2017-01-24 13:02:57 -08:00
Rafid Aslam 1e9baf8ee0 deps: Upgrade `docutils` to 0.13.1.
Fixes #3399.
2017-01-23 15:23:58 -08:00
sinwar f83da697ee requirements: Upgrade parsel to latest version
Fixes #3401
2017-01-22 15:26:11 -08:00
sinwar b0efa58eb4 requirements: Upgrade python-social-auth to latest version
Fixes #3403
2017-01-21 21:22:59 +05:30
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
hackerkid 2ce60273f9 requirements: Upgrade SQLAlchemy to 1.1.5. 2017-01-19 14:11:07 -08:00
hackerkid db9d0b74a7 requirements: Upgrade Django to 1.10.5. 2017-01-19 14:11:07 -08:00
Tim Abbott 464411833d requirements: Upgrade mypy to 0.4.6 release. 2017-01-08 22:48:25 -08:00
Tim Abbott 687d0cbf9e docs: Add support for including markdown files in others.
This uses a third-party dependency, python-markdown-include.

The example use for settings is intended primarily as a demonstration.
2016-12-30 17:16:29 -08:00
Umair Khan 8acf2609de ldap: Use newer commit of fakeldap in requirements. 2016-12-30 16:55:05 -08:00
Rishi Gupta 13d1a636d5 queue_processors.SignupWorker: Upgrade to MailChimp API v3.0.
Removes the dependence on postmonkey, which is a wrapper around
MailChimp API v1.3. MailChimp recommends using their v3.0 API directly,
rather than through a wrapper library.
2016-12-29 16:16:18 -08:00
Umair Khan c24fbd28b2 Shift to python-gcm for Android push notifications.
Fixes #2650
2016-12-15 12:17:07 -08:00
Umair Khan efccefc386 Upgrade to the latest Django release, 1.10.4.
Most of the changes to support this were merged some time ago; what
remains are these changes:

* Update requirements.txt
* Django 1.10: Upgrade success-http-headers.txt file.

- We no longer get the absolute urls, see
  https://docs.djangoproject.com/en/1.10/releases/1.9/#http-redirects-no-longer-forced-to-absolute-uris
- The headers are capitalized, previously, they were in upper case.

* Bump PROVISON_VERSION to 3.0 since this is a disruptive change.

Fixes #3.
2016-12-14 22:43:20 -08:00
Umair Khan 9f5c961a1b Django 1.10: Use django-bitfield from Disqus.
Disqus is the upstream for django-bitfield and has now merged in the
support for Django 1.10 we were previously getting from another
repository.
2016-12-14 22:38:35 -08:00
Umair Khan 336a041ac0 Django 1.10: Use uWSGI.
Fixes: #1121

With some tweaks by tabbott to make the number of processes configurable.
2016-12-13 21:40:43 -08:00
Tim Abbott c77b1b2ac0 requirements: Stop using the `-e` feature for installing api bindings.
The `-e api/` line in requirements.txt caused various problems with
provisioning.  It's not entirely clearly why, but it seems likely to
be a bad interaction with our virtualenv caching logic.

Given that it only had marginal value over just installing the API
bindings in the first place, we're replacing this with just `api/`
instead.
2016-12-13 11:53:55 -08:00
Igor Tokarev c93f1d4eda Add oembed/Open Graph/Meta tags data retrieval from inline links.
This change adds support for displaying inline open graph previews for
links posted into Zulip.

It is designed to interact correctly with message editing.

This adds the new settings.INLINE_URL_EMBED_PREVIEW setting to control
whether this feature is enabled.

By default, this setting is currently disabled, so that we can burn it
in for a bit before it impacts users more broadly.

Eventually, we may want to make this manageable via a (set of?)
per-realm settings.  E.g. I can imagine a realm wanting to be able to
enable/disable it for certain URLs.
2016-12-07 17:40:18 -08:00
Anders Kaseorg 70c977696d requirements: Upgrade flup to 1.0.3.dev20161029 for Python 3 support
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2016-11-26 13:20:22 -08:00
Chelsea Voss 32f5db16fb Add pytest-runner as a prereq to pip installing python-twitter.
While I was setting up the dev environment, pip failed to install
python-twitter: https://github.com/bear/python-twitter/issues/406

This was fixed by manually installing pytest-runner before trying to
install python-twitter, for both the python and python3 virtualenvs.
2016-11-20 13:06:41 -08:00
Tim Abbott a960ff6773 requirements: Update cryptography packages. 2016-11-15 10:13:51 -08:00
Umair Khan 47e8a56870 Django 1.10: Use compatible django guardian. 2016-11-14 16:09:12 -08:00
Umair Khan e89af4c470 Django 1.10: Fix django-bitfield.
SubfieldBase was deprecated in Django 1.10 so the version we use now
doesn't rely on that class.
2016-11-14 16:09:12 -08:00
paxapy 456e761294 lint: Add pep8 checker to the project.
We set this up initially with all of the rules that Zulip violates
disabled.

Also, the pep8 linter is substantially slower than the other Zulip
linters, so we've put it behind an option to `tools/lint-all`.
2016-11-09 15:17:49 -08:00
paxapy 93965a8e89 Add tools for dumping and comparing markdown renderings.
This adds a couple new tools that can be used to determine whether a
particular change in Zulip's backend markdown processor would impact
the rendering of historical messages, without a human actually looking
at the message content.  This is a useful way to verify whether a
change to our markdown syntax is likely to create problems.

[commit message and code tweaked by tabbott]
2016-11-07 07:49:56 -08:00
Tim Abbott 50382f153a requirements: Upgrade pillow to the latest version. 2016-11-06 20:52:04 -08:00
Tim Abbott c6ceae868b requirements: Upgrade twisted, adding incremental and constantly.
Twisted 16.5.0 has a couple new dependencies.
2016-11-05 09:13:35 -07:00
Tim Abbott be506d63f6 requirements: Upgrade a bunch of minor Python package versions.
These are all minor versions and thus shouldn't have any impact.
2016-11-05 09:13:28 -07:00
K.Kanakhin 09e17fbe17 run-dev: Use tornado for dev proxy server for HTTP requests.
- Use tornado as proxy server for development environment,
  replacing twisted (this doesn't support websockets).
- Upgrade tornado version to 4.4.1 (needs to be coupled to the
  above since neither change works without the other)
2016-11-01 20:35:31 -07:00
Tim Abbott 7a02ed42e7 requirements: Move fakeldap to dev.txt. 2016-10-28 11:04:08 -07:00
Umair Khan 50422e775b Add LDAP tests. 2016-10-28 09:27:55 -07:00
K.Kanakhin 6b31fcd63a docs-test: Add scrapy crawler to check documentation not having broken links.
- Add scrapy project with rewrited 'crawl' command and spider to check documentation.
  Command was rewrited due to return exit status by the exception existing,
  it returns exit code 0 if exception happens inside spider in standard behavour.

- Add scrapy requirements to for dev environment. It was added to twisted requirements list.

Fixes #1492
2016-10-25 11:35:16 -07:00
Tim Abbott 0784c4b339 requirements: Install the Zulip API bindings by default.
Now that we're no longer using the --install-option feature of
requirements.txt, we can add this back in again.
2016-10-17 23:21:43 -07:00
Tim Abbott e91f227c0b requirements: Update python-social dependency.
Also, fix the use of `>=` in the version declarations; we want to be
precise about what versions we're installing.
2016-10-16 01:13:50 -07:00
Tim Abbott 14e2540b2f requirements: Upgrade a bunch of dependencies.
These are all minor version upgrades that should be safe.
2016-10-16 01:13:50 -07:00
Tim Abbott ec9dcd7fb4 Upgrade mypy to version 0.4.5.
Now that 0.4.5 is out, we no longer need to use a forked version of mypy.
2016-10-16 01:10:43 -07:00
umkay c028815385 bugdown: Update python-markdown to version 2.6.7.
This updates Bugdown to reflect the changes in the updated
markdown. In particular, we now pass a default config object in the
__init__ for the Bugdown extension, update the make_md_engine function
to take kwargs as opposed to a config list, and have UListProcessor
inherit from ulist as opposed to olist (which no longer works).

We update the (forked from upstream) fenced_code extension's
makeExtension to take args and kwargs, and update
FencedBlockPreprocessor __init__ method with updated Codehilite
arguments.

We update the (forked from upstream) Codehilite extension to
mirror the logic with the latest upstream Codehilite:
	Add parse_hl_lines function
	update makeExtension to take args and kwarfs instead of config
	list
	Add regex for highlight lines
	use linenums instead of linenos
	use get_formatter_by_name instead of HtmlFormatter
	user get_lexer_by_name instead of TextLexer
	add hl_lines and use_pygments arguments to the codehlite
	constructor
2016-10-15 23:38:32 -07:00