Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c011b83
commit a873556
Showing
232 changed files
with
5,304 additions
and
4,275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This file is a "template" of which env vars need to be defined for your application | ||
# Copy this file to .env file for development, create environment variables when deploying to production | ||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration | ||
|
||
# KIMAI DEFAULT ENV VARS | ||
DATABASE_PREFIX=kimai2_ | ||
DATABASE_ENGINE=sqlite | ||
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/kimai.sqlite | ||
|
||
###> symfony/framework-bundle ### | ||
APP_ENV=dev | ||
APP_SECRET=c88c14fa70a424e7a12d459b9dd9df7f | ||
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2 | ||
#TRUSTED_HOSTS=localhost,example.com | ||
###< symfony/framework-bundle ### | ||
|
||
###> doctrine/doctrine-bundle ### | ||
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url | ||
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data/kimai.sqlite" | ||
# Configure your db driver and server_version in config/packages/doctrine.yaml | ||
#DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name | ||
###< doctrine/doctrine-bundle ### | ||
|
||
###> symfony/swiftmailer-bundle ### | ||
# For Gmail as a transport, use: "gmail://username:password@localhost" | ||
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" | ||
# Delivery is disabled by default via "null://localhost" | ||
MAILER_URL=null://localhost | ||
###< symfony/swiftmailer-bundle ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,39 @@ | ||
# Cache and logs (Symfony2) | ||
/app/cache/* | ||
/app/logs/* | ||
!app/cache/.gitkeep | ||
!app/logs/.gitkeep | ||
|
||
# Email spool folder | ||
/app/spool/* | ||
|
||
# Cache, session files and logs (Symfony3) | ||
/var/cache/* | ||
/var/logs/* | ||
/var/sessions/* | ||
!var/cache/.gitkeep | ||
!var/logs/.gitkeep | ||
!var/sessions/.gitkeep | ||
###> symfony/framework-bundle ### | ||
.env | ||
/public/bundles/ | ||
/vendor/ | ||
###< symfony/framework-bundle ### | ||
|
||
# Parameters | ||
/app/config/parameters.yml | ||
/app/config/parameters.ini | ||
###> symfony/web-server-bundle ### | ||
.web-server-pid | ||
###< symfony/web-server-bundle ### | ||
|
||
# Managed by Composer | ||
/app/bootstrap.php.cache | ||
/var/bootstrap.php.cache | ||
# ========== KIMAI ========== | ||
/bin/* | ||
!bin/console | ||
!bin/symfony_requirements | ||
/vendor/ | ||
|
||
# Assets and user uploads | ||
/web/bundles/ | ||
/web/uploads/ | ||
/public/theme/ | ||
|
||
# Assets managed by Bower | ||
/web/assets/vendor/ | ||
/var/data/*.sqlite | ||
|
||
# PHPUnit | ||
/app/phpunit.xml | ||
/phpunit.xml | ||
|
||
# Build data | ||
/build/ | ||
/var/cache/* | ||
!var/cache/.gitkeep | ||
|
||
# Composer PHAR | ||
/composer.phar | ||
/var/log/* | ||
!var/log/.gitkeep | ||
|
||
# Backup entities generated with doctrine:generate:entities command | ||
*/Entity/*~ | ||
/var/sessions/* | ||
!var/sessions/.gitkeep | ||
# ========== KIMAI ========== | ||
|
||
# IDE | ||
.idea/ | ||
|
||
# SQLite files | ||
/app/data/timesheet.sqlite | ||
###> phpunit/phpunit ### | ||
/phpunit.xml | ||
###< phpunit/phpunit ### | ||
|
||
# generated install and setup files | ||
/web/theme/ | ||
###> friendsofphp/php-cs-fixer ### | ||
.php_cs | ||
.php_cs.cache | ||
###< friendsofphp/php-cs-fixer ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@Symfony' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
]) | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.