Commit Graph

9146 Commits (a0a2b26c74e45b0944fff28b7abb88630baad3e4)

Author SHA1 Message Date
David Fischer a0a2b26c74
Allow enforcing HTTPS for custom domains 2018-08-06 15:15:00 -07:00
David Fischer ae9a6d3c5a
Merge pull request #4425 from rtfd/davidfischer/alternate-domains-docs-update
Update alt domains docs with SSL
2018-08-06 12:03:53 -07:00
Anthony 6f02839bfa
Add SNI support for API HTTPS endpoint (#4423)
* Add SNI support for API HTTPS endpoint

This allows us to use a production internal loadbalancer without forcing
`readthedocs.org` resolves to the internal loadbalancer.

* Fix multiple adapter issue, add better mount point
2018-08-02 12:49:44 -06:00
Santos Gallegos 5be4cd1a62 V2 of the configuration file (#4355)
* Add tests for formats

* Fix tests

* Fix test

* Add tests for conda

* Add tests for build

* Fix test

* Use new interface

* Add tests for python

* Add tests for sphinx

* Add tests for mkdocs

* Add tests for submodules

* Fix tests

* Add tests for `install_project` default

* Add tests for formats default

* Add tests for use_system_packages default

* Add tests for requirements_file default

* Fix tests

* Fix tests

* Tests for docker_image default

* Allow strings and numbers in python.version

* Test stable image

* Fix tests

* Add more validators

* Validate formats and conda

* Implement build

* Fix tests

* More strict validation for lists

* Add python validation

* Fix tests

* Implement validate_python

* Fix tests

* Implements mkdocs

* Fix tests

* Implement validate_submodules

* Linter

* Update submodule

* Validates doc types

* Docstrings

* Update submodule

* Add configurations for new docker images

* Skip test

* Linter

* Rename BuildConfig -> BuildConfigV1

* Add version class selector

* Merge the config_path fro db

* Check for exception

* Refactor

* Update python supported versions

* Remove valid_python_versions

* Fix python key

* Condense block

* Formatting

* Autocommit

* Autocommit

* Autocommit

* Ignore pylint warning

* Fix tests

Some defaults (vaues from the db) are ignored.

* Ignore some values from the db

* Remove unused keys from v1

This ones have a replace in v2

* Add feature flag for configuration file (v2)

* Include sphinx.builder to schema

* Add tests for sphinx.builder key and doctype config property

* Fix tests

* Check for sphinx.builder

* Update test

* Pass doctype to defaults

* Rename sphinx builder option to html
2018-08-02 11:10:40 -06:00
Eric Holscher 42cd557347
Merge pull request #4430 from rtfd/davidfischer/manifest-storage-update
Updates to manifest storage
2018-08-02 10:28:26 +02:00
David Fischer 8982115f8d
Remove the ManifestStorage
- This will be added to -ext
2018-08-01 13:22:58 -07:00
David Fischer 9af5d56767
Merge pull request #4414 from rtfd/davidfischer/apiv2-active-versions
Allow filtering versions by active
2018-08-01 11:17:45 -07:00
David Fischer 870965b573
Merge pull request #4436 from rtfd/davidfischer/community-ad-qualifications
Add some details around community ad qualifications
2018-08-01 11:16:31 -07:00
Manuel Kaufmann b04b11298f
Merge pull request #4439 from rtfd/humitos/import/typo
Typo
2018-07-30 10:13:21 -03:00
Manuel Kaufmann f44e3dbd92 Typo 2018-07-27 10:52:02 -03:00
David Fischer c8c4717775
Add some details around community ad qualifications 2018-07-26 11:31:41 -07:00
Eric Holscher be1912e4ea
Merge pull request #4415 from rtfd/davidfischer/cleanup-api-v1
API v1 cleanup
2018-07-26 17:15:14 +01:00
David Fischer 6d7a452d33
Remove production setting from base settings 2018-07-25 15:45:51 -07:00
David Fischer df8972d60a
Fix lint issue 2018-07-25 15:45:17 -07:00
David Fischer 1f55b3a89d
Updates for the manifest storage
- Fix missing file references with a symlink
- Fix missing font
2018-07-25 12:21:47 -07:00
Eric Holscher c0595c1e52 Update STATICFILES_STORAGE for testing 2018-07-25 14:59:34 +01:00
Eric Holscher 94cab0c13d Build storage with Azure & HashedFilesMixin 2018-07-25 14:58:59 +01:00
David Fischer f233d4f371
Update alt domains docs with SSL 2018-07-24 13:34:09 -07:00
David Fischer 5f6e9d4042
Add note about field removal to the docs 2018-07-23 16:28:58 -07:00
David Fischer 81f1fb6dbf
Remove some user private information from API v1 2018-07-23 16:03:52 -07:00
David Fischer 2b19b4a893
Add a test for filtering 2018-07-23 15:15:26 -07:00
David Fischer 5d6100678c
Allow filtering versions by active 2018-07-23 14:14:46 -07:00
Manuel Kaufmann 8a34164f73
Merge pull request #4373 from rtfd/humitos/command/update_repos
Check for 'options' in update_repos command
2018-07-23 16:20:44 -03:00
Richard Littauer 45a5944e80
Merge pull request #4410 from mlncn/patch-1
Fix broken link
2018-07-23 09:18:05 -04:00
Benjamin Melançon 18e7888ad6
Change read/writethedocs.org URLs to https
Didn't change others at this time; sphinx-doc.org for instance doesn't yet support https
2018-07-20 20:03:05 -04:00
Benjamin Melançon 621c2ae5df
Fix broken link
All of docs.writethedocs.org gives access denied, but the content can be found at www.writethedocs.org
Someone with contacts at writethedocs.org should recommend they redirect docs to www in addition though; there's probably lots of other links out there.
2018-07-20 18:01:50 -04:00
Manuel Kaufmann 9a5f019a4c Make `get_version` usable from a specified path (#4376)
* Make `get_version` usable from a specified path

* Adapt analytics code to get the version from __version__
2018-07-19 19:23:41 -06:00
David Fischer 1b43ee4a7d Add steps for individual ad blockers (#4406) 2018-07-19 19:15:52 -06:00
David Fischer 67dfae9de7
Merge pull request #4404 from rtfd/davidfischer/ga-client-id
Add client ID to Google Analytics requests
2018-07-19 11:41:53 -07:00
David Fischer e506648fd8
Merge pull request #4390 from rtfd/davidfischer/project-proxy-model-bug
Fix a proxy model bug related to ad-free
2018-07-18 16:55:30 -07:00
Eric Holscher 1103473559
Merge pull request #4398 from italia/fixprojectindextagfilter
projects: fix filtering in projects_tag_detail
2018-07-18 15:26:13 +02:00
Riccardo Magliocchetti d981d0b76e projects: fix filtering in projects_tag_detail
Projects are filtered by tag slug and not tag name.
2018-07-18 11:56:19 +02:00
David Fischer cd56a9cf6f
Equals -> equal 2018-07-17 19:53:58 -07:00
David Fischer efc3fb02ea
Updates based on feedback 2018-07-17 17:19:48 -07:00
David Fischer 03e4bd8ae5
Correctly initialize and test APIProject data 2018-07-17 16:36:38 -07:00
David Fischer 531b1d82f2
Fix a proxy model bug related to ad-free 2018-07-17 12:25:32 -07:00
Manuel Kaufmann 6dbf1c1b2e Release 2.6.1 (#4389) 2018-07-17 12:52:50 -06:00
David Fischer 070c322c32
Merge pull request #4379 from stsewd/fix-base-path-config-v1
Set full `source_file` path for default configuration
2018-07-17 11:21:48 -07:00
David Fischer bb3c353b22
Merge pull request #4387 from rtfd/davidfischer/ad-free-nag-fix
Do not access database from builds to check ad-free
2018-07-17 11:20:55 -07:00
David Fischer a6fa012100
Merge pull request #4375 from rtfd/humitos/sentry/tags
More tags when logging errors to Sentry
2018-07-17 11:20:35 -07:00
David Fischer 38059edc14
Do not access database from builds to check ad-free
- Return "show_advertising" in the API
- Fallback to a property on the model
2018-07-17 10:20:09 -07:00
David Fischer 37b6032e90
Add client ID to Google Analytics requests 2018-07-17 09:36:29 -07:00
Manuel Kaufmann 9abfc043a2
Merge pull request #4385 from rtfd/humitos/config/test
Adapt YAML config integration tests
2018-07-17 12:52:13 -03:00
Manuel Kaufmann 1f8351b593 Adapt YAML config integration tests
Use `__init__.py` instead of `urls.py` since the init file is more
likely to exist than the other one.

This is required to import these tests into the corporate site where
the `urls.py` doesn't exist and all these tests fail because of that.
2018-07-17 12:38:54 -03:00
Santos Gallegos 2dbb2ad923 Set full source_file path 2018-07-16 22:59:10 -05:00
David Fischer ebf0987fc8 Release 2.6.0 (#4377) 2018-07-16 16:22:51 -06:00
Manuel Kaufmann 1fd676e3af Style with pre-commit command 2018-07-16 16:54:13 -03:00
Manuel Kaufmann 0c17b42e56 Check for 'options' in update_repos command
Fix bug introduced in https://github.com/rtfd/readthedocs.org/pull/4345
2018-07-16 16:53:05 -03:00
David Fischer 09f19a4b72
Merge pull request #4329 from rtfd/davidfischer/no-nag-for-adfree-projects
Disable the ad block nag for ad-free projects
2018-07-16 10:28:46 -07:00
David Fischer 2d95d21ef1
Merge pull request #4344 from rtfd/davidfischer/build-admin-improvements
Improvements for the build/version admin
2018-07-16 10:26:47 -07:00