Kevin Veen-Birkenbach 7791bd8c04 Implement filter checks: ensure all defined filters are used and remove dead code
Integration tests added/updated:
- tests/integration/test_filters_usage.py: AST-based detection of filter definitions (FilterModule.filters), robust Jinja detection ({{ ... }}, {% ... %}, {% filter ... %}), plus Python call tracking; fails if a filter is used only under tests/.
- tests/integration/test_filters_are_defined.py: inverse check — every filter used in .yml/.yaml/.j2/.jinja2/.tmpl must be defined locally. Scans only inside Jinja blocks and ignores pipes inside strings (e.g., lookup('pipe', "... | grep ... | awk ...")) to avoid false positives like trusted_hosts, woff/woff2, etc.

Bug fixes & robustness:
- Build regexes without %-string formatting to avoid ValueError from literal '%' in Jinja tags.
- Strip quoted strings in usage analysis so sed/grep/awk pipes are not miscounted as filters.
- Prevent self-matches in the defining file.

Cleanup / removal of dead code:
- Removed unused filter plugins and related unit tests:
  * filter_plugins/alias_domains_map.py
  * filter_plugins/get_application_id.py
  * filter_plugins/load_configuration.py
  * filter_plugins/safe.py
  * filter_plugins/safe_join.py
  * roles/svc-db-openldap/filter_plugins/build_ldap_nested_group_entries.py
  * roles/sys-ctl-bkp-docker-2-loc/filter_plugins/dict_to_cli_args.py
  * corresponding tests under tests/unit/*
- roles/svc-db-postgres/filter_plugins/split_postgres_connections.py: dropped no-longer-needed list_postgres_roles API; adjusted tests.

Misc:
- sys-stk-front-proxy/defaults/main.yml: clarified valid vhost_flavour values (comma-separated).

Ref: https://chatgpt.com/share/68b56bac-c4f8-800f-aeef-6708dbb44199
2025-09-01 11:47:51 +02:00
2025-08-10 11:31:56 +02:00
2025-08-05 22:05:46 +03:00
2025-07-16 14:22:47 +02:00
2025-08-13 00:33:47 +02:00
2025-03-20 15:08:18 +01:00
2025-08-13 00:33:47 +02:00
2025-08-10 12:01:34 +02:00

Infinito.Nexus 🚀

🔐 One login. ♾️ Infinite application

Infinito.Nexus Logo

What is Infinito.Nexus? 📌

Infinito.Nexus is an automated, modular infrastructure framework built on Docker, Linux, and Ansible, equally suited for cloud services, local server management, and desktop workstations. At its core lies a web-based desktop with single sign-on—backed by an LDAP directory and OIDC—granting seamless access to an almost limitless portfolio of self-hosted applications. It fully supports ActivityPub applications and is Fediverse-compatible, while integrated monitoring, alerting, cleanup, self-healing, automated updates, and backup solutions provide everything an organization needs to run at scale.

📚 🔗
🌐 Try It Live Infinito.Nexus
🔧 Request Your Setup CyberMaster.Space
📖 About This Project GitHub Sponsors Build & Test Infinito.Nexus CLI in Docker Container View Source
Support Us Patreon Buy Me a Coffee PayPal Sponsor Infinito.Nexus

Key Features 🎯

  • Automated Deployment 📦 Turn up servers and workstations in minutes with ready-made Ansible roles.

  • Enterprise-Grade Security 🔒 Centralized user management via LDAP & OIDC (Keycloak), plus optional 2FA and encrypted storage.

  • Modular Scalability 📈 Grow from small teams to global enterprises by composing only the services you need.

  • Fediverse & ActivityPub Support 🌐 Seamlessly integrate Mastodon, Peertube, Matrix and other ActivityPub apps out of the box.

  • Self-Healing & Maintenance ⚙️ Automated cleanup, container healing, and auto-updates keep infrastructure healthy without human intervention.

  • Monitoring, Alerting & Analytics 📊 Built-in system, application, and security monitoring with multi-channel notifications.

  • Backup & Disaster Recovery 💾 Scheduled backups and scripted recovery processes to safeguard your data.

  • Continuous Updates 🔄 Automatic patching and version upgrades across the stack.

  • Application Ecosystem 🚀 A curated suite of self-hosted apps—from project management, version control, and CI/CD to chat, video conferencing, CMS, e-learning, social networking, and e-commerce—all seamlessly integrated.

More informations about the features you will find here.


Get Started 🚀

Use it online 🌐

Try Infinito.Nexus sign up in seconds, explore the platform, and discover what our solution can do for you! 🚀🔧

Install locally 💻

  1. Install Infinito.Nexus via Kevin's Package Manager
  2. Setup Infinito.Nexus using:
    pkgmgr install infinito
    
  3. Explore Commands with:
    infinito --help
    

Setup with Docker🚢

Get Infinito.Nexus up and running inside Docker in just a few steps. For detailed build options and troubleshooting, see the Docker Guide.

# 1. Build the Docker image: the Docker image:
docker build -t infinito:latest .

# 2. Run the CLI interactively:
docker run --rm -it infinito:latest infinito --help

License ⚖️

Infinito.Nexus is distributed under the Infinito.Nexus NonCommercial License. Please see LICENSE.md for full terms.


Professional Setup & Support 💼

For expert installation and configuration visit cybermaster.space or write to us at contact@cymais.cloud.

Description
No description provided
Readme 17 MiB
Languages
Python 54.5%
Jinja 44.1%
Shell 0.8%
Dockerfile 0.4%
Makefile 0.2%