Change FAS link from admin.fp.o to accounts.fp.o
This commit is contained in:
parent
b78179ed3c
commit
d654d59f3a
14 changed files with 20 additions and 20 deletions
|
@ -33,7 +33,7 @@ config = {
|
||||||
# to fas usernames so it can act appropriately on certain message types.
|
# to fas usernames so it can act appropriately on certain message types.
|
||||||
"fas_credentials": {
|
"fas_credentials": {
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
"base_url": "https://admin.stg.fedoraproject.org/accounts/",
|
"base_url": "https://accounts.stg.fedoraproject.org/",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
"username": "{{fedoraDummyUser}}",
|
"username": "{{fedoraDummyUser}}",
|
||||||
"password": "{{fedoraDummyUserPassword}}",
|
"password": "{{fedoraDummyUserPassword}}",
|
||||||
|
|
|
@ -112,7 +112,7 @@ class AccountSystem(BaseClient):
|
||||||
# URLs for remote avatar providers.
|
# URLs for remote avatar providers.
|
||||||
_valid_avatar_services = ['libravatar', 'gravatar']
|
_valid_avatar_services = ['libravatar', 'gravatar']
|
||||||
|
|
||||||
def __init__(self, base_url='https://admin.fedoraproject.org/accounts/',
|
def __init__(self, base_url='https://accounts.fedoraproject.org/',
|
||||||
*args, **kwargs):
|
*args, **kwargs):
|
||||||
'''Create the AccountSystem client object.
|
'''Create the AccountSystem client object.
|
||||||
|
|
||||||
|
|
|
@ -101,14 +101,14 @@ VERBOSE = False
|
||||||
DRYRUN = False
|
DRYRUN = False
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
FASURL = 'https://admin.stg.fedoraproject.org/accounts'
|
FASURL = 'https://accounts.stg.fedoraproject.org'
|
||||||
FASINSECURE = True
|
FASINSECURE = True
|
||||||
PAGUREURL = 'https://stg.pagure.io'
|
PAGUREURL = 'https://stg.pagure.io'
|
||||||
PAGURE_DIST_GIT_URL = 'https://src.stg.fedoraproject.org'
|
PAGURE_DIST_GIT_URL = 'https://src.stg.fedoraproject.org'
|
||||||
PDCURL = 'https://pdc.stg.fedoraproject.org/rest_api/v1/'
|
PDCURL = 'https://pdc.stg.fedoraproject.org/rest_api/v1/'
|
||||||
MDAPIURL = 'https://apps.stg.fedoraproject.org/mdapi/'
|
MDAPIURL = 'https://apps.stg.fedoraproject.org/mdapi/'
|
||||||
{% else %}
|
{% else %}
|
||||||
FASURL = 'https://admin.fedoraproject.org/accounts'
|
FASURL = 'https://accounts.fedoraproject.org'
|
||||||
FASINSECURE = False
|
FASINSECURE = False
|
||||||
PAGUREURL = 'https://pagure.io'
|
PAGUREURL = 'https://pagure.io'
|
||||||
PAGURE_DIST_GIT_URL = 'https://src.fedoraproject.org'
|
PAGURE_DIST_GIT_URL = 'https://src.fedoraproject.org'
|
||||||
|
@ -190,8 +190,8 @@ address.
|
||||||
|
|
||||||
c) Change your Fedora Account System email to match your existing
|
c) Change your Fedora Account System email to match your existing
|
||||||
bugzilla.redhat.com account.
|
bugzilla.redhat.com account.
|
||||||
https://admin.fedoraproject.org/accounts login, click on 'my account',
|
https://accounts.fedoraproject.org login, click on 'Edit profile',
|
||||||
then 'edit' and change your email address.
|
then 'Emails' and change your email address.
|
||||||
|
|
||||||
If you have questions or concerns, please let us know.
|
If you have questions or concerns, please let us know.
|
||||||
|
|
||||||
|
|
|
@ -244,11 +244,11 @@ REQUIRED_GROUPS = {
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
RESULTSDB_URL = 'https://taskotron.stg.fedoraproject.org/resultsdb_api/'
|
RESULTSDB_URL = 'https://taskotron.stg.fedoraproject.org/resultsdb_api/'
|
||||||
FAS_URL = 'https://admin.stg.fedoraproject.org/accounts'
|
FAS_URL = 'https://accounts.stg.fedoraproject.org'
|
||||||
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/'
|
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/'
|
||||||
{% else %}
|
{% else %}
|
||||||
RESULTSDB_URL = 'https://taskotron.fedoraproject.org/resultsdb_api/'
|
RESULTSDB_URL = 'https://taskotron.fedoraproject.org/resultsdb_api/'
|
||||||
FAS_URL = 'https://admin.fedoraproject.org/accounts'
|
FAS_URL = 'https://accounts.fedoraproject.org'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
THEME_TEMPLATE_FOLDER = '/usr/share/pagure_dist_git/template/'
|
THEME_TEMPLATE_FOLDER = '/usr/share/pagure_dist_git/template/'
|
||||||
|
|
|
@ -3,7 +3,7 @@ config = dict(
|
||||||
username="fedoradummy",
|
username="fedoradummy",
|
||||||
password="{{ fedoraDummyUserPassword }}",
|
password="{{ fedoraDummyUserPassword }}",
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
base_url="https://admin.stg.fedoraproject.org/accounts/",
|
base_url="https://accounts.stg.fedoraproject.org/",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ config = dict(
|
||||||
username="fedoradummy",
|
username="fedoradummy",
|
||||||
password="{{ fedoraDummyUserPassword }}",
|
password="{{ fedoraDummyUserPassword }}",
|
||||||
{% if env == 'staging' %}
|
{% if env == 'staging' %}
|
||||||
base_url="https://admin.stg.fedoraproject.org/accounts/",
|
base_url="https://accounts.stg.fedoraproject.org/",
|
||||||
{% endif %}
|
{% endif %}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<p>
|
<p>
|
||||||
{% blocktrans %}
|
{% blocktrans %}
|
||||||
Account creation for the Fedora mailing-lists is done by
|
Account creation for the Fedora mailing-lists is done by
|
||||||
<a href="https://admin.fedoraproject.org/accounts/user/new">creating an account in FAS</a>.
|
<a href="https://accounts.fedoraproject.org/">creating an account in FAS</a>.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
@ -41,9 +41,9 @@ def calc_list():
|
||||||
password = '{{ fedoraDummyUserPassword }}'
|
password = '{{ fedoraDummyUserPassword }}'
|
||||||
|
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
base_url = 'https://admin.stg.fedoraproject.org/accounts/'
|
base_url = 'https://accounts.stg.fedoraproject.org/'
|
||||||
{% else %}
|
{% else %}
|
||||||
base_url = 'https://admin.fedoraproject.org/accounts/'
|
base_url = 'https://accounts.fedoraproject.org/'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
fas = AccountSystem(base_url=base_url, username=username, password=password)
|
fas = AccountSystem(base_url=base_url, username=username, password=password)
|
||||||
|
|
|
@ -96,9 +96,9 @@ def calc_list():
|
||||||
# username = raw_input('Username: ').strip()
|
# username = raw_input('Username: ').strip()
|
||||||
# password = getpass.getpass('Password: ')
|
# password = getpass.getpass('Password: ')
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
base_url = 'https://admin.stg.fedoraproject.org/accounts/'
|
base_url = 'https://accounts.stg.fedoraproject.org/'
|
||||||
{% else %}
|
{% else %}
|
||||||
base_url = 'https://admin.fedoraproject.org/accounts/'
|
base_url = 'https://accounts.fedoraproject.org/'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
fas = AccountSystem(base_url=base_url, username=username, password=password, timeout=600)
|
fas = AccountSystem(base_url=base_url, username=username, password=password, timeout=600)
|
||||||
|
|
|
@ -8,7 +8,7 @@ what user notification preferences are, both of which require expensive API
|
||||||
queries to `FAS`_, `pkgdb`_, or the database.
|
queries to `FAS`_, `pkgdb`_, or the database.
|
||||||
|
|
||||||
.. _fedmsg consumer: http://www.fedmsg.com/en/latest/consuming/#the-hub-consumer-approach
|
.. _fedmsg consumer: http://www.fedmsg.com/en/latest/consuming/#the-hub-consumer-approach
|
||||||
.. _FAS: https://admin.fedoraproject.org/accounts/
|
.. _FAS: https://accounts.fedoraproject.org/
|
||||||
.. _pkgdb: https://admin.fedoraproject.org/pkgdb/
|
.. _pkgdb: https://admin.fedoraproject.org/pkgdb/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ _cache = make_region(
|
||||||
|
|
||||||
log = logging.getLogger("moksha.hub")
|
log = logging.getLogger("moksha.hub")
|
||||||
|
|
||||||
default_url = 'https://admin.fedoraproject.org/accounts/'
|
default_url = 'https://accounts.fedoraproject.org/'
|
||||||
creds = config.app_conf['fas_credentials']
|
creds = config.app_conf['fas_credentials']
|
||||||
|
|
||||||
fasjson = config.app_conf['fasjson']
|
fasjson = config.app_conf['fasjson']
|
||||||
|
|
|
@ -94,7 +94,7 @@ config = {
|
||||||
"fas_credentials": {
|
"fas_credentials": {
|
||||||
"username": "{{fedoraDummyUser}}",
|
"username": "{{fedoraDummyUser}}",
|
||||||
"password": "{{fedoraDummyUserPassword}}",
|
"password": "{{fedoraDummyUserPassword}}",
|
||||||
"base_url": "https://admin.stg.fedoraproject.org/accounts",
|
"base_url": "https://accounts.stg.fedoraproject.org",
|
||||||
},
|
},
|
||||||
{% else -%}
|
{% else -%}
|
||||||
"fasjson": {
|
"fasjson": {
|
||||||
|
|
|
@ -16,7 +16,7 @@ config = {
|
||||||
"fas_credentials": {
|
"fas_credentials": {
|
||||||
"username": "{{fedoraDummyUser}}",
|
"username": "{{fedoraDummyUser}}",
|
||||||
"password": "{{fedoraDummyUserPassword}}",
|
"password": "{{fedoraDummyUserPassword}}",
|
||||||
"base_url": "https://admin.stg.fedoraproject.org/accounts",
|
"base_url": "https://accounts.stg.fedoraproject.org",
|
||||||
},
|
},
|
||||||
{% else %}
|
{% else %}
|
||||||
"fas_credentials": {
|
"fas_credentials": {
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
<small>Posted by <a href="<TMPL_VAR channel_link ESCAPE="HTML">"><TMPL_VAR channel_name></a>
|
<small>Posted by <a href="<TMPL_VAR channel_link ESCAPE="HTML">"><TMPL_VAR channel_name></a>
|
||||||
<span class="fas-account">(<img src="https://fedoraproject.org/w/uploads/a/ac/Infra-icon_fas.png" alt="Fedora Account System Username" name="Fedora Account System Username"><a href="https://admin.fedoraproject.org/accounts/user/view/<TMPL_VAR channel_fasname ESCAPE="HTML">"><TMPL_VAR channel_fasname ESCAPE="HTML"></a>)</span>
|
<span class="fas-account">(<img src="https://fedoraproject.org/w/uploads/a/ac/Infra-icon_fas.png" alt="Fedora Account System Username" name="Fedora Account System Username"><a href="https://accounts.fedoraproject.org/user/<TMPL_VAR channel_fasname ESCAPE="HTML">"><TMPL_VAR channel_fasname ESCAPE="HTML"></a>)</span>
|
||||||
on <a href="<TMPL_VAR link>"><TMPL_VAR date></a>
|
on <a href="<TMPL_VAR link>"><TMPL_VAR date></a>
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue