using new license header #124 (#119)

This commit is contained in:
Simon Schaufelberger
2018-02-03 18:23:47 +01:00
committed by Kevin Papst
parent 76d4cba596
commit 65790f1fb7
133 changed files with 160 additions and 701 deletions

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -16,8 +14,6 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
/**
* The abstract base controller.
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
abstract class AbstractController extends Controller
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -22,8 +20,6 @@ use App\Repository\ActivityRepository;
*
* @Route("/activity")
* @Security("has_role('ROLE_USER')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class ActivityController extends Controller
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -29,8 +27,6 @@ use App\Repository\Query\ActivityQuery;
* @Route("/admin/activity")
* @Security("has_role('ROLE_ADMIN')")
* @Security("is_granted('IS_AUTHENTICATED_FULLY')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class ActivityController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -28,8 +26,6 @@ use App\Repository\Query\CustomerQuery;
* @Route("/admin/customer")
* @Security("has_role('ROLE_ADMIN')")
* @Security("is_granted('IS_AUTHENTICATED_FULLY')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class CustomerController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -30,8 +28,6 @@ use App\Repository\Query\ProjectQuery;
* @Route("/admin/project")
* @Security("has_role('ROLE_ADMIN')")
* @Security("is_granted('IS_AUTHENTICATED_FULLY')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class ProjectController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -30,8 +28,6 @@ use App\Form\TimesheetAdminForm;
* @Route("/team/timesheet")
* @Security("has_role('ROLE_TEAMLEAD')")
* @Security("is_granted('IS_AUTHENTICATED_FULLY')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class TimesheetController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -28,8 +26,6 @@ use Symfony\Component\HttpFoundation\Request;
* @Route("/admin/user")
* @Security("has_role('ROLE_SUPER_ADMIN')")
* @Security("is_granted('IS_AUTHENTICATED_FULLY')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class UserController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -26,8 +24,6 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
*
* @Route("/dashboard")
* @Security("has_role('ROLE_USER')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class DashboardController extends Controller
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -30,8 +28,6 @@ use Symfony\Component\HttpFoundation\Request;
*
* @Route("/invoice")
* @Security("has_role('ROLE_TEAMLEAD')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class InvoiceController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -30,8 +28,6 @@ use Symfony\Component\HttpFoundation\Request;
*
* @Route("/profile")
* @Security("has_role('ROLE_USER')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class ProfileController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -18,8 +16,6 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
* Sidebar controller
*
* @Security("has_role('ROLE_USER')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class SidebarController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -29,8 +27,6 @@ use App\Form\TimesheetEditForm;
*
* @Route("/timesheet")
* @Security("has_role('ROLE_USER')")
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
class TimesheetController extends AbstractController
{

View File

@@ -1,9 +1,7 @@
<?php
/*
* This file is part of the Kimai package.
*
* (c) Kevin Papst <kevin@kevinpapst.de>
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -17,8 +15,6 @@ use App\Repository\TimesheetRepository;
/**
* Helper functions for Timesheet controller
*
* @author Kevin Papst <kevin@kevinpapst.de>
*/
trait TimesheetControllerTrait
{