Refactor list of more than 3 emails so that we don't duplicate code.

Also refactor tabs to 2 spaces each tab

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20481 a0171fae-0946-0410-966d-b1775066cd26
Revert "Refactor list of more than 3 emails so that we don't duplicate code."

This reverts commit 10d2c2974ad19383a31977a2fdb14aef14d03b7c.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20482 a0171fae-0946-0410-966d-b1775066cd26
Refactor recipients list when more than 3 not to duplicate code

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20483 a0171fae-0946-0410-966d-b1775066cd26
Task#17503 Implement a way to check whether recipient emails are real

This is done in email archive, when viewing specific email details
by pressing a button. The check is time consuming (2-4 seconds per
address)

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20484 a0171fae-0946-0410-966d-b1775066cd26
Fix test for NaayaCore.EmailTool

Refactor: factor out duplicate code.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20485 a0171fae-0946-0410-966d-b1775066cd26
Move button and description out of the recipients row and up.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20486 a0171fae-0946-0410-966d-b1775066cd26
Test for validate_email in naaya.content.meeting

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20487 a0171fae-0946-0410-966d-b1775066cd26
Better use of PyQuery in test

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20488 a0171fae-0946-0410-966d-b1775066cd26
Avoid duplicates when checking validity of emails

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20489 a0171fae-0946-0410-966d-b1775066cd26
Fix typo in html text

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20490 a0171fae-0946-0410-966d-b1775066cd26
Revert "Fix typo in html text"

This reverts commit a8a602451c45961feae3cc6e36f4d333f3faa65d.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20491 a0171fae-0946-0410-966d-b1775066cd26
Revert "Avoid duplicates when checking validity of emails"

This reverts commit 629e8ee13792758048d66b943c81ddda707a1a55.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20492 a0171fae-0946-0410-966d-b1775066cd26
Revert "Better use of PyQuery in test"

This reverts commit 2f3eb37f65e8b706f552f4a4fb27226bda213b8f.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20493 a0171fae-0946-0410-966d-b1775066cd26
Revert "Test for validate_email in naaya.content.meeting"

This reverts commit db9ed71a83b361ec6a1f969ddd2ce766251ebabe.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20494 a0171fae-0946-0410-966d-b1775066cd26
Revert "Move button and description out of the recipients row and up."

This reverts commit 50ac571f0d418352988ee06d4f4c3c13d82c905e.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20495 a0171fae-0946-0410-966d-b1775066cd26
Revert "Task#17503 Implement a way to check whether recipient emails are real" but keep refactoring

This reverts commit 3c27c063068a3aa688092f9a915d31533d59aff7.
But keeps duplicate code refactoring in EmailTool and a more exigent
test

Conflicts:
	Naaya/Products/NaayaCore/EmailTool/EmailTool.py
	Naaya/Products/NaayaCore/EmailTool/tests/testEmail.py

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20496 a0171fae-0946-0410-966d-b1775066cd26
Task#17503 Add Validate emails to naaya.content.meeting.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20497 a0171fae-0946-0410-966d-b1775066cd26
Task#17503 Refactor - Validate Emails

Squashed commit of the following:

    Fix line ending mismatch

    Task#17503 Refactor - checked emails cache is on site (NySite)

    Thus common for all products underneath it
    Add email validation for Naaya admin

    Task#17503 Add validate email to talkback

    Task#17503 trim email addresses from js to avoid crapy spaces.

    Refactor naaya.content.talkback to easy collect email addresses from DOM

    Task#17503 naaya.content.meeting does the ajax calls in parallel.

    This greatly imporves performance, as some emails can take up to 15
    seconds to validate.
    Note that there is a limitation in the backend for parallel client requests
    porcessing that will validate only 2 email at time. This is good as we
    don't need to do our own processing from naaya.content.meeting javascript.

    Add requirements to naaya core and meeting

    Task#17503 Add single mail validation (for parallel ajax calls) and cache expiration

    Also add cache expiration so that temporary failures won't be remembered
    as such forever. The valid results also expire but after a longer period
    of time.
    Update unit tests.

    Task#17503 Factor out common code that verifies valid email addresses.

    Add unit test for naaya core.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20498 a0171fae-0946-0410-966d-b1775066cd26
Task#17503 - Validate emails - cleanup

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20499 a0171fae-0946-0410-966d-b1775066cd26
Task#17503 Add explanatory text in page regarding email validation.

git-svn-id: https://svn.eionet.europa.eu/repositories/Naaya/trunk/eggs@20500 a0171fae-0946-0410-966d-b1775066cd26