Replaced portfolio_iframe by port-ui-desktop

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-13 14:22:36 +02:00
parent 5340d580ce
commit 78031855b9
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
48 changed files with 55 additions and 55 deletions

View File

@ -11,7 +11,7 @@
- name: "Activate Portfolio iFrame Notifier for {{ domain }}"
include_role:
name: srv-web-7-7-inj-iframe
when: applications | is_feature_enabled('portfolio_iframe', application_id)
when: applications | is_feature_enabled('port-ui-desktop', application_id)
- name: "Activate Javascript for {{ domain }}"
include_role:

View File

@ -4,7 +4,7 @@ sub_filter_types text/html;
{% set modifier_css_enabled = applications | is_feature_enabled('css',application_id) %}
{% set modifier_matomo_enabled = applications | is_feature_enabled('matomo',application_id) %}
{% set modifier_iframe_enabled = applications | is_feature_enabled('portfolio_iframe',application_id) %}
{% set modifier_iframe_enabled = applications | is_feature_enabled('port-ui-desktop',application_id) %}
{% set modifier_javascript_enabled = applications | is_feature_enabled('javascript',application_id) %}
{% if modifier_iframe_enabled or modifier_css_enabled or modifier_matomo_enabled or modifier_javascript_enabled %}

View File

@ -6,7 +6,7 @@ setup_admin_email: "{{ users.administrator.email }}"
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
domains:
canonical:

View File

@ -4,7 +4,7 @@ image:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
docker:
services:

View File

@ -3,7 +3,7 @@ images:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
docker:
services:

View File

@ -7,7 +7,7 @@ api_suffix: "/bigbluebutton/"
features:
matomo: true
css: true
portfolio_iframe: false # Videos can't open in frame due to iframe restrictions
port-ui-desktop: false # Videos can't open in frame due to iframe restrictions
# @todo fix this
ldap: false
oidc: true

View File

@ -5,7 +5,7 @@ pds:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
domains:
canonical:

View File

@ -4,7 +4,7 @@ repository: "discourse_repository" # Name of the repository folder
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
oidc: true
central_database: true
ldap: false # @todo implement and activate

View File

@ -3,7 +3,7 @@ images:
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
ldap: false
oidc: true
central_database: true

View File

@ -3,7 +3,7 @@ images:
features:
matomo: true
css: false # Temporary deactivated
portfolio_iframe: true
port-ui-desktop: true
oidc: false # Implementation doesn't work yet
central_database: true
ldap: true

View File

@ -15,7 +15,7 @@ docker:
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
ldap: true
central_database: true
oauth2: false # Doesn't make sense to activate it atm, because login is possible on homepage

View File

@ -9,7 +9,7 @@ configuration:
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
central_database: true
ldap: true
oauth2: true

View File

@ -3,7 +3,7 @@ images:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
docker:
services:

View File

@ -3,7 +3,7 @@ images:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
domains:
canonical:

View File

@ -4,7 +4,7 @@ import_realm: True # If True realm will b
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
ldap: true
central_database: true
recaptcha: true

View File

@ -6,7 +6,7 @@ oauth2_proxy:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
ldap: true
central_database: false
oauth2: false

View File

@ -11,7 +11,7 @@ docker:
features:
matomo: true # Enable Matomo Tracking
css: true # Enable Global CSS Styling
portfolio_iframe: true # Enable loading of app in iframe
port-ui-desktop: true # Enable loading of app in iframe
ldap: false # Enable LDAP Network
central_database: false # Enable Central Database Network
recaptcha: false # Enable ReCaptcha

View File

@ -5,7 +5,7 @@ version: "latest" # Docker Image
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
central_database: true
oidc: true
domains:

View File

@ -6,7 +6,7 @@ domain: "{{primary_domain}}" # The main domain fr
features:
matomo: true
css: false
portfolio_iframe: true # Deactivated mailu iframe loading until keycloak supports it
port-ui-desktop: true # Deactivated mailu iframe loading until keycloak supports it
oidc: true
central_database: false # Deactivate central database for mailu, I don't know why the database deactivation is necessary
domains:

View File

@ -6,7 +6,7 @@ setup: false # Set true
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
oidc: true
central_database: true
domains:

View File

@ -7,7 +7,7 @@ features:
# itself wouldn't be possible
matomo: false
css: false
portfolio_iframe: true
port-ui-desktop: true
central_database: true
oauth2: false
csp:

View File

