r252413 - in Products.PloneSurvey/trunk: . Products/PloneSurvey/content Products/PloneSurvey/tests/utils
"Michael Davis" <svn-changes-z4DKO/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.collective.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: davismr
Date: Sun May 19 15:34:25 2013
New Revision: 252413
Added:
Products.PloneSurvey/trunk/Products/PloneSurvey/tests/utils/user_import_rtf
Modified:
Products.PloneSurvey/trunk/Products/PloneSurvey/content/Survey.py
Products.PloneSurvey/trunk/README.txt
Log:
Update the documentation, as user imports via the web use comma separation
Modified: Products.PloneSurvey/trunk/Products/PloneSurvey/content/Survey.py
==============================================================================
--- Products.PloneSurvey/trunk/Products/PloneSurvey/content/Survey.py (original)
+++ Products.PloneSurvey/trunk/Products/PloneSurvey/content/Survey.py Sun May 19 15:34:25 2013
@@ -902,6 +902,7 @@
sheet.writerow(row)
return data.getvalue()
+ # TODO next two methods are still needed for the tests, but should be removed and the tests fixed
security.declareProtected(permissions.ModifyPortalContent, 'openFile')
def openFile(self):
"""open the file, and return the file contents"""
Added: Products.PloneSurvey/trunk/Products/PloneSurvey/tests/utils/user_import_rtf
==============================================================================
--- (empty file)
+++ Products.PloneSurvey/trunk/Products/PloneSurvey/tests/utils/user_import_rtf Sun May 19 15:34:25 2013
@@ -0,0 +1,9 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf370
+{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
+\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
+
+\f0\fs24 \cf0 User One,[email protected]\
+User Two,[email protected]\
+}
\ No newline at end of file
Modified: Products.PloneSurvey/trunk/README.txt
==============================================================================
--- Products.PloneSurvey/trunk/README.txt (original)
+++ Products.PloneSurvey/trunk/README.txt Sun May 19 15:34:25 2013
@@ -48,7 +48,7 @@
3. Survey respondents, who can be added using the respondents tab on the survey. This allows you to add users with a one time token to allow a closed survey to be completed by users who are not portal members.
-Respondents can be added individually, or can be bulk uploaded by adding a file with an id of `user_import` in the import directory of your site. The format must be one user per line, and an example user_import file is in the tests/utils folder within the product. This functionality has not been fully tested and may not work with your configuration.
+Respondents can be added individually, or can be bulk uploaded by uploading a file using the Import Respondents link under the respondents tab.
Known Issues
------------
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d