kevinveenbirkenbach
7e5990aa16
deploy(cli): auto-generate MODE_* flags from 01_modes.yml; remove legacy skip flags/params; drive cleanup via MODE_CLEANUP; validation via MODE_ASSERT; tests via MODE_TEST; drop MODE_BACKUP from 01_modes.yml. Ref: https://chatgpt.com/share/68c3725f-43a0-800f-9bb0-eb7cbf77ac24
2025-09-12 03:08:18 +02:00
kevinveenbirkenbach
751615b1a4
Changed 09_ports.yml to 10_ports.yml
2025-09-03 17:41:14 +02:00
kevinveenbirkenbach
231fd567b3
feat(frontend): rename inj roles to sys-front-*, add sys-svc-cdn, cache-busting lookup
...
Introduce sys-svc-cdn (cdn_paths/cdn_urls/cdn_dirs) and ensure CDN directories + latest symlink.
Rename sys-srv-web-inj-* → sys-front-inj-*; update includes/templates; serve shared/per-app CSS & JS via CDN.
Add lookup_plugins/local_mtime_qs.py for mtime-based cache busting; split CSS into default.css/bootstrap.css + optional per-app style.css.
CSP: use style-src-elem; drop unsafe-inline for styles. Services: fix SYS_SERVICE_ALL_ENABLED bool and controlled flush.
BREAKING CHANGE: role names changed; replace includes and references accordingly.
Conversation: https://chatgpt.com/share/68b55494-9ec4-800f-b559-44707029141d
2025-09-01 10:10:23 +02:00
kevinveenbirkenbach
06baa4b03a
Added correct validation handling
2025-08-27 18:10:49 +02:00
kevinveenbirkenbach
19889a8cfc
fix(credentials, akaunting):
...
- update cli/create/credentials.py to handle vault literals correctly:
* strip 'vault |' headers and keep only ANSIBLE_VAULT body
* skip reprocessing keys added in same run (no duplicate confirmation prompts)
* detect both 'vault' and 'ANSIBLE_VAULT' as already encrypted
Refs: https://chatgpt.com/share/68aed780-ad4c-800f-877d-aa4c40a47755
2025-08-27 12:02:36 +02:00
kevinveenbirkenbach
b867a52471
Refactor and extend role dependency resolution:
...
- Introduced module_utils/role_dependency_resolver.py with full support for include_role, import_role, meta dependencies, and run_after.
- Refactored cli/build/tree.py to use RoleDependencyResolver (added toggles for include/import/dependencies/run_after).
- Extended filter_plugins/canonical_domains_map.py with optional 'recursive' mode (ignores run_after by design).
- Updated roles/web-app-nextcloud to properly include Collabora dependency.
- Added comprehensive unittests under tests/unit/module_utils for RoleDependencyResolver.
Ref: https://chatgpt.com/share/68a519c8-8e54-800f-83c0-be38546620d9
2025-08-20 02:42:07 +02:00
kevinveenbirkenbach
d7ece2a8c3
Optimized message
2025-08-20 01:03:07 +02:00
kevinveenbirkenbach
6e538eabc8
Enhance tree builder: detect include_role dependencies from tasks/*.yml
...
- Added logic to scan each role’s tasks/*.yml files for include_role usage
- Supports:
* loop/with_items with literal strings → adds each role
* patterns with variables inside literals (e.g. svc-db-{{database_type}}) → expanded to glob and matched
* pure variable-only names ({{var}}) → ignored
* pure literal names → added directly
- Merges discovered dependencies under graphs["dependencies"]["include_role"]
- Added dedicated unit test covering looped includes, glob patterns, pure literals, and ignoring pure variables
See ChatGPT conversation (https://chatgpt.com/share/68a4ace0-7268-800f-bd32-b475c5c9ba1d ) for context.
2025-08-19 19:00:03 +02:00
kevinveenbirkenbach
242347878d
Moved email host and domain SPOT to SYSTEM_EMAIL constant
2025-08-19 10:00:35 +02:00
kevinveenbirkenbach
3a839cfe37
Refactor systemctl services and categories due to alarm bugs
...
This commit restructures systemctl service definitions and category mappings.
Motivation: Alarm-related bugs revealed inconsistencies in service and role handling.
Preparation step: lays the groundwork for fixing the alarm issues by aligning categories, roles, and service templates.
2025-08-18 13:35:43 +02:00
kevinveenbirkenbach
cc2c1dc730
Renamed injection services
2025-08-16 00:01:46 +02:00
kevinveenbirkenbach
db0e030900
Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository
2025-08-13 19:11:14 +02:00
kevinveenbirkenbach
f31565e4c5
Optimized URLS
2025-08-13 00:33:47 +02:00
kevinveenbirkenbach
8634b5e1b3
Finished move_unnecessary_dependencies implementation
2025-08-12 02:39:22 +02:00
kevinveenbirkenbach
82aaf7ad74
fixed move_unnecessary_dependencies.py
2025-08-11 23:41:48 +02:00
kevinveenbirkenbach
7e4a1062af
Added draft for fixing dependencies
2025-08-11 23:16:32 +02:00
kevinveenbirkenbach
2fd83eaf55
Keep logs during deploy cleanup
2025-08-10 12:01:34 +02:00
kevinveenbirkenbach
44e0fea0b2
Renamed cymais to infinito and did some other optimations and logout implementations
2025-07-29 16:35:42 +02:00
kevinveenbirkenbach
c185c537cb
Added auto seeding of credentials
2025-07-21 17:52:19 +02:00
kevinveenbirkenbach
1a2451af4e
Added workflow deploy routine draft
2025-07-21 17:41:57 +02:00
kevinveenbirkenbach
b1bf7aaba5
Fixed BBB stuff
2025-07-21 15:10:05 +02:00
kevinveenbirkenbach
a1643870db
Optimized auto playbook creation
2025-07-21 15:09:38 +02:00
kevinveenbirkenbach
45624037b1
Added shadow option to tree for mig
2025-07-18 19:35:44 +02:00
kevinveenbirkenbach
c1da74de3f
Optimized sound for cli
2025-07-18 14:43:09 +02:00
kevinveenbirkenbach
0f1f40f2e0
Optimized deployment script
2025-07-18 11:42:05 +02:00
kevinveenbirkenbach
562603a8cd
Restructured libraries
2025-07-17 16:38:20 +02:00
kevinveenbirkenbach
ad449c3b6a
Adapted roles to new architecture
2025-07-17 15:39:31 +02:00
kevinveenbirkenbach
f4d1f2a303
Added partial test and skip-build flag
2025-07-16 22:16:22 +02:00
kevinveenbirkenbach
2d276cfa5e
Optimized Dockerfile and github workflow
2025-07-16 09:38:19 +02:00
kevinveenbirkenbach
b6eb73dee4
Implemented that schemas are recognized
2025-07-15 22:22:22 +02:00
kevinveenbirkenbach
ac72544b72
Added validation for deploy application ids
2025-07-14 09:52:53 +02:00
kevinveenbirkenbach
756597668c
Semi bsr for applications[] to prevent heavy to debug bugs in j2 - part 1
2025-07-13 15:11:38 +02:00
kevinveenbirkenbach
4cc4195fab
Added refactoring script
2025-07-13 14:34:56 +02:00
kevinveenbirkenbach
4e3c124f55
Added a tool to get full j2 files for debugging
2025-07-13 02:58:19 +02:00
kevinveenbirkenbach
f07557c322
Implemented dict renderer to resolve assets
2025-07-12 23:25:31 +02:00
kevinveenbirkenbach
ead60dab84
Fail safed more parts of the code
2025-07-12 21:35:33 +02:00
kevinveenbirkenbach
adec2aed84
Renamed generate commands to build
2025-07-12 17:11:41 +02:00
kevinveenbirkenbach
3eb8b54a1a
Restructured CLI meta commands
2025-07-12 17:05:00 +02:00
kevinveenbirkenbach
abd2545346
Solved validation import bug
2025-07-12 10:20:30 +02:00
kevinveenbirkenbach
44834f9873
Added more debugging stuff
2025-07-11 21:04:55 +02:00
kevinveenbirkenbach
33276263b0
Another bulk of refaktoring cleanup
2025-07-11 18:57:40 +02:00
kevinveenbirkenbach
25cee9a4c7
Finished Graph and Tree implementation
2025-07-11 14:33:27 +02:00
kevinveenbirkenbach
6780950257
Added run_after integration test
2025-07-11 13:53:12 +02:00
kevinveenbirkenbach
23bbe0520c
Added draft for graph generation
2025-07-11 07:40:41 +02:00
kevinveenbirkenbach
3c63936970
Different optimations
2025-07-11 05:29:06 +02:00
kevinveenbirkenbach
9fa39e5f25
Added graph functions
2025-07-11 05:28:19 +02:00
kevinveenbirkenbach
60ab31c623
Optimized inventory validation
2025-07-11 02:03:33 +02:00
kevinveenbirkenbach
d43fdc63ea
Optimized inventory validator for wrong groups
2025-07-11 01:34:44 +02:00
kevinveenbirkenbach
6e32b20240
Finished new role identification system implementation
2025-07-11 00:42:36 +02:00
kevinveenbirkenbach
1f4dee49bc
Solved last open tests
2025-07-10 23:19:44 +02:00