------------------------------------------------------------
revno: 6508
committer: Barry Warsaw <[EMAIL PROTECTED]>
branch nick: 3.0
timestamp: Fri 2007-06-22 15:32:57 -0400
message:
  Merge temporary Elixir model branch to the 3.0 trunk.  Some tests are failing
  now so I have to fix these before pushing the branch up.
removed:
  Mailman/database/model/rosterset.py
  Mailman/docs/mlist-rosters.txt
  Mailman/interfaces/rosterset.py
  Mailman/testing/test_mlist_rosters.py
added:
  .bzrignore
  Mailman/database/model/member.py
  Mailman/docs/ack-headers.txt
  Mailman/docs/acknowledge.txt
  Mailman/docs/after-delivery.txt
  Mailman/docs/avoid-duplicates.txt
  Mailman/docs/calc-recips.txt
  Mailman/docs/cleanse.txt
  Mailman/docs/cook-headers.txt
  Mailman/docs/membership.txt
  Mailman/docs/reply-to.txt
  Mailman/docs/subject-munging.txt
  Mailman/interfaces/member.py
  Mailman/testing/test_acknowledge.py
  Mailman/testing/test_after_delivery.py
  Mailman/testing/test_avoid_duplicates.py
  Mailman/testing/test_calc_recips.py
  Mailman/testing/test_cleanse.py
  Mailman/testing/test_cook_headers.py
renamed:
  Mailman/database/model/profile.py => Mailman/database/model/preferences.py
  Mailman/interfaces/profile.py => Mailman/interfaces/preferences.py
modified:
  Mailman/Defaults.py.in
  Mailman/Handlers/Acknowledge.py
  Mailman/Handlers/AfterDelivery.py
  Mailman/Handlers/AvoidDuplicates.py
  Mailman/Handlers/CalcRecips.py
  Mailman/Handlers/Cleanse.py
  Mailman/Handlers/CookHeaders.py
  Mailman/MailList.py
  Mailman/Utils.py
  Mailman/constants.py
  Mailman/database/listmanager.py
  Mailman/database/model/__init__.py
  Mailman/database/model/address.py
  Mailman/database/model/language.py
  Mailman/database/model/mailinglist.py
  Mailman/database/model/roster.py
  Mailman/database/model/user.py
  Mailman/database/model/version.py
  Mailman/database/types.py
  Mailman/database/usermanager.py
  Mailman/docs/addresses.txt
  Mailman/docs/listmanager.txt
  Mailman/docs/usermanager.txt
  Mailman/docs/users.txt
  Mailman/interfaces/address.py
  Mailman/interfaces/mlistrosters.py
  Mailman/interfaces/mlistweb.py
  Mailman/interfaces/roster.py
  Mailman/interfaces/user.py
  Mailman/interfaces/usermanager.py
  Mailman/testing/test_handlers.py
  Mailman/testing/test_membership.py
  Mailman/testing/test_user.py
  docs/NEWS.txt
  Mailman/database/model/preferences.py
  Mailman/interfaces/preferences.py
    ------------------------------------------------------------
    revno: 6504.1.13
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Thu 2007-06-21 19:46:27 -0400
    message:
      Convert the AvoidDuplicates handler tests to a doctest.  Well,
      actually there /was/ no separate AvoidDuplicates test, but now there
      is, even though it may not be full coverage.
      
      Update the AvoidDuplicates handler to use more modern Python idioms.
    ------------------------------------------------------------
    revno: 6504.1.12
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Thu 2007-06-21 10:23:40 -0400
    message:
      Convert the CookHeaders tests in test_handlers to using doctests, split up
      into several sub-documents.
      
      Defaults.py.in: Removed OLD_STYLE_PREFIXING.  So-called 'new style' 
prefixing
      is the default and only option now.
      
      CookHeaders.py is updated to the new API and some (but not all) of the 
code
      has been updated to more modern Python idioms.
      
      reply_goes_to_list attribute has been changed from a strict integer to a
      munepy enum called ReplyToMunging.
      
      RFC 2369 headers List-Subscribe and List-Unsubscribe now use the preferred
      -join and -leave addresses instead of the -request address with a subject
      value.
    ------------------------------------------------------------
    revno: 6504.1.11
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Tue 2007-06-19 18:42:27 -0400
    message:
      Convert the Cleanse handler tests to doctest style.
    ------------------------------------------------------------
    revno: 6504.1.10
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Tue 2007-06-19 11:13:09 -0400
    message:
      Convert the tests for the CalcRecips handler to doc tests.  There are
      some XXX's in the doc test because digest recipients aren't tested
      (though those may go in a different doctest), and neither are urgent
      messages.  This latter is for the same reason that the Approved
      handler is not yet tested; which password do you use in that header?
      
      The CalcRecips tests would also seem the natural place to test the
      receive_list_copy preference, but that actually gets processed in the
      AvoidDuplicates handler, so it isn't tested here.
      
      Add delivery_status (of type enum DeliveryStatus) to preferences.  I'm
      not entirely sure that's the right place for it, but it lets me finish
      converting the test for now.
      
      Expose the rest of the preferences through the IMember interface.
    ------------------------------------------------------------
    revno: 6504.1.9
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Mon 2007-06-18 14:53:34 -0400
    message:
      Convert the AfterDelivery handler test to a doctest.  Also, change the
      MailingList.last_post_time column to a DateTime (i.e. Python datetime
      object). 
    ------------------------------------------------------------
    revno: 6504.1.8
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Mon 2007-06-18 10:50:23 -0400
    message:
      Remove both the model and interface for RosterSets.  These are no longer 
used
      or necessary in the current data model.
      
      Convert the test_handlers.py Python test to an acknowledge.txt doctest, 
and
      make the Acknowledge.py handler work with the new data model.  There are 
a few
      XXX comments left in here due to the fact that the web stuff is a total 
hack
      in the current branch currently.
      
      Added IMailingListWeb methods and properties to the MailingList model 
class:
      web_host and script_url().
      
      Work out how IMembers will expose the lookup-order based preferences.  By
      getting the attribute IMember.preferences you can see exactly the 
preferences
      overridden by this member.  To use the lookup order, use
      IMember.delivery_mode, IMember.acknowledge_posts, etc.  IOW, the IMember
      interface now provides the properties directly and access through this
      mechanism supports lookup order with definitive preference values.
      
      Also added IMember.unsubscribe() which does the obvious, and
      IMember.options_url() which is a total hack for providing a url (but not 
the
      ultimately right one) for the user's option page.
      
      Refactor the model's roster classes.  Also added IRoster.get_member() 
method
      with efficient queries to return the right results.  Make
      AdministratorRoster.members more efficient due to a better query.
      
      Update the membership.txt doctest to eliminate a chance ordering effect, 
and
      also to test finding members with .get_member().   The clean up section 
uses
      the new .unsubscribe() method.
    ------------------------------------------------------------
    revno: 6504.1.7
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Fri 2007-06-15 22:37:33 -0400
    message:
      profile.py -> preferences.py
      
      Fix the last few doctests by ensuring that other newly created Addresses 
have
      a preferences object.
    ------------------------------------------------------------
    revno: 6504.1.6
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Fri 2007-06-15 01:13:47 -0400
    message:
      merge work from other machine
        ------------------------------------------------------------
        revno: 6504.1.4.1.1
        committer: Barry Warsaw <[EMAIL PROTECTED]>
        branch nick: model
        timestamp: Fri 2007-06-15 00:50:40 -0400
        message:
          Update the IUser interface and tests, specifically as it relates to
          preferences.  IAddresses, IUsers, and IMembers all get preferences by 
default,
          althoughthe attributes of these preferences are None by default.
          
          IMailingLists don't get preferences by default though; because these 
live in
          the user database, we can't cross-polinate them in the mailing lists. 
 We'll
          figure something out later for these.
          
          IUser.register(): Add this method which registers and links an 
