Commits

Matthew Turk  committed 3d11fb3

Switching data.yt-project.org to hub.yt-project.org.

  • Participants
  • Parent commits 0646def

Comments (0)

Files changed (4)

File ythub/send_email.py

 pw_recovery_template = r"""
 Hi there!
 
-Your password on the yt Data Hub ( https://data.yt-project.org/ ) has been
+Your password on the yt Data Hub ( https://hub.yt-project.org/ ) has been
 reset.  A temporary password has been issued to you:
 
 %s
 
 Please visit the user login page to log in and reset your password:
 
-https://data.yt-project.org/login
+https://hub.yt-project.org/login
 
 Thanks,
 

File ythub/templates/layout.html

     <div class="navbar navbar-fixed-top">
       <div class="navbar-inner">
         <div class="container">
-          <a class="brand" href="http://data.yt-project.org/">yt Data Hub</a>
+          <a class="brand" href="http://hub.yt-project.org/">yt Data Hub</a>
           <ul class="nav">
             <li><a href="http://yt-project.org/">yt Home</a></li>
-            <li><a href="http://data.yt-project.org/projects/">Projects</a></li>
-            <li><a href="http://data.yt-project.org/users">Users</a></li>
+            <li><a href="http://hub.yt-project.org/projects/">Projects</a></li>
+            <li><a href="http://hub.yt-project.org/users">Users</a></li>
           </ul>
           {% with username = session['username'] %}
           {% if username %}

File ythub/uploader.py

             f.write(request.files['chunk_data'].read())
             return jsonify({'status' : "SENDMORE"})
         except StopIteration:
-            url = "https://data.yt-project.org/go/%s" % (
+            url = "https://hub.yt-project.org/go/%s" % (
                 self.metadata['shorturl'])
             return jsonify({'status' : "COMPLETE",
                             'url' : url})

File ythub/views.py

                                             'name':user.name,
                                             'email':user.email}
             ses_conn.send_email(
-                "data@yt-project.org", 
+                "hub@yt-project.org", 
                  email_subject, email_body, admin_emails)
             flash('Registration successful.')
             return redirect('/')
     email_body = pw_recovery_template % new_pass
     email_subject = "yt data hub: Password Reset"
     ses_conn.send_email(
-        'data@yt-project.org', email_subject, email_body, [email]
+        'hub@yt-project.org', email_subject, email_body, [email]
     )
     user.set_password(new_pass)
     db_session.commit()