Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
authorLoic Baron <loic.baron@lip6.fr>
Wed, 29 Oct 2014 15:12:15 +0000 (16:12 +0100)
committerLoic Baron <loic.baron@lip6.fr>
Wed, 29 Oct 2014 15:12:15 +0000 (16:12 +0100)
18 files changed:
README
activity/__init__.py
portal/actions.py
portal/homeview.py
portal/templates/activate_user.html
portal/templates/activate_user.txt
portal/templates/email_activation.html
portal/templates/onelab/onelab_account-view.html
portal/templates/onelab/onelab_contact.html
portal/templates/onelab/onelab_home-view.html
portal/templates/onelab/onelab_supportview.html
portal/templates/slice-request-done-view.html
portal/templates/slice_request_denied.html
portal/templates/slice_request_denied.txt
portal/templates/slice_request_validated.html
portal/templates/slice_request_validated.txt
portal/templates/user_request_validated.html
portal/templates/user_request_validated.txt

diff --git a/README b/README
index 4e0b471..b1f201d 100644 (file)
--- a/README
+++ b/README
@@ -11,7 +11,7 @@ See the devel/ subdir for more devel-oriented doc.
 ** see devel/django-install.txt in case of trouble
 $ apt-get install python-django
 $ apt-get install python-django-south
-$ apt-get install python-pip
+$ apt-get install python-pip or sudo easy_install pip==1.4.1
 $ pip install requests
 $ pip install djangorestframework
 * git clone git://git.onelab.eu/myslice.git
index d2a9e94..4719a61 100644 (file)
@@ -62,9 +62,10 @@ def logWrite(request, action, message, objects = None):
         "testbed"       : None,
     }
     
-    for o in objects :
-        if (o in log) :
-            log[o] = objects[o]
+    if objects is not None:
+        for o in objects :
+            if (o in log) :
+                log[o] = objects[o]
     
     try :
         result = urllib2.urlopen(server, urllib.urlencode(log))
@@ -72,7 +73,8 @@ def logWrite(request, action, message, objects = None):
         content = result.read()
     except urllib2.URLError as e:
         print "===============>> activity: connection to " + server + " impossible, could not log action"
-        print "==>> " + e.strerror
+        print e.strerror
+        print ""
 
 def log(request, action, message, objects = None):
     # Create a new thread in Daemon mode to send the log entry
index 400f3a7..6fde021 100644 (file)
@@ -612,14 +612,14 @@ def create_slice(wsgi_request, request):
     }
     # ignored in request: id, timestamp,  number_of_nodes, type_of_nodes, purpose
 
-    query = Query.create('slice').set(slice_params).select('slice_hrn')
+    query = Query.create('myslice:slice').set(slice_params).select('slice_hrn')
     results = execute_query(wsgi_request, query)
     if not results:
         raise Exception, "Could not create %s. Already exists ?" % slice_params['hrn']
     else:
         clear_user_creds(wsgi_request,user_email)
         # log user activity
-        activity.slice.validate(self.request, "Slice validation", { "slice" : hrn })
+        #activity.slice.validate(request, "Slice validation", { "slice" : hrn })
         try:
             theme.template_name = 'slice_request_validated.txt'
             text_content = render_to_string(theme.template, request)
index 00b279d..f1ac37c 100644 (file)
@@ -1,24 +1,25 @@
 # this somehow is not used anymore - should it not be ?
-from django.core.context_processors import csrf
-from django.http import HttpResponseRedirect
-from django.contrib.auth import authenticate, login, logout
-from django.template import RequestContext
-from django.shortcuts import render_to_response
-from django.shortcuts import render
+from django.core.context_processors     import csrf
+from django.http                        import HttpResponseRedirect
+from django.contrib.auth                import authenticate, login, logout
+from django.template                    import RequestContext
+from django.shortcuts                   import render_to_response
+from django.shortcuts                   import render
 
-import json
 
-from unfold.loginrequired import FreeAccessView
+from unfold.loginrequired               import FreeAccessView
 
 from manifold.core.query                import Query
 from manifoldapi.manifoldapi            import execute_query
 
-from manifoldapi.manifoldresult import ManifoldResult
-from ui.topmenu import topmenu_items, the_user
-from myslice.configengine import ConfigEngine
+from manifoldapi.manifoldresult         import ManifoldResult
+from ui.topmenu                         import topmenu_items, the_user
+from myslice.configengine               import ConfigEngine
 
