~david-soto/mailman/postconf_equivalent

« back to all changes in this revision

Viewing changes to src/mailman/config/schema.cfg

  • Committer: Barry Warsaw
  • Date: 2012-12-30 19:39:10 UTC
  • mfrom: (7191.1.15 lp1065447)
  • Revision ID: barry@list.org-20121230193910-nx0qqml1w816zuw6
 * List styles are supported through the REST API.  Get the list of available
   styles (by name) via `.../lists/styles`.  Create a list in a specific style
   by using POST data `style_name=<style>`.  (LP: #975692)

 * The default list style is renamed to `legacy-default` and a new
   `legacy-announce` style is added.  This is similar to the `legacy-default`
   except set up for announce-only lists.

 * The following columns were unused and have been removed:

   - `mailinglist.new_member_options`
   - `mailinglist.send_reminders`
   - `mailinglist.subscribe_policy`
   - `mailinglist.unsubscribe_policy`
   - `mailinglist.subscribe_auto_approval`
   - `mailinglist.private_roster`
   - `mailinglist.admin_member_chunksize`

Also:
 * List styles no longer have a priority, nor is there any style matching any
   more.  Now, exactly one named style (either explicitly through the
   `create_list()` function, or by default from the configuration file) is
   applied to a list at list creation time.
 * The huge old DefaultStyle is now decomposed into smaller units.  An
   announce-like style is added.
 * `find_components()` and `scan_module()` moved from `app/finder.py` to
   `utilities/modules.py`.
 * Lots of doctest rewriting for better documentation.  Bad-path tests moved
   to unittests.
 * `create_list()` now takes an optional `style_name` parameter.  If not
   given, `[styles]default` is used.
 * `create_list()` doesn't set the `personalize` or `display_name` attributes
   any more.  These are already set in styles.
 * Removed an unnecessary `tearDown()`.
 * Added some improvements on displaying lists in JSON responses.

Show diffs side-by-side

added added

removed removed

Lines of Context:
577
577
class: mailman.archiving.prototype.Prototype
578
578
 
579
579
 
580
 
[style.master]
581
 
# The style's priority, with 0 being the lowest priority.
582
 
priority: 0
 
580
[styles]
 
581
# Python import paths inside which components are searched for which implement
 
582
# the IStyle interface.  Use one path per line.
 
583
paths:
 
584
    mailman.styles
583
585
 
584
 
# The class implementing the IStyle interface, which applies the style.
585
 
class: mailman.styles.default.DefaultStyle
 
586
# The default style to apply if nothing else was requested.  The value is the
 
587
# name of an existing style.  If no such style exists, no style will be
 
588
# applied.
 
589
default: legacy-default
586
590
 
587
591
 
588
592
[digests]