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

sync back c #1036

Open
wants to merge 123 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
bfb897f
Merge pull request #120 from virtualidentityag/feat/overwrite-t-sys
Soarecos Nov 29, 2022
3ca42a8
Merge pull request #121 from Onlineberatung/develop
CarlosSoares Dec 8, 2022
c3f85c2
Merge pull request #122 from Onlineberatung/develop
CarlosSoares Dec 8, 2022
3c3318e
Merge pull request #123 from Onlineberatung/develop
adnanalicic Dec 9, 2022
2fd461b
Merge pull request #124 from Onlineberatung/develop
CarlosSoares Dec 9, 2022
a7d75bc
Merge pull request #125 from Onlineberatung/develop
CarlosSoares Dec 9, 2022
d2e98f5
Merge pull request #126 from Onlineberatung/develop
CarlosSoares Dec 12, 2022
fc9bc6e
Merge pull request #127 from Onlineberatung/develop
CarlosSoares Dec 13, 2022
1a44270
Merge pull request #128 from Onlineberatung/develop
Soarecos Dec 14, 2022
0a48322
feat: adding the package lock
CarlosSoares Dec 15, 2022
59daddf
fix: some prettier issues
CarlosSoares Dec 15, 2022
fa5be16
Merge pull request #129 from virtualidentityag/fix/missing-package
CarlosSoares Dec 15, 2022
ad23f45
Merge pull request #132 from Onlineberatung/develop
CarlosSoares Dec 19, 2022
da288d8
Merge pull request #133 from Onlineberatung/develop
Soarecos Dec 19, 2022
8b2d59c
Merge pull request #134 from Onlineberatung/develop
Soarecos Dec 19, 2022
25b7775
style: delete message label
Soarecos Dec 20, 2022
950471b
Merge pull request #135 from virtualidentityag/fix/styling-delete-mes…
Soarecos Dec 20, 2022
d6d57c2
fix: terms and conditions
Soarecos Dec 20, 2022
68cbaa2
Merge pull request #136 from virtualidentityag/fix/TC
adnanalicic Dec 20, 2022
12f8679
Merge pull request #137 from Onlineberatung/develop
Soarecos Dec 20, 2022
c265d97
feat: sync
Soarecos Dec 20, 2022
b5c3b56
Merge pull request #138 from virtualidentityag/fix/sync
Soarecos Dec 20, 2022
80fcb19
feat: hide terms and conditions for consultants
CarlosSoares Dec 21, 2022
b554d48
Merge pull request #139 from virtualidentityag/hide-terms-and-consult…
CarlosSoares Dec 21, 2022
77455d7
Merge pull request #140 from Onlineberatung/develop
CarlosSoares Dec 21, 2022
f9096cf
fix: issue when changing the translation
CarlosSoares Dec 22, 2022
c47efb6
Merge pull request #142 from virtualidentityag/fix/locale-issues
CarlosSoares Dec 22, 2022
1c657d5
fix: enabled t&c for consultant
adnanalicic Dec 29, 2022
b13d472
Merge pull request #143 from virtualidentityag/terms_and_conditions_c…
adnanalicic Dec 29, 2022
5579457
Merge pull request #141 from Onlineberatung/develop
CarlosSoares Jan 6, 2023
abfcec7
Merge pull request #146 from Onlineberatung/develop
CarlosSoares Jan 20, 2023
5017917
Merge pull request #148 from Onlineberatung/develop
CarlosSoares Feb 2, 2023
961f6c3
Merge pull request #149 from Onlineberatung/develop
adnanalicic Feb 2, 2023
752990f
Merge pull request #150 from Onlineberatung/develop
CarlosSoares Feb 7, 2023
9181c61
Merge pull request #151 from Onlineberatung/develop
adnanalicic Feb 7, 2023
5a9cc76
Merge pull request #153 from Onlineberatung/develop
CarlosSoares Feb 17, 2023
95ed800
Merge pull request #154 from Onlineberatung/develop
CarlosSoares Feb 20, 2023
c3fe895
Merge pull request #155 from Onlineberatung/develop
CarlosSoares Feb 27, 2023
ed1dc4a
Merge pull request #156 from Onlineberatung/develop
CarlosSoares Mar 1, 2023
e96f005
Merge pull request #157 from Onlineberatung/develop
CarlosSoares Mar 15, 2023
1b7b7ca
Merge pull request #159 from Onlineberatung/develop
CarlosSoares Mar 17, 2023
9997d94
Merge pull request #160 from Onlineberatung/develop
CarlosSoares Mar 17, 2023
2b0899f
Merge pull request #161 from Onlineberatung/develop
CarlosSoares Mar 21, 2023
06b2a35
Merge pull request #162 from Onlineberatung/develop
CarlosSoares Mar 22, 2023
502773a
Merge pull request #163 from Onlineberatung/develop
CarlosSoares Mar 23, 2023
76e5cc8
Merge pull request #164 from Onlineberatung/develop
CarlosSoares Mar 29, 2023
a1ff792
Merge pull request #165 from Onlineberatung/develop
CarlosSoares Mar 30, 2023
1cf1f37
Merge pull request #166 from Onlineberatung/develop
CarlosSoares Apr 3, 2023
719d40b
Merge pull request #167 from Onlineberatung/develop
CarlosSoares Apr 4, 2023
19eb4cb
Merge pull request #168 from Onlineberatung/develop
CarlosSoares Apr 11, 2023
b8e3215
Merge pull request #169 from Onlineberatung/develop
CarlosSoares May 30, 2023
0b9d61e
Merge pull request #170 from Onlineberatung/develop
CarlosSoares Jun 2, 2023
3645a8d
Merge pull request #171 from Onlineberatung/develop
RunzelRosinchen Jul 19, 2023
72906ec
Merge branch 'Onlineberatung:develop' into develop
web-mi Aug 11, 2023
91811c6
Merge branch 'Onlineberatung:develop' into develop
web-mi Aug 23, 2023
4134b45
fix: parse colors when they not set
web-mi Aug 23, 2023
71dc33a
Merge pull request #179 from virtualidentityag/OB-5707
web-mi Aug 23, 2023
3d540a0
fix: parse colors when they not set
web-mi Aug 23, 2023
a8df575
Merge pull request #181 from virtualidentityag/OB-5707
web-mi Aug 23, 2023
6808cdb
Merge pull request #183 from Onlineberatung/develop
web-mi Aug 28, 2023
05e5580
Merge pull request #186 from Onlineberatung/develop
web-mi Jan 12, 2024
a8e3749
Merge branch 'Onlineberatung:develop' into develop
web-mi Jan 16, 2024
1914d1c
Merge branch 'Onlineberatung:develop' into develop
web-mi Jan 16, 2024
2410642
Merge pull request #189 from Onlineberatung/develop
web-mi Jan 23, 2024
90519ea
Merge branch 'Onlineberatung:develop' into develop
web-mi Jan 25, 2024
859891e
Merge branch 'Onlineberatung:develop' into develop
web-mi Jan 25, 2024
94191c1
Merge branch 'Onlineberatung:develop' into develop
web-mi Jan 25, 2024
eafc842
Merge branch 'Onlineberatung:develop' into develop
web-mi Jan 27, 2024
6e05dde
Merge branch 'Onlineberatung:develop' into develop
web-mi Jan 28, 2024
bbcee3e
Merge branch 'Onlineberatung:develop' into develop
web-mi Feb 2, 2024
4167e44
Merge branch 'Onlineberatung:develop' into develop
web-mi Feb 12, 2024
cd948eb
feat: added extensions connecta
web-mi Jan 27, 2024
5a75919
Merge pull request #191 from virtualidentityag/OB-Theme
web-mi Feb 12, 2024
0bcf35d
chore: trigger first docker build
web-mi Feb 12, 2024
0aa9581
fix: decode logo string
janrembold Feb 20, 2024
8374653
feat: add associationLogo to types
janrembold Feb 20, 2024
c95e240
feat: add associtaionLogo to stage
janrembold Feb 20, 2024
5d753a4
feat: add agency logo type
janrembold Feb 21, 2024
4abf697
refactor: boyscout class name with clsx
janrembold Feb 21, 2024
b64edc2
feat: add optional agency logo
janrembold Feb 21, 2024
232f0ff
fix: align content in agency selection
janrembold Feb 21, 2024
a35dc89
feat: add association logo
janrembold Feb 21, 2024
44aeb2d
chore: remove log
janrembold Feb 21, 2024
6974041
refactor: create bool
janrembold Feb 21, 2024
b2a8ab4
Merge pull request #192 from virtualidentityag/feat/OB-9802-associati…
janrembold Feb 23, 2024
7e808dc
fix: remove e2eeEnabled check
janrembold Feb 23, 2024
78d016e
fix: remove all flags
janrembold Feb 23, 2024
0d92204
Merge pull request #193 from virtualidentityag/fix/OB-10087-reset-pw-…
janrembold Feb 23, 2024
8a85a7b
fix: changed en language to deep merge logic
web-mi Feb 28, 2024
6290565
Merge remote-tracking branch 'upstream/develop' into OB-Sync
web-mi Feb 28, 2024
9efef7f
Merge pull request #197 from virtualidentityag/OB-Sync
web-mi Feb 28, 2024
16a3449
Merge pull request #195 from virtualidentityag/fix/OB-10082
web-mi Feb 28, 2024
6c4228b
fix: styles for landingpage ui and registration
janrembold Feb 28, 2024
ced189b
Merge pull request #198 from virtualidentityag/fix/OB-10090-broken-la…
janrembold Feb 28, 2024
e6c9fd0
Merge branch 'Onlineberatung:develop' into develop
web-mi Feb 28, 2024
575c560
Merge branch 'Onlineberatung:develop' into develop
web-mi Feb 29, 2024
e0e7e9d
Merge pull request #199 from Onlineberatung/develop
janrembold Mar 6, 2024
a875969
Merge branch 'Onlineberatung:develop' into develop
web-mi Mar 8, 2024
8cb584c
Merge branch 'Onlineberatung:develop' into develop
web-mi Mar 8, 2024
8b8eeb4
Merge branch 'Onlineberatung:develop' into develop
web-mi Mar 13, 2024
4291d7b
Merge branch 'Onlineberatung:develop' into develop
web-mi Mar 13, 2024
4ab9717
fix: translation for consulting types and preparation for weblate
web-mi Mar 13, 2024
0fcd934
Merge pull request #206 from virtualidentityag/fix/OB-10875
web-mi Mar 13, 2024
b95f10d
fix: moved agency and consultingType to main directory to auto overwr…
web-mi Mar 13, 2024
e3ee774
Merge pull request #208 from virtualidentityag/fix/OB-10875
web-mi Mar 13, 2024
2fed4f3
Merge branch 'Onlineberatung:develop' into develop
web-mi Mar 20, 2024
0b9b753
Merge branch 'Onlineberatung:develop' into develop
web-mi Mar 20, 2024
9add9ee
chore: raise version to latest tag
web-mi Mar 20, 2024
1793f10
Merge pull request #213 from virtualidentityag/VIC-FixVersion
web-mi Mar 20, 2024
ab3a51f
Merge branch 'Onlineberatung:develop' into develop
web-mi Mar 21, 2024
25e3a2f
chore: removed default relase note
web-mi Mar 21, 2024
d98c0ee
Merge pull request #217 from virtualidentityag/VI-ReleaseNotes
web-mi Mar 21, 2024
6b9ba6f
Update AgencySelection.tsx
janrembold Mar 27, 2024
8cb37f7
Merge pull request #220 from virtualidentityag/fix/remove-debug-log
janrembold Mar 27, 2024
1e71ad3
Merge branch 'Onlineberatung:develop' into develop
web-mi Mar 28, 2024
7bd5341
Merge pull request #221 from Onlineberatung/develop
janrembold Apr 23, 2024
6e0ea6f
fix(attachments): fix label color and make attachment area clickable
koepferd Jul 11, 2024
914d040
style(attachment): prettier fix
koepferd Jul 11, 2024
5c2b6de
style(prettier): whitespace fix
koepferd Jul 12, 2024
99f16a4
Merge pull request #223 from virtualidentityag/fix/CONNECTA-252-downl…
koepferd Jul 12, 2024
c36b3ad
feat(easy-language-(german)): added easy german translations to use i…
koepferd Oct 1, 2024
981dbe7
build(github-workflows): upgrade actions
koepferd Oct 1, 2024
ab44fe2
Merge pull request #225 from virtualidentityag/feat/CONNECTA-286-easy…
koepferd Oct 10, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
branch: ${{env.BRANCH}}
force: true
tags: true
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dockerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
echo "127.0.0.1 localhost" | sudo tee -a /etc/hosts
echo "fs.inotify.max_user_watches=524288" | sudo tee -a /etc/sysctl.conf
npm run test:build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: buildfiles
path: build/**/*
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download buildfiles artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: buildfiles
path: build
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@onlineberatung/onlineberatung-frontend",
"title": "Online-Beratung",
"version": "2.9.14",
"version": "2.9.18",
"repository": {
"type": "git",
"url": "https://github.com/onlineberatung/onlineberatung-frontend.git"
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions public/manifest.json

This file was deleted.

26 changes: 0 additions & 26 deletions public/releases/19700101001.md

This file was deleted.

7 changes: 1 addition & 6 deletions public/releases/releases.json
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
{
"19700101001": {
"title": "Beispiel #1",
"file": "19700101001.md"
}
}
{}
26 changes: 23 additions & 3 deletions src/components/message/MessageAttachment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
import { ReactComponent as DownloadIcon } from '../../resources/img/icons/download.svg';
import { useTranslation } from 'react-i18next';
import { apiUrl } from '../../resources/scripts/endpoints';
import { useCallback } from 'react';
import { useCallback, useRef } from 'react';
import { FETCH_METHODS, fetchData } from '../../api';
import {
decryptAttachment,
Expand Down Expand Up @@ -54,6 +54,7 @@ export const MessageAttachment = (props: MessageAttachmentProps) => {
const [attachmentStatus, setAttachmentStatus] = React.useState(
props.t === 'e2e' ? ENCRYPTED : NOT_ENCRYPTED
);
const currentDownloadLink = useRef<any>();

const decryptFile = useCallback(
async (url: string) => {
Expand Down Expand Up @@ -151,6 +152,18 @@ export const MessageAttachment = (props: MessageAttachmentProps) => {
return null;
}, []);

const attachmentAriaLabel = () => {
if (
props.t === 'e2e' &&
encryptedFile &&
attachmentStatus === DECRYPTION_FINISHED
)
return translate('e2ee.attachment.save');
else if (props.t === 'e2e' && attachmentStatus !== DECRYPTION_FINISHED)
return translate(`e2ee.attachment.${attachmentStatus}`);
else return translate('attachments.download.label');
};

return (
<div
className={
Expand All @@ -159,7 +172,11 @@ export const MessageAttachment = (props: MessageAttachmentProps) => {
: ''
}
>
<div className="messageItem__message__attachment">
<button
aria-label={attachmentAriaLabel()}
onClick={() => currentDownloadLink.current.click()}
className="messageItem__message__attachment"
>
<span className="messageItem__message__attachment__icon">
{attachmentStatus === IS_DECRYPTING ? (
<LoadingSpinner />
Expand Down Expand Up @@ -198,12 +215,13 @@ export const MessageAttachment = (props: MessageAttachmentProps) => {
: null}
</p>
</span>
</div>
</button>
{props.t === 'e2e' && (
<>
{encryptedFile &&
attachmentStatus === DECRYPTION_FINISHED ? (
<a
ref={currentDownloadLink}
href={encryptedFile}
download={props.file.name}
rel="noopener noreferer"
Expand All @@ -217,6 +235,7 @@ export const MessageAttachment = (props: MessageAttachmentProps) => {
</a>
) : (
<button
ref={currentDownloadLink}
onClick={() =>
decryptFile(
apiUrl + props.attachment.title_link
Expand All @@ -242,6 +261,7 @@ export const MessageAttachment = (props: MessageAttachmentProps) => {
)}
{props.t !== 'e2e' && (
<a
ref={currentDownloadLink}
href={apiUrl + props.attachment.title_link}
rel="noopener noreferer"
className="messageItem__message__attachment__download"
Expand Down
15 changes: 7 additions & 8 deletions src/components/message/message.styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,11 @@ $message-attachment-color: $secondary !default;
align-items: center;
background-color: $dark-grey;
border-radius: $icon-size;
border: none;
color: $message-attachment-color;
padding: 6px $grid-base-three 5px 12px;
max-width: 350px;
cursor: pointer;

&__icon svg {
* {
Expand All @@ -241,7 +243,7 @@ $message-attachment-color: $secondary !default;

p {
margin: 0;
color: var(--text-color-contrast-switch, $secondary);
color: var(--skin-color-default, $secondary);
line-height: $icon-size;
text-decoration: underline;

Expand All @@ -250,14 +252,11 @@ $message-attachment-color: $secondary !default;
color: var(--text-color-contrast-switch, $primary);
text-decoration: none;
}
}

&:hover p {
color: var(--text-color-contrast-switch, $primary);
}

svg * {
fill: var(--text-color-contrast-switch, $primary);
&:hover {
color: var(--skin-color-default, $secondary);
opacity: 0.8;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/registration/welcomeScreen.styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ $welcome-screen-button-text-align: center !default;
}

button {
min-width: 205px;
min-width: auto;
width: 100%;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $infoIconSize: 16px;

&__inputContainer {
margin-top: $grid-base-three;
margin-left: 44px;
margin-left: 12px;

.inputField {
margin-top: 0;
Expand Down
17 changes: 17 additions & 0 deletions src/extensions/components/legalInformationLinks/Imprint.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import * as React from 'react';
import { useTranslation } from 'react-i18next';
import { useTenant } from '../../../..';
import { LegalPageWrapper } from '../legalPageWrapper/LegalPageWrapper';
import useDocumentTitle from '../../utils/useDocumentTitle';

export const Imprint = () => {
const [t] = useTranslation();
const tenant = useTenant();
useDocumentTitle(t('profile.footer.imprint'));
return (
<LegalPageWrapper
content={tenant?.content?.impressum || t('profile.footer.imprint')}
className={'terms'}
/>
);
};
19 changes: 19 additions & 0 deletions src/extensions/components/legalInformationLinks/Privacy.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import * as React from 'react';
import { useTranslation } from 'react-i18next';
import { useTenant } from '../../../..';
import { LegalPageWrapper } from '../legalPageWrapper/LegalPageWrapper';
import useDocumentTitle from '../../utils/useDocumentTitle';

export const Privacy = () => {
const [t] = useTranslation();
const tenant = useTenant();
useDocumentTitle(t('profile.footer.dataprotection'));
return (
<LegalPageWrapper
content={
tenant?.content?.privacy || t('profile.footer.dataprotection')
}
className={'terms'}
/>
);
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import * as React from 'react';
import { useTranslation } from 'react-i18next';
import { useTenant } from '../../../..';

import { LegalPageWrapper } from '../legalPageWrapper/LegalPageWrapper';
import useDocumentTitle from '../../utils/useDocumentTitle';

export const TermsAndConditions = () => {
const [t] = useTranslation();
const tenant = useTenant();
useDocumentTitle(t('legal.termsAndConditions.label'));
return (
<LegalPageWrapper
content={
tenant?.content?.termsAndConditions ||
t('legal.termsAndConditions.label')
}
className="terms"
/>
);
};
26 changes: 26 additions & 0 deletions src/extensions/components/legalPageWrapper/LegalPageWrapper.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import clsx from 'clsx';
import * as React from 'react';

import { Stage } from '../stage/stage';
import htmlParser from '../../resources/scripts/util/htmlParser';
import './legalPageWrapper.styles.scss';

export interface LegalPageWrapperProps {
className?: string;
content: string;
}
export const LegalPageWrapper = ({
className,
content
}: LegalPageWrapperProps) => {
return (
<div className={clsx('legalPageWrapper stageLayout', className)}>
<Stage className="stageLayout__stage" />
<div className={clsx('stageLayout__content', className)}>
<section className="template">
{typeof content === 'string' && htmlParser(content)}
</section>
</div>
</div>
);
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.legalPageWrapper {
@include breakpoint($fromLarge) {
.stage {
display: flex;
}
}

.template {
h2 + p,
h3 + p,
h4 + p {
margin-top: 0.3rem;
}
ol {
counter-reset: item;
li {
display: block;
}

li::before {
content: counters(item, '.') '. ';
counter-increment: item;
font-weight: bold;
}

ol {
counter-reset: item;
}
}
}

.stageLayout__content {
align-items: flex-start;
justify-content: flex-start;
padding-top: 120px;

@include breakpoint($fromLarge) {
width: calc(60vw - 160px);
left: calc(40vw + 80px);
}
}
}
Binary file added src/extensions/components/stage/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading