Skip to content

Commit 550ac80

Browse files
Merge pull request CactuseSecurity#3808 from CactuseSecurity/develop
v8.9.1 Connection Based Recertification Module
2 parents dfa97ec + 8a2cb5e commit 550ac80

File tree

194 files changed

+6706
-3641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+6706
-3641
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
.test_data/
44
roles/importer/venv/
55
ansible_venv/
6+
**/.venv/
67

78
.vscode/launch.json

CODING_GUIDELINES_FRONTEND.md

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

2-
# Code Guidelines
3-
2+
# UI Coding Guidelines
43

54
## General
65
- Close your tag - Leaving some tags open is simply a bad practice. Only self-closing tags are valid. Normal elements can never have self-closing tags.
@@ -10,7 +9,36 @@
109
## Components
1110
- Organize files and components in a folder structure like this. This makes it easy to find the code related to a page, without having to browse the entire file explorer. Try, as much as possible, to respect the SOLID principles. Mainly by creating autonomous and extensible components: inject the smallest possible service or parameter, manage all the possibilities offered by the component. For example, a data modification page should display the data, check their values and save the data at the end of the process.
1211

13-
## UI
14-
# Responsiveness
12+
13+
## Responsiveness
1514
- Use the bootstrap grid and it's column classes to have easy and responsive design. [Bootstrap](https://getbootstrap.com/docs/5.3/layout/columns/)
16-
- Decide if you want to develop mobile or desktop design first and test respectively.
15+
- Decide if you want to develop mobile or desktop design first and test respectively.
16+
17+
## CSS Guidelines for Clean Design
18+
19+
There are no mandatory CSS attributes for all divs, but some conventions help keep designs clean and consistent:
20+
- Reset/normalize styles: Apply a reset or use box-sizing: border-box; universally (often via * { box-sizing: border-box; }).
21+
- Spacing: Apply margins/paddings only where needed. Don’t force every div to have them.
22+
- Flexbox/Grid: If a div is used as a layout container, give it display: flex; or display: grid;.
23+
- Width & max-width: Constrain large content areas with something like:
24+
```css
25+
.container {
26+
max-width: 1200px;
27+
margin: 0 auto;
28+
padding: 0 1rem;
29+
}
30+
```
31+
- Consistent typography: Use global font rules in body, not in every div.
32+
- Avoid redundancy: Don’t apply generic attributes (e.g., color, font-size) on all divs—cascade from body or semantic wrappers instead.
33+
34+
### Recommended Practices
35+
- Use classes, not bare div styles: class="card", class="section", etc.
36+
- Keep base styles minimal. For example:
37+
```css
38+
div {
39+
display: block; /* default, often unnecessary */
40+
}
41+
```
42+
is redundant and shouldn’t be forced on all divs.
43+
- Leverage utility-first CSS (like Tailwind) or your own utility classes to keep styles DRY.
44+
- Semantic HTML first: div should be a fallback, not your default.

ansible.cfg

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# ansible.cfg
22
[defaults]
33
inventory = inventory
4-
# interpreter_python = ~/.local/bin/ansible
5-
# timeout = 60
4+
remote_tmp = /tmp/.ansible-${USER}/tmp
65
force_handlers = True
76
result_format = yaml
87

9-
# gathering = smart
10-
# gather_subset = !hardware,!facter,!ohai
11-
128
ansible_conditional_bare_vars=false
139

1410
fact_caching_connection = /tmp/ansible_fact_cache

documentation/developer-docs/README.MD

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010

1111
## Misc
12-
### UI
13-
14-
[Open Iconic Icons](https://useiconic.com/open)
1512

1613
### importer
1714

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### Icons
2+
3+
The icons used in this project are from [Bootstrap Icons](https://icons.getbootstrap.com) under the [MIT License](https://github.com/twbs/icons/blob/main/LICENSE). We are using version 1.13.1 (as of 29.09.2025).
4+
5+
##### Updating
6+
7+
To update the Bootstrap Icons version, follow these steps:
8+
1. Download the latest release from the [Bootstrap Icons GitHub Releases](https://github.com/twbs/icons/releases).
9+
2. Replace the contents of `roles/ui/files/FWO.UI/wwwroot/css/bootstrap-icons` with the new files from the downloaded release (only the fonts folder and the `bootstrap-icons.css` file).
10+
3. Update the version number in this documentation file to reflect the new version.

documentation/installer/install-for-testing.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ You need to
2929

3030
## Debugging
3131

32-
Set debug level for extended debugging info during installation.
33-
34-
```console
35-
ansible-playbook site.yml -e "debug_level='2'" -K
36-
3732
Set dotnet installation mode to "debug" as follows (default = Release)
3833
### Debugging dotnet applications
3934
```console
4035
ansible-playbook/ site.yml -e "dotnet_mode=Debug" -K
4136
```
4237

38+
Set debug level for extended debugging info during installation.
39+
```console
40+
ansible-playbook site.yml -e "debug_level='2'" -K
41+
```
42+
4343
## Running unit tests after installation/upgrade
4444

4545
To only run unit tests (for an existing installation only to be used in comination with installation_mode=upgrade) use tags as follows:

documentation/revision-history-develop.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,3 +294,6 @@ bugfix release:
294294

295295
# 8.8.10 - 07.09.2025 DEVELOP
296296
- new report type owner-recertification
297+
298+
# 8.9.1 - 02.10.2025 DEVELOP
299+
- owner-recertification

inventory/group_vars/all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### general settings
2-
product_version: "8.8.10"
2+
product_version: "8.9.1"
33
ansible_user: "{{ lookup('env', 'USER') }}"
44
ansible_become_method: sudo
55
ansible_python_interpreter: /usr/bin/python3

roles/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## files generated by popular Visual Studio add-ons.
33
##
44
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5-
5+
**/.venv/
66
# User-specific files
77
*.rsuser
88
*.suo

0 commit comments

Comments
 (0)