-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat/AB#74292 People picker #725
base: 2.x.x
Are you sure you want to change the base?
feat/AB#74292 People picker #725
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks to work fine
…gned on the users question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Added support for people type
- Added support for people metadata
f74545f
to
6602426
Compare
src/routes/upload/index.ts
Outdated
true, | ||
true | ||
); | ||
return res.status(200).send(insertRecordsMessage); |
Check failure
Code scanning / CodeQL
Reflected cross-site scripting High
user-provided value
src/utils/files/resourceExporter.ts
Outdated
method: 'POST', | ||
headers: this.axiosHeaders(), | ||
data: { | ||
query: metaQuery, |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources High
user-provided value
src/routes/email/index.ts
Outdated
} catch (err) { | ||
// Specific try / catch so we can know what the error is | ||
logger.error(err.message, { stack: err.stack }); | ||
return res.status(500).send(err.message); |
Check warning
Code scanning / CodeQL
Exception text reinterpreted as HTML Medium
Exception text
src/server/pullJobScheduler.ts
Outdated
const duplicateRecords = await RecordModel.find({ | ||
form: pullJob.convertTo, | ||
$or: filters, | ||
}).select(selectedFields); |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources High
user-provided value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a real review but please implement the filter as explained in latest comment on https://dev.azure.com/WHOHQ/EMSSAFE/_workitems/edit/74292
It has been implemented in the frontend to maintain the route generic |
@Matthis-M-ReliefApps @MwanPygmay I got some Axios errors when trying the feature, did you get some when testing on your side also? |
@AntoineRelief do you have the scope for common services? |
@MwanPygmay Doing the same request on Postman, I can get the data |
I remember I also had some requests errors when I tried to start a review on it last week |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems all good except for the hardcoded string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Matthis-M-ReliefApps @MwanPygmay looking at it again, I can see it's not yet complete:
I can't merge it like that |
Description
In this PR the backend responds to the query GetPeople and send back some mock data
Useful links
Type of change
Screenshots
Checklist:
( * == Mandatory )