@ -15,7 +15,7 @@ setup: false # Set true in inventory
features:
matomo: false # Deactivated, because in html CSP restricts use
css: true
portfolio_iframe: true
port-ui-desktop: true
oidc: true # Deactivated OIDC due to this issue https://github.com/matrix-org/synapse/issues/10492
central_database: true
csp:

View File

@ -3,7 +3,7 @@ version: "4.5" # Latest LTS - Neces
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
central_database: true
oidc: true
csp:

View File

@ -3,7 +3,7 @@ version: "latest"
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
docker:

View File

@ -27,7 +27,7 @@ oidc:
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
ldap: true
oidc: true
central_database: true

View File

@ -4,4 +4,4 @@ allowed_roles: "admin" # Restrict it default to admin r
features:
matomo: true
css: true
portfolio_iframe: false
port-ui-desktop: false

View File

@ -14,7 +14,7 @@ ldap:
features:
matomo: true
css: false # Temporary deactivated. Needs to be optimized for production use.
portfolio_iframe: true
port-ui-desktop: true
ldap: true
central_database: true
oauth2: true

View File

@ -2,7 +2,7 @@ version: "bookworm"
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
central_database: true
oidc: true
csp:

View File

@ -7,7 +7,7 @@ oauth2_proxy:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
oauth2: true
csp:

View File

@ -5,6 +5,6 @@ oauth2_proxy:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
ldap: true
oauth2: true

View File

@ -6,7 +6,7 @@ oauth2_proxy:
features:
matomo: true
css: false
portfolio_iframe: false # Opens itself in a new window, when it's loaded in an iframe.
port-ui-desktop: false # Opens itself in a new window, when it's loaded in an iframe.
# it's anyhow not so enduser relevant, so it can be kept like this
central_database: true
oauth2: true

View File

@ -5,7 +5,7 @@ images:
features:
matomo: true
css: false # Needs to be reactivated
portfolio_iframe: true
port-ui-desktop: true
central_database: true
oidc: true
csp:

View File

@ -1,7 +1,7 @@
features:
matomo: true
css: true
portfolio_iframe: false
port-ui-desktop: false
simpleicons: true # Activate Brand Icons for your groups
javascript: true # Necessary for URL sync
csp:

View File

