Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
9a98e6c
initial first raw import of old sources into new environment
CybotTM Jan 10, 2022
c7f941f
rector SetList::PHP_53
CybotTM Jan 4, 2022
9aebe00
rector SetList::PHP_56
CybotTM Jan 4, 2022
405b608
rector SetList::PHP_71
CybotTM Jan 4, 2022
f783be9
rector SetList::PHP_73
CybotTM Jan 4, 2022
a9f3130
rector SetList::PHP_74
CybotTM Jan 4, 2022
63a4d13
rector SetList::PHP_80
CybotTM Jan 4, 2022
a46b775
update to PHP 8.1
CybotTM Jan 4, 2022
20911ac
rector SymfonySetList::SYMFONY_30
CybotTM Jan 4, 2022
bef70e4
rector SymfonySetList::SYMFONY_43
CybotTM Jan 4, 2022
c3d0dd1
rector LevelSetList::UP_TO_PHP_81
CybotTM Jan 4, 2022
7c04a2f
rector SymfonySetList::SYMFONY_52
CybotTM Jan 4, 2022
247e675
rector SymfonySetList::SYMFONY_CODE_QUALITY
CybotTM Jan 4, 2022
29fbfb9
rector DoctrineSetList::DOCTRINE_COMMON_20
CybotTM Jan 4, 2022
46eceab
rector DoctrineSetList::DOCTRINE_DBAL_211
CybotTM Jan 4, 2022
5ddfe73
tabs to spaces
CybotTM Jan 4, 2022
398fc69
rector DoctrineSetList::DOCTRINE_ORM_29
CybotTM Jan 4, 2022
36a541f
rector DoctrineSetList::DOCTRINE_CODE_QUALITY
CybotTM Jan 4, 2022
4cb87ca
clean up files - already copied to right place
CybotTM Jan 4, 2022
44a55d5
rector SymfonyLevelSetList::UP_TO_SYMFONY_54 with Option::AUTO_IMPORT…
CybotTM Jan 4, 2022
0c8b176
rector another run of LevelSetList::UP_TO_PHP_81 with Option::AUTO_IM…
CybotTM Jan 4, 2022
859462a
cs
CybotTM Jan 4, 2022
304cf74
rector TwigSetList::TWIG_140
CybotTM Jan 4, 2022
2ee12ef
manual refactoring for Symfony 6 and PHP 8.1
CybotTM Jan 5, 2022
4e85c60
fix asset paths in templates
CybotTM Jan 6, 2022
a28ff9d
properly escape (html) messages strings for use in JS
CybotTM Jan 6, 2022
779ed22
fix asset paths in JS
CybotTM Jan 6, 2022
60d5756
register missing services
CybotTM Jan 6, 2022
9b7154a
add missing route annotations
CybotTM Jan 7, 2022
cce478e
fix default header and logo values
CybotTM Jan 7, 2022
2d2ad00
remove obsolete comment
CybotTM Jan 7, 2022
ed96bf1
current state of rector
CybotTM Jan 7, 2022
bb2fdb3
minor refactor has login cookie check
CybotTM Jan 7, 2022
94b5c14
provide app params via DI service
CybotTM Jan 7, 2022
e0afd13
remove obsolete rounting.yml
CybotTM Jan 7, 2022
7be7425
cs
CybotTM Jan 7, 2022
bd6323a
use Export and Kernel as DI services
CybotTM Jan 7, 2022
d156693
disable and deprecate logging - should be replaced by logging service
CybotTM Jan 7, 2022
c0302de
use Kernel as DI service
CybotTM Jan 7, 2022
0b3865c
fix path template
CybotTM Jan 7, 2022
b2e5ce1
cs
CybotTM Jan 7, 2022
bdac217
do not try to load LDAP teams if LDAP is disabled
CybotTM Jan 7, 2022
2b6ce48
refactor getEntriesByUser to fully use QB
CybotTM Jan 7, 2022
c9888c8
drop superfluous ORM definitions
CybotTM Jan 7, 2022
e0a8ea7
refactor to properly use QB and for inter-DBMS compatibility
CybotTM Jan 7, 2022
e227b51
remove superfluous use statements
CybotTM Jan 7, 2022
d0bc8fb
fix Doctrine ManagerRegistry class used
CybotTM Jan 7, 2022
4ccb004
use Doctrine as DI service
CybotTM Jan 7, 2022
1657bd1
restore old README
CybotTM Jan 10, 2022
4fd6798
restore docs
CybotTM Jan 10, 2022
6c66ef3
php-cs-fixer: first run - basics
CybotTM Jan 10, 2022
d708810
php-cs-fixer: risky run
CybotTM Jan 10, 2022
617f5da
update/finalize php-cs-fixer settings
CybotTM Jan 10, 2022
0ba9b47
add php-gd for phpoffice/phpspreadsheet
CybotTM Jan 10, 2022
7aa8980
update modules
CybotTM Jan 10, 2022
84a5aab
update modules
CybotTM Jan 10, 2022
59b3d46
php-cs-fixer on /tests
CybotTM Jan 10, 2022
ce99fce
cancel login if user stored in cookie does not exists in database (an…
CybotTM Jan 10, 2022
f5fc563
fix tests
CybotTM Jan 10, 2022
bcd58ad
applied more php-cs-fixer rules - and fixed them
CybotTM Jan 10, 2022
1f650cb
cs
CybotTM Jan 10, 2022
e09459f
ensure logged in user is still valid and exists in database
CybotTM Jan 10, 2022
cb4b368
cs
CybotTM Jan 10, 2022
db9f527
fix paramter type when calling setShowFuture()
CybotTM Jan 10, 2022
88ce894
fix return type hint - getUserId() may also return null, if no valid …
CybotTM Jan 10, 2022
fd0bfe1
cs
CybotTM Jan 11, 2022
6e713c9
refactor login to symfony authenticator manager
CybotTM Jan 13, 2022
537a737
use doctrine, entity manager and repositories as dependency injected …
CybotTM Jan 14, 2022
e79bd46
fix call to render()
CybotTM Jan 14, 2022
1e534d5
use JiraOAuthApi as service
CybotTM Jan 14, 2022
06dae68
fix default values for entity fields
CybotTM Jan 16, 2022
e8ec58c
cs
CybotTM Jan 16, 2022
5992efd
fix/clarify role/type usage
CybotTM Jan 16, 2022
9305d32
fix project sorting
CybotTM Jan 16, 2022
3839d5c
polish login handling: ensure (LDAP) user is persisted/updated in loc…
CybotTM Jan 17, 2022
1917fa2
cs
CybotTM Jan 17, 2022
9ef44a7
add some fixtures
CybotTM Jan 17, 2022
15d3a72
update packages
CybotTM Oct 7, 2022
aeeb68f
Updating recipe for doctrine/annotations
CybotTM Oct 7, 2022
847a886
Updating recipe for doctrine/doctrine-bundle
CybotTM Oct 7, 2022
ccb8121
Updating recipe for doctrine/doctrine-migrations-bundle
CybotTM Oct 7, 2022
833c06e
Updating recipe for symfony/debug-bundle
CybotTM Oct 7, 2022
06aa412
Updating recipe for symfony/flex
CybotTM Oct 7, 2022
11d265c
Updating recipe for symfony/framework-bundle
CybotTM Oct 7, 2022
c1e7ca4
Updating recipe for symfony/mailer
CybotTM Oct 7, 2022
7ba9fa2
Updating recipe for symfony/monolog-bundle
CybotTM Oct 7, 2022
947cade
Updating recipe for symfony/routing
CybotTM Oct 7, 2022
152b3eb
symfony/security-bundle
CybotTM Oct 7, 2022
369d20e
Updating recipe for symfony/twig-bundle
CybotTM Oct 7, 2022
0d643ae
Updating recipe for symfony/validator
CybotTM Oct 7, 2022
78f0622
Updating recipe for symfony/web-profiler-bundle
CybotTM Oct 7, 2022
e2d25ea
update Symfony 6.0 -> 6.1
CybotTM Oct 26, 2022
c044fde
composer recipes:update symfony/routing 6.0 -> 6.1
CybotTM Oct 26, 2022
80ee6f9
composer recipes:update symfony/web-profiler-bundle 6.0 -> 6.1
CybotTM Oct 26, 2022
03dcf84
remove deprecated and removed server protocol option fom caddy: exper…
CybotTM Oct 26, 2022
74f08a1
fix default DB user and password in application container
CybotTM Oct 26, 2022
1dfb386
do not try to fetch entities from database with invalid keys/ids
CybotTM Oct 26, 2022
25ffe3e
ensure propper data type of function arguments
CybotTM Oct 26, 2022
1e1ffc4
fix unit tests
CybotTM Oct 27, 2022
4b3da50
add API bundle
CybotTM Oct 27, 2022
d736614
fix duration check
CybotTM Oct 27, 2022
691c4b0
rewrite triggering of duration calculation - no need for public acces…
CybotTM Oct 30, 2022
a101f86
fix missing return of operation result
CybotTM Nov 1, 2022
ae91b1e
add API platform annotations for GET entries
CybotTM Nov 1, 2022
c39c1df
add graphql-php
CybotTM Nov 1, 2022
dfe6ef2
update workflow with latest actions
CybotTM Nov 1, 2022
4840f3c
set target stage to build
CybotTM Nov 1, 2022
3a9780a
add fixtures in preparation for comming tests
CybotTM Nov 2, 2022
e3135e7
update "edge" and rbanch builds only - do not create new images for e…
CybotTM Nov 23, 2022
ca60fda
allow manual trigger of action
CybotTM Nov 23, 2022
b376dbe
Bump symfony/http-kernel from 6.1.6 to 6.1.12
dependabot[bot] Feb 1, 2023
7e667d1
Bump symfony/security-bundle from 6.1.3 to 6.1.12
dependabot[bot] Feb 1, 2023
5ccc16a
TIM-60: Fix autocompletion for projects with numbers in ticket prefix
cweiske Oct 4, 2022
bd1bf20
TIM-23: Fix tab key on Firefox 65+
cweiske Sep 27, 2022
8adbd7a
Bump api-platform/core from 3.0.2 to 3.0.12
dependabot[bot] Feb 28, 2023
470e5c0
Bump guzzlehttp/psr7 from 2.4.2 to 2.5.0
dependabot[bot] Apr 19, 2023
abffefe
Bump phpoffice/phpspreadsheet from 1.25.2 to 1.29.1
dependabot[bot] Sep 4, 2024
e715108
Bump twig/twig from 3.4.3 to 3.14.0
dependabot[bot] Sep 9, 2024
7363fe4
Bump phpoffice/phpspreadsheet from 1.29.1 to 1.29.2
dependabot[bot] Oct 7, 2024
154a1ab
Bump twig/twig from 3.14.0 to 3.14.1
dependabot[bot] Nov 6, 2024
0aeca0f
Bump symfony/process from 6.1.3 to 6.4.14
dependabot[bot] Nov 6, 2024
dec825a
Bump symfony/runtime from 6.1.3 to 6.4.14
dependabot[bot] Nov 7, 2024
f558215
Bump phpoffice/phpspreadsheet from 1.29.2 to 1.29.4
dependabot[bot] Nov 18, 2024
ccd4234
Bump phpoffice/phpspreadsheet from 1.29.4 to 1.29.8
dependabot[bot] Jan 21, 2025
f2dd62f
Bump guzzlehttp/oauth-subscriber from 0.6.0 to 0.8.1
dependabot[bot] Jan 6, 2025
b283164
Bump symfony/var-dumper from 6.2.7 to 6.4.15
dependabot[bot] Dec 3, 2024
c21c386
Add renovate.json
renovate[bot] Feb 17, 2025
4c3653a
Update dependency twig/twig to v3.20.0
renovate[bot] Feb 24, 2025
ec76b49
Update dependency rector/rector to ^0.19.0
renovate[bot] Feb 24, 2025
4a22c69
Update dependency phpunit/phpunit to v9.6.22
renovate[bot] Feb 23, 2025
fd44732
Update dependency nelmio/cors-bundle to v2.5.0
renovate[bot] Feb 23, 2025
6e097a1
Update dependency doctrine/doctrine-migrations-bundle to v3.4.1
renovate[bot] Feb 22, 2025
914a0c6
Update dependency doctrine/annotations to v1.14.4
renovate[bot] Feb 22, 2025
a61eeb5
Update dunglas/mercure Docker tag to v0.18
renovate[bot] Feb 24, 2025
58aec21
Update dependency sensio/framework-extra-bundle to v6.2.10
renovate[bot] Feb 24, 2025
7dfd289
Bump phpoffice/phpspreadsheet from 1.29.8 to 1.29.9
dependabot[bot] Feb 24, 2025
03bfb39
Update dependency webonyx/graphql-php to v14.11.10
renovate[bot] Feb 21, 2025
ec0b1bf
Update dependency phpoffice/phpspreadsheet to v4
renovate[bot] Feb 25, 2025
ebb9a08
Update actions/checkout action to v4
renovate[bot] Feb 24, 2025
5d5c6c2
Configure renovate to run also an branch v4
CybotTM Feb 26, 2025
5babfd8
enable composer.lock maintenance
CybotTM Feb 27, 2025
0307cc3
Remove fix for https://github.com/PHPOffice/PhpSpreadsheet/issues/667…
CybotTM Feb 27, 2025
cb53149
chore(build): maintain docker-publish.yml
CybotTM Feb 27, 2025
cefb3c6
chore(build); drop cosign
CybotTM Feb 27, 2025
a8bca91
chore(dep): renovate: also update dependencies of updated dependency
CybotTM Feb 27, 2025
ea9d392
chore: fix renovate.json syntax
CybotTM Feb 27, 2025
2d6dec2
chore(renovate): replace not allowed env COMPOSER_WITH_ALL_DEPENDENCI…
CybotTM Feb 27, 2025
1e3c840
chore(renovate): remove composer ENV - not supported by hosted bot
CybotTM Feb 27, 2025
350e8e7
fix(deps): update dependency webonyx/graphql-php to v15
renovate[bot] Feb 27, 2025
c6861ae
chore(deps): update docker/setup-buildx-action action to v3
renovate[bot] Feb 27, 2025
3b359c4
chore(deps): update docker/metadata-action action to v5
renovate[bot] Feb 27, 2025
901f223
chore(deps): update docker/login-action action to v3
renovate[bot] Feb 27, 2025
80735a9
chore(deps): update docker/build-push-action action to v6
renovate[bot] Feb 27, 2025
65f3648
chore(deps): update dependency rector/rector to v2
renovate[bot] Feb 27, 2025
ce0dd57
chore(cs): fix Dockerfile CS
CybotTM Feb 27, 2025
fce34db
chore(deps): lock file maintenance
renovate[bot] Feb 27, 2025
5847251
chore(deps): lock file maintenance
renovate[bot] Mar 2, 2025
6820bce
Bump symfony/http-client from 6.1.12 to 6.4.15
dependabot[bot] Mar 2, 2025
54167dc
chore(deps): lock file maintenance
renovate[bot] Mar 2, 2025
b143bb5
chore(deps): lock file maintenance
renovate[bot] Mar 3, 2025
c3dff8f
chore(deps): update dependency rector/rector to v2.0.10
renovate[bot] Mar 11, 2025
7d4cb0a
chore(deps): lock file maintenance
renovate[bot] Mar 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 28 additions & 10 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
.idea
.buildpath
.project
.settings
app/config/parameters.yml
app/config/parameters.ini
/app/config/ldap_ou_team_mapping.yml
app/cache/*
app/logs/*.log
core
**/*.log
**/*.md
**/*.php~
**/._*
**/.dockerignore
**/.DS_Store
**/.git/
**/.gitattributes
**/.gitignore
**/.gitmodules
**/docker-compose.*.yaml
**/docker-compose.*.yml
**/docker-compose.yaml
**/docker-compose.yml
**/Dockerfile
**/Thumbs.db
.editorconfig
.env.*.local
.env.local
.env.local.php
.php_cs.cache
bin/*
!bin/console
docker/db/data/
helm/
public/bundles/
var/
vendor/
67 changes: 60 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,69 @@ root = true
# Change these settings to your own preference
indent_style = space
indent_size = 4
tab_width = 4

[*.json]
# Change these settings to your own preference
indent_style = space
indent_size = 2
tab_width = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,html}]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[*.php]
indent_style = space
indent_size = 4

[*.sh]
indent_style = tab
indent_size = 4

[*.xml{,.dist}]
indent_style = space
indent_size = 4

[*.{yaml,yml}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false

[api/helm/api/**.yaml]
indent_style = space
indent_size = 2

[.github/workflows/*.yml]
indent_style = space
indent_size = 2

[.gitmodules]
indent_style = tab
indent_size = 4

[.php_cs{,.dist}]
indent_style = space
indent_size = 4

[.travis.yml]
indent_style = space
indent_size = 2

[composer.json]
indent_style = space
indent_size = 4

[docker-compose{,.*}.{yaml,yml}]
indent_style = space
indent_size = 2

[Dockerfile]
indent_style = tab
indent_size = 4
66 changes: 66 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration

locale=en

LDAP_HOST="ldap.acme.org"
LDAP_PORT=636 # 636, 389
LDAP_ENCRYPTION=ssl # ssl, tls, none

LDAP_BASE_DN="DC=ACME,DC=ORG"
LDAP_SEARCH_DN="cn=readuser,DC=ACME,DC=ORG"
LDAP_SEARCH_PASSWORD="readuser"
LDAP_UID_KEY="sAMAccountName"
LDAP_FILTER="({uid_key}={username})"
LDAP_DN_STRING="acme\\{username}"


LDAP_DEFAULT_ROLE='ROLE_DEV'
# whether to create users in TimeTracker after successfully authenticated by LDAP but not existing in TimeTracker
# also see ldap_ou_team_mapping.yml.dist
LDAP_CREATE_USER=true

APP_LOGO_URL="images/logo.png"
APP_MONTHLY_OVERVIEW_URL="https://stats.timetracker.nr/?user="
APP_TITLE="Netresearch TimeTracker"
APP_HEADER_URL=""

APP_SHOW_BILLABLE_FIELD_IN_EXPORT=false

# CSV list of user who will always get ROLE_ADMIN applied
APP_ADMIN_USERS=''

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=ca347f9e9be41d6439cb31f4f8e4159f
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4"
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=14&charset=utf8"
###< doctrine/doctrine-bundle ###

###> symfony/mailer ###
# MAILER_DSN=null://null
###< symfony/mailer ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
6 changes: 6 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# define your env variables for the test env here
KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
* text=auto eol=lf

*.conf text eol=lf
*.html text eol=lf
*.ini text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.php text eol=lf
*.sh text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
bin/console text eol=lf

*.ico binary
*.png binary
70 changes: 23 additions & 47 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,93 +1,69 @@
name: Docker

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

on:
workflow_dispatch:
schedule:
- cron: '44 12 * * *'
push:
branches: [ master ]
# Publish semver tags as releases.
branches: [ main ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ master ]
branches: [ main ]

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}


jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
# Used for keyless signing with Fulcio.
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@1e95c1de343b5b0c23352d6417ee3e48d5bcd422
with:
cosign-release: 'v1.4.0'
uses: actions/checkout@v4


# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
uses: docker/setup-buildx-action@v3

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v5
with:
flavor: |
latest=false
prefix=
suffix=
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=edge,branch=main

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
# repository is public to avoid leaking data. If you would like to publish
# transparency data even for private images, pass --force to cosign below.
# https://github.com/sigstore/cosign
- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
COSIGN_EXPERIMENTAL: "true"
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
target: symfony_php
# Enable GitHub Actions-based caching for faster builds.
cache-from: type=gha
cache-to: type=gha,mode=max
42 changes: 22 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
/.idea
/.buildpath
/.project
/.settings
/app/config/parameters.yml
/app/config/parameters.ini
/app/config/ldap_ou_team_mapping.yml
/app/config/sentry.yml
/app/logs/*.log
/app/cache/*
/app/build/
/app/bootstrap.php.cache
/bin/*
/web/bundles/*
/web/.htaccess
/vendor/*
/timalytics
/web/stats
/core
/README.html
/.vscode
/.php-cs-fixer.cache

###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/config/secrets/prod/prod.decrypt.private.php
/public/bundles/
/var/
/vendor/
###< symfony/framework-bundle ###

###> symfony/phpunit-bridge ###
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###

###> phpunit/phpunit ###
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###
Loading