mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	Solved portfolio iframe naming bug
This commit is contained in:
		@@ -21,7 +21,7 @@ defaults_applications:
 | 
			
		||||
    features:                               # Version of the service
 | 
			
		||||
      matomo:     true                      # Enable Matomo tracking for analytics
 | 
			
		||||
      css:        true                      # Enable or disable global CSS styling
 | 
			
		||||
      iframe:     false                     # Allow embedding the landing page in an iframe (if true)
 | 
			
		||||
      portfolio_iframe:     false                     # Allow embedding the landing page in an iframe (if true)
 | 
			
		||||
      database:   true                      # Enable central database integration
 | 
			
		||||
      ldap:       true                      # Enable ldap integration
 | 
			
		||||
      oauth2:     true                      # Enable oauth2 proxy
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@ setup_admin_email:        "{{users.administrator.email}}"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:                 true
 | 
			
		||||
  css:                    true
 | 
			
		||||
  landingpage_iframe:     false
 | 
			
		||||
  portfolio_iframe:     false
 | 
			
		||||
  central_database:       true
 | 
			
		||||
credentials:
 | 
			
		||||
#  database_password:     Needs to be defined in inventory file 
 | 
			
		||||
 
 | 
			
		||||
@@ -5,5 +5,5 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
 
 | 
			
		||||
@@ -2,5 +2,5 @@ version:              "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
@@ -15,7 +15,7 @@ urls:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  ldap:               false
 | 
			
		||||
  oidc:               true
 | 
			
		||||
  central_database:   false
 | 
			
		||||
@@ -10,5 +10,5 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo: true
 | 
			
		||||
  css: true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
  central_database: true
 | 
			
		||||
@@ -5,7 +5,7 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  oidc:               true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
csp:
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                false
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  ldap:               false
 | 
			
		||||
  oidc:               true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,6 @@ version:              "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
  oidc:               true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
@@ -2,7 +2,7 @@ version:              "1.4.0"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
  ldap:               true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
credentials:
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ configuration:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:                         true
 | 
			
		||||
  css:                            true
 | 
			
		||||
  landingpage_iframe:             true
 | 
			
		||||
  portfolio_iframe:             true
 | 
			
		||||
  central_database:               true
 | 
			
		||||
csp:
 | 
			
		||||
  flags:
 | 
			
		||||
 
 | 
			
		||||
@@ -2,5 +2,5 @@ version:              "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
@@ -2,4 +2,4 @@ version:              "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
@@ -9,7 +9,7 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
  ldap:               true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
  recaptcha:          true
 | 
			
		||||
@@ -8,7 +8,7 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:                       true
 | 
			
		||||
  css:                          true
 | 
			
		||||
  landingpage_iframe:           true
 | 
			
		||||
  portfolio_iframe:           true
 | 
			
		||||
  ldap:                         true
 | 
			
		||||
  central_database:             false
 | 
			
		||||
  oauth2:                       false
 | 
			
		||||
 
 | 
			
		||||
@@ -6,6 +6,6 @@ version:                    "latest"                              # Docker Image
 | 
			
		||||
features:
 | 
			
		||||
  matomo:                   true
 | 
			
		||||
  css:                      true
 | 
			
		||||
  landingpage_iframe:       true
 | 
			
		||||
  portfolio_iframe:       true
 | 
			
		||||
  central_database:         true
 | 
			
		||||
  oidc:                     true
 | 
			
		||||
@@ -15,6 +15,6 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:                 true
 | 
			
		||||
  css:                    true
 | 
			
		||||
  landingpage_iframe:     false                             # Deactivated mailu iframe loading until keycloak supports it
 | 
			
		||||
  portfolio_iframe:     false                             # 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
 | 
			
		||||
@@ -14,6 +14,6 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo: true
 | 
			
		||||
  css: true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  oidc: true
 | 
			
		||||
  central_database: true
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@ version:              "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                false
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
  oauth2:             false
 | 
			
		||||
csp:
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@ setup:                false                              # Set true in inventory
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  oidc:               false                              # Deactivated OIDC due to this issue https://github.com/matrix-org/synapse/issues/10492
 | 
			
		||||
  central_database:   true
 | 
			
		||||
csp:
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ version:            "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
csp:
 | 
			
		||||
  flags:
 | 
			
		||||
 
 | 
			
		||||
@@ -3,5 +3,5 @@ version:              "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,7 @@ credentials:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:                       true
 | 
			
		||||
  css:                          true
 | 
			
		||||
  landingpage_iframe:           false
 | 
			
		||||
  portfolio_iframe:           false
 | 
			
		||||
  ldap:                         true
 | 
			
		||||
  oidc:                         true
 | 
			
		||||
  central_database:             true
 | 
			
		||||
 
 | 
			
		||||
@@ -5,4 +5,4 @@ allowed_roles:      admin
 | 
			
		||||
features:
 | 
			
		||||
  matomo: true
 | 
			
		||||
  css: true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
@@ -9,7 +9,7 @@ ldap:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  ldap:               true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
  oauth2:             true
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@ version:              "bookworm"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
csp:
 | 
			
		||||
  flags:
 | 
			
		||||
 
 | 
			
		||||
@@ -10,6 +10,6 @@ oauth2_proxy:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:                 true
 | 
			
		||||
  css:                    true
 | 
			
		||||
  landingpage_iframe:     false
 | 
			
		||||
  portfolio_iframe:     false
 | 
			
		||||
  central_database:       true
 | 
			
		||||
  oauth2:                 true
 | 
			
		||||
@@ -5,6 +5,6 @@ oauth2_proxy:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  ldap:               true
 | 
			
		||||
  oauth2:             true
 | 
			
		||||
