Commit Graph

5402 Commits (15e38272e80f3436e5f60125bf3b10a96272928d)

Author SHA1 Message Date
Anthony Johnson 15e38272e8 Drop lint from Travis to start 2015-07-21 19:41:38 -07:00
Anthony Johnson ef1d6ed73a Fix symlink test dict ordering bug 2015-07-21 19:41:37 -07:00
Anthony Johnson 525bd38ec6 More tox config 2015-07-21 19:41:37 -07:00
Anthony Johnson 18f68dee96 Add test of tox running test and lint commands, update travis 2015-07-21 19:41:37 -07:00
Eric Holscher 1e21c78b6f Merge pull request #1465 from ttilberg/patch-1
Fixed typo in `build-essential`
2015-07-21 14:21:24 -07:00
Tim Tilberg e8ee4bb18b Fixed typo in `build-essential` 2015-07-21 16:20:10 -05:00
Eric Holscher 49aa617607 Remove silly print statements 2015-07-21 10:03:09 -07:00
Eric Holscher 58b75ebe31 Merge pull request #1462 from rtfd/fix-api-client-usage-in-tasks
Fix usage of `api` variable in update_imported_docs
2015-07-21 09:06:54 -07:00
Gregor Müllegger 243c522b27 Mock api_v1/v2 in projects.tasks properly in tests 2015-07-21 15:37:05 +02:00
Gregor Müllegger 99632ad177 Always use explicit api version in projects.tasks 2015-07-21 14:52:57 +02:00
Gregor Müllegger d4c87f6da1 Remove api DI argument on update_docs and update_imported_docs tasks
Explicitley use a specific API version. That makes the code less confusing.
2015-07-21 14:48:12 +02:00
Gregor Müllegger e1adee2577 Use mock lib to test update_docs
We don't want to pass in the API client directly as this obfuscates the code.
2015-07-21 14:47:39 +02:00
Gregor Müllegger 7136dd6303 Fix usage of `api` variable in update_imported_docs 2015-07-21 14:37:32 +02:00
Eric Holscher d0a97a6882 Merge pull request #1458 from rtfd/refactor-tastyapi-package
Refactor tastyapi package
2015-07-20 13:43:18 -07:00
Eric Holscher 0497181af7 Merge pull request #1457 from rtfd/trying-out-new-travis-infra
Use new travis infrastructure
2015-07-20 11:02:49 -07:00
Eric Holscher 3e9102c7a9 Fix syntax 2015-07-20 09:21:56 -07:00
Eric Holscher e57ef1e54f FIx ordering of JS 2015-07-20 09:19:49 -07:00
Eric Holscher e24848bda2 Fix promo logic 2015-07-20 09:08:07 -07:00
Gregor Müllegger 52ff9691a9 Move api client code into their respective package
This separates API v1 and API v2 client code from each other into their
logical places. It kills the toplevel tastyapi package.
2015-07-20 17:38:09 +02:00
Gregor Müllegger 91dd5d169c Remove unused setting IMPORT_EXTERNAL_DATA
It was last used in tastyapi.client which was last used in bf1a3d2c.
2015-07-20 17:26:40 +02:00
Gregor Müllegger 76bc0120a6 Remove unused tastyapi.client 2015-07-20 17:26:30 +02:00
Gregor Müllegger c5068b675b Use new travis infrastructure
Setting `sudo: false` will use the new docker based infrastructure of
TravisCI. See these docs for more information:
http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
2015-07-20 17:06:48 +02:00
Eric Holscher fad2c311ee Clean up promo JS 2015-07-16 14:52:08 -07:00
Eric Holscher e6813a6067 Merge pull request #1439 from pastephens/master
Misspelled word.
2015-07-15 10:56:58 -07:00
Philip Stephens e0eee7fe2c Misspelled word. 2015-07-15 10:54:58 -07:00
Eric Holscher bf20b6d70c Merge pull request #1418 from rtfd/import_project_from_live-debugging-command
Adding import_project_from_live command for debugging
2015-07-14 18:50:26 -05:00
Eric Holscher 69fe15bb56 Merge pull request #1380 from rtfd/fix-language-links-on-cname-projects
Fix language links on cname projects
2015-07-14 18:43:07 -05:00
Eric Holscher 99ac7109bb Fix a subset of login_required views.
Thanks for Gregor Müllegger for the patch.
2015-07-13 16:59:03 -05:00
Eric Holscher ac58695772 Merge pull request #1431 from rtfd/disable-link-to-pdf-builds-in-footer
Disable link to pdf/epub builds in footer if appropriate
2015-07-13 11:55:39 -05:00
Eric Holscher 8cc719e533 Merge pull request #1429 from rtfd/update-virtualenv-and-setuptools-in-buildenvs
Update virtualenv and setuptools in doc build envs
2015-07-13 11:53:19 -05:00
Gregor Müllegger 86a6236649 Test pdf/epub download links in doc footer. 2015-07-13 11:34:14 +02:00
Gregor Müllegger ac869c3eb7 Project.has_pdf shall return False if enable_pdf_build=False 2015-07-13 11:34:14 +02:00
Gregor Müllegger 7470617c5d Test Project.has_pdf 2015-07-13 11:34:14 +02:00
Gregor Müllegger 84f87f33ed Add fake_paths_by_regex
We will need this later for testing has_pdf and has_epub.
2015-07-13 11:34:13 +02:00
Gregor Müllegger 209f9fb868 Refactor fake_paths to be very generic and introduce fake_paths_lookup
That will allow us easier derivatives of the fake_paths function.
2015-07-13 11:34:13 +02:00
Gregor Müllegger 7ba2f7ff2e Move fake_paths mock to more generic place in rtd_tests.mock.paths 2015-07-13 10:28:39 +02:00
Gregor Müllegger df7b5d4cc2 Updating virtualenv and setuptools in doc build envs.
We updated the virtualenv in requirements/pip.txt for #1426. However that
did only touch the virtualenv of readthedocs, not the ones of the builds. So
updating it with this change.

Fixes #1428.
2015-07-13 09:42:04 +02:00
Eric Holscher d0d23dee8a Fix badges 2015-07-12 12:17:46 -05:00
Eric Holscher eb265b3f3d Remove mention of mailing list, since we don't support it currnetly. 2015-07-12 12:17:11 -05:00
Eric Holscher c38e850db4 Upgrade virtualenv to 13.1.10 -- Fixes #1426. 2015-07-12 12:07:49 -05:00
Anthony 75172f7dc1 Merge pull request #1421 from rtfd/build-indexes
Add indexes to builds table
2015-07-11 23:51:01 -07:00
Anthony Johnson 5ee3f2ba08 Add indexes to builds table
This is a query that we see a lot of database contention on, it should have
indexes to speed up lookups.
2015-07-09 14:28:17 -07:00
Eric Holscher 02d69fa8f1 Return proper unknown badge 2015-07-09 14:17:07 -07:00
Eric Holscher eccdace9e8 Hack badges for now 2015-07-09 14:13:44 -07:00
Eric Holscher 3dce95ba8f Disallow build pages 2015-07-09 13:54:36 -07:00
Eric Holscher d873efacde Use https for badges 2015-07-09 09:15:26 -07:00
Eric Holscher 6531a5347a Redirect badges for now 2015-07-09 09:08:11 -07:00
Eric Holscher 45cb990ef4 Remove bookmarks from dashboard 2015-07-09 08:56:32 -07:00
Gregor Müllegger 2033b3acde Adding import_project_from_live command. Mainly useful for debugging. 2015-07-09 11:14:39 +02:00
Anthony 0a82c330d5 Merge pull request #1413 from rtfd/db-promo
Add a small SupporterPromo model for showing promos
2015-07-07 12:43:44 -07:00