From steveth45 at gmail.com Thu Aug 4 01:04:43 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Wed, 03 Aug 2011 23:04:43 -0000 Subject: [Bug 820660] [NEW] Attempting to DELETE a user through REST API returns '405 Method Not Allowed' References: <20110803230443.2421.68421.malonedeb@soybean.canonical.com> Message-ID: <20110803230443.2421.68421.malonedeb@soybean.canonical.com> Public bug reported: src/mailman/rest/docs/users.txt clearly states "The REST API can be used to add and remove users, add and remove user addresses, and change their preferred address, password, or name." When I send a DELETE request to either /3.0/users/1 or /3.0/users/foo at example.org, I get a '405 Method Not Allowed' response. $ curl -u restadmin:restpass -I http://localhost:8001/3.0/users/bar at foo.com HTTP/1.0 200 OK Date: Wed, 03 Aug 2011 22:36:37 GMT Server: WSGIServer/0.1 Python/2.6.5 content-length: 311 $ curl -X DELETE -u restadmin:restpass -I http://localhost:8001/3.0/users/bar at foo.com HTTP/1.0 405 Method Not Allowed Date: Wed, 03 Aug 2011 22:34:16 GMT Server: WSGIServer/0.1 Python/2.6.5 Content-Type: text/plain Allow: HEAD, GET Content-Length: 22 ** Affects: mailman Importance: Undecided Status: New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/820660 Title: Attempting to DELETE a user through REST API returns '405 Method Not Allowed' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/820660/+subscriptions From steveth45 at gmail.com Thu Aug 4 18:54:14 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 04 Aug 2011 16:54:14 -0000 Subject: [Bug 821020] [NEW] Attempting to GET a nonexistent members object results in a 500 instead of a 404. References: <20110804165415.19219.20724.malonedeb@soybean.canonical.com> Message-ID: <20110804165415.19219.20724.malonedeb@soybean.canonical.com> Public bug reported: Attempting to GET a nonexistent members object results in a 500 instead of a 404. $ curl -i -u restadmin:restpass http://localhost:8001/3.0/members/foo HTTP/1.0 500 Dude, this is whack! Date: Thu, 04 Aug 2011 16:25:01 GMT Server: WSGIServer/0.1 Python/2.6.5 Content-Type: text/plain Content-Length: 59 A server error occurred. Please contact the administrator. And here is the stack trace: Traceback (most recent call last): File "/usr/lib64/python2.6/wsgiref/handlers.py", line 93, in run self.result = application(self.environ, self.start_response) File "/home/sgoss/mailman/src/mailman/rest/wsgiapp.py", line 58, in __call__ environ, start_response) File "/home/sgoss/mailman_env/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/app.py", line 18, in __call__ response = self.get_response(request, resource_or_response) File "/home/sgoss/mailman_env/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/app.py", line 65, in get_response resource_or_response = resource_or_response(request) File "/home/sgoss/mailman_env/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/resource.py", line 212, in __call__ return _dispatch(request, match, lambda r: callable(self, r)) File "/home/sgoss/mailman_env/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/resource.py", line 243, in _dispatch response = func(request) File "/home/sgoss/mailman_env/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/resource.py", line 212, in return _dispatch(request, match, lambda r: callable(self, r)) File "/home/sgoss/mailman/src/mailman/rest/members.py", line 78, in member return http.ok([], self._resource_as_json(self._member)) File "/home/sgoss/mailman/src/mailman/rest/helpers.py", line 125, in _resource_as_json return etag(self._resource_as_dict(resource)) File "/home/sgoss/mailman/src/mailman/rest/members.py", line 53, in _resource_as_dict enum, dot, role = str(member.role).partition('.') AttributeError: 'NoneType' object has no attribute 'role' The platform is Centos 6 (64 bit), system python (2.6.5) running in a --no-site-packages virtualenv with the following python libs: $ pip freeze WebOb==1.1beta1 argparse==1.2.1 decorator==3.3.1 distribute==0.6.8 flufl.bounce==0.91 flufl.enum==3.1 flufl.i18n==1.0.4 flufl.lock==2.1 httplib2==0.7.1 lazr.config==1.1.3 lazr.delegates==1.2.0 lazr.smtptest==1.3 mailman==3.0.0a7- mimeparse==0.1.3 restish==0.12.1 storm==0.18 zc.buildout==1.5.2 zope.component==3.10.0 zope.configuration==3.7.4 zope.event==3.5.0-1 zope.exceptions==3.6.1 zope.i18nmessageid==3.6.1 zope.interface==3.6.4 zope.schema==3.8.0 zope.testing==3.10.2 ** Affects: mailman Importance: Undecided Status: New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/821020 Title: Attempting to GET a nonexistent members object results in a 500 instead of a 404. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/821020/+subscriptions From 821438 at bugs.launchpad.net Fri Aug 5 14:18:51 2011 From: 821438 at bugs.launchpad.net (benste) Date: Fri, 05 Aug 2011 12:18:51 -0000 Subject: [Bug 821438] [NEW] REST and Client are missing membership_settings options References: <20110805121851.6965.2119.malonedeb@wampee.canonical.com> Message-ID: <20110805121851.6965.2119.malonedeb@wampee.canonical.com> Public bug reported: Using the Python bindings the following things are available at the moment: self_link: u'http://localhost:8001/3.0/members/2' role: u'member' user: u'http://localhost:8001/3.0/users/2' address': u'katie at example.com' fqdn_listname': u'testtwo at mail.example.com' For better user management the following options should be seen as wishlist: acknowledge_posts hide_address receive_list_copy receive_own_postings delivery_mode delivery_status in addition i requested _User.get_lists which is in https://bugs.launchpad.net/mailmanwebgsoc2011/+bug/821069 + what about users password ? users e-mails ... ** Affects: mailman Importance: Undecided Status: New ** Affects: mailman.client Importance: Undecided Status: Confirmed ** Affects: mailmanwebgsoc2011 Importance: Wishlist Status: Triaged ** Tags: mailman3 ** Changed in: mailman.client Status: New => Confirmed ** Also affects: mailmanwebgsoc2011 Importance: Undecided Status: New ** Also affects: mailman Importance: Undecided Status: New ** Tags added: mailman3 ** Changed in: mailmanwebgsoc2011 Status: New => Triaged ** Changed in: mailmanwebgsoc2011 Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/821438 Title: REST and Client are missing membership_settings options To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/821438/+subscriptions From tom.browder at gmail.com Sun Aug 7 19:37:01 2011 From: tom.browder at gmail.com (Tom Browder) Date: Sun, 07 Aug 2011 17:37:01 -0000 Subject: [Bug 822358] [NEW] zip or bzip2 should be compression choices as well as gzip References: <20110807173701.28539.11371.malonedeb@soybean.canonical.com> Message-ID: <20110807173701.28539.11371.malonedeb@soybean.canonical.com> Public bug reported: Currently gzip is the only compression choice. Novice Windows users usually have a zip utility available but may not be able to easily install another utility like 7-Zip that can handle gzip. Also, bzip2 (or other compression utility) may be a better compression choice than gzip for very active mailing lists ** Affects: mailman Importance: Undecided Status: New ** Tags: administration archive setup -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/822358 Title: zip or bzip2 should be compression choices as well as gzip To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/822358/+subscriptions From tom.browder at gmail.com Sun Aug 7 19:41:09 2011 From: tom.browder at gmail.com (Tom Browder) Date: Sun, 07 Aug 2011 17:41:09 -0000 Subject: [Bug 558188] Re: monthly archives in YYYY-MM format References: <20100408090730.1687.52094.launchpad@loganberry.canonical.com> Message-ID: <20110807174109.14347.12740.malone@gac.canonical.com> I also vote for this enhancement, -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/558188 Title: monthly archives in YYYY-MM format To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/558188/+subscriptions From tom.browder at gmail.com Sun Aug 7 19:54:13 2011 From: tom.browder at gmail.com (Tom Browder) Date: Sun, 07 Aug 2011 17:54:13 -0000 Subject: [Bug 265908] Re: Unsub instructions difficult to find References: <20080905192659.27052.77024.launchpad@forster.canonical.com> Message-ID: <20110807175413.27534.98334.malone@soybean.canonical.com> I also have long wanted such changes. I am now testing my first mailing list with non-techy Windows folks and the default Mailman info page is very confusing to them. There are other changes that would help them, too, such as eliminating the extended discussion on the default Welcome page about mailing list commands--those are for more "advanced" users IMHO. On the Welcome page I would make the following text optional or else hide it under a separate link for advanced use: # remove or move the following: ================= You can also make such adjustments via email by sending a message to: Graytags-request at usafa-1965.org with the word `help' in the subject or body (don't include the quotes), and you will get back a message with instructions. # end of removed or moved text ================= -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/265908 Title: Unsub instructions difficult to find To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/265908/+subscriptions From noreply at launchpad.net Mon Aug 8 08:53:12 2011 From: noreply at launchpad.net (noreply at launchpad.net) Date: Mon, 08 Aug 2011 06:53:12 -0000 Subject: [Branch ~mailman-coders/mailman.client/trunk] Rev 15: Added benste's fix for lp:802540 with some minor changes: Message-ID: <20110808065312.2838.76989.launchpad@loganberry.canonical.com> Merge authors: benste (benste) ------------------------------------------------------------ revno: 15 [merge] fixes bug(s): https://launchpad.net/bugs/802540 committer: Florian Fuchs branch nick: mailman.client timestamp: Mon 2011-08-08 08:49:20 +0200 message: Added benste's fix for lp:802540 with some minor changes: Domains can now be retrieved not only by their mail_host property but also their web host (base_uri) modified: mailman/client/_client.py mailman/client/docs/using.txt -- lp:mailman.client https://code.launchpad.net/~mailman-coders/mailman.client/trunk Your team Mailman Coders is subscribed to branch lp:mailman.client. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman.client/trunk/+edit-subscription -------------- next part -------------- A non-text attachment was scrubbed... Name: revision-diff.txt Type: text/x-diff Size: 2367 bytes Desc: not available URL: From 802540 at bugs.launchpad.net Mon Aug 8 08:52:30 2011 From: 802540 at bugs.launchpad.net (Launchpad Bug Tracker) Date: Mon, 08 Aug 2011 06:52:30 -0000 Subject: [Bug 802540] Re: Add c.get_domain() by web_host and not only mail_host References: <20110627133124.21182.5123.malonedeb@chaenomeles.canonical.com> Message-ID: <20110808065230.2567.31584.launchpad@loganberry.canonical.com> ** Branch linked: lp:mailman.client -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/802540 Title: Add c.get_domain() by web_host and not only mail_host To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/802540/+subscriptions From noreply at launchpad.net Mon Aug 8 09:18:13 2011 From: noreply at launchpad.net (noreply at launchpad.net) Date: Mon, 08 Aug 2011 07:18:13 -0000 Subject: [Branch ~mailman-coders/mailman.client/trunk] Rev 16: - changed return statement in client.get_domain: if domain is retrieved Message-ID: <20110808071813.21389.87693.launchpad@loganberry.canonical.com> ------------------------------------------------------------ revno: 16 committer: Florian Fuchs branch nick: mailman.client timestamp: Mon 2011-08-08 09:14:48 +0200 message: - changed return statement in client.get_domain: if domain is retrieved by its web_host (base_url) an empty list is returned if no domain is found - fixed web_host param in doc test (missing protocol string) modified: mailman/client/_client.py mailman/client/docs/using.txt -- lp:mailman.client https://code.launchpad.net/~mailman-coders/mailman.client/trunk Your team Mailman Coders is subscribed to branch lp:mailman.client. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman.client/trunk/+edit-subscription -------------- next part -------------- A non-text attachment was scrubbed... Name: revision-diff.txt Type: text/x-diff Size: 1302 bytes Desc: not available URL: From mark at msapiro.net Mon Aug 8 22:25:46 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 08 Aug 2011 20:25:46 -0000 Subject: [Bug 822358] Re: zip or bzip2 should be compression choices as well as gzip References: <20110807173701.28539.11371.malonedeb@soybean.canonical.com> Message-ID: <20110808202546.13872.46283.malone@gac.canonical.com> Presumably, you are talking about the archive periodic text files. Compression of these files is a holdover from the days of much more limited bandwidth. It makes no sense in today's internet. It actually consumes additional space on the server because the uncompressed files are still kept along side the compressed ones. Further, depending on the configuration of the web server, the compressed file may actually be uncompressed before transmission to the browser. For these reasons, I recommend you remove the cron/nightly_gzip job from Mailman's crontab and remove any archives/private/LISTNAME/PERIOD.txt.gz files from the server. Then, the next time the archive TOC page is updated, all the links will revert to the .txt files. ** Changed in: mailman Importance: Undecided => Low ** Changed in: mailman Status: New => Won't Fix ** Changed in: mailman Assignee: (unassigned) => Mark Sapiro (msapiro) -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/822358 Title: zip or bzip2 should be compression choices as well as gzip To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/822358/+subscriptions From tom.browder at gmail.com Tue Aug 9 20:30:52 2011 From: tom.browder at gmail.com (Tom Browder) Date: Tue, 09 Aug 2011 18:30:52 -0000 Subject: [Bug 822358] Re: zip or bzip2 should be compression choices as well as gzip References: <20110807173701.28539.11371.malonedeb@soybean.canonical.com> Message-ID: <20110809183052.16690.59090.malone@soybean.canonical.com> Thanks for the consideration, Mark, and I will follow your suggestion. How about a FAQ item from your suggestion? As well as a posting on the users list? -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/822358 Title: zip or bzip2 should be compression choices as well as gzip To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/822358/+subscriptions From steveth45 at gmail.com Tue Aug 9 23:45:24 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 09 Aug 2011 21:45:24 -0000 Subject: [Bug 821020] Re: Attempting to GET a nonexistent members object results in a 500 instead of a 404. References: <20110804165415.19219.20724.malonedeb@soybean.canonical.com> Message-ID: <20110809214524.18174.18543.malone@gac.canonical.com> It's a simple omission in the REST code. Here's the fix: === modified file 'src/mailman/rest/members.py' --- src/mailman/rest/members.py 2011-04-26 02:23:05 +0000 +++ src/mailman/rest/members.py 2011-08-09 21:39:07 +0000 @@ -75,6 +75,8 @@ @resource.GET() def member(self, request): """Return a single member end-point.""" + if self._member is None: + return http.not_found() return http.ok([], self._resource_as_json(self._member)) @resource.DELETE() -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/821020 Title: Attempting to GET a nonexistent members object results in a 500 instead of a 404. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/821020/+subscriptions From 266317 at bugs.launchpad.net Wed Aug 10 22:50:41 2011 From: 266317 at bugs.launchpad.net (Denis Roy) Date: Wed, 10 Aug 2011 20:50:41 -0000 Subject: [Bug 266317] Re: attachments archived even when archiving disabled References: <20080905193054.27052.86428.launchpad@forster.canonical.com> Message-ID: <20110810205041.11048.71182.malone@gac.canonical.com> I've been struggling with this for years. If there is no fix in sight, is it safe to remove these attachments directories? Or will all the attachment files just come back? Looking for a workaround here... -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/266317 Title: attachments archived even when archiving disabled To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/266317/+subscriptions From 815444 at bugs.launchpad.net Thu Aug 11 15:44:52 2011 From: 815444 at bugs.launchpad.net (Bug Watch Updater) Date: Thu, 11 Aug 2011 13:44:52 -0000 Subject: [Bug 815444] Re: typo in german invite.txt 'einzutragenn' References: <20110724151403.24416.68621.malonedeb@soybean.canonical.com> Message-ID: <20110811134453.1834.3757.launchpad@loganberry.canonical.com> ** Changed in: mailman (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/815444 Title: typo in german invite.txt 'einzutragenn' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/815444/+subscriptions From mark at msapiro.net Thu Aug 11 20:32:17 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 11 Aug 2011 18:32:17 -0000 Subject: [Bug 266317] Re: attachments archived even when archiving disabled References: <20080905193054.27052.86428.launchpad@forster.canonical.com> Message-ID: <20110811183217.1876.91970.malone@gac.canonical.com> > is it safe to remove these attachments directories? Or will all the attachment files just come back? Assuming the list doesn't archive (archive = No), the only things stored in the attachments directory are attachments scrubbed from the 'plain' format digest. You can remove the attachments directory and its contents, and those specific files won't come back, but as long as your list is digestable, attachments from subsequent digests will continue to be stored. You might think creating a attachments directory as a symlink to /dev/null would work, but it won't because Mailman tries to create and access subdirectories under attachments. Probably the best you can do is create a cron job to 'rm -rf archives/private/listname/attachments' or maybe 'find archives/private/listname/attachments -maxdepth 1 -mtime +2 -exec rm -f \{\} \;'. The 'find' example should just remove those subdirectories older than 2 days (-mtime +2). -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/266317 Title: attachments archived even when archiving disabled To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/266317/+subscriptions From 821020 at bugs.launchpad.net Fri Aug 12 17:10:30 2011 From: 821020 at bugs.launchpad.net (Barry Warsaw) Date: Fri, 12 Aug 2011 15:10:30 -0000 Subject: [Bug 821020] Re: Attempting to GET a nonexistent members object results in a 500 instead of a 404. References: <20110804165415.19219.20724.malonedeb@soybean.canonical.com> Message-ID: <20110812151030.13615.84224.launchpad@gac.canonical.com> ** Tags added: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/821020 Title: Attempting to GET a nonexistent members object results in a 500 instead of a 404. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/821020/+subscriptions From 820660 at bugs.launchpad.net Fri Aug 12 17:09:53 2011 From: 820660 at bugs.launchpad.net (Barry Warsaw) Date: Fri, 12 Aug 2011 15:09:53 -0000 Subject: [Bug 820660] Re: Attempting to DELETE a user through REST API returns '405 Method Not Allowed' References: <20110803230443.2421.68421.malonedeb@soybean.canonical.com> Message-ID: <20110812150953.14287.27122.launchpad@soybean.canonical.com> ** Tags added: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/820660 Title: Attempting to DELETE a user through REST API returns '405 Method Not Allowed' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/820660/+subscriptions From 799612 at bugs.launchpad.net Fri Aug 12 20:49:40 2011 From: 799612 at bugs.launchpad.net (Barry Warsaw) Date: Fri, 12 Aug 2011 18:49:40 -0000 Subject: [Bug 799612] Re: Expose REST API call to look up member/user id given an email address References: <20110620064752.20698.13504.malonedeb@soybean.canonical.com> Message-ID: <20110812184940.13488.41036.launchpad@wampee.canonical.com> ** Changed in: mailman Status: Confirmed => In Progress -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/799612 Title: Expose REST API call to look up member/user id given an email address To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/799612/+subscriptions From steveth45 at gmail.com Sat Aug 13 01:09:55 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Fri, 12 Aug 2011 23:09:55 -0000 Subject: [Bug 825570] [NEW] Broken REST API to get member from list given email address (and role). References: <20110812230955.13531.68076.malonedeb@soybean.canonical.com> Message-ID: <20110812230955.13531.68076.malonedeb@soybean.canonical.com> Public bug reported: There is code in src/mailman/rest/lists.py to allow for the REST API to return a member object given a list, role and email address, but it is currently broken. the last line of the member function in lists.py: return AMember(self._mlist, role, address) compare to AMember constructor: def __init__(self, member_id): Attempting to use this part of the API returns a 500 with this traceback: Traceback (most recent call last): File "/usr/lib64/python2.6/wsgiref/handlers.py", line 93, in run self.result = application(self.environ, self.start_response) File "/home/sgoss/mailman_clone/src/mailman/rest/wsgiapp.py", line 58, in __call__ environ, start_response) File "/home/sgoss/phoenix-deploy/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/app.py", line 17, in __call__ resource_or_response = self.locate_resource(request) File "/home/sgoss/phoenix-deploy/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/app.py", line 44, in locate_resource result = resource_child(request, segments) File "/home/sgoss/phoenix-deploy/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/resource.py", line 194, in resource_child result = func(self, request, segments, *match_args, **match_kwargs) File "/home/sgoss/mailman_clone/src/mailman/rest/lists.py", line 152, in member return AMember(self._mlist, role, address) TypeError: __init__() takes exactly 2 arguments (4 given) ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/825570 Title: Broken REST API to get member from list given email address (and role). To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/825570/+subscriptions From steveth45 at gmail.com Sat Aug 13 01:30:02 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Fri, 12 Aug 2011 23:30:02 -0000 Subject: [Bug 825570] Re: Broken REST API to get member from list given email address (and role). References: <20110812230955.13531.68076.malonedeb@soybean.canonical.com> Message-ID: <20110812233002.28346.46297.malone@chaenomeles.canonical.com> The attached patch fixes this issue, but ignores the "role" aspect, so it just looks for a member with that address in that list. This gives the following endpoint: /3.0/lists//member/ This fits my use case, otherwise I would have to get a list of all members of a list to find the one with a given email address. ** Patch added: "patch to fix issue" https://bugs.launchpad.net/mailman/+bug/825570/+attachment/2273264/+files/mm3_list_member.patch -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/825570 Title: Broken REST API to get member from list given email address (and role). To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/825570/+subscriptions From 799612 at bugs.launchpad.net Sun Aug 14 04:55:41 2011 From: 799612 at bugs.launchpad.net (Barry Warsaw) Date: Sun, 14 Aug 2011 02:55:41 -0000 Subject: [Bug 799612] Re: Expose REST API call to look up member/user id given an email address References: <20110620064752.20698.13504.malonedeb@soybean.canonical.com> Message-ID: <20110814025541.28792.47403.malone@chaenomeles.canonical.com> http://.../members/find now supports POSTing with - email address (required) - fqdn listname (optional) - MemberRole (optional) which can be used to find memberships. Returns a collection of member records. ** Changed in: mailman Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/799612 Title: Expose REST API call to look up member/user id given an email address To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/799612/+subscriptions From 825570 at bugs.launchpad.net Mon Aug 15 00:25:35 2011 From: 825570 at bugs.launchpad.net (Barry Warsaw) Date: Sun, 14 Aug 2011 22:25:35 -0000 Subject: [Bug 825570] Re: Broken REST API to get member from list given email address (and role). References: <20110812230955.13531.68076.malonedeb@soybean.canonical.com> Message-ID: <20110814222535.27682.82037.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Status: New => Confirmed ** Changed in: mailman Milestone: None => 3.0.0a8 ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Importance: Undecided => Medium -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/825570 Title: Broken REST API to get member from list given email address (and role). To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/825570/+subscriptions From 825570 at bugs.launchpad.net Mon Aug 15 00:34:21 2011 From: 825570 at bugs.launchpad.net (Barry Warsaw) Date: Sun, 14 Aug 2011 22:34:21 -0000 Subject: [Bug 825570] Re: Broken REST API to get member from list given email address (and role). References: <20110812230955.13531.68076.malonedeb@soybean.canonical.com> Message-ID: <20110814223421.13423.72946.malone@soybean.canonical.com> I have a fix ready to go that preserves the role argument. If you're looking for an API that doesn't require the role, the new /members/find API is the one to use. In fact, this one might be redundant. "Untested code is broken code" ;) ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/825570 Title: Broken REST API to get member from list given email address (and role). To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/825570/+subscriptions From 820660 at bugs.launchpad.net Mon Aug 15 01:01:34 2011 From: 820660 at bugs.launchpad.net (Barry Warsaw) Date: Sun, 14 Aug 2011 23:01:34 -0000 Subject: [Bug 820660] Re: Attempting to DELETE a user through REST API returns '405 Method Not Allowed' References: <20110803230443.2421.68421.malonedeb@soybean.canonical.com> Message-ID: <20110814230135.13511.32749.launchpad@gac.canonical.com> ** Changed in: mailman Importance: Undecided => Wishlist ** Changed in: mailman Status: New => Confirmed ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Milestone: None => 3.0.0a8 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/820660 Title: Attempting to DELETE a user through REST API returns '405 Method Not Allowed' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/820660/+subscriptions From 821020 at bugs.launchpad.net Mon Aug 15 00:58:00 2011 From: 821020 at bugs.launchpad.net (Barry Warsaw) Date: Sun, 14 Aug 2011 22:58:00 -0000 Subject: [Bug 821020] Re: Attempting to GET a nonexistent members object results in a 500 instead of a 404. References: <20110804165415.19219.20724.malonedeb@soybean.canonical.com> Message-ID: <20110814225800.13197.47900.malone@gac.canonical.com> Thanks for the fix! ** Changed in: mailman Milestone: None => 3.0.0a8 ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Importance: Undecided => Medium ** Changed in: mailman Status: New => Confirmed ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/821020 Title: Attempting to GET a nonexistent members object results in a 500 instead of a 404. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/821020/+subscriptions From 820660 at bugs.launchpad.net Mon Aug 15 01:14:27 2011 From: 820660 at bugs.launchpad.net (Barry Warsaw) Date: Sun, 14 Aug 2011 23:14:27 -0000 Subject: [Bug 820660] Re: Attempting to DELETE a user through REST API returns '405 Method Not Allowed' References: <20110803230443.2421.68421.malonedeb@soybean.canonical.com> Message-ID: <20110814231428.27786.33118.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/820660 Title: Attempting to DELETE a user through REST API returns '405 Method Not Allowed' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/820660/+subscriptions From steveth45 at gmail.com Mon Aug 15 19:11:07 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Mon, 15 Aug 2011 17:11:07 -0000 Subject: [Bug 826861] [NEW] doctests failing on Centos 6 due to "unprintable" error objects References: <20110815171107.3935.64001.malonedeb@soybean.canonical.com> Message-ID: <20110815171107.3935.64001.malonedeb@soybean.canonical.com> Public bug reported: On Centos 6 (64 bit), the following tests fail due to what looks like some kind of Python object printing quirk with the version that ships with RHEL 6 and derivatives: src/mailman/model/docs/membership.txt src/mailman/model/docs/users.txt The errors all look like this: File "/home/sgoss/mailman_clone/src/mailman/model/docs/membership.txt", line 296, in membership.txt Failed example: gwen_member.address = new_address Differences (ndiff with -expected +actual): Traceback (most recent call last): - ... - UnverifiedAddressError: gperson at example.com + File "/usr/lib64/python2.6/doctest.py", line 1248, in __run + compileflags, 1) in test.globs + File "", line 1, in + gwen_member.address = new_address + File "/home/sgoss/mailman_clone/src/mailman/model/member.py", line 116, in address + raise UnverifiedAddressError(new_address) + UnverifiedAddressError: The system reports Python version 2.6.5. This error does not seem to occur with Python 2.7 on Ubuntu 11.04. One possibility is that for some reason when it comes to printing out those error objects, Python doesn't have a default encoding scheme for representing the embedded unicode strings in that particular context (email address in the above example). ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/826861 Title: doctests failing on Centos 6 due to "unprintable" error objects To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/826861/+subscriptions From steveth45 at gmail.com Mon Aug 15 19:35:57 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Mon, 15 Aug 2011 17:35:57 -0000 Subject: [Bug 826861] Re: doctests failing on Centos 6 due to "unprintable" error objects References: <20110815171107.3935.64001.malonedeb@soybean.canonical.com> Message-ID: <20110815173557.4371.73455.malone@soybean.canonical.com> A quick fix to this is to convert the unicode addresses to string objects in the __str__ methods for those Error classes. The attached patch does just that, causing the tests to pass unchanged on Centos 6. ** Patch added: "mm3_826861.patch" https://bugs.launchpad.net/mailman/+bug/826861/+attachment/2280565/+files/mm3_826861.patch -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/826861 Title: doctests failing on Centos 6 due to "unprintable" error objects To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/826861/+subscriptions From steveth45 at gmail.com Tue Aug 16 01:40:49 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Mon, 15 Aug 2011 23:40:49 -0000 Subject: [Bug 827036] [NEW] Pending message requests survive list deletion. References: <20110815234049.23483.97879.malonedeb@gac.canonical.com> Message-ID: <20110815234049.23483.97879.malonedeb@gac.canonical.com> Public bug reported: If you send an email to a list requiring moderation, then delete the list and recreate it (via the REST API), that pending message still exists in the pending requests for that list. It seems like all pending messages should be discarded when a list is deleted. ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827036 Title: Pending message requests survive list deletion. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827036/+subscriptions From steveth45 at gmail.com Tue Aug 16 03:25:27 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 16 Aug 2011 01:25:27 -0000 Subject: [Bug 827060] [NEW] AttributeError triggered by i18n.py calling os.path.join with Language object. References: <20110816012527.23925.88454.malonedeb@gac.canonical.com> Message-ID: <20110816012527.23925.88454.malonedeb@gac.canonical.com> Public bug reported: Here is the error message in my logs: Aug 15 18:16:49 2011 (26370) Uncaught runner exception: 'Language' object has no attribute 'startswith' Aug 15 18:16:49 2011 (26370) Traceback (most recent call last): File "/home/sgoss/mailman_clone/src/mailman/core/runner.py", line 138, in _one_iteration self._process_one_file(msg, msgdata) File "/home/sgoss/mailman_clone/src/mailman/core/runner.py", line 220, in _process_one_file keepqueued = self._dispose(mlist, msg, msgdata) File "/home/sgoss/mailman_clone/src/mailman/runners/incoming.py", line 64, in _dispose process(mlist, msg, msgdata, mlist.start_chain) File "/home/sgoss/mailman_clone/src/mailman/core/chains.py", line 90, in process link.function(mlist, msg, msgdata) File "/home/sgoss/mailman_clone/src/mailman/chains/hold.py", line 190, in _process autorespond_to_sender(mlist, msg.sender, language)): File "/home/sgoss/mailman_clone/src/mailman/chains/hold.py", line 111, in autorespond_to_sender owneremail=mlist.owner_address, File "/home/sgoss/mailman_clone/src/mailman/utilities/i18n.py", line 200, in make path, fp = find(template_file, mailing_list, language, _trace) File "/home/sgoss/mailman_clone/src/mailman/utilities/i18n.py", line 157, in find for path in raw_search_order: File "/home/sgoss/mailman_clone/src/mailman/utilities/i18n.py", line 74, in _search yield os.path.join(path, language, template_file) File "/home/sgoss/phoenix-deploy/lib64/python2.6/posixpath.py", line 65, in join if b.startswith('/'): AttributeError: 'Language' object has no attribute 'startswith' ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827060 Title: AttributeError triggered by i18n.py calling os.path.join with Language object. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827060/+subscriptions From 826861 at bugs.launchpad.net Tue Aug 16 03:54:53 2011 From: 826861 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 16 Aug 2011 01:54:53 -0000 Subject: [Bug 826861] Re: doctests failing on Centos 6 due to "unprintable" error objects References: <20110815171107.3935.64001.malonedeb@soybean.canonical.com> Message-ID: <20110816015453.9538.51575.malone@wampee.canonical.com> I can't reproduce this with Python 2.6.7 on Ubuntu 11.10 64bit either. I'll have to bring up CentOS in a VM, but it would be interesting to know whether 2.6.7 possibly has a related fix, or Ubuntu, or something about the way CentOS builds Python. What's odd here is that there shouldn't be any non-ascii unicodes in the printed representation. Hmm... -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/826861 Title: doctests failing on Centos 6 due to "unprintable" error objects To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/826861/+subscriptions From 770328 at bugs.launchpad.net Tue Aug 16 04:05:44 2011 From: 770328 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 16 Aug 2011 02:05:44 -0000 Subject: [Bug 770328] Re: REST qrunner sometimes does not exit after tests exception References: <20110425153257.28204.36811.malonedeb@wampee.canonical.com> Message-ID: <20110816020545.23698.9798.launchpad@gac.canonical.com> ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/770328 Title: REST qrunner sometimes does not exit after tests exception To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/770328/+subscriptions From 827036 at bugs.launchpad.net Tue Aug 16 04:23:59 2011 From: 827036 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 16 Aug 2011 02:23:59 -0000 Subject: [Bug 827036] Re: Pending message requests survive list deletion. References: <20110815234049.23483.97879.malonedeb@gac.canonical.com> Message-ID: <20110816022359.23163.80929.malone@gac.canonical.com> Here's how I think I'll fix this: Add an event to ListManager.delete(), then set up event handlers in other utilities that need to clean things up when a list gets deleted. We'll need to add a handler for the moderation queue, but I suspect there are other objects that need to be cleaned up, such as Members. ** Changed in: mailman Status: New => Triaged -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827036 Title: Pending message requests survive list deletion. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827036/+subscriptions From 827060 at bugs.launchpad.net Tue Aug 16 04:21:02 2011 From: 827060 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 16 Aug 2011 02:21:02 -0000 Subject: [Bug 827060] Re: AttributeError triggered by i18n.py calling os.path.join with Language object. References: <20110816012527.23925.88454.malonedeb@gac.canonical.com> Message-ID: <20110816022102.23379.74271.malone@gac.canonical.com> Yay for more untested code. See hold.py:100 elif todays_count == max_autoresponses_per_day: ** Changed in: mailman Status: New => Triaged -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827060 Title: AttributeError triggered by i18n.py calling os.path.join with Language object. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827060/+subscriptions From 827036 at bugs.launchpad.net Tue Aug 16 05:44:06 2011 From: 827036 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 16 Aug 2011 03:44:06 -0000 Subject: [Bug 827036] Re: Pending message requests survive list deletion. References: <20110815234049.23483.97879.malonedeb@gac.canonical.com> Message-ID: <20110816034406.5287.27535.launchpad@soybean.canonical.com> ** Changed in: mailman Importance: Undecided => Medium ** Changed in: mailman Status: Triaged => Confirmed ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Milestone: None => 3.0.0a8 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827036 Title: Pending message requests survive list deletion. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827036/+subscriptions From 770328 at bugs.launchpad.net Tue Aug 16 05:48:48 2011 From: 770328 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 16 Aug 2011 03:48:48 -0000 Subject: [Bug 770328] Re: REST qrunner sometimes does not exit after tests exception References: <20110425153257.28204.36811.malonedeb@wampee.canonical.com> Message-ID: <20110816034848.26160.82093.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Milestone: None => 3.0.0a8 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/770328 Title: REST qrunner sometimes does not exit after tests exception To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/770328/+subscriptions From steveth45 at gmail.com Tue Aug 16 20:07:01 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 16 Aug 2011 18:07:01 -0000 Subject: [Bug 827547] [NEW] KeyError in "virgin" runner. References: <20110816180701.9849.41629.malonedeb@wampee.canonical.com> Message-ID: <20110816180701.9849.41629.malonedeb@wampee.canonical.com> Public bug reported: Not sure what caused this error that showed up in mailman.log: Aug 16 10:54:50 2011 (31400) Uncaught runner exception: u'foo.example.com' Aug 16 10:54:50 2011 (31400) Traceback (most recent call last): File "/home/sgoss/mailman_clone/src/mailman/core/runner.py", line 138, in _one_iteration self._process_one_file(msg, msgdata) File "/home/sgoss/mailman_clone/src/mailman/core/runner.py", line 220, in _process_one_file keepqueued = self._dispose(mlist, msg, msgdata) File "/home/sgoss/mailman_clone/src/mailman/runners/virgin.py", line 37, in _dispose process(mlist, msg, msgdata, 'virgin') File "/home/sgoss/mailman_clone/src/mailman/core/pipelines.py", line 50, in process handler.process(mlist, msg, msgdata) File "/home/sgoss/mailman_clone/src/mailman/pipeline/cook_headers.py", line 360, in process process(mlist, msg, msgdata) File "/home/sgoss/mailman_clone/src/mailman/pipeline/cook_headers.py", line 202, in process listinfo = mlist.script_url('listinfo') File "/home/sgoss/mailman_clone/src/mailman/model/mailinglist.py", line 243, in script_url return urljoin(self.domain.base_url, target + '/' + self.fqdn_listname) File "/home/sgoss/mailman_clone/src/mailman/model/mailinglist.py", line 227, in domain return getUtility(IDomainManager)[self.mail_host] File "/home/sgoss/mailman_clone/src/mailman/model/domain.py", line 142, in __getitem__ raise KeyError(email_host) KeyError: u'foo.example.com' ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827547 Title: KeyError in "virgin" runner. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827547/+subscriptions From steveth45 at gmail.com Wed Aug 17 00:31:20 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 16 Aug 2011 22:31:20 -0000 Subject: [Bug 827547] Re: KeyError in "virgin" runner. References: <20110816180701.9849.41629.malonedeb@wampee.canonical.com> Message-ID: <20110816223120.28726.84149.malone@soybean.canonical.com> I am able to trigger this error by sending an email to a list from a nonmember, so the message gets put into held status. Then moderating the message with Action.accept. After that, the message does not get delivered, instead the above error appears in the log. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827547 Title: KeyError in "virgin" runner. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827547/+subscriptions From steveth45 at gmail.com Wed Aug 17 01:13:25 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 16 Aug 2011 23:13:25 -0000 Subject: [Bug 827697] [NEW] Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. References: <20110816231325.20572.27659.malonedeb@gac.canonical.com> Message-ID: <20110816231325.20572.27659.malonedeb@gac.canonical.com> Public bug reported: I'm building a REST API for moderation. Calling moderator.handle_message with Action.discard and Action.reject seem to do the right thing, but calling it with Action.accept doesn't seem to. Instead the held message stays in the pending queue and nothing is delivered to the list. I thought it was related to this: https://bugs.launchpad.net/mailman/+bug/827547 But I get the same result whether or not that error message appears in the logs. ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827697 Title: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827697/+subscriptions From steveth45 at gmail.com Wed Aug 17 01:07:46 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 16 Aug 2011 23:07:46 -0000 Subject: [Bug 827547] Re: KeyError in "virgin" runner. References: <20110816180701.9849.41629.malonedeb@wampee.canonical.com> Message-ID: <20110816230746.18191.78683.malone@chaenomeles.canonical.com> Regarding last comment, this error does not always appear, but moderator approved message never gets sent, so I think they might be unrelated. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827547 Title: KeyError in "virgin" runner. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827547/+subscriptions From steveth45 at gmail.com Wed Aug 17 01:49:58 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 16 Aug 2011 23:49:58 -0000 Subject: [Bug 827697] Re: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. References: <20110816231325.20572.27659.malonedeb@gac.canonical.com> Message-ID: <20110816234958.10614.43907.malone@wampee.canonical.com> The message does appear to leave the pending queue, but I think it immediately goes back into the queue after being "accepted". notice the sequence of events in the vette.log: Aug 16 16:01:24 2011 (3048) HOLD: testlist at foo.example.com post from test_email_d at foo.example.com held, message-id=<20110816230124.3048.70109 at static.sgoss-centos6-vm>: n/a Aug 16 16:01:28 2011 (3054) held message approved, message-id: <20110816230124.3048.70109 at static.sgoss-centos6-vm> Aug 16 16:01:28 2011 (3048) HOLD: testlist at foo.example.com post from test_email_d at foo.example.com held, message-id=<20110816230124.3048.70109 at static.sgoss-centos6-vm>: n/a Immediately after being approved, the message is held again. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827697 Title: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827697/+subscriptions From steveth45 at gmail.com Wed Aug 17 01:55:36 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 16 Aug 2011 23:55:36 -0000 Subject: [Bug 827697] Re: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. References: <20110816231325.20572.27659.malonedeb@gac.canonical.com> Message-ID: <20110816235536.17846.94797.malone@chaenomeles.canonical.com> In the above vette.log, (3048) is the IncomingRunner and (3054) is the REST service. The reason the REST service is approving the message is because of my in-progress REST API for moderation. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827697 Title: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827697/+subscriptions From 827036 at bugs.launchpad.net Thu Aug 18 01:10:05 2011 From: 827036 at bugs.launchpad.net (Barry Warsaw) Date: Wed, 17 Aug 2011 23:10:05 -0000 Subject: [Bug 827036] Re: Pending message requests survive list deletion. References: <20110815234049.23483.97879.malonedeb@gac.canonical.com> Message-ID: <20110817231005.18191.70120.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Status: Confirmed => In Progress -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827036 Title: Pending message requests survive list deletion. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827036/+subscriptions From 827036 at bugs.launchpad.net Thu Aug 18 04:04:38 2011 From: 827036 at bugs.launchpad.net (Barry Warsaw) Date: Thu, 18 Aug 2011 02:04:38 -0000 Subject: [Bug 827036] Re: Pending message requests survive list deletion. References: <20110815234049.23483.97879.malonedeb@gac.canonical.com> Message-ID: <20110818020438.20057.41582.launchpad@gac.canonical.com> ** Changed in: mailman Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827036 Title: Pending message requests survive list deletion. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827036/+subscriptions From 827697 at bugs.launchpad.net Thu Aug 18 04:16:38 2011 From: 827697 at bugs.launchpad.net (Barry Warsaw) Date: Thu, 18 Aug 2011 02:16:38 -0000 Subject: [Bug 827697] Re: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. References: <20110816231325.20572.27659.malonedeb@gac.canonical.com> Message-ID: <20110818021638.17846.21363.malone@chaenomeles.canonical.com> I'm almost positive none of the built-in chain's rules are checking msgdata['approved'] or msgdata['moderator_approved'] and jumping to the accept chain. So when handle_message() dumps the message back into the 'in' queue, it just runs through the rules and hits the same hold criteria as before. I have to think about the right way to fix this. One way is to add a rule that just checks one of those metadata keys and then jumps to the accept chain. That'd be the easy way to solve this. OTOH, once a message has been accepted by the moderator, it doesn't make much sense to run through the built-in chain again. I don't know whether that means the message should go straight to the pipeline queue instead of the incoming queue, or whether it should go to the incoming queue with a custom chain. However, there's currently no way to specify a different chain for a message to run through (i.e. via some metadata key). I'll have to think on this one a bit. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827697 Title: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827697/+subscriptions From 827547 at bugs.launchpad.net Thu Aug 18 04:20:30 2011 From: 827547 at bugs.launchpad.net (Barry Warsaw) Date: Thu, 18 Aug 2011 02:20:30 -0000 Subject: [Bug 827547] Re: KeyError in "virgin" runner. References: <20110816180701.9849.41629.malonedeb@wampee.canonical.com> Message-ID: <20110818022030.17541.70586.malone@chaenomeles.canonical.com> In one sense script_url() is kind of bogus because now that the web ui is separate from the engine, the engine needs a better model for how to calculate its urls. This method is mostly a hold over from Mailman 2. OTOH, its rather disturbing that you don't have a key in the Domain column of database for foo.example.com. Wait, did you possibly create foo.example.com, and then delete it before this message got put into the virgin queue? -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827547 Title: KeyError in "virgin" runner. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827547/+subscriptions From 827697 at bugs.launchpad.net Thu Aug 18 06:03:56 2011 From: 827697 at bugs.launchpad.net (Barry Warsaw) Date: Thu, 18 Aug 2011 04:03:56 -0000 Subject: [Bug 827697] Re: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. References: <20110816231325.20572.27659.malonedeb@gac.canonical.com> Message-ID: <20110818040356.19855.40521.malone@gac.canonical.com> See if this does the trick. ** Changed in: mailman Status: New => Triaged ** Patch added: "827697.diff" https://bugs.launchpad.net/mailman/+bug/827697/+attachment/2287734/+files/827697.diff -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827697 Title: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827697/+subscriptions From 827547 at bugs.launchpad.net Thu Aug 18 06:02:17 2011 From: 827547 at bugs.launchpad.net (Barry Warsaw) Date: Thu, 18 Aug 2011 04:02:17 -0000 Subject: [Bug 827547] Re: KeyError in "virgin" runner. References: <20110816180701.9849.41629.malonedeb@wampee.canonical.com> Message-ID: <20110818040217.18292.4063.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Status: New => Triaged -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827547 Title: KeyError in "virgin" runner. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827547/+subscriptions From steveth45 at gmail.com Thu Aug 18 18:16:20 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 18 Aug 2011 16:16:20 -0000 Subject: [Bug 827547] Re: KeyError in "virgin" runner. References: <20110816180701.9849.41629.malonedeb@wampee.canonical.com> Message-ID: <20110818161620.7639.54850.malone@soybean.canonical.com> Ah, yep, it happens right at the end of the test suite (our internal tests, not MM3's) which cleans up everything, including the domain entry. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827547 Title: KeyError in "virgin" runner. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827547/+subscriptions From steveth45 at gmail.com Thu Aug 18 18:36:38 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 18 Aug 2011 16:36:38 -0000 Subject: [Bug 827697] Re: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. References: <20110816231325.20572.27659.malonedeb@gac.canonical.com> Message-ID: <20110818163638.14390.72691.malone@chaenomeles.canonical.com> Yes, with that patch, the moderated messages get delivered, my tests go green. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827697 Title: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827697/+subscriptions From 827697 at bugs.launchpad.net Thu Aug 18 18:56:46 2011 From: 827697 at bugs.launchpad.net (Barry Warsaw) Date: Thu, 18 Aug 2011 16:56:46 -0000 Subject: [Bug 827697] Re: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. References: <20110816231325.20572.27659.malonedeb@gac.canonical.com> <20110818163638.14390.72691.malone@chaenomeles.canonical.com> Message-ID: <20110818125646.10f944f9@resist.wooz.org> On Aug 18, 2011, at 04:36 PM, Stephen A. Goss wrote: >Yes, with that patch, the moderated messages get delivered, my tests go >green. Cool. Now I just have to write my own test for this change! -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827697 Title: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827697/+subscriptions From steveth45 at gmail.com Fri Aug 19 02:05:51 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Fri, 19 Aug 2011 00:05:51 -0000 Subject: [Bug 827547] Re: KeyError in "virgin" runner. References: <20110816180701.9849.41629.malonedeb@wampee.canonical.com> Message-ID: <20110819000551.15038.91076.malone@chaenomeles.canonical.com> I think what happened, was that before the fix for https://bugs.launchpad.net/flufl.lock/+bug/827052 was made, I was looping through and rejecting all pending messages before removing the list and then the domain. Maybe since I was rejecting instead of discarding, it was generating a bounce message for the virgin queue right before deleting the domain entry. This isn't really a problem any more. Sorry if I got some details wrong, I don't fully understand the Mailman pipeline yet. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827547 Title: KeyError in "virgin" runner. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827547/+subscriptions From steveth45 at gmail.com Fri Aug 19 22:49:27 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Fri, 19 Aug 2011 20:49:27 -0000 Subject: [Bug 829765] [NEW] Need REST endpoint to retrieve lists for a particular domain. References: <20110819204927.14287.20344.malonedeb@chaenomeles.canonical.com> Message-ID: <20110819204927.14287.20344.malonedeb@chaenomeles.canonical.com> Public bug reported: I'm leaning toward /3.0/domain/example.org/lists though another possibility is /3.0/lists/example.org but that might seem too close to /3.0/lists/somelist at example.org Definitely something for the wish list. I may implement soon. ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/829765 Title: Need REST endpoint to retrieve lists for a particular domain. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/829765/+subscriptions From 829765 at bugs.launchpad.net Fri Aug 19 23:09:48 2011 From: 829765 at bugs.launchpad.net (Barry Warsaw) Date: Fri, 19 Aug 2011 21:09:48 -0000 Subject: [Bug 829765] Re: Need REST endpoint to retrieve lists for a particular domain. References: <20110819204927.14287.20344.malonedeb@chaenomeles.canonical.com> Message-ID: <20110819210948.14601.95517.malone@chaenomeles.canonical.com> Since we already have a /domains root, what about GET on /3.0/domains/example.com/lists ? ** Changed in: mailman Status: New => Triaged ** Changed in: mailman Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/829765 Title: Need REST endpoint to retrieve lists for a particular domain. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/829765/+subscriptions From steveth45 at gmail.com Fri Aug 19 23:28:19 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Fri, 19 Aug 2011 21:28:19 -0000 Subject: [Bug 829765] Re: Need REST endpoint to retrieve lists for a particular domain. References: <20110819204927.14287.20344.malonedeb@chaenomeles.canonical.com> Message-ID: <20110819212819.7972.27289.malone@soybean.canonical.com> Right, that was a typo. I'll definitely make it a child of /3.0/domains/. I'm working on an implementation now. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/829765 Title: Need REST endpoint to retrieve lists for a particular domain. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/829765/+subscriptions From steveth45 at gmail.com Sat Aug 20 02:10:59 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Sat, 20 Aug 2011 00:10:59 -0000 Subject: [Bug 829765] Re: Need REST endpoint to retrieve lists for a particular domain. References: <20110819204927.14287.20344.malonedeb@chaenomeles.canonical.com> Message-ID: <20110820001059.10122.7741.launchpad@gac.canonical.com> ** Branch linked: lp:~postfuturist/mailman/rest-api-add -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/829765 Title: Need REST endpoint to retrieve lists for a particular domain. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/829765/+subscriptions From question168834 at answers.launchpad.net Mon Aug 22 16:30:56 2011 From: question168834 at answers.launchpad.net (kisakye moses) Date: Mon, 22 Aug 2011 14:30:56 -0000 Subject: [Question #168834]: missing pending requests in mailman administrative database Message-ID: <20110822143056.18557.13684.launchpad@loganberry.canonical.com> New question #168834 on mailman in Ubuntu: https://answers.launchpad.net/ubuntu/+source/mailman/+question/168834 The administrator/moderator of the list gets a message saying that there is a post pending approval. However, when he logs in and clicks "Tend to pending moderator requests" there is nothing there. Basically we keep getting "pending" notices but the queue is empty. It had been working and no settings were changed. When a message is sent to a mailing list there are no pending requests but if sent to a list and some members of the list have the moderation bit set as off they receive the message . How can i solve this? thanx in advance -- You received this question notification because you are a member of Mailman Coders, which is an answer contact for mailman in Ubuntu. From 827697 at bugs.launchpad.net Mon Aug 22 23:24:46 2011 From: 827697 at bugs.launchpad.net (Barry Warsaw) Date: Mon, 22 Aug 2011 21:24:46 -0000 Subject: [Bug 827697] Re: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. References: <20110816231325.20572.27659.malonedeb@gac.canonical.com> Message-ID: <20110822212447.20606.53817.launchpad@gac.canonical.com> ** Changed in: mailman Milestone: None => 3.0.0a8 ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Importance: Undecided => High ** Changed in: mailman Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827697 Title: Moderating a message with Action.accept does not cause held message to be sent or even removed from pending. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827697/+subscriptions From 831660 at bugs.launchpad.net Mon Aug 22 23:52:32 2011 From: 831660 at bugs.launchpad.net (Barry Warsaw) Date: Mon, 22 Aug 2011 21:52:32 -0000 Subject: [Bug 831660] [NEW] IDomain.email_host should be renamed to IDomain.mail_host References: <20110822215232.10290.2941.malonedeb@chaenomeles.canonical.com> Message-ID: <20110822215232.10290.2941.malonedeb@chaenomeles.canonical.com> Public bug reported: This would be for consistency with IMailingList.mail_host ** Affects: mailman Importance: Low Assignee: Barry Warsaw (barry) Status: Confirmed ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/831660 Title: IDomain.email_host should be renamed to IDomain.mail_host To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/831660/+subscriptions From question168834 at answers.launchpad.net Tue Aug 23 02:45:43 2011 From: question168834 at answers.launchpad.net (Mark Sapiro) Date: Tue, 23 Aug 2011 00:45:43 -0000 Subject: [Question #168834]: missing pending requests in mailman administrative database Message-ID: <20110823004543.6395.60256.launchpad@loganberry.canonical.com> Question #168834 on mailman in Ubuntu changed: https://answers.launchpad.net/ubuntu/+source/mailman/+question/168834 Status: Open => Answered Mark Sapiro proposed the following answer: See the FAQ at . -- You received this question notification because you are a member of Mailman Coders, which is an answer contact for mailman in Ubuntu. From 831660 at bugs.launchpad.net Tue Aug 23 04:46:33 2011 From: 831660 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 23 Aug 2011 02:46:33 -0000 Subject: [Bug 831660] Re: IDomain.email_host should be renamed to IDomain.mail_host References: <20110822215232.10290.2941.malonedeb@chaenomeles.canonical.com> Message-ID: <20110823024634.10638.26574.launchpad@wampee.canonical.com> ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/831660 Title: IDomain.email_host should be renamed to IDomain.mail_host To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/831660/+subscriptions From steveth45 at gmail.com Wed Aug 24 00:32:43 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 23 Aug 2011 22:32:43 -0000 Subject: [Bug 832404] [NEW] Test failing: test_accepted_message_gets_posted References: <20110823223243.20294.64368.malonedeb@gac.canonical.com> Message-ID: <20110823223243.20294.64368.malonedeb@gac.canonical.com> Public bug reported: This test seems to be failing on both Ubuntu 11.04 with Python 2.7.1 and Centos 6 with Python 2.6.5: Failure in test test_accepted_message_gets_posted (mailman.app.tests.test_moderation.TestModeration) Traceback (most recent call last): File "/usr/lib/python2.7/unittest/case.py", line 321, in run testMethod() File "/home/sgoss/launchpad/mailman/src/mailman/app/tests/test_moderation.py", line 99, in test_accepted_message_gets_posted """) File "/usr/lib/python2.7/unittest/case.py", line 503, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 496, in _baseAssertEqual raise self.failureException(msg) AssertionError: 'From: anne at example.com\nTo: test at example.com\nMessage-ID: \nX-Mailman-Approved-At: Mon, 01 Aug 2005 07:49:23 -0700\nSubject: [Test] hold me\nX-BeenThere: test at example.com\nPrecedence: list\nList-Id: \nX-Message-ID-Hash: XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Post: \nList-Subscribe: ,\n \nArchived-At: http://lists.example.com/archives/XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Unsubscribe: ,\n \nList-Archive: \nList-Help: \nX-MailFrom: test-bounces at example.com\nX-RcptTo: bart at example.com\n\n' != u'From: anne at example.com\nTo: test at example.com\nMessage-ID: \nX-Mailman-Approved-At: Mon, 01 Aug 2005 07:49:23 -0400\nSubject: [Test] hold me\nX-BeenThere: test at example.com\nPrecedence: list\nList-Id: \nX-Message-ID-Hash: XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Post: \nList-Subscribe: ,\n\t\nArchived-At: http://lists.example.com/archives/XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Unsubscribe: ,\n\t\nList-Archive: \nList-Help: \nX-MailFrom: test-bounces at example.com\nX-RcptTo: bart at example.com\n\n' ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 ** Tags added: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/832404 Title: Test failing: test_accepted_message_gets_posted To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/832404/+subscriptions From 827060 at bugs.launchpad.net Wed Aug 24 02:40:08 2011 From: 827060 at bugs.launchpad.net (Barry Warsaw) Date: Wed, 24 Aug 2011 00:40:08 -0000 Subject: [Bug 827060] Re: AttributeError triggered by i18n.py calling os.path.join with Language object. References: <20110816012527.23925.88454.malonedeb@gac.canonical.com> Message-ID: <20110824004009.9518.87474.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Milestone: None => 3.0.0a8 ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Importance: Undecided => Medium ** Changed in: mailman Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/827060 Title: AttributeError triggered by i18n.py calling os.path.join with Language object. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/827060/+subscriptions From 832404 at bugs.launchpad.net Wed Aug 24 02:49:38 2011 From: 832404 at bugs.launchpad.net (Barry Warsaw) Date: Wed, 24 Aug 2011 00:49:38 -0000 Subject: [Bug 832404] Re: Test failing: test_accepted_message_gets_posted References: <20110823223243.20294.64368.malonedeb@gac.canonical.com> Message-ID: <20110824004938.28777.43636.malone@soybean.canonical.com> Although it's difficult to see (Python 2.7 will make it easier), the problem is that the timezone in X-Mailman-Approved-At doesn't match. D'oh! ** Changed in: mailman Milestone: None => 3.0.0a8 ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Importance: Undecided => High ** Changed in: mailman Status: New => Confirmed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/832404 Title: Test failing: test_accepted_message_gets_posted To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/832404/+subscriptions From 832404 at bugs.launchpad.net Wed Aug 24 02:58:03 2011 From: 832404 at bugs.launchpad.net (Barry Warsaw) Date: Wed, 24 Aug 2011 00:58:03 -0000 Subject: [Bug 832404] Re: Test failing: test_accepted_message_gets_posted References: <20110823223243.20294.64368.malonedeb@gac.canonical.com> Message-ID: <20110824005804.9622.33726.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/832404 Title: Test failing: test_accepted_message_gets_posted To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/832404/+subscriptions From mark at msapiro.net Wed Aug 24 18:18:36 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 24 Aug 2011 16:18:36 -0000 Subject: [Bug 833134] [NEW] The password scheme for bin/export.py is case sensitive. References: <20110824161836.26560.11558.malonedeb@soybean.canonical.com> Message-ID: <20110824161836.26560.11558.malonedeb@soybean.canonical.com> Public bug reported: The help for bin/export.py says the PASSWORD_SCHEME option is case insensitive, but it isn't. ** Affects: mailman Importance: Low Assignee: Mark Sapiro (msapiro) Status: Confirmed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/833134 Title: The password scheme for bin/export.py is case sensitive. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/833134/+subscriptions From steveth45 at gmail.com Wed Aug 24 18:17:13 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Wed, 24 Aug 2011 16:17:13 -0000 Subject: [Bug 833132] [NEW] Unable to query or change member delivery_mode through REST API. References: <20110824161713.27770.61663.malonedeb@soybean.canonical.com> Message-ID: <20110824161713.27770.61663.malonedeb@soybean.canonical.com> Public bug reported: The delivery_mode may be set when creating a member resource through the REST API. It goes without saying that this property should be available on member objects returned from the REST API and should be PATCHable as well for symmetry. As I need this functionality, I'll probably add this. ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/833132 Title: Unable to query or change member delivery_mode through REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/833132/+subscriptions From mark at msapiro.net Wed Aug 24 18:46:50 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 24 Aug 2011 16:46:50 -0000 Subject: [Bug 833134] Re: The password scheme for bin/export.py is case sensitive. References: <20110824161836.26560.11558.malonedeb@soybean.canonical.com> Message-ID: <20110824164651.8342.16017.launchpad@wampee.canonical.com> ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/833134 Title: The password scheme for bin/export.py is case sensitive. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/833134/+subscriptions From steveth45 at gmail.com Wed Aug 24 19:11:34 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Wed, 24 Aug 2011 17:11:34 -0000 Subject: [Bug 833208] [NEW] test_accepted_message_gets_posted failing on Centos 6 / Python 2.6 References: <20110824171134.30807.78230.malonedeb@chaenomeles.canonical.com> Message-ID: <20110824171134.30807.78230.malonedeb@chaenomeles.canonical.com> Public bug reported: This test seems to still be failing on Centos 6 / Python 2.6.5 for other reasons: Failure in test test_accepted_message_gets_posted (mailman.app.tests.test_moderation.TestModeration) Traceback (most recent call last): File "/usr/lib64/python2.6/unittest.py", line 279, in run testMethod() File "/home/sgoss/mailman_clone/src/mailman/app/tests/test_moderation.py", line 107, in test_accepted_message_gets_posted """) File "/usr/lib64/python2.6/unittest.py", line 350, in failUnlessEqual (msg or '%r != %r' % (first, second)) AssertionError: 'From: anne at example.com\nTo: test at example.com\nMessage-ID: \nSubject: [Test] hold me\nX-BeenThere: test at example.com\nPrecedence: list\nList-Id : \nX-Message-ID-Hash: XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Post: \nList-Subscribe: ,\n\t\nArchived-At: http://lists.example.com/archives/XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Unsubscribe: ,\n\t\nList-Archive: \nList-Help: \nX-MailFrom: test-bounces at example.com\nX-RcptTo: bart at example.com\n\n' != u'From: anne at example.com\nTo: test at example.com\nMessage-ID: \nSubject: [Test] hold me\nX-BeenThere: test at example.com\nPrecedence: list\nList-Id: \nX-Message-ID-Hash: XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Post: \nList-Subscribe: ,\n \nArchived-At: http://lists.example.com/archives/XZ3DGG4V37BZTTLXNUX4NABB4DNQHTCP\nList-Unsubscribe: ,\n \nList-Archive: \nList-Help: \nX-MailFrom: test-bounces at example.com\nX-RcptTo: bart at example.com\n\n' ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 ** Tags added: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/833208 Title: test_accepted_message_gets_posted failing on Centos 6 / Python 2.6 To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/833208/+subscriptions From steveth45 at gmail.com Wed Aug 24 23:09:22 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Wed, 24 Aug 2011 21:09:22 -0000 Subject: [Bug 833376] [NEW] Attempting to PATCH an invalid attribute on a member object in REST API results in 500, instead of 400. References: <20110824210922.12989.23778.malonedeb@gac.canonical.com> Message-ID: <20110824210922.12989.23778.malonedeb@gac.canonical.com> Public bug reported: If you send a PATCH request to a member with an invalid parameter (anything other than "address", at the moment) you get a 500 response, instead of a 400 Bad Request. Here is the unhandled exception generating the 500 error: Traceback (most recent call last): File "/usr/lib64/python2.6/wsgiref/handlers.py", line 93, in run self.result = application(self.environ, self.start_response) File "/home/sgoss/mailman_clone/src/mailman/rest/wsgiapp.py", line 58, in __call__ environ, start_response) File "/home/sgoss/phoenix-deploy/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/app.py", line 18, in __call__ response = self.get_response(request, resource_or_response) File "/home/sgoss/phoenix-deploy/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/app.py", line 65, in get_response resource_or_response = resource_or_response(request) File "/home/sgoss/phoenix-deploy/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/resource.py", line 212, in __call__ return _dispatch(request, match, lambda r: callable(self, r)) File "/home/sgoss/phoenix-deploy/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/resource.py", line 243, in _dispatch response = func(request) File "/home/sgoss/phoenix-deploy/lib/python2.6/site-packages/restish-0.12.1-py2.6.egg/restish/resource.py", line 212, in return _dispatch(request, match, lambda r: callable(self, r)) File "/home/sgoss/mailman_clone/src/mailman/rest/helpers.py", line 199, in __call__ return self.func(resource, request) File "/home/sgoss/mailman_clone/src/mailman/rest/members.py", line 129, in patch_membership values = Validator(address=unicode)(request) File "/home/sgoss/mailman_clone/src/mailman/rest/validator.py", line 88, in __call__ raise ValueError('Unexpected parameters: {0}'.format(extras)) ValueError: Unexpected parameters: delivery_mode ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/833376 Title: Attempting to PATCH an invalid attribute on a member object in REST API results in 500, instead of 400. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/833376/+subscriptions From steveth45 at gmail.com Wed Aug 24 23:47:48 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Wed, 24 Aug 2011 21:47:48 -0000 Subject: [Bug 833376] Re: Attempting to PATCH an invalid attribute on a member object in REST API results in 500, instead of 400. References: <20110824210922.12989.23778.malonedeb@gac.canonical.com> Message-ID: <20110824214748.7911.30219.malone@wampee.canonical.com> Here's a simple fix. ** Patch added: "833376.patch" https://bugs.launchpad.net/mailman/+bug/833376/+attachment/2310268/+files/833376.patch -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/833376 Title: Attempting to PATCH an invalid attribute on a member object in REST API results in 500, instead of 400. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/833376/+subscriptions From steveth45 at gmail.com Thu Aug 25 02:14:49 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 25 Aug 2011 00:14:49 -0000 Subject: [Merge] lp:~postfuturist/mailman/rest-api-delivery_mode into lp:mailman Message-ID: <20110825001440.27001.48065.launchpad@ackee.canonical.com> Stephen A. Goss has proposed merging lp:~postfuturist/mailman/rest-api-delivery_mode into lp:mailman. Requested reviews: Mailman Coders (mailman-coders) Related bugs: Bug #833132 in GNU Mailman: "Unable to query or change member delivery_mode through REST API." https://bugs.launchpad.net/mailman/+bug/833132 Bug #833376 in GNU Mailman: "Attempting to PATCH an invalid attribute on a member object in REST API results in 500, instead of 400." https://bugs.launchpad.net/mailman/+bug/833376 For more details, see: https://code.launchpad.net/~postfuturist/mailman/rest-api-delivery_mode/+merge/72813 Currently, in the REST API for members/subscriptions you can create a subscription with a specific delivery_mode (regular or various digest modes). However, you can't get this information back from the REST API or change it. This branch addresses these shortcomings by adding delivery_mode to the information returned by the API when GETing member info, it also allows you to PATCH the delivery_mode of a member. It handles edge/error cases, like patching nonexistent members, patching invalid parameters, etc. All cases are tested (I think). This resolves 833132 and 833376. -- https://code.launchpad.net/~postfuturist/mailman/rest-api-delivery_mode/+merge/72813 Your team Mailman Coders is requested to review the proposed merge of lp:~postfuturist/mailman/rest-api-delivery_mode into lp:mailman. -------------- next part -------------- A non-text attachment was scrubbed... Name: review-diff.txt Type: text/x-diff Size: 15651 bytes Desc: not available URL: From steveth45 at gmail.com Thu Aug 25 02:08:48 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 25 Aug 2011 00:08:48 -0000 Subject: [Bug 833376] Re: Attempting to PATCH an invalid attribute on a member object in REST API results in 500, instead of 400. References: <20110824210922.12989.23778.malonedeb@gac.canonical.com> Message-ID: <20110825000848.21160.67514.launchpad@wampee.canonical.com> ** Branch linked: lp:~postfuturist/mailman/rest-api-delivery_mode -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/833376 Title: Attempting to PATCH an invalid attribute on a member object in REST API results in 500, instead of 400. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/833376/+subscriptions From steveth45 at gmail.com Thu Aug 25 02:08:15 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 25 Aug 2011 00:08:15 -0000 Subject: [Bug 833132] Re: Unable to query or change member delivery_mode through REST API. References: <20110824161713.27770.61663.malonedeb@soybean.canonical.com> Message-ID: <20110825000815.17816.84744.launchpad@chaenomeles.canonical.com> ** Branch linked: lp:~postfuturist/mailman/rest-api-delivery_mode -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/833132 Title: Unable to query or change member delivery_mode through REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/833132/+subscriptions From steveth45 at gmail.com Thu Aug 25 23:00:11 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 25 Aug 2011 21:00:11 -0000 Subject: [Bug 834130] [NEW] eUnable to create list moderators or ownrs with REST API. References: <20110825210011.22215.79306.malonedeb@wampee.canonical.com> Message-ID: <20110825210011.22215.79306.malonedeb@wampee.canonical.com> Public bug reported: Currently, MM3 is unable to create list moderators or owners with REST API. Or perhaps I can't find the correct way to do it. The documentation only shows them being created in the console, not through any REST calls. I propose we make 'role' an optional parameter on the member creation API. ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/834130 Title: eUnable to create list moderators or ownrs with REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/834130/+subscriptions From steveth45 at gmail.com Fri Aug 26 01:41:35 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 25 Aug 2011 23:41:35 -0000 Subject: [Merge] lp:~postfuturist/mailman/rest-api-mods_owners into lp:mailman Message-ID: <20110825234131.21759.90487.launchpad@ackee.canonical.com> Stephen A. Goss has proposed merging lp:~postfuturist/mailman/rest-api-mods_owners into lp:mailman. Requested reviews: Mailman Coders (mailman-coders) Related bugs: Bug #834130 in GNU Mailman: "eUnable to create list moderators or ownrs with REST API." https://bugs.launchpad.net/mailman/+bug/834130 For more details, see: https://code.launchpad.net/~postfuturist/mailman/rest-api-mods_owners/+merge/72977 Added ability to add moderators and owners through existing REST API endpoints. Tests were updated as well. -- https://code.launchpad.net/~postfuturist/mailman/rest-api-mods_owners/+merge/72977 Your team Mailman Coders is requested to review the proposed merge of lp:~postfuturist/mailman/rest-api-mods_owners into lp:mailman. -------------- next part -------------- A non-text attachment was scrubbed... Name: review-diff.txt Type: text/x-diff Size: 8734 bytes Desc: not available URL: From steveth45 at gmail.com Fri Aug 26 01:39:52 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 25 Aug 2011 23:39:52 -0000 Subject: [Bug 834130] Re: eUnable to create list moderators or ownrs with REST API. References: <20110825210011.22215.79306.malonedeb@wampee.canonical.com> Message-ID: <20110825233952.28096.23647.launchpad@soybean.canonical.com> ** Branch linked: lp:~postfuturist/mailman/rest-api-mods_owners -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/834130 Title: eUnable to create list moderators or ownrs with REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/834130/+subscriptions From steveth45 at gmail.com Fri Aug 26 01:47:45 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Thu, 25 Aug 2011 23:47:45 -0000 Subject: [Merge] lp:~postfuturist/mailman/rest-api-mods_owners into lp:mailman In-Reply-To: <20110825234131.21759.90487.launchpad@ackee.canonical.com> Message-ID: <20110825234709.29626.64233.codereview@gac.canonical.com> The AlreadySubscribedError I removed is superfluous, as that error will get raised regardless in the call to `subscribe` if that is the case. -- https://code.launchpad.net/~postfuturist/mailman/rest-api-mods_owners/+merge/72977 Your team Mailman Coders is requested to review the proposed merge of lp:~postfuturist/mailman/rest-api-mods_owners into lp:mailman. From 834130 at bugs.launchpad.net Mon Aug 29 16:38:07 2011 From: 834130 at bugs.launchpad.net (Barry Warsaw) Date: Mon, 29 Aug 2011 14:38:07 -0000 Subject: [Bug 834130] Re: Unable to create list moderators or owners with REST API. References: <20110825210011.22215.79306.malonedeb@wampee.canonical.com> Message-ID: <20110829143807.25512.12429.launchpad@gac.canonical.com> ** Summary changed: - eUnable to create list moderators or ownrs with REST API. + Unable to create list moderators or owners with REST API. ** Changed in: mailman Status: New => Confirmed ** Changed in: mailman Importance: Undecided => Medium ** Changed in: mailman Milestone: None => 3.0.0a8 ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/834130 Title: Unable to create list moderators or owners with REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/834130/+subscriptions From mark at msapiro.net Mon Aug 29 19:34:06 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 29 Aug 2011 17:34:06 -0000 Subject: [Bug 836861] [NEW] Errors in Basque i18n. References: <20110829173406.32094.19627.malonedeb@chaenomeles.canonical.com> Message-ID: <20110829173406.32094.19627.malonedeb@chaenomeles.canonical.com> Public bug reported: The message: #: cron/checkdbs:161 msgid "" "From: %(sender)s on %(date)s\n" "Subject: %(subject)s\n" "Cause: %(reason)s" is effectively untranslated in messages/eu/LC_MESSAGES/mailman.po. Some keywords in the templates/eu/article.html template are translated and shouldn't be. ** Affects: mailman Importance: Medium Assignee: Mark Sapiro (msapiro) Status: Confirmed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/836861 Title: Errors in Basque i18n. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/836861/+subscriptions From mark at msapiro.net Mon Aug 29 19:59:06 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 29 Aug 2011 17:59:06 -0000 Subject: [Bug 836861] Re: Errors in Basque i18n. References: <20110829173406.32094.19627.malonedeb@chaenomeles.canonical.com> Message-ID: <20110829175906.1346.26990.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/836861 Title: Errors in Basque i18n. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/836861/+subscriptions From steveth45 at gmail.com Tue Aug 30 18:35:28 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 30 Aug 2011 16:35:28 -0000 Subject: [Bug 837526] [NEW] Deleting a domain through REST API does not remove lists belonging to that domain. References: <20110830163528.7208.6332.malonedeb@soybean.canonical.com> Message-ID: <20110830163528.7208.6332.malonedeb@soybean.canonical.com> Public bug reported: Mailing lists for a given domain seem unaffected by deleting the domains that they belong to. The attached patch file is the test for this behavior (which fails). ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/837526 Title: Deleting a domain through REST API does not remove lists belonging to that domain. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/837526/+subscriptions From steveth45 at gmail.com Tue Aug 30 18:35:28 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 30 Aug 2011 16:35:28 -0000 Subject: [Bug 837526] Re: Deleting a domain through REST API does not remove lists belonging to that domain. References: <20110830163528.7208.6332.malonedeb@soybean.canonical.com> Message-ID: <20110830163529.7208.27443.malone@soybean.canonical.com> ** Patch added: "Failing test for the removal of lists upon domain deletion." https://bugs.launchpad.net/bugs/837526/+attachment/2334081/+files/domain_delete.patch -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/837526 Title: Deleting a domain through REST API does not remove lists belonging to that domain. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/837526/+subscriptions From steveth45 at gmail.com Tue Aug 30 22:45:57 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 30 Aug 2011 20:45:57 -0000 Subject: [Bug 837676] Re: Getting the roster or configuration of a nonexistent list returns a 500 from REST API. References: <20110830204256.24410.52796.malonedeb@gac.canonical.com> Message-ID: <20110830204557.24135.57095.malone@wampee.canonical.com> Here is a fix. ** Patch added: "837676_fix.patch" https://bugs.launchpad.net/mailman/+bug/837676/+attachment/2334803/+files/837676_fix.patch -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/837676 Title: Getting the roster or configuration of a nonexistent list returns a 500 from REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/837676/+subscriptions From steveth45 at gmail.com Tue Aug 30 22:45:09 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 30 Aug 2011 20:45:09 -0000 Subject: [Bug 837676] Re: Getting the roster or configuration of a nonexistent list returns a 500 from REST API. References: <20110830204256.24410.52796.malonedeb@gac.canonical.com> Message-ID: <20110830204509.7714.67792.malone@chaenomeles.canonical.com> Here are some tests for correct behavior which fail. ** Patch added: "837676_tests.patch" https://bugs.launchpad.net/mailman/+bug/837676/+attachment/2334794/+files/837676_tests.patch -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/837676 Title: Getting the roster or configuration of a nonexistent list returns a 500 from REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/837676/+subscriptions From steveth45 at gmail.com Tue Aug 30 22:42:56 2011 From: steveth45 at gmail.com (Stephen A. Goss) Date: Tue, 30 Aug 2011 20:42:56 -0000 Subject: [Bug 837676] [NEW] Getting the roster or configuration of a nonexistent list returns a 500 from REST API. References: <20110830204256.24410.52796.malonedeb@gac.canonical.com> Message-ID: <20110830204256.24410.52796.malonedeb@gac.canonical.com> Public bug reported: The REST API doesn't return a 404 when the roster or configuration is requested for a nonexistent list, instead it returns a 500 due to an uncaught exception. ** Affects: mailman Importance: Undecided Status: New ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/837676 Title: Getting the roster or configuration of a nonexistent list returns a 500 from REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/837676/+subscriptions From 837700 at bugs.launchpad.net Tue Aug 30 23:19:45 2011 From: 837700 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 30 Aug 2011 21:19:45 -0000 Subject: [Bug 837700] [NEW] Issues with users subscribed via their preferred address References: <20110830211945.6463.36296.malonedeb@chaenomeles.canonical.com> Message-ID: <20110830211945.6463.36296.malonedeb@chaenomeles.canonical.com> Public bug reported: You can subscribe an address to a mailing list, and you can subscribe a user to a mailing list, if the user has a preferred address. There are two problems with this. * You can actually end up getting doubly subscribed (i.e. same address with the same role). Normally, the subscription mechanism prevents you from subscribing the same address with the same role more than once, or the same user with the same role more than once. However, if you subscribe once by the address, and once by the user whose preferred address is that same address, the double subscription occurs. * The Member repr() doesn't distinguish between a member that's subscribed via explicit address, and one that's subscribed via preferred address. This means that the above will appear as a double address subscription, when it's really not. Are these substantial problems that need to be fixed? Almost certainly the second one does, but I haven't come up with an elegant repr() for the case of a user subscribed with their preferred address. ** Affects: mailman Importance: Low Status: Confirmed ** Tags: mailman3 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/837700 Title: Issues with users subscribed via their preferred address To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/837700/+subscriptions From 834130 at bugs.launchpad.net Wed Aug 31 01:20:32 2011 From: 834130 at bugs.launchpad.net (Barry Warsaw) Date: Tue, 30 Aug 2011 23:20:32 -0000 Subject: [Bug 834130] Re: Unable to create list moderators or owners with REST API. References: <20110825210011.22215.79306.malonedeb@wampee.canonical.com> Message-ID: <20110830232032.7177.58820.launchpad@chaenomeles.canonical.com> ** Changed in: mailman Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/834130 Title: Unable to create list moderators or owners with REST API. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/834130/+subscriptions From 829765 at bugs.launchpad.net Wed Aug 31 04:04:40 2011 From: 829765 at bugs.launchpad.net (Barry Warsaw) Date: Wed, 31 Aug 2011 02:04:40 -0000 Subject: [Bug 829765] Re: Need REST endpoint to retrieve lists for a particular domain. References: <20110819204927.14287.20344.malonedeb@chaenomeles.canonical.com> Message-ID: <20110831020441.25044.66516.launchpad@gac.canonical.com> ** Changed in: mailman Milestone: None => 3.0.0a8 ** Changed in: mailman Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: mailman Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/829765 Title: Need REST endpoint to retrieve lists for a particular domain. To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/829765/+subscriptions