Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5ec3f55
#560: add warning for broken observation links on intervention actions
iaigner Jun 12, 2025
d916352
refactor: improve variable naming and simplify array operations in In…
markus-ebner Jun 13, 2025
dddeefc
#560: implement PR comments & move svg exclamationIcon into component
iaigner Jun 13, 2025
b09cf84
Merge pull request #602 from MORE-Platform/MORE-560-no-alert-when-del…
iaigner Jun 13, 2025
4eb70be
#606: P2R - Add "Download Auditlog" Tab on Monitoring&Data
iaigner Sep 9, 2025
8769400
FE-607: add toggle functionality for full and collapsed timeline view…
markus-ebner Sep 10, 2025
130fa6f
Merge pull request #608 from MORE-Platform/p2r-feature/607-streamline…
markus-ebner Sep 10, 2025
a33530e
#606: P2R - Update StudyManagerApi.yaml and adapt FE accordingly
iaigner Sep 11, 2025
f0032c1
#606: P2R - fix build problems
iaigner Sep 11, 2025
32a8a80
#606: P2R - fix error with ParticipantDataListener and downloadAuditLog
iaigner Sep 11, 2025
2c10d86
#606: P2R - fix Info Text (if) for auditLogDownload
iaigner Sep 11, 2025
0c2ec1c
#606: P2R - refactor: use "auditLog" instead of "auditlog" & correct …
iaigner Sep 12, 2025
af4c14f
#606: P2R - refactor: use "auditLog" instead of "auditlog" & correct …
iaigner Sep 12, 2025
d1c69bb
#606: P2R - review adaptations: define content-disposition header in …
iaigner Sep 12, 2025
c705c54
Merge branch 'develop' into prehab2rehab/606-get-auditlog-for-study
iaigner Sep 15, 2025
87d0433
#606: P2R - review adaptations
iaigner Sep 15, 2025
32efc68
#606: P2R - review adaptations: added eslint no-console-log checks an…
iaigner Sep 16, 2025
38bde92
#606: P2R - review adaptations: rerun npm i due to optional dependenc…
iaigner Sep 16, 2025
d92b6ec
Merge pull request #610 from MORE-Platform/prehab2rehab/606-get-audit…
iaigner Sep 17, 2025
9752b40
#606: P2R - fix: text correction for auditlog
iaigner Sep 18, 2025
0101af3
Merge branch 'develop' into prehab2rehab/606-get-auditlog-for-study
iaigner Sep 18, 2025
844fed4
Merge pull request #612 from MORE-Platform/prehab2rehab/606-get-audit…
iaigner Sep 18, 2025
fed6f24
FE-742: dynamically generate Lime Survey admin link based on hostname…
markus-ebner Sep 23, 2025
f95909d
Merge pull request #614 from MORE-Platform/prehab2rehab/613-hardcoded…
markus-ebner Sep 23, 2025
8edddd5
#609: P2R - fix study data download problem
iaigner Sep 26, 2025
47dd299
Merge pull request #615 from MORE-Platform/prehab2rehab/#609-problem-…
markus-ebner Sep 30, 2025
419363d
617: fix problems with loading animation + add loading spinner to do…
iaigner Oct 6, 2025
d960dbf
617: add comfirmation dialog for studydata downlaod, if user navigate…
iaigner Oct 6, 2025
e1356b8
617: review adaptations
iaigner Oct 7, 2025
a7f1132
Merge pull request #619 from MORE-Platform/prehab2rehab/617-loading-i…
iaigner Oct 7, 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
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export default tseslint.config(
ignore: ['headerClass'], // primevue AccordionTab does not fully support kebap-case props (#1263)
},
],
"no-console": ["error", { "allow": ["warn", "error", "info"] }]
},
},
);
132 changes: 129 additions & 3 deletions openapi/StudyManagerAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ paths:
description: Cleared
'409':
description: removal failed

