]>
git.ozlabs.org Git - patchwork/log
Jeremy Kerr [Sat, 7 Feb 2009 04:44:07 +0000 (15:44 +1100)]
Complete bundle ordering migration script
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 29 Jan 2009 06:38:46 +0000 (17:38 +1100)]
Initial bundle reordering support
todo:
* implement ajax reorder api
* finish migration script
* order patches in bundle view
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 27 Jan 2009 22:31:35 +0000 (09:31 +1100)]
Add per-user default filters to TODO
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 27 Jan 2009 02:26:49 +0000 (13:26 +1100)]
[models] use case-insensitve lookup when creating confirmation
We were getting multiple entries when the case-sensitive lookup
failed.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 8 Jan 2009 07:23:26 +0000 (16:23 +0900)]
Add TODO
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 18 Dec 2008 23:50:16 +0000 (08:50 +0900)]
Use 'from' import for urlresolvers
Some python installs can't seem to find the fully-qualified module,
so use the 'from'-style import instead.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 29 Oct 2008 00:21:05 +0000 (11:21 +1100)]
[models] Make patches unique on (msgid, project), not just (msgid)
On patchwork.ozlabs.org, we may see multiple patches for different
projects, but with the same message-id.
We want these patches to show up on both projects, so we need to change
the current UNIQUE contstraint on msgid.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 23 Oct 2008 03:56:18 +0000 (14:56 +1100)]
[views] Use standard UserAdmin for admin site
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Nate Case [Mon, 20 Oct 2008 16:31:11 +0000 (11:31 -0500)]
[parser] Handle special case of "New newline at end of file"
If a file doesn't have a newline at the end, diff will insert a "\ No
newline at end of file" line in the middle of the last hunk. parser.py
was counting this line as part of the hunk line count. This had the side
effect of putting the last line of the hunk in the patch comment, and
truncating out the last line of the diff.
Handle this special case by not including this line in the internal line
counter. This appears to be the only case where diff will insert a
string like this within a hunk.
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 23 Oct 2008 03:22:33 +0000 (14:22 +1100)]
[parser] Handle patches with no content charset defined
If we don't have an incoming charset defined, assume utf-8.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 14 Oct 2008 02:30:05 +0000 (13:30 +1100)]
[parser] Convert patch content to unicode before parsing
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 10 Oct 2008 08:27:24 +0000 (19:27 +1100)]
[packages] Fix bug with django 1.0
We needed an extra to_field_name
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 10 Oct 2008 07:08:08 +0000 (18:08 +1100)]
[parser] Accept x-diff patches
We should accept x-diff attachments as well as x-patch.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 10 Oct 2008 07:01:50 +0000 (18:01 +1100)]
[packages] update to django 1.0
With a minor code change, and a small workaround.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 10 Oct 2008 01:00:56 +0000 (12:00 +1100)]
[docs] Create python and packages directories
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 9 Oct 2008 11:50:49 +0000 (22:50 +1100)]
[models] Fix exception on mbox view with non-ascii submitter name
We need to unicode the name instead of str-ing it.
Add test.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 9 Oct 2008 11:49:18 +0000 (22:49 +1100)]
[sql] use separate grant-all scripts for postgresql and mysql
Mysql doesn't support granting to multiple tables, and requires a
different username format.
Would be nice to code the permissions somewhere, then generate the
grant statements as required.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 7 Oct 2008 02:32:27 +0000 (13:32 +1100)]
[encoding] Don't output patch mbox as quoted-printable
git-am doesn't like quoted-printable, so output mbox files as raw 7- or
8-bit mbox files. This means we have to create a new MIMEText class, so
that the content isn't automatically QP-encoded on __init__().
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 29 Sep 2008 13:29:37 +0000 (23:29 +1000)]
[models] Create patch mbox with utf-8 encoding
We were getting exceptions on the mbox view when looking at a
non-ascii patch.
Add test to suit.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 29 Sep 2008 13:14:05 +0000 (23:14 +1000)]
[sql] Default data should be in fixtures, not custom SQL
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 29 Sep 2008 12:28:32 +0000 (22:28 +1000)]
[tests] Remove print from SenderCorrelationTest
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 29 Sep 2008 12:27:51 +0000 (22:27 +1000)]
[tests] Add tests for utf-8 patches
.. which expose a bug in the patch parser, so fix that.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 24 Sep 2008 23:17:00 +0000 (09:17 +1000)]
[views] Don't use bundle owner for current user
This made the top auth area show the bundle owner's details, not
the bundle owner's.
Bundle owner can still be accessed through bundle.owner in the template.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 24 Sep 2008 07:29:36 +0000 (17:29 +1000)]
[html] Fix apparently-unclosed script tag
Firefox doesn't seem to grok the <script/> notation.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 24 Sep 2008 07:27:20 +0000 (17:27 +1000)]
[html] Add select-all checkbox for patch lists
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 24 Sep 2008 06:26:16 +0000 (16:26 +1000)]
[html] Reference common.js in base template
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 24 Sep 2008 06:21:38 +0000 (16:21 +1000)]
[html] Consolidate js files
We don't need most of the stuff in htdocs/js/. Put the only function
required into a common.js, which we can add other stuff to.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 24 Sep 2008 05:13:39 +0000 (15:13 +1000)]
[views] Change default ordering to latest-first
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 23 Sep 2008 12:03:35 +0000 (22:03 +1000)]
[css] Separate patchforms from list a little
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 23 Sep 2008 11:55:39 +0000 (21:55 +1000)]
[html] Reinstate 'about' link
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 23 Sep 2008 11:31:37 +0000 (21:31 +1000)]
[css] Remove horizontal scrollbar
We don't need to specify width on #title.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 23 Sep 2008 10:52:53 +0000 (20:52 +1000)]
[views] Restructure profile view, simplify bundle access
Make bundles more like todo lists - the list itself has its own page,
accessible from the top user links.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 05:31:32 +0000 (15:31 +1000)]
[views] Fix empty bundle showing entire project's patches
If a bundle is empty, we end up triggering the 'if not patches' check
in generic_list(), which repopulates the patch list with the current
project's patches.
So, check for None instead, and leave the patch list empty.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 04:41:43 +0000 (14:41 +1000)]
Add comment signoffs and acks to mbox text
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 04:11:49 +0000 (14:11 +1000)]
[test] Move helper functions into tests/utils.py
So that we can use them for other tests
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 03:28:54 +0000 (13:28 +1000)]
[models] Improve comment filter
We should be able to search on the patch_id faster.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 03:21:28 +0000 (13:21 +1000)]
[parser] Fix spacing for encoded headers
We need to join the fragments with a space.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 02:59:16 +0000 (12:59 +1000)]
[parser] Merge senders with different case
... and add tests
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 02:14:23 +0000 (12:14 +1000)]
[test] 2.4-ise test cases
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 02:13:58 +0000 (12:13 +1000)]
Add bin/__init__.py
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 02:09:10 +0000 (12:09 +1000)]
[parser] Decode From: headers
We're getting a few utf-8 encoded From: addresses, so decode before
saving to the DB.
Also, add tests.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 00:30:05 +0000 (10:30 +1000)]
[parser] Don't remove --- update lines
We'd like to keep update lines in the patch comments, so change the
signature-removal code to allow them to pass through.
Also, add appropriate tests.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 20 Sep 2008 00:11:38 +0000 (10:11 +1000)]
[test] Add test for signatures in comments
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 19 Sep 2008 08:10:52 +0000 (18:10 +1000)]
[test] Add patchwork testing infrastructure
Add a small set of initial tests for the patch parsing code.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 19 Sep 2008 08:01:11 +0000 (18:01 +1000)]
Remove superfluous print from parsemail.py
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 16 Sep 2008 10:06:54 +0000 (20:06 +1000)]
Fix handling of newlines in subjects
By doing two passes of whitespace normalisation
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 16 Sep 2008 07:39:50 +0000 (17:39 +1000)]
Drop project.linkname from patch subject lines
.. otherwise every cell patch will be prefixed with [Cbe-oss-dev]
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 16 Sep 2008 07:34:55 +0000 (17:34 +1000)]
Improve [PATCH] subject parsing
We'd like to leave some fragments of [PATCH]-style headers in the
patch subject, so add functionality to do this in clean_subject
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 16 Sep 2008 06:43:32 +0000 (16:43 +1000)]
Add 404 template
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 12 Sep 2008 01:07:52 +0000 (11:07 +1000)]
Fix 'activate' mispelling
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 12 Sep 2008 01:00:33 +0000 (11:00 +1000)]
Fix mishandling of existing querystring parameters
Currently, we only get the first character of order= parameters
in the 'remove this filter' querystring.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 12 Sep 2008 00:55:21 +0000 (10:55 +1000)]
Remember state filter settings
We need to set a few 'selected' options..
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 12 Sep 2008 00:41:27 +0000 (10:41 +1000)]
Don't apply delegate = Nobody filter by default
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 12 Sep 2008 00:28:02 +0000 (10:28 +1000)]
Make state = Action Required a default filter
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 12 Sep 2008 00:14:12 +0000 (10:14 +1000)]
Add 'Action Required' meta-state filter
This filter shows all patches in states with action_required = True.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 11 Sep 2008 07:15:35 +0000 (17:15 +1000)]
Save UserPersonConfirmations after activating
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 11 Sep 2008 07:11:29 +0000 (17:11 +1000)]
Save confirmation object before trying to render user-link email
We need the key, which is generated in save()
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Nate Case [Wed, 10 Sep 2008 22:14:33 +0000 (17:14 -0500)]
pwclient: Get rid of underscore to dash replacement
I was erroneously doing some string substitutions so that it
would find project names with an underscore in the name. It
was only necessary due to a side effect of a bug fixed in commit
35241d528c3699b982730a333e236d57dc6451b6 (find project by linkname,
not full name). In my test case, I had an underscore in the linkname,
but a dash in the full name.
No such string replacement is necessary, and actually breaks
filtering by projects with an underscore in the name now that
we're searching by linkname properly.
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 11 Sep 2008 06:42:26 +0000 (16:42 +1000)]
Don't just rely on random for UserPersonConfirmation keys
It looks like we're getting identical keys generated for confirmation
keys. Problem has been reported to django, but in the meantime, salt
with the user and email details, then sha1 to give the final key.
This requires an increase in the field size for key, migration script
included.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Thu, 11 Sep 2008 05:53:08 +0000 (15:53 +1000)]
Add HashField.construct() method
To construct a new hash object for the given algorithm. While we're at
it, clean up the hashlib-wrapping code.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 10 Sep 2008 03:21:39 +0000 (13:21 +1000)]
xmlrpc: Fix Python 2.4 compatibility in _marshaled_dispatch
Based on an original patch from Nate Case <ncase@xes-inc.com>.
Python 24 doesn't accept encoding and allow_none fields for
xmlrpclib.dumps, so abstract this function at dispatcher init time.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 10 Sep 2008 03:20:29 +0000 (13:20 +1000)]
Simplify hashlib behaviour in HashField
We only need to keep the size of the field required, not the
whole hashlib constructor
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 10 Sep 2008 02:08:01 +0000 (12:08 +1000)]
Allow pwclient to accept patch hashes
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 10 Sep 2008 02:03:50 +0000 (12:03 +1000)]
Make parser.py invokation a little more flexible
Add options to control output, allowing us to use the parser to
generate patch hashes.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 10 Sep 2008 02:02:50 +0000 (12:02 +1000)]
Allow rehash for specific patches
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Wed, 10 Sep 2008 01:21:19 +0000 (11:21 +1000)]
Use hex strings for hash values
Binary strings a too hard to manage in DB queries and XMLRPC methods,
as we get all kinds of encoding issues.
Change HashField to use a hex string, and add a migration script for db
updates. The patches should be rehashed after migration.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 08:19:19 +0000 (18:19 +1000)]
Add patch_get_by_hash method to XMLRPC interface
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 08:15:43 +0000 (18:15 +1000)]
Import hashlib in HashField.db_type
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 07:26:38 +0000 (17:26 +1000)]
Hook-up hashing infrastructure
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 06:00:58 +0000 (16:00 +1000)]
Move patchparser to patchwork.parser
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 05:34:59 +0000 (15:34 +1000)]
Remove unused parser.py file
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 04:47:09 +0000 (14:47 +1000)]
Add commit_ref field to patch page
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 04:27:27 +0000 (14:27 +1000)]
Re-save user profile after setting name
This means we get Person objects created with the correct name, rather
than the username at time of creation.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 03:05:51 +0000 (13:05 +1000)]
Pass Authorization headers in fastcgi application
By default, mod_fcgi doens't allow the Authorization header, so
enable -pass-header, and handle the different header name in the
xmlrpc view
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 01:15:03 +0000 (11:15 +1000)]
Fix user/username mismatch on pwclientrc template
... and add a comment to the auth section
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 00:54:05 +0000 (10:54 +1000)]
Use patchwork xmlrpc view in pwclientrc template
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 00:51:17 +0000 (10:51 +1000)]
Fix broken pwclient link
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Tue, 9 Sep 2008 00:46:47 +0000 (10:46 +1000)]
Rename pwclient.py to pwclient
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 23:39:08 +0000 (09:39 +1000)]
Add usage info for pwclient 'update' action
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 23:37:05 +0000 (09:37 +1000)]
Enable [auth] setion in pwclientrc template
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 23:31:28 +0000 (09:31 +1000)]
Remove django_xmlrpc from about page.
Since we don't use it.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 23:28:33 +0000 (09:28 +1000)]
Add 'update' method to pwclient
This requires a new xmlrpc function, 'patch_set'. To do this, we
need HTTP Authentication support, which means changing to a custom
XMLRPC distpatcher that is aware of the Authorization: header.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 03:35:55 +0000 (13:35 +1000)]
Use 'in' rather than '.count()'
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 03:07:25 +0000 (13:07 +1000)]
Make pwclient visible thorugh site, and add .pwclientrc infrastructure
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 02:37:31 +0000 (12:37 +1000)]
Set content-disposition header for pwclientrc
So that browsers will save, rather than view.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 01:56:51 +0000 (11:56 +1000)]
Add pwclientrc configuration file sample for each project
This allows users to easily configure pwclient for a patchwork
instance.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 01:38:39 +0000 (11:38 +1000)]
Use config file for pwclient settings
Add a ConfigParser-style config file for patchwork settings, rather
than the environment. At present, only the XMLRPC URL and current
project are included.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 01:33:49 +0000 (11:33 +1000)]
xmlrpc: filter projects on linkname, not name
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 01:05:18 +0000 (11:05 +1000)]
Add credit for djagno-xmlrpc app
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 8 Sep 2008 00:40:21 +0000 (10:40 +1000)]
Only add /xmlrpc/ URL if ENABLE_XMLRPC is set.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Nate Case [Fri, 5 Sep 2008 19:27:31 +0000 (14:27 -0500)]
Add XML-RPC interface and command line client
Introduce a new XML-RPC Patchwork interface inspired by the SOAP
interface from the old Patchwork. The interface itself is fairly
lightweight and generic, and provides read-only access to a limited
subset of the Patchwork database, along with server-side search
and flexible filtering capabilities.
The command line client is modeled after the old one with some
additional filtering options.
The XML-RPC interface is disabled by default. You can enable it
by setting ENABLE_XMLRPC = True in local_settings.py
This feature uses the django-xmlrpc package available from
http://django-xmlrpc.googlecode.com.
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Nate Case [Fri, 5 Sep 2008 14:45:36 +0000 (09:45 -0500)]
mod_python example configuration fixes
These fixes correct the example patchwork.mod_python.conf file to
actually work properly:
* Patchwork base directory needs to be in PythonPath so that
things like "apps.urls" will import
* Set DJANGO_SETTINGS_MODULE to "settings" instead of
"patchwork.settings" so that it can find the settings file to
import
* Use LocationMatch instead of Location in order for the pattern
matching to work (this was causing none of the images/stylesheets
to be found when using mod_python)
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 5 Sep 2008 07:39:23 +0000 (17:39 +1000)]
Show patch list checkboxes for all authenticated users
Although only some users can alter patches, others still need the
checkboxes to select patches to bundle.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 5 Sep 2008 06:12:21 +0000 (16:12 +1000)]
Use local settings module
This makes checkouts into a working patchwork site much easier.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Nate Case [Fri, 29 Aug 2008 22:25:46 +0000 (17:25 -0500)]
parsemail: Dynamically determine PATCHWORK_BASE
Remove hardcoded PATCHWORK_BASE in favor of determining it
relative to the script's location.
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Fri, 5 Sep 2008 05:40:43 +0000 (15:40 +1000)]
Exclude packages tree from separate .gitignore file
'cos it says so in the top-level .gitignore.
Also, this means that the lib/packages/ dir will be included in a git
checkout, which is helpful.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Nate Case [Fri, 29 Aug 2008 22:25:47 +0000 (17:25 -0500)]
Add top-level .gitignore file
Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 1 Sep 2008 03:56:09 +0000 (13:56 +1000)]
Add delegate column
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Mon, 1 Sep 2008 03:39:34 +0000 (13:39 +1000)]
Add content-disposition: attachment header to bundle download
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Jeremy Kerr [Sat, 23 Aug 2008 07:48:41 +0000 (15:48 +0800)]
Remove redundant 'Patchwork' from titles in registration templates
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>