Merge in RED/ui from VM/RED-2614 to master * commit '920be9e4bf537276b1f6ceb25883ec75b82c5395': added warn box for all needed dialogs extended base dialog for 'recategorize image dialog' component and 'resize annotation dialog' compoenent extended base dialog for 'document info dialog' component and 'force annotation dialog' compoenent extended base dialog for 'change legal basis dialog' component extended base dialog for 'manual annotation dialog' component extended base dialog for 'add dossier' component moved 'base-dialog component' and 'confirmation-dialog service' in common stored initial form as a simple object instead of a form changed 'click' to 'action' removed commented code, updated 'close' and 'changeTab' methods updated general logic for 'valid' and 'changed' methods to be used by more classes that inherit BaseDialog updated base dialog component to display the confirmation dialog whenever the user wants to leave the modal or change its tab with unsaved changes WIP on warning the user before leaving the page with unsaved changes
Redaction
Swagger Generated Code
To re-generate http rune swagger
YOu need swagger-codegen installed brew install swagger-codegen
BASE=https://dev-06.iqser.cloud/
URL="$BASE"redaction-gateway-v1/v2/api-docs?group=redaction-gateway-v1
rm -Rf /tmp/swagger
mkdir -p /tmp/swagger
swagger-codegen generate -i "$URL" -l typescript-angular -o /tmp/swagger
cd /tmp/swagger
To Create a new Stack in rancher
Goto rancher.iqser.com: Select Cluster Development, go to apps, click launch and select Redaction from the dev
section. Add a new name and a new namespace. Select answers-development.yaml and add it to answers Edit as yaml.
For HTTPS / Cloudflare domain go to workloads -> Loadbalancing -> select your stack
Add cloudflare certificate and specify a hostname to use timo-redaction-dev.iqser.cloud
Keycloak Staging Config
keycloak: authServerUrl: 'https://redkc-staging.iqser.cloud/auth' client: secret: 'a4e8aa56-03b0-4e6b-b822-8ac1f41280c4'
Default Testing URL
https://timo-redaction-dev.iqser.cloud/
Hostname:
timo-redaction-dev.iqser.cloud
Test Users
| username | role | comment |
|---|---|---|
| guest | cannot use the application | |
| user | RED_USER | |
| red_manager | RED_MANAGER | |
| useradmin | RED_ADMIN, RED_USER | has super power ! |
| manageradmin | RED_ADMIN RED_MANAGER RED_USER | has super super power ! |
Password for all users is OsloImWinter!23
---
global:
imageRegistry: "nexus.iqser.com:5001"
ingress:
hosts:
- host: redui-automation-ui.iqser.cloud
tls:
- secretName: iqser-cloud-origin
hosts:
- redui-automation-ui.iqser.cloud
api:
url: 'https://redui-automation-api.iqser.cloud'
client: redaction
oauthUrl: 'https://redkc-staging.iqser.cloud/auth/realms/redaction'
---
global:
imageRegistry: "nexus.iqser.com:5001"
ingress:
hosts:
- host: redui-automation-api.iqser.cloud
tls:
- secretName: iqser-cloud-origin
hosts:
- redui-automation-api.iqser.cloud
cassandra:
dbUser:
forcePassword: false
cluster:
replicaCount: 1
seedCount: 1
jvm:
max_heap_size: 2048M
heap_new_size: 800M
persistence:
enabled: true
resources:
requests:
memory: "4Gi"
cpu: "0.5"
keycloak:
authServerUrl: 'https://redkc-staging.iqser.cloud/auth'
client:
secret: 'a4e8aa56-03b0-4e6b-b822-8ac1f41280c4'
configuration_service_v1:
init:
dictionaries:
# https://cloud.iqser.com/index.php/f/879133 (Entities/CleanMergedDictionaries/addresses.txt)
- type: "address"
nextcloud_host: "cloud.iqser.com"
nextcloud_share_id: fTkfkxeGZorpFCL
nextcloud_share_password: q9g9m34n
# https://cloud.iqser.com/index.php/f/879133 (Entities/CleanMergedDictionaries/names.txt)
- type: "name"
nextcloud_host: "cloud.iqser.com"
nextcloud_share_id: jaiArBK2DeZG6pJ
nextcloud_share_password: WPfpQcKG
# https://cloud.iqser.com/index.php/f/879133 (Entities/CleanMergedDictionaries/vertebrates.txt)
- type: "vertebrate"
nextcloud_host: "cloud.iqser.com"
nextcloud_share_id: F7Nf9cTR3nJbSyb
nextcloud_share_password: HCATe6TH
Description
Release 4.1084.0
Latest
Languages
TypeScript
74.6%
HTML
18.5%
SCSS
5.9%
CSS
0.8%
Shell
0.1%