/studies/{studyId}/calendar.ics:
get:
tags:
Expand Down Expand Up @@ -375,7 +376,6 @@ paths:
'404':
description: Not found


/studies/{studyId}/studyGroups:
post:
tags:
Expand Down Expand Up @@ -658,6 +658,7 @@ paths:
$ref: '#/components/schemas/Observation'
'404':
description: not found

/studies/{studyId}/observations/{observationId}:
put:
tags:
Expand Down Expand Up @@ -806,7 +807,6 @@ paths:
'404':
description: not found


/studies/{studyId}/interventions:
post:
tags:
Expand Down Expand Up @@ -986,6 +986,7 @@ paths:
$ref: '#/components/schemas/Action'
'400':
description: bad request

/studies/{studyId}/interventions/{interventionId}/actions/{actionId}:
parameters:
- $ref: '#/components/parameters/StudyId'
Expand Down Expand Up @@ -1036,7 +1037,6 @@ paths:
'400':
description: bad request


/studies/import/study:
post:
tags:
Expand Down Expand Up @@ -1327,6 +1327,49 @@ paths:
'404':
description: not found

/auditlog/study/{studyId}/export:
parameters:
- $ref: '#/components/parameters/StudyId'
get:
tags:
- auditLog
description: Export the complete audit log to a json file
operationId: exportAuditLog
responses:
'200':
description: Operation successful
content:
application/json:
schema:
$ref: '#/components/schemas/AuditLog'
headers:
Content-Disposition:
schema:
type: string
example: attachment; filename="auditlogs_123.json"
'400':
description: bad request
'404':
description: not found

/auditlog/study/{studyId}:
parameters:
- $ref: '#/components/parameters/StudyId'
get:
tags:
- auditLog
description: Provides metadata of the aduit logs for the requested study
operationId: getAuditLogMetadata
responses:
'200':
description: Operation successful
content:
application/json:
schema:
$ref: '#/components/schemas/AuditLogMetadata'
'404':
description: not found

/users/me:
get:
tags:
Expand All @@ -1340,6 +1383,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/CurrentUser'

/users/search:
get:
tags:
Expand Down Expand Up @@ -2135,6 +2179,88 @@ components:
externalDocs:
url: https://more-platform.atlassian.net/browse/MORE-213

AuditLog:
description: |
The AuditLog object of one study that includes all AuditLog entries of said study.
type: array
items:
$ref: '#/components/schemas/AuditLogEntry'

AuditLogEntry:
description: |
An audit log entry saves Metadata to a specific recorded activity made by a user. The audit log is only accessible to Study Administrators.
type: object
properties:
id:
type: integer
format: int64
readOnly: true
description: Unique identifier of the audit log data entry
created:
description: |
Timestamp of when the entry was stored in the database (not the created value of the data).
type: string
format: date-time
userId:
description: |
The userId of the person to the specific recoreded activity.
type: string
readOnly: true
studyId:
$ref: '#/components/schemas/StudyId'
action:
description: |
The performed action. The full Method signature.
type: string
actionState:
description: |
The state of the specific action taken (e.g. successful, redirect, error)
type: string
enum:
- success
- redirect
- error
- unknown
default: unknown
timestamp:
description: |
Timestamp of when the entry was stored in the database (not the created value of the data).
type: string
format: date-time
userName:
description: |
The user's name. It is optional, if database can't provide the name.
type: string
readOnly: true
userRoles:
description: |
An array of the user's study roles at the moment of the recorded activity.
type: array
items:
type: string
resource:
description: |
The ressource accessed by the user
type: string
additionalProperties: true
required:
- uuid
- userId
- state
- action
- timestamp

AuditLogMetadata:
description: |
Gives back current length of audit log entries with an integer and export format
type: object
properties:
studyId:
$ref: '#/components/schemas/StudyId'
length:
type: integer
format: int64

FrontendConfiguration:
description: |
Various configuration-settings for the Study-Manager frontend
Expand Down
Loading