~barry/mailman/templatecache

« back to all changes in this revision

Viewing changes to src/mailman/config/configure.zcml

  • Committer: Barry Warsaw
  • Date: 2012-01-30 15:37:16 UTC
  • Revision ID: barry@list.org-20120130153716-s9qx07i6i0rltyax
 * Held messages can now be moderated through the REST API.  Mailing list
   resources now accept a `held` path component.  GETing this returns all held
   messages for the mailing list.  POSTing to a specific request id under this
   url can dispose of the message using `Action` enums.
 * `IRequests` interface is removed.  Now just use adaptation from
   `IListRequests` directly (which takes an `IMailingList` object).
 * `handle_message()` now allows for `Action.hold` which is synonymous with
   `Action.defer` (since the message is already being held).
 * `IListRequests.get_request()` now takes an optional `request_type`
   argument to narrow the search for the given request.

- also, print_function is now a standard __future__ import.  The template has
  been updated, but add this to modules as you edit them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
  <adapter
8
8
    for="mailman.interfaces.mailinglist.IMailingList"
 
9
    provides="mailman.interfaces.autorespond.IAutoResponseSet"
9
10
    factory="mailman.model.autorespond.AutoResponseSet"
10
 
    provides="mailman.interfaces.autorespond.IAutoResponseSet"
11
11
    />
12
12
 
13
13
  <adapter
14
14
    for="mailman.interfaces.mailinglist.IMailingList"
 
15
    provides="mailman.interfaces.mailinglist.IAcceptableAliasSet"
15
16
    factory="mailman.model.mailinglist.AcceptableAliasSet"
16
 
    provides="mailman.interfaces.mailinglist.IAcceptableAliasSet"
 
17
    />
 
18
 
 
19
  <adapter
 
20
    for="mailman.interfaces.mailinglist.IMailingList"
 
21
    provides="mailman.interfaces.requests.IListRequests"
 
22
    factory="mailman.model.requests.ListRequests"
17
23
    />
18
24
 
19
25
  <utility
62
68
    />
63
69
 
64
70
  <utility
65
 
    factory="mailman.model.requests.Requests"
66
 
    provides="mailman.interfaces.requests.IRequests"
67
 
    />
68
 
 
69
 
  <utility
70
71
   factory="mailman.styles.manager.StyleManager"
71
72
   provides="mailman.interfaces.styles.IStyleManager"
72
73
   />