diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7adc8ea..2283ee3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,7 +68,7 @@ publish: before_script: - apk add jq script: - - APP_VERSION=$(cat package.json | jq .version -r) + - APP_VERSION=$(cat visionversion.json | jq .version -r) - docker login $registry_host -u $registry_user -p $registry_pass - docker build -f ./Dockerfile -t $registry_host/$registry_img:$APP_VERSION . - docker push $registry_host/$registry_img:$APP_VERSION diff --git a/_ressources/vision-logo.psd b/_ressources/vision-logo.psd deleted file mode 100644 index 4142008..0000000 Binary files a/_ressources/vision-logo.psd and /dev/null differ diff --git a/migrations/Version20220808160257.php b/migrations/Version20220808160257.php new file mode 100644 index 0000000..de2c965 --- /dev/null +++ b/migrations/Version20220808160257.php @@ -0,0 +1,31 @@ +addSql('ALTER TABLE notification CHANGE content content LONGTEXT NOT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('ALTER TABLE notification CHANGE content content VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT \'\' NOT NULL COLLATE `utf8mb4_unicode_ci`'); + } +} diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png new file mode 100644 index 0000000..a754f94 Binary files /dev/null and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png new file mode 100644 index 0000000..19fae1b Binary files /dev/null and b/public/android-chrome-512x512.png differ diff --git a/public/apple-touch-icon-114x114.png b/public/apple-touch-icon-114x114.png deleted file mode 100644 index 69b6da4..0000000 Binary files a/public/apple-touch-icon-114x114.png and /dev/null differ diff --git a/public/apple-touch-icon-120x120.png b/public/apple-touch-icon-120x120.png deleted file mode 100644 index d68cb46..0000000 Binary files a/public/apple-touch-icon-120x120.png and /dev/null differ diff --git a/public/apple-touch-icon-144x144.png b/public/apple-touch-icon-144x144.png deleted file mode 100644 index 2ca6bbc..0000000 Binary files a/public/apple-touch-icon-144x144.png and /dev/null differ diff --git a/public/apple-touch-icon-60x60.png b/public/apple-touch-icon-60x60.png deleted file mode 100644 index e0d0c30..0000000 Binary files a/public/apple-touch-icon-60x60.png and /dev/null differ diff --git a/public/apple-touch-icon-76x76.png b/public/apple-touch-icon-76x76.png deleted file mode 100644 index 67ed4de..0000000 Binary files a/public/apple-touch-icon-76x76.png and /dev/null differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index 24218d3..d4dd1ca 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/browserconfig.xml b/public/browserconfig.xml index 8bccff1..5cd27e3 100644 --- a/public/browserconfig.xml +++ b/public/browserconfig.xml @@ -1,11 +1,9 @@ - - - - - - #FFFFFF - - - \ No newline at end of file + + + + #603cba + + + diff --git a/public/css/custom.css b/public/css/custom.css index 6580115..2fe5484 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -58,7 +58,10 @@ ul.timeline > li:before { z-index: 400; } - +.logo-lg { + height: 30px; + width: 170px; +} .document-group-logo { max-width: 200px; diff --git a/public/favicon-144.png b/public/favicon-144.png deleted file mode 100644 index 656ec9c..0000000 Binary files a/public/favicon-144.png and /dev/null differ diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 0000000..8983493 Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-196.png b/public/favicon-196.png deleted file mode 100644 index db650b9..0000000 Binary files a/public/favicon-196.png and /dev/null differ diff --git a/public/favicon-32.png b/public/favicon-32.png deleted file mode 100644 index 89c78b9..0000000 Binary files a/public/favicon-32.png and /dev/null differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 0000000..2f281ec Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon-64.png b/public/favicon-64.png deleted file mode 100644 index 359d2d4..0000000 Binary files a/public/favicon-64.png and /dev/null differ diff --git a/public/favicon-96.png b/public/favicon-96.png deleted file mode 100644 index ac8f625..0000000 Binary files a/public/favicon-96.png and /dev/null differ diff --git a/public/favicon.ico b/public/favicon.ico index c927a72..2c8b93c 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicon.png b/public/favicon.png deleted file mode 100644 index cc4b0c1..0000000 Binary files a/public/favicon.png and /dev/null differ diff --git a/public/img/logo-sm.png b/public/img/logo-sm.png deleted file mode 100644 index e50e7bc..0000000 Binary files a/public/img/logo-sm.png and /dev/null differ diff --git a/public/img/logo.png b/public/img/logo.png deleted file mode 100644 index 40532c1..0000000 Binary files a/public/img/logo.png and /dev/null differ diff --git a/public/img/vision_logo_500x500.svg b/public/img/vision_logo_500x500.svg new file mode 100644 index 0000000..057c03a --- /dev/null +++ b/public/img/vision_logo_500x500.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/vision_logo_name_500x500.svg b/public/img/vision_logo_name_500x500.svg new file mode 100644 index 0000000..4d98e15 --- /dev/null +++ b/public/img/vision_logo_name_500x500.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/vision_long_2100x250.svg b/public/img/vision_long_2100x250.svg new file mode 100644 index 0000000..b5f02ec --- /dev/null +++ b/public/img/vision_long_2100x250.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/largetile.png b/public/largetile.png deleted file mode 100644 index ef07086..0000000 Binary files a/public/largetile.png and /dev/null differ diff --git a/public/mediumtile.png b/public/mediumtile.png deleted file mode 100644 index 78afb17..0000000 Binary files a/public/mediumtile.png and /dev/null differ diff --git a/public/mstile-144x144.png b/public/mstile-144x144.png new file mode 100644 index 0000000..425bf1f Binary files /dev/null and b/public/mstile-144x144.png differ diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png new file mode 100644 index 0000000..444f61a Binary files /dev/null and b/public/mstile-150x150.png differ diff --git a/public/mstile-310x150.png b/public/mstile-310x150.png new file mode 100644 index 0000000..58f3ee3 Binary files /dev/null and b/public/mstile-310x150.png differ diff --git a/public/mstile-310x310.png b/public/mstile-310x310.png new file mode 100644 index 0000000..3da9f81 Binary files /dev/null and b/public/mstile-310x310.png differ diff --git a/public/mstile-70x70.png b/public/mstile-70x70.png new file mode 100644 index 0000000..0dc0f28 Binary files /dev/null and b/public/mstile-70x70.png differ diff --git a/public/robot.txt b/public/robot.txt new file mode 100644 index 0000000..77470cb --- /dev/null +++ b/public/robot.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg new file mode 100644 index 0000000..81f5abb --- /dev/null +++ b/public/safari-pinned-tab.svg @@ -0,0 +1,59 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..b20abb7 --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/public/smalltile.png b/public/smalltile.png deleted file mode 100644 index 02586ac..0000000 Binary files a/public/smalltile.png and /dev/null differ diff --git a/src/Controller/AdminController.php b/src/Controller/AdminController.php index da70ea4..9ed442b 100644 --- a/src/Controller/AdminController.php +++ b/src/Controller/AdminController.php @@ -10,6 +10,7 @@ use App\Form\AdminRankType; use App\Form\AdminUserType; use App\Form\SearchBarType; use App\Form\AdminGroupType; +use Psr\Log\LoggerInterface; use App\Form\AdminSubGroupType; use App\Repository\UserRepository; use App\Repository\GroupRepository; @@ -33,10 +34,12 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; class AdminController extends AbstractController { private Security $security; + private LoggerInterface $logger; - public function __construct(Security $security) + public function __construct(Security $security, LoggerInterface $logger) { $this->security = $security; + $this->logger = $logger; } #[Route('/', name: 'index')] @@ -172,6 +175,8 @@ class AdminController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_saving_user'); return $this->redirectToRoute('admin_user_edit', ['id' => $User->getId()]); @@ -274,6 +279,8 @@ class AdminController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_creating_group'); } @@ -302,6 +309,8 @@ class AdminController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_group'); } @@ -363,6 +372,8 @@ class AdminController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_rank'); } @@ -395,6 +406,8 @@ class AdminController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_creating_rank'); } @@ -478,6 +491,8 @@ class AdminController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_subgroup'); } @@ -510,6 +525,8 @@ class AdminController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_creating_subgroup'); } diff --git a/src/Controller/CommentController.php b/src/Controller/CommentController.php index ec5432e..068eafc 100644 --- a/src/Controller/CommentController.php +++ b/src/Controller/CommentController.php @@ -5,6 +5,7 @@ namespace App\Controller; use App\Entity\Comment; use App\Entity\Document; use App\Form\CommentType; +use Psr\Log\LoggerInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; @@ -15,6 +16,13 @@ use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; #[Route('/comment', name: 'comment_')] class CommentController extends AbstractController { + private LoggerInterface $logger; + + public function __construct(LoggerInterface $logger) + { + $this->logger = $logger; + } + #[Route('/create/{Document}', name: 'create')] #[IsGranted('view', subject: 'Document', message: 'granted_not_allowed_comment')] public function create(Document $Document, Request $request): Response @@ -33,6 +41,8 @@ class CommentController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_creating_comment'); @@ -89,6 +99,8 @@ class CommentController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_comment'); diff --git a/src/Controller/DirectoryController.php b/src/Controller/DirectoryController.php index a74e7ed..00d0eb3 100644 --- a/src/Controller/DirectoryController.php +++ b/src/Controller/DirectoryController.php @@ -5,6 +5,7 @@ namespace App\Controller; use App\Entity\Directory; use App\Form\DirectoryType; use App\Form\SearchBarType; +use Psr\Log\LoggerInterface; use App\Repository\DocumentRepository; use App\Repository\DirectoryRepository; use Doctrine\ORM\EntityManagerInterface; @@ -20,6 +21,14 @@ use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; #[Route('/directory', name: 'directory_')] class DirectoryController extends AbstractController { + private LoggerInterface $logger; + + public function __construct(LoggerInterface $logger) + { + $this->logger = $logger; + } + + #[Route('/', name: 'list')] #[Route('/wanted', name: 'list_wanted')] #[Route('/dead', name: 'list_dead')] @@ -125,6 +134,8 @@ class DirectoryController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_creating_directory'); @@ -156,6 +167,8 @@ class DirectoryController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_directory'); @@ -265,6 +278,8 @@ class DirectoryController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_merging_directory'); return $this->redirectToRoute('directory_view', ['id' => $deleted->getId()]); @@ -281,6 +296,8 @@ class DirectoryController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_merging_directory'); return $this->redirectToRoute('directory_view', ['id' => $deletedId]); diff --git a/src/Controller/DocumentController.php b/src/Controller/DocumentController.php index 9579662..0ede27f 100644 --- a/src/Controller/DocumentController.php +++ b/src/Controller/DocumentController.php @@ -8,6 +8,7 @@ use App\Entity\Document; use App\Entity\Directory; use App\Form\CommentType; use App\Form\SearchBarType; +use Psr\Log\LoggerInterface; use App\Repository\DocumentRepository; use Doctrine\ORM\EntityManagerInterface; use Knp\Component\Pager\PaginatorInterface; @@ -24,9 +25,11 @@ use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInt class DocumentController extends AbstractController { private TokenStorageInterface $TokenStorage; + private LoggerInterface $logger; - public function __construct(TokenStorageInterface $TokenStorage) + public function __construct(TokenStorageInterface $TokenStorage, LoggerInterface $logger) { + $this->logger = $logger; $this->TokenStorage = $TokenStorage; } @@ -163,6 +166,8 @@ class DocumentController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_creating_document'); @@ -238,6 +243,8 @@ class DocumentController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_document'); diff --git a/src/Controller/GroupController.php b/src/Controller/GroupController.php index 2612173..53458dc 100644 --- a/src/Controller/GroupController.php +++ b/src/Controller/GroupController.php @@ -5,6 +5,7 @@ namespace App\Controller; use App\Entity\User; use App\Form\MotdType; use App\Form\EmployeeType; +use Psr\Log\LoggerInterface; use App\Repository\TemplateRepository; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; @@ -15,6 +16,13 @@ use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; #[Route('/group', name: 'group_')] class GroupController extends AbstractController { + private LoggerInterface $logger; + + public function __construct(LoggerInterface $logger) + { + $this->logger = $logger; + } + #[Route('/', name: 'index')] public function index(Request $request, TemplateRepository $TemplateRepository): Response { @@ -45,6 +53,8 @@ class GroupController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_motd'); } @@ -188,6 +198,8 @@ class GroupController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_employee'); } diff --git a/src/Controller/MeController.php b/src/Controller/MeController.php index e8da58a..ad602f3 100644 --- a/src/Controller/MeController.php +++ b/src/Controller/MeController.php @@ -4,6 +4,7 @@ namespace App\Controller; use App\Form\MeType; use App\Form\MePasswordType; +use Psr\Log\LoggerInterface; use Knp\Component\Pager\PaginatorInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\Security; @@ -16,10 +17,12 @@ use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface; class MeController extends AbstractController { private Security $security; + private LoggerInterface $logger; - public function __construct(Security $security) + public function __construct(Security $security, LoggerInterface $logger) { $this->security = $security; + $this->logger = $logger; } #[Route('/', name: 'index')] @@ -40,6 +43,8 @@ class MeController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_profile'); @@ -88,6 +93,8 @@ class MeController extends AbstractController } catch (\Throwable $th) { if ($_ENV['APP_ENV'] === 'dev') { throw $th; //DEBUG + } else { + $this->logger->error($th); } $this->addFlash('danger', 'alert_error_editing_password'); diff --git a/src/Entity/Notification.php b/src/Entity/Notification.php index 89c4cce..f6ead51 100644 --- a/src/Entity/Notification.php +++ b/src/Entity/Notification.php @@ -35,7 +35,7 @@ class Notification private $icon; /** - * @ORM\Column(type="string", length=255) + * @ORM\Column(type="text") */ private $content; diff --git a/src/Form/CommentType.php b/src/Form/CommentType.php index b5b94c8..3acc490 100644 --- a/src/Form/CommentType.php +++ b/src/Form/CommentType.php @@ -14,7 +14,9 @@ class CommentType extends AbstractType public function buildForm(FormBuilderInterface $builder, array $options) { $builder - ->add('content', ContentType::class) + ->add('content', ContentType::class, [ + 'label' => false, + ]) ->add('submit', SubmitType::class, [ 'label' => 'form_button_submit', 'attr' => ['class' => 'btn-primary'], diff --git a/src/Repository/Tools/DocumentRepositoriesExtension.php b/src/Repository/Tools/DocumentRepositoriesExtension.php index 90d2f70..0721497 100644 --- a/src/Repository/Tools/DocumentRepositoriesExtension.php +++ b/src/Repository/Tools/DocumentRepositoriesExtension.php @@ -162,7 +162,10 @@ class DocumentRepositoriesExtension extends ServiceEntityRepository if (null === $this->qbsearch) { $this->qbsearch = $this ->createQueryBuilder("s")->where('s.title LIKE :searchkey'); - $this->qbsearch->orWhere('s.id LIKE :searchkey'); + if (is_numeric($search)) { + $this->qbsearch->orWhere('s.id = ' . $search); + } + $searchTime = str_replace('/', '-', $search); if (($timestamp = strtotime($searchTime)) != false) { $this->qbsearch->where('s.createdAt LIKE :searchkeydate') diff --git a/src/Twig/VersionExtension.php b/src/Twig/VersionExtension.php index 70a4d1c..5e3b032 100644 --- a/src/Twig/VersionExtension.php +++ b/src/Twig/VersionExtension.php @@ -17,6 +17,6 @@ class VersionExtension extends AbstractExtension public function visionVersion() { - return json_decode(file_get_contents('../package.json'))->version; + return json_decode(file_get_contents('../visionversion.json'))->version; } } diff --git a/templates/base.html.twig b/templates/base.html.twig index e681d7b..581e618 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -14,21 +14,15 @@ - - - - - - - - - - - - - - - + + + + + + + + + @@ -48,7 +42,7 @@ {% endif %} - +
@@ -60,7 +54,7 @@
@@ -87,8 +81,8 @@ diff --git a/templates/document/view.html.twig b/templates/document/view.html.twig index 0636e94..9f24137 100644 --- a/templates/document/view.html.twig +++ b/templates/document/view.html.twig @@ -78,8 +78,8 @@
-
-

