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

Adding sql requests #91

Merged
merged 19 commits into from
Jul 8, 2024
Merged

Adding sql requests #91

merged 19 commits into from
Jul 8, 2024

Conversation

h1ppox99
Copy link
Collaborator

@h1ppox99 h1ppox99 commented Jul 4, 2024

Added new sql request needed for the development of the client-server API (the matrixDb in client server extends the db in the identity server, that is why the changes are done here first).
Created requests as general as possible in order to create future request faster when developing the client-server API.
Some more tests will be developed then to ensure a complete coverage of these very general methods.

@h1ppox99 h1ppox99 requested a review from guimard July 4, 2024 19:25
@guimard
Copy link
Member

guimard commented Jul 5, 2024

This PR looks to break really the test

@h1ppox99
Copy link
Collaborator Author

h1ppox99 commented Jul 5, 2024 via email

@h1ppox99 h1ppox99 marked this pull request as draft July 5, 2024 08:32
)
let initial_device_display_name
if (deviceRows.length > 0) {
// TODO : Refresh access tokens using refresh tokens and invalidate the previous access_token associated with the device

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
matrixDb
.get('users', ['name'], {
name: (auth.identifier as MatrixIdentifier).user,
password_hash: hash.sha256(auth.password) // TODO : Handle other hash functions

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
flows: flowContent
params: any
flows: Array<Record<string, string[]>> // those two types will be changed later on
// TODO : Correct typing

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
@Mathixx Mathixx marked this pull request as ready for review July 5, 2024 14:59
@guimard
Copy link
Member

guimard commented Jul 5, 2024

I saw you just add a new commit, is this branch ready ?

@h1ppox99
Copy link
Collaborator Author

h1ppox99 commented Jul 8, 2024

This branch is ready

@guimard guimard merged commit 8f51feb into full-id-service Jul 8, 2024
8 checks passed
@h1ppox99 h1ppox99 deleted the adding-sql-requests branch July 12, 2024 06:46
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.

4 participants