Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
09d4cda
4410: Inlined actions
rimi-itk May 14, 2025
56cdd8d
4410: Cleaned up report views
rimi-itk May 14, 2025
f9ffb17
4410: Fixed display of boolean value
rimi-itk May 15, 2025
a9a853e
4410: Cleaned up field references
rimi-itk May 15, 2025
468b9dc
4410: Fixed sorting expression
rimi-itk May 15, 2025
8216799
4410: Applied assets condind standards
rimi-itk May 15, 2025
d0c296d
4410: Cleaned up answer list
rimi-itk May 15, 2025
b5bf35c
4410: Rotated table headers
rimi-itk May 15, 2025
87d503d
4410: Fixed prettier glob
rimi-itk May 15, 2025
a0e47eb
4410: Fixed theme category stuff
rimi-itk May 19, 2025
fe92088
4410: Hacked display of theme categories
rimi-itk May 19, 2025
e6362d1
4410: Fixed styling of pager
rimi-itk May 19, 2025
f90522d
4410: Improved display of field values
rimi-itk May 19, 2025
0f3050d
4410: Cleaned up admin UI
rimi-itk May 19, 2025
201e43b
4410: Cleaned up config
rimi-itk May 19, 2025
fe975a0
4410: Added scope attributes
rimi-itk May 20, 2025
94657aa
4410: Refactored and cleaned up filtering
rimi-itk May 21, 2025
ce2dd20
4410: Security updated composer packages
rimi-itk May 21, 2025
af12b93
4410: Added "Aktiv" entity filter. Sorted lists.
rimi-itk Jun 3, 2025
96bbff4
4410: Required authentication on dashboards
rimi-itk Jun 3, 2025
55fda08
4410: Fixed theme report handling
rimi-itk Jun 3, 2025
f4c1077
4410: Cleaned up code
rimi-itk Jun 3, 2025
38e3d0e
4410: Updated project template
rimi-itk Jun 3, 2025
1d95d97
4410: Removed link from question text
rimi-itk Jun 11, 2025
bf466aa
4410: Fixed entity active filter
rimi-itk Jun 11, 2025
3f72f0f
4410: Cleaned up
rimi-itk Jun 11, 2025
70cf912
4410: Cleaned up active entity filtering
rimi-itk Jun 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
###> aakb/itkdev-docker configuration ###
COMPOSE_PROJECT_NAME=itstyr
COMPOSE_DOMAIN=itstyr.local.itkdev.dk
ITKDEV_TEMPLATE=symfony-6
###< aakb/itkdev-docker configuration ###

###> symfony/framework-bundle ###
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# github/workflows/changelog.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ## Changelog
### ### Changelog
###
### Checks that changelog has been updated

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/composer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# github/workflows/composer.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ## Composer
### ### Composer
###
### Validates composer.json and checks that it's normalized.
###
### ### Assumptions
### #### Assumptions
###
### 1. A docker compose service named `phpfpm` can be run and `composer` can be
### run inside the `phpfpm` service.
Expand All @@ -31,6 +31,9 @@ env:
on:
pull_request:
push:
branches:
- main
- develop

jobs:
composer-validate:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/javascript.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Do not edit this file! Make a pull request on changing
# github/workflows/symfony/javascript.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ### Symfony JavaScript (and TypeScript)
###
### Validates JavaScript files.
###
### #### Assumptions
###
### 1. A docker compose service named `prettier` for running
### [Prettier](https://prettier.io/) exists.

name: JavaScript

on:
pull_request:
push:
branches:
- main
- develop

jobs:
javascript-lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4

- run: |
docker network create frontend

- run: |
docker compose run --rm prettier 'assets/**/*.js' --check
26 changes: 20 additions & 6 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,30 @@
# github/workflows/markdown.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ## Markdown
### ### Markdown
###
### Uses [itkdev/markdownlint](https://hub.docker.com/r/itkdev/markdownlint) to
### link all Markdown files (`**/*.md`) in the project.
### Lints Markdown files (`**/*.md`) in the project.
###
### [markdownlint-cli configuration ### files](https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#configuration),
### `.markdownlint.jsonc` and `.markdownlintignore` control what is actually linted and how.
### [markdownlint-cli configuration
### files](https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#configuration),
### `.markdownlint.jsonc` and `.markdownlintignore`, control what is actually
### linted and how.
###
### #### Assumptions
###
### 1. A docker compose service named `markdownlint` for running `markdownlint`
### (from
### [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli))
### exists.

name: Markdown

on:
pull_request:
push:
branches:
- main
- develop

jobs:
markdown-lint:
Expand All @@ -26,4 +37,7 @@ jobs:
uses: actions/checkout@v4

- run: |
docker run --rm --volume "$PWD":/md itkdev/markdownlint '**/*.md'
docker network create frontend

- run: |
docker compose run --rm markdownlint markdownlint '**/*.md'
56 changes: 56 additions & 0 deletions .github/workflows/php.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Do not edit this file! Make a pull request on changing
# github/workflows/symfony/php.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ### Symfony PHP
###
### Checks that PHP code adheres to the [Symfony coding
### standards](https://symfony.com/doc/current/contributing/code/standards.html).
###
### #### Assumptions
###
### 1. A docker compose service named `phpfpm` can be run and `composer` can be
### run inside the `phpfpm` service. 2.
### [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer)
### is a dev requirement in `composer.json`:
###
### ``` shell
### docker compose run --rm phpfpm composer require --dev friendsofphp/php-cs-fixer
### ```
###
### Clean up and check code by running
###
### ``` shell
### docker compose run --rm phpfpm vendor/bin/php-cs-fixer fix
### docker compose run --rm phpfpm vendor/bin/php-cs-fixer fix --dry-run --diff
### ```
###
### > [!NOTE] The template adds `.php-cs-fixer.dist.php` as [a configuration
### > file for PHP CS
### > Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/config.rst)
### > and this makes it possible to override the actual configuration used in a
### > project by adding a more important configuration file, `.php-cs-fixer.php`.