-from myslice.theme import ThemeView
+from myslice.theme                      import ThemeView
+from portal.models                      import PendingSlice
 
+import json
 import activity.user
 
 class HomeView (FreeAccessView, ThemeView):
@@ -97,8 +98,13 @@ class HomeView (FreeAccessView, ThemeView):
                         user_cred = 'no_creds'
                     else:
                         user_cred = 'has_creds'
+                    
+                    # list the pending slices of this user
+                    pending_slices = []
+                    for slices in PendingSlice.objects.filter(type_of_nodes__iexact=self.request.user).all():
+                        pending_slices.append(slices.slice_name)
 
-
+                    env['pending_slices'] = pending_slices
                     env['pi'] = pi
                     env['user_cred'] = user_cred                
                 else: 
@@ -155,8 +161,13 @@ class HomeView (FreeAccessView, ThemeView):
                 user_cred = 'no_creds'
             else:
                 user_cred = 'has_creds'
-           
 
+            # list the pending slices of this user
+            pending_slices = []
+            for slices in PendingSlice.objects.filter(type_of_nodes__iexact=self.request.user).all():
+                pending_slices.append(slices.slice_name)
+        
+            env['pending_slices'] = pending_slices
             env['pi'] = pi
             env['user_cred'] = user_cred                
             env['person'] = self.request.user
index 8f2b0c1..9f165d0 100644 (file)
@@ -15,12 +15,12 @@ You may now <a href="http://{{current_site}}">log</a> in to the portal using you
 
 <ul style="list-style-type:decimal;">
 <li>
-You confirm that you have indeed made this request by clicking on the following link: <br>
+You must confirm that you have indeed made this request by clicking on the following link: <br>
        <a href={{validation_link}}>{{validation_link}}</a> 
        <ul><li>If you did not make this request, we apologise. You may disregard this email or you may advise us the error by replying to this email.</li></ul>
 </li>
 <li>
-A manager from your organization validates your request. Upon confirmation of your signup request, we will send an email to the managers at your organization with a validation request.
+A manager from your organization must also validate your request. Upon confirmation of your signup request, we will send an email to the managers at your organization with a validation request.
 </li>
 </ul>
 <p>
index fd7278f..a68d1ce 100644 (file)
@@ -9,13 +9,13 @@ Email: {{email}}
 
 You may now log in to the portal using your email address and the password that you provided, but your access will be limited. To gain full access, two steps are required:
 
-       1. You confirm that you have indeed made this request by clicking on the following link:
+       1. You must confirm that you have indeed made this request by clicking on the following link:
 
                {{validation_link}}
 
                If you did not make this request, we apologise. You may disregard this email or you may advise us the error by replying to this email.
 
-       2. A manager from your organization validates your request. Upon confirmation of your signup request, we will send an email to the managers at your organization with a validation request.
+       2. A manager from your organization must also validate your request. Upon confirmation of your signup request, we will send an email to the managers at your organization with a validation request.
 
 We look forward to welcoming you to OneLab. 
 Please don't hesitate to contact us at support@onelab.eu with any additional questions that you might have.
index ce763ba..d923b9d 100644 (file)
@@ -8,17 +8,17 @@
 <div class="row">
        {% if activation_status == 'success' %}
                <h3>Signup request confirmed.</h3>
-               <p>You are currently able to log in to the portal using your email address and the password that you provided, but your access is still limited.</p> 
-               <p>You will have full access as soon as your account is validated by a manager at your organization. We have sent an email to the managers with a validation request.</p>
+               <p>You are currently able to log in to the portal using your email address and the password that you have provided; however, your access is still limited.</p> 
+               <p>You will have full access as soon as your account is validated by a manager at your organization. We have sent an email to your organisation's managers with a validation request.</p>
     {% elif activation_status == 'validated' %}
                <h3>Account validated.</h3>
                <p>We have identified you as a valid PLE user. Your OneLab account has automatically been approved.</p>
         <p>You have a full access to OneLab testbeds.</p>
        {%else%}
                <h3>Signup confirmation failed.</h3>
-               <p>You have probably arrived at this page by clicking a confirmation link in an email that we have sent to you. However, 
-               we have been unable to match the link that you have clicked to a signup request in our database.</p>
-               <p>Please <a href="/portal/contact/">contact support</a> so that we can help you complete the signup process.</p>
+               <p>You have probably arrived at this page by clicking a confirmation link in an email that we have sent to you. 
+               We have been unable to match the link that you have clicked to a signup request in our database.</p>
+               <p>Please <a href="/portal/contact/">contact support</a> so that we may help you complete the signup process.</p>
        {%endif%}
  </div>
 
