Commit Graph

11242 Commits (master)

Author SHA1 Message Date
saadmk11 5390b12204 Fix 2019-02-24 02:53:36 +06:00
saadmk11 2498ebf99b Remove all warnings from pytest 2019-02-24 02:37:21 +06:00
dojutsu-user a9bdb460a3 Increase path to 4096 character 2019-02-23 20:39:06 +05:30
saadmk11 b23f36df03 improvement on inserting mkdocs media 2019-02-23 18:44:43 +06:00
Santos Gallegos f07c519cfe Isort 2019-02-22 11:58:45 -05:00
Santos Gallegos b2d248ab1c Initialize local variable before using it
If the try..except block fails and there is not
results, we end up with `updated` undefined.
2019-02-22 11:57:44 -05:00
Eric Holscher 86bfdffaee
Merge pull request #5338 from stsewd/require-file-when-using-conda
Require conda.file when using conda in v1
2019-02-22 10:49:09 -03:00
dojutsu-user 9f78545682 remove deprecated code 2019-02-22 18:26:07 +05:30
Eric Holscher 26f31f0d5c
Merge pull request #5336 from stsewd/update-settigns-docs
Remove unused setting
2019-02-22 08:03:09 -03:00
Santos Gallegos 0b25cd8fec Fix tests 2019-02-21 20:31:08 -05:00
Santos Gallegos 9506b9f298 Require conda.file when using conda in v1
Some people are migrating from pip to conda,
but they were using a v1 config,
then when migrating they are using the conda option from v2.

We are not validating this, but using conda.file is mandatory
when using the conda option (or rtd will fail without any reason).

Close #5322
Close #5228
2019-02-21 20:13:59 -05:00
Santos Gallegos 17c770afe2 Remove unused setting 2019-02-21 17:07:56 -05:00
dojutsu-user b206c70285 add more tests 2019-02-21 23:04:44 +05:30
Vaibhav Gupta a0659c5b7e
Merge branch 'master' into admin-action-for-version 2019-02-21 22:48:40 +05:30
David Fischer 8f2b320f3d
Consistency in the environment variables 2019-02-21 08:56:36 -08:00
Eric Holscher ed8dd29a68
Merge pull request #5326 from stsewd/protect-against-api-failure
Don't depend on specific data when catching exception
2019-02-21 07:38:42 -03:00
Manuel Kaufmann 55105bbf5e
Merge pull request #5329 from stsewd/fix-comment
Fix comment
2019-02-21 11:17:15 +01:00
Santos Gallegos 62b3f98511 Fix comment 2019-02-20 22:57:33 -05:00
David Fischer 1094e782f4
Re-add the management command for importing via API 2019-02-20 16:27:06 -08:00
Santos Gallegos 8376557b99 Add comment 2019-02-20 17:50:11 -05:00
Santos Gallegos e70f73b2c0 Don't depend or specific data
We are catching all exceptions here,
but we are depending on self.project and self.version
be correctly returned from the api.
This doesn't always happens, and it's raising another error.
2019-02-20 17:32:04 -05:00
Maksudul Haque 3218c808e8 #4036 Updated build list to include an alert state (#5222)
* Updated build list to include an alert state

* Docstring issue fixed.

* Template filter name changed.

* Logic Moved to Models

* Lint issue Fixed.
2019-02-20 14:03:21 -07:00
Manuel Kaufmann 5978dcfde0
Merge pull request #5320 from regisb/regisb/fix-clean_builds-argument
Fix "clean_builds" command argument parsing
2019-02-20 20:49:04 +01:00
Manuel Kaufmann 2adee183a6 Use query attribute to (not)show the config object on build details 2019-02-20 12:35:39 +01:00
Manuel Kaufmann b2e5ae5ad9 More endpoints 2019-02-20 12:26:26 +01:00
Eric Holscher e43c8b4e37
Merge pull request #5314 from rtfd/humitos/docs-search-tests
Warning note about running ES locally for tests
2019-02-20 07:49:36 -03:00
Régis Behmo 3f72d4a7db Fix "clean_builds" command argument parsing
Currently, the `clean_builds` command crashes with a "ValueError: 'int'
is not callable" exception.
2019-02-20 11:25:45 +01:00
Manuel Kaufmann e3fedef35f
Merge pull request #5313 from rtfd/humitos/docs-tests
Update documentation on running test for python environment
2019-02-20 09:23:20 +01:00
Santos Gallegos 2f6fe90b1d Cleanup a little documentation_type from footer
This doesn't remove documentation_type completely from
the footer, but makes it more clear what we are really using.

We don't use `readthedocssinglehtml` as proven in https://github.com/rtfd/readthedocs-sphinx-ext/pull/58
We don't set `page` for mkdocs projects: f1c15d4f22/readthedocs/doc_builder/backends/mkdocs.py (L207-L207)

Ref #4638
2019-02-19 19:23:59 -05:00
Manuel Kaufmann 8935ec6d28 Warning note about running ES locally for tests 2019-02-19 23:21:51 +01:00
Manuel Kaufmann bd05b4a052 Update documentation on running test for python environment 2019-02-19 23:15:44 +01:00
Manuel Kaufmann 0dff2d33f5 Some fixes 2019-02-19 23:13:44 +01:00
Manuel Kaufmann 208562c769 Link APIv3 2019-02-19 22:18:31 +01:00
Manuel Kaufmann 4e7aa34fac Fix renamed document 2019-02-19 22:17:45 +01:00
Manuel Kaufmann f30d7197ee Add CSRF abbr 2019-02-19 22:17:32 +01:00
Manuel Kaufmann aa095fe56a Use explicit roles names 2019-02-19 22:02:47 +01:00
Manuel Kaufmann f1c15d4f22
Merge pull request #5122 from rtfd/humitos/sitemap-xml
Generate general sitemap.xml for projects
2019-02-19 22:01:34 +01:00
Manuel Kaufmann d9019827a8
Merge pull request #5118 from rtfd/humitos/logging-exceptions-rework
Logging exceptions rework
2019-02-19 22:00:54 +01:00
Manuel Kaufmann 88cffda94a
Merge pull request #5186 from rtfd/humitos/use-unicode-slugify
Use unicode-slugify to generate Version.slug
2019-02-19 22:00:23 +01:00
Manuel Kaufmann 95f48f3c92 Remove `last_build` from Project response 2019-02-19 21:42:24 +01:00
Manuel Kaufmann 400e837416 Make all JSON valid so they get colorized 2019-02-19 21:19:05 +01:00
Manuel Kaufmann e2c9bf31d5 Use "links" to make extra useful URLs available from objects 2019-02-19 20:56:51 +01:00
Manuel Kaufmann cce0d0f430 Remove deprecated field 2019-02-19 20:56:51 +01:00
Manuel Kaufmann 92a93453a2 Version listing endpoint 2019-02-19 20:56:51 +01:00
Manuel Kaufmann ca091c67c0 Request examples and required headers 2019-02-19 20:56:51 +01:00
Manuel Kaufmann e637bdb02f Rework after core team decisions 2019-02-19 20:56:51 +01:00
Manuel Kaufmann 87c67c3b48 Update common submodule 2019-02-19 20:56:51 +01:00
Manuel Kaufmann 4c0cee115f Design document for APIv3 to discuss 2019-02-19 20:56:51 +01:00
Manuel Kaufmann b9775ddc3f Footer endpoint 2019-02-19 20:56:51 +01:00
Manuel Kaufmann b3b00d7c7f Remove field 2019-02-19 20:56:51 +01:00