Validate contact emails before adding

Also updates the DB to filter out existing invalid contacts.

Closes: bgo #713932
This commit is contained in:
Charles Lindsay 2014-02-21 15:00:57 -08:00
parent 3e34b9980a
commit 0f6e76edb3
4 changed files with 38 additions and 0 deletions

View file

@ -18,3 +18,4 @@ install(FILES version-015.sql DESTINATION ${SQL_DEST})
install(FILES version-016.sql DESTINATION ${SQL_DEST})
install(FILES version-017.sql DESTINATION ${SQL_DEST})
install(FILES version-018.sql DESTINATION ${SQL_DEST})
install(FILES version-019.sql DESTINATION ${SQL_DEST})

5
sql/version-019.sql Normal file
View file

@ -0,0 +1,5 @@
--
-- Dummy database upgrade to validate contact email addresses. See
-- src/engine/imap-db/imap-db-database.vala in post_upgrade() for the code
-- that runs the upgrade.
--