diff --git a/SECURITY.md b/SECURITY.md index 9edaedcc..f5cdc211 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,21 +4,21 @@ As announced in the [README](README.md) I only support the latest available release and master. -| Version | Supported | -|---------|--------------------| -| master | :white_check_mark: | -| 1.24 | :white_check_mark: | -| < 1.24 | :x: | +| Version | Supported | +|----------------------|--------------------| +| master | :white_check_mark: | +| latest minor release | :white_check_mark: | +| older releases | :x: | ## Reporting a Vulnerability -Please read the [Bughunter](https://www.kimai.org/documentation/bughunter.html) documentation before posting, -and then you can report any security related vulnerability in the [advisories section at GitHub](https://github.com/kevinpapst/kimai2/security/advisories) or via email to kpapst@gmx.net. +Please read the [Bughunter](https://www.kimai.org/documentation/bughunter.html) documentation before posting. +Xou can report any security related vulnerability in the [advisories section at GitHub](https://github.com/kevinpapst/kimai2/security/advisories) or via email to kpapst@gmx.net. I will work as fast as I can to fix the problem and publish a bugfix release / security update. Depending on the size of the required fixes, this might take a couple of hours or a couple of days. You can expect that your message will be answered ASAP. -You will be mentioned in the release notes if your issue is valid and after it was fixed. +You will be mentioned in the release notes if your issue is valid. I am grateful for any (discrete) disclosure of vulnerabilities! diff --git a/src/Event/PageActionsEvent.php b/src/Event/PageActionsEvent.php index 4b3a601a..9059145a 100644 --- a/src/Event/PageActionsEvent.php +++ b/src/Event/PageActionsEvent.php @@ -138,7 +138,7 @@ class PageActionsEvent extends ThemeEvent } } - $this->addAction('search', ['modal' => '#modal_search', 'label' => $label]); + $this->addAction('search', ['modal' => '#modal_search', 'label' => $label, 'accesskey' => 'q']); } public function addQuickExport(string $url): void @@ -148,12 +148,12 @@ class PageActionsEvent extends ThemeEvent public function addCreate(string $url, bool $modal = true): void { - $this->addAction('create', ['url' => $url, 'class' => ($modal ? 'modal-ajax-form' : '')]); + $this->addAction('create', ['url' => $url, 'class' => ($modal ? 'modal-ajax-form' : ''), 'accesskey' => 'a']); } public function addHelp(string $url): void { - $this->addAction('help', ['url' => $url, 'target' => '_blank']); + $this->addAction('help', ['url' => $url, 'target' => '_blank', 'accesskey' => 'h']); } public function addBack(string $url): void diff --git a/templates/base.html.twig b/templates/base.html.twig index fb5f82d8..77bce760 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -133,7 +133,7 @@ {% set entry = active_timesheets[0] %}
- + {{ entry|duration }}
@@ -151,7 +151,7 @@