From 9afd79ead8ac51bf9b446757ab5bb8d48cb37cda Mon Sep 17 00:00:00 2001 From: Philippe Beck Date: Wed, 8 Feb 2023 08:48:22 +0400 Subject: [PATCH 01/10] Add year & owner to license --- LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index 427417b6..8a6be996 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright 2023 Philippe Beck Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 23f50f1ab7fcb103719dbe83902bd308c8b55dc3 Mon Sep 17 00:00:00 2001 From: Philippe Beck Date: Wed, 8 Feb 2023 08:48:45 +0400 Subject: [PATCH 02/10] Use license to create the LegalView content --- src/views/LegalView.vue | 139 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 138 insertions(+), 1 deletion(-) diff --git a/src/views/LegalView.vue b/src/views/LegalView.vue index 6d6492dc..a1c6d7a6 100644 --- a/src/views/LegalView.vue +++ b/src/views/LegalView.vue @@ -1,3 +1,140 @@ From bbf145c8d3b80414502f2e59dc82c43e611709a3 Mon Sep 17 00:00:00 2001 From: Philippe Beck Date: Wed, 8 Feb 2023 09:47:38 +0400 Subject: [PATCH 03/10] Add label to FieldElt type select of creators --- src/components/creators/CreateArticle.vue | 2 +- src/components/creators/CreateLink.vue | 2 +- src/components/creators/CreateProduct.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/creators/CreateArticle.vue b/src/components/creators/CreateArticle.vue index 00662d00..25ad6658 100644 --- a/src/components/creators/CreateArticle.vue +++ b/src/components/creators/CreateArticle.vue @@ -85,7 +85,7 @@ Category diff --git a/src/components/creators/CreateLink.vue b/src/components/creators/CreateLink.vue index 9b81ca08..11c79836 100644 --- a/src/components/creators/CreateLink.vue +++ b/src/components/creators/CreateLink.vue @@ -52,7 +52,7 @@ Category diff --git a/src/components/creators/CreateProduct.vue b/src/components/creators/CreateProduct.vue index 40002b66..87a0f261 100644 --- a/src/components/creators/CreateProduct.vue +++ b/src/components/creators/CreateProduct.vue @@ -119,7 +119,7 @@ Category From 599f619f76e29abc260c620d72e52d9dd83388e4 Mon Sep 17 00:00:00 2001 From: Philippe Beck Date: Wed, 8 Feb 2023 10:04:09 +0400 Subject: [PATCH 04/10] Create constants for check available & reference --- constants.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/constants.js b/constants.js index b7ef9e9d..82991ced 100644 --- a/constants.js +++ b/constants.js @@ -39,6 +39,8 @@ export default { "Travel" ], + CAT_LINK: "HTML5", + CATS_LINK : [ "HTML5", "CSS3", @@ -70,13 +72,16 @@ export default { "Sports", ], + CHECK_AVAILABLE : " is not available !", + CHECK_REFERENCE : " is already referenced !", + + FORGOT_CONFIRM : "Do you confirm sending a new password ?", + FORGOT_SUBJECT : "New Password", + FORGOT_TEXT : "This is your new Password, keep it safe : ", + ROLES_USER : [ "admin", "author", "user" ], - - FORGOT_CONFIRM : "Do you confirm sending a new password ?", - FORGOT_SUBJECT : "New Password", - FORGOT_TEXT : "This is your new Password, keep it safe : ", } From af4d42019818313183152e8e7ed6703d7431133a Mon Sep 17 00:00:00 2001 From: Philippe Beck Date: Wed, 8 Feb 2023 10:04:58 +0400 Subject: [PATCH 05/10] Usage of check const to all views --- src/components/connectors/SignUp.vue | 6 ++++-- src/components/creators/CreateArticle.vue | 4 ++-- src/components/creators/CreateLink.vue | 5 +++-- src/components/creators/CreateProduct.vue | 4 ++-- src/components/managers/ListArticles.vue | 4 ++-- src/components/managers/ListLinks.vue | 4 ++-- src/components/managers/ListProducts.vue | 4 ++-- src/components/managers/ListUsers.vue | 4 ++-- 8 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/components/connectors/SignUp.vue b/src/components/connectors/SignUp.vue index 5dfb9e32..c9384b14 100644 --- a/src/components/connectors/SignUp.vue +++ b/src/components/connectors/SignUp.vue @@ -81,6 +81,8 @@