{% trans %}title_comments{% endtrans %} {% if shared is not defined %} {% trans %}button_add_comment{% endtrans %}{% endif %}


+
+

{% trans %}title_comments{% endtrans %} {% if shared is not defined %} {% trans %}button_add_comment{% endtrans %}{% endif %}


    @@ -92,7 +92,13 @@ {% endfor %}
-
+
+ {% if shared is not defined %} +
+

{% trans %}title_comment_add{% endtrans %}


+ {{ form(formComment) }} +
+ {% endif %}
@@ -108,24 +114,6 @@ {% endif %}
-{% if shared is not defined %} - - -{% endif %} {% endblock %} diff --git a/translations/messages+intl-icu.en.yaml b/translations/messages+intl-icu.en.yaml index 5b2bfbf..7c95218 100644 --- a/translations/messages+intl-icu.en.yaml +++ b/translations/messages+intl-icu.en.yaml @@ -635,6 +635,7 @@ title_can_be_removed_at: Can be removed at title_certificate: Certificat title_certificates: Certificates title_color: Color +title_comment_add: Add a comment title_comment_belong_document: This belong to title_comment_edition: Edit a comment title_comments: Comments diff --git a/translations/messages+intl-icu.fr.yaml b/translations/messages+intl-icu.fr.yaml index 526f56f..b6a92ff 100644 --- a/translations/messages+intl-icu.fr.yaml +++ b/translations/messages+intl-icu.fr.yaml @@ -634,6 +634,7 @@ title_can_be_removed_at: Peut être retiré le title_certificate: Certificat title_certificates: Certificats title_color: Couleur +title_comment_add: Ajouter un commentaire title_comment_belong_document: Ce document appartient title_comment_edition: Éditer un commentaire title_comments: Commentaires diff --git a/package.json b/visionversion.json similarity index 100% rename from package.json rename to visionversion.json