summaryrefslogtreecommitdiff
path: root/src/mailman/bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove another obsolete script.Barry Warsaw2012-03-282-151/+1
|
* Remove obsolete script.Barry Warsaw2012-03-261-660/+0
|
* * Global ``-C`` option now accepts an absolute path to the configurationBarry Warsaw2012-03-121-2/+4
|\ | | | | | | file. Given by Andrea Crotti. (LP: #953707)
| * Get rid of the function and inline the path callAndrea Crotti2012-03-131-9/+1
| |
| * expand the user home and use the absolute path for the -C optionAndrea Crotti2012-03-131-1/+11
|/
* * Schema migrations have been implemented.Barry Warsaw2012-02-121-1/+1
|
* * Held messages can now be moderated through the REST API. Mailing listBarry Warsaw2012-01-301-5/+4
| | | | | | | | | | | | | | | resources now accept a `held` path component. GETing this returns all held messages for the mailing list. POSTing to a specific request id under this url can dispose of the message using `Action` enums. * `IRequests` interface is removed. Now just use adaptation from `IListRequests` directly (which takes an `IMailingList` object). * `handle_message()` now allows for `Action.hold` which is synonymous with `Action.defer` (since the message is already being held). * `IListRequests.get_request()` now takes an optional `request_type` argument to narrow the search for the given request. - also, print_function is now a standard __future__ import. The template has been updated, but add this to modules as you edit them.
* copybumpBarry Warsaw2012-01-0122-22/+22
|
* * Fix a couple of spelling errors.Barry Warsaw2011-11-024-15/+15
| | | | | | * Code cleanup (<> -> != ... sigh) * Minor refactoring of database setup code so that touch() is moved to the SQLiteDatabase class; it's not relevant for PostgreSQL.
* Remove extraneous `test_suite()` functions. zope.testrunner willBarry Warsaw2011-10-301-8/+0
| | | | | | | | | automatically do the right thing in most cases. Keep test_suite() in test_documentation.py since these dynamically set up docs tests properly. Refactor test_passwords.py so that base class tests aren't bogusly run. Also, remove test_membership.py which was essentially disabled because it was testing the MM2 membership API.
* * `bin/mailman start --force` option is fixed. (LP: #869317)Barry Warsaw2011-10-161-1/+0
| | | | | | | | | | | | * acquire_lock_1(): No need to unlink the tempfile * Start.process(): Don't print error message when the lock is in stale_lock or host_mismatch status and --force has been given. * control.rst: Refactor test code into test_control.py. * test_create.py: To more accurately mimic argparse, FakeParser.error() needs to `sys.exit(1)`. The `SystemExit` must also be caught in the appropriate tests. * logging.py: Locking is now down by the flufl.lock package, so apply the `mailman.lock` configuration to it.
* * Moderating a message with Action.accept now sends the message. (LP: #827697)Barry Warsaw2011-08-221-0/+1
| | | | | | | | | | | Also: * Use utilities.datetime.now() so that moderation related dates are predictable during the test suite. * When a message is accepted, drop it in the pipeline queue. The above bug was caused by the message going in the incoming queue, and then being re-moderated. * Expose mailman.bin.master.Loop in __all__. * Add some helpful debug logging.
* Remove all pylint vestiges.Barry Warsaw2011-08-031-1/+0
|
* * The IMailingList attribute ``host_name`` has been renamed to ``mail_host``Barry Warsaw2011-06-162-314/+1
| | | | | for consistency. This changes the REST API for mailing list resources. (LP: #787599)
* After a current analysis by Richard Wackerbarth, it was found that notBarry Warsaw2011-06-141-1/+2
| | | | | | | | | | | | including site-packages in the built-out environment is what was causing FreeBSD to fail to find the _sqlite module. As it turns out, the reason for adding this no longer appears relevant on Ubuntu, so just remove the setting. Fix a reference error in bin/runner.py Rename: * START.txt -> START.rst * README.txt -> README.rst
* Typos, left over crud, and a refactoring.Barry Warsaw2011-06-101-2/+2
|
* Major terminology shift:Barry Warsaw2011-06-015-213/+221
| | | | | | | | | | | | | | | | | * Queue runners are now called just 'Runners' since several of them don't manage queue directories. * Ban the term 'qrunner' too. * The master queue runner watcher should now just be called the 'master' or the 'master runner'. * bin/qrunner -> bin/runner * mailman.qrunner log file -> mailman.runner * master-qrunner.lck -> master.lck * master-qrunner.pid -> master.pid Also: * Remove some obsolete files * Begin the .txt -> .rst renaming
* Rename 'queue' directory to 'runners' since not all subprocesses run a queue.Barry Warsaw2011-05-292-2/+2
|
* * Start fleshing out the REST API for users.Barry Warsaw2011-03-181-113/+0
| | | | * Remove mmsitepass.py - there is no more site password.
* Reimplement wrap() using modern techniques, and finally get rid of Utils.py!Barry Warsaw2011-03-173-8/+5
|
* nntpsplit() is replaced by lazr.config.as_host_port().Barry Warsaw2011-02-251-3/+3
|
* Happy New Year.Barry Warsaw2011-01-0124-25/+25
|
* * Start to get rid of pylint; it's more trouble than it's worth and pyflakesBarry Warsaw2010-12-223-43/+128
| | | | | | | | | | | | | does a pretty good job anyway. * Remove master.get_lock_data() now that flufl.lock 2.1 provides the same detailed information. * Add WatcherState.none to indicate that the master is not running. * Instrument master_state() and acquire_lock_1() for testing, and add unittests. * LBYL for 'bin/mailman start' so that the error message when the master is already running happens in the foreground process and is more user friendly. * Add 'bin/mailman status' to provide master queue runner status on the command line.
* Upgrade from using the locknix package to using flufl.lock.Barry Warsaw2010-11-274-12/+12
|
* Fix the obvious errors identified by pyflakes. Skip false positives (mostlyBarry Warsaw2010-10-083-5/+5
| | | | | due to _() interpolation) and a few other problems that did not have immediately obvious fixes.
* Many documentation fixes for better Sphinx output.Barry Warsaw2010-09-081-3/+4
|
* Refactor, and add a missing import.Barry Warsaw2010-08-231-0/+1
|
* checkpointBarry Warsaw2010-07-161-0/+74
|
* Updates for the latest releases of flufl.enum and flufl.i18n.Barry Warsaw2010-05-021-1/+1
|
* More fixes to the start up procedure. The root cause of the fix is that whenBarry Warsaw2010-03-282-23/+25
| | | | | | | | | | | | | | | | | | var_dir in the config file is a relative path, the bin/master and bin/qrunner subprocesses end up creating another hierarchy under $VAR_DIR. This is because 'bin/mailman start' chdirs to $VAR_DIR before starting master. The fix involves putting the absolute path to $VAR_DIR in the $MAILMAN_VAR_DIR environment variable. If the configuration file reader sees this, it uses the value instead of $var_dir from the configuration file. Another change is to remove qrunner's --subproc/-s option and stick this in the environment as well, using $MAILMAN_UNDER_MASTER_CONTROL. Other fixes here include: * Deciphering the master lock file contents correctly * Reformatting the error message so that it fits in 79 columns when prefixed by argparse error info.
* * Fix two type specifications in argparse.Barry Warsaw2010-03-031-2/+5
| | | | * Update printing of version string to avoid argparse DeprecationWarnings.
* Rip out lazr.restful and replace it with restish. This simpifies a lot of theBarry Warsaw2010-02-231-2/+3
| | | | | REST architecture, at the expense of a few features, and less support. So far so good though.
* So long X-BeenThere, and thanks for all the fish.Barry Warsaw2010-02-161-0/+1
|
* A bit of clean up.Barry Warsaw2010-02-132-1/+7
|
* Checkpointint support for different path layouts, allowing us to optionallyBarry Warsaw2010-01-271-2/+2
| | | | | | | | support the Filesystem Hierarchy Standard. This is done through the configuration file. * add a --paths/-p option to 'bin/mailman info' * PIDFILE -> PID_FILE
* The functionality of 'bin/list_members' has been moved to 'bin/mailmanBarry Warsaw2010-01-231-196/+0
| | | | members'
* Happy New Year.Barry Warsaw2010-01-0123-24/+24
|
* * Leave a mailing list via the REST API.Barry Warsaw2009-12-281-3/+3
| | | | | | * delete_member(): If the address is not associated with a member, raise NotAMemberError. * NotAMemberError -> interfaces/member.py
* * Refactor the language manager off of the config object and into a utility.Barry Warsaw2009-12-101-7/+9
| | | | | | | | * Fix a few small typos in exception handlers. * Move the initialization of the Zope Component Architecture into the first initialization step. The only reason we couldn't do that previously was because the domain object referenced the config, causing a circularity problem. Refactor the Domain implementation to avoid that.
* Migrate unshunt to the bin/mailman command.Barry Warsaw2009-12-101-51/+0
|
* * Mostly eradicate mentions of mailmanctl.Barry Warsaw2009-12-053-28/+27
| | | | * In most human readable text, qrunner -> queue runner
* Replace the old bin/dumpdb with 'bin/mailman qfile'.Barry Warsaw2009-12-041-88/+0
|
* Convert bin/genaliases to bin/mailman aliasesBarry Warsaw2009-11-281-63/+0
|
* This script has been replaced.Barry Warsaw2009-11-261-223/+0
|
* Factor out most of the i18n subsystem and convert to using the flufl.i18nBarry Warsaw2009-11-1527-49/+45
| | | | package.
* When testing, the signal.pause() is a problem because the TestableMaster isBarry Warsaw2009-10-152-5/+9
| | | | | never killed with a signal. In the real-world, it is though. So put the .pause() in a method that can be overridden by TestableMaster.
* Bye bye mailmanctl, long live 'bin/mailman start'Barry Warsaw2009-10-091-234/+0
|
* Move mailmanctl start and stop commands into bin/mailman.Barry Warsaw2009-10-062-8/+15
|
* Convert bin/inject to bin/mailman injectBarry Warsaw2009-09-191-91/+0
| | | | | | Expose the database store on .store instead of ._store A few other cleanups.
* As before, replace config.db.requests and config.db.pendings with utilities.Barry Warsaw2009-08-261-1/+3
|