summaryrefslogtreecommitdiff
path: root/src/mailman/model/address.py (follow)
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
|
* MySQL is now an officially supported database.Barry Warsaw2016-07-291-4/+5
| | | | Given by Abhilash Raj.
* Tweak the import rules checker.Barry Warsaw2016-03-271-1/+1
| | | | Fix the last few violations of the import rules.
* Clean up the model and languages directories.Barry Warsaw2016-03-251-7/+4
|
* First massive round of cleanups.Barry Warsaw2016-03-231-6/+5
| | | | | | | | * Get rid of explicit __all__ settings and use the @public decorator. * Get rid of ^L's * Use expected_count argument for get_queue_messages() * Various code modernizations. * Other minor changes to make flake8 happy.
* Super duper.Barry Warsaw2016-01-261-1/+1
| | | | | * Python 3-ify super() calls. * Remove a bunch of obsolete exception classes.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Add useful indexes on the member tableAurélien Bompard2015-11-211-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-8/+4
|
* DatabaseBarry Warsaw2014-11-011-11/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -------- * 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.
| * * remove migrate commandAbhilash Raj2014-10-101-2/+2
| | | | | | | | | | | | | | | | * 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
| * Use a simpler UUID implementation.Barry Warsaw2014-09-231-1/+1
| | | | | | | | Fix a typo.
| * Clean up pass.Barry Warsaw2014-09-221-4/+5
| |
| * * remove some unused codeAbhilash Raj2014-09-191-1/+0
| | | | | | | | | | | | | | * 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
| * all tests except for importer working(ignoring test_migrations.py)Abhilash Raj2014-09-181-0/+1
| |
| * fix all tests in mailman.model.testsAbhilash Raj2014-09-131-1/+1
| |
| * * change declarative_base class to use ModelMeta classAbhilash Raj2014-09-061-2/+3
| | | | | | | | * update some queries to match SA style
| * replace all storm types and relationships with sqlalchemyAbhilash Raj2014-09-051-4/+7
| |
| * change models to use sqlalchemy models<WIP>Abhilash Raj2014-09-041-11/+11
|/
* Add an email address to an existing user via the REST API.Barry Warsaw2014-04-141-1/+4
|\
| * Instantiating an Address model now validates the email stringFlorian Fuchs2014-04-141-1/+4
|/
* 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-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.
* * An `AddressVerificationEvent` is triggered when an `IAddress` is verifiedBarry Warsaw2012-04-071-2/+12
| | | | or unverified. (LP: #975698)
* Schema change. After discussion at Pycon, we decided to change "real_name" toBarry Warsaw2012-03-151-4/+4
| | | | | | | | | | | "display_name" across the board. * `IMailingList.real_name` -> `IMailingList.display_name` * `IUser.real_name` -> `IUser.display_name` * `IAddress.real_name` -> `IAddress.display_name` * Schema changes: - real_name -> display_name (mailinglist, user, address)
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Add REST API for addresses, and change the user REST API to use it whereBarry Warsaw2011-04-191-0/+2
| | | | | | | | | | appropriate. Also: * When an Address instance is created, set its registered_on attribute. * Users may not have a password or real_name, so only include those attributes in the REST API for Users if they are set.
* Refactor .subscribe() from IAddress to IMailingList.Barry Warsaw2011-04-161-22/+1
|
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Because it was just to damn confusing, rename IAddress.address toBarry Warsaw2011-01-011-10/+10
| | | | | | IAddress.email and IAddress.original_address to IAddress.original_email. From now on we'll use "address" to talk about the IAddress object and "email" to talk about the textual email address.
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* database/model reorganization. Model classes go in mailman.model. StockBarry Warsaw2009-10-101-0/+96
database support goes in mailman.database. Move stuff out of mailman/database/__init__.py.