Concept of mastersite is no longer used, remove all references
authorMagnus Hagander <magnus@hagander.net>
Sun, 27 Nov 2011 11:34:00 +0000 (12:34 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 27 Nov 2011 11:35:02 +0000 (12:35 +0100)
docs/dev_install.rst
pgweb/account/views.py
pgweb/settings.py
templates/account/new_account_email.txt
templates/core/moderation_report.txt
tools/moderation/moderation_report.py

index c2992f3dc1aee488d750140d0b9bc937b76470f5..8a4072b46e498816751eb4941816c71deccd1d78 100644 (file)
@@ -24,7 +24,6 @@ with. Here's a quick step-by-step on how to do that:
        DEBUG=True
        TEMPLATE_DEBUG=DEBUG
        SUPPRESS_NOTIFICATIONS=True
-       MASTERSITE_ROOT="http://localhost:8000"
        SITE_ROOT="http://localhost:8000"
        NO_HTTPS_REDIRECT=True
 #. In the pgweb directory run the following command to create all
index cb089b1a1c8e6b9d94afc7daa16f3446faef68bc..3c1e5b647dbdd06aeef86636748c9768b6115e9a 100644 (file)
@@ -125,7 +125,7 @@ def signup(request):
                                                           form.cleaned_data['email'],
                                                           'Your new postgresql.org community account',
                                                           'account/new_account_email.txt',
-                                                          { 'uid': int_to_base36(user.id), 'token': token, 'user': user, 'mastersite': settings.MASTERSITE_ROOT}
+                                                          { 'uid': int_to_base36(user.id), 'token': token, 'user': user}
                                                           )
 
                        return HttpResponseRedirect('/account/signup/complete/')
index 5b7ca67fe6fdc444b600687a407ce2efc9f177c8..c6e6ec04e73834344b05be185ea352e5bc001167 100644 (file)
@@ -115,7 +115,6 @@ INSTALLED_APPS = [
 # In particular, adjust the email addresses
 ###
 SITE_ROOT="http://www.postgresql.org"                  # Root of working URLs
-MASTERSITE_ROOT="http://wwwmaster.postgresql.org"      # Root of working master web
 FTP_PICKLE="/usr/local/pgweb/ftpsite.pickle"           # Location of file with current contents from ftp site
 NOTIFICATION_EMAIL="someone@example.com"               # Address to send notifications *to*
 NOTIFICATION_FROM="someone@example.com"                # Address to send notifications *from*
index 2ca21165e7fa72e3f4133915d6579c23e890cdf5..876f530c11e43c116628a1d517f1e3c16f74058f 100644 (file)
@@ -3,6 +3,6 @@ PostgreSQL community account.
 
 Please go to the following page and choose a new password:
 
-{{mastersite}}/account/reset/{{uid}}-{{token}}/
+https://www.postgresql.org/account/reset/{{uid}}-{{token}}/
 
 Your username, in case you've forgotten, is {{user.username}}.
index 6f6de91a2ddcc5792883647e8d87ee6ea2344af8..5f1d88549c2c7c9426f76c03ada37053e3a50651 100644 (file)
@@ -5,4 +5,4 @@ The following items are currently pending moderation:
 
 Moderators; please check and moderate these items as soon as possible!
 
-{{mastersite}}/admin/pending/
+https://www.postgresql.org/admin/admin/pending/
index f7adf7dbd7096b85fd4e65a503b80a9aafb758da..2fbcd59d0b26269667a3908f83c8b1241d40093b 100755 (executable)
@@ -21,5 +21,4 @@ if len(counts):
                                           "core/moderation_report.txt",
                                           {
                        'items': counts,
-                       'mastersite': settings.MASTERSITE_ROOT,
                        })