From 0a2e45eac4cde2064a78d7aa9b04a2d35c229ada Mon Sep 17 00:00:00 2001 From: Parth Detroja Date: Wed, 21 Jan 2026 10:16:09 +0530 Subject: [PATCH 01/52] [AHE-3604] Can I know the use of notification1 ? because already one and notification folders there - In this task 'notification1' has been removed and move working functionality to 'notification' folder --- .../{notification1 => notification}/init.js | 0 Modules/notification/routes.js | 197 ++++++++++++++-- Modules/notification1/routes.js | 213 ------------------ Modules/swaggerAPI/init.js | 2 +- index.js | 2 +- 5 files changed, 185 insertions(+), 229 deletions(-) rename Modules/{notification1 => notification}/init.js (100%) delete mode 100644 Modules/notification1/routes.js diff --git a/Modules/notification1/init.js b/Modules/notification/init.js similarity index 100% rename from Modules/notification1/init.js rename to Modules/notification/init.js diff --git a/Modules/notification/routes.js b/Modules/notification/routes.js index 56405eb..cf5e36f 100644 --- a/Modules/notification/routes.js +++ b/Modules/notification/routes.js @@ -1,44 +1,213 @@ -const ctrl = require('./controller'); +const { HandleBothNotification } = require('../tasks/helpers/handleNotification'); +const { HandleHistory } = require('../tasks/helpers/helper'); exports.init = (app) => { /** * @swagger * components: * schemas: - * insertnotification: + * sendNotification: * type: object * required: - * - uid - * - email + * - companyId + * - key + * - notificationTitle + * - notificationKey + * - notificationId + * - companyOwnerId * properties: - * uid: + * companyId: * type: string * required: true - * description: The uid of user. - * email: + * description: This is the dcoument id of selected company. + * key: * type: string * required: true - * description: The email of user. + * description: This is the type of notification like project or task. + * notificationTitle: + * type: string + * required: true + * description: This is the title for the notification email subject. + * notificationKey: + * type: string + * required: true + * description: This is the key unique key name of notification. + * notificationId: + * type: string + * required: true + * description: This is the document id of notification collection. + * companyOwnerId: + * type: string + * required: true + * description: This is the document id of owner user. + */ + /** + * @swagger + * /api/v1/sendNotification: + * post: + * description: This API is used for send notification email + * tags: [Notifications] + * requestBody: + * required: true + * content: + * application/json: + * schema: + * $ref: '#/components/schemas/sendNotification' + * responses: + * "200": + * description: status:true/false,statusText:message + */ + + /** + * Send Notification Mail API + */ + // app.post('/api/v1/sendNotification', ctrl.sendNotification); + + /** + * @swagger + * components: + * schemas: + * handleHistory: + * type: object + * required: + * - type + * - companyId + * - projectId + * - taskId + * - object + * - userData + * properties: + * type: + * type: string + * required: true + * description: This field is to specify the type of notification. + * companyId: + * type: string + * required: true + * description: This is the document id of company. + * projectId: + * type: string + * required: true + * description: This is the document id of project. + * taskId: + * type: string + * required: true + * description: This is the document id of task. + * object: + * type: object + * required: true + * description: This field consist object for the history message. + * userData: + * type: object + * required: true + * description: This object consists of Employee_Name, id, companyOwnerId. + */ + /** + * @swagger + * /api/v1/handleHistory: + * post: + * description: This API is used for send history + * tags: [Notifications] + * requestBody: + * required: true + * content: + * application/json: + * schema: + * $ref: '#/components/schemas/handleHistory' + * responses: + * "200": + * description: status:true/false,statusText:message + */ + + /** + * Send Notification Mail API + */ + app.post('/api/v1/handleHistory', (req, res) => { + HandleHistory.apply(null, Object.values(req.body)) + .then(() => { + res.send({status: true, statusText: "History added successfully."}); + }) + .catch((error) => { + res.send({status: false, statusText: error.message}) + }) + }) + + /** + * @swagger + * components: + * schemas: + * handleNotification: + * type: object + * required: + * - folderId + * - sprintId + * - type + * - companyId + * - projectId + * - taskId + * - object + * - userData + * properties: + * folderId: + * type: string + * required: true + * description: This field is for folderId. + * sprintId: + * type: string + * required: true + * description: This field is for sprintId. + * type: + * type: string + * required: true + * description: This field is to specify the type of notification. + * companyId: + * type: string + * required: true + * description: This is the document id of company. + * projectId: + * type: string + * required: true + * description: This is the document id of project. + * taskId: + * type: string + * required: true + * description: This is the document id of task. + * object: + * type: object + * required: true + * description: This field consist object for the history message. + * userData: + * type: object + * required: true + * description: This object consists of Employee_Name, id, companyOwnerId. */ /** * @swagger - * /api/v1/insertnotification: + * /api/v1/handleNotification: * post: - * description: This API is used for send email verication link. - * tags: [Auth APIs] + * description: This API is used for send history + * tags: [Notifications] * requestBody: * required: true * content: * application/json: * schema: - * $ref: '#/components/schemas/insertnotification' + * $ref: '#/components/schemas/handleNotification' * responses: * "200": * description: status:true/false,statusText:message */ /** - * Send Verification Mail API + * Send Notification Mail API */ - app.post('/api/v1/insertnotification', ctrl.insertnotification); + app.post('/api/v1/handleNotification', (req, res) => { + HandleBothNotification(req.body) + .then(() => { + res.send({status: false, statusText: "notification sent successfully."}); + }) + .catch((error) => { + res.send({status: false, statusText: error.message}) + }) + }) }; \ No newline at end of file diff --git a/Modules/notification1/routes.js b/Modules/notification1/routes.js deleted file mode 100644 index cf5e36f..0000000 --- a/Modules/notification1/routes.js +++ /dev/null @@ -1,213 +0,0 @@ -const { HandleBothNotification } = require('../tasks/helpers/handleNotification'); -const { HandleHistory } = require('../tasks/helpers/helper'); - -exports.init = (app) => { - /** - * @swagger - * components: - * schemas: - * sendNotification: - * type: object - * required: - * - companyId - * - key - * - notificationTitle - * - notificationKey - * - notificationId - * - companyOwnerId - * properties: - * companyId: - * type: string - * required: true - * description: This is the dcoument id of selected company. - * key: - * type: string - * required: true - * description: This is the type of notification like project or task. - * notificationTitle: - * type: string - * required: true - * description: This is the title for the notification email subject. - * notificationKey: - * type: string - * required: true - * description: This is the key unique key name of notification. - * notificationId: - * type: string - * required: true - * description: This is the document id of notification collection. - * companyOwnerId: - * type: string - * required: true - * description: This is the document id of owner user. - */ - /** - * @swagger - * /api/v1/sendNotification: - * post: - * description: This API is used for send notification email - * tags: [Notifications] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/sendNotification' - * responses: - * "200": - * description: status:true/false,statusText:message - */ - - /** - * Send Notification Mail API - */ - // app.post('/api/v1/sendNotification', ctrl.sendNotification); - - /** - * @swagger - * components: - * schemas: - * handleHistory: - * type: object - * required: - * - type - * - companyId - * - projectId - * - taskId - * - object - * - userData - * properties: - * type: - * type: string - * required: true - * description: This field is to specify the type of notification. - * companyId: - * type: string - * required: true - * description: This is the document id of company. - * projectId: - * type: string - * required: true - * description: This is the document id of project. - * taskId: - * type: string - * required: true - * description: This is the document id of task. - * object: - * type: object - * required: true - * description: This field consist object for the history message. - * userData: - * type: object - * required: true - * description: This object consists of Employee_Name, id, companyOwnerId. - */ - /** - * @swagger - * /api/v1/handleHistory: - * post: - * description: This API is used for send history - * tags: [Notifications] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/handleHistory' - * responses: - * "200": - * description: status:true/false,statusText:message - */ - - /** - * Send Notification Mail API - */ - app.post('/api/v1/handleHistory', (req, res) => { - HandleHistory.apply(null, Object.values(req.body)) - .then(() => { - res.send({status: true, statusText: "History added successfully."}); - }) - .catch((error) => { - res.send({status: false, statusText: error.message}) - }) - }) - - /** - * @swagger - * components: - * schemas: - * handleNotification: - * type: object - * required: - * - folderId - * - sprintId - * - type - * - companyId - * - projectId - * - taskId - * - object - * - userData - * properties: - * folderId: - * type: string - * required: true - * description: This field is for folderId. - * sprintId: - * type: string - * required: true - * description: This field is for sprintId. - * type: - * type: string - * required: true - * description: This field is to specify the type of notification. - * companyId: - * type: string - * required: true - * description: This is the document id of company. - * projectId: - * type: string - * required: true - * description: This is the document id of project. - * taskId: - * type: string - * required: true - * description: This is the document id of task. - * object: - * type: object - * required: true - * description: This field consist object for the history message. - * userData: - * type: object - * required: true - * description: This object consists of Employee_Name, id, companyOwnerId. - */ - /** - * @swagger - * /api/v1/handleNotification: - * post: - * description: This API is used for send history - * tags: [Notifications] - * requestBody: - * required: true - * content: - * application/json: - * schema: - * $ref: '#/components/schemas/handleNotification' - * responses: - * "200": - * description: status:true/false,statusText:message - */ - - /** - * Send Notification Mail API - */ - app.post('/api/v1/handleNotification', (req, res) => { - HandleBothNotification(req.body) - .then(() => { - res.send({status: false, statusText: "notification sent successfully."}); - }) - .catch((error) => { - res.send({status: false, statusText: error.message}) - }) - }) -}; \ No newline at end of file diff --git a/Modules/swaggerAPI/init.js b/Modules/swaggerAPI/init.js index 13446e7..37a066e 100644 --- a/Modules/swaggerAPI/init.js +++ b/Modules/swaggerAPI/init.js @@ -23,7 +23,7 @@ exports.init = (app, apiUrl) => { apis: [ "./Modules/auth/routes.js", "./Modules/auth/routes2.js", - "./Modules/notification1/routes.js", + "./Modules/notification/routes.js", "./Modules/import_settings1/routes.js", "./Modules/remove-sprint-operations/routes.js", "./Modules/logTime/routes.js", diff --git a/index.js b/index.js index 1107e26..c16b148 100644 --- a/index.js +++ b/index.js @@ -99,7 +99,7 @@ function initializeControllers() { }) //IMPORT CUSTOM FILES require('./Modules/auth/init').init(app); - require('./Modules/notification1/init').init(app); + require('./Modules/notification/init').init(app); require('./Modules/import_settings/init').init(app); require('./Modules/tasks/init.js').init(app); require('./Modules/sprints/init.js').init(app); From f92d2e3ef588caa8403a021182ffc38a9653916d Mon Sep 17 00:00:00 2001 From: Parth Detroja Date: Wed, 21 Jan 2026 10:22:20 +0530 Subject: [PATCH 02/52] Removed 'dashboard-old' folder --- .../component/CalendarComponent.vue | 321 ------- .../CalendarTaskDisplayComponent.vue | 48 - .../component/DisplayComponent.vue | 232 ----- .../component/MainLabledComponent.vue | 293 ------ .../component/QueueListComponent.vue | 218 ----- .../component/SingleQueueListComponent.vue | 37 - .../src/plugins/dashboard-old/css/style.css | 333 ------- .../plugins/dashboard-old/dashboardPlugin.js | 18 - frontend/src/plugins/dashboard-old/router.js | 22 - .../src/plugins/dashboard-old/views/Home.vue | 840 ------------------ 10 files changed, 2362 deletions(-) delete mode 100644 frontend/src/plugins/dashboard-old/component/CalendarComponent.vue delete mode 100644 frontend/src/plugins/dashboard-old/component/CalendarTaskDisplayComponent.vue delete mode 100644 frontend/src/plugins/dashboard-old/component/DisplayComponent.vue delete mode 100644 frontend/src/plugins/dashboard-old/component/MainLabledComponent.vue delete mode 100644 frontend/src/plugins/dashboard-old/component/QueueListComponent.vue delete mode 100644 frontend/src/plugins/dashboard-old/component/SingleQueueListComponent.vue delete mode 100644 frontend/src/plugins/dashboard-old/css/style.css delete mode 100644 frontend/src/plugins/dashboard-old/dashboardPlugin.js delete mode 100644 frontend/src/plugins/dashboard-old/router.js delete mode 100644 frontend/src/plugins/dashboard-old/views/Home.vue diff --git a/frontend/src/plugins/dashboard-old/component/CalendarComponent.vue b/frontend/src/plugins/dashboard-old/component/CalendarComponent.vue deleted file mode 100644 index 5347448..0000000 --- a/frontend/src/plugins/dashboard-old/component/CalendarComponent.vue +++ /dev/null @@ -1,321 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/src/plugins/dashboard-old/component/CalendarTaskDisplayComponent.vue b/frontend/src/plugins/dashboard-old/component/CalendarTaskDisplayComponent.vue deleted file mode 100644 index 5c04d59..0000000 --- a/frontend/src/plugins/dashboard-old/component/CalendarTaskDisplayComponent.vue +++ /dev/null @@ -1,48 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/src/plugins/dashboard-old/component/DisplayComponent.vue b/frontend/src/plugins/dashboard-old/component/DisplayComponent.vue deleted file mode 100644 index b750567..0000000 --- a/frontend/src/plugins/dashboard-old/component/DisplayComponent.vue +++ /dev/null @@ -1,232 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/src/plugins/dashboard-old/component/MainLabledComponent.vue b/frontend/src/plugins/dashboard-old/component/MainLabledComponent.vue deleted file mode 100644 index 8c4dc66..0000000 --- a/frontend/src/plugins/dashboard-old/component/MainLabledComponent.vue +++ /dev/null @@ -1,293 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/src/plugins/dashboard-old/component/QueueListComponent.vue b/frontend/src/plugins/dashboard-old/component/QueueListComponent.vue deleted file mode 100644 index 5b06de6..0000000 --- a/frontend/src/plugins/dashboard-old/component/QueueListComponent.vue +++ /dev/null @@ -1,218 +0,0 @@ - - - - \ No newline at end of file diff --git a/frontend/src/plugins/dashboard-old/component/SingleQueueListComponent.vue b/frontend/src/plugins/dashboard-old/component/SingleQueueListComponent.vue deleted file mode 100644 index 45affe1..0000000 --- a/frontend/src/plugins/dashboard-old/component/SingleQueueListComponent.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/src/plugins/dashboard-old/css/style.css b/frontend/src/plugins/dashboard-old/css/style.css deleted file mode 100644 index 7d0bed5..0000000 --- a/frontend/src/plugins/dashboard-old/css/style.css +++ /dev/null @@ -1,333 +0,0 @@ -.list-move, -.list-enter-active, -.list-leave-active { - transition: all 0.6s ease; -} - -.list-enter-from, -.list-leave-to { - opacity: 0; - transform: translateX(2px); -} -.list2-move, -.list2-enter-active, -.list2-leave-active { - transition: all 0.6s linear; -} - -.list2-enter-from, -.list2-leave-to { - opacity: 0; -} -.h-100 { - height: 100% !important; -} -.dashboard__left .active__tab::after { - content: ''; - width: 37px; - height: 3px; - background-color: #3845B3; - position: absolute; - bottom: 0px; - left: 0px; - border-radius: 3px; -} -.main__labled-component h3{ - min-width: 100px; - max-width: 140px; - width: auto; - padding-left: 20px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - display: inline-block; -} -.priority__component--wrapper span { - font-size: 12px; - line-height: 17.76px; - position: relative; - top: 1px; -} -.priority__component--wrapper .priority__component { - border: 1px solid #dfe1e6; - width: 24px; - height: 24px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 50%; -} -.dashboard__left span.font-size-12.font-weight-400 { - margin-left: 0px !important; -} -.dashboard__left{ - width: 55.8%; - padding: 15px 56.37px 20px 35px; - flex: 0 0 auto; - height: calc(100vh - 106px); - overflow: auto; -} -.dashboard__right{ - /* width: 44.2%; */ - width: 47%; - padding: 33px 27.6px 30px 28px; - height: calc(100vh - 106px); - overflow: hidden; -} -.calendar__detail--wrapper{ - border: 1px solid #CFCFCF; - box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05); - height: calc(100vh - 201px); - width: 100%; -} -.home-maincomponent{ - width: 100%; -} -.queue__list-task { - background: #DFE1E6; - filter: drop-shadow(0px 1px 8px rgba(0, 0, 0, 0.10)); - max-width: 750px; - padding-right: 5px; - overflow: auto; -} - -.queue__list-taskdetail { - padding: 11.5px 10px 11.5px 20px; - background: #fff; - margin: 5px 0px 5px 5px; - min-width: 313px; - width: 313px; - position: relative; -} -.trending__comp-taskdetail { - padding: 11.5px 20px; - background: #fff; - filter: drop-shadow(0px 1px 8px rgba(0, 0, 0, 0.10)); - min-width: 313px; - width: 100%; - margin-right: 7px; -} -.status__color { - width: 10px; - height: 10px; - background: #3845B3; - border-radius: 1px; - margin-right: 10px; -} -.trending__comp-task { - overflow-x :auto; - max-width: 953px; - width: 100%; -} -.queue__list-taskdetail-wrapper, .trending__comp-taskdetail-wrapper{ - width: 100%; - min-width: min-content; - max-width: fit-content; -} -.calnedar__projectstatus--timecomponent { - padding: 0px 11px 0px 10px; - max-height: calc(100vh - 333px); - margin-top: 10px; -} -.calendar__taskdisplay--wrapper{ - border-radius: 4px; - border: 0.5px solid #FFBD10; - background: rgba(255, 189, 16, 0.10); - padding: 10px 44px 10px 20px; -} -.calendar__taskdisplay--wrapper-skelaton{ - border-radius: 4px; - border: 0.5px solid #cfcfcf; - padding: 10px 44px 10px 20px; -} -.calendar__taskdisplay--wrapper:last-child{ - margin-bottom: 0 !important; -} -.queue__list-taskdetail:hover .queue__list-closebtn { - display: flex; -} -.queue__list-taskdetail .queue__list-closebtn { - display: none; -} -.calnedar__projectstatus--timecomponent::-webkit-scrollbar{display: none;} -.due-date-home-calender-wrapper{ - border:1px solid #DFE1E6; - height: 30px; - background-color: #FFFFFF; - width: 143px; - min-width: 143px; - z-index: 0; - position: relative; - top: -2px; -} -.due-date-home-calender-wrapper .due-date-home-cal { - margin: 3px 10px 0; -} -.due-date-home-calender-wrapper .due-date-home-cal .date_format_cal.calendar-comp::placeholder{font-size: 16px !important;color: #000 !important;} -.due-date-home-calender-wrapper .due-date-home-cal .date_format_cal.calendar-comp{font-size: 16px !important;color: #000 !important;} -.lable-status-hover:hover { - color: #2F3990; - font-weight: 500; -} -.day__status { - font-weight: 400; -} -.calendar__title{ - line-height: 33px; -} -.btn__task{ - opacity: 0.6; - padding : 4px 14px 2px; - line-height: 18px; -} -.calendar__component--header{ - height: 70px; -} -.calendar_days{ - min-width: 32px; - height: 30px; -} -.right__side{ - right: 2px; -} -.left__days{ - left:2px; -} -.due-date-home-calender-wrapper{ - line-height: 18px; -} -.display__componet-wrapper{ - height: 63px; -} -.quelist__title{ - line-height: 33px; -} -.queue__list-closebtn{ - width: 6%; -} -.greencheck__img{ - margin-right: 9.5px; -} -.bg-timesheet-title{ - height: 60px; -} -.dashboard__calendar-wrapper{ - height: 30px; -} -.main_component-wrapper{ - height: calc(100% - 60px); -} -.home__component-li{ - list-style: none; - line-height: 30px; -} -.trending__count{ - margin-left: 6.5px; -} -.driver-popover.driverjs-theme { - background-color: white; - color: #000; -} - -.driver-popover.driverjs-theme .driver-popover-title { - font-size: 20px; -} - -.driver-popover.driverjs-theme .driver-popover-title, -.driver-popover.driverjs-theme .driver-popover-description, -.driver-popover.driverjs-theme .driver-popover-progress-text { - color: #000; -} - -.driver-popover.driverjs-theme button { - flex: 1; - text-align: center; - background-color: #000; - color: #ffffff; - border: 2px solid #000; - text-shadow: none; - font-size: 12px; - padding: 3px 4px; - border-radius: 6px; -} - -.driver-popover.driverjs-theme button:hover { - background-color: #000; - color: #ffffff; -} - -.driver-popover.driverjs-theme .driver-popover-navigation-btns { - justify-content: space-between; - gap: 1px; -} - -.driver-popover.driverjs-theme .driver-popover-close-btn { - color: #9b9b9b; -} - -.driver-popover.driverjs-theme .driver-popover-close-btn:hover { - color: #000; -} - -.driver-popover.driverjs-theme .driver-popover-arrow-side-left.driver-popover-arrow { - border-left-color: white; -} - -.driver-popover.driverjs-theme .driver-popover-arrow-side-right.driver-popover-arrow { - border-right-color: white; -} - -.driver-popover.driverjs-theme .driver-popover-arrow-side-top.driver-popover-arrow { - border-top-color: white; -} - -.driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow { - border-bottom-color: white; -} -.driver-popover-content { - margin: 0 !important; - padding: 0 !important; -} -.driver-popover-progress-text { - margin-right: 10px !important; -} -.driver-popover-prev-btn { - cursor: pointer !important; - background: #FFFFFF !important; - border: 1px solid #2F3990 !important; - border-radius: 4px !important; - color: #2F3990 !important; - height: 30px !important; - font-family: 'Roboto', sans-serif !important; -} -.driver-popover-next-btn { - background: #2F3990 !important; - border-radius: 4px !important; - color: white !important; - border: none !important; - height: 30px !important; - font-family: 'Roboto', sans-serif !important; -} -.driver-popover-close-btn { - background: #2F3990 !important; - border-radius: 4px !important; - color: white !important; - border: none !important; - height: 13px !important; - width: 12px !important; - font-family: 'Roboto', sans-serif !important; - margin: 3px; -} -@media(max-width: 1900px){ -.dashboard__right{overflow: auto;} -} -@media(max-width: 1440px){ - .dashboard__left{width: 53%; padding: 20px 30px 20px 30px;} - .dashboard__right{width: 47%;} -} -@media(max-width: 991px){ - .dashboard__left, .dashboard__right{width: 100% !important;height: auto !important;overflow: visible;padding: 20px;} - .main_component-wrapper{flex-direction: column !important;} - .calendar__detail--wrapper[data-v-1188a573] {max-width: 100%;width: 100%;} -} - diff --git a/frontend/src/plugins/dashboard-old/dashboardPlugin.js b/frontend/src/plugins/dashboard-old/dashboardPlugin.js deleted file mode 100644 index 351ec82..0000000 --- a/frontend/src/plugins/dashboard-old/dashboardPlugin.js +++ /dev/null @@ -1,18 +0,0 @@ -import CalendarComponent from './component/CalendarComponent.vue'; -import CalendarTaskDisplayComponent from './component/CalendarTaskDisplayComponent.vue'; -import DisplayComponent from './component/DisplayComponent.vue'; -import MainLabledComponent from './component/MainLabledComponent.vue'; -import QueueListComponent from './component/QueueListComponent.vue'; -import SingleQueueListComponent from './component/SingleQueueListComponent.vue'; - -export default { - install(app) { - // Register a global components - app.component('CalendarComponent', CalendarComponent); - app.component('CalendarTaskDisplayComponent', CalendarTaskDisplayComponent); - app.component('DisplayComponent', DisplayComponent); - app.component('MainLabledComponent', MainLabledComponent); - app.component('QueueListComponent', QueueListComponent); - app.component('SingleQueueListComponent', SingleQueueListComponent); - } -}; diff --git a/frontend/src/plugins/dashboard-old/router.js b/frontend/src/plugins/dashboard-old/router.js deleted file mode 100644 index 31dd030..0000000 --- a/frontend/src/plugins/dashboard-old/router.js +++ /dev/null @@ -1,22 +0,0 @@ -const dashboardRouter = [{ - path: "/", - name: "dashboard", - component: () => import(/* webpackChunkName: "home" */ './views/Home'), - meta: { - title: 'Home', - requiresAuth: true, - } -}, -{ - path: "/:cid", - name: "Home", - component: () => import(/* webpackChunkName: "home" */ './views/Home'), - meta: { - title: 'Home', - requiresAuth: true, - } -}]; - -export default { - dashboardRouter -}; diff --git a/frontend/src/plugins/dashboard-old/views/Home.vue b/frontend/src/plugins/dashboard-old/views/Home.vue deleted file mode 100644 index 03a81f0..0000000 --- a/frontend/src/plugins/dashboard-old/views/Home.vue +++ /dev/null @@ -1,840 +0,0 @@ - - - \ No newline at end of file From 6acf020ca2c8feae707270a656847ee34fc0b651 Mon Sep 17 00:00:00 2001 From: Parth Detroja Date: Wed, 21 Jan 2026 10:29:26 +0530 Subject: [PATCH 03/52] Commented-Out Code Present in Config/aws.js --- Config/aws.js | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/Config/aws.js b/Config/aws.js index 99dfb2f..350d184 100644 --- a/Config/aws.js +++ b/Config/aws.js @@ -15,7 +15,6 @@ const sesWithAttachment = new SES(); const sesv2 = new AWS.SESV2({apiVersion: '2019-09-27'}); const ssmClient = new AWS.SSM({apiVersion: '2014-11-06', region: process.env.AWS_SES_REGION}); const s3 = new AWS.S3({ apiVersion: '2006-03-01' }); - const wasabiAccessKey = process.env.WASABI_ACCESS_KEY const wasabiSecretAccessKey = process.env.WASABI_SECRET_ACCESS_KEY const wasabiEndPoint = process.env.WASABIENDPOINT @@ -23,42 +22,6 @@ const region = process.env.WASABI_REGION const iamEndPoint = process.env.IAM_ENDPOINT const userProfileBucket = process.env.USERPROFILEBUCKET const wasabiUserId = process.env.WASABI_USERID -/** - * AWS SSM parameters - */ -// let ssm; -// const getParameters = async (parameterNames, region, apiVersion='2014-11-06') => { -// if (!ssm) { -// ssm = new AWS.SSM({apiVersion: apiVersion, region: region}); -// } -// const params = { -// Names: parameterNames, -// WithDecryption: true -// }; -// try { -// const parameters = await ssm.getParameters(params).promise(); -// return formatParameters(parameters); -// } catch (e) { -// return e; -// } -// }; -// const formatParameters = (parameters) => { -// return parameters.Parameters.reduce((object, param) => { -// return { ...object, [param.Name]: param.Value }; -// }, {}); -// }; - -/** - * Add the AWS SSM parameter list which we want - */ -// const parameterNames = [ -// '/dev/app/Firebase', -// '/prod/app/Firebase', -// '/dev/app/JWT', -// '/dev/app/WPSLogin', -// ]; -// getParameters(parameterNames, process.env.AWS_SES_REGION); - module.exports = { ses, From 566de66b90683422e41a586878f58cd88a566ccb Mon Sep 17 00:00:00 2001 From: Parth Detroja Date: Wed, 21 Jan 2026 10:34:29 +0530 Subject: [PATCH 04/52] Removed commented routes code --- Config/setMiddleware.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Config/setMiddleware.js b/Config/setMiddleware.js index 4f17eec..4d900a2 100644 --- a/Config/setMiddleware.js +++ b/Config/setMiddleware.js @@ -3,11 +3,6 @@ const verifyJWTTokenWithCRoute = [ "/api/v1/verifyToken", "/api/v1/createproject", "/api/v1/importSettings", - // "/api/v1/manualLogtime", - // "/api/v1/deleteManualLogtime", - // "/api/v1/timetracker/end", - // "/api/v1/timetracker/capture", - // "/api/v1/timeTracker/start", "/api/v2/manualLogtime", "/api/v2/deleteManualLogtime", "/api/v2/timeTracker/start", @@ -30,7 +25,6 @@ const verifyJWTTokenWithCRoute = [ "/api/v1/get-tasks", "/api/v1/projectSetting/taskType", "/api/v1/projectSetting/taskStatus", - // "/api/v1/removeSprintOperations", "/api/v1/sprint", "/api/v1/sprint/:id", "/api/v1/folder", From c317cf5a1109d33565bb9e5ba2d617f316eae015 Mon Sep 17 00:00:00 2001 From: Parth Detroja Date: Wed, 21 Jan 2026 10:44:32 +0530 Subject: [PATCH 05/52] HTML Title Tag Is Commented Out in index.html into frontend --- frontend/public/index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/public/index.html b/frontend/public/index.html index 5745859..6612693 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -9,16 +9,13 @@ - - + AlianHub - Open Source Project Management System/CRM -
- - +
From 1fa8d428e8b021a9c1c8419a4722a7401dbedaf7 Mon Sep 17 00:00:00 2001 From: Parth Detroja Date: Wed, 21 Jan 2026 10:52:44 +0530 Subject: [PATCH 06/52] Commented CSS Imports Present in Global Stylesheet- frontend/src/assets/index.css --- frontend/src/assets/css/index.css | 28 ++----------------- .../ProjectListComponent.vue | 2 +- .../CreateCategorySidebar.vue | 9 ++---- .../CreateChannelSidebar.vue | 6 ++-- 4 files changed, 8 insertions(+), 37 deletions(-) diff --git a/frontend/src/assets/css/index.css b/frontend/src/assets/css/index.css index 63e5aa5..649871c 100644 --- a/frontend/src/assets/css/index.css +++ b/frontend/src/assets/css/index.css @@ -22,9 +22,7 @@ @import 'blur.css'; @import 'lineheight.css'; @import 'loader.css'; -/* @import 'size.css'; -@import 'animation.css'; -@import 'transition.css'; */ + .disableInputField{ pointer-events: none; } @@ -160,22 +158,13 @@ .h-100{ height: 100%; } -.w-fitcontent{ - width: fit-content; -} .h-100vh{ height: 100vh; } -.w-100 { - width: 100%; -} .w-100-imp{ width: 100% !important; } /* width and height */ -.h-100{ - height: 100%; -} .mh-100{ max-height: 100%; } @@ -206,9 +195,6 @@ .mw-40px{ max-width: 40px !important; } -.w-100vw{ - width: 100vw; -} .mw-85{ max-width: 85%; } @@ -248,9 +234,6 @@ .mw-82{ max-width: 82% !important; } -.mw-50{ - max-width: 50%; -} .mw-90{ max-width: 90%; } @@ -331,7 +314,7 @@ input[type="color"]::-moz-color-swatch { border: 0; border-radius: 2px; } -.webkit-avilable{ +.webkit-available { width: -webkit-fill-available; width: -moz-available; width: fill-available; @@ -354,13 +337,6 @@ input[type="color"]::-moz-color-swatch { max-height: 550px; } -/* .project-option{ - padding: 7px 5px; -} */ @media(max-width: 767px){ - /* img.project-option-mobile {margin-left: 20px !important;} */ - /* .count-block {padding: 2px 3.4px;min-width: auto;margin-left: 20px !important;border-radius: 20px !important;font-size: 12px !important;height: auto;} */ - /* .count-block.parent-count-block{border-radius: 20px !important;} - .count-block.child-count-block{border-radius: 20px !important; } */ .profile-image{border-radius: 50% !important;} } \ No newline at end of file diff --git a/frontend/src/components/molecules/ProjectListComponent/ProjectListComponent.vue b/frontend/src/components/molecules/ProjectListComponent/ProjectListComponent.vue index ee1a056..29d8944 100644 --- a/frontend/src/components/molecules/ProjectListComponent/ProjectListComponent.vue +++ b/frontend/src/components/molecules/ProjectListComponent/ProjectListComponent.vue @@ -4,7 +4,7 @@