Skip to content

Conversation

@johanlundberg
Copy link
Collaborator

@johanlundberg johanlundberg commented Jul 29, 2019

This PR adds models for Organizations, Contacts and Roles.

Francisco Fuentes and others added 30 commits March 3, 2019 22:10
New methods required for the UI
Merge of last changes
Two methods migrated from raw cql queries
@johanlundberg johanlundberg changed the title Merge upstream New models Jul 29, 2019
@mkrogh
Copy link
Member

mkrogh commented Aug 26, 2019

Seemes fine.

Not sure about the six inclusion, since I dont really see a point in keeping py2 alive giving 2020 is so close, and all our installations are py3, but I guess it doesn't hurt.

MATCH (n:Node {{handle_id: {{handle_id}}}})
SET n.{property} = {value}
RETURN n
""".format(property=property, value=value)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that it matters a lot (and our code is probably full of these things all over the place), but this is not injection safe.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think setting properties ever was injection safe (and I think you are correct that the problem can be found elsewhere to).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants