<feed xmlns='http://www.w3.org/2005/Atom'>
<title>clandmeter/patchwork/templates, branch django-1.4</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>templates: Don't rely on bool(Page)</title>
<updated>2012-06-17T08:10:12+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2012-06-17T08:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=7a79c1a2e4b2ceaf2668fa671f2db98c0de7b724'/>
<id>7a79c1a2e4b2ceaf2668fa671f2db98c0de7b724</id>
<content type='text'>
The behaviour of bool(Page) changed in django 1.4 - it no longer
evaluates to False when page has no objects.

When checking for an empty patch list, use page.paginator.count.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The behaviour of bool(Page) changed in django 1.4 - it no longer
evaluates to False when page has no objects.

When checking for an empty patch list, use page.paginator.count.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>notifications: do not HTML-escape patch change notifications</title>
<updated>2012-05-01T07:46:31+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
<email>stefanha@linux.vnet.ibm.com</email>
</author>
<published>2012-01-15T09:49:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=18986b7edf33b22e6bf3b4023dfcc12a0c78fb65'/>
<id>18986b7edf33b22e6bf3b4023dfcc12a0c78fb65</id>
<content type='text'>
Patch change notifications are text/plain emails and should not
HTML-escape patch names.  This means quotes and ampersands in patch
names should not be turned into &amp;quot; and &amp;amp; HTML entities.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@linux.vnet.ibm.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>
Patch change notifications are text/plain emails and should not
HTML-escape patch names.  This means quotes and ampersands in patch
names should not be turned into &amp;quot; and &amp;amp; HTML entities.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@linux.vnet.ibm.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>notifications: Add code to send notifications</title>
<updated>2011-04-14T09:24:15+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2011-03-29T14:18:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=f94d40159168d0811de576328b77fd2a553039af'/>
<id>f94d40159168d0811de576328b77fd2a553039af</id>
<content type='text'>
Add a function (patchwork.utils.send_notifications) to process the
PatchChangeNotification queue. We try to group mail to the same sender,
by waiting settings.NOTIFICATION_DELAY_MINUTES to allow other
notifications to arrive.

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 function (patchwork.utils.send_notifications) to process the
PatchChangeNotification queue. We try to group mail to the same sender,
by waiting settings.NOTIFICATION_DELAY_MINUTES to allow other
notifications to arrive.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add email opt-out system</title>
<updated>2011-04-14T09:23:04+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2010-08-11T06:16:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=41f19b6643b44768dc06561c992c04ed6148477d'/>
<id>41f19b6643b44768dc06561c992c04ed6148477d</id>
<content type='text'>
We're going to start generating emails on patchwork updates, so firstly
allow people to opt-out of all patchwork communications.

We do this with a 'mail settings' interface, allowing non-registered
users to set preferences on their email address. Logged-in users can do
this through the user profile view.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We're going to start generating emails on patchwork updates, so firstly
allow people to opt-out of all patchwork communications.

We do this with a 'mail settings' interface, allowing non-registered
users to set preferences on their email address. Logged-in users can do
this through the user profile view.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>registration: use EmailConfimation rather than separate registration app</title>
<updated>2011-04-14T09:21:04+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2010-10-31T23:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=c2c6a408c7764fa29389ce160f52776c9308d50a'/>
<id>c2c6a408c7764fa29389ce160f52776c9308d50a</id>
<content type='text'>
Since we have infrastructure for email confirmations, we no longer need
the separate registration app.

Requires a migration script, which will delete all inactive users,
including those newly added and pending confirmation. Use carefully.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we have infrastructure for email confirmations, we no longer need
the separate registration app.

Requires a migration script, which will delete all inactive users,
including those newly added and pending confirmation. Use carefully.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use generic email confirmation object</title>
<updated>2011-04-14T08:44:53+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2010-08-12T04:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=56e2243f3be7e859666ce0e4e1a8b8b94444f8d4'/>
<id>56e2243f3be7e859666ce0e4e1a8b8b94444f8d4</id>
<content type='text'>
Rather than having a UserPerson-specific confirmation, add an
EmailConfirmation object to allow multiple types of confirmations (eg,
opt-out requests in future).

To do this, we use a view (patchwork.views.confirm) that will call the
type-specific view with the confirmation object.

Also, add tests to check that the User/Person linkage system works.

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 having a UserPerson-specific confirmation, add an
EmailConfirmation object to allow multiple types of confirmations (eg,
opt-out requests in future).

To do this, we use a view (patchwork.views.confirm) that will call the
type-specific view with the confirmation object.

Also, add tests to check that the User/Person linkage system works.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>views: Refactor generic_list() to make it less complicated</title>
<updated>2011-04-14T06:47:08+00:00</updated>
<author>
<name>Guilherme Salgado</name>
<email>guilherme.salgado@linaro.org</email>
</author>
<published>2011-04-12T11:34:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=e3f9cdfdfa96f5074a31fe2de0caf0ac52b1aff9'/>
<id>e3f9cdfdfa96f5074a31fe2de0caf0ac52b1aff9</id>
<content type='text'>
When a form is submitted it now delegates to separate processing
functions according to the action.  Apart from being more readable it's
now a lot easier to add extra forms for processing lists of patches.

Signed-off-by: Guilherme Salgado &lt;guilherme.salgado@linaro.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>
When a form is submitted it now delegates to separate processing
functions according to the action.  Apart from being more readable it's
now a lot easier to add extra forms for processing lists of patches.

Signed-off-by: Guilherme Salgado &lt;guilherme.salgado@linaro.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>templates: remove redundant 'about' link from main nav</title>
<updated>2011-03-30T03:35:24+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2011-03-28T09:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=88e77da6413f137488da91a3f1ab1a67b261cfb4'/>
<id>88e77da6413f137488da91a3f1ab1a67b261cfb4</id>
<content type='text'>
We have a link to the about page right below.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have a link to the about page right below.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused templates and some code for processing them</title>
<updated>2011-03-08T07:07:33+00:00</updated>
<author>
<name>Guilherme Salgado</name>
<email>guilherme.salgado@linaro.org</email>
</author>
<published>2011-02-23T06:34:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=f7a3c5dff0da19e6bd737c51187a1f5aa7373c67'/>
<id>f7a3c5dff0da19e6bd737c51187a1f5aa7373c67</id>
<content type='text'>
These seem to be what was used in the past to archive/unarchive and delete
patches.

Signed-off-by: Guilherme Salgado &lt;guilherme.salgado@linaro.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>
These seem to be what was used in the past to archive/unarchive and delete
patches.

Signed-off-by: Guilherme Salgado &lt;guilherme.salgado@linaro.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>templates: Spelling fix</title>
<updated>2011-02-11T00:52:22+00:00</updated>
<author>
<name>Dirk Wallenstein</name>
<email>halsmit@t-online.de</email>
</author>
<published>2011-01-12T23:05:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=df79fa039b310ec648e4f027c47980101795a1d8'/>
<id>df79fa039b310ec648e4f027c47980101795a1d8</id>
<content type='text'>
Signed-off-by: Dirk Wallenstein &lt;halsmit@t-online.de&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dirk Wallenstein &lt;halsmit@t-online.de&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