index 199444a..549ec6b 100644 (file)
                                                </tr>
                                                <tr class="even">
                                                <td colspan="2">
-                                                       <p class="message" id="pkey_del_msg"><b> Tradeoff:</b> Ease-of-use vs Security.<br>
-                                                                       <b>Ease-of-use:</b> Automatic account delegation. Don't delete private key.<br>
-                                                                       <b>Security:</b> Manual account delegation. Download & Delete private key.
+                                                               <p class="command">
+                                                                       <a href="#" style="color:green" data-toggle="modal" data-target="#tradeoffmodal">Automatic vs. Manual delegation of credentials:</a>
+                                                                       Trade-off between ease-of-use & security</p>
                                                                </p>
                                                </td>
                                                </tr>
                         <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                             <h4 class="modal-title" id="myModalLabel">No credentials are delegated to the portal</h4>
                     </div>
-                    <div class="modal-body">
-                                       <p>You may get this message for several reasons.</p>
-                                       <h3>Account Delegation: Automatic</h3>
+                                       <div class="modal-body" style="text-align:justify;">
+                                       <p>You are getting this message for any of the following reasons:</p>
                                        <ul>
-                                               <li>If your account is not yet validated</li>
+                                               <li>If your account is still pending for validation</li>
                                                <li>If you press the "Clear Credentials" button</li>
                                                <li>If you "Generate a new key pair"</li>
                                                <li>If a new slice is added to your account</li>
                                        </ul>
-                                       <p>In all the above mentioned cases, it is sufficient to refresh the page or go back to home page. The portal will regenrate your credentials.
-                                        In some cases it may take more time than usual. If nothing works, then please logout and login again to the portal.</p>
-                                       <h3>Account Delegation: Manual</h3>
-                                               <p>First of all your account needs to be validated by the manager of your organization.</p>
-                                               <p>As you have uploaded your own public key, the portal can no longer generate your credentials automatically.</p>
-                                               <p>In order for the portal to contact testbeds on your behalf, so as to list and reserve resources, you will need to
-                                               <a href="/portal/manual_delegation" target="_blank">delegate your credentials to the portal.</a>
+                                       <p>Unless your account has not yet been validated, it is sufficient to refresh the page or go back to the home page. 
+                                               The portal will then regenerate your credentials. In some cases it may take more time than usual. If nothing works, 
+                                               then please logout and login back into to the portal.
                                        </p>
-                                       <h5>Contact support</h5>
+                                       <h3>Manual delegation of credentials</h3>
+                                               <p>
+                                                       You have selected upon sign-up to upload your public key. As you have uploaded your own public key, 
+                                                       the portal can no longer generate your credentials automatically. In order to have your credentials 
+                                                       delegated to the portal, please follow these instructions:
+                                               </p>
+                                               <ul>
+                                                       <li>Your account must first be validated by the manager of your organization.</li>
+                                                       <li>In order for the portal to contact testbeds on your behalf, so as to list and reserve resources, you will need to
+                                                               <a href="/portal/manual_delegation" target="_blank">delegate your credentials to the portal.</a></li>
+                                               </ul>
+                                       </p>
+                                       <h3>Contact support</h3>
                                        <p>If you don't have the above mentioned cases and still have this message, please  <a href="/contact/" target="_blank">contact us</a>.</p>
                     </div>
                     <div class="modal-footer">
 </div>
 
 
+<!-- Modal- Trade-off Message  -->
+<div class="modal fade" id="tradeoffmodal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+            <div class="modal-dialog">
+                <div class="modal-content">
+                    <div class="modal-header">
+                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
+                            <h4 class="modal-title" id="myModalLabel">
+                                                               Automatic vs. Manual delegation of credentials
+                                                       </h4>
+                    </div>
+                                       <div class="modal-body" style="text-align:justify;">
+                                       <h3>Automatic delegation of credentials</h3>
+                                               <p>Don't delete private key, ease-of-use option:</p>
+                                               <ul>
+                                                       <li>
+                                                               This means that you will keep your private key in the portal and it will automatically delegate your credentials on your behalf.
+                                                       </li>
+                                                       <li>
+                                                               This option does not provide as high of a level of security; however, your private key will still only be used in the portal and 
+                                                               will be available to you and the OneLab admins only.
+                                                       </li>
+                                               </ul>
+                                       <h3>Manual delegation of credentials</h3>
+                                               <p>Download & Delete private key, higher security option:</p>
+                                               <ul>
+                                                       <li>If you delete your private key, you will have more security but the portal will no longer be able to delegate credentials 
+                                                               on your behalf, and you will have to manually
+                                                               <a href="/portal/manual_delegation" target="_blank">delegate your credentials to the portal.</a>
+                                                       </li>
+                                               </ul>
+                                       <h3>Contact support</h3>
+                                       <p>For more information, please  <a href="/contact/" target="_blank">contact us</a>.</p>
+                    </div>
+                    <div class="modal-footer">
+                        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
+                    </div>
+                </div>
+            </div>
+</div>
+
+
+
        <div class="tab-pane row" id="access">
                <div class="col-md-12">
        
