<feed xmlns='http://www.w3.org/2005/Atom'>
<title>clandmeter/patchwork/templates, branch master</title>
<subtitle>Mirror of git://ozlabs.org/home/jk/git/patchwork
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/'/>
<entry>
<title>Move to a more recent django project structure</title>
<updated>2015-05-27T02:26:41+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-05-24T08:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=ad2762cf775a8dde508de47164d6429f3fd724f1'/>
<id>ad2762cf775a8dde508de47164d6429f3fd724f1</id>
<content type='text'>
This change updates patchwor to the newer project struture: we've moved
the actual application out of the apps/ directory, and the
patchwork-specific templates to under the patchwork application.

This gives us the manage.py script in the top-level now.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change updates patchwor to the newer project struture: we've moved
the actual application out of the apps/ directory, and the
patchwork-specific templates to under the patchwork application.

This gives us the manage.py script in the top-level now.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Integrate 'django.contrib.staticfiles'</title>
<updated>2015-05-03T05:46:52+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephenfinucane@hotmail.com</email>
</author>
<published>2015-04-07T21:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=d4a2c1f8792f52fec0c881ab38c91635840a50c0'/>
<id>d4a2c1f8792f52fec0c881ab38c91635840a50c0</id>
<content type='text'>
Rather than providing a custom solution for serving static files, use
the solution provided in the upstream Django source.

This allows us to remove the top-level 'urls.py' file.

Signed-off-by: Stephen Finucane &lt;stephenfinucane@hotmail.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than providing a custom solution for serving static files, use
the solution provided in the upstream Django source.

This allows us to remove the top-level 'urls.py' file.

Signed-off-by: Stephen Finucane &lt;stephenfinucane@hotmail.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve removed 'AUTH_PROFILE_MODULE' setting</title>
<updated>2015-05-03T05:46:52+00:00</updated>
<author>
<name>Stephen Finucane</name>
<email>stephenfinucane@hotmail.com</email>
</author>
<published>2015-04-07T21:20:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=a48f76a2d3a98c21d4b37f19cf84073e77db55c8'/>
<id>a48f76a2d3a98c21d4b37f19cf84073e77db55c8</id>
<content type='text'>
The 'AUTH_PROFILE_MODULE' setting, and the 'get_profile()' method on
the 'User' model are removed in Django 1.7. This causes errors when
using Patchwork with Django 1.7+.

There are three changes necessary:

 * Replace profile model's 'ForeignKey' with a 'OneToOneField'
 * Remove all 'get_profile()' calls
 * Delete 'AUTH_PROFILE_MODULE' settings from 'settings.py'

These changes are discussed here:

    http://deathofagremmie.com/2014/05/24/retiring-get-profile-and-auth-profile-module/

Django 1.6 also introduces two other notable changes:

 * The 'XViewMiddleware' module has been moved
 * A new test runner has been introduced

It is not possible to fix these issues without breaking compatibility
with Django 1.5. As a result they have been ignored and must be
resolved in a future release.

Signed-off-by: Stephen Finucane &lt;stephenfinucane@hotmail.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'AUTH_PROFILE_MODULE' setting, and the 'get_profile()' method on
the 'User' model are removed in Django 1.7. This causes errors when
using Patchwork with Django 1.7+.

There are three changes necessary:

 * Replace profile model's 'ForeignKey' with a 'OneToOneField'
 * Remove all 'get_profile()' calls
 * Delete 'AUTH_PROFILE_MODULE' settings from 'settings.py'

These changes are discussed here:

    http://deathofagremmie.com/2014/05/24/retiring-get-profile-and-auth-profile-module/

Django 1.6 also introduces two other notable changes:

 * The 'XViewMiddleware' module has been moved
 * A new test runner has been introduced

It is not possible to fix these issues without breaking compatibility
with Django 1.5. As a result they have been ignored and must be
resolved in a future release.

Signed-off-by: Stephen Finucane &lt;stephenfinucane@hotmail.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the submitter name link to a query for that submitter</title>
<updated>2015-05-03T05:43:42+00:00</updated>
<author>
<name>Michael Ellerman</name>
<email>mpe@ellerman.id.au</email>
</author>
<published>2015-03-23T06:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=3d74843a8982926ab4ce310ed937a4f41ee36810'/>
<id>3d74843a8982926ab4ce310ed937a4f41ee36810</id>
<content type='text'>
Currently the submitter name is rendered as a mailto: link. This is
possibly useful in some circumstances, but in my experience is not
usually what I want. Although it opens a mail to the submitter, it
doesn't include any of the patch context, so is not very helpful.

Instead the submitter link can be a link to a query for patches by that
submitter. In my experience that is more useful, ie. when looking at a
single patch for a submitter you can then quickly get the list of all
patches by them.

So do that conversion.

In order to do it we need to know the current project, so that becomes a
parameter to personify. I believe the url reversal is correct, though
it's not pretty, and pulling SubmitterFilter.param out feels a little
wrong, but is the best solution I could come up with.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the submitter name is rendered as a mailto: link. This is
possibly useful in some circumstances, but in my experience is not
usually what I want. Although it opens a mail to the submitter, it
doesn't include any of the patch context, so is not very helpful.

Instead the submitter link can be a link to a query for patches by that
submitter. In my experience that is more useful, ie. when looking at a
single patch for a submitter you can then quickly get the list of all
patches by them.

