summaryrefslogtreecommitdiff
path: root/src/mailman/model/messagestore.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Use contextlib.suppress() where appropriate.Barry Warsaw2016-04-301-5/+2
|
* Clean up the model and languages directories.Barry Warsaw2016-03-251-6/+2
|
* Fix cross-posting held on more than one list.Barry Warsaw2016-03-081-4/+2
| | | | | | | | | | | Closes #176 Also: * IMessageStore no longer raises a ValueError if the Message-ID already exists in the store; it just returns None. * The internal handle_message() function no longer takes a `preserve` argument, since messages are never removed from the IMessageStore.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Handle deleting nonexistent messages from the message store. Closes: #167Aurélien Bompard2015-12-021-5/+9
|
* * Messages now include a `Message-ID-Hash` as the replacement forBarry Warsaw2015-06-141-7/+3
| | | | | | `X-Message-ID-Hash` although the latter is still included for backward compatibility. Also be sure that all places which add the header use the same algorithm.
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-3/+0
|
* Trunk merge.Barry Warsaw2014-12-221-0/+3
|\
| * * Fixed getting non-ASCII filenames from RFC 2231 i18n'd messages. Given byBarry Warsaw2014-12-081-0/+3
| |\ | | | | | | | | | Aurélien Bompard. (LP: #1060951)
| | * Convert unicode instance testing to bytes instance testingAurélien Bompard2014-12-041-1/+1
| | |
| | * Do not auto-convert Message headers to unicodeAurélien Bompard2014-12-021-0/+2
| |/ | | | | | | Fixes: bug #1060951
* | All model tests except for pendings.rst is passing now.Barry Warsaw2014-12-131-5/+0
| |
* | test_requests succeeds now, after changing some LargeBinary columns intoBarry Warsaw2014-12-011-4/+4
| | | | | | | | Unicode columns.
* | Checkpointing.Barry Warsaw2014-11-301-3/+2
|/ | | | | | | | | | 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.
* PostgreSQL support by Abhilash, cleaned by Barry.Barry Warsaw2014-09-271-3/+6
|\
| * Add support for postgresqlAbhilash Raj2014-09-251-3/+7
|/ | | | | | | | | * revert changes in message_id_has encoding by barry * Change message_id_hash column to LargeBinary (from previously mistaken one i.e.unicode) * add missing import in database/types.py * fix a bug in database/Model.py, transaction has no method abort(), instead it is rollback()
* Pass all tests with PYTHONWARNINGS=error.Barry Warsaw2014-09-221-7/+3
| | | | | | | | | | * Switch away from a deprecated unittest method. * Switch away from using deprecated Exceptions.message attribute. * Decode the bytes b32 encoded X-Message-ID-Hash header into a Unicode. * Fix a rather glaring bug in Pendings.add() where we were actually not properly coercing bytes to unicode for the keys and values! I guess it's a good thing that SQLAlchemy is more strict than Storm. * Some cosmetic fixes.
* Clean up pass.Barry Warsaw2014-09-221-7/+9
|
* fix all tests in mailman.model.testsAbhilash Raj2014-09-131-4/+4
|
* * change declarative_base class to use ModelMeta classAbhilash Raj2014-09-061-3/+3
| | | | * update some queries to match SA style
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* General code cleanup.Barry Warsaw2012-04-251-2/+3
| | | | | | | | - 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.
* - Module modernatizations (print function).Barry Warsaw2012-04-221-15/+18
| | | | - Convert direct use of config.db global to use the @dbconnection decorator.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* database/model reorganization. Model classes go in mailman.model. StockBarry Warsaw2009-10-101-0/+137
database support goes in mailman.database. Move stuff out of mailman/database/__init__.py.