index 2a7c60a..4014ede 100644 (file)
@@ -14,9 +14,9 @@
 </div>
 <div class="row">
        <div class="col-md-12">
-       <p>Please check our <a href="/portal/support/">FAQ</a> section. Most of the basic problems are explained there.</p>
+       <p>If you are having any problems, please read our <a href="/portal/support/">FAQ</a> section as many of them are explained there.</p>
        <p>
-       If you haven't find your answes in the FAQ, please contact us by filling the form below.<br />
+       If you cannot find the answers to your questions in our FAQ section, please contact us by filling out the form below.<br />
        You can also <a href="mailto:support@onelab.eu">e-mail</a> us directly.
        </p>
        </div>
index b3394d6..944bcbe 100644 (file)
                         <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                             <h4 class="modal-title" id="myModalLabel">No credentials are delegated to the portal</h4>
                     </div>
-                    <div class="modal-body">
-                                       <p>You may get this message for several reasons.</p>
-                                       <h3>Account Delegation: Automatic</h3>
+                    <div class="modal-body" style="text-align:justify;">
+                                       <p>You are getting this message for any of the following reasons:</p>
                                        <ul>
-                                               <li>If your account is not yet validated</li>
+                                               <li>If your account is still pending for validation</li>
                                                <li>If you press the "Clear Credentials" button</li>
                                                <li>If you "Generate a new key pair"</li>
                                                <li>If a new slice is added to your account</li>
                                        </ul>
-                                       <p>In all the above mentioned cases, it is sufficient to refresh the page or go back to home page. The portal will regenrate your credentials.
-                                        In some cases it may take more time than usual. If nothing works, then please logout and login again to the portal.</p>
-                                       <h3>Account Delegation: Manual</h3>
-                                               <p>First of all your account needs to be validated by the manager of your organization.</p>
-                                               <p>As you have uploaded your own public key, the portal can no longer generate your credentials automatically.</p>
-                                               <p>In order for the portal to contact testbeds on your behalf, so as to list and reserve resources, you will need to
-                                               <a href="/portal/manual_delegation" target="_blank">delegate your credentials to the portal.</a>
+                                       <p>Unless your account has not yet been validated, it is sufficient to refresh the page or go back to the home page. 
+                                               The portal will then regenerate your credentials. In some cases it may take more time than usual. If nothing works, 
+                                               then please logout and login back into to the portal.
                                        </p>
-                                       <h5>Contact support</h5>
+                                       <h3>Manual delegation of credentials</h3>
+                                               <p>
+                                                       You have selected upon sign-up to upload your public key. As you have uploaded your own public key, 
+                                                       the portal can no longer generate your credentials automatically. In order to have your credentials 
+                                                       delegated to the portal, please follow these instructions:
+                                               </p>
+                                               <ul>
+                                                       <li>Your account must first be validated by the manager of your organization.</li>
+                                                       <li>In order for the portal to contact testbeds on your behalf, so as to list and reserve resources, you will need to
+                                                               <a href="/portal/manual_delegation" target="_blank">delegate your credentials to the portal.</a></li>
+                                               </ul>
+                                       </p>
+                                       <h3>Contact support</h3>
                                        <p>If you don't have the above mentioned cases and still have this message, please  <a href="/contact/" target="_blank">contact us</a>.</p>
                     </div>
                     <div class="modal-footer">
                        <div>   
                                <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
                        </div>
+                       {% if pending_slices %}
+                       <p><strong>Pending slices</strong>
+                       <span title="Slices that you have requested and are pending for validation by the contact person of your organization."
+                               class="glyphicon glyphicon-info-sign">
+                       <ul>
+                       {% for slices in pending_slices %}
+                       <li>{{slices}}</li>
+                       {% endfor %}
+                       </ul>
+                       </span>
+                       </p>
+                       {%endif%}       
                </div>
                <div class="col-md-4">
                        <h3>
