version 1.14.1 (#2532)

* no back links in modal pages
* remove unused service links to bountysource and gitter
* add validation for budget and time-budget fields
* display time budget if set
* remove console log
* sanitize DDE payloads
* do not show status and name in version string
This commit is contained in:
Kevin Papst
2021-04-29 18:29:03 +02:00
committed by GitHub
parent 22af82cb15
commit dad1b8b772
74 changed files with 1770 additions and 2076 deletions

View File

@@ -20,10 +20,6 @@ abstract class AbstractTimesheetSubscriber extends AbstractActionsSubscriber
/** @var Timesheet $timesheet */
$timesheet = $payload['timesheet'];
if (!$event->isIndexView()) {
$event->addBack($this->path($routeListing));
}
if ($timesheet->getId() !== null) {
if ($this->isGranted('edit', $timesheet)) {
$class = $event->isView('edit') ? '' : 'modal-ajax-form';

View File

@@ -20,11 +20,6 @@ class PermissionsSubscriber extends AbstractActionsSubscriber
public function onActions(PageActionsEvent $event): void
{
// the "create role" page
if (!$event->isIndexView() && $this->isGranted('role_permissions')) {
//$event->addBack($this->path('admin_user_permissions'));
}
if ($this->isGranted('role_permissions')) {
$event->addCreate($this->path('admin_user_roles'), !$event->isView('role'));
}

View File

@@ -37,10 +37,6 @@ class TagSubscriber extends AbstractActionsSubscriber
$name = $tag->getName();
}
if (!$event->isIndexView() && $this->isGranted('view_tag')) {
//$event->addBack($this->path('tags'));
}
if ($id === null) {
return;
}

View File

@@ -26,10 +26,6 @@ class TeamSubscriber extends AbstractActionsSubscriber
/** @var Team $team */
$team = $payload['team'];
if (!$event->isIndexView() && $this->isGranted('view_tag')) {
//$event->addBack($this->path('admin_team'));
}
if ($team->getId() === null) {
return;
}