Merge lp:mailman into lp:~pierfort123/mailman/site

Proposed by pierfort123
Status: Needs review
Proposed branch: lp:mailman
Merge into: lp:~pierfort123/mailman/site
To merge this branch: bzr merge lp:mailman
Reviewer Review Type Date Requested Status
pierfort123 Pending
Review via email: mp+240771@code.launchpad.net
To post a comment you must log in.
lp:mailman updated
7255. By Barry Warsaw

tox-ify the test suite. First, this makes it easier to run since you don't
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.

7256. By Barry Warsaw

MANIFEST.in updates.

7257. By Barry Warsaw

 * You no longer have to edit `src/mailman/testing/testing.cfg` to run the
   test suite against PostgreSQL. See `src/mailman/docs/START.rst` for
   details.

Also:

* Test fixes.
* Doc fixes.
* PostgreSQL/model fixes.

7258. By Barry Warsaw

Add support for a 'coverage' environment. e.g. `tox -e coverage` will run the
test suite and provide a code coverage report.

7259. By Barry Warsaw

Remove unneeded line.

7260. By Barry Warsaw

s/restish/falcon/

7261. By Barry Warsaw

Make sure runner subprocesses get covered during `tox -e coverage`.

7262. By Barry Warsaw

Remove debugging.

7263. By Barry Warsaw

Improve coverage:
* Remove some unused code
* pragma: no cover

7264. By Barry Warsaw

Fix a few issues with `python2 -3` compatibility.

7265. By Barry Warsaw

Repair broken test. Given by Aurélien Bompard.

7266. By Barry Warsaw

Remove debugging.

7267. By Barry Warsaw

Add comments and rewrite test a bit.

