mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Solved buggies
This commit is contained in:
		| @@ -126,10 +126,9 @@ class FilterModule(object): | ||||
|                     self.is_feature_enabled(applications, 'portfolio_iframe', application_id) | ||||
|                     and directive == 'frame-ancestors' | ||||
|                 ): | ||||
|                     domain = domains.get('portfolio')[0]  # e.g. "sub.example.com" or "example.com" | ||||
|                     # Extract the second-level + top-level domain and prefix with "*." | ||||
|                     domain = domains.get('portfolio')[0] | ||||
|                     sld_tld = ".".join(domain.split(".")[-2:])  # yields "example.com" | ||||
|                     tokens.append(f"*.{sld_tld}")               # yields "*.example.com" | ||||
|                     tokens.append(f"{sld_tld}")               # yields "*.example.com" | ||||
|  | ||||
|                 # whitelist | ||||
|                 tokens += self.get_csp_whitelist(applications, application_id, directive) | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| galaxy_info: | ||||
|   author: "Kevin Veen-Birkenbach" | ||||
|   description: "EspoCRM is an open‑source CRM with workflow automation, LDAP/OIDC SSO and a lightweight UI" | ||||
|   description: "Empower your customer relationship management with EspoCRM, an open-source platform that combines workflow automation, seamless LDAP/OIDC SSO integration, and a sleek, lightweight user interface. Tailored for businesses of all sizes, EspoCRM enables you to manage your sales, customer interactions, and business processes with ease, fostering productivity and streamlined communication across teams." | ||||
|   license: "CyMaIS NonCommercial License (CNCL)" | ||||
|   license_url: "https://s.veen.world/cncl" | ||||
|   company: | | ||||
|   | ||||
| @@ -18,5 +18,5 @@ | ||||
|       UPDATE public.plugin | ||||
|       SET settings = '{{ oidc_settings | to_json }}', | ||||
|       enabled = TRUE, | ||||
|       uninstalled = False, | ||||
|       uninstalled = FALSE | ||||
|       WHERE name = 'auth-openid-connect'; | ||||
|   | ||||
| @@ -56,8 +56,8 @@ | ||||
|     dest: "{{docker_repository_path}}/app/config.yaml" | ||||
|   notify: docker compose project setup | ||||
|   when: | ||||
|     - config_file.stat.exists | ||||
|     - run_once_docker_portfolio is not defined | ||||
|     - config_file.stat.exists | ||||
|  | ||||
| - name: Copy default config.yaml from the role template if host-specific file does not exist | ||||
|   template: | ||||
| @@ -65,8 +65,8 @@ | ||||
|     dest: "{{docker_repository_path}}/app/config.yaml" | ||||
|   notify: docker compose project setup | ||||
|   when: | ||||
|     - not config_file.stat.exists | ||||
|     - run_once_docker_portfolio is not defined | ||||
|     - not config_file.stat.exists | ||||
|  | ||||
| - name: add docker-compose.yml | ||||
|   template: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user