<feed xmlns='http://www.w3.org/2005/Atom'>
<title>clandmeter/patchwork, branch notifications</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>notifications: implement opt-out</title>
<updated>2011-04-14T11:37:55+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2011-04-14T11:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=f1e5f6a2c9d737f12290f5bd5a934b74c362616f'/>
<id>f1e5f6a2c9d737f12290f5bd5a934b74c362616f</id>
<content type='text'>
Check for opt-out status before sending notification mail.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for opt-out status before sending notification mail.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>notifications: Add NOTIFICATION_FROM_EMAIL setting</title>
<updated>2011-04-14T09:24:31+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2011-04-14T03:25:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=017f73b059aadfce30ee29d2aceeab92739105a6'/>
<id>017f73b059aadfce30ee29d2aceeab92739105a6</id>
<content type='text'>
Allow a separate From: address for notificaton emails.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow a separate From: address for notificaton emails.

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>models: Add PatchChangeNotification and record patch state changes</title>
<updated>2011-04-14T09:24:03+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2011-03-29T03:58:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=798a73b8bfb41f742e78e481ab9c961556e117b3'/>
<id>798a73b8bfb41f742e78e481ab9c961556e117b3</id>
<content type='text'>
Add a PatchChangeNotification model to keep track of changes to a
patch's state. Hook this up to Patch's pre_save signal.

Requires a DB schema upgrade.

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 PatchChangeNotification model to keep track of changes to a
patch's state. Hook this up to Patch's pre_save signal.

Requires a DB schema upgrade.

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>forms: Fix MultipleBooleanField.to_python when the field value is missing</title>
<updated>2011-04-14T07:07:43+00:00</updated>
<author>
<name>Guilherme Salgado</name>
<email>guilherme.salgado@linaro.org</email>
</author>
<published>2011-04-13T06:11:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=c3291f5d18445cd91b540342d31d76254b32376c'/>
<id>c3291f5d18445cd91b540342d31d76254b32376c</id>
<content type='text'>
If you write a test for, say, the bundle form of a patch list, you'd
still have to specify the 'no change' value to other form (e.g. the
multiple update one) fields using MultipleBooleanField or else it'd
raise a ValueError when field.clean() is called as part of
form._get_errors().

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>
If you write a test for, say, the bundle form of a patch list, you'd
still have to specify the 'no change' value to other form (e.g. the
multiple update one) fields using MultipleBooleanField or else it'd
raise a ValueError when field.clean() is called as part of
form._get_errors().

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>models: use implied line continuations</title>
<updated>2011-04-14T07:04:14+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2011-04-14T06:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=046abd4966f0afed33e29ba1474147e37fd35d32'/>
<id>046abd4966f0afed33e29ba1474147e37fd35d32</id>
<content type='text'>
Use the implied line continuations, and make the indentation more clear.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the implied line continuations, and make the indentation more clear.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>models: Project.is_editable to check whether a user has edit rights</title>
<updated>2011-04-14T06:55:33+00:00</updated>
<author>
<name>Guilherme Salgado</name>
<email>guilherme.salgado@linaro.org</email>
</author>
<published>2011-04-12T11:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=b18d5e2d250c1993b231a812b0ad71c131592ea5'/>
<id>b18d5e2d250c1993b231a812b0ad71c131592ea5</id>
<content type='text'>
This is to replace the couple of places where we duplicate this same
check.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to replace the couple of places where we duplicate this same
check.

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