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

Fix/delphi 88 privacy checkbox #1033

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ local.log
log/
results/

# cypress
browserstack.json
local.log
log/
results/

npm-debug.log*
yarn-debug.log*
yarn-error.log*
Expand Down
167 changes: 167 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,173 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## 2.14.0 (2024-01-26)


### Features

* show group creator and date ([3f27e0d](https://github.com/onlineberatung/onlineberatung-frontend/commit/3f27e0d60227c94853457e7778537f18be3e6c62))

### 2.13.31 (2024-01-26)


### Bug Fixes

* updated review comments ([b90b0a1](https://github.com/onlineberatung/onlineberatung-frontend/commit/b90b0a1ed92ea09cc6a16b586c72f1a8c0e703e7))

### 2.13.30 (2024-01-17)

### 2.13.29 (2024-01-16)

### 2.13.28 (2024-01-16)

### 2.13.27 (2024-01-16)

### 2.13.26 (2024-01-16)

### 2.13.25 (2024-01-10)

### 2.13.24 (2023-11-29)

### 2.13.23 (2023-11-29)

### 2.13.22 (2023-11-23)

### 2.13.21 (2023-10-04)

### 2.13.20 (2023-09-27)

### 2.13.19 (2023-09-25)

### 2.13.18 (2023-09-25)

### 2.13.17 (2023-09-12)

### 2.13.16 (2023-09-11)

### 2.13.15 (2023-09-11)

### 2.13.14 (2023-09-11)

### 2.13.13 (2023-08-21)

### 2.13.12 (2023-08-16)

### 2.13.11 (2023-08-10)

### 2.13.10 (2023-08-09)

### 2.13.9 (2023-08-08)

### 2.13.8 (2023-08-07)

### 2.13.7 (2023-08-07)

### 2.13.6 (2023-07-26)

### 2.13.5 (2023-07-26)

### 2.13.4 (2023-07-13)

### 2.13.3 (2023-07-12)


### Bug Fixes

* **ban user:** dont close overlay on state change ([01dc7a3](https://github.com/onlineberatung/onlineberatung-frontend/commit/01dc7a349ad6a8a7d41acd28b4dc633f54dcf662))

### 2.13.2 (2023-06-27)


### Bug Fixes

* change to use agency instead of consultant ([a287580](https://github.com/onlineberatung/onlineberatung-frontend/commit/a287580425bc7bcbadd91e5e9a12dd30a3c7a22e))

### 2.13.1 (2023-06-26)


### Bug Fixes

* when group chat is first position OB-5233 ([b8fb517](https://github.com/onlineberatung/onlineberatung-frontend/commit/b8fb51743f033719aea3bd8eaf00fad862e341bf))

## 2.13.0 (2023-06-22)


### Features

* adding the OB-5223 ([eda96f2](https://github.com/onlineberatung/onlineberatung-frontend/commit/eda96f2906e46b639d27774e1419de08f9607a4a))

### 2.12.2 (2023-06-21)


### Bug Fixes

* adding the digital and live OB-5221 ([8f9376a](https://github.com/onlineberatung/onlineberatung-frontend/commit/8f9376aa958d5b0fd5e665cbd2a69b4eb8f00bc6))

### 2.12.1 (2023-06-21)


### Bug Fixes

* remove leave chat if user is banned OB-5219 ([9c6d9e2](https://github.com/onlineberatung/onlineberatung-frontend/commit/9c6d9e2e494f88a942859d19134f5cb9a192dc59))

## 2.12.0 (2023-06-21)


### Features

* remove unused code ([f73c16c](https://github.com/onlineberatung/onlineberatung-frontend/commit/f73c16cc38d5475ec48db269691af4ee5c989a8e))

### 2.11.1 (2023-05-22)


### Bug Fixes

* another typos OB-4989, OB-4869 ([682e2ee](https://github.com/onlineberatung/onlineberatung-frontend/commit/682e2ee4b4449d41435252318b885e1f19d6da40))

## 2.11.0 (2023-05-22)


### Features

* adding the new descriptions OB-4989 and new translations provided by Niklas ([a808ec4](https://github.com/onlineberatung/onlineberatung-frontend/commit/a808ec4430eebdb9adca2c647841e7728f18d174))

## 2.10.0 (2023-05-19)


### Features

* adding the informal language for terms and conditions OB-4869 ([f7215d9](https://github.com/onlineberatung/onlineberatung-frontend/commit/f7215d94772b9cc66dad4d31a4f8ab6a0565389a))

### 2.9.21 (2023-05-17)


### Bug Fixes

* revert team beratung descriptions OB-4646 ([bc11377](https://github.com/onlineberatung/onlineberatung-frontend/commit/bc11377a521edd7287b2231121c821519133cbf3))

### 2.9.20 (2023-05-16)


### Bug Fixes

* overview available to AS OB-4851 ([15f97f1](https://github.com/onlineberatung/onlineberatung-frontend/commit/15f97f1c972ee26b70ac13a1561078e986ea55b6))

### 2.9.19 (2023-05-05)

### 2.9.18 (2023-05-04)

### 2.9.17 (2023-05-03)

### 2.9.16 (2023-04-27)

### 2.9.15 (2023-01-04)


### Bug Fixes

* issue when changing the translation ([f75dfd6](https://github.com/onlineberatung/onlineberatung-frontend/commit/f75dfd626af738e94d2bb1ef532a95b5c2f1baf8))

### 2.9.14 (2022-03-08)

### 2.9.13 (2022-02-28)
Expand Down
49 changes: 46 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.14.0",
"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 added public/logo.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.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
UserDataContext
} from '../../globalState';
import { STATUS_EMPTY } from '../../globalState/interfaces';
import { Link } from 'react-router-dom';

export const E2EEncryptionSupportBanner = () => {
const [showBanner, setShowBanner] = useState<boolean>(false);
Expand All @@ -25,18 +24,22 @@ export const E2EEncryptionSupportBanner = () => {
const { sessions } = useContext(SessionsDataContext);

useEffect(() => {
const isFirefox =
navigator.userAgent.toLowerCase().indexOf('firefox') > -1;

if (
hasVideoCallAbility(userData, consultingTypes) &&
// don't show banner when user enters first message
!(
hasUserAuthority(AUTHORITIES.ASKER_DEFAULT, userData) &&
(sessions.length === 0 ||
(sessions.length === 1 &&
sessions[0]?.session?.status === STATUS_EMPTY))
)
isFirefox ||
(hasVideoCallAbility(userData, consultingTypes) &&
// don't show banner when user enters first message
!(
hasUserAuthority(AUTHORITIES.ASKER_DEFAULT, userData) &&
(sessions.length === 0 ||
(sessions.length === 1 &&
sessions[0]?.session?.status === STATUS_EMPTY))
))
) {
setShowBanner(
!supportsE2EEncryptionVideoCall() &&
(isFirefox || !supportsE2EEncryptionVideoCall()) &&
!sessionStorage.getItem('hideEncryptionBanner')
);
}
Expand Down Expand Up @@ -71,12 +74,7 @@ export const E2EEncryptionSupportBanner = () => {
fill="black"
/>
</svg>
<p>
{translate('help.videoCall.banner.content')}{' '}
<Link to="/profile/hilfe/videoCall">
{translate('help.videoCall.banner.more')}
</Link>
</p>
<p>{translate('help.videoCall.banner.content')} </p>
</Banner>
);
};
Loading
Loading