Cristi Vîjdea
1fe8c2c03c
Add 1.12.1 changelog
2018-12-28 16:26:17 +02:00
Cristi Vîjdea
b8512bda8e
Fix call_view_method warnings for view classes
2018-12-28 16:20:37 +02:00
Cristi Vîjdea
2bc9addc99
Fix crash with empty generator class name
2018-12-28 09:34:54 +02:00
Cristi Vîjdea
6df2362156
Use DEFAULT_VERSION in management command
2018-12-28 01:37:17 +02:00
Cristi Vîjdea
e5a569ebf7
Add extension points to management command
2018-12-28 01:37:13 +02:00
Cristi Vîjdea
470c993b98
Update ReDoc to 2.0.0-rc.0
2018-12-25 18:23:19 +02:00
Cristi Vîjdea
667c9c1002
Add supported versions note
2018-12-24 07:57:50 +02:00
Cristi Vîjdea
8b0da2607f
Add pretty and media_type options to codecs
2018-12-24 07:55:17 +02:00
Cristi Vîjdea
d2cc0a348c
Adjust dummy version
2018-12-23 19:29:07 +02:00
Cristi Vîjdea
f020cbd99e
Add 1.12.0 changelog
2018-12-23 19:17:25 +02:00
Cristi Vîjdea
68400386d3
Update swagger-ui to 3.20.4
2018-12-23 18:44:31 +02:00
Cristi Vîjdea
7ce62616d2
Re-add test for DELETE form param
2018-12-23 18:28:13 +02:00
Cristi Vîjdea
bebcc982e6
Call APIView get_ methods instead of direct attribute access
...
queryset -> get_queryset
renderer_classes -> get_renderers
parser_classes -> get_parsers
2018-12-23 18:19:45 +02:00
Cristi Vîjdea
04d61b9d97
Log errors details of SwaggerValidationError
2018-12-23 15:33:55 +02:00
Cristi Vîjdea
b15535995f
Add assertion against TYPE_ARRAY with no items
2018-12-23 15:32:06 +02:00
Cristi Vîjdea
dd5965fa92
Fix tuple types in sphinx docstrings
2018-12-21 18:18:58 +02:00
Cristi Vîjdea
bfd13668cc
Fix deprecation warnings
2018-12-21 16:07:48 +02:00
Cristi Vîjdea
01391ca9eb
Remove comment links to Django 1.11 docs
2018-12-21 15:55:23 +02:00
Cristi Vîjdea
86ac276449
Fix some version constraints
2018-12-21 15:55:03 +02:00
Cristi Vîjdea
66026d3483
Fix lint errors
2018-12-21 15:07:38 +02:00
Cristi Vîjdea
db61c39ab1
Fix union types in sphinx docstrings
2018-12-21 15:04:25 +02:00
Cristi Vîjdea
f77672875d
Add /admin/ and /o/ urls to test urlconfs
2018-12-21 12:58:41 +02:00
Cristi Vîjdea
8057ce7a4a
Detect missing setuptools-scm in setup.py
2018-12-21 12:44:27 +02:00
Cristi Vîjdea
3b31c54b9e
Add get_security_definitions and get_security_requirements hooks
2018-12-21 12:40:45 +02:00
Cristi Vîjdea
de950461c7
Fix absolute urls for swagger-ui oauth settings
2018-12-21 12:40:31 +02:00
Cristi Vîjdea
9d933a9745
Really fix django-oauth-toolkit version
...
This is the simplest way to keep all test configurations happy...
ref 85db6c9d79
2018-12-21 02:13:59 +02:00
Cristi Vîjdea
a9ec14620c
Fix security definitions ordering consistency
2018-12-21 02:04:15 +02:00
Cristi Vîjdea
5418415300
Remove bad NoneType usage
2018-12-21 01:39:29 +02:00
Cristi Vîjdea
494d422bf4
Update swagger-ui to 3.20.3
2018-12-21 01:36:37 +02:00
Cristi Vîjdea
85db6c9d79
Fix django-oauth-toolkit python version dependency
...
django-oauth-toolkit 1.1 is the last version to support Python 2.7/Django 1.11
Source: https://github.com/jazzband/django-oauth-toolkit/issues/579
2018-12-21 01:31:05 +02:00
Cristi Vîjdea
b385228f7d
Add mock OAuth2 provider to testproj
2018-12-21 01:07:11 +02:00
Cristi Vîjdea
bbed2acf06
Handle lazy() proxies in user-supplied objects
2018-12-21 01:07:10 +02:00
Cristi Vîjdea
0c38c30020
Fix extra quotes in docs
2018-12-21 01:07:10 +02:00
Cristi Vîjdea
a7d3066677
Create testproj default user in data migration
2018-12-21 01:07:10 +02:00
Cristi Vîjdea
e98876bb38
Fix import errors in quickstart
...
Fixes #277 .
Closes #278 .
Fixes #279 .
2018-12-19 23:51:53 +02:00
Cristi Vîjdea
8974aa5734
Merge pull request #276 from axnsan12/pyproject-pep518
...
Add pyproject.toml (implement PEP517 and PEP518)
2018-12-19 23:49:55 +02:00
Cristi Vîjdea
5652d2a04d
Manually install setuptools-scm for Travis deploy
...
This only works because we still mostly use default build configuration of setuptools and wheel, so we don't really depend on PEP517 builds, only PEP518 build requirements.
2018-12-19 22:19:24 +02:00
Cristi Vîjdea
cf4106f8f7
Use twine check instead of setup.py check
2018-12-19 21:46:49 +02:00
Cristi Vîjdea
a24070446a
Also update setuptools with pip
2018-12-19 21:46:49 +02:00
Cristi Vîjdea
1fc454fcfa
Enable isolated_build for tox
...
This enables tox support for PEP517 and PEP518.
2018-12-19 21:46:48 +02:00
Cristi Vîjdea
789f118532
Update Heroku runtime to Python 3.7.1
2018-12-19 20:30:02 +02:00
Cristi Vîjdea
1946a1204d
Remove requirements/setup.txt and setup_requires
2018-12-19 20:29:42 +02:00
Cristi Vîjdea
930f3825d7
Improve installation walkthroughs
2018-12-19 20:22:06 +02:00
Cristi Vîjdea
dfd2bcabf2
Add build-system requirements to pyproject.toml
...
PEP518 added an alternative way to specify setup_requires before executing the setup.py script.
2018-12-19 20:22:06 +02:00
Cristi Vîjdea
4e4cd75fc4
Remove redundant getattr
2018-12-19 20:22:05 +02:00
Cristi Vîjdea
7548a42a9b
Add empty pyproject.toml
...
Apparently this fixes `pip install -e .`?!?
https://stackoverflow.com/a/53698424/3194671
2018-12-19 20:22:05 +02:00
Cristi Vîjdea
e182ab65ea
Add x-nullable to paginator response fields
...
Closes #263 .
2018-12-19 20:22:05 +02:00
Cristi Vîjdea
f8e9fd6327
Prefix localStorage keys with current pathname
...
This avoids collisions between multiple instance of drf-yasg on the same domain.
Fixes #269 .
2018-12-19 19:15:38 +02:00
Cristi Vîjdea
c5d4e6ca53
Do not generate form parameters for read_only serializer fields
...
Fixes #261 .
2018-12-19 03:22:43 +02:00
Cristi Vîjdea
eeb1bba9e7
Refactor summary and description processing
...
Merge get_summary and get_description into get_summary_and_description.
2018-12-19 03:05:32 +02:00
Cristi Vîjdea
852742baa9
Remove bad test case
2018-12-12 16:43:19 +02:00
Cristi Vîjdea
5b07b9dd40
Ignore exit status of coverage combine
2018-12-12 15:01:58 +02:00
Cristi Vîjdea
306e53461d
Fix lint errors
2018-12-12 15:01:58 +02:00
Cristi Vîjdea
1d9387d8e5
Fix test name description
2018-12-12 12:46:04 +02:00
Cristi Vîjdea
1f95f4098b
Don't allow form parameters with non-form consumes
...
Closes #270 .
2018-12-12 12:43:33 +02:00
Cristi Vîjdea
acfb0c5442
Remove default xdist argument to pytest
2018-12-12 12:21:16 +02:00
Cristi Vîjdea
543a1ade5e
Test with Django REST Framework 3.9
2018-12-11 23:25:16 +02:00
Cristi Vîjdea
f587785eb4
Update Heroku python version
2018-11-29 02:39:32 +02:00
Cristi Vîjdea
161a2e1b89
Ignore schizophrenic flake8 error
2018-11-29 02:24:03 +02:00
Cristi Vîjdea
a2bf515cc9
Revert "Fix lint errors"
...
This reverts commit 9f60dc191a .
2018-11-29 02:23:31 +02:00
Cristi Vîjdea
10a32f977c
Add 1.11.1 changelog
2018-11-29 02:18:58 +02:00
Cristi Vîjdea
6b5022cd7d
Use some more coreschema attributes in CoreAPICompatInspector
...
Closes #212 .
Closes #233 .
2018-11-29 02:12:32 +02:00
Cristi Vîjdea
708e70a526
Use collectionFormat=multi for MultiChoiceField in query and formData
...
Fixes #257 .
2018-11-29 01:38:40 +02:00
Cristi Vîjdea
9f60dc191a
Fix lint errors
2018-11-29 01:27:27 +02:00
Cristi Vîjdea
a2b35f3363
Update swagger-ui to 3.20.1 and ReDoc to 2.0.0-alpha.41
2018-11-29 01:22:49 +02:00
Cristi Vîjdea
754ec8a779
Enable minLength and maxLength for ListSerializer
2018-11-29 00:32:31 +02:00
Cristi Vîjdea
c5f6a79cc8
Fix heroku build
2018-10-14 21:44:32 +03:00
Cristi Vîjdea
1ac85f6eba
Release version 1.11.0
2018-10-14 21:35:07 +03:00
Cristi Vîjdea
c2e4d7767b
Update reference schema
2018-10-14 21:25:24 +03:00
Cristi Vîjdea
baaa79a29d
Fix IE11 bugs
2018-10-14 21:25:17 +03:00
Cristi Vîjdea
8dfab883a5
Add 1.11.0 changelog
2018-10-14 20:43:26 +03:00
Cristi Vîjdea
dfe06b5c95
Copy window query params when fetching the openapi document
...
Closes #208 .
2018-10-14 20:40:34 +03:00
Cristi Vîjdea
18ff51a025
Improve handling of spec request url
2018-10-14 20:23:53 +03:00
Cristi Vîjdea
e1aedab73f
Support multiple auth schemes
2018-10-14 18:16:09 +03:00
Cristi Vîjdea
060fe1881a
Add auth hook settings and apiKey query support
2018-10-14 17:38:39 +03:00
Cristi Vîjdea
5d8c936956
Moar blocks
2018-10-14 05:23:45 +03:00
Cristi Vîjdea
25dea81bc6
Update swagger-ui to 3.19.3 and ReDoc to 2.0.0-alpha.40
2018-10-14 04:30:53 +03:00
Cristi Vîjdea
a419eec071
Add swagger-ui auth hooks
...
Save authorization to local storage, refetch spec on auth, etc.
2018-10-14 04:28:42 +03:00
Cristi Vîjdea
c510de13d7
Do not try to use inspect.signature on Python 2.7
...
Fixes #222 .
2018-10-10 00:35:43 +03:00
Cristi Vîjdea
207a7e2b2d
Do not generate full schema in UI views
2018-10-09 01:38:12 +03:00
Cristi Vîjdea
cbae10c434
Refactor CamelCaseJSONFilter to be more extensible
2018-10-09 01:37:32 +03:00
Cristi Vîjdea
81fa4b44c8
Remove setup requirements from lint tox env
2018-10-09 01:16:58 +03:00
Cristi Vîjdea
20786e53c3
Provide more OpenAPISchemaGenerator extension points
...
Add ``should_include_endpoint`` and ``get_paths_object``.
2018-09-13 05:51:34 +03:00
Cristi Vîjdea
120c4dd884
Fix IPv4 pattern on Django 1.11
2018-09-13 05:14:08 +03:00
Cristi Vîjdea
5bdce56bba
Fix docs build with sphinx 1.8
2018-09-13 05:12:40 +03:00
Cristi Vîjdea
e761e2da50
Add 1.10.2 changelog
2018-09-13 04:19:31 +03:00
Cristi Vîjdea
9d330d9509
Use the first line of view method docstring as Operation summary
...
Closes #205 .
2018-09-13 04:18:55 +03:00
Cristi Vîjdea
c8f6d16891
Update ReDoc to 2.0.0-alpha.38
2018-09-13 03:44:10 +03:00
Cristi Vîjdea
857ef05b07
Handle reverse_lazy
...
Fixes #209 .
2018-09-13 03:38:13 +03:00
Cristi Vîjdea
586b88d8f3
Allow pattern on any field
2018-09-13 03:34:01 +03:00
Cristi Vîjdea
27cd5f7f2a
Add some convenience methods
2018-09-11 02:41:55 +03:00
Cristi Vîjdea
90812f5c43
Refactor get_queryset_from_view
2018-09-10 14:34:30 +03:00
Cristi Vîjdea
a6ae8b0521
Add ReDoc settings descriptions
2018-09-10 14:02:37 +03:00
Cristi Vîjdea
91530b64c6
Add DISPLAY_OPERATION_ID setting for swagger-ui
...
Closes #206 .
2018-09-10 14:02:25 +03:00
Cristi Vîjdea
6820d6bc70
Fix RelatedFieldInspector nesting issues
2018-09-10 05:04:03 +03:00
Cristi Vîjdea
f50ad29a2b
Fix lint errors
2018-09-10 02:48:08 +03:00
Cristi Vîjdea
27e38101a4
Add customization blocks to ui templates
...
Closes #178 .
2018-09-10 02:41:02 +03:00
Cristi Vîjdea
4bac38e67b
Update ReDoc settings
2018-09-10 01:39:57 +03:00
Cristi Vîjdea
10abf46597
Merge pull request #204 from axnsan12/release-1.10.1
...
Lotsa fixes. Sorry for the long time no see 😄
2018-09-10 01:00:26 +03:00
Cristi Vîjdea
42841e3092
Add 1.10.1 changelog
2018-09-10 00:42:45 +03:00