mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-03-18 14:52:53 +00:00

* include user teams in user entity * prevent unauthorized access via API * improve teamlead permission handling in team timesheets * add team data to user entity * add security tests * highlight menu for invoice template copy * unified handling of invoice data across all templates * access to the current users data in invoice templates * permission improvement in invoice form * allow to skip record rows * allow to add new invoice locations without overwriting the global ones * allow to order user preferences * change permission for normal users with access to view_other_timesheets * properly validate invoice template field length * allow to replace multiple variables in cell values text * upgraded office invoice template * doctrine deprecation fix * upgrade phpoffice/phpword * fix future begin check for default rounding rules * dashboard widget counter: respect visibility and teams - fixes #1161 * fix future begin check for default rounding rules * added new events for pre and post invoice rendering * fix permission issue for users without team seeing all records * prevent error in spreadsheet renderer for empty invoices
162 lines
5.1 KiB
JSON
162 lines
5.1 KiB
JSON
{
|
|
"name": "kevinpapst/kimai2",
|
|
"license": "MIT",
|
|
"type": "project",
|
|
"description": "Kimai Time-Tracking 2",
|
|
"authors": [
|
|
{
|
|
"name": "Kevin Papst",
|
|
"homepage": "https://www.kevinpapst.de"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^7.2",
|
|
"ext-gd": "*",
|
|
"ext-intl": "*",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-pdo": "*",
|
|
"ext-zip": "*",
|
|
"beberlei/doctrineextensions": "^1.2",
|
|
"erusev/parsedown": "^1.6",
|
|
"friendsofsymfony/rest-bundle": "^2.5",
|
|
"friendsofsymfony/user-bundle": "dev-master",
|
|
"gedmo/doctrine-extensions": "^2.4",
|
|
"jms/metadata": "^2.0",
|
|
"jms/serializer-bundle": "^3.2",
|
|
"kevinpapst/adminlte-bundle": "~3.0",
|
|
"kimai/kimai2-composer": "^0.1",
|
|
"laravolt/avatar": "^3.0",
|
|
"league/csv": "^9.4",
|
|
"mpdf/mpdf": "^7.1",
|
|
"nelmio/api-doc-bundle": "^3.2",
|
|
"nelmio/cors-bundle": "^1.5",
|
|
"ocramius/proxy-manager": "^2.1.1",
|
|
"phpoffice/phpspreadsheet": "^1.10",
|
|
"phpoffice/phpword": "^0.17",
|
|
"psr/log": "^1.1",
|
|
"sensio/framework-extra-bundle": "^5.2",
|
|
"symfony/asset": "^4.0",
|
|
"symfony/console": "^4.0",
|
|
"symfony/debug-pack": "^1.0",
|
|
"symfony/dotenv": "^4.0",
|
|
"symfony/expression-language": "^4.0",
|
|
"symfony/flex": "^1.0",
|
|
"symfony/form": "^4.0",
|
|
"symfony/framework-bundle": "^4.0",
|
|
"symfony/intl": "^4.0",
|
|
"symfony/monolog-bundle": "^3.4",
|
|
"symfony/orm-pack": "^1.0",
|
|
"symfony/security-bundle": "^4.0",
|
|
"symfony/security-csrf": "^4.0",
|
|
"symfony/serializer": "^4.0",
|
|
"symfony/swiftmailer-bundle": "^3.2",
|
|
"symfony/translation": "^4.0",
|
|
"symfony/twig-bundle": "^4.0",
|
|
"symfony/validator": "^4.0",
|
|
"symfony/webpack-encore-bundle": "^1.5",
|
|
"symfony/yaml": "^4.0",
|
|
"twig/extensions": "^1.5",
|
|
"white-october/pagerfanta-bundle": "^1.1"
|
|
},
|
|
"require-dev": {
|
|
"dama/doctrine-test-bundle": "^5.0",
|
|
"doctrine/doctrine-fixtures-bundle": "^3.2",
|
|
"friendsofphp/php-cs-fixer": "^2.10",
|
|
"fzaninotto/faker": "^1.8",
|
|
"phpstan/phpstan": "^0.11.7",
|
|
"phpstan/phpstan-doctrine": "^0.11.4",
|
|
"phpstan/phpstan-phpunit": "^0.11.2",
|
|
"phpstan/phpstan-symfony": "^0.11.6",
|
|
"phpunit/phpunit": "^8.0",
|
|
"symfony/browser-kit": "^4.0",
|
|
"symfony/css-selector": "^4.0",
|
|
"symfony/maker-bundle": "^1.12",
|
|
"symfony/phpunit-bridge": "^4.0",
|
|
"symfony/profiler-pack": "^1.0",
|
|
"symfony/thanks": "^1.0",
|
|
"symfony/web-server-bundle": "^4.0"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "artifact",
|
|
"url": "var/packages/"
|
|
}
|
|
],
|
|
"config": {
|
|
"platform": {
|
|
"php": "7.2"
|
|
},
|
|
"preferred-install": {
|
|
"*": "dist"
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "src/",
|
|
"KimaiPlugin\\": "var/plugins/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"App\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"replace": {
|
|
"symfony/polyfill-iconv": "*",
|
|
"symfony/polyfill-php71": "*",
|
|
"symfony/polyfill-php70": "*",
|
|
"symfony/polyfill-php56": "*"
|
|
},
|
|
"suggest": {
|
|
"ext-mbstring": "If ext-mbstring is not available you MUST install symfony/polyfill-mbstring",
|
|
"zendframework/zend-ldap": "For LDAP authentication with Kimai"
|
|
},
|
|
"scripts": {
|
|
"auto-scripts": {
|
|
"cache:clear": "symfony-cmd",
|
|
"assets:install": "symfony-cmd"
|
|
},
|
|
"post-install-cmd": [
|
|
"@auto-scripts"
|
|
],
|
|
"post-update-cmd": [
|
|
"@auto-scripts"
|
|
],
|
|
"kimai:pre-commit": [
|
|
"@kimai:codestyle",
|
|
"@kimai:phpstan",
|
|
"@kimai:code-lint",
|
|
"@kimai:tests-unit"
|
|
],
|
|
"kimai:code-check": [
|
|
"@kimai:pre-commit",
|
|
"@kimai:tests-integration"
|
|
],
|
|
"kimai:code-lint": [
|
|
"bin/console lint:yaml config --parse-tags",
|
|
"bin/console lint:twig templates",
|
|
"bin/console doctrine:schema:validate --skip-sync -vvv --no-interaction"
|
|
],
|
|
"kimai:tests": "vendor/bin/phpunit tests/",
|
|
"kimai:tests-unit": "vendor/bin/phpunit --exclude-group integration tests/",
|
|
"kimai:tests-integration": "vendor/bin/phpunit --group integration tests/",
|
|
"kimai:phpstan": [
|
|
"vendor/bin/phpstan analyse src -c phpstan.neon --level=3",
|
|
"vendor/bin/phpstan analyse tests -c tests/phpstan.neon --level=4"
|
|
],
|
|
"kimai:codestyle": "vendor/bin/php-cs-fixer fix --dry-run --verbose --show-progress=none",
|
|
"kimai:codestyle-fix": "vendor/bin/php-cs-fixer fix"
|
|
},
|
|
"conflict": {
|
|
"symfony/symfony": "*"
|
|
},
|
|
"extra": {
|
|
"symfony": {
|
|
"id": "01C3FWRDJJEX9K6Y3A4XDFXPBR",
|
|
"allow-contrib": true,
|
|
"require": "4.3.*"
|
|
}
|
|
}
|
|
}
|