Skip to content
Snippets Groups Projects
Commit ac177969 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'application-instead-of-token' into 'master'

Use term "application" for all authorized OAuth2 applications/tokens

See merge request !646
parents 80c6515a f949d70b
No related branches found
No related tags found
1 merge request!646Use term "application" for all authorized OAuth2 applications/tokens
Pipeline #15259 passed
Pipeline: AlekSIS

#15263

    ......@@ -14,6 +14,7 @@ Changed
    * Rename every occurance of "social account" by "third-party account".
    * Use own templates and views for PWA meta and manifest.
    * Use term "application" for all authorized OAuth2 applications/tokens.
    * Use importlib instead of pkg_resources (no functional changes)
    Fixed
    ......
    ......@@ -103,7 +103,7 @@ MENUS = {
    ],
    },
    {
    "name": _("Authorized tokens"),
    "name": _("Authorized applications"),
    "url": "oauth2_provider:authorized-token-list",
    "icon": "touch_app",
    "validators": [
    ......
    ......@@ -2,14 +2,14 @@
    {% load i18n %}
    {% block browser_title %}{% trans "Revoke token" %}{% endblock %}
    {% block page_title %}{% trans "Revoke token" %}{% endblock %}
    {% block browser_title %}{% trans "Revoke access" %}{% endblock %}
    {% block page_title %}{% trans "Revoke access" %}{% endblock %}
    {% block content %}
    <div class="alert info">
    <p>
    <i class="material-icons left">warning</i>
    {% trans "Are you sure to revoke this token?" %}
    {% trans "Are you sure to revoke the access for this application?" %}
    </p>
    </div>
    ......
    ......@@ -20,7 +20,7 @@
    {% endfor %}
    </div>
    <div class="card-action">
    <a href="{% url 'oauth2_provider:authorized-token-delete' authorized_token.pk %}">{% trans "Revoke" %}</a>
    <a href="{% url 'oauth2_provider:authorized-token-delete' authorized_token.pk %}">{% trans "Revoke access" %}</a>
    </div>
    </div>
    </div>
    ......@@ -30,7 +30,7 @@
    <div class="alert info">
    <p>
    <i class="material-icons left">info</i>
    {% trans "No authorized tokens defined." %}
    {% trans "No authorized applications." %}
    </p>
    </div>
    {% endif %}
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment