|
1 | 1 | {% extends "_base.html" %} |
2 | | - |
| 2 | + |
3 | 3 | {% block content %} |
4 | 4 | <main class="index"> |
5 | 5 | {% if messages %} |
|
9 | 9 | {% endfor %} |
10 | 10 | </ul> |
11 | 11 | {% endif %} |
| 12 | + |
12 | 13 | <h1>ActivityPub Account Portability Testbed</h1> |
13 | 14 | <br /> |
| 15 | + |
14 | 16 | {% if user.is_authenticated %} |
15 | 17 |
|
16 | | - {% if source_actor or destination_actor %} |
| 18 | + {% if source_actor or destination_actor %} |
| 19 | + <p> |
| 20 | + Here are the ActivityPub Actors available for you to test LOLA account portability with: |
| 21 | + </p> |
17 | 22 |
|
18 | | - <p> |
19 | | - Here are the ActivityPub Actors available for you to test LOLA account portability with: |
20 | | - </p> |
21 | | - {% if source_actor %} |
22 | | - <h3>Source</h3> |
23 | | - <div class="actor"> |
24 | | - <div>Username: {{ source_actor.username }}</div> |
25 | | - <div><a href="{% url 'actor-detail' pk=source_actor.pk %}">Details</a></div> |
26 | | - <div><a href="{% url 'actor-outbox' pk=source_actor.pk %}">Outbox</a></div> |
27 | | - </div> |
28 | | - {% endif %} |
29 | | - {% if destination_actor %} |
30 | | - <h3>Destination</h3> |
31 | | - <div class="actor"> |
32 | | - <div>Username: {{ destination_actor.username }}</div> |
33 | | - <div class="actor__links"> |
| 23 | + {% if source_actor %} |
| 24 | + <h3>Source</h3> |
| 25 | + <div class="actor"> |
| 26 | + <div>Username: {{ source_actor.username }}</div> |
| 27 | + <div><a href="{% url 'actor-detail' pk=source_actor.pk %}">Details</a></div> |
| 28 | + <div><a href="{% url 'actor-outbox' pk=source_actor.pk %}">Outbox</a></div> |
| 29 | + </div> |
| 30 | + {% endif %} |
| 31 | + |
| 32 | + {% if destination_actor %} |
| 33 | + <h3>Destination</h3> |
| 34 | + <div class="actor"> |
| 35 | + <div>Username: {{ destination_actor.username }}</div> |
| 36 | + <div class="actor__links"> |
34 | 37 | <a href="{% url 'actor-detail' pk=destination_actor.pk %}">Details</a> |
35 | 38 | </div> |
36 | | - {% endif %} |
37 | | - |
38 | | - {% else %} |
39 | | - <p>There are no ActivityPub Actors available for testing yet.</p> |
40 | | - {% endif %} |
| 39 | + </div> |
| 40 | + {% endif %} |
| 41 | + |
| 42 | + {% else %} |
| 43 | + <p>There are no ActivityPub Actors available for testing yet.</p> |
| 44 | + {% endif %} |
| 45 | + |
| 46 | + {% if oauth_form %} |
| 47 | + <h3>Update Your OAuth Connection</h3> |
| 48 | + <div class="actor"> |
| 49 | + <form method="post" class="oauth-form"> |
| 50 | + {% csrf_token %} |
| 51 | + {{ oauth_form.as_p }} |
| 52 | + <br /> |
| 53 | + <button type="submit">Update</button> |
| 54 | + </form> |
| 55 | + </div> |
| 56 | + {% endif %} |
41 | 57 |
|
42 | 58 | {% else %} |
43 | 59 | <p> |
44 | | - The <a href="https://www.w3.org/TR/activitypub/">ActivityPub</a> account portability testbed is an implementation of <a href="https://swicg.github.io/activitypub-data-portability/lola.html">LOLA</a>, a proposal for an interoperable approach to moving accounts between ActivityPub servers. The testbed implements LOLA as a source server currently, and we have plans to implement LOLA as a destination as well. |
| 60 | + The <a href="https://www.w3.org/TR/activitypub/">ActivityPub</a> account portability testbed is an implementation of |
| 61 | + <a href="https://swicg.github.io/activitypub-data-portability/lola.html">LOLA</a>, a proposal for an interoperable approach to moving accounts between ActivityPub servers. |
| 62 | + The testbed implements LOLA as a source server currently, and we have plans to implement LOLA as a destination as well. |
45 | 63 | </p> |
46 | 64 | <br /> |
47 | 65 | <p> |
48 | | - If you are building a LOLA implementation, register for a test account <a href="{% url 'account_signup' %}">here</a>. The account will be populated with test data including posts, follows and item history. Use this account to test moving an ActivityPub Actor’s full account to your site. |
| 66 | + If you are building a LOLA implementation, register for a test account |
| 67 | + <a href="{% url 'account_signup' %}">here</a>. The account will be populated with test data including posts, follows and item history. |
| 68 | + Use this account to test moving an ActivityPub Actor’s full account to your site. |
49 | 69 | </p> |
50 | 70 | <br /> |
51 | 71 | <p> |
52 | | - Accounts on this site are not full ActivityPub accounts in that they are not shared to the Fediverse or truly federated with other ActivityPubservers. |
| 72 | + Accounts on this site are not full ActivityPub accounts in that they are not shared to the Fediverse or truly federated with other ActivityPub servers. |
53 | 73 | </p> |
54 | 74 | {% endif %} |
55 | | - </div> |
56 | | - |
57 | | - <h3>Update Your OAuth Connection</h3> |
58 | | - |
59 | | - {% if oauth_form %} |
60 | | - <div class="actor"> |
61 | | - <form method="post" class="oauth-form"> |
62 | | - {% csrf_token %} |
63 | | - {{ oauth_form.as_p }} |
64 | | - <br/> |
65 | | - <button type="submit">Update</button> |
66 | | - </form> |
67 | | - </div> |
68 | | - {% endif %} |
69 | 75 | </main> |
70 | 76 | {% endblock %} |
0 commit comments