Barry Warsaw pushed to branch master at mailman / Mailman

Commits:
f8a73062 by Mark Sapiro at 2016-10-31T18:07:21-07:00
DMARC mitigations, part 1a.

- - - - -
49d8574b by Mark Sapiro at 2016-11-01T08:02:03-07:00
Fixed some doctests for the addition of the dmarc-moderation rule.

- - - - -
c77e6918 by Mark Sapiro at 2016-11-01T08:04:07-07:00
Fixed replacement $listowner. -> ${listowner}.

- - - - -
2adcc70b by Mark Sapiro at 2016-11-01T11:51:17-07:00
Merge gitlab.com:mailman/mailman into dmarc

- - - - -
8e0795f7 by Mark Sapiro at 2016-11-01T19:36:14-07:00
Added new list DMARC attributes to rest/listconf.py and updated tests.

- - - - -
fdac1fbf by Mark Sapiro at 2016-11-03T18:18:00-07:00
Fixed a minor issue in handlers/dmarc.py revealed in testing.
Added tests.
Tweaked some docs.

- - - - -
838f20dd by Mark Sapiro at 2016-11-04T22:04:30-07:00
Refactored the dmarc rule reject and discard actions.  The prior code
did the reject and discard but didn't terminate the chain.

- - - - -
f60cb022 by Mark Sapiro at 2016-11-05T09:09:14-07:00
msgdata['moderation_reasons'] is a list.

- - - - -
fe201030 by Mark Sapiro at 2016-11-11T15:58:32-08:00
Added mocking of DNS _dmarc lookups and modified test accordingly.

- - - - -
98cb0ed4 by Mark Sapiro at 2016-11-11T19:58:16-08:00
Modified 'pendedkeyvalue' table 'value' column type to 
SAUnicodeLarge for
MySQL.

- - - - -
60dc69c7 by Mark Sapiro at 2016-11-26T09:50:28-08:00
Merge branch 'dmarc' of gitlab.com:msapiro/mailman into dmarc

- - - - -
898686f9 by Mark Sapiro at 2016-11-26T12:58:48-08:00
Forward port MM 2.1 fix for LP: #1643210.

- - - - -
39f3083f by Mark Sapiro at 2016-12-09T10:09:35-08:00
Merged from master.

- - - - -
fac05445 by Mark Sapiro at 2016-12-09T12:17:24-08:00
Replaced mailman.public with public.public.
Simplified Munge From replacement and added a test for rfc2047 encoded
display name.

- - - - -
6f47aaf7 by Mark Sapiro at 2016-12-09T13:14:23-08:00
Fixed Content-Type of text/html part in tests.

- - - - -
61cfea7f by Mark Sapiro at 2016-12-10T07:42:23-08:00
Temporary workaround for 
<https://github.com/sphinx-doc/sphinx/issues/3212>.

- - - - -
8fc10242 by Mark Sapiro at 2016-12-16T15:16:53-08:00
Modifications based on feedback from Barry.

Also, the change to the value column of pendedkeyvalue from SAUnicode to
SAUnicodeLarge is removed as it is a separate MR now.  This will cause mysql
CI to fail until that MR lands.

- - - - -
2982d23d by Mark Sapiro at 2016-12-23T14:55:03-08:00
Merge gitlab.com:mailman/mailman into dmarc

- - - - -
17aa36cf by Mark Sapiro at 2016-12-23T15:09:59-08:00
Fixed alembic down_revision following merge of another migration.

- - - - -
2ead4c9f by Mark Sapiro at 2016-12-26T14:43:36-08:00
Simplified the various list settings and remamed several things.

- - - - -
eba4d076 by Mark Sapiro at 2016-12-30T11:36:54-08:00
Merge gitlab.com:mailman/mailman into dmarc

- - - - -
af4f25a5 by Mark Sapiro at 2016-12-30T11:37:49-08:00
Removed unreachable line from rules/dmarc.py.
Added tests to improve coverage.

- - - - -
71d01e78 by Barry Warsaw at 2016-12-30T15:21:32-05:00
Review Mark's changes.

- - - - -
f308782d by Barry Warsaw at 2016-12-30T16:43:52-05:00
Minor tweaks and coverage:

* Format and wrap a comment.
* Add a test for having two From: headers.
* use <al...@example.com> as standard Message-ID
* Cover URLError case.

- - - - -
a032ef77 by Barry Warsaw at 2016-12-30T16:57:28-05:00
Improve coverage for rules/dmarc.py.

- - - - -
c531f074 by Barry Warsaw at 2016-12-30T17:30:23-05:00
Merge branch 'master' into mr215-review.

- - - - -
876a267b by Barry Warsaw at 2016-12-30T18:00:03-05:00
Boost coverage.

- - - - -
bb7da041 by Mark Sapiro at 2016-12-30T23:17:47-08:00
Added test data for organizational domains and a mock to use it.

Made a few test coverage tweaks.

- - - - -
bdea4d68 by Barry Warsaw at 2016-12-31T12:16:13-05:00
Small style fixes.

* Split the email using .rpartition().
* Use a sentinel singleton for a marker instead of a string.
* Move some code out of a try clause and eliminate an else clause for coverage.
* Boost coverage by mocking a DNSException.