name: Symfony PHP

env:
COMPOSE_USER: root

on:
pull_request:
push:
branches:
- main
- develop

jobs:
coding-standards:
name: PHP - Check Coding Standards
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
docker network create frontend
docker compose run --rm phpfpm composer install
# https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/usage.rst#the-check-command
docker compose run --rm phpfpm vendor/bin/php-cs-fixer fix --dry-run --diff
36 changes: 36 additions & 0 deletions .github/workflows/styles.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Do not edit this file! Make a pull request on changing
# github/workflows/symfony/styles.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ### Symfony Styles (CSS and SCSS)
###
### Validates styles files.
###
### #### Assumptions
###
### 1. A docker compose service named `prettier` for running
### [Prettier](https://prettier.io/) exists.

name: Styles

on:
pull_request:
push:
branches:
- main
- develop

jobs:
styles-lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4

- run: |
docker network create frontend

- run: |
docker compose run --rm prettier 'assets/**/*.{css,scss}' --check
48 changes: 48 additions & 0 deletions .github/workflows/twig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Do not edit this file! Make a pull request on changing
# github/workflows/twig.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ### Twig
###
### Validates Twig files
###
### #### Assumptions
###
### 1. A docker compose service named `phpfpm` can be run and `composer` can be
### run inside the `phpfpm` service.
### 2. [vincentlanglet/twig-cs-fixer](https://github.com/VincentLanglet/Twig-CS-Fixer)
### is a dev requirement in `composer.json`:
###
### ``` shell
### docker compose run --rm phpfpm composer require --dev vincentlanglet/twig-cs-fixer
### ```
###
### 3. A [Configuration
### file](https://github.com/VincentLanglet/Twig-CS-Fixer/blob/main/docs/configuration.md#configuration-file)
### in the root of the project defines which files to check and rules to use.

name: Twig

env:
COMPOSE_USER: root

on:
pull_request:
push:
branches:
- main
- develop

jobs:
twig-lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4

- run: |
docker network create frontend
docker compose run --rm phpfpm composer install
docker compose run --rm phpfpm vendor/bin/twig-cs-fixer lint
3 changes: 3 additions & 0 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// This file is copied from config/markdown/.markdownlint.jsonc in https://github.com/itk-dev/devops_itkdev-docker.
// Feel free to edit the file, but consider making a pull request if you find a general issue with the file.

// markdownlint-cli configuration file (cf. https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#configuration)
{
"default": true,
Expand Down
8 changes: 8 additions & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# This file is copied from config/markdown/.markdownlintignore in https://github.com/itk-dev/devops_itkdev-docker.
# Feel free to edit the file, but consider making a pull request if you find a general issue with the file.

# https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#ignoring-files
vendor/
node_modules/
LICENSE.md
# Drupal
web/*.md
web/core/
web/libraries/
web/*/contrib/

# Project ignores
mappings.md
templates/svg/font-awesome-info.md
33 changes: 20 additions & 13 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
<?php
// This file is copied from config/symfony/php/.php-cs-fixer.dist.php in https://github.com/itk-dev/devops_itkdev-docker.
// Feel free to edit the file, but consider making a pull request if you find a general issue with the file.

$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var')
;
// https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/config.rst

return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'phpdoc_align' => false,
// Don't remove @param that define collection and array generics (yes they should have complete comments, but).
'no_superfluous_phpdoc_tags' => false,
])
->setFinder($finder)
;
$finder = new PhpCsFixer\Finder();
// Check all files …
$finder->in(__DIR__);
// … that are not ignored by VCS
$finder->ignoreVCSIgnored(true);

$config = new PhpCsFixer\Config();
$config->setFinder($finder);

$config->setRules([
'@Symfony' => true,
'phpdoc_align' => false,
// Don't remove @param that define collection and array generics (yes they should have complete comments, but).
'no_superfluous_phpdoc_tags' => false,
]);

return $config;
16 changes: 16 additions & 0 deletions .twig-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
// This file is copied from config/symfony/twig/.twig-cs-fixer.dist.php in https://github.com/itk-dev/devops_itkdev-docker.
// Feel free to edit the file, but consider making a pull request if you find a general issue with the file.

// https://github.com/VincentLanglet/Twig-CS-Fixer/blob/main/docs/configuration.md#configuration-file

$finder = new TwigCsFixer\File\Finder();
// Check all files …
$finder->in(__DIR__);
// … that are not ignored by VCS
$finder->ignoreVCSIgnored(true);

$config = new TwigCsFixer\Config\Config();
$config->setFinder($finder);

return $config;
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ See [keep a changelog] for information about writing changes to this log.

## [Unreleased]

* [PR-33](https://github.com/itk-dev/sysstatus/pull/33)
* Inlined actions
* Cleaned up report views
* [PR-32](https://github.com/itk-dev/sysstatus/pull/32)
3644: Cleaned up template and controller
* [PR-31](https://github.com/itk-dev/sysstatus/pull/31)
Expand Down
Loading
Loading