Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#Staging #528

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
327c26f
[ch38658] Show warning if Selected Reviewer is also a Team Member
danNordlogic Nov 19, 2024
8c5467c
Merge pull request #513 from unicef/reviewer-warning
danNordlogic Nov 19, 2024
0c56ccd
[ch38673] Allow for the selection of multiple reviewers for the Visit…
danNordlogic Nov 22, 2024
31bb871
Update node to 20.18.1, update lit to v3, update rollup to 4.28
Dec 4, 2024
0231908
add build stage in ci
Dec 4, 2024
39ccc12
fix prod build
Dec 4, 2024
73f251e
[ch38789] Add `etools-translate` component in `eTools-unicef` package…
danNordlogic Dec 5, 2024
1b8d81a
Update eslint , remove unused packages, cleanup, linting
Dec 6, 2024
26957cf
Update package versions
danNordlogic Dec 16, 2024
1271acc
[ch36554] Sept- Create a draggable interface for the questions in the…
danNordlogic Dec 24, 2024
ef979e0
Added sortable types
danNordlogic Dec 24, 2024
fe41d29
lint fixes
danNordlogic Dec 24, 2024
c6ed2ad
[ch36554] Sept- Create a draggable interface for the questions in the…
danNordlogic Jan 9, 2025
53b4683
Merge pull request #514 from unicef/allow-multiple-reviewers
danNordlogic Jan 9, 2025
3470a28
Merge pull request #516 from unicef/questions-order
danNordlogic Jan 9, 2025
8d54f47
Merge pull request #515 from unicef/node_20.18.0_shoelace_2.18.0
danNordlogic Jan 9, 2025
e4bd324
Merge pull request #517 from unicef/develop
danNordlogic Jan 9, 2025
f457c4a
questions ordering improvements
danNordlogic Jan 9, 2025
ea9ee77
question order adjustments
danNordlogic Jan 9, 2025
f5733e0
Merge pull request #518 from unicef/develop
danNordlogic Jan 9, 2025
b3d2e30
[ch38658] Show warning if Selected Reviewer is also a Team Member fix
danNordlogic Jan 13, 2025
974ae65
Merge pull request #519 from unicef/develop
danNordlogic Jan 13, 2025
a8ddbe8
etools-unicef package update
danNordlogic Jan 13, 2025
e5e25a2
Merge pull request #525 from unicef/develop
danNordlogic Jan 13, 2025
ecf8ad4
update etools-unicef version
danNordlogic Jan 13, 2025
604c491
Merge pull request #526 from unicef/develop
danNordlogic Jan 13, 2025
1b1b47c
remove powerBi link from the menu
danNordlogic Jan 15, 2025
709c0a2
Merge pull request #527 from unicef/develop
danNordlogic Jan 15, 2025
0ad2546
Merge branch 'master' into staging
danNordlogic Jan 17, 2025
59b784f
small chage to trigger rebuild
danNordlogic Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
working_directory: ~/code
# The primary container is an instance of the first list image listed. Your build commands run in this container.
docker:
- image: node:14.21
- image: node:20.18.1
steps:
- checkout
- restore_cache:
Expand All @@ -24,7 +24,7 @@ jobs:
working_directory: ~/code
# The primary container is an instance of the first list image listed. Your build commands run in this container.
docker:
- image: node:14.21
- image: node:20.18.1
steps:
- checkout
- setup_remote_docker
Expand Down Expand Up @@ -74,3 +74,4 @@ workflows:
- master
- staging
- develop
- node_20.18.0_shoelace_2.18.0
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM node:14.21-alpine3.16 as builder
FROM node:20.18.1-alpine3.19 as builder
RUN apk update
RUN apk add --update bash

RUN apk add git
RUN npm config set unsafe-perm true
RUN npm install -g typescript


Expand All @@ -21,14 +20,15 @@ ENV NODE_OPTIONS --max_old_space_size=4096
RUN npm run build


FROM node:14.21-alpine3.16
FROM node:20.18.1-alpine3.19
RUN apk update
RUN apk add --update bash

