1. 22 Aug, 2020 1 commit
    • Abhilash Raj's avatar
      Remove all implicit imports in doctests. · 24ee359d
      Abhilash Raj authored
      Implicit is better than explicit. These implicit imports often leads to
      questions being answered on mailinglists about where these imports come
      from. It is easier to have them explitly defined instead.
      
      Also, move some commented helper functions out to be visible so that again
      users aren't confused about where the magic functions are coming from.
      24ee359d
  2. 12 May, 2020 1 commit
    • Abhilash Raj's avatar
      Update subscription requests API. · 8a5f8a44
      Abhilash Raj authored
      - Add a new /lists/listname/requests/count API to return total number of
        pending subscription requests for a MailingList.
      - Update the subscription requests API to be filtered using token_owner.
      8a5f8a44
  3. 16 Dec, 2015 3 commits
  4. 16 Apr, 2015 1 commit
  5. 13 Apr, 2015 1 commit
  6. 14 Dec, 2014 1 commit
    • Barry Warsaw's avatar
      Fix pending.rst. · 994fdcda
      Barry Warsaw authored
      NOTE NOTE NOTE: This is a potential upgrade issue.  The values in the pending
      database used to be either custom pickle-like objects or actual pickles.  Now
      all values are JSON representations.
      994fdcda
  7. 28 Apr, 2014 1 commit
  8. 26 Apr, 2012 1 commit
    • Barry Warsaw's avatar
      General code cleanup. · 658fad42
      Barry Warsaw authored
       - Add explicit dependency on zope.event in setup.py.
       - Use Python 3 compatible syntax for specifying that a class implements an
         interface, i.e. the @implementer class decorator.
       - print_function futures.
       - Whitespace normalization.
      658fad42
  9. 15 Mar, 2012 1 commit
  10. 18 Aug, 2011 1 commit
    • Barry Warsaw's avatar
      Complete bug 827036 work. · 7f32fdd8
      Barry Warsaw authored
      * Add ListCreatingEvent and ListDeletingEvent.  These are sent before the
        operation actually occurs, whereas the previously added ListCreatedEvent and
        ListDeletedEvent are sent after the operation.  Specifically, this is
        necessary because request database deletion requires the IMailingList
        object, which is only available before the list is deleted.
      
      * Add a handler to clear out the requests database for a mailing list, when
        the mailing list is about to be deleted.
      7f32fdd8
  11. 06 May, 2011 1 commit
  12. 09 Sep, 2010 1 commit
  13. 12 Jan, 2010 1 commit
  14. 27 Aug, 2009 1 commit
  15. 19 Jul, 2009 1 commit
  16. 25 Jan, 2009 1 commit
  17. 04 Jan, 2009 1 commit
  18. 23 Dec, 2008 1 commit
  19. 27 Feb, 2008 1 commit
  20. 17 Nov, 2007 1 commit
  21. 08 Nov, 2007 1 commit
  22. 31 Oct, 2007 1 commit
    • Barry Warsaw's avatar
      Much progress, though not perfect, on migrating to SQLAlchemy 0.4 and Elixir · f321d85d
      Barry Warsaw authored
      0.4.  Lots of things changes, which broke lots of our code.  There are still a
      couple of failures in the test suite that I don't understand.  It seems that
      for pending.txt and requests.txt, sometimes strings come back from the
      database as 8-bit strings and other times as unicodes.  It's impossible to
      make these tests work both separately and together.
      
      users.txt is also failing intermittently.  Lots of different behavior between
      running the full test suite all together and running individual tests.  Sigh.
      
      Note also that actually, Elixir 0.4.0 doesn't work for us.  There's a bug in
      that version that prevented zope.interfaces and Elixir working together.  Get
      the latest 0.4.0 from source to fix this.
      
      Other changes include:
      
      - Remove Mailman/lockfile.py.  While I haven't totally eliminated locking, I
        have released the lockfile as a separate Python package called locknix,
        which Mailman 3.0 now depends on.
      
      - Renamed Mailman/interfaces/messagestore.py and added an IMessage interface.
      
      - bin/testall raises turns on SQLALCHEMY_ECHO when the verbosity is above 3
        (that's three -v's because the default verbosity is 1).
      
      - add_domain() in config files now allows url_host to be optional.  If not
        given, it defaults to email_host.
      
      - Added a non-public interface IDatabase._reset() used by the test suite to
        zap the database between doctests.  Added an implementation in the model
        which just runs through all rows in all entities, deleting them.
      
      - [I]Pending renamed to [I]Pended
      
      - Don't allow Pendings.add() to infloop.
      
      - In the model's User impelementations, we don't need to append or remove the
        address when linking and unlinking.  By setting the address.user attribute,
        SQLAlchemy appears to do the right thing, though I'm not 100% sure of that
        (see the above mentioned failures).
      f321d85d
  23. 02 Aug, 2007 1 commit
  24. 01 Aug, 2007 1 commit