@ -22,7 +22,7 @@ class LookupModule(LookupBase):
- Retrieves the icon class from galaxy_info.logo.class
- Retrieves the tags from galaxy_info.galaxy_tags
- Builds the URL using the 'domains' variable
- Sets the iframe flag from applications[application_id].features.portfolio_iframe
- Sets the iframe flag from applications[application_id].features.port-ui-desktop
Only cards whose application_id is included in the variable group_names are returned.
"""
@ -109,7 +109,7 @@ class LookupModule(LookupBase):
url = "https://" + domain_url if domain_url else ""
app_data = applications.get(application_id, {})
iframe = app_data.get("features", {}).get("portfolio_iframe", False)
iframe = app_data.get("features", {}).get("port-ui-desktop", False)
# Build card dictionary
card = {

View File

@ -33,13 +33,13 @@ applications:
icon:
class: fa-solid fa-shield-halved
url: https://{{domains | get_domain('keycloak')}}/admin
iframe: {{ applications | is_feature_enabled('portfolio_iframe','keycloak') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','keycloak') }}
- name: Profile
description: Update your personal admin settings
icon:
class: fa-solid fa-user-gear
url: https://{{ domains | get_domain('keycloak') }}/realms/{{oidc.client.id}}/account
iframe: {{ applications | is_feature_enabled('portfolio_iframe','keycloak') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','keycloak') }}
- name: Logout
description: End your admin session securely
icon:

View File

@ -12,7 +12,7 @@ followus:
class: fa-brands fa-mastodon
url: "{{ web_protocol }}://{{ service_provider.contact.mastodon.split('@')[2] }}/@{{ service_provider.contact.mastodon.split('@')[1] }}"
identifier: "{{service_provider.contact.mastodon}}"
iframe: {{ applications | is_feature_enabled('portfolio_iframe','mastodon') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','mastodon') }}
{% endif %}
{% if service_provider.contact.bluesky is defined and service_provider.contact.bluesky != "" %}
- name: Bluesky
@ -31,7 +31,7 @@ followus:
class: fa-solid fa-camera
identifier: "{{service_provider.contact.pixelfed}}"
url: "{{ web_protocol }}://{{ service_provider.contact.pixelfed.split('@')[2] }}/@{{ service_provider.contact.pixelfed.split('@')[1] }}"
iframe: {{ applications | is_feature_enabled('portfolio_iframe','pixelfed') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','pixelfed') }}
{% endif %}
{% if service_provider.contact.peertube is defined and service_provider.contact.peertube != "" %}
- name: Peertube
@ -40,7 +40,7 @@ followus:
class: fa-solid fa-video
identifier: "{{service_provider.contact.peertube}}"
url: "{{ web_protocol }}://{{ service_provider.contact.peertube.split('@')[2] }}/@{{ service_provider.contact.peertube.split('@')[1] }}"
iframe: {{ applications | is_feature_enabled('portfolio_iframe','peertube') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','peertube') }}
{% endif %}
{% if service_provider.contact.wordpress is defined and service_provider.contact.wordpress != "" %}
- name: Wordpress
@ -49,7 +49,7 @@ followus:
class: fa-solid fa-blog
identifier: "{{service_provider.contact.wordpress}}"
url: "{{ web_protocol }}://{{ service_provider.contact.wordpress.split('@')[2] }}/@{{ service_provider.contact.wordpress.split('@')[1] }}"
iframe: {{ applications | is_feature_enabled('portfolio_iframe','wordpress') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','wordpress') }}
{% endif %}
{% if service_provider.contact.friendica is defined and service_provider.contact.friendica != "" %}
- name: Friendica
@ -58,5 +58,5 @@ followus:
class: fas fa-net-wired
identifier: "{{service_provider.contact.friendica}}"
url: "{{ web_protocol }}://{{ service_provider.contact.friendica.split('@')[2] }}/@{{ service_provider.contact.friendica.split('@')[1] }}"
iframe: {{ applications | is_feature_enabled('portfolio_iframe','friendica') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','friendica') }}
{% endif %}

View File

@ -10,7 +10,7 @@
icon:
class: fas fa-book
url: https://{{domains | get_domain('sphinx')}}
iframe: {{ applications | is_feature_enabled('portfolio_iframe','sphinx') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','sphinx') }}
{% endif %}
@ -21,7 +21,7 @@
icon:
class: "fas fa-chalkboard-teacher"
url: https://{{domains | get_domain('presentation')}}
iframe: {{ applications | is_feature_enabled('portfolio_iframe','presentation') }}
iframe: {{ applications | is_feature_enabled('port-ui-desktop','presentation') }}
{% endif %}
- name: Solutions

View File

@ -1,7 +1,7 @@
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
csp:
whitelist:

View File

@ -11,7 +11,7 @@ docker:
features:
matomo: true # Enable Matomo Tracking
css: true # Enable Global CSS Styling
portfolio_iframe: true # Enable loading of app in iframe
port-ui-desktop: true # Enable loading of app in iframe
ldap: false # Enable LDAP Network
central_database: false # Enable Central Database Network
recaptcha: false # Enable ReCaptcha

View File

@ -2,7 +2,7 @@ version: "latest"
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
central_database: true
ldap: true
oauth2: true

View File

@ -1,7 +1,7 @@
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
csp:
flags:
script-src:

View File

@ -9,7 +9,7 @@ flavor: 'taigaio' # Potential flavors: robrotheram, taigaio
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
oidc: false
central_database: true
docker:

View File

@ -9,7 +9,7 @@ plugins:
features:
matomo: true
css: false
portfolio_iframe: true
port-ui-desktop: true
oidc: true
central_database: true
version: latest

View File

@ -10,7 +10,7 @@ oauth2_proxy:
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
central_database: true
oauth2: true
domains:

View File

@ -1,7 +1,7 @@
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
domains:
canonical:
- "file.{{ primary_domain }}"

View File

@ -1,7 +1,7 @@
features:
matomo: true
css: true
portfolio_iframe: true
port-ui-desktop: true
domains:
canonical:
- "html.{{ primary_domain }}"

View File

@ -11,7 +11,7 @@ docker:
features:
matomo: false # Matomo tracking isn't necessary
css: true # Enable Global CSS Styling
portfolio_iframe: true # Enable loading of app in iframe
port-ui-desktop: true # Enable loading of app in iframe
ldap: false # Enable LDAP Network
central_database: false # Enable Central Database Network
recaptcha: false # Enable ReCaptcha

View File

@ -11,7 +11,7 @@ docker:
features:
matomo: true # Enable Matomo Tracking
css: true # Enable Global CSS Styling
portfolio_iframe: true # Enable loading of app in iframe
port-ui-desktop: true # Enable loading of app in iframe
ldap: false # Enable LDAP Network
central_database: false # Enable Central Database Network
recaptcha: false # Enable ReCaptcha