index 72e013d..e59d281 100644 (file)
 
 <div class="container tab-content">
        <div class="tab-pane active row" id="faq">
-               <div class="col-md-12">
+               <div class="col-md-12" style="text-align:justify;">
                        <h2>Frequently Asked Questions (FAQs)<h2>
 
                        <h3>PlanetLab Europe Users</h3>
                        <ul>
                                <li>
-                                       <h4>I am a PlanetLab Europe user, how do I sign up?</h4>
+                                       <h4>I am already a PlanetLab Europe user, how do I sign up?</h4>
                                        <p>
                                                Users that already have an account on PlanetLab Europe will be able to <a href="/register">sign up</a> using the
                                                available form and selecting their institution from the provided list.<br />
@@ -37,7 +37,7 @@
                                        </p>
                                </li>
                                <li>
-                                       <h4>Which testbeds will I be able to access to?</h4>
+                                       <h4>Which testbeds will I be able to access?</h4>
                                        <p>
                                                You will be able to access NITOS, a wireless based testbed, and IoT-LAB, a sensor and radio based testbed.
                                        </p>
@@ -50,7 +50,7 @@
                                                We are working to provide you with an equally good PlanetLab experience through the OneLab portal, 
                                                and we will invite you to help us beta-test this feature as soon as it is available. <br />
                                                Other users, who do not have PlanetLab Europe accounts, currently have limited access to
-                                               PlanetLab Europe through the OneLab portal, but this is not equivalent to the full access you 
+                                               PlanetLab Europe through the OneLab portal. This is not the same as the full access that you 
                                                currently enjoy through your PlanetLab Europe account.
                                        </p>
                                </li>
                        <h3>Users</h3>
                        <ul>
                        <li><h4>Who is a user?</h4></li>
-                       <p>A user is an experimenter who registers to the OneLab portal and able to use all the facilites that the portal has to offer. However, a user does not
+                       <p>A user is an experimenter who registers to the OneLab portal and able to use all of the facilities that the portal has to offer. However, a user does not
                        have the right to do any admin operation such as managing slices, users and resources.</p>
                        
                        
                        <li><h4>How do I register?</h4></li>
-                       <p>In order to register you must go to the <a href="/register">Registration</a> page. You have to choose your corresponding institution (authority). After registration you have to wait until the PI validates your account. However upon registration, you will be able login to the portal with a limited access. Do not try to re-register with the same email address.</p>
+                       <p>In order to register you must go to the <a href="/register">Registration</a> page. You must choose your corresponding institution (authority). 
+                       After registration you will have to wait until the manager of your organization validates your account. However upon registration, you will be able login to the portal with 
+                       a limited access. Do not try to re-register with the same email address.</p>
                        
                        <li><h4>Why can't I register with my email?</h4></li>
                        <p>If you have already registered then you won't be able to register again with the same email address. However, if you have never registered and still you are not able to use your email then please 
                        <a href="/contact">Contact Support</a> and mention the error message that you are getting while trying to register.</p>
                        
-                       <li><h4>In registration, in "My keys" option, what should i choose?</h4></li>
-                       <p>There are two choices.</p> 
-                               <p class="text-justify"><b>1. Generate Key Pairs:</b> This option is for users who have no knowledge about SFA and MySlice i.e., new users. We offer convenience to the new users in order to avoid addtional efforts to delegate keys manually. If you choose this option, the portal will automatically handle your credentials and you would be able use the portal as soon as the PI validates your account. However, you can delete your private key from the portal if you are concerned about privacy issues. In that case once your current credentials expire, you have to delegate your credentials manually using <a href="http://trac.myslice.info/wiki/InstallSfa" target="_blank">SFA</a>. As this needs advance knowledge about SFA and Myslice, we highly recommend to the new users to keep both private and public keys in the portal in order to keep the process automatic. </p>
-                               <p class="text-justify"><b>2. Upload My Public Key:</b> This option is for users who have experience with MySlice and SFA. If you choose this option, once the PI validates your account, you have to delegate your credentials manually using <a href="http://trac.myslice.info/wiki/InstallSfa" target="_blank">SFA</a>. You have to repeat the same process everytime your credentials expire. Normally, credentials expire every one month. You can see the expiration date in your Account page. </p>
+                       <li><h4>In the "My keys" option under registration, what should I choose?</h4></li>
+                       <p>You may choose one of the two options.</p> 
+                               <p ><b>1. Generate Key Pairs:</b> This option is for users who have no knowledge about SFA and MySlice i.e., new users. 
+                                       We offer convenience to the new users in order to avoid additional efforts to delegate keys manually. If you choose this option, 
+                                       the portal will automatically handle your credentials and you would be able use the portal as soon as your organization's manager 
+                                       validates your account. However, you can delete your private key from the portal if you are concerned about privacy issues. In this instance, 
+                                       once your current credentials expire, you will have to delegate your credentials manually using <a href="http://trac.myslice.info/wiki/InstallSfa" target="_blank">SFA</a>. 
+                                       As this needs advance knowledge about SFA and Myslice, we highly recommend to the new users to keep both private and public keys in 
+                                       the portal in order to keep the process automatic. 
+                               </p>
+                               <p><b>2. Upload My Public Key:</b> This option is for users who have experience with MySlice and SFA. If you choose this option, once your organization's manager  validates your account, you will have to delegate your credentials manually using <a href="http://trac.myslice.info/wiki/InstallSfa" target="_blank">SFA</a>. You have will to repeat this same process every time your credentials expire. Credentials must generally be renewed every 30 days. You can see the expiration date in your Account page. </p>
                        
                        <li><h4>Who is responsible for validating my account?</h4></li>
-                       <p>When you register, you choose an authority fromt he list of authorities. For each authority there is a Principal Investigator (PI). PI of your authority will verify your identity and if he finds that you are from his institution, he will validate your account otherwise he will reject your account.</p>
+                       <p>When you register, you choose an authority from he list of authorities. For each authority there is a manager. The manager of your organization will verify your identity and if he finds that you are from his institution, he will validate your account.If you are not a part of his organization, then he will not approve your account.</p>
                        
-                       <li><h4>How long I have to wait for validation?</h4></li>
+                       <li><h4>How long must I wait for validation?</h4></li>
                        <p>It depends on the PI of your authority. In general, it should not take more than a week. If you are waiting more than usual, please <a href="/contact">Contact Support</a> and explain your problem.</p>
                        <li><h4>I just registered. Why can't I see any slices and resources?</h4></li>
-                       <p>Once you register, you can login to your account with limited access. It means that you can view your account details, modify your name and password. You can also view other pages. However, you will not be able to see any slices as well as resources before your account validation. But you can <a href="/portal/slice_request/">Request Slice</a> before being validated. Therefore, the PI will validate your account as well as your requested slice. Once validated, you will be able to see your slice and if you click on your slice, you will be able to see resources in that slice and you can reserve nodes and start your experiment.</p>
+                       <p>Once you register, you can login to your account with limited access. It means that you can view your account details, modify your name and password. You can also view other pages. However, you will not be able to see any slices as well as resources before your account validation. But you can <a href="/portal/slice_request/">Request Slice</a> before being validated. In this instance, your organization's manager will validate your account as well as your requested slice. Once validated, you will be able to see your slice. If you click on your slice, you will be able to see the resources in that slice and you can reserve nodes and start your experiment.</p>
                        
                        <li><h4>How can I get access to a slice?</h4></li>
-                       <p>If you are a completely new user, you have to <a href="/portal/slice_request/">Request Slice</a>. It is upto the PI of your authority to accept/reject your slice request. </br>On the other hand, if you are a new user to the portal but you already have an account in OneLab SFA registry and you have access to slices, you will be able to see all your slices once your account is validated by the PI.</p> 
+                       <p>If you are a completely new user, you have to <a href="/portal/slice_request/">Request Slice</a>. It is up to the manager of your organization to accept/reject your slice request. </br>On the other hand, if you are a new user to the portal but you already have an account in the OneLab SFA registry and you have access to slices, you will be able to see all of your slices once your account is validated by the PI.</p> 
                        
                        <li><h4>I forgot my password, how to recover it?</h4></li>
                        <p>If you have an account in the portal but you forgot the password, you can always <a href="/portal/pass_reset/">Reset your password</a>.</p></ul>
                        <h3>Managers</h3>
                        <ul>
                        <li><h4>Who is a manager?</h4></li>
-                       <p>A manager is the Principal Investigator (PI) of the institution. Each PI has authority over his own institution. A PI can add, delete, validate users/ 
-                       slices that belong to his institution.</p>
+                       <p>
+                               A manager is the contact person and principal authority of the a particular organization. Each manager has authority over his 
+                               or her own institution/department/team. A manager may add, delete or validate users/slices that belong to his institution.
+
+                       </p>
                        
                        <li><h4>What is pending users/slices?</h4></li>