WORKDIR /code
RUN npm init -y
RUN npm install express
RUN npm install compression
RUN npm install ua-parser-js
RUN npm install [email protected]
COPY --from=builder /code/express.js /code/express.js
COPY --from=builder /code/src /code/src
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM node:14.21-alpine3.16
FROM node:20.18.1-alpine3.19 as builder
RUN apk update
RUN apk add --update bash

RUN apk add git
RUN npm install -g gulp
RUN npm install -g typescript

WORKDIR /code
CMD ["npm", "start"]
CMD ["sh", "-c", "npm start"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This an app shell for Unicef eTools apps, a starting point based on Polymer 3, Redux and Typescript.

## Install
* requirements: `node`, `npm`, `polymer-cli`, `typescript`, `gulp`
* requirements: `node`, `npm`, `polymer-cli`, `typescript`
* `npm install`
* `npm run start`

Expand Down
34 changes: 18 additions & 16 deletions assets/i18n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"NOT_MONITORED": "غير مراقب",
"OFF_TRACK": "خارج المسار",
"ON_TRACK": "وفقاً للخطة"
},
"OVERALL_FINDING_PLACEHOLDER": "الرجاء إدخال الملاحظات العامة هنا",
},
"OVERALL_FINDING_PLACEHOLDER": "الرجاء إدخال الملاحظات العامة هنا",
"OVERALL_FINDING": "الملاحظات العامة"
}
},
Expand Down Expand Up @@ -113,9 +113,9 @@
},
"VISIT_LEAD": "قائد الزيارة",
"VISIT_LETTER": "خطاب الزيارة",
"REPORT_REVIEWER": "تقرير المراجع",
"REPORT_REVIEWER_SELECT": "سيتم إخطار المستخدم التالي بهذا الإرسال من أجل المراجعة. الرجاء تحديد المستخدم والمتابعة",
"REPORT_REVIEWER_CONFIRM": "سيتم إخطار المستخدم التالي بهذا الإرسال من أجل المراجعة. يرجى تأكيد المستخدم والمتابعة",
"REPORT_REVIEWERS": "تقرير المراجعين",
"REPORT_REVIEWER_SELECT": "سيتم إخطار المستخدمين التاليين بهذا الإرسال من أجل المراجعة. الرجاء تحديد المستخدمين والمتابعة.",
"REPORT_REVIEWER_CONFIRM": "سيتم إخطار المستخدمين التاليين بهذا الإرسال من أجل المراجعة. يرجى تأكيد المستخدمين والمتابعة.",
"REVIEWED_BY": "تمت مراجعته من قبل"
},
"ACTIVITY_ITEM": {
Expand Down Expand Up @@ -601,7 +601,7 @@
"COMPLETED_VISITS": "الزيارات المنجزة",
"PLANNED": "مخطط",
"PLANNED_VISITS": "الزيارات المخطط لها (حتى ديسمبر)"
},
},
"THIS_FIELD_IS_REQUIRED": "هذا الحقل مطلوب",
"LOCATION_TO_BE_VISITED": "الموقع المراد زيارته",
"SITE_TO_BE_VISITED": "الموقع الذي سيتم زيارته",
Expand All @@ -610,7 +610,7 @@
"SELECT": "تحديد",
"CANCEL": "يلغي",
"TRUE": "صحيح",
"FALSE": "خطأ شنيع",
"FALSE": "خطأ شنيع",
"VIEW": "عرض",
"FILTER_BY_SECTION": "تصفية حسب القسم",
"SUPPORT": "الدعم",
Expand All @@ -626,10 +626,10 @@
"ERROR_CREATE_ACTIVITY": "لا يمكن إنشاء النشاط",
"ERROR_UPLOAD": "لا يمكن تحميل المرفقات. ",
"ERROR_UPLOAD_FILE_TOO_LARGE": "خطأ أثناء تحميل الملف: الملف كبير جدًا",
"ERROR_UPDATE_CHECKLIST": "لا يمكن تحديث قائمة التحقق، يرجى المحاولة مرة أخرى",
"ERROR_UPDATE_CHECKLIST": "لا يمكن تحديث قائمة التحقق، يرجى المحاولة مرة أخرى",
"START_DATE_BEFORE_END_DATE": "يجب أن يكون تاريخ البدء قبل تاريخ الانتهاء",
"ERROR_LOAD_REPORT": "لا يمكن تحميل بيانات FullReport",
"ERROR_PLAN_YEAR": "لا يمكن التخطيط للسنة المحددة",
"ERROR_PLAN_YEAR": "لا يمكن التخطيط للسنة المحددة",
"SELECT_CORRECT_LOCATION": "يرجى تحديد الموقع الصحيح على الخريطة",
"ERROR_LOAD_QUESTIONS": "لا يمكن تحميل قائمة الأسئلة",
"ERROR_LOAD_TEMPLATES": "لا يمكن تحميل قائمة قوالب الأسئلة",
Expand Down Expand Up @@ -666,13 +666,13 @@
"details": "تفاصيل الشريك",
"attachments": "المرفقات"
},
"TPM_PARTNER_DETAILS": "تفاصيل شريك المراقب المستقل",
"VENDOR_NUMBER": "رقم المورد",
"TPM_NAME": "اسم المراقب المستقل",
"PHONE_NUMBER": "رقم التليفون",
"EMAIL": "بريد الكتروني",
"ADDRESS": "العنوان",
"VALID_EMAIL_REQUIRED": "مطلوب بريد إلكتروني صحيح"
"TPM_PARTNER_DETAILS": "تفاصيل شريك المراقب المستقل",
"VENDOR_NUMBER": "رقم المورد",
"TPM_NAME": "اسم المراقب المستقل",
"PHONE_NUMBER": "رقم التليفون",
"EMAIL": "بريد الكتروني",
"ADDRESS": "العنوان",
"VALID_EMAIL_REQUIRED": "مطلوب بريد إلكتروني صحيح"
},
"TPM_CONTACTS": {
"COLUMNS": {
Expand All @@ -698,6 +698,8 @@
"PLEASE_ANSWER": "هام: يرجى تقديم الإجابة إذا كانت متوفرة",
"TPM_RAISED_ISSUES": "القضايا التي أثيرت TPM",
"TPM_RAISED_ISSUES_INFO": "يرجى إدراج نقاط العمل الخاصة بنقطة الاتصال الخاصة بموظفي اليونيسف للنظر فيها كإجراءات متابعة",
"WARNING_REVIEWER_TEAM_MEMBER": "تحذير: المحكم المختار هو أيضًا عضو في الفريق. للفصل بين الواجبات، فكر في اختيار محكم غير مشارك في الزيارة.",
"EDIT_QUESTIONS_ORDER": "تحرير ترتيب الأسئلة",
"PD_STATUS": {
"DRAFT": "تطوير",
"REVIEW": "مراجعة",
Expand Down
30 changes: 16 additions & 14 deletions assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@
"MAP_SELECT_LOCATION_BY_SITE": "Select Location by Site",
"MAP_SELECT_LOCATION_BY_ADMIN_LEVEL": "Select Location by Admin Level",
"EXPORT": "EXPORT",
"REPORT_REVIEWER": "Report Reviewer",
"REPORT_REVIEWER_SELECT": "The following user will be notified of this submission in order to review. Please select the user and proceed.",
"REPORT_REVIEWER_CONFIRM": "The following user will be notified of this submission in order to review. Please confirm the user and proceed.",
"REPORT_REVIEWERS": "Report Reviewers",
"REPORT_REVIEWER_SELECT": "The following users will be notified of this submission in order to review. Please select the users and proceed.",
"REPORT_REVIEWER_CONFIRM": "The following users will be notified of this submission in order to review. Please confirm the users and proceed.",
"REVIEWED_BY": "Reviewed by"
},
"ACTIVITY_ITEM": {
Expand Down Expand Up @@ -691,17 +691,19 @@
"PLEASE_ANSWER": "Important: Please provide the answer if available",
"TPM_RAISED_ISSUES": "TPM Raised Issues",
"TPM_RAISED_ISSUES_INFO": "Please insert action points for the UNICEF staff focal point to consider as follow-up actions",
"WARNING_REVIEWER_TEAM_MEMBER": "Warning: The selected Reviewer is also a Team Member. For separation of duties, consider choosing a Reviewer not involved in the Visit.",
"EDIT_QUESTIONS_ORDER": "Edit Questions Order",
"PD_STATUS": {
"DRAFT": "Development",
"REVIEW": "Review",
"SIGNATURE": "Signature",
"SIGNED": "Signed",
"ACTIVE": "Active",
"CANCELLED": "Cancelled",
"ENDED": "Ended",
"CLOSED": "Closed",
"SUSPENDED": "Suspended",
"TERMINATED": "Terminated",
"EXPIRED": "Expired"
"DRAFT": "Development",
"REVIEW": "Review",
"SIGNATURE": "Signature",
"SIGNED": "Signed",
"ACTIVE": "Active",
"CANCELLED": "Cancelled",
"ENDED": "Ended",
"CLOSED": "Closed",
"SUSPENDED": "Suspended",
"TERMINATED": "Terminated",
"EXPIRED": "Expired"
}
}
8 changes: 5 additions & 3 deletions assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@
},
"VISIT_LEAD": "Líder de Visita",
"VISIT_LETTER": "Carta de visita",
"REPORT_REVIEWER": "Revisor de informes",
"REPORT_REVIEWER_SELECT": "El siguiente usuario será notificado de este envío para poder revisarlo. Por favor seleccione el usuario y continúe.",
"REPORT_REVIEWER_CONFIRM": "El siguiente usuario será notificado de este envío para poder revisarlo. Por favor confirme el usuario y continúe.",
"REPORT_REVIEWERS": "Revisores de informes",
"REPORT_REVIEWER_SELECT": "Los siguientes usuarios serán notificados de este envío para poder revisarlo. Seleccione los usuarios y continúe.",
"REPORT_REVIEWER_CONFIRM": "Los siguientes usuarios serán notificados de este envío para poder revisarlo. Confirme los usuarios y continúe.",
"REVIEWED_BY": "Revisado por"
},
"ACTIVITY_ITEM": {
Expand Down Expand Up @@ -700,6 +700,8 @@
"PLEASE_ANSWER": "Importante: proporcione la respuesta si está disponible.",
"TPM_RAISED_ISSUES": "Problemas planteados por TPM",
"TPM_RAISED_ISSUES_INFO": "Insértese puntos de acción para que el punto focal del personal de UNICEF los considere como acciones de seguimiento.",
"WARNING_REVIEWER_TEAM_MEMBER": "Advertencia: el revisor seleccionado también es miembro del equipo. Para la separación de funciones, considere elegir un revisor que no participe en la visita.",
"EDIT_QUESTIONS_ORDER": "Editar orden de preguntas",
"PD_STATUS": {
"DRAFT": "Desarrollo",
"REVIEW": "Revisar",
Expand Down
30 changes: 16 additions & 14 deletions assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@
"MAP_SELECT_LOCATION_BY_SITE": "Sélectionnez l'emplacement par site",
"MAP_SELECT_LOCATION_BY_ADMIN_LEVEL": "Sélectionnez l'emplacement par niveau d'administratif",
"EXPORT": "EXPORT",
"REPORT_REVIEWER": "Réviseur de rapport",
"REPORT_REVIEWER_SELECT": "L'utilisateur suivant sera informé de cette soumission afin de l'examiner. Veuillez sélectionner l'utilisateur et continuer.",
"REPORT_REVIEWER_CONFIRM": "L'utilisateur suivant sera informé de cette soumission afin de l'examiner. Veuillez confirmer l'utilisateur et continuer.",
"REPORT_REVIEWERS": "Réviseurs de rapports",
"REPORT_REVIEWER_SELECT": "Les utilisateurs suivants seront informés de cette soumission afin de l'examiner. Veuillez sélectionner les utilisateurs et continuer.",
"REPORT_REVIEWER_CONFIRM": "Les utilisateurs suivants seront informés de cette soumission afin de l'examiner. Veuillez confirmer les utilisateurs et continuer.",
"REVIEWED_BY": "Revu par"
},
"ACTIVITY_ITEM": {
Expand Down Expand Up @@ -691,17 +691,19 @@
"PLEASE_ANSWER": "Important : veuillez fournir la réponse si disponible",
"TPM_RAISED_ISSUES": "Problèmes soulevés par le TPM",
"TPM_RAISED_ISSUES_INFO": "Veuillez insérer des points d'action que le point focal du personnel de l'UNICEF considérera comme actions de suivi.",
"WARNING_REVIEWER_TEAM_MEMBER": "Avertissement : Le réviseur sélectionné est également un membre de l'équipe. Pour la séparation des tâches, envisagez de choisir un évaluateur non impliqué dans la visite.",
"EDIT_QUESTIONS_ORDER": "Modifier l'ordre des questions",
"PD_STATUS": {
"DRAFT": "Développement",
"REVIEW": "Consultez le site",
"SIGNATURE": "Signature",
"SIGNED": "Signé",
"ACTIVE": "Actif",
"CANCELLED": "Annulé",
"ENDED": "Fini",
"CLOSED": "Fermé",
"SUSPENDED": "Suspendu",
"TERMINATED": "Terminé",
"EXPIRED": "Expiré"
"DRAFT": "Développement",
"REVIEW": "Consultez le site",
"SIGNATURE": "Signature",
"SIGNED": "Signé",
"ACTIVE": "Actif",
"CANCELLED": "Annulé",
"ENDED": "Fini",
"CLOSED": "Fermé",
"SUSPENDED": "Suspendu",
"TERMINATED": "Terminé",
"EXPIRED": "Expiré"
}
}
30 changes: 16 additions & 14 deletions assets/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@
"CANCELLATION_NOTE": "Localized Cancellation Note",
"MAP_SELECT_LOCATION_BY_SITE": "Select Location by Site",
"MAP_SELECT_LOCATION_BY_ADMIN_LEVEL": "Select Location by Admin Level",
"REPORT_REVIEWER": "Рецензент отчетаr",
"REPORT_REVIEWER_SELECT": "Следующий пользователь будет уведомлен об этом представлении для рассмотрения. Пожалуйста, выберите пользователя и продолжайте.",
"REPORT_REVIEWER_CONFIRM": "Следующий пользователь будет уведомлен об этом представлении для рассмотрения. Пожалуйста, подтвердите пользователя и продолжайте.",
"REPORT_REVIEWERS": "Рецензенты отчетов",
"REPORT_REVIEWER_SELECT": "Следующие пользователи будут уведомлены об этом материале для рассмотрения. Пожалуйста, выберите пользователей и продолжайте.",
"REPORT_REVIEWER_CONFIRM": "Следующие пользователи будут уведомлены об этом материале для рассмотрения. Пожалуйста, подтвердите пользователей и продолжайте.",
"REVIEWED_BY": "Рассмотрено"
},
"ACTIVITY_ITEM": {
Expand Down Expand Up @@ -688,17 +688,19 @@
"PLEASE_ANSWER": "Важно: Пожалуйста, предоставьте ответ, если он доступен.",
"TPM_RAISED_ISSUES": "Поднятые проблемы TPM",
"TPM_RAISED_ISSUES_INFO": "Пожалуйста, укажите пункты действий, которые координатор персонала ЮНИСЕФ может рассмотреть в качестве последующих действий.",
"WARNING_REVIEWER_TEAM_MEMBER": "Внимание: выбранный рецензент также является членом команды. Для разделения обязанностей рассмотрите возможность выбора рецензента, не участвующего в посещении.",
"EDIT_QUESTIONS_ORDER": "Изменить порядок вопросов",
"PD_STATUS": {
"DRAFT": "Развитие",
"REVIEW": "Рассмотрение",
"SIGNATURE": "Подпись",
"SIGNED": "Подписано",
"ACTIVE": "Активен",
"CANCELLED": "Отменено",
"ENDED": "Завершено",
"CLOSED": "Закрытый",
"SUSPENDED": "Приостановлено",
"TERMINATED": "Прекращено",
"EXPIRED": "Просроченный"
"DRAFT": "Развитие",
"REVIEW": "Рассмотрение",
"SIGNATURE": "Подпись",
"SIGNED": "Подписано",
"ACTIVE": "Активен",
"CANCELLED": "Отменено",
"ENDED": "Завершено",
"CLOSED": "Закрытый",
"SUSPENDED": "Приостановлено",
"TERMINATED": "Прекращено",
"EXPIRED": "Просроченный"
}
}
Loading