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. 08 Jan, 2020 1 commit
    • Abhilash Raj's avatar
      Fixes for bounce processing · 85e634ec
      Abhilash Raj authored and Mark Sapiro's avatar Mark Sapiro committed
      - Delete the duplicate send_probe_message method
      - Change bounce attributes to be stored in Member instead of Address model,
        this allows for simpler access to the attributes than a PickleType.
      - Add a new process_event attribute to the BounceProcessor to process bounce
        events.
      - Add a send_warnings_and_remove method to the BounceProcessor, which after the
        implementation will send warnings to disabled members and finall unsubscribed
        from the mailing list.
      - Bounce runner will now also run a new _do_periodict() method, which allows it
        to process bounce events stored on a regular event.
      85e634ec
  3. 04 Aug, 2017 1 commit
  4. 25 Mar, 2016 1 commit
    • Barry Warsaw's avatar
      Clean up the core directory. · 5404f98d
      Barry Warsaw authored
      mailman/core/errors.py is gone now.  We had a duplicate base exception
      which now always comes from mailman/interfaces/errors.py.
      Obsolete/unused exceptions are remove.  The other exceptions are moved
      to better locations.
      5404f98d
  5. 28 Apr, 2014 1 commit
  6. 25 Oct, 2013 1 commit
  7. 24 Sep, 2011 1 commit
  8. 15 Jul, 2011 1 commit
  9. 23 Sep, 2010 1 commit
  10. 09 Sep, 2010 1 commit
  11. 12 Jan, 2010 1 commit
  12. 26 Aug, 2009 1 commit
  13. 21 Aug, 2009 1 commit
  14. 17 Jul, 2009 1 commit
  15. 25 Jan, 2009 1 commit
  16. 26 Dec, 2008 1 commit
  17. 23 Dec, 2008 1 commit
  18. 27 Sep, 2008 1 commit
  19. 27 Feb, 2008 1 commit
  20. 24 Jan, 2008 1 commit
  21. 08 Nov, 2007 1 commit
  22. 29 Sep, 2007 1 commit
    • Barry Warsaw's avatar
      Reorganize the qrunner infrastructure. First, the package has been renamed · 3e9ed398
      Barry Warsaw authored
      from Mailman.Queue to Mailman.queue (note the case change to be more PEP 8
      compliant).
      
      The Switchboard and Runner classes have been moved into the package
      __init__.py and the previous class modules have been removed.
      
      The switchboard cache is removed; I don't think it was ultimately buying us
      much.  Now, just import the Switchboard class and instantiate it directly.
      
      Added an IRunner interface.
      
      Renamed the ArchRunner to ArchiveRunner.
      
      bin/qrunner and bin/mailmanctl are updated accordingly.  For the former, it no
      long accepts -r=All to run all qrunners.  You can still use the short name
      (e.g. --runner=incoming) to run the built-in queue runners, but this design
      will eventually allow for plugin qrunners by allowing them to be run
      specifying the full package path to the class.  It also now accepts a leading
      dot to indicate a qrunner class relative to the Mailman.queue package.
      3e9ed398
  23. 21 Sep, 2007 1 commit
    • Barry Warsaw's avatar
      OMGW00T: After over a decade, the MailList mixin class is gone! Well, · 65c64773
      Barry Warsaw authored
      mostly.  It's no longer needed by anything in the test suite, and
      therefore the list manager returns database MailingList objects
      directly.  The wrapper cruft has been removed.
      
      To accomplish this, a couple of hacks were added to the Mailman.app
      package, which will get cleaned up over time.  The MailList module
      itself (and its few remaining mixins) aren't yet removed from the tree
      because some of the code is still not tested, and I want to leave this
      code around until I've finished converting it.
      65c64773
  24. 02 Aug, 2007 1 commit
  25. 02 Jul, 2007 1 commit
    • Barry Warsaw's avatar
      Convert failing test_message.py to doctests bounces.txt and message.txt, which · 8e1e73e9
      Barry Warsaw authored
      of course now succeed.
      
      Rename Bouncer.py's BounceMessage() method to bounce_message() and remove the
      'msgdata' parameter, which wasn't being used.  Change the RejectNotice
      exception class to expose .notice directly, as there's no reason for this to
      be an accessor or property.
      
      Move the coverage.py installation to the install-packages target instead of
      the install-other target, so that it only gets installed once the pythonlib
      directory is created.
      8e1e73e9