summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add comments and rewrite test a bit.Barry Warsaw2014-11-291-1/+5
| | |
* | | Remove debugging.Barry Warsaw2014-11-281-1/+0
| | |
* | | Repair broken test. Given by Aurélien Bompard.Barry Warsaw2014-11-281-9/+15
|\ \ \ | |/ / |/| |
| * | Fix a failing schemamanager testAurélien Bompard2014-11-271-8/+13
|/ /
* | Fix a few issues with `python2 -3` compatibility.Barry Warsaw2014-11-198-14/+15
| |
* | Improve coverage:Barry Warsaw2014-11-173-52/+4
| | | | | | | | | | * Remove some unused code * pragma: no cover
* | Remove debugging.Barry Warsaw2014-11-161-1/+0
| |
* | Make sure runner subprocesses get covered during `tox -e coverage`.Barry Warsaw2014-11-163-2/+16
| |
* | s/restish/falcon/Barry Warsaw2014-11-1529-608/+1010
|\ \
| * | Make it work with some pending refactoring in upstream falcon.Barry Warsaw2014-11-111-1/+2
| | |
| * | Trunk mergeBarry Warsaw2014-11-098-33/+60
| |\ \
| * \ \ Trunk merge.Barry Warsaw2014-11-0813-130/+125
| |\ \ \
| * | | | When we switch to tox, we'll get hash randomization, which breaks many tests.Barry Warsaw2014-11-064-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While I'm shipping a tox.ini, do not yet use tox to run the tests, unless you want to help fix the randomizations. In the meantime, I'm also adding a few randomization fixes, and updating to the latest falcon git trunk.
| * | | | Port to current Falcon git head.Barry Warsaw2014-11-022-17/+23
| | | | |
| * | | | Trunk merge.Barry Warsaw2014-11-0281-3632/+1281
| |\ \ \ \
| * | | | | Remove some unused code.Barry Warsaw2014-11-021-5/+0
| | | | | |
| * | | | | trunk mergeBarry Warsaw2014-09-231-3/+3
| |\ \ \ \ \
| * | | | | | Minor cleanups.Barry Warsaw2014-08-153-11/+7
| | | | | | |
| * | | | | | Refactor so that most modules don't need to import falcon, and so fewerBarry Warsaw2014-08-1412-215/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unnecessary changes are needed for upstream falcon to support restish-ish traversal.
| * | | | | | Complete the conversion from restish to falcon, modulo a clean up pass. AllBarry Warsaw2014-08-1417-257/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | REST tests pass. This requires an as yet unmerged internal change to falcon.
| * | | | | | Port users and part of members.Barry Warsaw2014-08-133-60/+92
| | | | | | |
| * | | | | | Lists and pagination are ported.Barry Warsaw2014-08-135-75/+152
| | | | | | |
| * | | | | | Domains are ported to falcon.Barry Warsaw2014-08-134-47/+63
| | | | | | |
| * | | | | | Make preferences work.Barry Warsaw2014-08-136-42/+87
| | | | | | |
| * | | | | | test_addresses and test_root are both passing now.Barry Warsaw2014-08-123-17/+17
| | | | | | |
| * | | | | | Get addresses.rst, i.e. /<api>/addresses working.Barry Warsaw2014-08-1210-74/+123
| | | | | | |
| * | | | | | First pass at converting to falcon for the REST API layer.Barry Warsaw2014-08-126-96/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, only /<api>/system and its subpaths work, but basic auth does work too. Requires a refactoring modification to falcon.
* | | | | | | * Improve test coverage a bit.Barry Warsaw2014-11-113-8/+88
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | * Shore up the coverage.ini file. * Fix up Link.__repr__()
* | | | | | * You no longer have to edit `src/mailman/testing/testing.cfg` to run theBarry Warsaw2014-11-098-33/+60
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test suite against PostgreSQL. See `src/mailman/docs/START.rst` for details. Also: * Test fixes. * Doc fixes. * PostgreSQL/model fixes.
* | | | | tox-ify the test suite. First, this makes it easier to run since you don'tBarry Warsaw2014-11-0815-135/+133
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | have to manually set up the virtualenv. Second, it allows us to later create a python3 environment for porting purposes. Other change: * The `mailman conf` command no longer takes the `-t/--sort` option; the output is always sorted. * The ``[database]migrations_path`` setting is removed. * You no longer have to create a virtual environment separately when running the test suite. Just use `tox`. * The RFC 2369 headers added to outgoing messages are now added in sorted order. * The JSON representation `http_etag` key uses an algorithm that is insensitive to Python's dictionary sort order.
| * | | | Tox-ify the test suite. Now you don't have to create a virtualenv separately.Barry Warsaw2014-11-0712-74/+64
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To do this, we have to handle random test ordering, since tox explicitly sets PYTHONHASHSEED. That's a good thing for the future Python 3 port. Removed `mailman conf -t/--sort`; now the output is always sorted. RFC 2369 headers are now sorted before being added. etag repr dicts are sorted using pprint.pformat().
* | | | Remove some unnecessary code, and revert back to SQLite by default for theBarry Warsaw2014-11-013-12/+3
| | | | | | | | | | | | | | | | test suite.
* | | | DatabaseBarry Warsaw2014-11-0181-3631/+1289
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * The ORM layer, previously implemented with Storm, has been replaced by SQLAlchemy, thanks to the fantastic work by Abhilash Raj and Aurélien Bompard. Alembic is now used for all database schema migrations. * The new logger `mailman.database` logs any errors at the database layer. API --- * Several changes to the internal API: - `IListManager.mailing_lists` is guaranteed to be sorted in List-ID order. - `IDomains.mailing_lists` is guaranteed to be sorted in List-ID order. - Iteration over domains via the `IDomainManager` is guaranteed to be sorted by `IDomain.mail_host` order. - `ITemporaryDatabase` interface and all implementations are removed.
| * | | SQLite by defaultBarry Warsaw2014-10-311-3/+3
| | | |
| * | | Merge in the last of Aurelien's changes, and make the test suite pass withBarry Warsaw2014-10-315-4/+12
| | | | | | | | | | | | | | | | PostgreSQL.
| * | | Merge abompard's fixes to the Postgres test suite.Barry Warsaw2014-10-3011-79/+83
| | | |
| * | | Merge abompard's fixes to the importer for encode_ascii_prefixes.Barry Warsaw2014-10-302-3/+14
| | | |
| * | | Use print() to smooth over the SA return of Python longs in PostgreSQL.Barry Warsaw2014-10-133-23/+23
| | | |
| * | | Remove some unnecessary code.Barry Warsaw2014-10-131-4/+1
| | | |
| * | | Move alembic settings to a separate alembic.cfg.Barry Warsaw2014-10-134-7/+22
| | | |
| * | | Merge Aurélien Bompard's latest merge branch, with some cleaning up by Barry.Barry Warsaw2014-10-1321-167/+233
| |\ \ \
| | * \ \ Merge Barry's changesAurélien Bompard2014-10-139-112/+138
| | |\ \ \ | | |/ / / | |/| | |
| * | | | Add the [logging.database] section and use it to configure the SQLAlchemy andBarry Warsaw2014-10-123-19/+34
| | | | | | | | | | | | | | | | | | | | Alembic loggers.
| * | | | Remove some unused stuff.Barry Warsaw2014-10-112-7/+0
| | | | |
| * | | | Merge Abhilash's latest revisions.Barry Warsaw2014-10-118-58/+76
| | | | |
| | * | | Fix unit tests with SQLite nowAurélien Bompard2014-10-102-4/+8
| | | | |
| | * | | Fix unit tests with PostgreSQLAurélien Bompard2014-10-102-9/+36
| | | | |
| | * | | * remove migrate commandAbhilash Raj2014-10-1018-135/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove alembic.cfg, move contents to schema.cfg * fix import errors in src/mailman/model/language.py * add indexes * change the previously wrong written tablename autoresponserecord * change alembic_cfg to use schema.cfg instead of alembic.cfg
| | * | | merge branch from abompardAbhilash Raj2014-10-1011-65/+172
| | |\ \ \
| | | * | | Properly close transactions on schema changesAurélien Bompard2014-10-081-0/+2
| | | | | |