7268. By Barry Warsaw

 * Fixed Unicode errors in the digest runner and when sending messages to the
   site owner as a fallback. Given by Aurélien Bompard. (LP: #1130957).

Also:

 * Convert some uses of the unicode() built-in to bytes.decode() in
   preparation for Python 3 and to eliminate some pyflakes errors.

 * Added LogFileMark.read() as a convenience method.

7269. By Barry Warsaw

 * Fix Unicode errors when a message being added to the digest has non-ascii
   characters in its payload, but no Content-Type header defining a charset.
   Given by Aurélien Bompard. (LP: #1170347)

7270. By Barry Warsaw

 * Fixed messages without a `text/plain` part crashing the `Approved` rule.
   Given by Aurélien Bompard. (LP: #1158721)

7271. By Barry Warsaw

 * The address resource now has an additional '/user' sub-resource which can
   be used to GET the address's linked user if there is one. This
   sub-resource also supports POST to link an unlinked address (with an
   optional 'auto_create' flag), and PUT to link the address to a different
   user. It also supports DELETE to unlink the address. (LP: #1312884)
   Given by Aurélien Bompard based on work by nicolask.

7272. By Barry Warsaw

Updated a credit.

7273. By Barry Warsaw

 * Fixed getting non-ASCII filenames from RFC 2231 i18n'd messages. Given by
   Aurélien Bompard. (LP: #1060951)

7274. By Barry Warsaw

/user sub-resource of the address documented by Aurélien Bompard.

7275. By Barry Warsaw

 * Fixed `AttributeError` on MIME digest messages. Given by Aurélien Bompard.
   (LP: #1130696)

7276. By Barry Warsaw

Prep for release

7277. By Barry Warsaw

Back port from py3 branch:

 * The ``/3.0/system`` path is deprecated; use ``/3.0/system/versions`` to get
   the system version information.

7278. By Barry Warsaw

Back port from the py3 branch:

 * You can access the system configuration via the resource path
   ``/3.0/system/configuration/<section>``. This returns a dictionary with
   the keys being the section's variables and the values being their value
   from ``mailman.cfg`` as verbatim strings. You can get a list of all
   section names via ``/3.0/system/configuration`` which returns a dictionary
   containing the ``http_etag`` and the section names as a sorted list under
   the ``sections`` key. The system configuration resource is read-only.

7279. By Barry Warsaw

Back port from py3 branch:

 # Explicitly prevent flufl.lock from propagating its log messages
 # to its root logger, i.e. the console.

7280. By Barry Warsaw

Documentation cleanup.

7281. By Barry Warsaw

Update version.

7282. By Barry Warsaw

Post-release housekeeping.

7283. By Barry Warsaw

It's possible $HOME isn't defined.

7284. By Barry Warsaw

Always pass the -C option to the subprocess.

7285. By Barry Warsaw

Merge the Python 3 branch.

7286. By Barry Warsaw

Bump copyright years.

7287. By Barry Warsaw

We don't need the 'six' package any more.

7288. By Barry Warsaw

We don't need the lazr.config workaround any more.

7289. By Barry Warsaw

 * Fix calculation of default configuration file to use when the ``$var_dir``
   is created by ``mailman start``. (LP: #1411435)

7290. By Barry Warsaw

Fix autonumbering in style guide.

7291. By Barry Warsaw

 * Improve the documentation describing how to run Alembic to add new schema
   migrations. Given by Abhilash Raj.

7292. By Barry Warsaw

Python 2 -> 3 migration.

7293. By Barry Warsaw

alembic documentation change.

7294. By Barry Warsaw

 * When creating a user with an email address, do not create the user record
   if the email address already exists. Given by Andrew Stuart.
   (LP: #1418280)

7295. By Barry Warsaw

 * You can now DELETE an address. If the address is linked to a user, the
   user is not delete, it is just unlinked.

7296. By Barry Warsaw

 * When deleting a user via REST, make sure all linked addresses are deleted.
   Found by Andrew Stuart. (LP: #1419519)

7297. By Barry Warsaw

Fix some test output.

7298. By Barry Warsaw

 * A new API is provided to support non-production testing infrastructures,
   allowing a client to cull all orphaned UIDs via ``DELETE`` on
   ``<api>/reserved/uids/orphans``. Note that *no guarantees* of API
   stability will ever be made for resources under ``reserved``.
   (LP: #1420083)

Also:

- Allow @dbconnection methods to be @staticmethods taking only one argument,
  the store to perform the query on.

7299. By Barry Warsaw

 * Member resource JSON now include the ``member_id`` as a separate key.

7300. By Barry Warsaw

Move some old bin scripts to a holding tank.

7301. By Barry Warsaw

Doc fixes given by Abhilash Raj.

7302. By Barry Warsaw

copybump should ignore .git directories. This isn't currently relevant for
Mailman, but I use this script for other repos.

7303. By Barry Warsaw

Fix a read used during the PostgreSQL tests.

7304. By Barry Warsaw

 * When trying to subscribe an address to a mailing list through the REST API
   where a case-differing version of the address is already subscribed, return
   a 409 error instead of a 500 error. Found by Ankush Sharma. (LP: #1425359)

7305. By Barry Warsaw

Documentation fixes, given by Abhilash Raj.

7306. By Barry Warsaw

 * ``mailman lists --domain`` was not properly handling its arguments. Given
   by Manish Gill. (LP: #1166911)

7307. By Barry Warsaw

 * When deleting a user object, make sure their preferences are also deleted.
   Given by Abhishek. (LP: #1418276)

7308. By Barry Warsaw

 * Be sure a mailing list's acceptable aliases are deleted when the mailing
   list itself is deleted. (LP: #1432239)

7309. By Barry Warsaw

Make a test less susceptible to churn when migrations are added. Given by
abompard.

7310. By Barry Warsaw

Additional fixes for importing from Mailman 2. Given by abompard.

7311. By Barry Warsaw

Test importing MM2 pickles with BounceInfo. Given by abompard.

7312. By Barry Warsaw

Fix some typos.

7313. By Barry Warsaw

trunk merge

7314. By Barry Warsaw

Update docstring.

7315. By Barry Warsaw

 * The built-in example ``IArchiver`` implementations now explicitly return
   None. (LP: #1203359)

7316. By Barry Warsaw

 * Domains now have a list of owners, which are ``IUser`` objects, instead of
   the single ``contact_address`` they used to have. ``IUser`` objects now
   also have a ``is_server_owner`` flag (defaulting to False) to indicate
   whether they have superuser privileges. Give by Abhliash Raj, with fixes
   and refinements by Barry Warsaw. (LP: #1423756)

 * Domains can now optionally be created with owners; domain owners can be
   added after the fact; domain owners can be deleted. Also, users now have
   an ``is_server_owner`` flag as part of their representation, which defaults
   to False, and can be PUT and PATCH'd. Given by Abhilash Raj, with fixes
   and refinements by Barry Warsaw. (LP: #1423756)

7317. By Barry Warsaw

 * Mailing list subscription policy work flow has been completely rewritten.
   It now properly supports email verification and subscription confirmation
   by the user, and approval by the moderator using unique tokens.
   ``IMailingList`` objects now have a ``subscription_policy`` attribute.

7318. By Barry Warsaw

Abhilash's fix for allowing singleton strings in REST interfaces that also
accept lists of strings.

7319. By Barry Warsaw

Open templates for reading in utf-8; given by abompard.

7320. By Barry Warsaw

Plumb the subscription policy through to the membership subscription REST API.

7321. By Barry Warsaw

Update versions for 3.0rc1, but don't tag yet.

7322. By Barry Warsaw

Move a doctest to the right directory.

7323. By Barry Warsaw

Clean up some templates; given by raj-abhilash1

7324. By Barry Warsaw

Plumb subscription request handling through the REST API.

7325. By Barry Warsaw

Fix MANIFEST.in to include all the necessary test data files.

7326. By Barry Warsaw

Documentation updates.

7327. By Barry Warsaw

VERSION.

7328. By Barry Warsaw

Remove todo from release branch.

7329. By Barry Warsaw

maxking's nickname

7330. By Barry Warsaw

Fix spellings.

7331. By Barry Warsaw

Date in NEWS.

7332. By Barry Warsaw

Set up for 3.0.0 final.

7333. By Barry Warsaw

Typos; given by sumanah.

7334. By Barry Warsaw

raj-abhilash1's branch to ensure we block release on Falcon 0.3. I moved and
renamed his test.

Also, backfill a relevant Launchpad bug number.

7335. By Barry Warsaw

Point to the wiki release notes page.

7336. By Barry Warsaw

 * The test suite now runs successfully again with PostgreSQL. Given by
   Aurélien Bompard. (LP: #1435941)

7337. By Barry Warsaw

Steve's nickname.

7338. By Barry Warsaw

Aurelien's nick name

7339. By Barry Warsaw

 * Port the REST machinery to Falcon 0.3. (LP: #1446881)

7340. By Barry Warsaw

Prep for 3.0 final.

7341. By Barry Warsaw

Be sure to use Falcon 0.3.

Unmerged revisions

7341. By Barry Warsaw

Be sure to use Falcon 0.3.

7340. By Barry Warsaw

Prep for 3.0 final.

7339. By Barry Warsaw

 * Port the REST machinery to Falcon 0.3. (LP: #1446881)

7338. By Barry Warsaw

Aurelien's nick name

7337. By Barry Warsaw

Steve's nickname.

7336. By Barry Warsaw

 * The test suite now runs successfully again with PostgreSQL. Given by
   Aurélien Bompard. (LP: #1435941)

7335. By Barry Warsaw

Point to the wiki release notes page.

7334. By Barry Warsaw

raj-abhilash1's branch to ensure we block release on Falcon 0.3. I moved and
renamed his test.

Also, backfill a relevant Launchpad bug number.

7333. By Barry Warsaw

Typos; given by sumanah.

7332. By Barry Warsaw

Set up for 3.0.0 final.