Commit Graph

8442 Commits (d705f6c0bde0a10f95e1439d81ff3d1bc07cafb1)

Author SHA1 Message Date
David Fischer 15c9d673ac
Push the alabaster ad down even more 2018-04-02 14:35:05 -07:00
David Fischer fc2b0c764d
Fix an Alabaster positioning issue 2018-04-02 12:26:22 -07:00
Manuel Kaufmann 393e31ad3a Save Docker image hash in RTD environment.json file (#3880)
* Save docker image hash to consider when auto wiping the environment (#3793)

* Remove obsolete code

Now, we can access `self.config.build_image` directly.

* Move container_image selection to the init

At initialization time we have the project and we already know if the
project has the build image override so we can decide at that point
and save it as a instance attribute.

Then we can use this values from other places inside the same class.

* Save Docker Image hash in readthedocs-environment.json

The hash is used to know if the environment is obsolete and auto-wipe
it if necessary.

* Simplify the class naming

* Save the image hash in the json file

* Lint

* Remove invalid properties from YAML config in tests

* Add test for save_environment_json

* Improve docstring

* Handle obsolete cases better

* when the file is corrupted or we don't have access, we return that
  it's OBSOLETE

* when there is a new setting that we need to compare and it's not in
  the JSON file, we return OBSOLETE

* Test case for build image in the config but not in the JSON
2018-03-30 18:22:52 -06:00
Anthony 7aa6f4d41a
Use gitpython to find a commit reference (#3843)
* Use gitpython to find a commit reference

Fixes #3842

* Add more exception handling

* Fix issue with a merge
2018-03-29 17:51:48 -06:00
Anthony 873108be03
Fix up some of the logic around repo and submodule URLs (#3860)
* Fix up some of the logic around repo and submodule URLs

* Add conditional logic for submodule relative urls
* Break down logic a bit more
* Add test case for relative url submodule
* Broke test case for invalid url submodule

Fixes #3857

* Lint fix
2018-03-29 17:00:56 -06:00
Raju Jha 4b2832535f #3718: Added date to changelog (#3788)
* #3718: Added date to changelog

* modified for proper reST use
2018-03-29 10:23:58 -06:00
Eric Holscher 2fd1958336
Merge pull request #3872 from rajujha373/typo-correction
Typo correction in docs/features.rst
2018-03-29 18:38:59 +07:00
Riccardo Magliocchetti 216578ca56 templates: mark a few more strings for translations 2018-03-28 17:58:20 +02:00
Eric Holscher af4e06ddbf
Merge pull request #3868 from gaborbernat/tox
add description for tox tasks
2018-03-28 17:41:54 +07:00
Bernat Gabor 4e43cafada
add description for tox tasks
For example:
default environments:
py27     -> run test suite for the application with python2.7
py36     -> run test suite for the application with python3.6
lint     -> run linter (prospector) to ensure the source code
corresponds to our coding standards
docs     -> build readthedocs documentation

additional environments:
coverage -> run test suite with code coverage for the application with
/usr/bin/python
eslint   -> run the JavaScript linter (requires gulp installed)
2018-03-28 11:15:55 +01:00
Raju Jha f10e7459e4 deleted unintended file 2018-03-27 16:55:37 +05:30
Raju Jha ca6bcd1ad1 corrected typo in features.rst 2018-03-27 16:52:24 +05:30
Raju Jha 53f4124693 updated official links for JDK 2018-03-27 15:00:34 +05:30
Raju Jha 84aea29b6d added links for installation of JDK 2018-03-27 14:58:16 +05:30
Raju Jha 54cc39f166 written guide for elasticsearch 2018-03-27 14:58:16 +05:30
Eric Holscher adb5392c47
Merge pull request #3862 from davidfischer/sustain-cors-hotfix
Another CORS hotfix for the sustainability API
2018-03-27 11:40:21 +07:00
Santos Gallegos d482c89116 Merge branch 'master' into fix-requirements-file-lookup 2018-03-26 23:29:37 -05:00
Santos Gallegos 636d487455 Merge branch 'master' into fix-requirements-file-lookup 2018-03-26 23:22:05 -05:00
David Fischer f2ac3cc3aa
Another CORS hotfix for the sustainability API 2018-03-26 21:07:13 -07:00
Anthony Johnson f4e645dcd5
Release 2.3.4 2018-03-26 18:46:06 -06:00
Anthony Johnson 735a633d60
Update static assets 2018-03-26 17:54:16 -06:00
Anthony Johnson bed1828de3
Release 2.3.3 2018-03-26 17:22:12 -06:00
Anthony Johnson d8f603c1a4
Revert "Save docker image hash to consider when auto wiping the environment (#3793)"
This reverts commit 7ac7dfc88f.
2018-03-26 17:14:14 -06:00
Santos Gallegos a0790e446a Show redirects on separate lines 2018-03-26 14:06:48 -05:00
Santos Gallegos 0e3f18ed39 Add trailing / 2018-03-26 14:06:48 -05:00
Santos Gallegos ae80fe9f6d Add to_url for prefix redirect 2018-03-26 14:06:48 -05:00
Santos Gallegos b0056cf080 Linter 2018-03-26 14:06:48 -05:00
Santos Gallegos bc6331ba4d Show URLS for exact redirect
Fix #2431
2018-03-26 14:06:48 -05:00
Tahzib Mashrik 235febffe9 bug fix 2018-03-27 00:45:29 +06:00
Tahzib Mashrik b3a133017a rebase and other fix 2018-03-27 00:45:29 +06:00
Tahzib Mashrik bf88c3930c make clear persistent message every three hours 2018-03-27 00:45:29 +06:00
tm 588b1520bc set day of week for crontab 2018-03-27 00:45:29 +06:00
Tahzib Mashrik 00639f6d88 [#2967] Scheduled tasks for cleaning up messages 2018-03-27 00:45:29 +06:00
David Fischer 5a3938580d
Merge pull request #3813 from davidfischer/remove-pinned-cssselect
Remove pinned CSS Select version
2018-03-26 11:34:53 -07:00
David Fischer dcd998b8d9
Merge branch 'master' into remove-pinned-cssselect 2018-03-26 11:22:17 -07:00
David Fischer 7125a88d8d
Merge pull request #3855 from davidfischer/fix-linting-errors
Fix linting errors in tests
2018-03-26 11:12:12 -07:00
David Fischer 6d32b25920
Fix linting errors in tests 2018-03-26 10:54:02 -07:00
David Fischer 4b3fd71370
Merge branch 'master' into remove-pinned-cssselect 2018-03-26 10:11:16 -07:00
David Fischer ca35951ab5
Merge pull request #3789 from davidfischer/sustainability-api-jsonp
Use JSONP for sustainability API
2018-03-26 10:09:02 -07:00
ze 267583935f Update quickstart from README 2018-03-24 22:39:41 -04:00
Manuel Kaufmann 7b8efe3309 Fix linting issues (#3838)
* Fix linting issues

* Small lint fix
2018-03-24 01:14:23 -06:00
Anthony Johnson 8a34d5e932
Add validation for submodule URLs as well 2018-03-24 01:10:13 -06:00
Manuel Kaufmann d6a51a487b
Check submodule URLs integrity using gitpython
Use the same RepositoryURLValidator class for all the submodule URLs
before performing the sync/update/checkout of them.
2018-03-24 00:16:19 -06:00
Santos Gallegos f3c0c0aa33 Fix regex for public bitbucket repo (#3533)
* Add regex for public bitbucket repositories

* Simplify regex

* Update tests for public repositories
2018-03-23 13:21:39 -06:00
Santos Gallegos 2d6d2a00fe Show link to docs on a build (#3446)
* Show link to docs on a build

* Revert e54401d

* Add view docs link to the right float area
2018-03-23 13:04:33 -06:00
Santos Gallegos 507b714caf Reset mock last test 2018-03-23 13:01:55 -05:00
Santos Gallegos 28c8a0bd30 Merge branch 'master' into fix-requirements-file-lookup 2018-03-23 12:52:19 -05:00
Manuel Kaufmann c5d102a4b1 Documentation for RTD context sent to the Sphinx theme (#3490)
* Documentation for RTD context sent to the Sphinx theme

* Fix index

* Added version downloads

* Add `pk` and `resource_uri` to be able to retrieve fresh data

* Typos and grammar fixes

* Improve context

* build_date
* HATEOAS for resources

* Add v1 namespace and better explanation about static/dynamic data

* Update context to follow APIv2 reponses

Examples:

* http://readthedocs.org/api/v2/project/{id}/
* http://readthedocs.org/api/v2/version/{id}/

* Add subprojects inside project

* SVN as an option

* Docs: Correct small typo

* Add comment saying where this context comes from

* Re-add VCS documentation file

* Move proposal design under `docs/design/` directory

* Cleanup extra spaces

* Add note about the new design for the theme context

* Update the index
2018-03-23 11:47:25 -06:00
Manuel Kaufmann 3c674f05ad Use readthedocs-common to share linting files accross different repos (#3808)
* Remove shared autolint config files

* readthedocs-common submodule added

* Add proper symlinks to all the shared linting config

* Update submodule for unhidden files

* Recover prospector-more.yml since it's specific for this repo
2018-03-23 11:42:58 -06:00
Santos Gallegos 029c0785e7 Reuse pip install args 2018-03-23 12:42:12 -05:00