Commit Graph

130 Commits (0bfe652620f762688d3a5983802eb38d698d41b8)

Author SHA1 Message Date
David Fischer 46fa1e0698
Add a tastypie XML requirement 2017-09-05 21:38:24 -07:00
Eric Holscher 1cde2bba72 Deploy hotfixes (#2972)
* Don't explode on makedirs

* Fix ad lookup

* Fix task designation

* Handle version handling.

This should be a decorator

* Upgrade slumber
2017-06-28 15:27:34 -07:00
Anthony accc01535c Finish linting on py3ish code (#2949)
* Resolve first round of linting errors in restapi.

This is a first step and only adds docstrings, etc. It doesn't refactor any
code.

Conflicts:
	prospector-more.yml
	readthedocs/restapi/views/model_views.py

* Reduce unused params.

In several cases, we can use the provided `request` rather than access `self`
(which could make these functions easier to test in isolation). In others, the
unused args could be folded into an unnamed kwarg param.

* Don't replace section variable.

This worked as intended, but only because the overridden section variable
would later evaluate to True. Using a different variable name makes this a bit
less error-prone.

* Minor docstring update

* Fix indent on docstring

* Punt on refactoring

* Fix call args

* Try unpinning testing reqs

* Bump up prospector higher level strictness

* Linting issues: arguments-differ, len-as-condition, redefined variables

* Remove unnecessary elses

This addresses no-else-return, which removes a `return` in an `else` after an
`if` that already has a `return`. This makes the default return more obvious in
most cases.

* Fix new linting issues with import order

Also, update travis and tox config for multiple versions of python

* Another fix on travis envs
2017-06-14 09:38:03 -07:00
Anthony Johnson 717da9ae8c Pin prospector to previous minor release 2017-06-09 10:52:31 -04:00
Hank Gay 76fe20e854 Temporarily rely on latest master of readthedocs-build 2017-06-01 13:16:01 -04:00
Hank Gay 64116bc541 Make a pass with futurize on stage 2.
Depend on futurize.
2017-05-30 18:10:44 -04:00
Hank Gay eee0978eae Explicitly depend on six, rather than waiting for a dependency to bring it in. 2017-05-30 17:47:34 -04:00
Hank Gay ff6813b21b Use release of django-cors-middleware w/ signal support.
BEFORE: We were using a pinned commit where that functionality was
added.
2017-05-30 17:42:01 -04:00
Hank Gay 96c2f6d176 Use modern Unipath. 2017-05-30 17:38:36 -04:00
Hank Gay 09150cc606 Upgrade django-allauth to public release containing change from pinned commit we used to be on. 2017-05-30 17:35:18 -04:00
Hank Gay be9f1edea3 Upgrade to newer pytest-django for better Python3. 2017-05-30 17:01:27 -04:00
Hank Gay e26b05926b Update to latest django-celery. 2017-05-30 17:00:48 -04:00
Hank Gay 1ea42745bd Update haystack(ish) dependencies. 2017-05-30 16:59:51 -04:00
Hank Gay ee016b2adb Upgrade dnspython dependency. 2017-05-30 16:55:07 -04:00
Hank Gay f2f0a88fc0 Remove dependency on Distutils2; it's obsolete. 2017-05-30 16:49:02 -04:00
Hank Gay cf7c021c48 Update version of slumber. 2017-05-30 16:48:44 -04:00
Alex Chan 2b4655b9f7
Remove the dependency on django-secure
django-secure was merged into Django 1.8, and since rtd.org uses
Django 1.9, migrating to using the built-in checks reduces the
dependency list and avoids any problems between newer versions
of Django and django-secure.

https://github.com/carljm/django-secure
https://docs.djangoproject.com/en/1.8/releases/1.8/#security-enhancements
2017-05-26 19:15:48 +01:00
Eric Holscher 734ed3b1d4 Merge branch 'feature/remove_filters' of https://github.com/fmoor/readthedocs.org into fmoor-feature/remove_filters 2017-05-25 15:08:56 -07:00
Frederick cbec8dda84 make tests parallelizable using pytest-xdist (#2899)
Be ware that running tests in parallel may cause tests to flake.
 This commit does not make parallel test the default it only makes it possible.
2017-05-24 13:46:40 -07:00
fmoor 72f85db673 remove dependency on django-filter, resolves #2635 2017-05-24 12:46:20 -07:00
smcoll 96042fd94a remove doc2dash, which is no longer used (#2861) 2017-05-22 11:29:11 -07:00
Eric Holscher eeb41f996c Merge branch 'master' into 2720-upgrade-pygments 2017-03-31 13:37:04 -07:00
Aaron Carlisle 245cd80817 Use RTD theme version 0.2.4 2017-03-31 14:06:54 -04:00
Anthony ba644ddd31 Add modeling for webhooks, wrap webhook creation some with model creation (#2726)
* Add modeling for http transactions and wrappers around webhook views

* Transaction -> Exchange

* Move request payload normalization to util function
2017-03-21 10:48:23 -07:00
Eric Holscher c84cd7362a Merge pull request #2684 from rtfd/travcunn-master
Upgrade to Django 1.9 (update PR #2435)
2017-03-15 09:39:01 -07:00
Nick B a4a6a28224 Uprade Pygments to 2.2.0
Fixes #2720.
2017-03-12 11:55:12 +00:00
Anthony Johnson cf4f8ff1e9
Not sure why we keep needing to do this 2017-03-07 18:08:28 -08:00
Eric Holscher ae9712f716 More REST framework fixes 2017-03-06 12:41:18 -08:00
Eric Holscher c75016efe9 Update REST API to properly handle build 2017-03-06 12:20:50 -08:00
Eric Holscher f6eb7b62bb Upgrade gravatar2 package to fix escaping issue. 2017-03-06 11:03:19 -08:00
Eric Holscher 659f3c2cea Address review feedback 2017-03-06 11:00:01 -08:00
Eric Holscher 6a18cd58f9 Update PR #2435 and fix conflicts
This updates #2435, which seems to have disappeared.
2017-03-06 11:00:01 -08:00
Eric Holscher 89f48f838d Upgrade docutils. (#2681)
* Similar to Sphinx upgrade. Let's be on latest

* Also upgrade appdirs

* Fix setuptools
2017-03-02 10:55:27 -08:00
Anthony Johnson 64ee6f6847
Also upgrade recommonmark to get autostructify transform
Among other features
2017-03-02 10:51:33 -08:00
Eric Holscher 8262381773 Merge pull request #2676 from rtfd/upgrade-theme
Upgrade Sphinx version and theme.
2017-03-02 09:55:01 -08:00
Eric Holscher e179c2a879 Add theme requirement 2017-03-01 12:13:25 -08:00
Eric Holscher ad0072466e Upgrade req in our requirements, too 2017-03-01 12:04:18 -08:00
Anthony Johnson b2a8d1d31a Pin appdirs==1.4.1
Not really sure we need to specify appdirs version here, but I'm hitting errors
installing on a virtualenv that has appdirs==1.4.0. You might need to remove the
old appdirs version before this will install at all in fact.
2017-02-23 12:37:50 -08:00
Anthony Johnson fd1103dec9 Try bumping pip version 2017-02-23 12:28:07 -08:00
Anthony dced32bb53 Pass build env python limits to config object (#2627)
* Pass build env python limits to config object

* Pass in build env python limitations to config
* Exposes parsing error to user on build output

* Typo on config method

* Alter build image names

* Bump release of readthedocs-build

* Don't test BuildConfig, test our implementation

Tunes up tests, fixes a bug with logic on python version detection

* Fix tests that were depending on config wrapper tests
2017-02-13 14:11:49 -08:00
Berker Peksag 2215dfdebf Upgrade packaging to make Travis CI builds green 2017-01-26 14:30:57 +03:00
Ryan P Kilby b8ba17e106 Lock django-filter version requirement 2016-11-23 03:53:42 -05:00
Eric Holscher dfe175f5aa Upgrade to latest point release 2016-11-21 09:20:50 -08:00
Benjamin Bach ad12851bf5 Pin django-filter - fixes #2495 and #2490 2016-11-14 13:52:13 +01:00
Sergey B Kirpichev e3815caaed Document support of .readthedocs.yml (#2442)
Closes #2211
2016-10-13 11:40:30 -07:00
Anthony 285bbf13f6 Integrate on-site messaging that is persistent, combine message transports (#2406)
* WIP for integrating persistent messaging for users

Combines notifications so that email/on site messaging will all be maintained in
the same place, and can extend from each other using normal template semantics.

* Add email support, clean up implementation

* Add reqs

* Drop unnecessary string conversion

* Change admin email form to look at templates, not ask for template source

* Add docs, tests, views for processing redirects

* Do the thing I meant to do

* Drop views, just use javascript instead

This adds javascript that intercepts link clicks in notifications,
hits the dismiss url defined on the dom object, and then redirects 
to the correct url of the original link.

* Move classes around and rename module

* Drop unused notification for testing

* Clean up usage, drop test uses of the views/notifications

* Add example usage that will be used for notification on resource usage

* Fix mock module path

* Add more docs around implementation
2016-10-01 10:19:51 -07:00
Kevin Deldycke 59d9b3c189 Add support for Pip's extra dependencies in YAML config.
Closes #173.
2016-08-24 18:36:26 +02:00
Eric Holscher efa388e2ec Update remote dep 2016-08-18 13:39:18 -07:00
Eric Holscher e3adf8fc89 Initial stab at custom CORS headers. 2016-08-18 13:37:47 -07:00
Anthony Johnson 091368899b Make update_docs task timeout a bit greater than the container build time
Fixes #2299
2016-07-22 17:20:09 -07:00