patchwork:patchwork3

Last commit made on 2020-04-08
Get this branch:
git clone -b patchwork3 https://git.launchpad.net/patchwork

Branch merges

Branch information

Name:
patchwork3
Repository:
lp:patchwork

Recent commits

96ab88c... by Daniel Axtens on 2019-10-18

Remove XML-RPC API

It's been deprecated since 2.0 with the new REST API. That API is
now pretty solid, and git-pw is good. Drop the old API.

Provide a page letting people know that the API is gone if they
access any of the old pages.

This breaks pwclient, which only supports the old API. So we delete
a few things that referred to it or used it, including some old tools.

Signed-off-by: Daniel Axtens <email address hidden>

600f54b... by Stephen Finucane <email address hidden> on 2020-04-08

REST: Resolve warnings with DRF >= 3.11

Signed-off-by: Stephen Finucane <email address hidden>

d3d4f9f... by Andrew Donnellan <email address hidden> on 2020-04-08

Add Django 3.0 support

Add the latest version of Django.

Signed-off-by: Andrew Donnellan <email address hidden>
Signed-off-by: Stephen Finucane <email address hidden>
Closes: #311

e2471e5... by Andrew Donnellan <email address hidden> on 2020-04-08

tests: Fix escaping in bundle tests on Django 3.0

Django 3.0 switches to using Python 3's built-in HTML escaper, which
prefers to escape entities using hex rather than decimal.

Some of our tests check rendered HTML output against pre-escaped
strings, and fail because '&#39;' is now '&#x27;'.

Fix this by using the escape function so we get consistent escaping no
matter which Django version.

Signed-off-by: Andrew Donnellan <email address hidden>
Reviewed-by: Stephen Finucane <email address hidden>

801106e... by Stephen Finucane <email address hidden> on 2020-04-08

docker: Remove Python 2.7, 3.5

We no longer need these dependencies.

Signed-off-by: Stephen Finucane <email address hidden>

3cb9dcf... by Stephen Finucane <email address hidden> on 2020-04-08

docs: Remove references to Python 2.7

Signed-off-by: Stephen Finucane <email address hidden>

64d1191... by Daniel Axtens on 2019-08-30

Clean up references to Python 2.7, Python 3.5

Both this and the version of Django we were running with it are EOL
upstream. It's time to drop them.

Signed-off-by: Daniel Axtens <email address hidden>
Signed-off-by: Stephen Finucane <email address hidden>

438cba6... by Stephen Finucane <email address hidden> on 2020-04-08

Remove unnecessary compat wrappers

This will probably need to be reintroduced with future Django versions,
but for now it's gone.

Signed-off-by: Stephen Finucane <email address hidden>

82e352a... by Stephen Finucane <email address hidden> on 2020-04-08

Replace references to Django 1.11 docs

This is a straight forward swap, thankfully. Django 2.2 is chosen as
it's the latest LTS.

Signed-off-by: Stephen Finucane <email address hidden>

dc9c4fe... by Stephen Finucane <email address hidden> on 2020-04-08

tox: Drop support for Django < 2.2, Python < 3.6

Each of these versions of Django is now EOL, and Python 3.5 will be EOL
by time we release the next version. Drop it.

The Python 2.7 cleanup will be done separately.

Signed-off-by: Stephen Finucane <email address hidden>