So do that conversion.

In order to do it we need to know the current project, so that becomes a
parameter to personify. I believe the url reversal is correct, though
it's not pretty, and pulling SubmitterFilter.param out feels a little
wrong, but is the best solution I could come up with.

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>templates: fixup HTML tags</title>
<updated>2014-07-04T00:52:49+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2014-05-10T01:40:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=ce15e005dfa0bc62d0ff4c020ebe43e9dd7e53ad'/>
<id>ce15e005dfa0bc62d0ff4c020ebe43e9dd7e53ad</id>
<content type='text'>
These tags aren't matched appropriately.

There may well be others, but I caught these by a mix of eyes and
Firefox's source viewer.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These tags aren't matched appropriately.

There may well be others, but I caught these by a mix of eyes and
Firefox's source viewer.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwclient: accept more than one project in ~/.pwclientrc</title>
<updated>2014-07-04T00:37:46+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2014-07-01T18:14:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=429ef9ba9dcc8f92b8362c1b0fca0916db05e84b'/>
<id>429ef9ba9dcc8f92b8362c1b0fca0916db05e84b</id>
<content type='text'>
Currently, given the format of ~/.pwclientrc, pwclient can only
really act on a single project, as ~/pwclientrc can only contain
the configuration for a single project.

Although the -p options comes in handy to specify a project
different from the one configured in ~/.pwclientrc, this only works
if it is hosted on the same server. As soon as one needs to switch
server, it is necessary to edit ~/pwclientrc.

This can be quite inefficient when dealing with many projects, hosted
on different servers.

Change the format of ~/.pwclientrc so it is possible to define more
than one project, and for each project, specify an URL and credentials.

The new format is like:

    [options]
    default = project-A

    [project-A]
    url = http://my.patchwork.server/path/to/xmlrpc
    username = that-is-me
    password = secret

    [other-project]
    url = http://you.get/the/idea
    username = someone
    password = 1234

This has the advantage of not changing the options to pwclient, so
the user experience is unmodified.

If a ~/.pwclentrc exists in the old format, it is automatically
converted over to the new format, and the previous one is saved as
~/.pwclientrc.orig. Upon conversion, no action is made, pwclient just
exits (with return-code 1) to inform the user to review the conversion.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, given the format of ~/.pwclientrc, pwclient can only
really act on a single project, as ~/pwclientrc can only contain
the configuration for a single project.

Although the -p options comes in handy to specify a project
different from the one configured in ~/.pwclientrc, this only works
if it is hosted on the same server. As soon as one needs to switch
server, it is necessary to edit ~/pwclientrc.

This can be quite inefficient when dealing with many projects, hosted
on different servers.

Change the format of ~/.pwclientrc so it is possible to define more
than one project, and for each project, specify an URL and credentials.

The new format is like:

    [options]
    default = project-A

    [project-A]
    url = http://my.patchwork.server/path/to/xmlrpc
    username = that-is-me
    password = secret

    [other-project]
    url = http://you.get/the/idea
    username = someone
    password = 1234

This has the advantage of not changing the options to pwclient, so
the user experience is unmodified.

If a ~/.pwclentrc exists in the old format, it is automatically
converted over to the new format, and the previous one is saved as
~/.pwclientrc.orig. Upon conversion, no action is made, pwclient just
exits (with return-code 1) to inform the user to review the conversion.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>templates: display projects as inline-block elements</title>
<updated>2014-05-07T03:26:45+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2014-05-07T03:23:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=b6f1c6d1e2fe24808501b9e9b2f8ac948782c814'/>
<id>b6f1c6d1e2fe24808501b9e9b2f8ac948782c814</id>
<content type='text'>
... rather than one long list.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... rather than one long list.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Django 1.5 compatibility fixes</title>
<updated>2013-10-13T06:00:18+00:00</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2013-10-03T16:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=a37842591183a2302f580ee4973a19e35661baf0'/>
<id>a37842591183a2302f580ee4973a19e35661baf0</id>
<content type='text'>
Django 1.5 wants plenty of quotes scattered over the templates.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Django 1.5 wants plenty of quotes scattered over the templates.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>views/base: Implement limit for submitter autocompletion</title>
<updated>2013-10-13T05:04:31+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-10-13T05:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=9d22330effa8d433ec39edc37ca4e3a1e3206b85'/>
<id>9d22330effa8d433ec39edc37ca4e3a1e3206b85</id>
<content type='text'>
Add a limit parameter to the completion view, and pass a limit of 20
results in the javascript.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a limit parameter to the completion view, and pass a limit of 20
results in the javascript.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>notifications: add project name to patch update notification</title>
<updated>2013-06-16T09:25:44+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2013-05-17T10:23:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=4e7b62c51b958acad9d87b435571a22113a43d35'/>
<id>4e7b62c51b958acad9d87b435571a22113a43d35</id>
<content type='text'>
Based on a feature request &amp; patch from Wolfram Sang
&lt;wsa@the-dreams.de&gt;.

Notifications may span multiple projects, so include a summary in the
subject line, and detail in the header.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on a feature request &amp; patch from Wolfram Sang
&lt;wsa@the-dreams.de&gt;.

Notifications may span multiple projects, so include a summary in the
subject line, and detail in the header.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