address to the
          user.
          
          Allow EnumType database columns to accept and return Nones.  This is 
useful
          for when the columns are not defined NOT NULL.
          
          Update doctests.
          
          Removed teh hide_address preference.  I can't think of a reason not 
to want to
          hide addresses for everyone.
    ------------------------------------------------------------
    revno: 6504.1.5
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Mon 2007-06-11 08:35:07 -0400
    message:
      merge upstream trunk
    ------------------------------------------------------------
    revno: 6504.1.4
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Sun 2007-06-10 19:54:42 -0400
    message:
      add the ignore file
    ------------------------------------------------------------
    revno: 6504.1.3
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Sun 2007-06-10 19:14:10 -0400
    message:
      More test updates based on simplified data model.  Rosters are gone so the
      mlist-rosters.txt tests are removed.
      
      Give MailingList entities a Preferences foreign key, so that they now have
      preferences.
      
      Member.preferences(): Watch out for unlinked addresses, i.e. which have no
      user and thus no user preferences.
      
      Address.controls() takes a text email address, not an IAddress.
      
      UserManager: add create_address(), delete_address(), get_address(), and
      'addresses' property.
      
      Updated the address.txt and user.txt doctests as needed.
      
      Added User.register() to register an email address and immediately link 
it to
      a user.
    ------------------------------------------------------------
    revno: 6504.1.2
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Sat 2007-06-09 18:16:29 -0400
    message:
      Repair the usermanager.txt and listmanager.txt doc tests.  These repairs 
were
      necessary to deal with the simplified user model.  Eradicate more 
references
      to rosters and roster sets.
      
      Give Users a repr.  Also give them a belongs_to() link to Preferences, but
      change the user manager to not give a user preferences by default (the 
lookup
      schema should properly handle users with no preferences now).
      
      Also, when creating a user, set their real_name to the empty string if no
      real_name argument was given to create_user().  Update the IUserManager
      interface's create_user() method to match the implementation.
    ------------------------------------------------------------
    revno: 6504.1.1
    committer: Barry Warsaw <[EMAIL PROTECTED]>
    branch nick: model
    timestamp: Sat 2007-06-09 15:20:32 -0400
    message:
      Implement the new, simplified membership model.  Rosters and RosterSets as
      they were previously known are now gone.  Rosters, rather than being a
      database entity that collects users, is now just a filter on the member
      database.  This way, we can use generic rosters to search for regular 
members,
      digest members, owners, or moderators.  More advanced rosters can do all 
kinds
      of other membership queries.  But rosters no longer need to be a database
      entity.
      
      Users have a name, password, optional preferences, and a set of 
addresses, but
      users are not subscribed to mailing lists.
      
      Addresses have the email address, some verification information, and 
optional
      preferences.
      
      Members tie an address to a mailing list, through a role, with optional
      preferences.
      
      Other changes here include:
      
      MailList.fqdn_listname() moved to the MailingList model entity.
      
      Added MemberRole enum and SystemDefaultPreferences to Mailman.constants.
      
      Profiles are renamed to Preferences (same with the interface), but the 
files
      are not yet moved.  This happens later.
      
      We mostly don't need has_*() relationships on the entity classes, because 
we
      generally don't need the reverse relationship.  Use belongs_to() because 
that
      creates the foreign key, even though the wording seems counter intuitive.
      
      IAddress.subscribe() added.
      
      Tell Elixir to use shortnames for all tables.
      
      Remove the OldStyleMembership fields from MailingList.
      
      Remove all the interface elements and database fields that talk about 
rosters
      and rostersets.
      
      Convert Version entity to has_field().

The size of the diff (5686 lines) is larger than your specified limit of 5000 
lines

--
(no title)
https://code.launchpad.net/~mailman-coders/mailman/3.0

You are receiving this branch notification because you are subscribed to it.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/3.0/+subscription/mailman-checkins.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to