summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/to_usenet.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-08-16The basics of 'mailman members --add'.Barry Warsaw3-1/+105
2009-08-16Refactor the subcommands so that the infrastructure does more of the menialBarry Warsaw6-44/+104
tasks. This also let's the bin/mailman command sort its subcommands for help printing. Add the outline of a 'members' subcommand.
2009-08-14Add the 'mailman remove' command.Barry Warsaw4-85/+137
2009-08-13Remove old fileBarry Warsaw1-130/+0
2009-08-13The language manager is not test-isolated. For now, just use a fake languageBarry Warsaw1-3/+3
code.
2009-08-12Tests for setting an owner and the language. A test for notifications, andBarry Warsaw3-28/+100
errors. Update newlist.txt.
2009-08-12Add more tests for the 'mailman create' command.Barry Warsaw1-0/+55
2009-08-12Add command line creation of mailing lists.Barry Warsaw2-3/+164
2009-08-12Refactor.Barry Warsaw1-3/+3
2009-08-12'mailman info' command.Barry Warsaw4-1/+109
2009-08-09bin/mailman help as an alias for bin/mailman --helpBarry Warsaw4-3/+53
2009-08-09Rename files inside src/mailman/commands to indicate whether it's an emailBarry Warsaw6-7/+4
command (eml_ prefix) or a command line interface (cli_ prefix). Fix a test breakage.
2009-08-09A start on the 'mailman' subcommand layout, with the help of argparse. RightBarry Warsaw11-261/+404
now the only subcommand is 'lists' which displays all mailing lists like the old bin/list_lists command did (which is now removed). Remove bin/version since 'bin/mailman --version' does this for us. Simplify the calculation of the bin scripts; there will be many fewer of them. Extend i18n to use a class based structure. By default, all i18n strings are dedented after translation and substitution, which improves command line help. The class structure allows for overriding this behavior.
2009-08-08Use Storm 0.15's new GenerationalCache.Barry Warsaw1-1/+2
2009-08-07Fix some urls returned by the api. Instead of 'mailing_lists' use 'lists'.Barry Warsaw4-10/+29
Also, extend the ListManager so that it implements IResolvePathNames, so that it can get() sub-mailing lists.
2009-08-06Pick some lint.Barry Warsaw3-4/+2
2009-08-06Minor fixes.Barry Warsaw2-2/+1
2009-08-06Get rid of the Traverse class by checking for None returned from ob.get().Barry Warsaw3-54/+5
2009-08-06Fix the turning of application level exceptions into HTTP 400 errors, throughBarry Warsaw4-7/+22
the improvement of the publication's handleException() method. Pick some lint in traverse.py.
2009-08-05Whitespace cleanupBarry Warsaw1-1/+0
2009-07-26Move BadDomainSpecificationError to domain.txt interface. Try to set this toBarry Warsaw9-14/+87
return an HTTP 400 error, though it does not seem to work. Expose list creation through the API.
2009-07-25* Expose IMailingLists in the API.Barry Warsaw4-14/+59
* Better titles in the IMailingList interface. * Expose the real_name attribute. * Refactor URL mappers.
2009-07-21Expose 'transaction' as an alias for config.db in the doctest globs. ThisBarry Warsaw6-9/+50
means commit() is now transaction.commit() in doctests. Add tests of extended domain creation, which exposes the need to unlock the database (via transaction.abort()) so that the foreground test process doesn't lock the background REST server process.
2009-07-20Our first writable REST API! You can now create new domains through theBarry Warsaw9-24/+112
webserver. Fix the https/http urls. Add the adapter for HTTPCharsets so POSTs work properly. Nice little cargo cult from lazr.restful.
2009-07-18De-u-literal-ify our doctests.Barry Warsaw52-415/+461
2009-07-17De-u-literal-ify our doctests.Barry Warsaw17-163/+164
2009-07-16Wow. Put domains into the database.Barry Warsaw29-263/+515
Add an IDomainManager and a global domain manager which can be gotten by adapting the global config object. Add an IDomainCollection interface for exposing the domain manager onto the API.
2009-07-10Clean a few more lints.Barry Warsaw14-90/+106
Add get_mailing_lists() which is used just for the web interface. Because of a bug in lazr.restful, this cannot be a generator. Similar change in IDomainSet. Instrument IListManager to be vended through the api. The REST server must be run in a separate process since SQLite does not like objects created in one thread to be used in another thread. Note that this breaks the domain.txt test, but domains really need to be in the database anyway.
2009-07-10Pick some lintBarry Warsaw3-10/+3
2009-07-04More lint picking.Barry Warsaw6-13/+17
Fix a documentation link.
2009-07-01Remove some unused stuff and pick some lint.Barry Warsaw2-74/+2
2009-06-30Basic Sphinx documentation generation.Barry Warsaw2-2/+17
2009-06-30Many pylint cleanups.Barry Warsaw15-41/+206
2009-06-30Integrate pylint and Sphinx documentation buildout targets.Barry Warsaw6-0/+441
* bin/lint.sh runs the linter (be very afraid) * bin/docs runs Sphinx over the documentation (needs refining) src/sphinxconf.py is an ugly hack to hook the buildout recipe so that we can ignore text files in our tree that are not documentation.
2009-06-29Implement returning multiple domains, a single specific domain, and raising aBarry Warsaw2-1/+87
404 if the named domain is missing.
2009-06-29Add an adapter for IDomain to IAbsoluteURL and add some zope.security onionsBarry Warsaw5-11/+56
to the varnish.
2009-06-29Set testing threads as daemon so they won't hang.Barry Warsaw3-4/+6
Fix system absolute url.
2009-06-29More REST server updates.Barry Warsaw15-103/+157
* Get rid of in-Python adapter registration in favor of ZCML. Eventually, I'd like to get rid of the ZCML. * Set the view_permission to None, but it's still not right. * Add IDomainSet and an adapter from Configuration to IDomainSet.
2009-05-27typoBarry Warsaw1-1/+1
2009-05-27When cleaning up the artifacts of a list being deleted, be more careful forBarry Warsaw5-9/+51
artifacts that don't exist. In that case, just skimp them rather than complain. Docstring style cleanup. Allow for doctest layer specification in the package's __init__.py, defaulting to SMTPLayer if not given. This is probably too coarse for long term use, but it works for now. Make sure pipelines.txt properly cleans up its digest; it must be flushed after clearing.
2009-05-27Allow for setting the doctest layer in the doctest package's __init__. If notBarry Warsaw4-16/+68
given, then SMTPLayer is used by default.
2009-05-25Get rid of some useless stuff.Barry Warsaw2-11/+8
2009-05-16Refactor __import__'s into a separate utility module.Barry Warsaw13-52/+95
2009-05-15rsplit -> rpartitionBarry Warsaw10-30/+30
2009-05-15Back out that last change in override order between the environment variableBarry Warsaw1-2/+4
and -C.
2009-05-15Add initialization pre- and post- hooks, configurable in the config file.Barry Warsaw7-17/+169
This lets you run a bit of Python at various stages of the initialization process. Move the warnings filters to the top mailman package __init__.py so you always get it. lazr.restful is too chatty. The environment variable $MAILMAN_CONFIG_FILE now overrides -C. Hmm, I think we really want it the original way.
2009-05-11A little bit of cleanup.Barry Warsaw2-7/+2
2009-05-11Linux signal management appears to work differently than OS X. Introduce aBarry Warsaw4-2/+16
runner flag to indicate whether the qrunner parent process should intercept signals or not. The REST server should not intercept signals.
2009-05-10More tests for the REST server, this time, for the queue runner.Barry Warsaw7-18/+83
Add logging to the RESTRunner. Also, use pkg_resources.resource_stream() instead of .resource_string() where appropriate. Add a bunch of XXX comments for things I need to figure out about the Zope-ish parts of the lazr.restful implementation. Change __getitem__() api to _lookup().
2009-05-06Several RESTful updates.Barry Warsaw4-10/+33
* Fix a typo in the runner * Add support for 404 Not Found exceptions * Suppress sha module deprecation warnings from lazr.restful