From ab7f895452eb082652307efb16952ede9f19f2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Wed, 24 Jun 2015 07:42:42 +0200 Subject: [PATCH] Removed unused files --- COPYRIGHT | 15 -------- .../Controller/DefaultController.php | 5 --- .../Entity/CommentRepository.php | 24 ------------ .../CommentBundle/Entity/ThreadRepository.php | 24 ------------ .../Resources/config/routing.yml | 4 -- .../CommentBundle/Resources/doc/index.rst | 0 .../Resources/translations/messages.fr.xlf | 11 ------ .../Resources/views/Default/index.html.twig | 1 - .../Controller/DefaultControllerTest.php | 38 ------------------- .../Controller/DefaultControllerTest.php | 26 ------------- .../Controller/DefaultControllerTest.php | 26 ------------- src/mgate/PersonneBundle/Entity/Employe.php | 2 +- .../Entity/EmployeRepository.php | 24 ------------ src/mgate/PersonneBundle/Entity/Poste.php | 2 +- .../PersonneBundle/Entity/PosteRepository.php | 24 ------------ .../PersonneBundle/Resources/doc/index.rst | 0 .../Resources/translations/messages.fr.xlf | 11 ------ .../Controller/DefaultControllerTest.php | 26 ------------- .../Controller/DefaultController.php | 26 ------------- .../Resources/views/Default/index.html.twig | 1 - .../Controller/DefaultControllerTest.php | 26 ------------- .../Controller/DefaultControllerTest.php | 26 ------------- .../Controller/DefaultController.php | 26 ------------- src/mgate/SuiviBundle/Resources/doc/index.rst | 0 .../Resources/translations/messages.fr.xlf | 11 ------ .../Controller/DefaultControllerTest.php | 26 ------------- .../Controller/DefaultController.php | 22 ----------- src/mgate/TresoBundle/Resources/doc/index.rst | 0 .../Resources/translations/messages.fr.xlf | 11 ------ .../Resources/views/Default/index.html.twig | 1 - .../Controller/DefaultControllerTest.php | 26 ------------- .../Controller/DefaultController.php | 8 ---- .../translations/FOSUserBundle.fr.yml | 34 ----------------- .../Resources/views/Default/index.html.twig | 1 - .../Controller/DefaultControllerTest.php | 26 ------------- 35 files changed, 2 insertions(+), 532 deletions(-) delete mode 100644 COPYRIGHT delete mode 100644 src/mgate/CommentBundle/Entity/CommentRepository.php delete mode 100644 src/mgate/CommentBundle/Entity/ThreadRepository.php delete mode 100644 src/mgate/CommentBundle/Resources/doc/index.rst delete mode 100644 src/mgate/CommentBundle/Resources/translations/messages.fr.xlf delete mode 100644 src/mgate/CommentBundle/Resources/views/Default/index.html.twig delete mode 100644 src/mgate/CommentBundle/Tests/Controller/DefaultControllerTest.php delete mode 100644 src/mgate/DashboardBundle/Tests/Controller/DefaultControllerTest.php delete mode 100644 src/mgate/FormationBundle/Tests/Controller/DefaultControllerTest.php delete mode 100644 src/mgate/PersonneBundle/Entity/EmployeRepository.php delete mode 100644 src/mgate/PersonneBundle/Entity/PosteRepository.php delete mode 100644 src/mgate/PersonneBundle/Resources/doc/index.rst delete mode 100644 src/mgate/PersonneBundle/Resources/translations/messages.fr.xlf delete mode 100644 src/mgate/PersonneBundle/Tests/Controller/DefaultControllerTest.php delete mode 100644 src/mgate/PubliBundle/Controller/DefaultController.php delete mode 100644 src/mgate/PubliBundle/Resources/views/Default/index.html.twig delete mode 100644 src/mgate/PubliBundle/Tests/Controller/DefaultControllerTest.php delete mode 100644 src/mgate/StatBundle/Tests/Controller/DefaultControllerTest.php delete mode 100644 src/mgate/SuiviBundle/Controller/DefaultController.php delete mode 100644 src/mgate/SuiviBundle/Resources/doc/index.rst delete mode 100644 src/mgate/SuiviBundle/Resources/translations/messages.fr.xlf delete mode 100644 src/mgate/SuiviBundle/Tests/Controller/DefaultControllerTest.php delete mode 100644 src/mgate/TresoBundle/Controller/DefaultController.php delete mode 100644 src/mgate/TresoBundle/Resources/doc/index.rst delete mode 100644 src/mgate/TresoBundle/Resources/translations/messages.fr.xlf delete mode 100644 src/mgate/TresoBundle/Resources/views/Default/index.html.twig delete mode 100644 src/mgate/TresoBundle/Tests/Controller/DefaultControllerTest.php delete mode 100644 src/mgate/UserBundle/Resources/translations/FOSUserBundle.fr.yml delete mode 100644 src/mgate/UserBundle/Resources/views/Default/index.html.twig delete mode 100644 src/mgate/UserBundle/Tests/Controller/DefaultControllerTest.php diff --git a/COPYRIGHT b/COPYRIGHT deleted file mode 100644 index 13bcbd19d..000000000 --- a/COPYRIGHT +++ /dev/null @@ -1,15 +0,0 @@ -Incipio is an enterprise resource planning for Junior Enterprise -Copyright (C) 2012-2014 Florian Lefevre. - -Incipio is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as -published by the Free Software Foundation, either version 3 of the -License, or (at your option) any later version. - -Incipio is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with Incipio as the file LICENSE. If not, see . diff --git a/src/mgate/CommentBundle/Controller/DefaultController.php b/src/mgate/CommentBundle/Controller/DefaultController.php index 8949e8482..fb50e21ce 100644 --- a/src/mgate/CommentBundle/Controller/DefaultController.php +++ b/src/mgate/CommentBundle/Controller/DefaultController.php @@ -15,11 +15,6 @@ class DefaultController extends Controller { - public function indexAction($name) - { - return $this->render('mgateCommentBundle:Default:index.html.twig', array('name' => $name)); - } - public function maintenanceAction() { $em = $this->getDoctrine()->getManager(); diff --git a/src/mgate/CommentBundle/Entity/CommentRepository.php b/src/mgate/CommentBundle/Entity/CommentRepository.php deleted file mode 100644 index da3f195fe..000000000 --- a/src/mgate/CommentBundle/Entity/CommentRepository.php +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Symfony2 is great - J'aime Symfony2 - - - - diff --git a/src/mgate/CommentBundle/Resources/views/Default/index.html.twig b/src/mgate/CommentBundle/Resources/views/Default/index.html.twig deleted file mode 100644 index 4ce626e9b..000000000 --- a/src/mgate/CommentBundle/Resources/views/Default/index.html.twig +++ /dev/null @@ -1 +0,0 @@ -Hello {{ name }}! diff --git a/src/mgate/CommentBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/CommentBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index 1d5753461..000000000 --- a/src/mgate/CommentBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,38 +0,0 @@ -. -*/ - -namespace mgate\CommentBundle\Tests\Controller; - -use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; - -class DefaultControllerTest extends WebTestCase -{ - public function testIndex() - { - $client = static::createClient(); - - $crawler = $client->request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/src/mgate/DashboardBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/DashboardBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index 6c0bec31b..000000000 --- a/src/mgate/DashboardBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/src/mgate/FormationBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/FormationBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index 4b2e222ad..000000000 --- a/src/mgate/FormationBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/src/mgate/PersonneBundle/Entity/Employe.php b/src/mgate/PersonneBundle/Entity/Employe.php index 25ba7e973..0088495f5 100644 --- a/src/mgate/PersonneBundle/Entity/Employe.php +++ b/src/mgate/PersonneBundle/Entity/Employe.php @@ -17,7 +17,7 @@ * mgate\PersonneBundle\Entity\Employe. * * @ORM\Table() - * @ORM\Entity(repositoryClass="mgate\PersonneBundle\Entity\EmployeRepository") + * @ORM\Entity */ class Employe { diff --git a/src/mgate/PersonneBundle/Entity/EmployeRepository.php b/src/mgate/PersonneBundle/Entity/EmployeRepository.php deleted file mode 100644 index 4787054a6..000000000 --- a/src/mgate/PersonneBundle/Entity/EmployeRepository.php +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Symfony2 is great - J'aime Symfony2 - - - - diff --git a/src/mgate/PersonneBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/PersonneBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index 0d31f414a..000000000 --- a/src/mgate/PersonneBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/src/mgate/PubliBundle/Controller/DefaultController.php b/src/mgate/PubliBundle/Controller/DefaultController.php deleted file mode 100644 index 27712b446..000000000 --- a/src/mgate/PubliBundle/Controller/DefaultController.php +++ /dev/null @@ -1,26 +0,0 @@ -render('mgatePubliBundle:Default:index.html.twig', array('name' => $name)); - } -} diff --git a/src/mgate/PubliBundle/Resources/views/Default/index.html.twig b/src/mgate/PubliBundle/Resources/views/Default/index.html.twig deleted file mode 100644 index 4ce626e9b..000000000 --- a/src/mgate/PubliBundle/Resources/views/Default/index.html.twig +++ /dev/null @@ -1 +0,0 @@ -Hello {{ name }}! diff --git a/src/mgate/PubliBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/PubliBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index 8e634a632..000000000 --- a/src/mgate/PubliBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/src/mgate/StatBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/StatBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index d02248351..000000000 --- a/src/mgate/StatBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/src/mgate/SuiviBundle/Controller/DefaultController.php b/src/mgate/SuiviBundle/Controller/DefaultController.php deleted file mode 100644 index 32ee45a4f..000000000 --- a/src/mgate/SuiviBundle/Controller/DefaultController.php +++ /dev/null @@ -1,26 +0,0 @@ -render('mgateSuiviBundle:Default:index.html.twig', array('name' => $name)); - } -} diff --git a/src/mgate/SuiviBundle/Resources/doc/index.rst b/src/mgate/SuiviBundle/Resources/doc/index.rst deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/mgate/SuiviBundle/Resources/translations/messages.fr.xlf b/src/mgate/SuiviBundle/Resources/translations/messages.fr.xlf deleted file mode 100644 index fd59e6c16..000000000 --- a/src/mgate/SuiviBundle/Resources/translations/messages.fr.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - Symfony2 is great - J'aime Symfony2 - - - - diff --git a/src/mgate/SuiviBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/SuiviBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index ae776c5e1..000000000 --- a/src/mgate/SuiviBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/src/mgate/TresoBundle/Controller/DefaultController.php b/src/mgate/TresoBundle/Controller/DefaultController.php deleted file mode 100644 index 3e9f9e192..000000000 --- a/src/mgate/TresoBundle/Controller/DefaultController.php +++ /dev/null @@ -1,22 +0,0 @@ -render('mgateTresoBundle:Default:index.html.twig', array('name' => $name)); - } -} diff --git a/src/mgate/TresoBundle/Resources/doc/index.rst b/src/mgate/TresoBundle/Resources/doc/index.rst deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/mgate/TresoBundle/Resources/translations/messages.fr.xlf b/src/mgate/TresoBundle/Resources/translations/messages.fr.xlf deleted file mode 100644 index fd59e6c16..000000000 --- a/src/mgate/TresoBundle/Resources/translations/messages.fr.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - Symfony2 is great - J'aime Symfony2 - - - - diff --git a/src/mgate/TresoBundle/Resources/views/Default/index.html.twig b/src/mgate/TresoBundle/Resources/views/Default/index.html.twig deleted file mode 100644 index 4ce626e9b..000000000 --- a/src/mgate/TresoBundle/Resources/views/Default/index.html.twig +++ /dev/null @@ -1 +0,0 @@ -Hello {{ name }}! diff --git a/src/mgate/TresoBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/TresoBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index 9fa9093a7..000000000 --- a/src/mgate/TresoBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -} diff --git a/src/mgate/UserBundle/Controller/DefaultController.php b/src/mgate/UserBundle/Controller/DefaultController.php index 0324fa242..a98ac3483 100644 --- a/src/mgate/UserBundle/Controller/DefaultController.php +++ b/src/mgate/UserBundle/Controller/DefaultController.php @@ -17,14 +17,6 @@ class DefaultController extends Controller { - /** - * @Secure(roles="ROLE_ADMIN") - */ - public function indexAction($name) - { - return $this->render('mgateUserBundle:Default:index.html.twig', array('name' => $name)); - } - /** * @Secure(roles="ROLE_ADMIN") */ diff --git a/src/mgate/UserBundle/Resources/translations/FOSUserBundle.fr.yml b/src/mgate/UserBundle/Resources/translations/FOSUserBundle.fr.yml deleted file mode 100644 index 1f58db454..000000000 --- a/src/mgate/UserBundle/Resources/translations/FOSUserBundle.fr.yml +++ /dev/null @@ -1,34 +0,0 @@ -# Registration -registration: - check_email: | - Un e-mail a été envoyé à l'adresse %email%. Il contient un lien d'activation sur lequel il vous faudra cliquer afin d'activer votre compte. - Regardez dans vos SPAMs ! - email: - subject: Bienvenue %username% ! - message: | - Bonjour %username% ! - - Pour valider votre compte utilisateur, merci de vous rendre sur %confirmationUrl% - - Cordialement, - Incipio. - -# Password resetting -resetting: - check_email: | - Un e-mail a été envoyé à l'adresse %email%. Il contient un lien sur lequel il vous faudra cliquer afin de réinitialiser votre mot de passe. - Regardez dans vos SPAMs ! - email: - subject: Réinitialisation de votre mot de passe - message: | - Bonjour %username% ! - - Pour réinitialiser votre mot de passe, merci de vous rendre sur %confirmationUrl% - - Cordialement, - Incipio. - - -# Form field labels -form: - current_password: "Mot de passe actuel du compte connecté" diff --git a/src/mgate/UserBundle/Resources/views/Default/index.html.twig b/src/mgate/UserBundle/Resources/views/Default/index.html.twig deleted file mode 100644 index 4ce626e9b..000000000 --- a/src/mgate/UserBundle/Resources/views/Default/index.html.twig +++ /dev/null @@ -1 +0,0 @@ -Hello {{ name }}! diff --git a/src/mgate/UserBundle/Tests/Controller/DefaultControllerTest.php b/src/mgate/UserBundle/Tests/Controller/DefaultControllerTest.php deleted file mode 100644 index 676463295..000000000 --- a/src/mgate/UserBundle/Tests/Controller/DefaultControllerTest.php +++ /dev/null @@ -1,26 +0,0 @@ -request('GET', '/hello/Fabien'); - - $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); - } -}