- - - - -
192d76f1 by Barry Warsaw at 2016-12-31T12:44:27-05:00
Move the dmarc configuration options to their own section.

- - - - -
5954094c by Mark Sapiro at 2016-12-31T10:15:28-08:00
Simplified the org domain mock patch and tweaked a test.

- - - - -
286eac42 by Barry Warsaw at 2016-12-31T13:27:20-05:00
Fix some fallout from the previous commit.

- - - - -
437c4b63 by Mark Sapiro at 2016-12-31T10:55:35-08:00
Fixed location of 'with' in a test.
Removed unneeded 'as' clauses.

- - - - -
4fb6712f by Mark Sapiro at 2016-12-31T11:09:29-08:00
Merge branch 'mr215-review' of gitlab.com:warsaw/mailman into dmarc

- - - - -
c786a77c by Mark Sapiro at 2016-12-31T14:24:32-08:00
Moved test data from rules/data to rules/tests/data.
Get path using pkg_resources.resource_filename.

- - - - -
6b06535a by Mark Sapiro at 2017-01-01T12:55:46-08:00
Replaced urllib.request.urlopen() with mailman.utilities.protocols.get().

- - - - -
e3d6c34b by Barry Warsaw at 2017-01-01T17:28:37-05:00
Implement caching suffix list with in-tree fallback.

Also:
* Change doctest cleanups to be an ExitStack.
* Added [dmarc]cache_lifetime setting.
* Cleanup pass through dmarc-mitigation.rst.
* Be sure the cached org domain file is cleaned up when the world is reset.

- - - - -
d233dd41 by Mark Sapiro at 2017-01-01T19:22:07-08:00
Test coverage improvements.
Replaced unreachable statement with assertion.

- - - - -
54c9cf97 by Barry Warsaw at 2017-01-01T22:43:16-05:00
Add some coverage.

* parse_suffix_list() can take an optional filename for testing purposes.
* Fix a typo.
* Add a test.

- - - - -
8eb617d2 by Barry Warsaw at 2017-01-01T23:31:45-05:00
Merge branch 'mr215' into mr215-review

- - - - -
c870e3cf by Barry Warsaw at 2017-01-02T00:12:13-05:00
Pragma no cover a line that coverage can't reach.

- - - - -
f9cf7929 by Mark Sapiro at 2017-01-01T22:05:49-08:00
Merge branch 'mr215-review' of gitlab.com:warsaw/mailman into dmarc and
resolve conflicts.

- - - - -
9f2bba71 by Mark Sapiro at 2017-01-01T22:18:09-08:00
Merge branch 'mr215-review' of gitlab.com:warsaw/mailman into dmarc

- - - - -
f658d72f by Mark Sapiro at 2017-01-01T23:30:31-08:00
Some configs moved to [dmarc] section.

- - - - -
b9883ece by Mark Sapiro at 2017-01-02T08:55:28-08:00
Made some argument names more descriptive and consistent.
Improved the CNAME tests to provide testable results.

- - - - -
4afccbf0 by Barry Warsaw at 2017-01-04T00:26:59-05:00
Make code style review pass.

- - - - -
ae3eeb64 by Barry Warsaw at 2017-01-04T00:37:05-05:00
NEWS

- - - - -
9ecb0d46 by Barry Warsaw at 2017-01-04T15:10:55+00:00
Merge branch 'dmarc' into 'master'

Implement DMARC mitigations in mailman

Closes #247

See merge request !215
- - - - -


30 changed files:

- setup.py
- src/mailman/chains/builtin.py
- src/mailman/chains/docs/moderation.rst
- src/mailman/commands/docs/aliases.rst
- src/mailman/commands/docs/info.rst
- src/mailman/config/schema.cfg
- src/mailman/core/docs/chains.rst
- src/mailman/core/pipelines.py
- + src/mailman/database/alembic/versions/3002bac0c25a_dmarc_attributes.py
- src/mailman/docs/NEWS.rst
- src/mailman/handlers/cook_headers.py
- + src/mailman/handlers/dmarc.py
- + src/mailman/handlers/docs/dmarc-mitigations.rst
- + src/mailman/handlers/tests/test_dmarc.py
- src/mailman/interfaces/mailinglist.py
- src/mailman/model/mailinglist.py
- src/mailman/rest/docs/listconf.rst
- src/mailman/rest/docs/systemconf.rst
- src/mailman/rest/listconf.py
- src/mailman/rest/tests/test_listconf.py
- src/mailman/rest/tests/test_systemconf.py
- + src/mailman/rules/data/__init__.py
- + src/mailman/rules/data/public_suffix_list.dat
- + src/mailman/rules/dmarc.py
- + src/mailman/rules/docs/dmarc-mitigation.rst
- src/mailman/rules/docs/rules.rst
- + src/mailman/rules/tests/data/__init__.py
- + src/mailman/rules/tests/data/org_domain.txt
- + src/mailman/rules/tests/test_dmarc.py
- src/mailman/runners/docs/incoming.rst


The diff was not included because it is too large.


View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/8cb4546b9a2bf87a3e2d465651686ca26a5404db...9ecb0d462b79bec42e82b6aecea8853262e15753
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to