Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
abc1777
3487: Update docker setup
cableman Jan 13, 2025
653c9c0
3487: Added basic actions
cableman Jan 13, 2025
d90c159
3487: Updated change log format
cableman Jan 13, 2025
bdefdac
3487: Removed test migration table
cableman Jan 13, 2025
8ac1e4e
3487: Updated change log
cableman Jan 13, 2025
16747a1
3487: Updated readme
cableman Jan 13, 2025
8f21523
3487: Downgrade to php 8.3
cableman Jan 13, 2025
f4d5fbf
3487: Fixed static code errors
cableman Jan 13, 2025
fdea06b
3487: Allow fields to be null in the database
cableman Jan 13, 2025
58f6852
3487: Added first take on data migration
cableman Jan 13, 2025
d0b585f
3487: Updated code style to match other projects
cableman Jan 14, 2025
c3d2532
3487: Added code check to mirations
cableman Jan 14, 2025
23d07fc
3487: Updated user/group foreign keys
cableman Jan 14, 2025
593fd55
3487: Update database with the nullable allowed changes
cableman Jan 14, 2025
566d14d
3487: User username for login
cableman Jan 14, 2025
577b182
3487: Renamed "Group" to "UserGroup" to fix SQL statements
cableman Jan 14, 2025
29c253b
3487: Updated all packages
cableman Jan 14, 2025
80ebc24
3487: Added twig debug packages
cableman Jan 14, 2025
d07f75e
3487: Redirect /admin
cableman Jan 14, 2025
b7e76d1
3487: Updated change log
cableman Jan 14, 2025
7a80720
3487: Added user create command
cableman Jan 14, 2025
5b0368e
3487: Added user update command
cableman Jan 14, 2025
36463fd
3487: Updated actions ubuntu version
cableman Jan 14, 2025
c9e82d1
3487: Updated change log
cableman Jan 14, 2025
754d926
3487: Updated code style
cableman Jan 14, 2025
6a79fbf
3487: Fixed user create without group
cableman Jan 14, 2025
0e52b31
3487: Fixed markdown lint off code-bloks
cableman Jan 14, 2025
dc818bd
3487: Removed unit test from action, as we do not have any :-/
cableman Jan 14, 2025
26259db
3487: Update src/Command/CreateUserCommand.php
cableman Jan 14, 2025
1f02f8b
3487: Update src/Command/UpdateUserCommand.php
cableman Jan 14, 2025
99166c4
3487: Minimal error handling in user commands
cableman Jan 14, 2025
f0938dd
3487: Updated index.php to match symfony 6.4
cableman Jan 15, 2025
54c5f3b
3487: Added assert mapper and move css
cableman Jan 16, 2025
8aa7f9d
3487: Updated template files
cableman Jan 16, 2025
b6bfaac
3487: Fixed JS error
cableman Jan 16, 2025
76ad1f4
3587: Fix login page and redirects
yepzdk Jan 17, 2025
544ffd6
3587: Cleanup dashboard styling
yepzdk Jan 17, 2025
d85dde6
Update CHANGELOG.md
yepzdk Jan 17, 2025
269b034
Merge pull request #28 from itk-dev/feature/styling-fixes
cableman Jan 21, 2025
fb1b673
DevOps: Added stg woodpecker deployment
cableman Jan 22, 2025
58fa602
DevOps: Trigger deploy
cableman Jan 22, 2025
b4bb4aa
DevOps: Added when step to woodpecker
cableman Jan 22, 2025
38f1932
DevOps: Added when step to woodpecker - II
cableman Jan 22, 2025
e178503
DevOps: Added branch to woodpecker checkout
cableman Jan 22, 2025
61b0fb9
DevOps: Added branch to woodpecker checkout - II
cableman Jan 22, 2025
9a13a96
4120: Upgraded stuff
rimi-itk Mar 25, 2025
a29abef
4120: Updated composer packages
rimi-itk Mar 25, 2025
a8f3585
4120: Enabled Profiler
rimi-itk Mar 25, 2025
34f11aa
4120: Made user email unique and used email as security provider prop…
rimi-itk Mar 25, 2025
3ec3b50
4120: Cleaned up admin URLs
rimi-itk Mar 25, 2025
5403cbc
4120: Cleaned up filters form
rimi-itk Mar 25, 2025
5d13160
4120: Added and used Rector
rimi-itk Mar 25, 2025
128a124
4120: Updated changelog
rimi-itk Mar 25, 2025
b7a3e14
4120: Removed use of select2 and cleaned up templates
rimi-itk Mar 26, 2025
06e3e0a
4120: Fixed field label
rimi-itk Mar 26, 2025
8bd91b5
4120: Updated stg site installation commands
rimi-itk Mar 26, 2025
bf2a44b
4120: Cleaned up
rimi-itk Mar 26, 2025
2a4efc3
4120: Used username as security provider property
rimi-itk Mar 26, 2025
5e14c79
Merge pull request #30 from itk-dev/feature/4120-upgrade-3.0.0
rimi-itk Mar 26, 2025
4a061f5
4120: Upgraded to Symfony 7.2
rimi-itk Mar 26, 2025
4a10e9f
Merge pull request #31 from itk-dev/feature/symfony-7.2
rimi-itk Mar 26, 2025
d438ad9
3644: Cleaned up template and controller
rimi-itk Apr 3, 2025
68a81d8
3644: Removed empty if statement
rimi-itk Apr 4, 2025
d3d48b6
3644: Rendered smileys in select
rimi-itk Apr 4, 2025
33e452a
Merge pull request #32 from itk-dev/feature/3644-fixes
rimi-itk Apr 4, 2025
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
f62c3d4
Merge pull request #33 from itk-dev/feature/4410-fixes
rimi-itk Jun 12, 2025
ae7352c
Updated changelog
rimi-itk Jun 13, 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
9 changes: 3 additions & 6 deletions .docker/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
worker_processes auto;

