server = config.activity.server
else :
# default log server
- server = "http://athos.ipv6.lip6.fr/log"
+ server = "http://athos.ipv6.lip6.fr/activity/push/log"
def logWrite(request, action, message):
result = urllib2.urlopen(server, urllib.urlencode(log))
content = result.read()
except urllib2.URLError as e:
- print "===============>> activity: connection to " + url + " impossible, could not log action"
+ print "===============>> activity: connection to " + server + " impossible, could not log action"
def log(request, action, message):
# Create a new thread in Daemon mode to send the log entry
for user in user_details_sfa:
user_email = user['user_email']
+ # XXX LOIC Quick fix because this is totally inconsistent
+ if not 'number_of_nodes' in request:
+ request['number_of_nodes']=""
+
# XXX We should create a slice with Manifold terminology
slice_params = {
'slice_hrn' : hrn,
is responsible to accept or reject newly registered users.
</p>
<p>
- To learn more about OneLab visit: <a href="http://onelab.eu" target="_blank">onelab.eu</a>
+ To learn more about OneLab visit: <a href="https://www.onelab.eu" target="_blank">onelab.eu</a>
</p>
<p>
If you have any questions regarding using the portal visit: <a href="/support">OneLab support</a>
{% for authority in authorities %}
{% if authority.name %}
{value:"{{ authority.name }}",label:"{{authority.name}}"},
+ // show hrn if we don't have the name
+ {% else %}
+ {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"},
{% endif %}
{% endfor %}
{% else %}
<ul>
<li><a href="/news">News</a></li>
<li><a href="/about">About</a></li>
- <li><a target="_blank" href="http://new.onelab.eu">Public Website</a></li>
+ <li><a target="_blank" href="https://www.onelab.eu">Public Website</a></li>
<li><a target="_blank" href="http://intranet.onelab.eu">Intranet</a></li>
</ul>
{% if username %}
{% for authority in authorities %}
{% if authority.name %}
{value:"{{ authority.name }}",label:"{{authority.name}}"},
- // to show only full name
- // {% else %}
- // {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"},
+ // show hrn if we don't have the name
+ {% else %}
+ {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"},
{% endif %}
{% endfor %}
{% else %}