diff --git a/.eslintrc.json b/.eslintrc.json index 7e0ae11..119b474 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -18,7 +18,9 @@ "quotes": [ 2, "single", - "avoid-escape" + { + "avoidEscape": true + } ] } } \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 8242a89..b1c6621 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # pull official base image -FROM node:13.12.0-alpine +FROM node:lts-bullseye # set working directory WORKDIR /app diff --git a/jenkins/Jenkinsfile-dev b/jenkins/Jenkinsfile-dev index d5e3401..9299f24 100644 --- a/jenkins/Jenkinsfile-dev +++ b/jenkins/Jenkinsfile-dev @@ -1,7 +1,7 @@ pipeline { agent { docker { - image 'node:lts-bullseye-slim' + image 'node:lts-bullseye' } } environment { @@ -15,6 +15,7 @@ pipeline { REACT_APP_KC_URL = 'https://auth-dev.csi.wmi.amu.edu.pl/' REACT_APP_KC_REALM = 'gonito-dev' REACT_APP_KC_CLIENT_ID = 'gonito-front-dev' + REACT_APP_API = 'https://gonito-back-dev.csi.wmi.amu.edu.pl/api' } stages { stage('Build') { diff --git a/jenkins/Jenkinsfile-prod b/jenkins/Jenkinsfile-prod index 5da4188..912560a 100644 --- a/jenkins/Jenkinsfile-prod +++ b/jenkins/Jenkinsfile-prod @@ -1,7 +1,7 @@ pipeline { agent { docker { - image 'node:lts-bullseye-slim' + image 'node:lts-bullseye' } } environment { @@ -15,6 +15,7 @@ pipeline { REACT_APP_KC_URL = 'https://auth.csi.wmi.amu.edu.pl/' REACT_APP_KC_REALM = 'csi-gonito' REACT_APP_KC_CLIENT_ID = 'gonito-frontend' + REACT_APP_API = 'https://gonito.net/api' } stages { stage('Build') { diff --git a/src/pages/PolicyPrivacy.js b/src/pages/PolicyPrivacy.js index 3556aa3..1345bfb 100644 --- a/src/pages/PolicyPrivacy.js +++ b/src/pages/PolicyPrivacy.js @@ -41,13 +41,13 @@ const PolicyPrivacyStyle = styled(FlexColumn)` const PolicyPrivacy = () => { const listItemsContent = [ - 'prawo dostępu do danych osobowych, w tym prawo do uzyskania kopii tych danych przysługuje w ramach przesłanek i na warunkach określonych w art. 15 RODO,', - 'prawo do żądania sprostowania (poprawienia) danych osobowych przysługuje w ramach przesłanek i na warunkach określonych w art. 16 RODO,', - 'prawo do usunięcia danych - przysługuje w ram${POLICY_PRIVACY_PAGE}ach przesłanek i na warunkach określonych w art. 17 RODO,', - 'prawo ograniczenia przetwarzania - przysługuje w ramach przesłanek i na warunkach określonych w art. 18 RODO,', - 'prawo wniesienia sprzeciwu wobec przetwarzania - przysługuje w ramach przesłanek i na warunkach określonych w art. 21 RODO,', - 'prawo do przenoszenia danych osobowych - przysługuje w ramach przesłanek i na warunkach określonych w art. 20 RODO,', - 'prawo wniesienia skargi do organu nadzorczego (Prezes Urzędu Ochrony Danych Osobowych),', + 'The right of access to personal data, including the right to obtain a copy of that data, is granted under the grounds and conditions set out in Article 15 of the RODO,', + 'The right to request the rectification (amendment) of personal data shall be exercised within the grounds and under the conditions set out in Article 16 RODO,', + 'The right to erasure - shall be exercised within the grounds and under the conditions set out in Article 17 of the RODO,', + 'The right to restrict processing - is available under the grounds and conditions set out in Article 18 RODO,', + 'The right to object to processing - you have the right to object within the grounds and under the conditions set out in Article 21 RODO,', + 'The right to data portability - you have the right to data portability under the grounds and conditions set out in Article 20 of the RODO,', + 'The right to lodge a complaint with the supervisory authority (President of the Office for Personal Data Protection),', ]; const renderButtons = () => { @@ -81,70 +81,66 @@ const PolicyPrivacy = () => { return ( -

Klauzula informacyjna

+

Information clause

- Zgodnie z art. 13 Rozporządzenia Parlamentu Europejskiego i Rady (UE) - 2016/679 z dnia 27 kwietnia 2016 r. w sprawie ochrony osób fizycznych - w związku z przetwarzaniem danych osobowych i w sprawie swobodnego - przepływu takich danych oraz uchylenia dyrektywy 95/46/WE (ogólne - rozporządzenie o ochronie danych), Uniwersytet im. Adama Mickiewicza w - Poznaniu informuje, iż: + Pursuant to Article 13 of Regulation (EU) 2016/679 of the European + Parliament and of the Council of 27 April 2016 on the protection of + natural persons with regard to the processing of personal data and on + the free movement of such data and repealing Directive 95/46/EC + (General Data Protection Regulation), Adam Mickiewicz University of + Poznan informs you that:

