summaryrefslogtreecommitdiff
path: root/src/mailman/core/switchboard.py
Commit message (Collapse)AuthorAgeFilesLines
* Enhance Switchboard.finish() to look for .pck if no .bak.Mark Sapiro2017-04-221-0/+7
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* New template system. Closes #249Barry Warsaw2016-07-161-1/+1
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Clean up the core directory.Barry Warsaw2016-03-241-9/+4
| | | | | | | 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.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* We don't need the 'six' package any more.Barry Warsaw2015-01-041-9/+8
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* Use listid instead of (fqdn) listname in the metadata pickle.Barry Warsaw2014-12-151-3/+4
| | | | | | load_external() now always opens in utf-8 mode. More test repair.
* * Read the .cfg files not as bytes any more, but as UTF-8 encoding files.Barry Warsaw2014-12-151-1/+1
| | | | | | | | | * Revert LP: #1170347 to not .as_string() the message being added the mailbox, because Python 3.4 handles this properly by default. Fix up some lmtp code, though I don't thinkk it's quite right yet. Fix handler tests.
* Port model/tests/test_user.pyBarry Warsaw2014-12-011-7/+6
|
* Checkpointing.Barry Warsaw2014-11-301-10/+11
| | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* Fix a few issues with `python2 -3` compatibility.Barry Warsaw2014-11-191-2/+2
|
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* * Non-queue runners should not create ``var/queue`` subdirectories. Fixed byBarry Warsaw2013-01-201-4/+7
|\ | | | | | | Sandesh Kumar Agrawal. (LP: #1095422)
| * Comment fixedSandesh Kumar Agrawal2013-01-171-1/+1
| |
| * Test added to non_queue_runner bugSandesh Kumar Agrawal2013-01-171-12/+7
| |
| * Fixed formation of /var/queue/* for non-queue runnersSandesh Kumar Agrawal2013-01-111-7/+6
| |
| * non-queue runner should not create var/tmp/* directorySandesh Kumar Agrawal2013-01-101-7/+16
|/
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* More consistency in the way post-configuration changes are processed. LessBarry Warsaw2012-07-021-12/+18
| | | | | | | | | | magic in the _post_process() method, more ConfigurationUpdatedEvents. More centralization of event initialization. Added property Configuration.language_configs. Instead of initializing events in initialize_2(), initialize them in initialize_1() and do it before the configuration is loaded.
* General code cleanup.Barry Warsaw2012-04-251-3/+4
| | | | | | | | - 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.
* ArchitectureBarry Warsaw2012-03-261-2/+1
| | | | | | | | | | | | | | | | | | | ------------ * Internally, all datetimes are kept in the UTC timezone, however because of LP: #280708, they are stored in the database in naive format. * `received_time` is now added to the message metadata by the LMTP runner instead of by `Switchboard.enqueue()`. This latter no longer depends on `received_time` in the metadata. * The `ArchiveRunner` no longer acquires a lock before it calls the individual archiver implementations, since not all of them need a lock. If they do, the implementations must acquire said lock themselves. Configuration ------------- * New configuration variables `clobber_date` and `clobber_skew` supported in every `[archiver.<name>]` section. These are used to determine under what circumstances a message destined for a specific archiver should have its `Date:` header clobbered.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* A couple of small cleanups.Barry Warsaw2011-11-041-4/+1
|
* * Fix a couple of spelling errors.Barry Warsaw2011-11-021-2/+2
| | | | | | * Code cleanup (<> -> != ... sigh) * Minor refactoring of database setup code so that touch() is moved to the SQLiteDatabase class; it's not relevant for PostgreSQL.
* Major terminology shift:Barry Warsaw2011-06-011-3/+3
| | | | | | | | | | | | | | | | | * 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-291-0/+269