Quote tag values in custom tag example.

This was tripping someone up.
Revert "[tests] Fix the full_coverage script to support new parameter option."

This reverts commit d35069172ae169add510675f2a9404d737d6e421.
Revert "Config v9.0"

This reverts commit 3d5114820ff1f0282dcb80849dc47051cb3f4080.
Fix typo in Gmail sync.
vagrant: Use 1024 MiB memory & 2 vcpus when using virtualbox

Now it's the same as with vmware_fusion.
vagrant: Respect setup.sh's shebang line

setup.sh says #!/bin/bash, but 'vagrant provision' was running it under
/bin/sh anyway.
Fix race condition in condstore IMAP sync.

We need to take both local_uids and stack_uids into account when figuring out
which uids are new in highestmodseq_update.

In order for this to work, also replace the GMessageStack and UIDStack
implementations with a single UIDStack, which maintains a stack of pairs (uid,
metadata), where the metadata field is optional. This is still a bit clunky,
but less so, and works across both Gmail and generic IMAP.
Always relinquish IMAP connections before sleeping.
Reduce default crispin connection pool size to 4.

Pretty sure this is still a safe number. We can probably go lower, but should
check that first.
Apply stopgap fix for message API slowness.

Basically the way we have to join messages to threads to filter by mailboxes is
crushingly slow on large mailboxes. This commit at least remedies the worst of
it by first loading only message ids, then loading the actual messages in a
second pass.
[concurrency] Add an initial an random backoff before retrying with concurrency module.

Summary: Adjust concurrency module so that we sleep before retrying.

Test Plan: regression

Reviewers: emfree

Differential Revision: https://review.inboxapp.com/D474
[tests/system] Add tags to full_coverage. Don't create accounts if they're already created.
Fixes T443

Summary: Prevent users to access or delete files belonging to an other namespace.

Test Plan: Tested manually

Reviewers: dlitz, emfree

Reviewed By: emfree

Projects: #security

Maniphest Tasks: T443

Differential Revision: https://review.inboxapp.com/D471
disable failing test for now
Revert "Revert encryption of secrets, blocks."
This reverts commit 05b4d08406346445638d4575dc450aeced53cc13.

Conflicts:
	inbox/models/util.py
	migrations/versions/092_parts_block_ids.py
	tests/data/base_dump.sql
Fix up migrations.
New Block encryption scheme.

Summary:
https://inbox.hackpad.com/Encrypting-existing-s3-blocks-7HOfd3n6Jfm

Note this includes the two "rider" schema changes (changes type of Block.id, Block.data_sha256)
Note this does not include the encryption script yet.

Test Plan: tests/general/test_storage updated.

Reviewers: dlitz, emfree

Subscribers: spang, dlitz

Differential Revision: https://review.inboxapp.com/D462
EAS migration, encryption script.
Don't special-case self.size=0
Change column types for Block.data_sha256, Block.stored_name
Add index on Block.data_sha256
Use stored_name scheme for both s3/disk storage.
Message constr. takes db_session
Also, restructure code.
Go back to storing data_sha256 as a String(64);
reasoning about how to be backwards-compatible is
messy otherwise.

CR changes -
secret as a foreign key.

Also,
Updated secrets config generation + keys generation script.
Updated migrations.

+ Matching EAS changes.
Rebased on latest master and changed config + bin/create-encryption-keys.
Fix typos in bin/encrypt-blocks.