-                       <p>In <a href="/portal/validate">Requests</a> page you will be able to see all the users that registered under your authority and the slices that users of your authority has requested. Therefore, pending users/slices are those users and slices that are yet to be validated. You can validate/reject these requests based on the policy of your institution.</p>
+                       <p>In  the <a href="/portal/validate">Requests</a> page you will be able to see all the users that have registered under your authority and the slices that they have requested. Therefore, pending users/slices are those users and slices that are yet to be validated. You can validate/reject these requests based on the policy of your institution.</p>
                        
                        <li><h4>How can I manage the users/slices that belong to my institution?</h4></li>
-                       <p>In <a href="/portal/institution">Instution</a> page, under "Users" tab, you will be able to see all the users that belong to your authority. You can delete the users that you don't want anymore. Under "Slices" tab, you will be able to see all the slices that belong to your authority. You can renew/delete the slices based on your requirements. As a PI you can also <a href="/portal/slice_request/">Create Slice</a>. Just fill the form of request slice and the slice will be automatically validated if it is requested by a PI. </p>
+                       <p>
+                               In the <a href="/portal/institution">Instution</a> page, under "Users" tab, you will be able to see all the users that belong to your authority. 
+                               You can delete the users that you don't want anymore. Under "Slices" tab, you will be able to see all the slices that belong to your authority. 
+                               You can renew/delete the slices based on your requirements. As a manager you may also <a href="/portal/slice_request/">Create Slice</a>. 
+                               Just fill in the create slice and the slice will automatically be validated if it is requested by a manager. 
+                       </p>
                        
                        </ul>
                </div>
                                                <p class="address">
                                                        <a href="mailto:contact@onelab.eu">contact@onelab.eu</a>
                                                </p>
-                                               <p>Also you can adress any issues in the same email address.</p>
+                                               <p>Also you may adress any other issues in the same email address.</p>
                                        </div>
                                        <div class="col-md-6">
                                                <h3>Mailing Address</h3>
                                <div class="row">
                                        <div class="col-md-6">
                                                <h3>Report a Bug</h3>
-                                               <p>If you have found a bug or having difficulties accesing some features or found some anomalies, 
+                                               <p>If you have found a bug, are having difficulties accessing some features or have found some anomalies, 
                                                        please report it using our ticketing system.
                                                </p>
                                                <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Create Ticket</button>
index 9419d13..0d0a03b 100644 (file)
@@ -4,7 +4,7 @@
 
   <h1>Slice created</h1>
 
-As you are a manager of your institution, your slice has directly been created.
+As a manager of your institution, your slice has directly been created directly.
 
 {% endblock %}
 
index c381413..ab95dee 100644 (file)
@@ -2,13 +2,14 @@
 <br>
 <p>Dear OneLab user,</p>
 <p></p>
-<p>You have recently requested the following slice in the OneLab portal({{portal_url}}):</p> 
+<p>You have recently requested the following slice on the OneLab portal({{portal_url}}):</p> 
 <br>
 <b>Slice name   :</b> {{slice_name}}<br>
 <b>URL          :</b> {{url}}<br>
 <b>Purpose      :</b> {{purpose}}<br>
 <br>
-<p>We regret to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, contact us by replying to this email.</p>
+<p>We regret to inform you that, a manager of your institution has not confirmed your request. Please contact the manager of your institution for further information. 
+For any other queries, please contact us by replying to this email.</p>
 <br>
 <p>On behalf of the entire team, I wish you a fruitful user experience on OneLab.</p>
 <br>
index 7dcbee3..521ec5e 100644 (file)
@@ -1,14 +1,14 @@
 Dear OneLab user,
 
-You have recently requested the following slice in the OneLab portal({{portal_url}}):
+You have recently requested the following slice on the OneLab portal({{portal_url}}):
 
 Slice name   : {{slice_name}}
 URL          : {{url}}
 Purpose      : {{purpose}}
  
-We regret to inform you that, a manager of your institution has rejected your request. Please contact the manager of your institution for further information. For any other queries, contact us by replying to this email.
+We regret to inform you that, a manager of your institution has not confirmed your request. Please contact the manager of your institution for further information. For any other queries, please contact us by replying to this email.
 
-On behalf of the entire team, I wish you a fruitful user experience on OneLab..
+On behalf of the entire team, I wish you a fruitful user experience on OneLab.
 
 Yours sincerely,
 
