summaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-24added support for migrations via alembicAbhilash Raj5-0/+106
2014-09-23Update some comments.Barry Warsaw1-1/+4
2014-09-23Use a simpler UUID implementation.Barry Warsaw2-30/+18
Fix a typo.
2014-09-23We do not need _database_exists() or _make_temporary() any more either.Barry Warsaw4-101/+6
2014-09-23Since we don't have migrations, we don't need the ITemporaryDatabase stuff,Barry Warsaw6-90/+4
nor do we need the TAG mechanism. We also don't need load_sql() or load_migrations().
2014-09-22Migrations will be replaced with Alchemy.Barry Warsaw20-2716/+0
We don't need the raw SQL schema stuff any more. We don't need the Version table any more.
2014-09-22Re-add the _prepare() method for SQLite permissions.Barry Warsaw1-0/+10
2014-09-22Pass all tests with PYTHONWARNINGS=error.Barry Warsaw7-27/+24
* 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.
2014-09-22Clean up pass.Barry Warsaw28-217/+216
2014-09-21Another test repair.Barry Warsaw1-0/+2
2014-09-21Test repair:Barry Warsaw5-3/+20
* Remove an unused import. * Add skips for all migration unit tests. * Fix model class attribute typo. * .values() returns tuples, so adjust for that. * Add a test.
2014-09-19* remove some unused codeAbhilash Raj9-55/+26
* add left out documentation * remov super(<class>).__init__() calls in models as it was useless now. * remove schema_migrate func in mailman/database/base.py
2014-09-19* fix the circular dependecy problem between User and AdressAbhilash Raj7-21/+31
* fix almost all the errors relating to doctests
2014-09-18call roster methods on mailinglist object after load from databaseAbhilash Raj2-11/+15
2014-09-18reset database by purging all data instead of dropping schema and recreating itAbhilash Raj1-9/+10
2014-09-18all tests except for importer working(ignoring test_migrations.py)Abhilash Raj5-44/+21
2014-09-13fix all tests in mailman.model.testsAbhilash Raj16-126/+123
2014-09-13change leftover queriesAbhilash Raj4-6/+5
2014-09-12modify all storm queries to work with SAAbhilash Raj12-115/+121
2014-09-06* change declarative_base class to use ModelMeta classAbhilash Raj25-159/+84
* update some queries to match SA style
2014-09-05replace storm with sqlalchemy as dependencyAbhilash Raj1-1/+1
2014-09-05replace all storm types and relationships with sqlalchemyAbhilash Raj17-107/+142
2014-09-05add new UUID typeAbhilash Raj1-23/+85
2014-09-04change models to use sqlalchemy models<WIP>Abhilash Raj9-141/+151
2014-09-04add new database base model for sqlalchemyAbhilash Raj1-0/+38
2014-08-23Docs update.Barry Warsaw1-3/+3
2014-04-28Use print functions consistently through, and update all __future__ imports toBarry Warsaw189-747/+765
reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
2014-04-22Carve away the stone.Barry Warsaw2-3/+8
2014-04-22Oops! Fix version string.Barry Warsaw1-1/+1
2014-04-22News for 3.0b4.Barry Warsaw1-1/+1
2014-04-16Make a copy before first usage of mgr.clear()Piotr Kasprzyk1-4/+4
2014-04-15 * Fixed a crash in the REST server when searching for nonmembers viaBarry Warsaw6-65/+251
``/find`` which we've never seen before, because those members only have an address record, not a user record. This requires a small change in the API where the JSON response's ``address`` key now contains the URL to the address resource, the new ``email`` key contains the email address as a string, and the ``user`` key is optional.
2014-04-15 * Use ``setuptools`` instead of ``distribute``, since the latter is defunct.Barry Warsaw3-545/+5
2014-04-15Add bug number.Barry Warsaw1-1/+1
2014-04-15Remove a few redundant checks.Barry Warsaw2-8/+0
2014-04-14Posting an invalid email address string to the user/addresses endpoint Florian Fuchs2-2/+17
now returns a 400 status code
2014-04-14Instantiating an Address model now validates the email stringFlorian Fuchs2-1/+49
2014-04-14IUserManager.create_address() is a better API to create unlinked addresses.Barry Warsaw1-29/+5
2014-04-13* Added an API endpoint to POST new email addresses to a user resource.Florian Fuchs3-0/+87
* Updated docs.
2014-03-29Improve documentation.Stephen J. Turnbull3-7/+117
- ArchiveUIin5.rst: Add warning and pointer to "Development Setup Guide". - ArchiveUIin5.rst: Update the HyperKitty repos to FedoraHosted. - MTA.rst: Add some hints on Sendmail from Gary Algier. - START.rst: Add a section Documentation to point to hosted prebuilt documentation at PythonHosted, ReadTheDocs, and FedoraHosted. - START.rst: Update the quick start procedure to account for common stumbling blocks, including existing obsolete zope.interface and missing sphinx_build command.
2014-03-15 * Fix IntegrityError (against PostgreSQL) when deleting a list with contentBarry Warsaw3-0/+19
filters. Given by Aurélien Bompard. (LP: #1117174)
2014-03-15 * Fix non-member moderation rule to prefer a member sender if both membersBarry Warsaw3-0/+85
and non-members are in the message's sender list. Given by Aurélien Bompard. (LP: #1291452)
2014-03-02- Configuration.style_configs(): Removed unused code.Barry Warsaw3-11/+44
- mailman.cfg: Removed unused section. - Improve the config.py test coverage to 100%.
2014-03-02* Module coding style consistency.Barry Warsaw5-20/+56
* handle_SubscriptionEvent(): We're always guaranteed to get a language from a member, since lookup falls back ultimately to the system preferences. So this method can be simplified. * Bump up code coverage for several modules.
2014-03-02- Clean up and simplify remove_list()Barry Warsaw3-22/+20
- Boost test coverage of lifecycle.py to 100%
2014-01-06Fix the default.Barry Warsaw1-2/+2
2014-01-06Several internal improvements:Barry Warsaw20-83/+290
* New events: - ConfirmationNeededEvent is triggered when a pendable requiring confirmation is created. This allows us to define an event handler for this event which sends the user notification. - SubscriptionEvent is triggered when a member is added to a mailing list. This lets us define an event handler which sends the welcome message. * send_welcome_message() now takes a member parameter instead of an address, which lets us directly access the member's delivery mode and user display name (if the member has a user, which it might not in some cases). * Use the list id in the pendable record instead of the list name for robustness (the latter can change but the former is permanent). * Test more registration conditions. * In the bin/runner command line switch handling, default `verbose` to None instead of False. This makes it work better with nose's -E switch (log to stderr). * In call_api(), if a POST, PUT, or PATCH method is used and data is None, encode the empty dictionary; seems like the behavior of urlencode() has changed, so this is safer. * Fix style and pyflakes warnings.
2014-01-01Bump copyright years.Barry Warsaw319-321/+321
2013-12-01Fix a couple of intermittent test problems.Barry Warsaw2-0/+3
2013-11-27NEWS.Barry Warsaw1-0/+1