#1767 frontend: update FAS links to use the new site
Merged a year ago by praiskup. Opened a year ago by frostyx.
copr/ frostyx/copr new-fas  into  main

file modified
+1 -1
@@ -46,7 +46,7 @@ 

  

  - Get your ssh RSA key into the Fedora accounts system here: (note: use your login name in this url :))

  

- https://admin.fedoraproject.org/accounts/user/edit/USERNAME

+ https://accounts.fedoraproject.org/user/USERNAME/settings/keys

  

  - After that you should be able to git clone with::

  

file modified
+3 -3
@@ -11,7 +11,7 @@ 

  

  If you are completely new to COPR build system, those steps will get you setup quickly:

  

- 1) setup a FAS account here: https://admin.fedoraproject.org/accounts/user/new

+ 1) setup a FAS account here: https://accounts.fedoraproject.org

  2) log in into COPR (link at the top right corner of COPR HP: https://copr.fedorainfracloud.org/)

  3) go to https://copr.fedorainfracloud.org/api/

  4) copy the generated auth token into ``~/.config/copr``
@@ -365,7 +365,7 @@ 

  

  Copr is a build system available for everybody. You provide the src.rpm and Copr provides a yum repository. Copr can be used for upstream builds, for continuous integration, or to provide a yum repository for users of your project, if your project is not yet included in the standard Fedora repositories. 

  

- You will need a `FAS account <https://admin.fedoraproject.org/accounts>`_ in order to get started.

+ You will need a `FAS account <https://accounts.fedoraproject.org>`_ in order to get started.

  

  .. _`What I can build in Copr?`:

  
@@ -554,7 +554,7 @@ 

  

  .. rubric:: How can I create new group? :ref:`¶ <How can I create new group?>`

  

- Groups membership is handled by `FAS <https://admin.fedoraproject.org/accounts/>`_. It can add/remove members to existing group. However it cannot create new group. You can create new group by `creating new fedora-infra ticket <https://pagure.io/fedora-infrastructure/new_issue>`_.

+ Groups membership is handled by `FAS <https://accounts.fedoraproject.org>`_. It can add/remove members to existing group. However it cannot create new group. You can create new group by `creating new fedora-infra ticket <https://pagure.io/fedora-infrastructure/new_issue>`_.

  You have to log out and then log in again to Copr so Copr can read your new

  settings.

  

@@ -115,7 +115,7 @@ 

  # FAS_LOGIN = True

  # LOGIN_INFO = {

  #   # Link to user's profile, {username} expaneded.

- #   'user_link': 'https://admin.fedoraproject.org/accounts/user/view/{username}/',

+ #   'user_link': 'https://accounts.fedoraproject.org/user/{username}/',

  #   # Description sometimes put into template to make clear what we point to

  #   'user_desc': 'FAS account'

  # }

@@ -114,7 +114,7 @@ 

  # FAS_LOGIN = True

  # LOGIN_INFO = {

  #   # Link to user's profile, {username} expaneded.

- #   'user_link': 'https://admin.fedoraproject.org/accounts/user/view/{username}/',

+ #   'user_link': 'https://accounts.fedoraproject.org/user/{username}/',

  #   # Description sometimes put into template to make clear what we point to

  #   'user_desc': 'FAS account'

  # }

@@ -70,7 +70,7 @@ 

      FAS_LOGIN = True

  

      LOGIN_INFO = {

-         'user_link': 'https://admin.fedoraproject.org/accounts/user/view/{username}/',

+         'user_link': 'https://accounts.fedoraproject.org/user/{username}/',

          'user_desc': 'fas'

      }

  

@@ -64,7 +64,7 @@ 

  

          if config['FAS_LOGIN']:

              menu.append({

-                 'link': 'https://admin.fedoraproject.org/accounts/user/new',

+                 'link': 'https://accounts.fedoraproject.org/',

                  'desc': 'sign up',

              })

  

@@ -449,7 +449,7 @@ 

  {% endmacro %}

  

  {%- macro fas_group_href(name) -%}

- https://admin.fedoraproject.org/accounts/group/view/{{name}}

+ https://accounts.fedoraproject.org/group/{{name}}

  {%- endmacro -%}

  

  

@@ -18,8 +18,8 @@ 

  <div id="profile">

    <h1>@{{group.name}} Group</h1>

    <p>

-     <a href="https://admin.fedoraproject.org/accounts/group/view/{{ group.fas_name }}" title="{{ group.fas_name }}'s FAS details" target="_blank">FAS details</a> |

-     <a href="https://admin.fedoraproject.org/accounts/group/members/{{ group.fas_name }}" title="{{ group.fas_name }}'s Members" target="_blank">View Members</a>

+     <a href="https://accounts.fedoraproject.org/group/{{ group.fas_name }}" title="{{ group.fas_name }}'s FAS details" target="_blank">FAS details</a> |

+     <a href="https://accounts.fedoraproject.org/group/{{ group.fas_name }}" title="{{ group.fas_name }}'s Members" target="_blank">View Members</a>

    </p>

  </div>

  {% endblock %}