index c508a24..7fac65c 100644 (file)
@@ -8,9 +8,12 @@
 <b>URL          :</b> {{number_of_nodes}}<br>
 <b>Purpose      :</b> {{purpose}}<br>
 <p></p>
-<p>We are glad to inform you that, a manager of your institution has validated your slice request. You can now add resources to the slice and start experimenting.</p>
+<p>
+       We are pleased to inform you that a manager from your institution has validated your slice request on the OneLab portal. 
+       You can now add resources to you slice and start experimenting.
+</p>
 <p></p>
-<p>On behalf of the entire team, I wish you a fruitful user experience on OneLab.</p>
+<p>On behalf of the entire team, I wish you a fruitful user experience with the OneLab portal.</p>
 <p></p>
 <p>Yours sincerely,</p>
 
index f0cd3c5..993e6ef 100644 (file)
@@ -6,9 +6,10 @@ Slice name      : {{slice_name}}
 URL             : {{number_of_nodes}}
 Purpose         : {{purpose}}
 
-We are glad to inform you that, a manager of your institution has validated your slice request. You can now add resources to the slice and start experimenting.
 
-On behalf of the entire team, I wish you a fruitful user experience on OneLab.
+We are pleased to inform you that a manager from your institution has validated your slice request on the OneLab portal. You can now add resources to you slice and start experimenting.
+
+On behalf of the entire team, I wish you a fruitful user experience with the OneLab portal.
 
 Yours sincerely,
 
index fc88316..8821b66 100644 (file)
@@ -2,13 +2,13 @@
 <br>
 <p>Dear {{first_name}} {{last_name}},</p>
 <p></p>
-<p>It is my pleasure to welcome you as a fully signed up user of the OneLab experimental facility. OneLab provides you with access to world class computer networking testbeds, such as IoT-LAB, NITOS, and PlanetLab Europe. Our aim at OneLab is to promote the use of these testbeds for pre-commercial research and development by industry, for scientific research, and for university level laboratory exercises.</p>
+<p>It is my pleasure to welcome you as a fully signed-up user of the OneLab experimental facility. OneLab provides you with access to world class computer networking testbeds, such as IoT-LAB, NITOS, and PlanetLab Europe. Our aim at OneLab is to promote the use of these testbeds for pre-commercial research and development by industry, for scientific research, and for university level laboratory exercises.</p>
 <p></p>
 </p>
-Your entry point for access to the testbeds is the OneLab portal, which provides a web-based interface for browsing and reserving resources on the various testbeds. To run an experiment using those resources, you may log in to the testbed and/or individual nodes on the testbed with your OneLab public/private key pair, or use an experiment control tool such as as NEPI or OMF. The OneLab operations team is standing by at support@onelab.eu to provide you with help regarding the portal and to refer your testbed- and tool-specific queries to those best able to answer them.
+Your entry point for access to the testbeds is the OneLab portal, which provides a web-based interface for browsing and reserving resources on the various testbeds. To run an experiment using those resources, you may log in to the testbed and/or individual nodes on the testbed with your OneLab public/private key pair, or you may use an experiment control tool such as as NEPI or OMF. The OneLab operations team is standing by at support@onelab.eu to provide you with help regarding the portal and to refer your testbed- and tool-specific queries to those best able to answer them.
 </p>
 <p></p>
-</p>On behalf of the entire team, I wish you a fruitful user experience on OneLab.</p>
+</p>On behalf of the entire team, I wish you a fruitful user experience with the OneLab portal.</p>
 <p></p>
 <p>Yours sincerely,</p>
 <p></p>
index 6c290f6..6765f3b 100644 (file)
@@ -4,7 +4,7 @@ It is my pleasure to welcome you as a fully signed-up user of the OneLab experim
 
 Your entry point for access to the testbeds is the OneLab portal, which provides a web-based interface for browsing and reserving resources on the various testbeds. To run an experiment using those resources, you may log in to the testbed and/or to individual nodes on the testbed with your OneLab public/private key pair, or you may use an experiment control tool such as as NEPI or OMF. The OneLab operations team is standing by at support@onelab.eu to provide you with help regarding the portal and to refer your testbed- and tool-specific queries to those best able to answer them.
 
-On behalf of the entire team, I wish you a fruitful user experience on OneLab.
+On behalf of the entire team, I wish you a fruitful user experience with the OneLab portal.
 
 Yours sincerely,