error_log /var/log/nginx/error.log notice;
error_log /dev/stderr notice;
pid /tmp/nginx.pid;

events {
worker_connections 1024;
}


http {
proxy_temp_path /tmp/proxy_temp;
client_body_temp_path /tmp/client_temp;
Expand All @@ -18,19 +17,17 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/8;
set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;
access_log /dev/stdout main;

sendfile on;
#tcp_nopush on;

keepalive_timeout 65;

gzip on;
Expand Down
47 changes: 47 additions & 0 deletions .docker/templates/default.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
server {
listen ${NGINX_PORT};
server_name localhost;

root ${NGINX_WEB_ROOT};

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;

location / {
# try to serve file directly, fallback to index.php
try_files $uri /index.php$is_args$args;
}

# Protect files and directories from prying eyes.
location ~* \.(engine|inc|install|make|module|profile|po|sh|.*sql|.tar|.gz|.bz2|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$ {
deny all;
return 404;
}

location ~ ^/index\.php(/|$) {
fastcgi_buffers 16 32k;
fastcgi_buffer_size 64k;
fastcgi_busy_buffers_size 64k;

fastcgi_pass ${NGINX_FPM_SERVICE};
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;

fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;

internal;
}

location ~ \.php$ {
return 404;
}

# Send log message to files symlinked to stdout/stderr.
error_log /dev/stderr;
access_log /dev/stdout main;
}
33 changes: 0 additions & 33 deletions .docker/vhost.conf

This file was deleted.

15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig is awesome: https://editorconfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4

[*.{css,js,twig}]
indent_size = 2
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
23 changes: 23 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#### Link to ticket

Please add a link to the ticket being addressed by this change.

#### Description

Please include a short description of the suggested change and the reasoning behind the approach you have chosen.

#### Screenshot of the result

If your change affects the user interface you should include a screenshot of the result with the pull request.

#### Checklist

- [ ] My code passes our static analysis suite.
- [ ] My code passes our continuous integration process.

If your code does not pass all the requirements on the checklist you have to add a comment explaining why this change
should be exempt from the list.

#### Additional comments or questions

If you have any further comments or questions for the reviewer please add them here.
29 changes: 29 additions & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Do not edit this file! Make a pull request on changing
# github/workflows/changelog.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

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

name: Changelog

on:
pull_request:

jobs:
changelog:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Git fetch
run: git fetch

- name: Check that changelog has been updated.
run: git diff --exit-code origin/${{ github.base_ref }} -- CHANGELOG.md && exit 1 || exit 0
68 changes: 68 additions & 0 deletions .github/workflows/composer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Do not edit this file! Make a pull request on changing
# github/workflows/composer.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ### Composer
###
### Validates composer.json and checks that it's normalized.
###
### #### Assumptions
###
### 1. A docker compose service named `phpfpm` can be run and `composer` can be
### run inside the `phpfpm` service.
### 2. [ergebnis/composer-normalize](https://github.com/ergebnis/composer-normalize)
### is a dev requirement in `composer.json`:
###
### ``` shell
### docker compose run --rm phpfpm composer require --dev ergebnis/composer-normalize
### ```
###
### Normalize `composer.json` by running
###
### ``` shell
### docker compose run --rm phpfpm composer normalize
### ```

name: Composer

env:
COMPOSE_USER: root

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

jobs:
composer-validate:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- run: |
docker network create frontend
docker compose run --rm phpfpm composer validate --strict

composer-normalized:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- run: |
docker network create frontend
docker compose run --rm phpfpm composer install
docker compose run --rm phpfpm composer normalize --dry-run

composer-audit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- run: |
docker network create frontend
docker compose run --rm phpfpm composer audit
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
43 changes: 43 additions & 0 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Do not edit this file! Make a pull request on changing
# github/workflows/markdown.yaml in
# https://github.com/itk-dev/devops_itkdev-docker if need be.

### ### Markdown
###
### 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.
###
### #### 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:
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 markdownlint markdownlint '**/*.md'
Loading
Loading