Release 1.27.0 (#3571)
* bump version * ignore .disabled for plugins * simplify gitignore * prevent duration field from showing up in the API * change release template wording * prepare method for later usage * add 8.2 to issue template
This commit is contained in:
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -43,6 +43,7 @@ body:
|
||||
- "7.4"
|
||||
- "8.0"
|
||||
- "8.1"
|
||||
- "8.2"
|
||||
- Other (please mention below)
|
||||
validations:
|
||||
required: true
|
||||
|
||||
8
.github/release-drafter.yml
vendored
8
.github/release-drafter.yml
vendored
@@ -36,11 +36,9 @@ template: |
|
||||
[Upgrade Kimai](https://www.kimai.org/documentation/updates.html) - [Install Kimai](https://www.kimai.org/documentation/installation.html) - [Docker](https://tobybatch.github.io/kimai2/)
|
||||
|
||||
**PHP Version compatibility:**
|
||||
- PHP 7.3 is [end-of-life](https://www.php.net/supported-versions.php): you need to update now
|
||||
- PHP 7.4, PHP 8 and PHP 8.1 are supported
|
||||
- PHP 7.3 is [end-of-life](https://www.php.net/supported-versions.php): please update now
|
||||
- PHP 7.4 is almost EOL, PHP 8 and PHP 8.1 are supported
|
||||
|
||||
$CHANGES
|
||||
|
||||
Thanks to all contributors ❤️
|
||||
|
||||
Involved in this release: $CONTRIBUTORS
|
||||
Involved in this release: $CONTRIBUTORS - thank you!
|
||||
29
.gitignore
vendored
29
.gitignore
vendored
@@ -7,39 +7,31 @@
|
||||
|
||||
# for symfony local webserver
|
||||
php.ini
|
||||
!.gitkeep
|
||||
|
||||
/bin/*
|
||||
!bin/console
|
||||
/config/packages/local.yaml
|
||||
/config/packages/*-local.yaml
|
||||
/config/packages/*/local.yaml
|
||||
/config/packages/*/*-local.yaml
|
||||
!/bin/console
|
||||
*local.yaml
|
||||
/config/bundles-local.php
|
||||
|
||||
public/avatars/*.png
|
||||
/public/avatars/*.png
|
||||
|
||||
templates/invoice/renderer/.~lock*
|
||||
translations/branding.*.xlf
|
||||
/templates/invoice/renderer/.~lock*
|
||||
/translations/branding.*.xlf
|
||||
|
||||
/var/data/*
|
||||
!/var/data/.gitkeep
|
||||
/var/coverage/
|
||||
/var/cache/*
|
||||
!var/cache/.gitkeep
|
||||
|
||||
/var/invoices/*
|
||||
/var/export/*
|
||||
|
||||
/var/packages/*
|
||||
!var/packages/.gitkeep
|
||||
/var/plugins/*
|
||||
!var/plugins/.gitkeep
|
||||
|
||||
/var/log/*
|
||||
!var/log/.gitkeep
|
||||
|
||||
/var/sessions/*
|
||||
!var/sessions/.gitkeep
|
||||
/var/packages/*
|
||||
/var/plugins/*
|
||||
*.disabled
|
||||
|
||||
# ========== KIMAI ==========
|
||||
|
||||
###> symfony/framework-bundle ###
|
||||
@@ -61,7 +53,6 @@ translations/branding.*.xlf
|
||||
|
||||
###> symfony/phpunit-bridge ###
|
||||
.phpunit
|
||||
/phpunit.xml
|
||||
###< symfony/phpunit-bridge ###
|
||||
|
||||
###> symfony/webpack-encore-bundle ###
|
||||
|
||||
@@ -6,7 +6,7 @@ As announced in the [README](README.md) I only support the latest available rele
|
||||
|
||||
| Version | Supported |
|
||||
|----------------------|--------------------|
|
||||
| master | :white_check_mark: |
|
||||
| main/master branch | :white_check_mark: |
|
||||
| latest minor release | :white_check_mark: |
|
||||
| older releases | :x: |
|
||||
|
||||
|
||||
@@ -17,11 +17,11 @@ class Constants
|
||||
/**
|
||||
* The current release version
|
||||
*/
|
||||
public const VERSION = '1.26.0';
|
||||
public const VERSION = '1.27.0';
|
||||
/**
|
||||
* The current release: major * 10000 + minor * 100 + patch
|
||||
*/
|
||||
public const VERSION_ID = 12600;
|
||||
public const VERSION_ID = 12700;
|
||||
/**
|
||||
* The current release status, either "stable" or "dev"
|
||||
*/
|
||||
|
||||
@@ -1167,4 +1167,9 @@ class User implements UserInterface, EquatableInterface, \Serializable
|
||||
{
|
||||
$this->accountNumber = $accountNumber;
|
||||
}
|
||||
|
||||
public function isSystemAccount(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,6 +55,10 @@ class TimesheetApiEditForm extends TimesheetEditForm
|
||||
|
||||
$builder->remove('metaFields');
|
||||
|
||||
if ($builder->has('duration')) {
|
||||
$builder->remove('duration');
|
||||
}
|
||||
|
||||
if ($builder->has('user')) {
|
||||
$builder->get('user')->setRequired(false);
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ class UserTest extends TestCase
|
||||
self::assertFalse($user->canSeeAllData());
|
||||
self::assertFalse($user->isSmallLayout());
|
||||
self::assertFalse($user->isExportDecimal());
|
||||
self::assertFalse($user->isSystemAccount());
|
||||
self::assertTrue($user->is24Hour());
|
||||
|
||||
$user->setAvatar('https://www.gravatar.com/avatar/00000000000000000000000000000000?d=retro&f=y');
|
||||
|
||||
Reference in New Issue
Block a user