@@ -6,7 +6,7 @@ oauth2_proxy:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                false
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
  oauth2:             true
 | 
			
		||||
hostname:             central-mariadb
 | 
			
		||||
@@ -3,7 +3,7 @@ version:              "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
csp:
 | 
			
		||||
  flags:
 | 
			
		||||
 
 | 
			
		||||
@@ -28,7 +28,7 @@ accounts:
 | 
			
		||||
          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('landing_page_iframe','mastodon') }}
 | 
			
		||||
        iframe: {{ applications | is_feature_enabled('portfolio_iframe','mastodon') }}
 | 
			
		||||
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if service_provider.contact.bluesky is defined and service_provider.contact.bluesky != "" %}
 | 
			
		||||
@@ -52,7 +52,7 @@ accounts:
 | 
			
		||||
          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('landing_page_iframe','pixelfed') }}
 | 
			
		||||
      iframe: {{ applications | is_feature_enabled('portfolio_iframe','pixelfed') }}
 | 
			
		||||
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if service_provider.contact.peertube  is defined and service_provider.contact.peertube  != "" %}
 | 
			
		||||
@@ -64,7 +64,7 @@ accounts:
 | 
			
		||||
        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('landing_page_iframe','peertube') }}
 | 
			
		||||
      iframe: {{ applications | is_feature_enabled('portfolio_iframe','peertube') }}
 | 
			
		||||
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if service_provider.contact.wordpress is defined and service_provider.contact.wordpress != "" %}
 | 
			
		||||
@@ -76,7 +76,7 @@ accounts:
 | 
			
		||||
        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('landing_page_iframe','wordpress') }}
 | 
			
		||||
      iframe: {{ applications | is_feature_enabled('portfolio_iframe','wordpress') }}
 | 
			
		||||
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if service_provider.contact.source_code is defined and service_provider.contact.source_code != "" %}
 | 
			
		||||
@@ -98,7 +98,7 @@ accounts:
 | 
			
		||||
      class: fas fa-network-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('landing_page_iframe','friendica') }}
 | 
			
		||||
    iframe: {{ applications | is_feature_enabled('portfolio_iframe','friendica') }}
 | 
			
		||||
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -37,13 +37,13 @@
 | 
			
		||||
                icon:
 | 
			
		||||
                  class: fa-solid fa-shield-halved
 | 
			
		||||
                url: https://{{domains.keycloak}}/admin
 | 
			
		||||
                iframe: {{ applications | is_feature_enabled('landing_page_iframe','keycloak') }}
 | 
			
		||||
                iframe: {{ applications | is_feature_enabled('portfolio_iframe','keycloak') }}
 | 
			
		||||
              - name: Profile
 | 
			
		||||
                description: Update your personal admin settings
 | 
			
		||||
                icon:
 | 
			
		||||
                  class: fa-solid fa-user-gear
 | 
			
		||||
                url: https://{{ domains.keycloak }}/realms/{{oidc.client.id}}/account
 | 
			
		||||
                iframe: {{ applications | is_feature_enabled('landing_page_iframe','keycloak') }}
 | 
			
		||||
                iframe: {{ applications | is_feature_enabled('portfolio_iframe','keycloak') }}
 | 
			
		||||
              - name: Logout
 | 
			
		||||
                description: End your admin session securely
 | 
			
		||||
                icon:
 | 
			
		||||
@@ -113,7 +113,7 @@
 | 
			
		||||
      icon:
 | 
			
		||||
        class: fas fa-book
 | 
			
		||||
      url: https://{{domains.sphinx}}
 | 
			
		||||
      iframe: {{ applications | is_feature_enabled('landing_page_iframe','sphinx') }}
 | 
			
		||||
      iframe: {{ applications | is_feature_enabled('portfolio_iframe','sphinx') }}
 | 
			
		||||
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
@@ -124,7 +124,7 @@
 | 
			
		||||
      icon:
 | 
			
		||||
        class: "fas fa-chalkboard-teacher"
 | 
			
		||||
      url: https://{{domains.presentation}}
 | 
			
		||||
      iframe: {{ applications | is_feature_enabled('landing_page_iframe','presentation') }}
 | 
			
		||||
      iframe: {{ applications | is_feature_enabled('portfolio_iframe','presentation') }}
 | 
			
		||||
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
csp:
 | 
			
		||||
  whitelist:
 | 
			
		||||
    script-src:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
 | 
			
		||||
csp:
 | 
			
		||||
  whitelist:
 | 
			
		||||
 
 | 
			
		||||
@@ -2,5 +2,5 @@ version:              "latest"
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
features:
 | 
			
		||||
  matomo:               true
 | 
			
		||||
  css:                  true
 | 
			
		||||
  landingpage_iframe:   false
 | 
			
		||||
  portfolio_iframe:   false
 | 
			
		||||
csp:
 | 
			
		||||
  flags:
 | 
			
		||||
    script-src:
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ flavor:               'taigaio' # Potential flavors: robrotheram, taigaio
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  oidc:               false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@ plugins:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                false
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  oidc:               true
 | 
			
		||||
  central_database:   true
 | 
			
		||||
csp:
 | 
			
		||||
 
 | 
			
		||||
@@ -9,6 +9,6 @@ oauth2_proxy:
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
  central_database:   true
 | 
			
		||||
  oauth2:             true
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
features:
 | 
			
		||||
  matomo:             true
 | 
			
		||||
  css:                true
 | 
			
		||||
  landingpage_iframe: true
 | 
			
		||||
  portfolio_iframe: true
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
features:
 | 
			
		||||
  matomo: true
 | 
			
		||||
  css: true
 | 
			
		||||
  landingpage_iframe: false
 | 
			
		||||
  portfolio_iframe: false
 | 
			
		||||
		Reference in New Issue
	
	Block a user