1. Administrator

- Administratorem Pani/Pana danych osobowych jest Uniwersytet im. - Adama Mickiewicza w Poznaniu z siedzibą przy ul. H. Wieniawskiego 1, - 61-712 Poznań. + The administrator of your personal data is the Adam Mickiewicz + University in Poznań with its seat at H. Wieniawskiego 1, 61-712 + Poznań.
-

2. Inspektor Ochrony Danych

+

2. Data Protection Officer

- Administrator danych wyznaczył Inspektora Ochrony Danych - kontakt - mailowy  + The data controller has appointed a Data Protection Officer - email + contact  iod@amu.edu.pl
-

3. Cel i podstawa prawna przetwarzania

+

3. Purpose and legal basis of processing

- Pani/Pana dane osobowe przetwarzane będą w celu założenia konta - użytkownika i umożliwienia korzystania z platformy gonito, a także w - celu kontaktowania się ze zwycięzcami konkursów, na podstawie - wyrażonej przez Panią/Pana zgody, stosownie do art. 6 ust. 1 lit. a - RODO. + Your personal data will be processed in order to set up your user + account and enable you to use the gonito platform, as well as to + contact the winners of the competitions, based on your consent, + pursuant to Article 6(1)(a) of the RODO.
-

4. Okres przechowywania danych

+

4. Data retention period

- Pani/Pana dane osobowe przetwarzane będą przez okres niezbędny do - czasu realizacji celu dla jakiego zostały zebrane lub do momentu - cofnięcia zgody na przetwarzanie danych osobowych/wniesienia - sprzeciwu wobec przetwarzania, w zależności od tego co nastąpi - wcześniej. + Your personal data will be processed for the period necessary until + the purpose for which it was collected has been fulfilled or until + you withdraw your consent to the processing of your personal + data/objection to the processing, whichever comes first.
-

5. Odbiorcy danych

+

5. Recipients of the data

- Odbiorcami Pani/Pana danych osobowych mogą być podmioty, którym - Administrator zleca wykonanie określonych czynności, z którymi wiąże - się konieczność przetwarzania danych osobowych (podmioty - przetwarzające), w szczególności operatorzy systemów - informatycznych, operatorzy systemów e-mail, kancelarie prawne i - audytorskie. + The recipients of your personal data may be entities to which the + Administrator subcontracts certain activities that require the + processing of personal data (processors), in particular IT system + operators, e-mail system operators, law firms and auditing firms. - Pani/Pana dane osobowe mogą być także udostępnione podmiotom - uprawnionym na podstawie przepisów prawa. + Your personal data may also be made available to entities authorised + by law.
-

6. Prawa związane z przetwarzaniem danych

+

6. Rights in relation to data processing

{
-

7. Cofnięcie zgody na przetwarzanie danych

+

7. Withdrawal of consent to data processing

- Prawo do cofnięcia zgody na przetwarzanie danych osobowych (w - stosunku do danych osobowych które są przetwarzane na podstawie - Pani/Pana zgody - ma Pan/Pani prawo w dowolnym momencie wycofać - zgodę na przetwarzanie danych osobowych. Wycofanie zgody nie wpływa - na zgodność z prawem przetwarzania, którego dokonano na podstawie - zgody przed jej wycofaniem. Wycofać zgodę może Pani/Pan poprzez - przesłanie wiadomości na skrzynkę mailową:  + Right to withdraw consent to the processing of personal data (in + relation to personal data that is processed on the basis of your + consent - you have the right to withdraw your consent to the + processing of personal data at any time. The withdrawal of consent + does not affect the lawfulness of the processing that was carried + out on the basis of consent before its withdrawal. You can withdraw + your consent by sending an email to:  {
-

8. Obowiązek podania danych i konsekwencje niepodania

+

+ 8. Obligation to provide data and consequences of failure to do so +

- Podanie danych osobowych zbieranych na podstawie zgody jest - dobrowolne, ale niezbędne do realizacji celu do jakiego zostały - zebrane. + The provision of personal data collected on the basis of consent is + voluntary, but necessary to fulfil the purpose for which it was + collected.
-

- 9. Profilowanie i zautomatyzowane podejmowanie decyzji -

+

9. Profiling and automated decision-making

- W odniesieniu do Pani/Pana danych osobowych, decyzje nie będą - podejmowane w sposób zautomatyzowany i nie będą poddawane - profilowaniu, stosownie do art. 22 RODO. + With regard to your personal data, decisions will not be taken by + automated means and will not be subject to profiling, pursuant to + Article 22 of the RODO.
{renderButtons()}